@arbor-css/core 0.0.110 → 0.0.111

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 (80) hide show
  1. package/dist/getStructuredTokensMap.test.js +1 -1
  2. package/dist/getStructuredTokensMap.test.js.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +1 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/presets/arborPreset/modeSchema/global.d.ts +119 -31
  8. package/dist/presets/arborPreset/modeSchema/global.d.ts.map +1 -1
  9. package/dist/presets/arborPreset/modeSchema/global.js +117 -31
  10. package/dist/presets/arborPreset/modeSchema/global.js.map +1 -1
  11. package/dist/presets/arborPreset/modeSchema/intents/action.d.ts +3 -3
  12. package/dist/presets/arborPreset/modeSchema/intents/common.d.ts +1 -1
  13. package/dist/presets/arborPreset/modeSchema/intents/common.js +1 -1
  14. package/dist/presets/arborPreset/modeSchema/intents/common.js.map +1 -1
  15. package/dist/presets/arborPreset/modeSchema/intents/control.d.ts +1 -1
  16. package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts +3 -3
  17. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts +124 -38
  18. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts.map +1 -1
  19. package/dist/presets/arborPreset/modeValues/color/compile.d.ts +3 -7
  20. package/dist/presets/arborPreset/modeValues/color/compile.d.ts.map +1 -1
  21. package/dist/presets/arborPreset/modeValues/color/compile.js +3 -3
  22. package/dist/presets/arborPreset/modeValues/color/compile.js.map +1 -1
  23. package/dist/presets/arborPreset/modeValues/color/compile.test.js +1 -1
  24. package/dist/presets/arborPreset/modeValues/color/compile.test.js.map +1 -1
  25. package/dist/presets/arborPreset/modeValues/intents.d.ts.map +1 -1
  26. package/dist/presets/arborPreset/modeValues/intents.js +6 -6
  27. package/dist/presets/arborPreset/modeValues/intents.js.map +1 -1
  28. package/dist/presets/arborPreset/modeValues/semantics.d.ts.map +1 -1
  29. package/dist/presets/arborPreset/modeValues/semantics.js +13 -13
  30. package/dist/presets/arborPreset/modeValues/semantics.js.map +1 -1
  31. package/dist/presets/arborPreset/modeValues/shadow/index.d.ts +2 -9
  32. package/dist/presets/arborPreset/modeValues/shadow/index.d.ts.map +1 -1
  33. package/dist/presets/arborPreset/modeValues/shadow/index.js +4 -4
  34. package/dist/presets/arborPreset/modeValues/shadow/index.js.map +1 -1
  35. package/dist/presets/arborPreset/modeValues/spacing/index.d.ts +3 -20
  36. package/dist/presets/arborPreset/modeValues/spacing/index.d.ts.map +1 -1
  37. package/dist/presets/arborPreset/modeValues/spacing/index.js +1 -1
  38. package/dist/presets/arborPreset/modeValues/spacing/index.js.map +1 -1
  39. package/dist/presets/arborPreset/modeValues/typography/index.d.ts +4 -36
  40. package/dist/presets/arborPreset/modeValues/typography/index.d.ts.map +1 -1
  41. package/dist/presets/arborPreset/modeValues/typography/index.js +5 -5
  42. package/dist/presets/arborPreset/modeValues/typography/index.js.map +1 -1
  43. package/dist/presets/arborPreset/preset.d.ts +217 -42
  44. package/dist/presets/arborPreset/preset.d.ts.map +1 -1
  45. package/dist/presets/arborPreset/preset.js +43 -13
  46. package/dist/presets/arborPreset/preset.js.map +1 -1
  47. package/dist/presets/basicPreset/commonFunctions.js +1 -1
  48. package/dist/presets/basicPreset/commonFunctions.js.map +1 -1
  49. package/dist/presets/basicPreset/mixins.d.ts.map +1 -1
  50. package/dist/presets/basicPreset/preset.d.ts.map +1 -1
  51. package/dist/runtime/components/ColorSwatch.d.ts.map +1 -1
  52. package/dist/runtime/components/ColorSwatch.js +3 -0
  53. package/dist/runtime/components/ColorSwatch.js.map +1 -1
  54. package/dist/runtime/components/FunctionsList.js +1 -1
  55. package/dist/runtime/components/MixinsList.js +1 -1
  56. package/dist/runtime/components/ModeGraph.d.ts.map +1 -1
  57. package/dist/runtime/components/ModeGraph.js +20 -13
  58. package/dist/runtime/components/ModeGraph.js.map +1 -1
  59. package/dist/runtime/components/SystemDemo.d.ts +2 -0
  60. package/dist/runtime/components/SystemDemo.d.ts.map +1 -0
  61. package/dist/runtime/components/SystemDemo.js +32 -0
  62. package/dist/runtime/components/SystemDemo.js.map +1 -0
  63. package/dist/runtime/components/index.d.ts.map +1 -1
  64. package/dist/runtime/components/index.js +2 -0
  65. package/dist/runtime/components/index.js.map +1 -1
  66. package/dist/runtime/tokenGroups.d.ts.map +1 -1
  67. package/dist/stylesheet/generateStylesheet.test.js +3 -3
  68. package/dist/stylesheet/generateStylesheet.test.js.map +1 -1
  69. package/dist/util/buildModeTokenGraph.test.js +2 -2
  70. package/dist/util/buildModeTokenGraph.test.js.map +1 -1
  71. package/dist/util/flattenAndApplyTokenValues.d.ts +2 -1
  72. package/dist/util/flattenAndApplyTokenValues.d.ts.map +1 -1
  73. package/dist/util/flattenAndApplyTokenValues.js.map +1 -1
  74. package/dist/util/resolveComputedTokenValue.test.js +6 -6
  75. package/dist/util/resolveComputedTokenValue.test.js.map +1 -1
  76. package/package.json +8 -8
  77. package/dist/util/printTokens.d.ts +0 -5
  78. package/dist/util/printTokens.d.ts.map +0 -1
  79. package/dist/util/printTokens.js +0 -6
  80. package/dist/util/printTokens.js.map +0 -1
