@vellira-ui/tokens 2.100.0 → 2.101.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.
Files changed (58) hide show
  1. package/README.md +88 -39
  2. package/css.d.ts +1 -0
  3. package/dist/css/tokens.css +1 -0
  4. package/dist/dark/semantic/focus.d.ts +1 -1
  5. package/dist/dark/semantic/focus.d.ts.map +1 -1
  6. package/dist/dark/semantic/focus.js +2 -1
  7. package/dist/dark/semantic/shadow.d.ts +5 -5
  8. package/dist/dark/semantic/shadow.d.ts.map +1 -1
  9. package/dist/dark/semantic/shadow.js +2 -7
  10. package/dist/dark/theme.d.ts +25 -24
  11. package/dist/dark/theme.d.ts.map +1 -1
  12. package/dist/effects/shadow-system.d.ts +181 -0
  13. package/dist/effects/shadow-system.d.ts.map +1 -0
  14. package/dist/effects/shadow-system.js +134 -0
  15. package/dist/generated/token-types.d.ts +4 -4
  16. package/dist/generated/token-types.d.ts.map +1 -1
  17. package/dist/generated/token-types.js +4 -0
  18. package/dist/highContrast/semantic/focus.d.ts +1 -1
  19. package/dist/highContrast/semantic/focus.d.ts.map +1 -1
  20. package/dist/highContrast/semantic/focus.js +2 -1
  21. package/dist/highContrast/semantic/shadow.d.ts +5 -5
  22. package/dist/highContrast/semantic/shadow.d.ts.map +1 -1
  23. package/dist/highContrast/semantic/shadow.js +2 -7
  24. package/dist/highContrast/theme.d.ts +25 -24
  25. package/dist/highContrast/theme.d.ts.map +1 -1
  26. package/dist/index.d.ts +30 -24
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +5 -0
  29. package/dist/light/semantic/focus.d.ts +1 -1
  30. package/dist/light/semantic/focus.d.ts.map +1 -1
  31. package/dist/light/semantic/focus.js +2 -1
  32. package/dist/light/semantic/shadow.d.ts +5 -5
  33. package/dist/light/semantic/shadow.d.ts.map +1 -1
  34. package/dist/light/semantic/shadow.js +2 -7
  35. package/dist/light/theme.d.ts +25 -24
  36. package/dist/light/theme.d.ts.map +1 -1
  37. package/dist/platform-output/component-token-intents.d.ts +4 -20
  38. package/dist/platform-output/component-token-intents.d.ts.map +1 -1
  39. package/dist/platform-output/component-token-intents.js +12 -12
  40. package/dist/platform-output/component-token-web-compatibility.d.ts +44 -3
  41. package/dist/platform-output/component-token-web-compatibility.d.ts.map +1 -1
  42. package/dist/platform-output/component-token-web-compatibility.js +44 -3
  43. package/dist/preservation/token-migrations.d.ts +6 -0
  44. package/dist/preservation/token-migrations.d.ts.map +1 -1
  45. package/dist/preservation/token-migrations.js +8 -0
  46. package/dist/public-api-policy.d.ts +30 -0
  47. package/dist/public-api-policy.d.ts.map +1 -0
  48. package/dist/public-api-policy.js +26 -0
  49. package/dist/token-architecture.d.ts +3 -3
  50. package/dist/token-architecture.d.ts.map +1 -1
  51. package/dist/token-architecture.js +7 -2
  52. package/dist/tokens/shadows.d.ts +24 -24
  53. package/dist/tokens/shadows.d.ts.map +1 -1
  54. package/dist/tokens/shadows.js +2 -27
  55. package/dist/tokens/typography.d.ts +2 -0
  56. package/dist/tokens/typography.d.ts.map +1 -1
  57. package/dist/tokens/typography.js +1 -0
  58. package/package.json +6 -2
@@ -1,40 +1,81 @@
1
1
  /**
2
- * Legacy Web output identities retained by #884 only for compatibility.
2
+ * Legacy Web output identities retained for bounded compatibility.
3
3
  *
4
- * These paths are not canonical component tokens. They exist after the
5
- * renderer-neutral component boundary and are intentionally revisited by #889.
4
+ * These paths are not canonical component tokens. #889 makes their lifecycle
5
+ * explicit: they remain generated aliases during Vellira 2.x and are scheduled
6
+ * for removal in 3.0.0. New consumers must use the canonical replacement.
6
7
  */
