@vellira-ui/tokens 2.98.7 → 2.100.0
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.
- package/dist/css/tokens.css +30 -24
- package/dist/dark/components/contextMenu.d.ts +13 -3
- package/dist/dark/components/contextMenu.d.ts.map +1 -1
- package/dist/dark/components/contextMenu.js +0 -2
- package/dist/dark/components/dropdown.d.ts +13 -3
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +2 -2
- package/dist/dark/components/modal.d.ts +16 -7
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +0 -2
- package/dist/dark/components/popover.d.ts +5 -25
- package/dist/dark/components/popover.d.ts.map +1 -1
- package/dist/dark/components/popover.js +0 -4
- package/dist/dark/components/select.d.ts +9 -2
- package/dist/dark/components/select.d.ts.map +1 -1
- package/dist/dark/components/select.js +3 -3
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +0 -2
- package/dist/dark/semantic/surface.d.ts +1 -0
- package/dist/dark/semantic/surface.d.ts.map +1 -1
- package/dist/dark/semantic/surface.js +1 -0
- package/dist/factories/componentFocusRing.d.ts +4 -2
- package/dist/factories/componentFocusRing.d.ts.map +1 -1
- package/dist/factories/componentFocusRing.js +2 -1
- package/dist/factories/createContextMenuTokens.d.ts +49 -18
- package/dist/factories/createContextMenuTokens.d.ts.map +1 -1
- package/dist/factories/createContextMenuTokens.js +3 -3
- package/dist/factories/createModalTokens.d.ts +39 -20
- package/dist/factories/createModalTokens.d.ts.map +1 -1
- package/dist/factories/createModalTokens.js +4 -6
- package/dist/factories/createPopoverTokens.d.ts +11 -19
- package/dist/factories/createPopoverTokens.d.ts.map +1 -1
- package/dist/factories/createPopoverTokens.js +3 -7
- package/dist/factories/createTooltipTokens.d.ts +4 -7
- package/dist/factories/createTooltipTokens.d.ts.map +1 -1
- package/dist/factories/createTooltipTokens.js +4 -4
- package/dist/generated/token-types.d.ts +7 -6
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +8 -16
- package/dist/highContrast/components/contextMenu.d.ts +13 -3
- package/dist/highContrast/components/contextMenu.d.ts.map +1 -1
- package/dist/highContrast/components/contextMenu.js +0 -2
- package/dist/highContrast/components/dropdown.d.ts +13 -3
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +2 -2
- package/dist/highContrast/components/modal.d.ts +16 -7
- package/dist/highContrast/components/modal.d.ts.map +1 -1
- package/dist/highContrast/components/modal.js +0 -2
- package/dist/highContrast/components/popover.d.ts +5 -25
- package/dist/highContrast/components/popover.d.ts.map +1 -1
- package/dist/highContrast/components/popover.js +0 -4
- package/dist/highContrast/components/select.d.ts +9 -2
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +3 -3
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +0 -2
- package/dist/highContrast/semantic/surface.d.ts +1 -0
- package/dist/highContrast/semantic/surface.d.ts.map +1 -1
- package/dist/highContrast/semantic/surface.js +1 -0
- package/dist/light/components/contextMenu.d.ts +13 -3
- package/dist/light/components/contextMenu.d.ts.map +1 -1
- package/dist/light/components/contextMenu.js +0 -2
- package/dist/light/components/dropdown.d.ts +13 -3
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +2 -2
- package/dist/light/components/modal.d.ts +16 -7
- package/dist/light/components/modal.d.ts.map +1 -1
- package/dist/light/components/modal.js +0 -2
- package/dist/light/components/popover.d.ts +5 -25
- package/dist/light/components/popover.d.ts.map +1 -1
- package/dist/light/components/popover.js +0 -4
- package/dist/light/components/select.d.ts +9 -2
- package/dist/light/components/select.d.ts.map +1 -1
- package/dist/light/components/select.js +3 -3
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +0 -2
- package/dist/light/semantic/surface.d.ts +1 -0
- package/dist/light/semantic/surface.d.ts.map +1 -1
- package/dist/light/semantic/surface.js +1 -0
- package/dist/platform-output/component-token-intents.d.ts +71 -0
- package/dist/platform-output/component-token-intents.d.ts.map +1 -0
- package/dist/platform-output/component-token-intents.js +110 -0
- package/dist/platform-output/component-token-web-compatibility.d.ts +32 -0
- package/dist/platform-output/component-token-web-compatibility.d.ts.map +1 -0
- package/dist/platform-output/component-token-web-compatibility.js +40 -0
- package/dist/preservation/token-migrations.d.ts +44 -5
- package/dist/preservation/token-migrations.d.ts.map +1 -1
- package/dist/preservation/token-migrations.js +73 -1
- package/dist/token-architecture.d.ts +4 -4
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +4 -1
- package/package.json +1 -1
package/dist/css/tokens.css
CHANGED
|
@@ -340,6 +340,7 @@
|
|
|
340
340
|
--status-info-emphasis-fg: #082F49;
|
|
341
341
|
--surface-canvas: #FAF8FF;
|
|
342
342
|
--surface-default: #FAF8FF;
|
|
343
|
+
--surface-panel: #FFFFFF;
|
|
343
344
|
--surface-muted: #F4F1FB;
|
|
344
345
|
--surface-subtle: #FDFCFF;
|
|
345
346
|
--surface-elevated: #FFFFFF;
|
|
@@ -1268,7 +1269,6 @@
|
|
|
1268
1269
|
--modal-content-gap: 16px;
|
|
1269
1270
|
--modal-content-min-width: 320px;
|
|
1270
1271
|
--modal-content-max-height: 90vh;
|
|
1271
|
-
--modal-content-native-max-height: 90%;
|
|
1272
1272
|
--modal-content-viewport-margin: 32px;
|
|
1273
1273
|
--modal-content-top-offset: 40px;
|
|
1274
1274
|
--modal-content-z-index-offset: 1;
|
|
@@ -1310,13 +1310,7 @@
|
|
|
1310
1310
|
--popover-content-bg: #FFFFFF;
|
|
1311
1311
|
--popover-content-fg: #3D3754;
|
|
1312
1312
|
--popover-content-border: #E4DDF4;
|
|
1313
|
-
--popover-content-shadow
|
|
1314
|
-
--popover-content-shadow-native-x: 0px;
|
|
1315
|
-
--popover-content-shadow-native-y: 12px;
|
|
1316
|
-
--popover-content-shadow-native-blur: 32px;
|
|
1317
|
-
--popover-content-shadow-native-color: #000000;
|
|
1318
|
-
--popover-content-shadow-native-opacity: 0.1;
|
|
1319
|
-
--popover-content-shadow-native-elevation: 8;
|
|
1313
|
+
--popover-content-shadow: 0 12px 40px rgba(24, 21, 33, 0.16), 0 2px 8px rgba(24, 21, 33, 0.1);
|
|
1320
1314
|
--popover-content-border-width: 1px;
|
|
1321
1315
|
--popover-content-radius: 16px;
|
|
1322
1316
|
--popover-content-padding: 16px;
|
|
@@ -2347,6 +2341,14 @@
|
|
|
2347
2341
|
--tooltip-arrow-bg: #FFFFFF;
|
|
2348
2342
|
--tooltip-arrow-size: 10px;
|
|
2349
2343
|
--tooltip-arrow-compact-size: 6px;
|
|
2344
|
+
--modal-content-native-max-height: 90%;
|
|
2345
|
+
--popover-content-shadow-web: 0 12px 40px rgba(24, 21, 33, 0.16), 0 2px 8px rgba(24, 21, 33, 0.1);
|
|
2346
|
+
--popover-content-shadow-native-x: 0px;
|
|
2347
|
+
--popover-content-shadow-native-y: 12px;
|
|
2348
|
+
--popover-content-shadow-native-blur: 32px;
|
|
2349
|
+
--popover-content-shadow-native-color: #000000;
|
|
2350
|
+
--popover-content-shadow-native-opacity: 0.1;
|
|
2351
|
+
--popover-content-shadow-native-elevation: 8;
|
|
2350
2352
|
}
|
|
2351
2353
|
|
|
2352
2354
|
[data-theme='dark'],
|
|
@@ -2633,6 +2635,7 @@
|
|
|
2633
2635
|
--status-info-emphasis-fg: #0369A1;
|
|
2634
2636
|
--surface-canvas: #000000;
|
|
2635
2637
|
--surface-default: #181521;
|
|
2638
|
+
--surface-panel: #181521;
|
|
2636
2639
|
--surface-muted: #231F31;
|
|
2637
2640
|
--surface-subtle: #242034;
|
|
2638
2641
|
--surface-elevated: #2F2A42;
|
|
@@ -3561,7 +3564,6 @@
|
|
|
3561
3564
|
--modal-content-gap: 16px;
|
|
3562
3565
|
--modal-content-min-width: 320px;
|
|
3563
3566
|
--modal-content-max-height: 90vh;
|
|
3564
|
-
--modal-content-native-max-height: 90%;
|
|
3565
3567
|
--modal-content-viewport-margin: 32px;
|
|
3566
3568
|
--modal-content-top-offset: 40px;
|
|
3567
3569
|
--modal-content-z-index-offset: 1;
|
|
@@ -3603,13 +3605,7 @@
|
|
|
3603
3605
|
--popover-content-bg: #242034;
|
|
3604
3606
|
--popover-content-fg: #F4F1FB;
|
|
3605
3607
|
--popover-content-border: #3D3754;
|
|
3606
|
-
--popover-content-shadow
|
|
3607
|
-
--popover-content-shadow-native-x: 0px;
|
|
3608
|
-
--popover-content-shadow-native-y: 12px;
|
|
3609
|
-
--popover-content-shadow-native-blur: 32px;
|
|
3610
|
-
--popover-content-shadow-native-color: #000000;
|
|
3611
|
-
--popover-content-shadow-native-opacity: 0.1;
|
|
3612
|
-
--popover-content-shadow-native-elevation: 8;
|
|
3608
|
+
--popover-content-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
3613
3609
|
--popover-content-border-width: 1px;
|
|
3614
3610
|
--popover-content-radius: 16px;
|
|
3615
3611
|
--popover-content-padding: 16px;
|
|
@@ -4640,6 +4636,14 @@
|
|
|
4640
4636
|
--tooltip-arrow-bg: #2F2A42;
|
|
4641
4637
|
--tooltip-arrow-size: 10px;
|
|
4642
4638
|
--tooltip-arrow-compact-size: 6px;
|
|
4639
|
+
--modal-content-native-max-height: 90%;
|
|
4640
|
+
--popover-content-shadow-web: 0 12px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
4641
|
+
--popover-content-shadow-native-x: 0px;
|
|
4642
|
+
--popover-content-shadow-native-y: 12px;
|
|
4643
|
+
--popover-content-shadow-native-blur: 32px;
|
|
4644
|
+
--popover-content-shadow-native-color: #000000;
|
|
4645
|
+
--popover-content-shadow-native-opacity: 0.1;
|
|
4646
|
+
--popover-content-shadow-native-elevation: 8;
|
|
4643
4647
|
}
|
|
4644
4648
|
|
|
4645
4649
|
[data-theme='high-contrast'],
|
|
@@ -4926,6 +4930,7 @@
|
|
|
4926
4930
|
--status-info-emphasis-fg: #BAE6FD;
|
|
4927
4931
|
--surface-canvas: #000000;
|
|
4928
4932
|
--surface-default: #000000;
|
|
4933
|
+
--surface-panel: #0B1120;
|
|
4929
4934
|
--surface-muted: #111827;
|
|
4930
4935
|
--surface-subtle: #1F2937;
|
|
4931
4936
|
--surface-elevated: #374151;
|
|
@@ -5854,7 +5859,6 @@
|
|
|
5854
5859
|
--modal-content-gap: 16px;
|
|
5855
5860
|
--modal-content-min-width: 320px;
|
|
5856
5861
|
--modal-content-max-height: 90vh;
|
|
5857
|
-
--modal-content-native-max-height: 90%;
|
|
5858
5862
|
--modal-content-viewport-margin: 32px;
|
|
5859
5863
|
--modal-content-top-offset: 40px;
|
|
5860
5864
|
--modal-content-z-index-offset: 1;
|
|
@@ -5896,13 +5900,7 @@
|
|
|
5896
5900
|
--popover-content-bg: #111827;
|
|
5897
5901
|
--popover-content-fg: #FFFFFF;
|
|
5898
5902
|
--popover-content-border: #9CA3AF;
|
|
5899
|
-
--popover-content-shadow
|
|
5900
|
-
--popover-content-shadow-native-x: 0px;
|
|
5901
|
-
--popover-content-shadow-native-y: 12px;
|
|
5902
|
-
--popover-content-shadow-native-blur: 32px;
|
|
5903
|
-
--popover-content-shadow-native-color: #000000;
|
|
5904
|
-
--popover-content-shadow-native-opacity: 0.1;
|
|
5905
|
-
--popover-content-shadow-native-elevation: 8;
|
|
5903
|
+
--popover-content-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
|
|
5906
5904
|
--popover-content-border-width: 1px;
|
|
5907
5905
|
--popover-content-radius: 16px;
|
|
5908
5906
|
--popover-content-padding: 16px;
|
|
@@ -6933,4 +6931,12 @@
|
|
|
6933
6931
|
--tooltip-arrow-bg: #FFFFFF;
|
|
6934
6932
|
--tooltip-arrow-size: 10px;
|
|
6935
6933
|
--tooltip-arrow-compact-size: 6px;
|
|
6934
|
+
--modal-content-native-max-height: 90%;
|
|
6935
|
+
--popover-content-shadow-web: 0 12px 40px rgba(0, 0, 0, 0.7);
|
|
6936
|
+
--popover-content-shadow-native-x: 0px;
|
|
6937
|
+
--popover-content-shadow-native-y: 12px;
|
|
6938
|
+
--popover-content-shadow-native-blur: 32px;
|
|
6939
|
+
--popover-content-shadow-native-color: #000000;
|
|
6940
|
+
--popover-content-shadow-native-opacity: 0.1;
|
|
6941
|
+
--popover-content-shadow-native-elevation: 8;
|
|
6936
6942
|
}
|
|
@@ -2,7 +2,11 @@ export declare const contextMenu: {
|
|
|
2
2
|
readonly content: {
|
|
3
3
|
readonly bg: string;
|
|
4
4
|
readonly border: string;
|
|
5
|
-
readonly shadow:
|
|
5
|
+
readonly shadow: Readonly<{
|
|
6
|
+
kind: "shadow";
|
|
7
|
+
role: "elevation";
|
|
8
|
+
level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
9
|
+
}>;
|
|
6
10
|
};
|
|
7
11
|
readonly item: {
|
|
8
12
|
readonly default: {
|
|
@@ -26,7 +30,10 @@ export declare const contextMenu: {
|
|
|
26
30
|
readonly ring: {
|
|
27
31
|
readonly color: string;
|
|
28
32
|
readonly width: string;
|
|
29
|
-
readonly shadow:
|
|
33
|
+
readonly shadow: Readonly<{
|
|
34
|
+
kind: "shadow";
|
|
35
|
+
role: "focus-ring";
|
|
36
|
+
}>;
|
|
30
37
|
readonly offset: string;
|
|
31
38
|
};
|
|
32
39
|
};
|
|
@@ -72,7 +79,10 @@ export declare const contextMenu: {
|
|
|
72
79
|
readonly ring: {
|
|
73
80
|
readonly color: string;
|
|
74
81
|
readonly width: string;
|
|
75
|
-
readonly shadow:
|
|
82
|
+
readonly shadow: Readonly<{
|
|
83
|
+
kind: "shadow";
|
|
84
|
+
role: "focus-ring";
|
|
85
|
+
}>;
|
|
76
86
|
readonly offset: string;
|
|
77
87
|
};
|
|
78
88
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/dark/components/contextMenu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/dark/components/contextMenu.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { createContextMenuTokensFromSemantics } from '../../factories/createContextMenuTokens.js';
|
|
2
2
|
import { focus } from '../semantic/focus.js';
|
|
3
3
|
import { menu } from '../semantic/menu.js';
|
|
4
|
-
import { shadow } from '../semantic/shadow.js';
|
|
5
4
|
import { text } from '../semantic/text.js';
|
|
6
5
|
export const contextMenu = createContextMenuTokensFromSemantics({
|
|
7
6
|
focus,
|
|
8
7
|
menu,
|
|
9
|
-
shadow,
|
|
10
8
|
text,
|
|
11
9
|
});
|
|
@@ -273,7 +273,10 @@ export declare const dropdown: {
|
|
|
273
273
|
readonly ring: {
|
|
274
274
|
readonly color: string;
|
|
275
275
|
readonly width: string;
|
|
276
|
-
readonly shadow:
|
|
276
|
+
readonly shadow: Readonly<{
|
|
277
|
+
kind: "shadow";
|
|
278
|
+
role: "focus-ring";
|
|
279
|
+
}>;
|
|
277
280
|
readonly offset: string;
|
|
278
281
|
};
|
|
279
282
|
};
|
|
@@ -287,7 +290,11 @@ export declare const dropdown: {
|
|
|
287
290
|
readonly bg: "#2F2A42";
|
|
288
291
|
readonly fg: "#F4F1FB";
|
|
289
292
|
readonly border: "#4F4867";
|
|
290
|
-
readonly shadow:
|
|
293
|
+
readonly shadow: Readonly<{
|
|
294
|
+
kind: "shadow";
|
|
295
|
+
role: "elevation";
|
|
296
|
+
level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
297
|
+
}>;
|
|
291
298
|
};
|
|
292
299
|
readonly item: {
|
|
293
300
|
readonly default: {
|
|
@@ -311,7 +318,10 @@ export declare const dropdown: {
|
|
|
311
318
|
readonly ring: {
|
|
312
319
|
readonly color: string;
|
|
313
320
|
readonly width: string;
|
|
314
|
-
readonly shadow:
|
|
321
|
+
readonly shadow: Readonly<{
|
|
322
|
+
kind: "shadow";
|
|
323
|
+
role: "focus-ring";
|
|
324
|
+
}>;
|
|
315
325
|
readonly offset: string;
|
|
316
326
|
};
|
|
317
327
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/dark/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/dark/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwIX,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createComponentFocusRing } from '../../factories/componentFocusRing.js';
|
|
2
2
|
import { createDropdownPalette } from '../../factories/createDropdownPalette.js';
|
|
3
3
|
import { createInputColorPalette } from '../../factories/createInputPalette.js';
|
|
4
|
+
import { createComponentShadowIntent } from '../../platform-output/component-token-intents.js';
|
|
4
5
|
import { colors } from '../../primitives/colors.js';
|
|
5
6
|
import { withAlpha } from '../../utils/color.js';
|
|
6
7
|
import { border } from '../semantic/border.js';
|
|
7
8
|
import { focus } from '../semantic/focus.js';
|
|
8
9
|
import { menu } from '../semantic/menu.js';
|
|
9
|
-
import { shadow } from '../semantic/shadow.js';
|
|
10
10
|
import { surface } from '../semantic/surface.js';
|
|
11
11
|
import { text } from '../semantic/text.js';
|
|
12
12
|
const dropdownPaletteDefaults = {
|
|
@@ -140,7 +140,7 @@ export const dropdown = {
|
|
|
140
140
|
bg: menu.background,
|
|
141
141
|
fg: menu.item.default.fg,
|
|
142
142
|
border: menu.border,
|
|
143
|
-
shadow:
|
|
143
|
+
shadow: createComponentShadowIntent('lg'),
|
|
144
144
|
},
|
|
145
145
|
item: {
|
|
146
146
|
default: {
|
|
@@ -8,14 +8,20 @@ export declare const modal: {
|
|
|
8
8
|
readonly bg: string;
|
|
9
9
|
readonly fg: string;
|
|
10
10
|
readonly border: string;
|
|
11
|
-
readonly shadow:
|
|
11
|
+
readonly shadow: Readonly<{
|
|
12
|
+
kind: "shadow";
|
|
13
|
+
role: "elevation";
|
|
14
|
+
level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
15
|
+
}>;
|
|
12
16
|
readonly borderWidth: 1;
|
|
13
17
|
readonly radius: number;
|
|
14
18
|
readonly padding: number;
|
|
15
19
|
readonly gap: number;
|
|
16
20
|
readonly minWidth: 320;
|
|
17
|
-
readonly maxHeight:
|
|
18
|
-
|
|
21
|
+
readonly maxHeight: Readonly<{
|
|
22
|
+
kind: "viewport-height";
|
|
23
|
+
ratio: number;
|
|
24
|
+
}>;
|
|
19
25
|
readonly viewportMargin: number;
|
|
20
26
|
readonly topOffset: number;
|
|
21
27
|
readonly zIndexOffset: 1;
|
|
@@ -66,10 +72,13 @@ export declare const modal: {
|
|
|
66
72
|
};
|
|
67
73
|
readonly focus: {
|
|
68
74
|
readonly ring: {
|
|
69
|
-
color: string;
|
|
70
|
-
width: string;
|
|
71
|
-
shadow:
|
|
72
|
-
|
|
75
|
+
readonly color: string;
|
|
76
|
+
readonly width: string;
|
|
77
|
+
readonly shadow: Readonly<{
|
|
78
|
+
kind: "shadow";
|
|
79
|
+
role: "focus-ring";
|
|
80
|
+
}>;
|
|
81
|
+
readonly offset: string;
|
|
73
82
|
};
|
|
74
83
|
};
|
|
75
84
|
readonly disabled: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/dark/components/modal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/dark/components/modal.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAShB,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { radius } from '../../tokens/radius.js';
|
|
|
3
3
|
import { spacing } from '../../tokens/spacing.js';
|
|
4
4
|
import { focus } from '../semantic/focus.js';
|
|
5
5
|
import { overlay } from '../semantic/overlay.js';
|
|
6
|
-
import { shadow } from '../semantic/shadow.js';
|
|
7
6
|
import { surface } from '../semantic/surface.js';
|
|
8
7
|
import { text } from '../semantic/text.js';
|
|
9
8
|
const closeButtonHoverBg = surface.elevated;
|
|
@@ -14,7 +13,6 @@ export const modal = createModalTokensFromSemantics({
|
|
|
14
13
|
focus,
|
|
15
14
|
overlay,
|
|
16
15
|
radius,
|
|
17
|
-
shadow,
|
|
18
16
|
spacing,
|
|
19
17
|
surface,
|
|
20
18
|
text,
|
|
@@ -3,31 +3,11 @@ export declare const popover: {
|
|
|
3
3
|
readonly bg: string;
|
|
4
4
|
readonly fg: string;
|
|
5
5
|
readonly border: string;
|
|
6
|
-
readonly shadow: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly blur: 3;
|
|
12
|
-
readonly color: "#000000";
|
|
13
|
-
readonly opacity: 0.04;
|
|
14
|
-
readonly elevation: 1;
|
|
15
|
-
} | {
|
|
16
|
-
readonly x: 0;
|
|
17
|
-
readonly y: 6;
|
|
18
|
-
readonly blur: 16;
|
|
19
|
-
readonly color: "#000000";
|
|
20
|
-
readonly opacity: 0.08;
|
|
21
|
-
readonly elevation: 4;
|
|
22
|
-
} | {
|
|
23
|
-
readonly x: 0;
|
|
24
|
-
readonly y: 12;
|
|
25
|
-
readonly blur: 32;
|
|
26
|
-
readonly color: "#000000";
|
|
27
|
-
readonly opacity: 0.1;
|
|
28
|
-
readonly elevation: 8;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
6
|
+
readonly shadow: Readonly<{
|
|
7
|
+
kind: "shadow";
|
|
8
|
+
role: "elevation";
|
|
9
|
+
level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
10
|
+
}>;
|
|
31
11
|
readonly borderWidth: 1;
|
|
32
12
|
readonly radius: number;
|
|
33
13
|
readonly padding: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/dark/components/popover.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/dark/components/popover.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlB,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { createPopoverTokensFromTheme } from '../../factories/createPopoverTokens.js';
|
|
2
2
|
import { radius } from '../../tokens/radius.js';
|
|
3
|
-
import { shadows } from '../../tokens/shadows.js';
|
|
4
3
|
import { spacing } from '../../tokens/spacing.js';
|
|
5
4
|
import { overlay } from '../semantic/overlay.js';
|
|
6
|
-
import { shadow } from '../semantic/shadow.js';
|
|
7
5
|
import { text } from '../semantic/text.js';
|
|
8
6
|
export const popover = createPopoverTokensFromTheme({
|
|
9
7
|
overlay,
|
|
10
|
-
shadow,
|
|
11
|
-
shadows,
|
|
12
8
|
text,
|
|
13
9
|
radius,
|
|
14
10
|
spacing,
|
|
@@ -2411,7 +2411,11 @@ export declare const select: {
|
|
|
2411
2411
|
readonly bg: "#2F2A42";
|
|
2412
2412
|
readonly fg: "#F4F1FB";
|
|
2413
2413
|
readonly border: "transparent";
|
|
2414
|
-
readonly shadow:
|
|
2414
|
+
readonly shadow: Readonly<{
|
|
2415
|
+
kind: "shadow";
|
|
2416
|
+
role: "elevation";
|
|
2417
|
+
level: import("../../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
2418
|
+
}>;
|
|
2415
2419
|
readonly search: {
|
|
2416
2420
|
readonly bg: "#181521";
|
|
2417
2421
|
readonly fg: "#F4F1FB";
|
|
@@ -2462,7 +2466,10 @@ export declare const select: {
|
|
|
2462
2466
|
readonly bg: "#402C9F";
|
|
2463
2467
|
readonly fg: "#E9E6FF";
|
|
2464
2468
|
readonly border: "#6346E8";
|
|
2465
|
-
readonly shadow:
|
|
2469
|
+
readonly shadow: Readonly<{
|
|
2470
|
+
kind: "shadow";
|
|
2471
|
+
role: "none";
|
|
2472
|
+
}>;
|
|
2466
2473
|
};
|
|
2467
2474
|
readonly disabled: {
|
|
2468
2475
|
readonly bg: "transparent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/dark/components/select.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/dark/components/select.ts"],"names":[],"mappings":"AA8EA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoOT,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createInputColorPalette } from '../../factories/createInputPalette.js';
|
|
2
2
|
import { createSelectPalette } from '../../factories/createSelectPalette.js';
|
|
3
|
+
import { createComponentNoShadowIntent, createComponentShadowIntent, } from '../../platform-output/component-token-intents.js';
|
|
3
4
|
import { colors } from '../../primitives/colors.js';
|
|
4
5
|
import { border } from '../semantic/border.js';
|
|
5
6
|
import { control } from '../semantic/control.js';
|
|
6
7
|
import { focus } from '../semantic/focus.js';
|
|
7
8
|
import { icons } from '../semantic/icons.js';
|
|
8
9
|
import { menu } from '../semantic/menu.js';
|
|
9
|
-
import { shadow } from '../semantic/shadow.js';
|
|
10
10
|
import { status } from '../semantic/status.js';
|
|
11
11
|
import { surface } from '../semantic/surface.js';
|
|
12
12
|
import { text } from '../semantic/text.js';
|
|
@@ -185,7 +185,7 @@ export const select = {
|
|
|
185
185
|
bg: menu.background,
|
|
186
186
|
fg: menu.item.default.fg,
|
|
187
187
|
border: 'transparent',
|
|
188
|
-
shadow:
|
|
188
|
+
shadow: createComponentShadowIntent('lg'),
|
|
189
189
|
search: {
|
|
190
190
|
bg: surface.default,
|
|
191
191
|
fg: text.primary,
|
|
@@ -236,7 +236,7 @@ export const select = {
|
|
|
236
236
|
bg: control.selected.muted.bg,
|
|
237
237
|
fg: control.selected.muted.fg,
|
|
238
238
|
border: control.selected.muted.border,
|
|
239
|
-
shadow:
|
|
239
|
+
shadow: createComponentNoShadowIntent(),
|
|
240
240
|
},
|
|
241
241
|
disabled: {
|
|
242
242
|
bg: menu.item.disabled.bg,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,gEAKlB,CAAC"}
|
|
@@ -3,10 +3,8 @@ import { radius } from '../../tokens/radius.js';
|
|
|
3
3
|
import { spacing } from '../../tokens/spacing.js';
|
|
4
4
|
import { typography } from '../../tokens/typography.js';
|
|
5
5
|
import { overlay } from '../semantic/overlay.js';
|
|
6
|
-
import { shadow } from '../semantic/shadow.js';
|
|
7
6
|
export const tooltip = createTooltipTokensFromTheme({
|
|
8
7
|
overlay,
|
|
9
|
-
shadow,
|
|
10
8
|
radius,
|
|
11
9
|
spacing,
|
|
12
10
|
typography,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAgBV,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
export type SemanticFocusRing = {
|
|
2
2
|
readonly color: string;
|
|
3
3
|
readonly width: string;
|
|
4
|
-
readonly shadow: string;
|
|
5
4
|
readonly offsetColor: string;
|
|
6
5
|
};
|
|
7
6
|
export declare const createComponentFocusRing: (ring: SemanticFocusRing) => {
|
|
8
7
|
readonly color: string;
|
|
9
8
|
readonly width: string;
|
|
10
|
-
readonly shadow:
|
|
9
|
+
readonly shadow: Readonly<{
|
|
10
|
+
kind: "shadow";
|
|
11
|
+
role: "focus-ring";
|
|
12
|
+
}>;
|
|
11
13
|
readonly offset: string;
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=componentFocusRing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentFocusRing.d.ts","sourceRoot":"","sources":["../../src/factories/componentFocusRing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"componentFocusRing.d.ts","sourceRoot":"","sources":["../../src/factories/componentFocusRing.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,iBAAiB;;;;;;;;CAMnD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { createComponentFocusRingShadowIntent } from '../platform-output/component-token-intents.js';
|
|
1
2
|
export const createComponentFocusRing = (ring) => ({
|
|
2
3
|
color: ring.color,
|
|
3
4
|
width: ring.width,
|
|
4
|
-
shadow:
|
|
5
|
+
shadow: createComponentFocusRingShadowIntent(),
|
|
5
6
|
offset: ring.offsetColor,
|
|
6
7
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SemanticFocusRing } from './componentFocusRing.js';
|
|
1
|
+
import { createComponentFocusRing, type SemanticFocusRing } from './componentFocusRing.js';
|
|
2
2
|
type ContextMenuState = {
|
|
3
3
|
readonly bg: string;
|
|
4
4
|
readonly fg: string;
|
|
@@ -9,16 +9,10 @@ type ContextMenuDangerStates = {
|
|
|
9
9
|
readonly active: ContextMenuState;
|
|
10
10
|
readonly disabled: ContextMenuState;
|
|
11
11
|
};
|
|
12
|
-
type ContextMenuFocusRing =
|
|
13
|
-
readonly color: string;
|
|
14
|
-
readonly width: string;
|
|
15
|
-
readonly shadow: string;
|
|
16
|
-
readonly offset: string;
|
|
17
|
-
};
|
|
12
|
+
type ContextMenuFocusRing = ReturnType<typeof createComponentFocusRing>;
|
|
18
13
|
type ContextMenuTokensConfig = {
|
|
19
14
|
contentBg: string;
|
|
20
15
|
contentBorder: string;
|
|
21
|
-
contentShadow: string;
|
|
22
16
|
itemDefault: ContextMenuState;
|
|
23
17
|
itemHover: ContextMenuState;
|
|
24
18
|
itemActive: ContextMenuState;
|
|
@@ -50,9 +44,6 @@ export type ContextMenuThemeSemantics = {
|
|
|
50
44
|
danger: ContextMenuDangerStates;
|
|
51
45
|
};
|
|
52
46
|
};
|
|
53
|
-
shadow: {
|
|
54
|
-
lg: string;
|
|
55
|
-
};
|
|
56
47
|
text: {
|
|
57
48
|
interactive: string;
|
|
58
49
|
interactiveHover: string;
|
|
@@ -64,7 +55,11 @@ export declare const createContextMenuTokens: (config: ContextMenuTokensConfig)
|
|
|
64
55
|
readonly content: {
|
|
65
56
|
readonly bg: string;
|
|
66
57
|
readonly border: string;
|
|
67
|
-
readonly shadow:
|
|
58
|
+
readonly shadow: Readonly<{
|
|
59
|
+
kind: "shadow";
|
|
60
|
+
role: "elevation";
|
|
61
|
+
level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
62
|
+
}>;
|
|
68
63
|
};
|
|
69
64
|
readonly item: {
|
|
70
65
|
readonly default: ContextMenuState;
|
|
@@ -76,7 +71,15 @@ export declare const createContextMenuTokens: (config: ContextMenuTokensConfig)
|
|
|
76
71
|
};
|
|
77
72
|
readonly pressed: ContextMenuState;
|
|
78
73
|
readonly focus: {
|
|
79
|
-
readonly ring:
|
|
74
|
+
readonly ring: {
|
|
75
|
+
readonly color: string;
|
|
76
|
+
readonly width: string;
|
|
77
|
+
readonly shadow: Readonly<{
|
|
78
|
+
kind: "shadow";
|
|
79
|
+
role: "focus-ring";
|
|
80
|
+
}>;
|
|
81
|
+
readonly offset: string;
|
|
82
|
+
};
|
|
80
83
|
};
|
|
81
84
|
readonly disabled: ContextMenuState;
|
|
82
85
|
readonly danger: ContextMenuDangerStates;
|
|
@@ -97,7 +100,15 @@ export declare const createContextMenuTokens: (config: ContextMenuTokensConfig)
|
|
|
97
100
|
readonly bg: "transparent";
|
|
98
101
|
readonly fg: string;
|
|
99
102
|
readonly border: "transparent";
|
|
100
|
-
readonly ring:
|
|
103
|
+
readonly ring: {
|
|
104
|
+
readonly color: string;
|
|
105
|
+
readonly width: string;
|
|
106
|
+
readonly shadow: Readonly<{
|
|
107
|
+
kind: "shadow";
|
|
108
|
+
role: "focus-ring";
|
|
109
|
+
}>;
|
|
110
|
+
readonly offset: string;
|
|
111
|
+
};
|
|
101
112
|
};
|
|
102
113
|
readonly disabled: {
|
|
103
114
|
readonly bg: "transparent";
|
|
@@ -109,11 +120,15 @@ export declare const createContextMenuTokens: (config: ContextMenuTokensConfig)
|
|
|
109
120
|
readonly fg: string;
|
|
110
121
|
};
|
|
111
122
|
};
|
|
112
|
-
export declare const createContextMenuTokensFromSemantics: ({ focus, menu,
|
|
123
|
+
export declare const createContextMenuTokensFromSemantics: ({ focus, menu, text, }: ContextMenuThemeSemantics) => {
|
|
113
124
|
readonly content: {
|
|
114
125
|
readonly bg: string;
|
|
115
126
|
readonly border: string;
|
|
116
|
-
readonly shadow:
|
|
127
|
+
readonly shadow: Readonly<{
|
|
128
|
+
kind: "shadow";
|
|
129
|
+
role: "elevation";
|
|
130
|
+
level: import("../platform-output/component-token-intents.js").ComponentShadowLevel;
|
|
131
|
+
}>;
|
|
117
132
|
};
|
|
118
133
|
readonly item: {
|
|
119
134
|
readonly default: ContextMenuState;
|
|
@@ -125,7 +140,15 @@ export declare const createContextMenuTokensFromSemantics: ({ focus, menu, shado
|
|
|
125
140
|
};
|
|
126
141
|
readonly pressed: ContextMenuState;
|
|
127
142
|
readonly focus: {
|
|
128
|
-
readonly ring:
|
|
143
|
+
readonly ring: {
|
|
144
|
+
readonly color: string;
|
|
145
|
+
readonly width: string;
|
|
146
|
+
readonly shadow: Readonly<{
|
|
147
|
+
kind: "shadow";
|
|
148
|
+
role: "focus-ring";
|
|
149
|
+
}>;
|
|
150
|
+
readonly offset: string;
|
|
151
|
+
};
|
|
129
152
|
};
|
|
130
153
|
readonly disabled: ContextMenuState;
|
|
131
154
|
readonly danger: ContextMenuDangerStates;
|
|
@@ -146,7 +169,15 @@ export declare const createContextMenuTokensFromSemantics: ({ focus, menu, shado
|
|
|
146
169
|
readonly bg: "transparent";
|
|
147
170
|
readonly fg: string;
|
|
148
171
|
readonly border: "transparent";
|
|
149
|
-
readonly ring:
|
|
172
|
+
readonly ring: {
|
|
173
|
+
readonly color: string;
|
|
174
|
+
readonly width: string;
|
|
175
|
+
readonly shadow: Readonly<{
|
|
176
|
+
kind: "shadow";
|
|
177
|
+
role: "focus-ring";
|
|
178
|
+
}>;
|
|
179
|
+
readonly offset: string;
|
|
180
|
+
};
|
|
150
181
|
};
|
|
151
182
|
readonly disabled: {
|
|
152
183
|
readonly bg: "transparent";
|