This commit is contained in:
seb
2026-10-21 11:54:46 +02:00
parent a32ea19b5e
commit 985f4a3da2
27 changed files with 139 additions and 53 deletions

View File

@@ -4,6 +4,16 @@ import orderAutomat from '../automats/orderAutomat';
import deliveryAutomat from '../automats/deliveryAutomat';
import { order as orderApi, quote as quoteApi, delivery as deliveryApi } from '../api';
/** Standard cross-platform monospace font stack for numbers from a number scheme. */
export const MONO_FONT_FAMILY =
'ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace';
/** Common sx mixin for monospace numberscheme display. */
export const monoFontSx = {
fontFamily: MONO_FONT_FAMILY,
fontVariantNumeric: 'tabular-nums',
};
/** Highest integer counter found per document kind. */
const maxKnownNumberByKind = new Map();