@@ -34,6 +34,6 @@ it('applies descriptions to all built-in system and global tokens', () => {
34
34
  });
35
35
  const tokens = tokenSchemaToList(preset.$.system);
36
36
  expect(tokens.every((token) => typeof token.description === 'string' && token.description.length > 0)).toBe(true);
37
- expect(preset.$.mode.global.baseFontSize.description).toBeDefined();
37
+ expect(preset.$.mode.global.typography.baseFontSize.description).toBeDefined();
38
38
  });
39
39
  //# sourceMappingURL=getStructuredTokensMap.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getStructuredTokensMap.test.js","sourceRoot":"","sources":["../src/getStructuredTokensMap.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,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AE;IACxE,MAAM,MAAM,GAAG,WAAW,CAAC;QAC1B,KAAK,EAAE;YACN,MAAM,EAAE;gBACP,KAAK,EAAE;oBACN,GAAG,EAAE,EAAE;iBACP;aACD;YACD,SAAS,EAAE,OAAO;SAClB;KACD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAElD,MAAM,CACL,MAAM,CAAC,KAAK,CACX,CAAC,KAAK,EAAE,EAAE,CACT,OAAO,KAAK,CAAC,WAAW,KAAK,QAAQ,IAAI,KAAK,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CACtE,CACD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,CAAC;AACrE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getStructuredTokensMap.test.js","sourceRoot":"","sources":["../src/getStructuredTokensMap.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,EAAE,CAAC,0EAA0E,EAAE,GAAG,EAAE;IACnF,MAAM,MAAM,GAAG,WAAW,CAAC;QAC1B,KAAK,EAAE;YACN,MAAM,EAAE;gBACP,KAAK,EAAE;oBACN,GAAG,EAAE,EAAE;iBACP;aACD;YACD,SAAS,EAAE,OAAO;SAClB;KACD,CAAC,CAAC;IACH,MAAM,GAAG,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAE3C,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CA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IACb,MAAM,CACL,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,WAAW,CACxD,CAAC,WAAW,EAAE,CAAC;AACjB,CAAC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -10,5 +10,6 @@ export * from './getStructuredTokensMap.js';
10
10
  export { resolveCss } from './publicResolve.js';
11
11
  export { generateStylesheet } from './stylesheet/generateStylesheet.js';
12
12
  export { buildModeTokenGraph, walkModeTokenGraph, } from './util/buildModeTokenGraph.js';
13
+ export { flattenAndApplyTokenValues } from './util/flattenAndApplyTokenValues.js';
13
14
  export { resolveComputedTokenValue } from './util/resolveComputedTokenValue.js';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACN,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACN,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACN,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACN,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC"}
