@finstack-com-public/design 0.6.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/CHANGELOG.md +179 -0
  2. package/dist/charts/index.d.ts +7 -2
  3. package/dist/charts/index.js +20 -17
  4. package/dist/css/appbar.css +2 -2
  5. package/dist/css/breadcrumbs.css +1 -1
  6. package/dist/css/card.css +52 -21
  7. package/dist/css/card.md +18 -3
  8. package/dist/css/checkbox.css +61 -1
  9. package/dist/css/checkbox.md +3 -2
  10. package/dist/css/chip.css +37 -6
  11. package/dist/css/chip.md +5 -0
  12. package/dist/css/control-rows.css +111 -0
  13. package/dist/css/control-rows.md +46 -0
  14. package/dist/css/count.css +2 -2
  15. package/dist/css/dialog.css +5 -1
  16. package/dist/css/dialog.md +1 -0
  17. package/dist/css/drag.css +6 -6
  18. package/dist/css/drag.md +1 -0
  19. package/dist/css/dropzone.css +3 -3
  20. package/dist/css/error-message.css +2 -2
  21. package/dist/css/field.css +1 -1
  22. package/dist/css/gap.css +7 -7
  23. package/dist/css/glass.css +11 -7
  24. package/dist/css/glass.md +4 -3
  25. package/dist/css/input.css +1 -1
  26. package/dist/css/kicker.css +12 -2
  27. package/dist/css/kicker.md +5 -0
  28. package/dist/css/kpi.css +120 -6
  29. package/dist/css/kpi.md +28 -1
  30. package/dist/css/link.css +1 -1
  31. package/dist/css/menu.css +2 -2
  32. package/dist/css/meter.css +2 -2
  33. package/dist/css/page.css +36 -0
  34. package/dist/css/page.md +28 -0
  35. package/dist/css/panel.css +2 -4
  36. package/dist/css/panel.md +1 -1
  37. package/dist/css/param-badge.css +48 -0
  38. package/dist/css/param-badge.md +22 -0
  39. package/dist/css/popover.css +5 -4
  40. package/dist/css/problems.css +2 -2
  41. package/dist/css/progress.css +1 -1
  42. package/dist/css/segmented.css +2 -2
  43. package/dist/css/sheet.css +4 -4
  44. package/dist/css/sidenav.css +4 -5
  45. package/dist/css/sidenav.md +1 -1
  46. package/dist/css/site.css +3 -2
  47. package/dist/css/stacked-bar.css +2 -2
  48. package/dist/css/tabbar.css +36 -13
  49. package/dist/css/tabbar.md +4 -1
  50. package/dist/css/table.css +2 -1
  51. package/dist/css/tabs.css +18 -2
  52. package/dist/css/tabs.md +1 -0
  53. package/dist/css/title.css +20 -0
  54. package/dist/css/title.md +13 -0
  55. package/dist/css/tokens.css +146 -111
  56. package/dist/css/tooltip.css +25 -2
  57. package/dist/css/tooltip.md +1 -0
  58. package/dist/css/tree.css +44 -9
  59. package/dist/css/tree.md +1 -0
  60. package/dist/css/wave.css +20 -5
  61. package/dist/css/wave.md +10 -3
  62. package/dist/css/widget.css +7 -9
  63. package/dist/css-text/appbar.js +1 -1
  64. package/dist/css-text/breadcrumbs.js +1 -1
  65. package/dist/css-text/card.js +1 -1
  66. package/dist/css-text/checkbox.js +1 -1
  67. package/dist/css-text/chip.js +1 -1
  68. package/dist/css-text/control-rows.js +1 -0
  69. package/dist/css-text/count.js +1 -1
  70. package/dist/css-text/dialog.js +1 -1
  71. package/dist/css-text/drag.js +1 -1
  72. package/dist/css-text/dropzone.js +1 -1
  73. package/dist/css-text/error-message.js +1 -1
  74. package/dist/css-text/field.js +1 -1
  75. package/dist/css-text/gap.js +1 -1
  76. package/dist/css-text/glass.js +1 -1
  77. package/dist/css-text/input.js +1 -1
  78. package/dist/css-text/kicker.js +1 -1
  79. package/dist/css-text/kit.js +872 -358
  80. package/dist/css-text/kpi.js +1 -1
  81. package/dist/css-text/link.js +1 -1
  82. package/dist/css-text/menu.js +1 -1
  83. package/dist/css-text/meter.js +1 -1
  84. package/dist/css-text/page.js +1 -0
  85. package/dist/css-text/panel.js +1 -1
  86. package/dist/css-text/param-badge.d.ts +2 -0
  87. package/dist/css-text/param-badge.js +1 -0
  88. package/dist/css-text/popover.js +1 -1
  89. package/dist/css-text/problems.js +1 -1
  90. package/dist/css-text/progress.js +1 -1
  91. package/dist/css-text/segmented.js +1 -1
  92. package/dist/css-text/sheet.js +1 -1
  93. package/dist/css-text/sidenav.js +1 -1
  94. package/dist/css-text/site.js +1 -1
  95. package/dist/css-text/stacked-bar.js +1 -1
  96. package/dist/css-text/tabbar.js +1 -1
  97. package/dist/css-text/table.js +1 -1
  98. package/dist/css-text/tabs.js +1 -1
  99. package/dist/css-text/title.d.ts +2 -0
  100. package/dist/css-text/title.js +1 -0
  101. package/dist/css-text/tokens.js +1 -1
  102. package/dist/css-text/tooltip.js +1 -1
  103. package/dist/css-text/tree.js +1 -1
  104. package/dist/css-text/wave.js +20 -5
  105. package/dist/css-text/widget.js +1 -1
  106. package/dist/grid.json +2 -2
  107. package/dist/kit.css +872 -358
  108. package/dist/react/data.d.ts +34 -0
  109. package/dist/react/data.js +7 -3
  110. package/dist/tokens/color.d.ts +5 -3
  111. package/dist/tokens/color.js +38 -25
  112. package/dist/tokens/contrast-pairs.js +23 -6
  113. package/dist/tokens/density.d.ts +2 -0
  114. package/dist/tokens/density.js +8 -2
  115. package/dist/tokens/grid.js +5 -5
  116. package/dist/tokens/index.d.ts +29 -20
  117. package/dist/tokens/primitives.d.ts +2 -0
  118. package/dist/tokens/primitives.js +3 -0
  119. package/dist/tokens/scale.d.ts +24 -15
  120. package/dist/tokens/scale.js +20 -9
  121. package/dist/tokens.json +71 -52
  122. package/package.json +2 -1
  123. package/dist/css/blocks.css +0 -47
  124. package/dist/css/blocks.md +0 -18
  125. package/dist/css/sweep.css +0 -55
  126. package/dist/css/sweep.md +0 -20
  127. package/dist/css-text/blocks.js +0 -1
  128. package/dist/css-text/sweep.js +0 -1
  129. /package/dist/css-text/{blocks.d.ts → control-rows.d.ts} +0 -0
  130. /package/dist/css-text/{sweep.d.ts → page.d.ts} +0 -0