7
8
  export const componentTokenWebCompatibilityAliases = [
8
9
  {
9
10
  path: 'components.modal.content.nativeMaxHeight',
10
11
  variable: '--modal-content-native-max-height',
12
+ replacementPath: 'components.modal.content.maxHeight',
13
+ replacementVariable: '--modal-content-max-height',
14
+ migrationId: '884-remove-components-modal-content-nativeMaxHeight',
15
+ issue: '#889',
16
+ removeIn: '3.0.0',
11
17
  },
12
18
  {
13
19
  path: 'components.popover.content.shadow.web',
14
20
  variable: '--popover-content-shadow-web',
21
+ replacementPath: 'components.popover.content.shadow',
22
+ replacementVariable: '--popover-content-shadow',
23
+ migrationId: '884-popover-shadow-web-to-canonical-intent',
24
+ issue: '#889',
25
+ removeIn: '3.0.0',
15
26
  },
16
27
  {
17
28
  path: 'components.popover.content.shadow.native.x',
18
29
  variable: '--popover-content-shadow-native-x',
30
+ replacementPath: 'components.popover.content.shadow',
31
+ replacementVariable: '--popover-content-shadow',
32
+ migrationId: '884-remove-components-popover-content-shadow-native-x',
33
+ issue: '#889',
34
+ removeIn: '3.0.0',
19
35
  },
20
36
  {
21
37
  path: 'components.popover.content.shadow.native.y',
22
38
  variable: '--popover-content-shadow-native-y',
39
+ replacementPath: 'components.popover.content.shadow',
40
+ replacementVariable: '--popover-content-shadow',
41
+ migrationId: '884-remove-components-popover-content-shadow-native-y',
42
+ issue: '#889',
43
+ removeIn: '3.0.0',
23
44
  },
24
45
  {
25
46
  path: 'components.popover.content.shadow.native.blur',
26
47
  variable: '--popover-content-shadow-native-blur',
48
+ replacementPath: 'components.popover.content.shadow',
49
+ replacementVariable: '--popover-content-shadow',
50
+ migrationId: '884-remove-components-popover-content-shadow-native-blur',
51
+ issue: '#889',
52
+ removeIn: '3.0.0',
27
53
  },
28
54
  {
29
55
  path: 'components.popover.content.shadow.native.color',
30
56
  variable: '--popover-content-shadow-native-color',
57
+ replacementPath: 'components.popover.content.shadow',
58
+ replacementVariable: '--popover-content-shadow',
59
+ migrationId: '884-remove-components-popover-content-shadow-native-color',
60
+ issue: '#889',
61
+ removeIn: '3.0.0',
31
62
  },
32
63
  {
33
64
  path: 'components.popover.content.shadow.native.opacity',
34
65
  variable: '--popover-content-shadow-native-opacity',
66
+ replacementPath: 'components.popover.content.shadow',
67
+ replacementVariable: '--popover-content-shadow',
68
+ migrationId: '884-remove-components-popover-content-shadow-native-opacity',
69
+ issue: '#889',
70
+ removeIn: '3.0.0',
35
71
  },
36
72
  {
37
73
  path: 'components.popover.content.shadow.native.elevation',
38
74
  variable: '--popover-content-shadow-native-elevation',
75
+ replacementPath: 'components.popover.content.shadow',
76
+ replacementVariable: '--popover-content-shadow',
77
+ migrationId: '884-remove-components-popover-content-shadow-native-elevation',
78
+ issue: '#889',
79
+ removeIn: '3.0.0',
39
80
  },
40
81
  ];