package/dist/index.js CHANGED
@@ -9,5 +9,6 @@ export * from './getStructuredTokensMap.js';
9
9
  export { resolveCss } from './publicResolve.js';
10
10
  export { generateStylesheet } from './stylesheet/generateStylesheet.js';
11
11
  export { buildModeTokenGraph, walkModeTokenGraph, } from './util/buildModeTokenGraph.js';
12
+ export { flattenAndApplyTokenValues } from './util/flattenAndApplyTokenValues.js';
12
13
  export { resolveComputedTokenValue } from './util/resolveComputedTokenValue.js';
13
14
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACN,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,GAGxB,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACN,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACN,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,GAGxB,MAAM,oBAAoB,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACN,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC"}
@@ -1,39 +1,127 @@
1
+ import { SimpleTokensAsTokenDefinitions } from '@arbor-css/tokens';
1
2
  export declare const global: {
2
- density: {
3
- purpose: "scalar";
4
- description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
3
+ color: {
4
+ saturation: {
5
+ purpose: "scalar";
6
+ description: "Applies global saturation adjustments to all colors";
7
+ };
5
8
  };
6
- saturation: {
7
- purpose: "scalar";
8
- description: "Applies global saturation adjustments to all colors";
9
+ spacing: {
10
+ density: {
11
+ purpose: "scalar";
12
+ description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
13
+ };
14
+ baseSize: {
15
+ purpose: "spacing";
16
+ description: "Defines the base spacing unit used to derive spacing and layout tokens.";
17
+ };
18
+ scaleBase: {
19
+ purpose: "scalar";
20
+ description: "The \"base\" number of the scale equation - a linear scalar multiplier. Set this to scale by some linear factor if scaleExponent is \"1\"";
21
+ };
22
+ scaleExponentStep: {
23
+ purpose: "scalar";
24
+ description: "The exponent of the scale equation - the rate of exponential growth. `scaleBase` is raised to this exponent before being multiplied by the base spacing size. Set this to \"1\" to scale linearly by the `scaleBase` factor, or set it to a value greater than \"1\" to have exponential growth.";
25
+ };
9
26
  };
10
- roundness: {
11
- purpose: "scalar";
12
- description: "Controls the roundness of corners. Larger roundness values also may affect padding.";
27
+ shape: {
28
+ roundness: {
29
+ purpose: "scalar";
30
+ description: "Controls the roundness of corners. Larger roundness values also may affect padding.";
31
+ };
32
+ lineWidth: {
33
+ purpose: "scalar";
34
+ description: "Controls the width of lines used for borders, etc.";
35
+ };
13
36
  };
14
- shadowSpread: {
15
- purpose: "scalar";
16
- description: "Controls the spread size of all shadows.";
37
+ shadow: {
38
+ spread: {
39
+ purpose: "scalar";
40
+ description: "Controls the spread size of all shadows.";
41
+ };
42
+ blur: {
43
+ purpose: "scalar";
44
+ description: "Controls the blur scaling of all shadows.";
45
+ };
46
+ color: {
47
+ purpose: "color";
48
+ description: "Provides the default shadow color used when a shadow token does not supply its own color.";
49
+ };
17
50
  };
18
- shadowBlur: {
19
- purpose: "scalar";
20
- description: "Controls the blur scaling of all shadows.";
21
- };
22
- lineWidth: {
23
- purpose: "scalar";
24
- description: "Controls the width of lines used for borders, etc.";
25
- };
26
- baseFontSize: {
27
- purpose: "font-size";
28
- description: "Defines the root font size used to derive typography tokens.";
29
- };
30
- baseSpacingSize: {
31
- purpose: "spacing";
32
- description: "Defines the base spacing unit used to derive spacing and layout tokens.";
33
- };
34
- defaultShadowColor: {
35
- purpose: "color";
36
- description: "Provides the default shadow color used when a shadow token does not supply its own color.";
51
+ typography: {
52
+ baseFontSize: {
53
+ purpose: "font-size";
54
+ description: "Defines the root font size used to derive typography tokens.";
55
+ };
56
+ weightStep: {
57
+ purpose: "scalar";
58
+ description: "The amount of font weight change between each typography level. This is multiplied by the level index to determine how much to adjust font weight at each level.";
59
+ };
60
+ minWeight: {
61
+ purpose: "scalar";
62
+ description: "The minimum font weight to use in the typography scale.";
63
+ };
64
+ maxWeight: {
65
+ purpose: "scalar";
66
+ description: "The maximum font weight to use in the typography scale.";
67
+ };
68
+ baseWeight: {
69
+ purpose: "scalar";
70
+ description: "The base font weight from which to calculate typography levels. This is typically the \"normal\" font weight (e.g. 400), and level adjustments are applied as positive or negative offsets from this base.";
71
+ };
72
+ lineHeightStep: {
73
+ purpose: "scalar";
74
+ description: "The amount of line height change between each typography level. This is multiplied by the level index to determine how much to adjust line height at each level.";
75
+ };
76
+ minLineHeight: {
77
+ purpose: "scalar";
78
+ description: "The minimum line height to use in the typography scale.";
79
+ };
80
+ maxLineHeight: {
81
+ purpose: "scalar";
82
+ description: "The maximum line height to use in the typography scale.";
83
+ };
84
+ baseLineHeight: {
85
+ purpose: "scalar";
86
+ description: "The base line height from which to calculate typography levels. This is typically the line height used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.";
87
+ };
88
+ minFontSize: {
89
+ purpose: "font-size";
90
+ description: "The minimum font size to use in the typography scale.";
91
+ };
92
+ maxFontSize: {
93
+ purpose: "font-size";
94
+ description: "The maximum font size to use in the typography scale.";
95
+ };
96
+ fontSizeScaleBase: {
97
+ purpose: "scalar";
98
+ description: "The \"base\" number of the font size scale equation - a linear scalar multiplier. Set this to scale by some linear factor if sizeExponent is \"1\"";
99
+ };
100
+ fontSizeScaleExponentStep: {
101
+ purpose: "scalar";
102
+ description: "The exponent of the font size scale equation - the rate of exponential growth. `fontSizeScaleBase` is raised to this exponent before being multiplied by the base font size. Set this to \"1\" to scale linearly by the `fontSizeScaleBase` factor, or set it to a value greater than \"1\" to have exponential growth.";
103
+ };
104
+ letterSpacingStep: {
105
+ purpose: "scalar";
106
+ description: "The amount of letter spacing change between each typography level. This is multiplied by the level index to determine how much to adjust letter spacing at each level.";
107
+ };
108
+ minLetterSpacing: {
109
+ purpose: "spacing";
110
+ description: "The minimum letter spacing to use in the typography scale.";
111
+ };
112
+ maxLetterSpacing: {
113
+ purpose: "spacing";
114
+ description: "The maximum letter spacing to use in the typography scale.";
115
+ };
116
+ baseLetterSpacing: {
117
+ purpose: "spacing";
118
+ description: "The base letter spacing from which to calculate typography levels. This is typically the letter spacing used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.";
119
+ };
120
+ darkModeWeightAdjustment: {
121
+ purpose: "scalar";
122
+ description: "An adjustment applied to font weight when in dark mode to compensate for the irradiation illusion. This is typically a negative value to reduce font weight in dark mode, but it can be positive if your theme has very light text and you want to increase weight in dark mode.";
123
+ };
37
124
  };
38
125
  };
126
+ export type ArborModeGlobalTokens = SimpleTokensAsTokenDefinitions<typeof global>;
39
127
  //# sourceMappingURL=global.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCjB,CAAC"}
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2IjB,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CACjE,OAAO,MAAM,CACb,CAAC"}
@@ -1,40 +1,126 @@
1
1
  import { createModeSchema } from '@arbor-css/modes';
2
2
  export const global = createModeSchema({
3
- density: {
4
- purpose: 'scalar',
5
- description: 'A scaling factor for density. Higher density means smaller, tighter spacing and size',
3
+ color: {
4
+ saturation: {
5
+ purpose: 'scalar',
6
+ description: 'Applies global saturation adjustments to all colors',
7
+ },
6
8
  },
7
- saturation: {
8
- purpose: 'scalar',
9
- description: 'Applies global saturation adjustments to all colors',
9
+ spacing: {
10
+ density: {
11
+ purpose: 'scalar',
12
+ description: 'A scaling factor for density. Higher density means smaller, tighter spacing and size',
13
+ },
14
+ baseSize: {
15
+ purpose: 'spacing',
16
+ description: 'Defines the base spacing unit used to derive spacing and layout tokens.',
17
+ },
18
+ scaleBase: {
19
+ purpose: 'scalar',
20
+ description: 'The "base" number of the scale equation - a linear scalar multiplier. Set this to scale by some linear factor if scaleExponent is "1"',
21
+ },
22
+ scaleExponentStep: {
23
+ purpose: 'scalar',
24
+ description: 'The exponent of the scale equation - the rate of exponential growth. `scaleBase` is raised to this exponent before being multiplied by the base spacing size. Set this to "1" to scale linearly by the `scaleBase` factor, or set it to a value greater than "1" to have exponential growth.',
25
+ },
10
26
  },
11
- roundness: {
12
- purpose: 'scalar',
13
- description: 'Controls the roundness of corners. Larger roundness values also may affect padding.',
27
+ shape: {
28
+ roundness: {
29
+ purpose: 'scalar',
30
+ description: 'Controls the roundness of corners. Larger roundness values also may affect padding.',
31
+ },
32
+ lineWidth: {
33
+ purpose: 'scalar',
34
+ description: 'Controls the width of lines used for borders, etc.',
35
+ },
14
36
  },
15
- shadowSpread: {
16
- purpose: 'scalar',
17
- description: 'Controls the spread size of all shadows.',
37
+ shadow: {
38
+ spread: {
39
+ purpose: 'scalar',
40
+ description: 'Controls the spread size of all shadows.',
41
+ },
42
+ blur: {
43
+ purpose: 'scalar',
44
+ description: 'Controls the blur scaling of all shadows.',
45
+ },
46
+ color: {
47
+ purpose: 'color',
48
+ description: 'Provides the default shadow color used when a shadow token does not supply its own color.',
49
+ },
18
50
  },
19
- shadowBlur: {
20
- purpose: 'scalar',
21
- description: 'Controls the blur scaling of all shadows.',
22
- },
23
- lineWidth: {
24
- purpose: 'scalar',
25
- description: 'Controls the width of lines used for borders, etc.',
26
- },
27
- baseFontSize: {
28
- purpose: 'font-size',
29
- description: 'Defines the root font size used to derive typography tokens.',
30
- },
31
- baseSpacingSize: {
32
- purpose: 'spacing',
33
- description: 'Defines the base spacing unit used to derive spacing and layout tokens.',
34
- },
35
- defaultShadowColor: {
36
- purpose: 'color',
37
- description: 'Provides the default shadow color used when a shadow token does not supply its own color.',
51
+ typography: {
52
+ baseFontSize: {
53
+ purpose: 'font-size',
54
+ description: 'Defines the root font size used to derive typography tokens.',
55
+ },
56
+ weightStep: {
57
+ purpose: 'scalar',
58
+ description: 'The amount of font weight change between each typography level. This is multiplied by the level index to determine how much to adjust font weight at each level.',
59
+ },
60
+ minWeight: {
61
+ purpose: 'scalar',
62
+ description: 'The minimum font weight to use in the typography scale.',
63
+ },
64
+ maxWeight: {
65
+ purpose: 'scalar',
66
+ description: 'The maximum font weight to use in the typography scale.',
67
+ },
68
+ baseWeight: {
69
+ purpose: 'scalar',
70
+ description: 'The base font weight from which to calculate typography levels. This is typically the "normal" font weight (e.g. 400), and level adjustments are applied as positive or negative offsets from this base.',
71
+ },
72
+ lineHeightStep: {
73
+ purpose: 'scalar',
74
+ description: 'The amount of line height change between each typography level. This is multiplied by the level index to determine how much to adjust line height at each level.',
75
+ },
76
+ minLineHeight: {
77
+ purpose: 'scalar',
78
+ description: 'The minimum line height to use in the typography scale.',
79
+ },
80
+ maxLineHeight: {
81
+ purpose: 'scalar',
82
+ description: 'The maximum line height to use in the typography scale.',
83
+ },
84
+ baseLineHeight: {
85
+ purpose: 'scalar',
86
+ description: 'The base line height from which to calculate typography levels. This is typically the line height used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.',
87
+ },
88
+ minFontSize: {
89
+ purpose: 'font-size',
90
+ description: 'The minimum font size to use in the typography scale.',
91
+ },
92
+ maxFontSize: {
93
+ purpose: 'font-size',
94
+ description: 'The maximum font size to use in the typography scale.',
95
+ },
96
+ fontSizeScaleBase: {
97
+ purpose: 'scalar',
98
+ description: 'The "base" number of the font size scale equation - a linear scalar multiplier. Set this to scale by some linear factor if sizeExponent is "1"',
99
+ },
100
+ fontSizeScaleExponentStep: {
101
+ purpose: 'scalar',
102
+ description: 'The exponent of the font size scale equation - the rate of exponential growth. `fontSizeScaleBase` is raised to this exponent before being multiplied by the base font size. Set this to "1" to scale linearly by the `fontSizeScaleBase` factor, or set it to a value greater than "1" to have exponential growth.',
103
+ },
104
+ letterSpacingStep: {
105
+ purpose: 'scalar',
106
+ description: 'The amount of letter spacing change between each typography level. This is multiplied by the level index to determine how much to adjust letter spacing at each level.',
107
+ },
108
+ minLetterSpacing: {
109
+ purpose: 'spacing',
110
+ description: 'The minimum letter spacing to use in the typography scale.',
111
+ },
112
+ maxLetterSpacing: {
113
+ purpose: 'spacing',
114
+ description: 'The maximum letter spacing to use in the typography scale.',
115
+ },
116
+ baseLetterSpacing: {
117
+ purpose: 'spacing',
118
+ description: 'The base letter spacing from which to calculate typography levels. This is typically the letter spacing used at the default typography level, and level adjustments are applied as positive or negative offsets from this base.',
119
+ },
120
+ darkModeWeightAdjustment: {
121
+ purpose: 'scalar',
122
+ description: 'An adjustment applied to font weight when in dark mode to compensate for the irradiation illusion. This is typically a negative value to reduce font weight in dark mode, but it can be positive if your theme has very light text and you want to increase weight in dark mode.',
123
+ },
38
124
  },
39
125
  });
40
126
  //# sourceMappingURL=global.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,MAAM,GAAG,gBAAgB,CAAC;IACtC,OAAO,EAAE;QACR,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,sFAAsF;KACvF;IACD,UAAU,EAAE;QACX,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,qDAAqD;KAClE;IACD,SAAS,EAAE;QACV,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,qFAAqF;KACtF;IACD,YAAY,EAAE;QACb,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,0CAA0C;KACvD;IACD,UAAU,EAAE;QACX,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,2CAA2C;KACxD;IACD,SAAS,EAAE;QACV,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,oDAAoD;KACjE;IACD,YAAY,EAAE;QACb,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,8DAA8D;KAC3E;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,SAAS;QAClB,WAAW,EACV,yEAAyE;KAC1E;IACD,kBAAkB,EAAE;QACnB,OAAO,EAAE,OAAO;QAChB,WAAW,EACV,2FAA2F;KAC5F;CACD,CAAC,CAAC"}
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../../../../src/presets/arborPreset/modeSchema/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,MAAM,CAAC,MAAM,MAAM,GAAG,gBAAgB,CAAC;IACtC,KAAK,EAAE;QACN,UAAU,EAAE;YACX,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,qDAAqD;SAClE;KACD;IACD,OAAO,EAAE;QACR,OAAO,EAAE;YACR,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,sFAAsF;SACvF;QACD,QAAQ,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,WAAW,EACV,yEAAyE;SAC1E;QACD,SAAS,EAAE;YACV,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,uIAAuI;S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uD;SACpE;QACD,WAAW,EAAE;YACZ,OAAO,EAAE,WAAW;YACpB,WAAW,EAAE,uDAAuD;SACpE;QACD,iBAAiB,EAAE;YAClB,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,gJAAgJ;SACjJ;QACD,yBAAyB,EAAE;YAC1B,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,qTAAqT;SACtT;QACD,iBAAiB,EAAE;YAClB,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,wKAAwK;SACzK;QACD,gBAAgB,EAAE;YACjB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,4DAA4D;SACzE;QACD,gBAAgB,EAAE;YACjB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,4DAA4D;SACzE;QACD,iBAAiB,EAAE;YAClB,OAAO,EAAE,SAAS;YAClB,WAAW,EACV,iOAAiO;SAClO;QACD,wBAAwB,EAAE;YACzB,OAAO,EAAE,QAAQ;YACjB,WAAW,EACV,kRAAkR;SACnR;KACD;CACD,CAAC,CAAC"}
@@ -27,7 +27,7 @@ export declare const actionIntents: {
27
27
  description: "Foreground color";
28
28
  };
29
29
  bg: {
30
- purpose: "other";
30
+ purpose: "background";
31
31
  description: "Background - can be a color or a more complex value like a gradient or image";
32
32
  };
33
33
  borderColor: {
@@ -50,7 +50,7 @@ export declare const actionIntents: {
50
50
  description: "Foreground color";
51
51
  };
52
52
  bg: {
53
- purpose: "other";
53
+ purpose: "background";
54
54
  description: "Background - can be a color or a more complex value like a gradient or image";
55
55
  };
56
56
  borderColor: {
@@ -73,7 +73,7 @@ export declare const actionIntents: {
73
73
  description: "Foreground color";
74
74
  };
75
75
  bg: {
76
- purpose: "other";
76
+ purpose: "background";
77
77
  description: "Background - can be a color or a more complex value like a gradient or image";
78
78
  };
79
79
  borderColor: {
@@ -4,7 +4,7 @@ export declare const visualIntents: {
4
4
  description: "Foreground color";
5
5
  };
6
6
  bg: {
7
- purpose: "other";
7
+ purpose: "background";
8
8
  description: "Background - can be a color or a more complex value like a gradient or image";
9
9
  };
10
10
  borderColor: {
@@ -5,7 +5,7 @@ export const visualIntents = createModeSchema({
5
5
  description: 'Foreground color',
6
6
  },
7
7
  bg: {
8
- purpose: 'other',
8
+ purpose: 'background',
9
9
  description: 'Background - can be a color or a more complex value like a gradient or image',
10
10
  },
11
11
  borderColor: {
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAC7C,EAAE,EAAE;QACH,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,kBAAkB;KAC/B;IACD,EAAE,EAAE;QACH,OAAO,EAAE,OAAO;QAChB,WAAW,EACV,8EAA8E;KAC/E;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,OAAO;KAChB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,kGAAkG;KACnG;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;IAC1C,KAAK,EAAE;QACN,OAAO,EAAE,OAAO;QAChB,WAAW,EACV,wEAAwE;KACzE;IACD,MAAM,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,sCAAsC;KACnD;IACD,KAAK,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,mCAAmC;KAChD;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IAClD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,gBAAgB;CAC/B,CAAC,CAAC"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/intents/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAC7C,EAAE,EAAE;QACH,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,kBAAkB;KAC/B;IACD,EAAE,EAAE;QACH,OAAO,EAAE,YAAY;QACrB,WAAW,EACV,8EAA8E;KAC/E;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,OAAO;KAChB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,cAAc;KACvB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,kGAAkG;KACnG;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;IAC1C,KAAK,EAAE;QACN,OAAO,EAAE,OAAO;QAChB,WAAW,EACV,wEAAwE;KACzE;IACD,MAAM,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,sCAAsC;KACnD;IACD,KAAK,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,mCAAmC;KAChD;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IAClD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,gBAAgB;CAC/B,CAAC,CAAC"}
@@ -4,7 +4,7 @@ export declare const controlIntents: {
4
4
  description: "Foreground color";
5
5
  };
6
6
  bg: {
7
- purpose: "other";
7
+ purpose: "background";
8
8
  description: "Background - can be a color or a more complex value like a gradient or image";
9
9
  };
10
10
  borderColor: {
@@ -27,7 +27,7 @@ export declare const surfaceIntents: {
27
27
  description: "Foreground color";
28
28
  };
29
29
  bg: {
30
- purpose: "other";
30
+ purpose: "background";
31
31
  description: "Background - can be a color or a more complex value like a gradient or image";
32
32
  };
33
33
  borderColor: {
@@ -50,7 +50,7 @@ export declare const surfaceIntents: {
50
50
  description: "Foreground color";
51
51
  };
52
52
  bg: {
53
- purpose: "other";
53
+ purpose: "background";
54
54
  description: "Background - can be a color or a more complex value like a gradient or image";
55
55
  };
56
56
  borderColor: {
@@ -73,7 +73,7 @@ export declare const surfaceIntents: {
73
73
  description: "Foreground color";
74
74
  };
75
75
  bg: {
76
- purpose: "other";
76
+ purpose: "background";
77
77
  description: "Background - can be a color or a more complex value like a gradient or image";
78
78
  };
79
79
  borderColor: {