@@ -43,6 +43,40 @@ export interface KpiProps extends HTMLAttributes<HTMLDivElement> {
43
43
  result?: boolean;
44
44
  }
45
45
  export declare const Kpi: import("react").ForwardRefExoticComponent<KpiProps & import("react").RefAttributes<HTMLDivElement>>;
46
+ export interface KpiChange {
47
+ /** Good or bad, never the direction: a good chip can point down. */
48
+ tone: 'good' | 'bad';
49
+ direction: 'up' | 'down';
50
+ /** The signed change, e.g. "−5,16 %". */
51
+ text: ReactNode;
52
+ /** The arrow's accessible name, e.g. "Down" (the arrow is not colour alone). */
53
+ directionLabel: string;
54
+ }
55
+ export interface KpiCardError {
56
+ message: ReactNode;
57
+ detail?: ReactNode;
58
+ retryLabel: ReactNode;
59
+ onRetry?: () => void;
60
+ }
61
+ export interface KpiCardProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
62
+ title: ReactNode;
63
+ /** The heading level of the title. Default 3. */
64
+ titleLevel?: 2 | 3 | 4 | 5 | 6;
65
+ /** The slot beside the title: the parameter badge. */
66
+ badge?: ReactNode;
67
+ value?: ReactNode;
68
+ /** The change chip; without it the card has no chip. */
69
+ change?: KpiChange;
70
+ /** The footer row; without it the card has no footer. */
71
+ comparison?: {
72
+ value: ReactNode;
73
+ period: ReactNode;
74
+ };
75
+ /** Replaces the figure, the chip and the footer. */
76
+ error?: KpiCardError;
77
+ }
78
+ /** The KPI card, variant D (spec 02 F, T71). */
79
+ export declare const KpiCard: import("react").ForwardRefExoticComponent<KpiCardProps & import("react").RefAttributes<HTMLElement>>;
46
80
  export interface CodeProps extends HTMLAttributes<HTMLDivElement> {
47
81
  /** The copy button's name ("Copy the DAX"); the button shows only with it. */
48
82
  copyLabel?: string;
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  // React wrappers for spec 02 F: data. The grid has none: BI App writes its cells as plain DOM
3
3
  // (spec 03 §4), so it uses the classes directly.
4
- import { forwardRef, } from 'react';
5
- import { IconButton } from "./actions.js";
4
+ import { createElement, forwardRef, } from 'react';
5
+ import { Button, IconButton } from "./actions.js";
6
6
  import { Icon } from "./icon.js";
7
7
  import { Heading } from "./overlays.js";
8
8
  import { cx } from "./util.js";
@@ -25,6 +25,10 @@ export const TableToggle = forwardRef(function TableToggle({ label, expanded, cl
25
25
  export const Kpi = forwardRef(function Kpi({ value, label, secondary, result, className, ...rest }, ref) {
26
26
  return (_jsxs("div", { ref: ref, className: cx('fs-kpi', result && 'fs-kpi--result', className), ...rest, children: [_jsx("span", { className: "fs-kpi__value", children: value }), _jsx("span", { className: "fs-kpi__label", children: label }), secondary && secondary.length > 0 && (_jsx("ul", { className: "fs-kpi__secondary", role: "list", children: secondary.map((f, i) => (_jsxs("li", { className: "fs-kpi__item", children: [_jsx("span", { className: cx('fs-kpi__figure', f.tone && `fs-fig--${f.tone}`), children: f.figure }), _jsx("span", { className: "fs-kpi__figure-label", children: f.label })] }, i))) }))] }));
27
27
  });
28
+ /** The KPI card, variant D (spec 02 F, T71). */
29
+ export const KpiCard = forwardRef(function KpiCard({ title, titleLevel = 3, badge, value, change, comparison, error, className, ...rest }, ref) {
30
+ return (_jsxs("article", { ref: ref, className: cx('fs-kpi', 'fs-kpi--card', className), ...rest, children: [_jsxs("div", { className: "fs-kpi__body", children: [_jsxs("div", { className: "fs-kpi__head", children: [createElement(`h${titleLevel}`, { className: 'fs-kpi__title' }, title), badge] }), error ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "fs-kpi__error", children: [_jsx(Icon, { name: "circle-alert" }), _jsxs("div", { className: "fs-kpi__error-text", children: [_jsx("span", { children: error.message }), error.detail && _jsx("span", { className: "fs-kpi__error-detail", children: error.detail })] })] }), _jsx("div", { className: "fs-kpi__retry", children: _jsx(Button, { icon: "refresh-cw", onClick: error.onRetry, children: error.retryLabel }) })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "fs-kpi__value", children: value }), change && (_jsxs("span", { className: cx('fs-kpi__change', `fs-kpi__change--${change.tone}`), children: [_jsx(Icon, { name: change.direction === 'up' ? 'arrow-up' : 'arrow-down', size: 12, label: change.directionLabel }), change.text] }))] }))] }), !error && comparison && (_jsxs("div", { className: "fs-kpi__footer", children: [_jsx("span", { className: "fs-kpi__cell", children: comparison.value }), _jsx("span", { className: "fs-kpi__cell", children: comparison.period })] }))] }));
31
+ });
28
32
  /** A code block. Children are the code, tokenised by the product into `.fs-tok-<tag>` spans. */