@@ -278,6 +278,12 @@ export declare const tokenMigrationManifestV1: ({
278
278
  readonly reason: "Expose the normalized Popover shadow path in Web platform output while retaining the old renderer-shaped CSS identities as compatibility aliases until #889.";
279
279
  readonly platforms: readonly ["web"];
280
280
  readonly to: "components.popover.content.shadow";
281
+ } | {
282
+ readonly id: "927-font-weight-bold-addition";
283
+ readonly kind: "addition";
284
+ readonly issue: "#927";
285
+ readonly reason: "Add the canonical 700 bold weight already represented by the VelliraSans-Bold family so first-party consumers do not need a raw value or local token alias.";
286
+ readonly to: "tokens.typography.weight.bold";
281
287
  } | {
282
288
  id: string;
283
289
  kind: "remove";
@@ -1 +1 @@
1
- {"version":3,"file":"token-migrations.d.ts","sourceRoot":"","sources":["../../src/preservation/token-migrations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAC9C,0CAAmD,CAAC;AAEtD,eAAO,MAAM,mBAAmB,8FAOtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,eAAO,MAAM,wBAAwB,6CAI3B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB,kCAAmC,CAAC;AAExE,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9E,KAAK,kBAAkB,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,IAAI,MAAM,EAAE,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GAAG;IACjC,KAAK,EAAE,iBAAiB,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC,sBAAsB,EAAE,GAAG,sBAAsB,EAAE,CAAC,CAAC;CAC3E,CAAC;AAEJ,MAAM,MAAM,4BAA4B,GACtC,qCAAqC,GAAG,oCAAoC,CAAC;AAE/E,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,GAAG;IAC5D,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,IAAI,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,sBAAsB,GACtB,4BAA4B,GAC5B,0BAA0B,CAAC;AAsgB/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2GK,CAAC"}
@@ -435,8 +435,16 @@ const platformNeutralPopoverWebAdditionV1 = {
435
435
  platforms: ['web'],
436
436
  to: 'components.popover.content.shadow',
437
437
  };
438
+ const boldFontWeightAdditionV1 = {
439
+ id: '927-font-weight-bold-addition',
440
+ kind: 'addition',
441
+ issue: '#927',
442
+ reason: 'Add the canonical 700 bold weight already represented by the VelliraSans-Bold family so first-party consumers do not need a raw value or local token alias.',
443
+ to: 'tokens.typography.weight.bold',
444
+ };
438
445
  export const tokenMigrationManifestV1 = [
439
446
  ...stateVocabularyRenameMigrationsV1,
447
+ boldFontWeightAdditionV1,
440
448
  ...platformNeutralComponentRepresentationMigrationsV1,
441
449
  ...platformNeutralLegacyCanonicalRemovalMigrationsV1,
442
450
  platformNeutralPopoverShadowMigrationV1,
@@ -0,0 +1,30 @@
1
+ export declare const tokenPublicApiDeprecationPolicyV1: {
2
+ readonly issue: "#889";
3
+ readonly removalRelease: "3.0.0";
4
+ readonly cssRootTheme: "light";
5
+ readonly rules: {
6
+ readonly namedThemes: "Public theme objects are named explicitly and their export names must agree with each runtime theme.name identity.";
7
+ readonly cssDefault: "Generated Web CSS uses Light for :root while the JavaScript package intentionally has no canonical implicit current/default theme export.";
8
+ readonly deprecatedExports: "A deprecated root export must preserve its existing runtime contract, carry a source @deprecated annotation, name a canonical replacement, and have machine-readable removal evidence.";
9
+ readonly deprecatedCssVariables: "A deprecated CSS variable remains platform-output compatibility only; it must not re-enter canonical TokenPath/ComponentTokenPath unions and must carry replacement/removal evidence.";
10
+ readonly removal: "Compatibility aliases introduced or retained during Token Architecture Normalization V1 are removed at the next major boundary, Vellira 3.0.0, unless a separately reviewed policy revision supersedes this contract.";
11
+ };
12
+ };
13
+ export declare const publicThemeContractsV1: readonly [{
14
+ readonly exportName: "lightTheme";
15
+ readonly themeName: "light";
16
+ }, {
17
+ readonly exportName: "darkTheme";
18
+ readonly themeName: "dark";
19
+ }, {
20
+ readonly exportName: "highContrastTheme";
21
+ readonly themeName: "high-contrast";
22
+ }];
23
+ export declare const legacyPublicExportAliasesV1: readonly [{
24
+ readonly exportName: "theme";
25
+ readonly replacementExport: "darkTheme";
26
+ readonly issue: "#889";
27
+ readonly removeIn: "3.0.0";
28
+ readonly reason: "The historical theme export is a partial hard-wired Dark theme and therefore cannot represent a default/current theme contract unambiguously.";
29
+ }];
30
+ //# sourceMappingURL=public-api-policy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api-policy.d.ts","sourceRoot":"","sources":["../src/public-api-policy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;;;CAgBpC,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;EAIzB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;EAS9B,CAAC"}
@@ -0,0 +1,26 @@
1
+ export const tokenPublicApiDeprecationPolicyV1 = {
2
+ issue: '#889',
3
+ removalRelease: '3.0.0',
4
+ cssRootTheme: 'light',
5
+ rules: {
6
+ namedThemes: 'Public theme objects are named explicitly and their export names must agree with each runtime theme.name identity.',
7
+ cssDefault: 'Generated Web CSS uses Light for :root while the JavaScript package intentionally has no canonical implicit current/default theme export.',
8
+ deprecatedExports: 'A deprecated root export must preserve its existing runtime contract, carry a source @deprecated annotation, name a canonical replacement, and have machine-readable removal evidence.',
9
+ deprecatedCssVariables: 'A deprecated CSS variable remains platform-output compatibility only; it must not re-enter canonical TokenPath/ComponentTokenPath unions and must carry replacement/removal evidence.',
10
+ removal: 'Compatibility aliases introduced or retained during Token Architecture Normalization V1 are removed at the next major boundary, Vellira 3.0.0, unless a separately reviewed policy revision supersedes this contract.',
11
+ },
12
+ };
13
+ export const publicThemeContractsV1 = [
14
+ { exportName: 'lightTheme', themeName: 'light' },
15
+ { exportName: 'darkTheme', themeName: 'dark' },
16
+ { exportName: 'highContrastTheme', themeName: 'high-contrast' },
17
+ ];
18
+ export const legacyPublicExportAliasesV1 = [
19
+ {
20
+ exportName: 'theme',
21
+ replacementExport: 'darkTheme',
22
+ issue: '#889',
23
+ removeIn: '3.0.0',
24
+ reason: 'The historical theme export is a partial hard-wired Dark theme and therefore cannot represent a default/current theme contract unambiguously.',
25
+ },
26
+ ];
@@ -189,8 +189,8 @@ export declare const semanticVocabularyV1: {
189
189
  readonly roles: readonly ["backdrop", "tooltip", "floating", "dialog"];
190
190
  };
191
191
  readonly shadow: {
192
- readonly purpose: "Semantic elevation references; renderer ownership is normalized separately.";
193
- readonly roles: readonly ["sm", "md", "lg", "xl"];
192
+ readonly purpose: "Semantic shadow references derived from the canonical structured #885 authority; Web strings are renderer output, not authored design values.";
193
+ readonly roles: readonly ["sm", "md", "lg", "xl", "inset"];
194
194
  };
195
195
  };
196
196
  export declare const canonicalTokenVocabulary: {
@@ -201,7 +201,7 @@ export declare const canonicalTokenVocabulary: {
201
201
  readonly intent: readonly ["primary", "accent", "neutral", "success", "warning", "danger"];
202
202
  readonly status: readonly ["success", "error", "warning", "info"];
203
203
  };
204
- export declare const canonicalSemanticRolePaths: readonly ["surface.canvas", "surface.default", "surface.panel", "surface.subtle", "surface.muted", "surface.elevated", "surface.hover", "surface.active", "surface.pressed", "surface.disabled", "surface.danger", "surface.inverse", "text.primary", "text.secondary", "text.muted", "text.subtle", "text.disabled", "text.brand", "text.interactive", "text.interactiveHover", "text.interactivePressed", "text.inverse", "icons.default", "icons.secondary", "icons.muted", "icons.subtle", "icons.disabled", "icons.interactive", "icons.brand", "icons.interactiveHover", "icons.success", "icons.danger", "icons.inverse", "border.subtle", "border.muted", "border.default", "border.strong", "border.elevated", "border.disabled", "border.interactive", "divider.muted", "divider.default", "divider.strong", "focus.ring.color", "focus.ring.width", "focus.ring.shadow", "focus.ring.offsetColor", "status.success.fg", "status.success.bg", "status.success.border", "status.success.ring", "status.success.emphasisFg", "status.error.fg", "status.error.bg", "status.error.border", "status.error.ring", "status.error.emphasisFg", "status.warning.fg", "status.warning.bg", "status.warning.border", "status.warning.ring", "status.warning.emphasisFg", "status.info.fg", "status.info.bg", "status.info.border", "status.info.ring", "status.info.emphasisFg", "overlay.backdrop", "overlay.tooltip.bg", "overlay.tooltip.fg", "overlay.tooltip.border", "overlay.floating.bg", "overlay.floating.border", "overlay.dialog.bg", "overlay.dialog.border"];
204
+ export declare const canonicalSemanticRolePaths: readonly ["surface.canvas", "surface.default", "surface.panel", "surface.subtle", "surface.muted", "surface.elevated", "surface.hover", "surface.active", "surface.pressed", "surface.disabled", "surface.danger", "surface.inverse", "text.primary", "text.secondary", "text.muted", "text.subtle", "text.disabled", "text.brand", "text.interactive", "text.interactiveHover", "text.interactivePressed", "text.inverse", "icons.default", "icons.secondary", "icons.muted", "icons.subtle", "icons.disabled", "icons.interactive", "icons.brand", "icons.interactiveHover", "icons.success", "icons.danger", "icons.inverse", "border.subtle", "border.muted", "border.default", "border.strong", "border.elevated", "border.disabled", "border.interactive", "divider.muted", "divider.default", "divider.strong", "focus.ring.color", "focus.ring.width", "focus.ring.shadow", "focus.ring.offsetColor", "status.success.fg", "status.success.bg", "status.success.border", "status.success.ring", "status.success.emphasisFg", "status.error.fg", "status.error.bg", "status.error.border", "status.error.ring", "status.error.emphasisFg", "status.warning.fg", "status.warning.bg", "status.warning.border", "status.warning.ring", "status.warning.emphasisFg", "status.info.fg", "status.info.bg", "status.info.border", "status.info.ring", "status.info.emphasisFg", "overlay.backdrop", "overlay.tooltip.bg", "overlay.tooltip.fg", "overlay.tooltip.border", "overlay.floating.bg", "overlay.floating.border", "overlay.dialog.bg", "overlay.dialog.border", "shadow.sm", "shadow.md", "shadow.lg", "shadow.xl", "shadow.inset"];
205
205
  export declare const componentTokenFactoryModel: {
206
206
  readonly canonicalName: "create<Component>Tokens";
207
207
  readonly legacyPaletteName: "create<Component>Palette is retained when the component exposes intent palettes.";
@@ -1 +1 @@
1
- {"version":3,"file":"token-architecture.d.ts","sourceRoot":"","sources":["../src/token-architecture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,uBAAuB,qGAO1B,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAChC,wFAAiG,CAAC;AAEpG,eAAO,MAAM,eAAe,wLAelB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBrC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;CA2BqB,CAAC;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389
  },
390
390
  shadow: {
391
- purpose: 'Semantic elevation references; renderer ownership is normalized separately.',
392
- roles: ['sm', 'md', 'lg', 'xl'],
391
+ purpose: 'Semantic shadow references derived from the canonical structured #885 authority; Web strings are renderer output, not authored design values.',
392
+ roles: ['sm', 'md', 'lg', 'xl', 'inset'],
393
393
  },
394
394
  };
395
395
  export const canonicalTokenVocabulary = {
@@ -516,6 +516,11 @@ export const canonicalSemanticRolePaths = [
516
516
  'overlay.floating.border',
517
517
  'overlay.dialog.bg',
518
518
  'overlay.dialog.border',
519
+ 'shadow.sm',
520
+ 'shadow.md',
521
+ 'shadow.lg',
522
+ 'shadow.xl',
523
+ 'shadow.inset',
519
524
  ];
520
525
  export const componentTokenFactoryModel = {
521
526
  canonicalName: 'create<Component>Tokens',
@@ -1,27 +1,27 @@
1
1
  export declare const shadows: {
2
- readonly sm: {
3
- readonly x: 0;
4
- readonly y: 1;
5
- readonly blur: 3;
6
- readonly color: "#000000";
7
- readonly opacity: 0.04;
8
- readonly elevation: 1;
9
- };
10
- readonly md: {
11
- readonly x: 0;
12
- readonly y: 6;
13
- readonly blur: 16;
14
- readonly color: "#000000";
15
- readonly opacity: 0.08;
16
- readonly elevation: 4;
17
- };
18
- readonly lg: {
19
- readonly x: 0;
20
- readonly y: 12;
21
- readonly blur: 32;
22
- readonly color: "#000000";
23
- readonly opacity: 0.1;
24
- readonly elevation: 8;
25
- };
2
+ readonly sm: Readonly<{
3
+ x: number;
4
+ y: number;
5
+ blur: number;
6
+ color: string;
7
+ opacity: number;
8
+ elevation: number;
9
+ }>;
10
+ readonly md: Readonly<{
11
+ x: number;
12
+ y: number;
13
+ blur: number;
14
+ color: string;
15
+ opacity: number;
16
+ elevation: number;
17
+ }>;
18
+ readonly lg: Readonly<{
19
+ x: number;
20
+ y: number;
21
+ blur: number;
22
+ color: string;
23
+ opacity: number;
24
+ elevation: number;
25
+ }>;
26
26
  };
27
27
  //# sourceMappingURL=shadows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/tokens/shadows.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;CA2BV,CAAC"}
1
+ {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/tokens/shadows.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC"}
@@ -1,27 +1,2 @@
1
- import { colors } from '../primitives/colors.js';
2
- export const shadows = {
3
- sm: {
4
- x: 0,
5
- y: 1,
6
- blur: 3,
7
- color: colors.mono[950],
8
- opacity: 0.04,
9
- elevation: 1,
10
- },
11
- md: {
12
- x: 0,
13
- y: 6,
14
- blur: 16,
15
- color: colors.mono[950],
16
- opacity: 0.08,
17
- elevation: 4,
18
- },
19
- lg: {
20
- x: 0,
21
- y: 12,
22
- blur: 32,
23
- color: colors.mono[950],
24
- opacity: 0.1,
25
- elevation: 8,
26
- },
27
- };
1
+ import { createReactNativeShadowTokens } from '../effects/shadow-system.js';
2
+ export const shadows = createReactNativeShadowTokens();
@@ -3,6 +3,7 @@ export declare const fontWeights: {
3
3
  readonly regular: "400";
4
4
  readonly medium: "500";
5
5
  readonly semibold: "600";
6
+ readonly bold: "700";
6
7
  };
7
8
  export type FontWeight = (typeof fontWeights)[keyof typeof fontWeights];
8
9
  export declare const typography: {
@@ -28,6 +29,7 @@ export declare const typography: {
28
29
  readonly regular: "400";
29
30
  readonly medium: "500";
30
31
  readonly semibold: "600";
32
+ readonly bold: "700";
31
33
  };
32
34
  readonly lineHeight: {
33
35
  readonly xs: 16;
@@ -1 +1 @@
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
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bb,CAAC"}
@@ -3,6 +3,7 @@ export const fontWeights = {
3
3
  regular: '400',
4
4
  medium: '500',
5
5
  semibold: '600',
6
+ bold: '700',
6
7
  };
7
8
  export const typography = {
8
9
  family: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellira-ui/tokens",
3
- "version": "2.100.0",
3
+ "version": "2.101.0",
4
4
  "description": "Design tokens for Vellira Design System",
5
5
  "keywords": [
6
6
  "vellira",
@@ -40,10 +40,14 @@
40
40
  "types": "./dist/index.d.ts",
41
41
  "import": "./dist/index.js"
42
42
  },
43
- "./css": "./dist/css/tokens.css"
43
+ "./css": {
44
+ "types": "./css.d.ts",
45
+ "default": "./dist/css/tokens.css"
46
+ }
44
47
  },
45
48
  "files": [
46
49
  "dist",
50
+ "css.d.ts",
47
51
  "README.md",
48
52
  "LICENSE"
49
53
  ],