@vellira-ui/tokens 2.52.0 → 2.53.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 +68 -5
- package/dist/dark/components/index.d.ts +1 -0
- package/dist/dark/components/index.d.ts.map +1 -1
- package/dist/dark/components/index.js +1 -0
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +3 -4
- package/dist/dark/components/popover.d.ts +50 -0
- package/dist/dark/components/popover.d.ts.map +1 -0
- package/dist/dark/components/popover.js +19 -0
- package/dist/dark/semantic/overlay.d.ts +1 -1
- package/dist/dark/semantic/overlay.d.ts.map +1 -1
- package/dist/dark/semantic/overlay.js +2 -1
- package/dist/factories/createPopoverTokens.d.ts +44 -0
- package/dist/factories/createPopoverTokens.d.ts.map +1 -0
- package/dist/factories/createPopoverTokens.js +28 -0
- package/dist/generated/token-types.d.ts +4 -4
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +84 -0
- package/dist/highContrast/components/index.d.ts +1 -0
- package/dist/highContrast/components/index.d.ts.map +1 -1
- package/dist/highContrast/components/index.js +1 -0
- package/dist/highContrast/components/popover.d.ts +50 -0
- package/dist/highContrast/components/popover.d.ts.map +1 -0
- package/dist/highContrast/components/popover.js +19 -0
- package/dist/highContrast/semantic/overlay.d.ts +1 -1
- package/dist/highContrast/semantic/overlay.d.ts.map +1 -1
- package/dist/highContrast/semantic/overlay.js +2 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/light/components/index.d.ts +1 -0
- package/dist/light/components/index.d.ts.map +1 -1
- package/dist/light/components/index.js +1 -0
- package/dist/light/components/popover.d.ts +50 -0
- package/dist/light/components/popover.d.ts.map +1 -0
- package/dist/light/components/popover.js +19 -0
- package/dist/light/semantic/overlay.d.ts +1 -1
- package/dist/light/semantic/overlay.d.ts.map +1 -1
- package/dist/light/semantic/overlay.js +2 -1
- package/dist/{semantic → primitives}/index.d.ts +1 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/{semantic → primitives}/index.js +1 -0
- package/dist/primitives/overlay.d.ts.map +1 -0
- package/dist/primitives/selection.d.ts.map +1 -0
- package/dist/{semantic → primitives}/selection.js +1 -1
- package/dist/tokens/typography.d.ts +7 -0
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/tokens/typography.js +7 -6
- package/package.json +1 -1
- package/dist/semantic/index.d.ts.map +0 -1
- package/dist/semantic/overlay.d.ts.map +0 -1
- package/dist/semantic/selection.d.ts.map +0 -1
- /package/dist/{semantic → primitives}/overlay.d.ts +0 -0
- /package/dist/{semantic → primitives}/overlay.js +0 -0
- /package/dist/{semantic → primitives}/selection.d.ts +0 -0
|
@@ -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;AAEpD,eAAO,MAAM,UAAU,6CAA8C,CAAC;AAEtE,eAAO,MAAM,eAAe,05EAqHlB,CAAC;AAEX,eAAO,MAAM,kBAAkB,ogNAyMrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,
|
|
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;AAEpD,eAAO,MAAM,UAAU,6CAA8C,C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,CAAC,CAAC,SAAS,MAAM,GACjB,MAAM,GACN,CAAC,CAAC,CAAC,CAAC,SAAS,OAAO,GAClB,OAAO,GACP,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC;CACf,CAAC;AAEF,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"}
|
|
@@ -1257,6 +1257,27 @@ export const componentTokenPaths = [
|
|
|
1257
1257
|
'components.modal.overlay.bg',
|
|
1258
1258
|
'components.modal.overlay.blur',
|
|
1259
1259
|
'components.modal.title.fg',
|
|
1260
|
+
'components.popover.arrow.bg',
|
|
1261
|
+
'components.popover.arrow.border',
|
|
1262
|
+
'components.popover.arrow.size',
|
|
1263
|
+
'components.popover.content.bg',
|
|
1264
|
+
'components.popover.content.border',
|
|
1265
|
+
'components.popover.content.borderWidth',
|
|
1266
|
+
'components.popover.content.fg',
|
|
1267
|
+
'components.popover.content.gap',
|
|
1268
|
+
'components.popover.content.maxWidth',
|
|
1269
|
+
'components.popover.content.minWidth',
|
|
1270
|
+
'components.popover.content.padding',
|
|
1271
|
+
'components.popover.content.radius',
|
|
1272
|
+
'components.popover.content.shadow.native.blur',
|
|
1273
|
+
'components.popover.content.shadow.native.color',
|
|
1274
|
+
'components.popover.content.shadow.native.elevation',
|
|
1275
|
+
'components.popover.content.shadow.native.opacity',
|
|
1276
|
+
'components.popover.content.shadow.native.x',
|
|
1277
|
+
'components.popover.content.shadow.native.y',
|
|
1278
|
+
'components.popover.content.shadow.web',
|
|
1279
|
+
'components.popover.description.fg',
|
|
1280
|
+
'components.popover.title.fg',
|
|
1260
1281
|
'components.radio.danger.default.bg',
|
|
1261
1282
|
'components.radio.danger.default.border',
|
|
1262
1283
|
'components.radio.danger.default.fg',
|
|
@@ -3366,6 +3387,27 @@ export const tokenPaths = [
|
|
|
3366
3387
|
'components.modal.overlay.bg',
|
|
3367
3388
|
'components.modal.overlay.blur',
|
|
3368
3389
|
'components.modal.title.fg',
|
|
3390
|
+
'components.popover.arrow.bg',
|
|
3391
|
+
'components.popover.arrow.border',
|
|
3392
|
+
'components.popover.arrow.size',
|
|
3393
|
+
'components.popover.content.bg',
|
|
3394
|
+
'components.popover.content.border',
|
|
3395
|
+
'components.popover.content.borderWidth',
|
|
3396
|
+
'components.popover.content.fg',
|
|
3397
|
+
'components.popover.content.gap',
|
|
3398
|
+
'components.popover.content.maxWidth',
|
|
3399
|
+
'components.popover.content.minWidth',
|
|
3400
|
+
'components.popover.content.padding',
|
|
3401
|
+
'components.popover.content.radius',
|
|
3402
|
+
'components.popover.content.shadow.native.blur',
|
|
3403
|
+
'components.popover.content.shadow.native.color',
|
|
3404
|
+
'components.popover.content.shadow.native.elevation',
|
|
3405
|
+
'components.popover.content.shadow.native.opacity',
|
|
3406
|
+
'components.popover.content.shadow.native.x',
|
|
3407
|
+
'components.popover.content.shadow.native.y',
|
|
3408
|
+
'components.popover.content.shadow.web',
|
|
3409
|
+
'components.popover.description.fg',
|
|
3410
|
+
'components.popover.title.fg',
|
|
3369
3411
|
'components.radio.danger.default.bg',
|
|
3370
3412
|
'components.radio.danger.default.border',
|
|
3371
3413
|
'components.radio.danger.default.fg',
|
|
@@ -5876,6 +5918,27 @@ export const themeCssVariableNames = [
|
|
|
5876
5918
|
'--overlay-tooltip-bg',
|
|
5877
5919
|
'--overlay-tooltip-border',
|
|
5878
5920
|
'--overlay-tooltip-fg',
|
|
5921
|
+
'--popover-arrow-bg',
|
|
5922
|
+
'--popover-arrow-border',
|
|
5923
|
+
'--popover-arrow-size',
|
|
5924
|
+
'--popover-content-bg',
|
|
5925
|
+
'--popover-content-border',
|
|
5926
|
+
'--popover-content-border-width',
|
|
5927
|
+
'--popover-content-fg',
|
|
5928
|
+
'--popover-content-gap',
|
|
5929
|
+
'--popover-content-max-width',
|
|
5930
|
+
'--popover-content-min-width',
|
|
5931
|
+
'--popover-content-padding',
|
|
5932
|
+
'--popover-content-radius',
|
|
5933
|
+
'--popover-content-shadow-native-blur',
|
|
5934
|
+
'--popover-content-shadow-native-color',
|
|
5935
|
+
'--popover-content-shadow-native-elevation',
|
|
5936
|
+
'--popover-content-shadow-native-opacity',
|
|
5937
|
+
'--popover-content-shadow-native-x',
|
|
5938
|
+
'--popover-content-shadow-native-y',
|
|
5939
|
+
'--popover-content-shadow-web',
|
|
5940
|
+
'--popover-description-fg',
|
|
5941
|
+
'--popover-title-fg',
|
|
5879
5942
|
'--radio-danger-default-bg',
|
|
5880
5943
|
'--radio-danger-default-border',
|
|
5881
5944
|
'--radio-danger-default-fg',
|
|
@@ -8142,6 +8205,27 @@ export const cssVariableNames = [
|
|
|
8142
8205
|
'--overlay-tooltip-bg',
|
|
8143
8206
|
'--overlay-tooltip-border',
|
|
8144
8207
|
'--overlay-tooltip-fg',
|
|
8208
|
+
'--popover-arrow-bg',
|
|
8209
|
+
'--popover-arrow-border',
|
|
8210
|
+
'--popover-arrow-size',
|
|
8211
|
+
'--popover-content-bg',
|
|
8212
|
+
'--popover-content-border',
|
|
8213
|
+
'--popover-content-border-width',
|
|
8214
|
+
'--popover-content-fg',
|
|
8215
|
+
'--popover-content-gap',
|
|
8216
|
+
'--popover-content-max-width',
|
|
8217
|
+
'--popover-content-min-width',
|
|
8218
|
+
'--popover-content-padding',
|
|
8219
|
+
'--popover-content-radius',
|
|
8220
|
+
'--popover-content-shadow-native-blur',
|
|
8221
|
+
'--popover-content-shadow-native-color',
|
|
8222
|
+
'--popover-content-shadow-native-elevation',
|
|
8223
|
+
'--popover-content-shadow-native-opacity',
|
|
8224
|
+
'--popover-content-shadow-native-x',
|
|
8225
|
+
'--popover-content-shadow-native-y',
|
|
8226
|
+
'--popover-content-shadow-web',
|
|
8227
|
+
'--popover-description-fg',
|
|
8228
|
+
'--popover-title-fg',
|
|
8145
8229
|
'--radio-danger-default-bg',
|
|
8146
8230
|
'--radio-danger-default-border',
|
|
8147
8231
|
'--radio-danger-default-fg',
|
|
@@ -5,6 +5,7 @@ export { dropdown } from './dropdown.js';
|
|
|
5
5
|
export { formField } from './formField.js';
|
|
6
6
|
export { input } from './input.js';
|
|
7
7
|
export { modal } from './modal.js';
|
|
8
|
+
export { popover } from './popover.js';
|
|
8
9
|
export { radio } from './radio.js';
|
|
9
10
|
export { radioGroup } from './radioGroup.js';
|
|
10
11
|
export { select } from './select.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -5,6 +5,7 @@ export { dropdown } from './dropdown.js';
|
|
|
5
5
|
export { formField } from './formField.js';
|
|
6
6
|
export { input } from './input.js';
|
|
7
7
|
export { modal } from './modal.js';
|
|
8
|
+
export { popover } from './popover.js';
|
|
8
9
|
export { radio } from './radio.js';
|
|
9
10
|
export { radioGroup } from './radioGroup.js';
|
|
10
11
|
export { select } from './select.js';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const popover: {
|
|
2
|
+
readonly content: {
|
|
3
|
+
readonly bg: string;
|
|
4
|
+
readonly fg: string;
|
|
5
|
+
readonly border: string;
|
|
6
|
+
readonly shadow: {
|
|
7
|
+
readonly web: string;
|
|
8
|
+
readonly native: {
|
|
9
|
+
readonly x: 0;
|
|
10
|
+
readonly y: 1;
|
|
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
|
+
};
|
|
31
|
+
readonly borderWidth: 1;
|
|
32
|
+
readonly radius: number;
|
|
33
|
+
readonly padding: number;
|
|
34
|
+
readonly gap: number;
|
|
35
|
+
readonly minWidth: 220;
|
|
36
|
+
readonly maxWidth: 320;
|
|
37
|
+
};
|
|
38
|
+
readonly title: {
|
|
39
|
+
readonly fg: string;
|
|
40
|
+
};
|
|
41
|
+
readonly description: {
|
|
42
|
+
readonly fg: string;
|
|
43
|
+
};
|
|
44
|
+
readonly arrow: {
|
|
45
|
+
readonly size: 10;
|
|
46
|
+
readonly bg: string;
|
|
47
|
+
readonly border: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/popover.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWlB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createPopoverTokens } from '../../factories/createPopoverTokens.js';
|
|
2
|
+
import { radius } from '../../tokens/radius.js';
|
|
3
|
+
import { shadows } from '../../tokens/shadows.js';
|
|
4
|
+
import { spacing } from '../../tokens/spacing.js';
|
|
5
|
+
import { overlay } from '../semantic/overlay.js';
|
|
6
|
+
import { shadow } from '../semantic/shadow.js';
|
|
7
|
+
import { text } from '../semantic/text.js';
|
|
8
|
+
export const popover = createPopoverTokens({
|
|
9
|
+
contentBg: overlay.popover.bg,
|
|
10
|
+
contentFg: text.primary,
|
|
11
|
+
contentBorder: overlay.popover.border,
|
|
12
|
+
contentWebShadow: shadow.lg,
|
|
13
|
+
contentNativeShadow: shadows.lg,
|
|
14
|
+
titleFg: text.primary,
|
|
15
|
+
descriptionFg: text.secondary,
|
|
16
|
+
radiusLg: radius.lg,
|
|
17
|
+
spacing3: spacing[3],
|
|
18
|
+
spacing4: spacing[4],
|
|
19
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/overlay.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/overlay.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAkBV,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { colors } from '../../primitives/colors.js';
|
|
2
|
+
import { overlay as primitiveOverlay } from '../../primitives/overlay.js';
|
|
2
3
|
import { border } from './border.js';
|
|
3
4
|
import { surface } from './surface.js';
|
|
4
5
|
export const overlay = {
|
|
5
|
-
backdrop:
|
|
6
|
+
backdrop: primitiveOverlay.backdrop,
|
|
6
7
|
tooltip: {
|
|
7
8
|
bg: colors.mono[50],
|
|
8
9
|
fg: colors.mono[950],
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ import { lightTheme } from './light/theme.js';
|
|
|
4
4
|
export { darkTheme, highContrastTheme, lightTheme };
|
|
5
5
|
export type { BaseCssVariableName, BaseTokenPath, ColorTokenPath, ComponentTokenPath, CssVariableName, DarkTheme, HighContrastTheme, LightTheme, SemanticTokenPath, ThemeCssVariableName, ThemeName, TokenPath, VelliraBaseTokens, VelliraColors, VelliraComponentTokens, VelliraSemanticTokens, VelliraTheme, WidenTokenValues, } from './generated/token-types.js';
|
|
6
6
|
export { baseCssVariableNames, baseTokenPaths, colorTokenPaths, componentTokenPaths, cssVariableNames, semanticTokenPaths, themeCssVariableNames, themeNames, tokenPaths, } from './generated/token-types.js';
|
|
7
|
-
export { overlay } from './
|
|
7
|
+
export { overlay } from './primitives/overlay.js';
|
|
8
|
+
export type { FontWeight } from './tokens/typography.js';
|
|
9
|
+
export { fontWeights } from './tokens/typography.js';
|
|
8
10
|
export declare const theme: {
|
|
9
11
|
readonly semantic: typeof import("./dark/semantic/index.js");
|
|
10
12
|
readonly components: typeof import("./dark/components/index.js");
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEpD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,sBA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;;;;;;;;;;;;;;;;;;;;;;;;CAIR,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,8 @@ import { highContrastTheme } from './highContrast/theme.js';
|
|
|
3
3
|
import { lightTheme } from './light/theme.js';
|
|
4
4
|
export { darkTheme, highContrastTheme, lightTheme };
|
|
5
5
|
export { baseCssVariableNames, baseTokenPaths, colorTokenPaths, componentTokenPaths, cssVariableNames, semanticTokenPaths, themeCssVariableNames, themeNames, tokenPaths, } from './generated/token-types.js';
|
|
6
|
-
export { overlay } from './
|
|
6
|
+
export { overlay } from './primitives/overlay.js';
|
|
7
|
+
export { fontWeights } from './tokens/typography.js';
|
|
7
8
|
export const theme = {
|
|
8
9
|
semantic: darkTheme.semantic,
|
|
9
10
|
components: darkTheme.components,
|
|
@@ -5,6 +5,7 @@ export { dropdown } from './dropdown.js';
|
|
|
5
5
|
export { formField } from './formField.js';
|
|
6
6
|
export { input } from './input.js';
|
|
7
7
|
export { modal } from './modal.js';
|
|
8
|
+
export { popover } from './popover.js';
|
|
8
9
|
export { radio } from './radio.js';
|
|
9
10
|
export { radioGroup } from './radioGroup.js';
|
|
10
11
|
export { select } from './select.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/light/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/light/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -5,6 +5,7 @@ export { dropdown } from './dropdown.js';
|
|
|
5
5
|
export { formField } from './formField.js';
|
|
6
6
|
export { input } from './input.js';
|
|
7
7
|
export { modal } from './modal.js';
|
|
8
|
+
export { popover } from './popover.js';
|
|
8
9
|
export { radio } from './radio.js';
|
|
9
10
|
export { radioGroup } from './radioGroup.js';
|
|
10
11
|
export { select } from './select.js';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const popover: {
|
|
2
|
+
readonly content: {
|
|
3
|
+
readonly bg: string;
|
|
4
|
+
readonly fg: string;
|
|
5
|
+
readonly border: string;
|
|
6
|
+
readonly shadow: {
|
|
7
|
+
readonly web: string;
|
|
8
|
+
readonly native: {
|
|
9
|
+
readonly x: 0;
|
|
10
|
+
readonly y: 1;
|
|
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
|
+
};
|
|
31
|
+
readonly borderWidth: 1;
|
|
32
|
+
readonly radius: number;
|
|
33
|
+
readonly padding: number;
|
|
34
|
+
readonly gap: number;
|
|
35
|
+
readonly minWidth: 220;
|
|
36
|
+
readonly maxWidth: 320;
|
|
37
|
+
};
|
|
38
|
+
readonly title: {
|
|
39
|
+
readonly fg: string;
|
|
40
|
+
};
|
|
41
|
+
readonly description: {
|
|
42
|
+
readonly fg: string;
|
|
43
|
+
};
|
|
44
|
+
readonly arrow: {
|
|
45
|
+
readonly size: 10;
|
|
46
|
+
readonly bg: string;
|
|
47
|
+
readonly border: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/light/components/popover.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWlB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createPopoverTokens } from '../../factories/createPopoverTokens.js';
|
|
2
|
+
import { radius } from '../../tokens/radius.js';
|
|
3
|
+
import { shadows } from '../../tokens/shadows.js';
|
|
4
|
+
import { spacing } from '../../tokens/spacing.js';
|
|
5
|
+
import { overlay } from '../semantic/overlay.js';
|
|
6
|
+
import { shadow } from '../semantic/shadow.js';
|
|
7
|
+
import { text } from '../semantic/text.js';
|
|
8
|
+
export const popover = createPopoverTokens({
|
|
9
|
+
contentBg: overlay.popover.bg,
|
|
10
|
+
contentFg: text.primary,
|
|
11
|
+
contentBorder: overlay.popover.border,
|
|
12
|
+
contentWebShadow: shadow.lg,
|
|
13
|
+
contentNativeShadow: shadows.lg,
|
|
14
|
+
titleFg: text.primary,
|
|
15
|
+
descriptionFg: text.secondary,
|
|
16
|
+
radiusLg: radius.lg,
|
|
17
|
+
spacing3: spacing[3],
|
|
18
|
+
spacing4: spacing[4],
|
|
19
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/light/semantic/overlay.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/light/semantic/overlay.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAkBV,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { colors } from '../../primitives/colors.js';
|
|
2
|
+
import { overlay as primitiveOverlay } from '../../primitives/overlay.js';
|
|
2
3
|
import { border } from './border.js';
|
|
3
4
|
import { surface } from './surface.js';
|
|
4
5
|
export const overlay = {
|
|
5
|
-
backdrop:
|
|
6
|
+
backdrop: primitiveOverlay.backdropLight,
|
|
6
7
|
tooltip: {
|
|
7
8
|
bg: surface.elevated,
|
|
8
9
|
fg: colors.vellira[700],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/primitives/overlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;CAGV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/primitives/selection.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;CAGZ,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export declare const fontWeights: {
|
|
2
|
+
readonly light: "200";
|
|
3
|
+
readonly regular: "400";
|
|
4
|
+
readonly medium: "500";
|
|
5
|
+
readonly semibold: "600";
|
|
6
|
+
};
|
|
7
|
+
export type FontWeight = (typeof fontWeights)[keyof typeof fontWeights];
|
|
1
8
|
export declare const typography: {
|
|
2
9
|
readonly family: {
|
|
3
10
|
readonly base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bb,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export const fontWeights = {
|
|
2
|
+
light: '200',
|
|
3
|
+
regular: '400',
|
|
4
|
+
medium: '500',
|
|
5
|
+
semibold: '600',
|
|
6
|
+
};
|
|
1
7
|
export const typography = {
|
|
2
8
|
family: {
|
|
3
9
|
base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
@@ -16,12 +22,7 @@ export const typography = {
|
|
|
16
22
|
xl: 24,
|
|
17
23
|
xxl: 32,
|
|
18
24
|
},
|
|
19
|
-
weight:
|
|
20
|
-
light: '200',
|
|
21
|
-
regular: '400',
|
|
22
|
-
medium: '500',
|
|
23
|
-
semibold: '600',
|
|
24
|
-
},
|
|
25
|
+
weight: fontWeights,
|
|
25
26
|
lineHeight: {
|
|
26
27
|
xs: 16,
|
|
27
28
|
sm: 20,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/semantic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/semantic/overlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;CAGV,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/semantic/selection.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;CAGZ,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|