29
33
  export const Code = forwardRef(function Code({ copyLabel, onCopy, className, children, ...rest }, ref) {
30
34
  return (_jsxs("div", { ref: ref, className: cx('fs-code', className), ...rest, children: [_jsx("pre", { className: "fs-code__pre", children: _jsx("code", { children: children }) }), copyLabel && _jsx(IconButton, { icon: "copy", label: copyLabel, size: "row", className: "fs-code__copy", onClick: onCopy })] }));
@@ -92,9 +92,7 @@ export declare const colorRoles: {
92
92
  'brand-wash-end': Schemed;
93
93
  'ring-halo': Schemed;
94
94
  'glass-bg': Schemed;
95
- 'glass-line': Schemed;
96
- 'sweep-1': Schemed;
97
- 'sweep-2': Schemed;
95
+ 'glass-bg-end': Schemed;
98
96
  'wave-glow': Schemed;
99
97
  'bg-surface': Schemed;
100
98
  'bg-page': Schemed;
@@ -116,6 +114,7 @@ export declare const colorRoles: {
116
114
  line: Schemed;
117
115
  'line-strong': Schemed;
118
116
  'line-control': Schemed;
117
+ 'line-control-strong': Schemed;
119
118
  'line-button': Schemed;
120
119
  };
121
120
  export type ColorRole = keyof typeof colorRoles;
@@ -125,5 +124,8 @@ export declare const shadows: {
125
124
  '1': Schemed;
126
125
  '2': Schemed;
127
126
  '3': Schemed;
127
+ drawer: Schemed;
128
+ tooltip: Schemed;
129
+ lift: Schemed;
128
130
  };
129
131
  export type ShadowKey = keyof typeof shadows;
@@ -2,16 +2,18 @@
2
2
  import { both, p, r, s } from "./values.js";
3
3
  const surfaces = {
4
4
  'bg-surface': s('#ffffff', '#0e1d45'),
5
- 'bg-page': s('#f3f7fd', p('navy-950')),
6
- 'bg-plane': s('#e9f0fb', '#050d26'),
7
- 'bg-chrome': s('#f8fbff', '#13244f'),
8
- 'bg-sunken': s('#eef3fa', '#152a5a'),
5
+ // One cool grey family on a white page (D37, T64). Dark mirrors it on the navy set: the page is the
6
+ // surface, grey-50's grounds are one navy step up (#13244f), grey-100's two (#152a5a).
7
+ 'bg-page': s('#ffffff', '#0e1d45'),
8
+ 'bg-plane': s(p('grey-50'), '#050d26'), // Grizzbi's surround is grey-50 (D37); dark stays the deepest navy, below the page
9
+ 'bg-chrome': s(p('grey-50'), '#13244f'),
10
+ 'bg-sunken': s(p('grey-50'), '#13244f'),
9
11
  'bg-hover': s('rgba(11,26,63,0.05)', 'rgba(232,238,252,0.06)'),
10
12
  'bg-active': s('rgba(11,26,63,0.09)', 'rgba(232,238,252,0.10)'),
11
- 'bg-selected': s('#e8f0fe', '#172d64'),
12
- 'bg-disabled': s('#eef3fa', '#152a5a'),
13
+ 'bg-selected': s('#e9edfc', '#172d64'),
14
+ 'bg-disabled': s(p('grey-100'), '#152a5a'),
13
15
  'bg-highlight': s('#fff6cc', '#3b3416'),
14
- 'bg-backdrop': s('rgba(11,26,63,0.40)', 'rgba(2,6,20,0.65)'),
16
+ 'bg-backdrop': s('rgba(11,26,63,0.32)', 'rgba(2,6,20,0.64)'),
15
17
  ink: s(p('navy-900'), '#e8eefc'),
16
18
  'ink-2': s('#3b4a6b', '#b9c6e2'),
17
19
  'ink-muted': s('#5b6785', '#93a1c2'),
@@ -20,15 +22,22 @@ const surfaces = {
20
22
  'ink-link': s(p('blue-600'), p('blue-300')),
21
23
  line: s('#dfe6f1', '#22356a'),
22
24
  'line-strong': s('#c9d4e6', '#30467f'),
23
- 'line-control': s('#7a88a6', '#6f81ad'),
25
+ // Edges of inputs, selects and chips: pale, accepted below 3:1 because the fill and the ring are the
26
+ // cue (D38, T65). Dark is the same navy step as `line-button`.
27
+ 'line-control': s('#d5dbe5', '#2a3e76'),
28
+ // The edge of a control with no fill and no label to identify it (dropzone, drag target, progress
29
+ // track, bar segment) and the chart "other"/zero strokes: keeps 3:1 (D38 "how to apply"). This was
30
+ // `line-control` before T65.
31
+ 'line-control-strong': s('#7a88a6', '#6f81ad'),
24
32
  // Softer, for edges that a label already identifies: secondary buttons and the segmented
25
- // control (D30). WCAG 1.4.11 doesn't ask a labelled button's edge for 3:1.
26
- 'line-button': s('#a3afc6', '#475a8b'),
33
+ // control (D30). WCAG 1.4.11 doesn't ask a labelled button's edge for 3:1. Since T64 it sits
34
+ // between `line` and `line-strong` in both schemes.
35
+ 'line-button': s('#d5dbe5', '#2a3e76'),
27
36
  };
28
37
  const accent = {
29
38
  accent: s(p('blue-600'), p('blue-300')),
30
39
  'accent-strong': s(p('blue-700'), '#c4d9ff'),
31
- 'accent-wash': s('#e8f0fe', '#172d64'),
40
+ 'accent-wash': s('#e9edfc', '#172d64'),
32
41
  'primary-bg': s(p('blue-600'), '#2d5be8'),
33
42
  'primary-bg-hover': s(p('blue-700'), '#1f4fe0'),
34
43
  'primary-ink': both('#ffffff'),
@@ -36,24 +45,22 @@ const accent = {
36
45
  ring: s(p('blue-800'), p('blue-300')),
37
46
  // The brand gradient's stops (spec 01 §3.1): decoration only, read by `--fs-gradient-brand*`.
38
47
  // `start` is the deep blue and `end` the cyan; since T50 the gradient runs from `end` (top left)
39
- // to `start`. The names stay (public API); `.fs-blocks` still runs start to end.
48
+ // to `start`. The names stay (public API); the names are kept.
40
49
  'brand-start': s(p('blue-600'), p('blue-500')),
41
50
  'brand-end': both(p('cyan-400')),
42
51
  'brand-wash-start': s('#e8f0fe', '#13244f'),
43
52
  'brand-wash-end': s('#e3f8fb', '#0f3358'),
44
53
  'ring-halo': s('#ffffff', p('navy-950')),
45
- // The motifs' translucent layers (spec 01 §7, 02 I): a glass panel's fill and edge, two soft
46
- // sweeps of blue and cyan, and the glow of the wave's dots (dark only).
47
- 'glass-bg': s('rgba(255,255,255,0.72)', 'rgba(14,29,69,0.72)'),
48
- 'glass-line': s('rgba(255,255,255,0.85)', 'rgba(141,184,255,0.18)'),
49
- 'sweep-1': s('rgba(43,124,246,0.10)', 'rgba(43,124,246,0.20)'),
50
- 'sweep-2': s('rgba(20,212,224,0.16)', 'rgba(20,212,224,0.14)'),
54
+ // The motifs' translucent layers (spec 01 §7, 02 I): a glass panel's fill, a thin blue tint at the
55
+ // left running to a cyan one at the right (T60, D36), and the glow of the wave's dots (dark only).
56
+ 'glass-bg': s('rgba(43,124,246,0.08)', 'rgba(43,124,246,0.08)'),
57
+ 'glass-bg-end': s('rgba(20,212,224,0.10)', 'rgba(20,212,224,0.03)'),
51
58
  'wave-glow': s('transparent', 'rgba(20,212,224,0.55)'),
52
59
  };
53
60
  // Seven tones, each ink / wash / edge / fill (spec 01 §3.3).
54
61
  const tones = {
55
62
  'neutral-ink': s('#3b4a6b', '#b9c6e2'),
56
- 'neutral-wash': s('#eef3fa', '#152a5a'),
63
+ 'neutral-wash': s(p('grey-100'), '#152a5a'),
57
64
  'neutral-edge': s('#7a88a6', '#6f81ad'),
58
65
  'neutral-fill': s('#3b4a6b', '#b9c6e2'),
59
66
  'info-ink': s(p('blue-600'), p('blue-300')),
@@ -109,7 +116,7 @@ const types = {
109
116
  'type-access': s('#546e7a', '#9fb3bd'),
110
117
  };
111
118
  const values = {
112
- 'computed-bg': s('#eef3fa', '#152a5a'),
119
+ 'computed-bg': s(p('grey-100'), '#152a5a'),
113
120
  'computed-line': s('#7a88a6', '#6f81ad'),
114
121
  };
115
122
  // Editor chrome beside the syntax table (spec 01 §3.11).
@@ -141,12 +148,13 @@ const chart = {
141
148
  'chart-6': s('#0e3a6d', '#6c6bb8'),
142
149
  'chart-7': s('#648c85', '#90cead'),
143
150
  'chart-8': s('#b14e46', '#f06756'),
144
- 'chart-other': both(r('line-control')),
145
- 'chart-comparison': both(r('ink-2')),
151
+ 'chart-other': both(r('line-control-strong')),
152
+ // The previous year (D40, T76): a grey line below 3:1 on purpose; the legend and the dash are the cue. Dark keeps the old light ink.
153
+ 'chart-comparison': s('#aaaaaa', r('ink-2')),
146
154
  'chart-axis': both(r('line-strong')),
147
155
  'chart-label': both(r('ink-muted')),
148
156
  'chart-grid': both(r('line')),
149
- 'chart-zero': both(r('line-control')),
157
+ 'chart-zero': both(r('line-control-strong')),
150
158
  'chart-good': both(r('figure-good')),
151
159
  'chart-bad': both(r('figure-bad')),
152
160
  };
@@ -162,9 +170,14 @@ export const colorRoles = {
162
170
  ...chart,
163
171
  };
164
172
  export const toneNames = ['neutral', 'info', 'positive', 'caution', 'warning', 'danger', 'gap'];
165
- // Shadows: navy-tinted; dark doubles each layer's alpha on a near-black navy base (spec 01 §7). CSS name: `--fs-shadow-<n>`.
173
+ // Shadows (overlays only since T67; no card, panel or widget rests on one): navy-tinted; dark doubles each layer's alpha on a near-black navy base (spec 01 §7). CSS name: `--fs-shadow-<n>`.
166
174
  export const shadows = {
167
175
  '1': s('0 1px 2px rgba(11,26,63,0.05), 0 8px 28px rgba(31,79,224,0.08)', '0 1px 2px rgba(2,6,20,0.10), 0 8px 28px rgba(2,6,20,0.16)'),
168
176
  '2': s('0 4px 20px rgba(11,26,63,0.12)', '0 4px 20px rgba(2,6,20,0.24)'),
169
- '3': s('0 24px 64px rgba(11,26,63,0.22)', '0 24px 64px rgba(2,6,20,0.44)'),
177
+ // Overlays only (D37, T67), the canvas values; dark doubles the alpha. `3` is the dialog's.
178
+ '3': s('0 12px 32px rgba(11,26,63,0.18)', '0 12px 32px rgba(2,6,20,0.36)'),
179
+ drawer: s('-8px 0 24px rgba(11,26,63,0.12)', '-8px 0 24px rgba(2,6,20,0.24)'),
180
+ tooltip: s('0 4px 12px rgba(11,26,63,0.12)', '0 4px 12px rgba(2,6,20,0.24)'),
181
+ // The lift of a hovered interactive card (T75, the canvas's Folder board); an interactive card is the one surface that takes a shadow.
182
+ lift: s('0 2px 6px rgba(11,26,63,0.08)', '0 2px 6px rgba(2,6,20,0.16)'),
170
183
  };
@@ -10,21 +10,30 @@ export function contrastPairs() {
10
10
  const c = tokens.color[scheme];
11
11
  const g = tokens.grid[scheme];
12
12
  const sx = tokens.syntax[scheme];
13
- const add = (kind, fg, fgValue, bg, bgValue, over) => out.push({
13
+ const add = (kind, fg, fgValue, bg, bgValue, over, min) => out.push({
14
14
  scheme,
15
15
  fg,
16
16
  bg,
17
17
  fgValue,
18
18
  bgValue,
19
19
  kind,
20
- min: floors[kind],
20
+ min: min ?? floors[kind],
21
21
  ...(over ? { over: over[0], overValue: over[1] } : {}),
22
22
  });
23
- const role = (kind, fg, bg, over) => add(kind, fg, c[fg], bg, c[bg], over ? [over, c[over]] : undefined);
23
+ const role = (kind, fg, bg, over, min) => add(kind, fg, c[fg], bg, c[bg], over ? [over, c[over]] : undefined, min);
24
24
  const grid = (kind, fg, bg) => add(kind, fg === 'ink' ? 'ink' : `grid-${fg}`, fg === 'ink' ? c.ink : g[fg], bg === 'bg-surface' ? 'bg-surface' : `grid-${bg}`, bg === 'bg-surface' ? c['bg-surface'] : g[bg]);
25
- // Text: every ink on every background it is designed for.
25
+ // Text: every ink on every background it is designed for. bg-disabled is grey-100 (D37, T64), which
26
+ // also grounds page edit's row-resize strip, so the inks are held on both cool greys.
26
27
  const inks = ['ink', 'ink-2', 'ink-muted', 'ink-link'];
27
- const grounds = ['bg-surface', 'bg-page', 'bg-plane', 'bg-chrome', 'bg-sunken', 'bg-selected'];
28
+ const grounds = [
29
+ 'bg-surface',
30
+ 'bg-page',
31
+ 'bg-plane',
32
+ 'bg-chrome',
33
+ 'bg-sunken',
34
+ 'bg-selected',
35
+ 'bg-disabled',
36
+ ];
28
37
  for (const fg of inks) {
29
38
  for (const bg of grounds)
30
39
  role('text', fg, bg);
@@ -40,12 +49,15 @@ export function contrastPairs() {
40
49
  for (const fg of ['ink', 'ink-2', 'ink-muted']) {
41
50
  for (const under of ['bg-page', 'brand-wash-start', 'brand-wash-end']) {
42
51
  role('text', fg, 'glass-bg', under);
52
+ role('text', fg, 'glass-bg-end', under);
43
53
  }
44
54
  }
45
55
  role('text', 'ink', 'bg-highlight');
46
56
  role('text', 'ink', 'computed-bg');
47
57
  role('text', 'primary-ink', 'primary-bg');
48
58
  role('text', 'primary-ink', 'primary-bg-hover');
59
+ // The parameter badge (T72): accent text on the accent wash.
60
+ role('text', 'accent', 'accent-wash');
49
61
  role('text', 'figure-good', 'bg-surface');
50
62
  role('text', 'figure-bad', 'bg-surface');
51
63
  role('text', 'editor-gutter-ink', 'editor-gutter-bg');
@@ -117,8 +129,13 @@ export function contrastPairs() {
117
129
  grid('text', 'invalid-ink', 'subtotal-bg');
118
130
  grid('text', 'stale-ink', 'input-bg');
119
131
  // Non-text: edges that identify a control, the ring, meaningful icons, fills.
132
+ // D38 (T65): the pale edge of inputs, selects and chips is accepted below 3:1; the fill and the ring
133
+ // are the cue. Only these pairs get the lower expectation; it only guards against an invisible edge.
120
134
  for (const bg of ['bg-surface', 'bg-chrome', 'bg-page'])
121
- role('non-text', 'line-control', bg);
135
+ role('non-text', 'line-control', bg, undefined, 1.2);
136
+ // The edge of a control with no fill and no label keeps the 3:1 floor (D38 "how to apply").
137
+ for (const bg of ['bg-surface', 'bg-chrome', 'bg-page'])
138
+ role('non-text', 'line-control-strong', bg);
122
139
  role('non-text', 'ring', 'ring-halo');
123
140
  role('non-text', 'accent', 'bg-surface');
124
141
  role('non-text', 'warning-icon', 'bg-surface');
@@ -3,6 +3,8 @@ declare const dense: {
3
3
  'text-body-line': number;
4
4
  'control-h': number;
5
5
  'row-h': number;
6
+ 'table-row-h': number;
7
+ 'table-head-h': number;
6
8
  'pad-x': number;
7
9
  gap: number;
8
10
  'icon-size': number;
@@ -4,6 +4,8 @@ const dense = {
4
4
  'text-body-line': 16,
5
5
  'control-h': 24,
6
6
  'row-h': 24,
7
+ 'table-row-h': 24,
8
+ 'table-head-h': 24,
7
9
  'pad-x': 6,
8
10
  gap: 4,
9
11
  'icon-size': 16,
@@ -12,10 +14,12 @@ const dense = {
12
14
  export const densities = {
13
15
  dense,
14
16
  compact: {
15
- 'text-body-size': 13,
16
- 'text-body-line': 20,
17
+ 'text-body-size': 12,
18
+ 'text-body-line': 16,
17
19
  'control-h': 28,
18
20
  'row-h': 28,
21
+ 'table-row-h': 24,
22
+ 'table-head-h': 28,
19
23
  'pad-x': 8,
20
24
  gap: 8,
21
25
  'icon-size': 16,
@@ -26,6 +30,8 @@ export const densities = {
26
30
  'text-body-line': 24,
27
31
  'control-h': 40,
28
32
  'row-h': 36,
33
+ 'table-row-h': 36,
34
+ 'table-head-h': 36,
29
35
  'pad-x': 12,
30
36
  gap: 12,
31
37
  'icon-size': 20,
@@ -1,14 +1,14 @@
1
- // BI App's grid tokens (KEEP, D7; spec 01 §3.10). CSS name: `--fs-grid-<role>`.
1
+ // BI App's grid tokens (KEEP, D7; spec 01 §3.10). T78: the header and label fills moved to the cool grey-50 `#f7f8fa`; the line stays. CSS name: `--fs-grid-<role>`.
2
2
  // Light values are BI App's own, except the three contrast fixes BI §10 asks for (marked ✱) and the
3
3
  // selected-invalid fill (D20). The dark values are the kit's navy neutrals (D32, T51): a comment names
4
4
  // the role where one matches exactly; roles can't be referenced across token tables, so values are literals.
5
5
  import { s } from "./values.js";
6
6
  export const gridRoles = {
7
7
  line: s('#dddddd', '#22356a'), // dark = --fs-line
8
- 'header-bg': s('#f2f2f2', '#152a5a'), // dark = --fs-bg-sunken
9
- 'label-bg': s('#f4f4f4', '#13244f'), // dark = --fs-bg-chrome
8
+ 'header-bg': s('#f7f8fa', '#152a5a'), // dark = --fs-bg-disabled (was bg-sunken before T64)
9
+ 'label-bg': s('#f7f8fa', '#13244f'), // dark = --fs-bg-chrome
10
10
  'row-hover': s('rgba(0,0,255,0.03)', 'rgba(232,238,252,0.06)'), // dark = --fs-bg-hover
11
- 'subtotal-bg': s('#eef2f7', '#182f68'), // dark: a step above bg-sunken, not a role (bg-selected #172d64 means selection)
11
+ 'subtotal-bg': s('#eef2f7', '#182f68'), // dark: a step above bg-disabled, not a role (bg-selected #172d64 means selection)
12
12
  'input-bg': s('#fffde7', '#10394a'), // dark: desaturated teal on navy, cooler than the old amber
13
13
  'locked-ink': s('#5f5e5a', '#93a1c2'), // ✱ was #757575; dark = --fs-ink-muted
14
14
  'locked-bg': s('#f5f5f5', '#050d26'), // dark = --fs-bg-plane
@@ -23,7 +23,7 @@ export const gridRoles = {
23
23
  'selected-invalid-bg': s('rgba(252,0,0,0.10)', 'rgba(255,138,128,0.08)'), // D20: was 0.25, failed AA
24
24
  'editing-bg': s('rgb(221,221,244)', '#223a7e'), // dark: brighter blue than the input teal, under the selected outline
25
25
  'nodata-bg': s('rgba(0,0,0,0.03)', 'rgba(232,238,252,0.04)'),
26
- chevron: s('#8a8983', '#6f81ad'), // ✱ was #9e9e9e; dark = --fs-line-control
26
+ chevron: s('#8a8983', '#6f81ad'), // ✱ was #9e9e9e; dark = --fs-line-control-strong
27
27
  'tree-guide': s('#d9d9d9', '#22356a'), // dark = --fs-line
28
28
  'lock-mine-ink': s('#2e7d32', '#7fc98a'),
29
29
  'lock-mine-bg': s('#e8f5e9', '#13382b'), // dark = --fs-positive-wash
@@ -8,12 +8,12 @@ export type { ColorRole, Density, DensityToken, GridRole, Scheme, ShadowKey, Syn
8
8
  export type TextStep = keyof typeof textSteps;
9
9
  export declare const tokens: {
10
10
  readonly color: {
11
- light: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-line" | "sweep-1" | "sweep-2" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
12
- dark: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-line" | "sweep-1" | "sweep-2" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
11
+ light: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-control-strong" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-bg-end" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
12
+ dark: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-control-strong" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-bg-end" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
13
13
  };
14
14
  readonly shadow: {
15
- light: Record<"1" | "2" | "3", string>;
16
- dark: Record<"1" | "2" | "3", string>;
15
+ light: Record<"1" | "2" | "3" | "drawer" | "tooltip" | "lift", string>;
16
+ dark: Record<"1" | "2" | "3" | "drawer" | "tooltip" | "lift", string>;
17
17
  };
18
18
  readonly grid: {
19
19
  light: Record<"line" | "header-bg" | "label-bg" | "row-hover" | "subtotal-bg" | "input-bg" | "locked-ink" | "locked-bg" | "error-ink" | "error-bg" | "negative-ink" | "stale-ink" | "stale-dot" | "dirty-ink" | "invalid-ink" | "selected" | "selected-invalid-bg" | "editing-bg" | "nodata-bg" | "chevron" | "tree-guide" | "lock-mine-ink" | "lock-mine-bg" | "lock-other-ink" | "lock-other-bg", string>;
@@ -23,7 +23,7 @@ export declare const tokens: {
23
23
  light: Record<"string" | "number" | "function" | "keyword" | "operator" | "variableName" | "propertyName" | "typeName" | "bool" | "null" | "comment" | "punctuation" | "bracket" | "angleBracket" | "tagName" | "attributeName" | "attributeValue" | "content" | "meta" | "invalid", string>;
24
24
  dark: Record<"string" | "number" | "function" | "keyword" | "operator" | "variableName" | "propertyName" | "typeName" | "bool" | "null" | "comment" | "punctuation" | "bracket" | "angleBracket" | "tagName" | "attributeName" | "attributeValue" | "content" | "meta" | "invalid", string>;
25
25
  };
26
- readonly density: Record<Density, Record<"gap" | "text-body-size" | "text-body-line" | "control-h" | "row-h" | "pad-x" | "icon-size" | "cell-pad-x", number>>;
26
+ readonly density: Record<Density, Record<"gap" | "text-body-size" | "text-body-line" | "control-h" | "row-h" | "table-row-h" | "table-head-h" | "pad-x" | "icon-size" | "cell-pad-x", number>>;
27
27
  readonly font: {
28
28
  readonly sans: "\"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
29
29
  readonly display: "\"Plus Jakarta Sans\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
@@ -52,28 +52,28 @@ export declare const tokens: {
52
52
  readonly line: 24;
53
53
  };
54
54
  readonly lg: {
55
- readonly size: 18;
56
- readonly line: 26;
55
+ readonly size: 16;
56
+ readonly line: 24;
57
57
  };
58
58
  readonly xl: {
59
- readonly size: 20;
60
- readonly line: 28;
59
+ readonly size: 24;
60
+ readonly line: 32;
61
61
  };
62
62
  readonly '2xl': {
63
63
  readonly size: 26;
64
64
  readonly line: 32;
65
65
  };
66
66
  readonly 'fig-sm': {
67
- readonly size: 22;
68
- readonly line: 26;
67
+ readonly size: 20;
68
+ readonly line: 24;
69
69
  };
70
70
  readonly 'fig-md': {
71
- readonly size: 26;
72
- readonly line: 30;
71
+ readonly size: 22;
72
+ readonly line: 28;
73
73
  };
74
74
  readonly 'fig-lg': {
75
- readonly size: 32;
76
- readonly line: 36;
75
+ readonly size: 24;
76
+ readonly line: 32;
77
77
  };
78
78
  readonly 'fig-xl': {
79
79
  readonly size: 40;
@@ -107,15 +107,15 @@ export declare const tokens: {
107
107
  readonly '12': 48;
108
108
  };
109
109
  readonly radius: {
110
- readonly sm: 6;
111
- readonly md: 10;
112
- readonly lg: 16;
113
- readonly xl: 20;
110
+ readonly sm: 4;
111
+ readonly md: 4;
112
+ readonly lg: 0;
113
+ readonly xl: 0;
114
114
  readonly pill: 999;
115
115
  };
116
116
  readonly size: {
117
117
  readonly appbar: 48;
118
- readonly tabbar: 28;
118
+ readonly tabbar: 40;
119
119
  readonly pagetabs: 40;
120
120
  readonly nav: 240;
121
121
  readonly pane: 272;
@@ -130,6 +130,14 @@ export declare const tokens: {
130
130
  readonly 'content-md': 900;
131
131
  readonly 'content-sm': 736;
132
132
  readonly touch: 24;
133
+ readonly 'page-top': 24;
134
+ readonly 'page-x': 32;
135
+ readonly 'page-bottom': 32;
136
+ readonly 'page-gap': 24;
137
+ readonly 'page-header-gap': 12;
138
+ readonly 'page-header-after': 32;
139
+ readonly 'page-caption-gap': 4;
140
+ readonly 'widget-gap': 8;
133
141
  };
134
142
  readonly sizeEm: {
135
143
  readonly 'input-sm': 10;
@@ -174,6 +182,7 @@ export declare const tokens: {
174
182
  };
175
183
  readonly chart: {
176
184
  readonly 'chart-area-alpha': 0.18;
185
+ readonly 'chart-series-alpha': 0.6;
177
186
  };
178
187
  };
179
188
  export type Tokens = typeof tokens;
@@ -9,5 +9,7 @@ export declare const primitives: {
9
9
  readonly 'navy-950': "#071233";
10
10
  readonly 'orange-500': "#f26b1d";
11
11
  readonly 'orange-600': "#d85a10";
12
+ readonly 'grey-50': "#f7f8fa";
13
+ readonly 'grey-100': "#eef1f5";
12
14
  };
13
15
  export type Primitive = keyof typeof primitives;
@@ -10,4 +10,7 @@ export const primitives = {
10
10
  'navy-950': '#071233',
11
11
  'orange-500': '#f26b1d',
12
12
  'orange-600': '#d85a10',
13
+ // The cool grey family (D37, T64): the light grounds next to white.
14
+ 'grey-50': '#f7f8fa',
15
+ 'grey-100': '#eef1f5',
13
16
  };
@@ -26,28 +26,28 @@ export declare const textSteps: {
26
26
  readonly line: 24;
27
27
  };
28
28
  readonly lg: {
29
- readonly size: 18;
30
- readonly line: 26;
29
+ readonly size: 16;
30
+ readonly line: 24;
31
31
  };
32
32
  readonly xl: {
33
- readonly size: 20;
34
- readonly line: 28;
33
+ readonly size: 24;
34
+ readonly line: 32;
35
35
  };
36
36
  readonly '2xl': {
37
37
  readonly size: 26;
38
38
  readonly line: 32;
39
39
  };
40
40
  readonly 'fig-sm': {
41
- readonly size: 22;
42
- readonly line: 26;
41
+ readonly size: 20;
42
+ readonly line: 24;
43
43
  };
44
44
  readonly 'fig-md': {
45
- readonly size: 26;
46
- readonly line: 30;
45
+ readonly size: 22;
46
+ readonly line: 28;
47
47
  };
48
48
  readonly 'fig-lg': {
49
- readonly size: 32;
50
- readonly line: 36;
49
+ readonly size: 24;
50
+ readonly line: 32;
51
51
  };
52
52
  readonly 'fig-xl': {
53
53
  readonly size: 40;
@@ -81,15 +81,15 @@ export declare const space: {
81
81
  readonly '12': 48;
82
82
  };
83
83
  export declare const radii: {
84
- readonly sm: 6;
85
- readonly md: 10;
86
- readonly lg: 16;
87
- readonly xl: 20;
84
+ readonly sm: 4;
85
+ readonly md: 4;
86
+ readonly lg: 0;
87
+ readonly xl: 0;
88
88
  readonly pill: 999;
89
89
  };
90
90
  export declare const sizes: {
91
91
  readonly appbar: 48;
92
- readonly tabbar: 28;
92
+ readonly tabbar: 40;
93
93
  readonly pagetabs: 40;
94
94
  readonly nav: 240;
95
95
  readonly pane: 272;
@@ -104,6 +104,14 @@ export declare const sizes: {
104
104
  readonly 'content-md': 900;
105
105
  readonly 'content-sm': 736;
106
106
  readonly touch: 24;
107
+ readonly 'page-top': 24;
108
+ readonly 'page-x': 32;
109
+ readonly 'page-bottom': 32;
110
+ readonly 'page-gap': 24;
111
+ readonly 'page-header-gap': 12;
112
+ readonly 'page-header-after': 32;
113
+ readonly 'page-caption-gap': 4;
114
+ readonly 'widget-gap': 8;
107
115
  };
108
116
  export declare const sizesEm: {
109
117
  readonly 'input-sm': 10;
@@ -131,6 +139,7 @@ export declare const motionReduced: {
131
139
  };
132
140
  export declare const chartScale: {
133
141
  readonly 'chart-area-alpha': 0.18;
142
+ readonly 'chart-series-alpha': 0.6;
134
143
  };
135
144
  export declare const zLayers: {
136
145
  readonly sticky: 10;