@vellira-ui/tokens 2.98.7 → 2.99.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-types.d.ts","sourceRoot":"","sources":["../../src/generated/token-types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"token-types.d.ts","sourceRoot":"","sources":["../../src/generated/token-types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAE7F,eAAO,MAAM,UAAU,6CAA8C,CAAC;AAEtE,eAAO,MAAM,eAAe,05EAqHlB,CAAC;AAEX,eAAO,MAAM,kBAAkB,kjMA2LrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,i51FA87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OAAO,GACP,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC;CACf,CAAC;AAEN,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAC;AAC7D,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3E,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,CAAC;AACtE,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AACnD,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;AAC7D,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -296,6 +296,7 @@ export const semanticTokenPaths = [
|
|
|
296
296
|
'semantic.surface.hover',
|
|
297
297
|
'semantic.surface.inverse',
|
|
298
298
|
'semantic.surface.muted',
|
|
299
|
+
'semantic.surface.panel',
|
|
299
300
|
'semantic.surface.pressed',
|
|
300
301
|
'semantic.surface.subtle',
|
|
301
302
|
'semantic.text.brand',
|
|
@@ -1234,7 +1235,6 @@ export const componentTokenPaths = [
|
|
|
1234
1235
|
'components.modal.content.gap',
|
|
1235
1236
|
'components.modal.content.maxHeight',
|
|
1236
1237
|
'components.modal.content.minWidth',
|
|
1237
|
-
'components.modal.content.nativeMaxHeight',
|
|
1238
1238
|
'components.modal.content.padding',
|
|
1239
1239
|
'components.modal.content.radius',
|
|
1240
1240
|
'components.modal.content.shadow',
|
|
@@ -1270,13 +1270,7 @@ export const componentTokenPaths = [
|
|
|
1270
1270
|
'components.popover.content.minWidth',
|
|
1271
1271
|
'components.popover.content.padding',
|
|
1272
1272
|
'components.popover.content.radius',
|
|
1273
|
-
'components.popover.content.shadow
|
|
1274
|
-
'components.popover.content.shadow.native.color',
|
|
1275
|
-
'components.popover.content.shadow.native.elevation',
|
|
1276
|
-
'components.popover.content.shadow.native.opacity',
|
|
1277
|
-
'components.popover.content.shadow.native.x',
|
|
1278
|
-
'components.popover.content.shadow.native.y',
|
|
1279
|
-
'components.popover.content.shadow.web',
|
|
1273
|
+
'components.popover.content.shadow',
|
|
1280
1274
|
'components.popover.description.fg',
|
|
1281
1275
|
'components.popover.title.fg',
|
|
1282
1276
|
'components.radio.danger.default.bg',
|
|
@@ -3406,7 +3400,6 @@ export const tokenPaths = [
|
|
|
3406
3400
|
'components.modal.content.gap',
|
|
3407
3401
|
'components.modal.content.maxHeight',
|
|
3408
3402
|
'components.modal.content.minWidth',
|
|
3409
|
-
'components.modal.content.nativeMaxHeight',
|
|
3410
3403
|
'components.modal.content.padding',
|
|
3411
3404
|
'components.modal.content.radius',
|
|
3412
3405
|
'components.modal.content.shadow',
|
|
@@ -3442,13 +3435,7 @@ export const tokenPaths = [
|
|
|
3442
3435
|
'components.popover.content.minWidth',
|
|
3443
3436
|
'components.popover.content.padding',
|
|
3444
3437
|
'components.popover.content.radius',
|
|
3445
|
-
'components.popover.content.shadow
|
|
3446
|
-
'components.popover.content.shadow.native.color',
|
|
3447
|
-
'components.popover.content.shadow.native.elevation',
|
|
3448
|
-
'components.popover.content.shadow.native.opacity',
|
|
3449
|
-
'components.popover.content.shadow.native.x',
|
|
3450
|
-
'components.popover.content.shadow.native.y',
|
|
3451
|
-
'components.popover.content.shadow.web',
|
|
3438
|
+
'components.popover.content.shadow',
|
|
3452
3439
|
'components.popover.description.fg',
|
|
3453
3440
|
'components.popover.title.fg',
|
|
3454
3441
|
'components.radio.danger.default.bg',
|
|
@@ -4643,6 +4630,7 @@ export const tokenPaths = [
|
|
|
4643
4630
|
'semantic.surface.hover',
|
|
4644
4631
|
'semantic.surface.inverse',
|
|
4645
4632
|
'semantic.surface.muted',
|
|
4633
|
+
'semantic.surface.panel',
|
|
4646
4634
|
'semantic.surface.pressed',
|
|
4647
4635
|
'semantic.surface.subtle',
|
|
4648
4636
|
'semantic.text.brand',
|
|
@@ -5985,6 +5973,7 @@ export const themeCssVariableNames = [
|
|
|
5985
5973
|
'--popover-content-min-width',
|
|
5986
5974
|
'--popover-content-padding',
|
|
5987
5975
|
'--popover-content-radius',
|
|
5976
|
+
'--popover-content-shadow',
|
|
5988
5977
|
'--popover-content-shadow-native-blur',
|
|
5989
5978
|
'--popover-content-shadow-native-color',
|
|
5990
5979
|
'--popover-content-shadow-native-elevation',
|
|
@@ -6869,6 +6858,7 @@ export const themeCssVariableNames = [
|
|
|
6869
6858
|
'--surface-hover',
|
|
6870
6859
|
'--surface-inverse',
|
|
6871
6860
|
'--surface-muted',
|
|
6861
|
+
'--surface-panel',
|
|
6872
6862
|
'--surface-pressed',
|
|
6873
6863
|
'--surface-subtle',
|
|
6874
6864
|
'--switch-disabled-thumb-bg',
|
|
@@ -8299,6 +8289,7 @@ export const cssVariableNames = [
|
|
|
8299
8289
|
'--popover-content-min-width',
|
|
8300
8290
|
'--popover-content-padding',
|
|
8301
8291
|
'--popover-content-radius',
|
|
8292
|
+
'--popover-content-shadow',
|
|
8302
8293
|
'--popover-content-shadow-native-blur',
|
|
8303
8294
|
'--popover-content-shadow-native-color',
|
|
8304
8295
|
'--popover-content-shadow-native-elevation',
|
|
@@ -9200,6 +9191,7 @@ export const cssVariableNames = [
|
|
|
9200
9191
|
'--surface-hover',
|
|
9201
9192
|
'--surface-inverse',
|
|
9202
9193
|
'--surface-muted',
|
|
9194
|
+
'--surface-panel',
|
|
9203
9195
|
'--surface-pressed',
|
|
9204
9196
|
'--surface-subtle',
|
|
9205
9197
|
'--switch-disabled-thumb-bg',
|
|
@@ -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/highContrast/components/contextMenu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/highContrast/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: "#111827";
|
|
288
291
|
readonly fg: "#FFFFFF";
|
|
289
292
|
readonly border: "#FFFFFF";
|
|
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/highContrast/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FX,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { border } from '../semantic/border.js';
|
|
6
7
|
import { focus } from '../semantic/focus.js';
|
|
7
8
|
import { menu } from '../semantic/menu.js';
|
|
8
|
-
import { shadow } from '../semantic/shadow.js';
|
|
9
9
|
import { status } from '../semantic/status.js';
|
|
10
10
|
import { surface } from '../semantic/surface.js';
|
|
11
11
|
import { text } from '../semantic/text.js';
|
|
@@ -113,7 +113,7 @@ export const dropdown = {
|
|
|
113
113
|
bg: menu.background,
|
|
114
114
|
fg: menu.item.default.fg,
|
|
115
115
|
border: menu.border,
|
|
116
|
-
shadow:
|
|
116
|
+
shadow: createComponentShadowIntent('lg'),
|
|
117
117
|
},
|
|
118
118
|
item: {
|
|
119
119
|
default: menu.item.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/highContrast/components/modal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/modal.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -3,14 +3,12 @@ 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
|
export const modal = createModalTokensFromSemantics({
|
|
10
9
|
focus,
|
|
11
10
|
overlay,
|
|
12
11
|
radius,
|
|
13
|
-
shadow,
|
|
14
12
|
spacing,
|
|
15
13
|
surface,
|
|
16
14
|
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/highContrast/components/popover.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/highContrast/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: "#111827";
|
|
2412
2412
|
readonly fg: "#FFFFFF";
|
|
2413
2413
|
readonly border: "#FFFFFF";
|
|
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: "#000000";
|
|
2417
2421
|
readonly fg: "#FFFFFF";
|
|
@@ -2462,7 +2466,10 @@ export declare const select: {
|
|
|
2462
2466
|
readonly bg: "#1F2937";
|
|
2463
2467
|
readonly fg: "#FDE68A";
|
|
2464
2468
|
readonly border: "#FCD34D";
|
|
2465
|
-
readonly shadow:
|
|
2469
|
+
readonly shadow: Readonly<{
|
|
2470
|
+
kind: "shadow";
|
|
2471
|
+
role: "none";
|
|
2472
|
+
}>;
|
|
2466
2473
|
};
|
|
2467
2474
|
readonly disabled: {
|
|
2468
2475
|
readonly border: "transparent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/select.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/select.ts"],"names":[],"mappings":"AA2HA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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';
|
|
@@ -214,7 +214,7 @@ export const select = {
|
|
|
214
214
|
bg: menu.background,
|
|
215
215
|
fg: menu.item.default.fg,
|
|
216
216
|
border: menu.border,
|
|
217
|
-
shadow:
|
|
217
|
+
shadow: createComponentShadowIntent('lg'),
|
|
218
218
|
search: {
|
|
219
219
|
bg: surface.default,
|
|
220
220
|
fg: text.primary,
|
|
@@ -261,7 +261,7 @@ export const select = {
|
|
|
261
261
|
bg: control.selected.muted.bg,
|
|
262
262
|
fg: control.selected.muted.fg,
|
|
263
263
|
border: control.selected.muted.border,
|
|
264
|
-
shadow:
|
|
264
|
+
shadow: createComponentNoShadowIntent(),
|
|
265
265
|
},
|
|
266
266
|
disabled: {
|
|
267
267
|
...menu.item.disabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/highContrast/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/highContrast/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAgBV,CAAC"}
|
|
@@ -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/light/components/contextMenu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/light/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: "#FFFFFF";
|
|
288
291
|
readonly fg: "#3D3754";
|
|
289
292
|
readonly border: "#E4DDF4";
|
|
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/light/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/light/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHX,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 = {
|
|
@@ -137,7 +137,7 @@ export const dropdown = {
|
|
|
137
137
|
bg: menu.background,
|
|
138
138
|
fg: menu.item.default.fg,
|
|
139
139
|
border: menu.border,
|
|
140
|
-
shadow:
|
|
140
|
+
shadow: createComponentShadowIntent('lg'),
|
|
141
141
|
},
|
|
142
142
|
item: {
|
|
143
143
|
default: menu.item.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/light/components/modal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/light/components/modal.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|