@vellira-ui/tokens 2.98.6 → 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 +171 -213
- 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 +20 -10
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +6 -5
- package/dist/dark/components/input.d.ts +1 -1
- package/dist/dark/components/input.js +4 -4
- 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 +1 -3
- 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/radio.js +1 -1
- 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 +5 -5
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +0 -2
- package/dist/dark/semantic/action.d.ts +2 -2
- package/dist/dark/semantic/action.js +2 -2
- package/dist/dark/semantic/border.d.ts +1 -1
- package/dist/dark/semantic/border.js +1 -1
- package/dist/dark/semantic/control.js +1 -1
- package/dist/dark/semantic/focus.d.ts +1 -1
- package/dist/dark/semantic/focus.js +1 -1
- package/dist/dark/semantic/icons.d.ts +2 -2
- package/dist/dark/semantic/icons.js +2 -2
- package/dist/dark/semantic/index.d.ts +0 -1
- package/dist/dark/semantic/index.d.ts.map +1 -1
- package/dist/dark/semantic/index.js +0 -1
- package/dist/dark/semantic/overlay.d.ts +2 -2
- package/dist/dark/semantic/overlay.js +2 -2
- package/dist/dark/semantic/status.d.ts +6 -6
- package/dist/dark/semantic/status.js +6 -6
- package/dist/dark/semantic/surface.d.ts +1 -1
- package/dist/dark/semantic/surface.js +1 -1
- package/dist/dark/semantic/text.d.ts +2 -2
- package/dist/dark/semantic/text.js +2 -2
- package/dist/factories/componentFocusRing.d.ts +15 -0
- package/dist/factories/componentFocusRing.d.ts.map +1 -0
- package/dist/factories/componentFocusRing.js +7 -0
- package/dist/factories/createContextMenuTokens.d.ts +50 -18
- package/dist/factories/createContextMenuTokens.d.ts.map +1 -1
- package/dist/factories/createContextMenuTokens.js +6 -5
- package/dist/factories/createModalTokens.d.ts +41 -21
- package/dist/factories/createModalTokens.d.ts.map +1 -1
- package/dist/factories/createModalTokens.js +8 -9
- package/dist/factories/createPopoverTokens.d.ts +12 -20
- package/dist/factories/createPopoverTokens.d.ts.map +1 -1
- package/dist/factories/createPopoverTokens.js +5 -9
- 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 +176 -248
- 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 +19 -9
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +6 -5
- package/dist/highContrast/components/input.d.ts +4 -4
- package/dist/highContrast/components/input.js +4 -4
- 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/radio.js +1 -1
- package/dist/highContrast/components/select.d.ts +10 -3
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +5 -5
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +0 -2
- package/dist/highContrast/semantic/action.d.ts +2 -2
- package/dist/highContrast/semantic/action.js +2 -2
- package/dist/highContrast/semantic/border.d.ts +1 -1
- package/dist/highContrast/semantic/border.js +1 -1
- package/dist/highContrast/semantic/focus.d.ts +1 -1
- package/dist/highContrast/semantic/focus.js +1 -1
- package/dist/highContrast/semantic/icons.d.ts +4 -4
- package/dist/highContrast/semantic/icons.js +4 -4
- package/dist/highContrast/semantic/index.d.ts +0 -1
- package/dist/highContrast/semantic/index.d.ts.map +1 -1
- package/dist/highContrast/semantic/index.js +0 -1
- package/dist/highContrast/semantic/overlay.d.ts +2 -2
- package/dist/highContrast/semantic/overlay.js +2 -2
- package/dist/highContrast/semantic/status.d.ts +4 -4
- package/dist/highContrast/semantic/status.js +4 -4
- package/dist/highContrast/semantic/surface.d.ts +1 -1
- package/dist/highContrast/semantic/surface.js +1 -1
- 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 +19 -9
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +6 -5
- package/dist/light/components/input.js +4 -4
- 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/radio.js +1 -1
- 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 +5 -5
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +0 -2
- package/dist/light/semantic/action.d.ts +2 -2
- package/dist/light/semantic/action.js +2 -2
- package/dist/light/semantic/border.d.ts +1 -1
- package/dist/light/semantic/border.js +1 -1
- package/dist/light/semantic/focus.d.ts +1 -1
- package/dist/light/semantic/focus.js +1 -1
- package/dist/light/semantic/icons.d.ts +2 -2
- package/dist/light/semantic/icons.js +2 -2
- package/dist/light/semantic/index.d.ts +0 -1
- package/dist/light/semantic/index.d.ts.map +1 -1
- package/dist/light/semantic/index.js +0 -1
- package/dist/light/semantic/menu.js +1 -1
- package/dist/light/semantic/overlay.d.ts +2 -2
- package/dist/light/semantic/overlay.js +2 -2
- package/dist/light/semantic/status.d.ts +4 -4
- package/dist/light/semantic/status.js +4 -4
- package/dist/light/semantic/surface.d.ts +1 -1
- package/dist/light/semantic/surface.js +1 -1
- 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 +208 -13
- package/dist/preservation/token-migrations.d.ts.map +1 -1
- package/dist/preservation/token-migrations.js +332 -30
- package/dist/token-architecture.d.ts +56 -10
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +129 -20
- package/package.json +1 -1
- package/dist/dark/semantic/navigation.d.ts +0 -34
- package/dist/dark/semantic/navigation.d.ts.map +0 -1
- package/dist/dark/semantic/navigation.js +0 -37
- package/dist/highContrast/semantic/navigation.d.ts +0 -34
- package/dist/highContrast/semantic/navigation.d.ts.map +0 -1
- package/dist/highContrast/semantic/navigation.js +0 -36
- package/dist/light/semantic/navigation.d.ts +0 -34
- package/dist/light/semantic/navigation.d.ts.map +0 -1
- package/dist/light/semantic/navigation.js +0 -37
|
@@ -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
|
});
|
|
@@ -271,10 +271,13 @@ export declare const dropdown: {
|
|
|
271
271
|
readonly fg: "#B8A8FF";
|
|
272
272
|
readonly border: "#B8A8FF";
|
|
273
273
|
readonly ring: {
|
|
274
|
-
readonly color:
|
|
275
|
-
readonly width:
|
|
276
|
-
readonly shadow:
|
|
277
|
-
|
|
274
|
+
readonly color: string;
|
|
275
|
+
readonly width: string;
|
|
276
|
+
readonly shadow: Readonly<{
|
|
277
|
+
kind: "shadow";
|
|
278
|
+
role: "focus-ring";
|
|
279
|
+
}>;
|
|
280
|
+
readonly offset: string;
|
|
278
281
|
};
|
|
279
282
|
};
|
|
280
283
|
readonly disabled: {
|
|
@@ -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: {
|
|
@@ -309,10 +316,13 @@ export declare const dropdown: {
|
|
|
309
316
|
};
|
|
310
317
|
readonly focus: {
|
|
311
318
|
readonly ring: {
|
|
312
|
-
readonly color:
|
|
313
|
-
readonly width:
|
|
314
|
-
readonly shadow:
|
|
315
|
-
|
|
319
|
+
readonly color: string;
|
|
320
|
+
readonly width: string;
|
|
321
|
+
readonly shadow: Readonly<{
|
|
322
|
+
kind: "shadow";
|
|
323
|
+
role: "focus-ring";
|
|
324
|
+
}>;
|
|
325
|
+
readonly offset: string;
|
|
316
326
|
};
|
|
317
327
|
};
|
|
318
328
|
readonly disabled: {
|
|
@@ -344,7 +354,7 @@ export declare const dropdown: {
|
|
|
344
354
|
};
|
|
345
355
|
readonly separator: {
|
|
346
356
|
readonly bg: "#3D3754";
|
|
347
|
-
readonly fg: "#
|
|
357
|
+
readonly fg: "#9CA3AF";
|
|
348
358
|
};
|
|
349
359
|
};
|
|
350
360
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/dark/components/dropdown.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/dark/components/dropdown.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwIX,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { createComponentFocusRing } from '../../factories/componentFocusRing.js';
|
|
1
2
|
import { createDropdownPalette } from '../../factories/createDropdownPalette.js';
|
|
2
3
|
import { createInputColorPalette } from '../../factories/createInputPalette.js';
|
|
4
|
+
import { createComponentShadowIntent } from '../../platform-output/component-token-intents.js';
|
|
3
5
|
import { colors } from '../../primitives/colors.js';
|
|
4
6
|
import { withAlpha } from '../../utils/color.js';
|
|
5
7
|
import { border } from '../semantic/border.js';
|
|
6
8
|
import { focus } from '../semantic/focus.js';
|
|
7
9
|
import { menu } from '../semantic/menu.js';
|
|
8
|
-
import { shadow } from '../semantic/shadow.js';
|
|
9
10
|
import { surface } from '../semantic/surface.js';
|
|
10
11
|
import { text } from '../semantic/text.js';
|
|
11
12
|
const dropdownPaletteDefaults = {
|
|
@@ -126,8 +127,8 @@ export const dropdown = {
|
|
|
126
127
|
focus: {
|
|
127
128
|
bg: 'transparent',
|
|
128
129
|
fg: text.interactive,
|
|
129
|
-
border: border.
|
|
130
|
-
ring: focus.ring,
|
|
130
|
+
border: border.interactive,
|
|
131
|
+
ring: createComponentFocusRing(focus.ring),
|
|
131
132
|
},
|
|
132
133
|
disabled: {
|
|
133
134
|
bg: surface.disabled,
|
|
@@ -139,7 +140,7 @@ export const dropdown = {
|
|
|
139
140
|
bg: menu.background,
|
|
140
141
|
fg: menu.item.default.fg,
|
|
141
142
|
border: menu.border,
|
|
142
|
-
shadow:
|
|
143
|
+
shadow: createComponentShadowIntent('lg'),
|
|
143
144
|
},
|
|
144
145
|
item: {
|
|
145
146
|
default: {
|
|
@@ -160,7 +161,7 @@ export const dropdown = {
|
|
|
160
161
|
fg: menu.item.pressed.fg,
|
|
161
162
|
},
|
|
162
163
|
focus: {
|
|
163
|
-
ring: focus.ring,
|
|
164
|
+
ring: createComponentFocusRing(focus.ring),
|
|
164
165
|
},
|
|
165
166
|
disabled: {
|
|
166
167
|
bg: menu.item.disabled.bg,
|
|
@@ -77,14 +77,14 @@ export const input = {
|
|
|
77
77
|
hover: {
|
|
78
78
|
bg: surface.hover,
|
|
79
79
|
fg: text.primary,
|
|
80
|
-
border: border.
|
|
80
|
+
border: border.interactive,
|
|
81
81
|
placeholder: text.secondary,
|
|
82
|
-
icon: icons.
|
|
82
|
+
icon: icons.interactiveHover,
|
|
83
83
|
},
|
|
84
84
|
focus: {
|
|
85
85
|
bg: 'transparent',
|
|
86
86
|
fg: text.primary,
|
|
87
|
-
border: border.
|
|
87
|
+
border: border.interactive,
|
|
88
88
|
ring: focus.ring.color,
|
|
89
89
|
placeholder: text.secondary,
|
|
90
90
|
icon: icons.brand,
|
|
@@ -109,7 +109,7 @@ export const input = {
|
|
|
109
109
|
},
|
|
110
110
|
icon: {
|
|
111
111
|
default: icons.default,
|
|
112
|
-
primary: icons.
|
|
112
|
+
primary: icons.interactive,
|
|
113
113
|
secondary: icons.secondary,
|
|
114
114
|
success: icons.success,
|
|
115
115
|
danger: icons.danger,
|
|
@@ -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,18 +3,16 @@ 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;
|
|
10
|
-
const closeButtonPressedBg = surface.
|
|
9
|
+
const closeButtonPressedBg = surface.pressed;
|
|
11
10
|
export const modal = createModalTokensFromSemantics({
|
|
12
11
|
closeButtonHoverBg,
|
|
13
12
|
closeButtonPressedBg,
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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';
|
|
@@ -157,13 +157,13 @@ export const select = {
|
|
|
157
157
|
},
|
|
158
158
|
hover: {
|
|
159
159
|
...control.hover,
|
|
160
|
-
icon: icons.
|
|
160
|
+
icon: icons.interactiveHover,
|
|
161
161
|
placeholder: text.secondary,
|
|
162
162
|
},
|
|
163
163
|
focus: {
|
|
164
164
|
bg: 'transparent',
|
|
165
165
|
fg: text.primary,
|
|
166
|
-
border: border.
|
|
166
|
+
border: border.interactive,
|
|
167
167
|
ring: focus.ring.color,
|
|
168
168
|
icon: icons.brand,
|
|
169
169
|
placeholder: text.secondary,
|
|
@@ -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,
|
|
@@ -26,7 +26,7 @@ export declare const action: {
|
|
|
26
26
|
readonly border: "transparent";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
readonly
|
|
29
|
+
readonly accent: {
|
|
30
30
|
readonly default: {
|
|
31
31
|
readonly bg: "#1FBEDB";
|
|
32
32
|
readonly fg: "#000000";
|
|
@@ -53,7 +53,7 @@ export declare const action: {
|
|
|
53
53
|
readonly border: "transparent";
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
readonly
|
|
56
|
+
readonly neutral: {
|
|
57
57
|
readonly default: {
|
|
58
58
|
readonly bg: "#BBB2D2";
|
|
59
59
|
readonly fg: "#000000";
|
|
@@ -28,7 +28,7 @@ export const action = {
|
|
|
28
28
|
border: 'transparent',
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
|
-
|
|
31
|
+
accent: {
|
|
32
32
|
default: {
|
|
33
33
|
bg: colors.secondary[500],
|
|
34
34
|
fg: text.inverse,
|
|
@@ -55,7 +55,7 @@ export const action = {
|
|
|
55
55
|
border: 'transparent',
|
|
56
56
|
},
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
neutral: {
|
|
59
59
|
default: {
|
|
60
60
|
bg: colors.vellira[300],
|
|
61
61
|
fg: text.inverse,
|
|
@@ -4,9 +4,9 @@ export declare const icons: {
|
|
|
4
4
|
readonly muted: "#958CB0";
|
|
5
5
|
readonly subtle: "#6B6386";
|
|
6
6
|
readonly disabled: "#6B6386";
|
|
7
|
-
readonly
|
|
7
|
+
readonly interactive: "#B8A8FF";
|
|
8
8
|
readonly brand: "#B8A8FF";
|
|
9
|
-
readonly
|
|
9
|
+
readonly interactiveHover: "#D4CCFF";
|
|
10
10
|
readonly success: "#2DD4BF";
|
|
11
11
|
readonly danger: "#FB7185";
|
|
12
12
|
readonly inverse: "#000000";
|
|
@@ -5,9 +5,9 @@ export const icons = {
|
|
|
5
5
|
muted: colors.vellira[400],
|
|
6
6
|
subtle: colors.vellira[500],
|
|
7
7
|
disabled: colors.vellira[500],
|
|
8
|
-
|
|
8
|
+
interactive: colors.primary[300],
|
|
9
9
|
brand: colors.primary[300],
|
|
10
|
-
|
|
10
|
+
interactiveHover: colors.primary[200],
|
|
11
11
|
success: colors.success[400],
|
|
12
12
|
danger: colors.error[400],
|
|
13
13
|
inverse: colors.mono[950],
|
|
@@ -5,7 +5,6 @@ export { divider } from './divider.js';
|
|
|
5
5
|
export { focus } from './focus.js';
|
|
6
6
|
export { icons } from './icons.js';
|
|
7
7
|
export { menu } from './menu.js';
|
|
8
|
-
export { navigation } from './navigation.js';
|
|
9
8
|
export { overlay } from './overlay.js';
|
|
10
9
|
export { shadow } from './shadow.js';
|
|
11
10
|
export { skeleton } from './skeleton.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -5,7 +5,6 @@ export { divider } from './divider.js';
|
|
|
5
5
|
export { focus } from './focus.js';
|
|
6
6
|
export { icons } from './icons.js';
|
|
7
7
|
export { menu } from './menu.js';
|
|
8
|
-
export { navigation } from './navigation.js';
|
|
9
8
|
export { overlay } from './overlay.js';
|
|
10
9
|
export { shadow } from './shadow.js';
|
|
11
10
|
export { skeleton } from './skeleton.js';
|
|
@@ -5,11 +5,11 @@ export declare const overlay: {
|
|
|
5
5
|
readonly fg: "#F4F1FB";
|
|
6
6
|
readonly border: "#4F4867";
|
|
7
7
|
};
|
|
8
|
-
readonly
|
|
8
|
+
readonly floating: {
|
|
9
9
|
readonly bg: "#242034";
|
|
10
10
|
readonly border: "#3D3754";
|
|
11
11
|
};
|
|
12
|
-
readonly
|
|
12
|
+
readonly dialog: {
|
|
13
13
|
readonly bg: "#242034";
|
|
14
14
|
readonly border: "#3D3754";
|
|
15
15
|
};
|
|
@@ -4,28 +4,28 @@ export declare const status: {
|
|
|
4
4
|
readonly bg: "rgba(52, 211, 153, 0.14)";
|
|
5
5
|
readonly border: "#2DD4BF";
|
|
6
6
|
readonly ring: "#5EEAD4";
|
|
7
|
-
readonly
|
|
7
|
+
readonly emphasisFg: "#0F9E94";
|
|
8
8
|
};
|
|
9
9
|
readonly error: {
|
|
10
10
|
readonly fg: "#FB7185";
|
|
11
11
|
readonly bg: "rgba(251, 113, 133, 0.16)";
|
|
12
12
|
readonly border: "#FB7185";
|
|
13
13
|
readonly ring: "#FB7185";
|
|
14
|
-
readonly
|
|
14
|
+
readonly emphasisFg: "#E11D48";
|
|
15
15
|
};
|
|
16
16
|
readonly warning: {
|
|
17
17
|
readonly fg: "#FBBF24";
|
|
18
18
|
readonly bg: "rgba(251, 191, 36, 0.14)";
|
|
19
19
|
readonly border: "#FBBF24";
|
|
20
|
-
readonly ring: "#
|
|
21
|
-
readonly
|
|
20
|
+
readonly ring: "#FCD34D";
|
|
21
|
+
readonly emphasisFg: "#D97706";
|
|
22
22
|
};
|
|
23
23
|
readonly info: {
|
|
24
24
|
readonly fg: "#7DD3FC";
|
|
25
25
|
readonly bg: "rgba(56, 189, 248, 0.14)";
|
|
26
26
|
readonly border: "#7DD3FC";
|
|
27
|
-
readonly ring: "#
|
|
28
|
-
readonly
|
|
27
|
+
readonly ring: "#7DD3FC";
|
|
28
|
+
readonly emphasisFg: "#0369A1";
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=status.d.ts.map
|