@arbor-css/core 0.0.90 → 0.0.91

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 (165) hide show
  1. package/dist/cli/introspection.d.ts +1 -1
  2. package/dist/cli/introspection.d.ts.map +1 -1
  3. package/dist/cli/introspection.js +5 -8
  4. package/dist/cli/introspection.js.map +1 -1
  5. package/dist/cli/introspection.test.js +2 -9
  6. package/dist/cli/introspection.test.js.map +1 -1
  7. package/dist/cli/run.js +1 -1
  8. package/dist/cli/run.js.map +1 -1
  9. package/dist/cli/validate.d.ts.map +1 -1
  10. package/dist/cli/validate.js +0 -2
  11. package/dist/cli/validate.js.map +1 -1
  12. package/dist/cli/validate.test.js +0 -13
  13. package/dist/cli/validate.test.js.map +1 -1
  14. package/dist/getStructuredTokensMap.d.ts.map +1 -1
  15. package/dist/getStructuredTokensMap.js +0 -5
  16. package/dist/getStructuredTokensMap.js.map +1 -1
  17. package/dist/getStructuredTokensMap.test.js +3 -3
  18. package/dist/getStructuredTokensMap.test.js.map +1 -1
  19. package/dist/presets/arborPreset/index.d.ts +1 -2
  20. package/dist/presets/arborPreset/index.d.ts.map +1 -1
  21. package/dist/presets/arborPreset/index.js +1 -2
  22. package/dist/presets/arborPreset/index.js.map +1 -1
  23. package/dist/presets/arborPreset/modeSchema/intents/action.d.ts +67 -0
  24. package/dist/presets/arborPreset/modeSchema/intents/action.d.ts.map +1 -0
  25. package/dist/presets/arborPreset/modeSchema/intents/action.js +17 -0
  26. package/dist/presets/arborPreset/modeSchema/intents/action.js.map +1 -0
  27. package/dist/presets/arborPreset/modeSchema/intents/common.d.ts +35 -0
  28. package/dist/presets/arborPreset/modeSchema/intents/common.d.ts.map +1 -0
  29. package/dist/presets/arborPreset/modeSchema/intents/common.js +36 -0
  30. package/dist/presets/arborPreset/modeSchema/intents/common.js.map +1 -0
  31. package/dist/presets/arborPreset/modeSchema/intents/control.d.ts +37 -0
  32. package/dist/presets/arborPreset/modeSchema/intents/control.d.ts.map +1 -0
  33. package/dist/presets/arborPreset/modeSchema/intents/control.js +15 -0
  34. package/dist/presets/arborPreset/modeSchema/intents/control.js.map +1 -0
  35. package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts +67 -0
  36. package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts.map +1 -0
  37. package/dist/presets/arborPreset/modeSchema/intents/surface.js +17 -0
  38. package/dist/presets/arborPreset/modeSchema/intents/surface.js.map +1 -0
  39. package/dist/presets/arborPreset/modeSchema/intents/text.d.ts +21 -0
  40. package/dist/presets/arborPreset/modeSchema/intents/text.d.ts.map +1 -0
  41. package/dist/presets/arborPreset/modeSchema/intents/text.js +8 -0
  42. package/dist/presets/arborPreset/modeSchema/intents/text.js.map +1 -0
  43. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts +820 -0
  44. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts.map +1 -0
  45. package/dist/presets/arborPreset/modeSchema/modeSchema.js +47 -0
  46. package/dist/presets/arborPreset/modeSchema/modeSchema.js.map +1 -0
  47. package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts +2 -0
  48. package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts.map +1 -0
  49. package/dist/presets/arborPreset/modeSchema/modeSchema.test.js +10 -0
  50. package/dist/presets/arborPreset/modeSchema/modeSchema.test.js.map +1 -0
  51. package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts +93 -0
  52. package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts.map +1 -0
  53. package/dist/presets/arborPreset/modeSchema/primitives/color.js +42 -0
  54. package/dist/presets/arborPreset/modeSchema/primitives/color.js.map +1 -0
  55. package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts +10 -0
  56. package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts.map +1 -0
  57. package/dist/presets/arborPreset/modeSchema/primitives/duration.js +11 -0
  58. package/dist/presets/arborPreset/modeSchema/primitives/duration.js.map +1 -0
  59. package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts +10 -0
  60. package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts.map +1 -0
  61. package/dist/presets/arborPreset/modeSchema/primitives/easing.js +11 -0
  62. package/dist/presets/arborPreset/modeSchema/primitives/easing.js.map +1 -0
  63. package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts +159 -0
  64. package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts.map +1 -0
  65. package/dist/presets/arborPreset/modeSchema/primitives/shadow.js +35 -0
  66. package/dist/presets/arborPreset/modeSchema/primitives/shadow.js.map +1 -0
  67. package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts +14 -0
  68. package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts.map +1 -0
  69. package/dist/presets/arborPreset/modeSchema/primitives/spacing.js +15 -0
  70. package/dist/presets/arborPreset/modeSchema/primitives/spacing.js.map +1 -0
  71. package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts +157 -0
  72. package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts.map +1 -0
  73. package/dist/presets/arborPreset/modeSchema/primitives/typography.js +28 -0
  74. package/dist/presets/arborPreset/modeSchema/primitives/typography.js.map +1 -0
  75. package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts +7 -0
  76. package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts.map +1 -0
  77. package/dist/presets/arborPreset/modeSchema/scalars/scalars.js +8 -0
  78. package/dist/presets/arborPreset/modeSchema/scalars/scalars.js.map +1 -0
  79. package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts +63 -0
  80. package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts.map +1 -0
  81. package/dist/presets/arborPreset/modeSchema/semantics/color.js +7 -0
  82. package/dist/presets/arborPreset/modeSchema/semantics/color.js.map +1 -0
  83. package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts +27 -0
  84. package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts.map +1 -0
  85. package/dist/presets/arborPreset/modeSchema/semantics/common.js +28 -0
  86. package/dist/presets/arborPreset/modeSchema/semantics/common.js.map +1 -0
  87. package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts +19 -0
  88. package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts.map +1 -0
  89. package/dist/presets/arborPreset/modeSchema/semantics/duration.js +20 -0
  90. package/dist/presets/arborPreset/modeSchema/semantics/duration.js.map +1 -0
  91. package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts +19 -0
  92. package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts.map +1 -0
  93. package/dist/presets/arborPreset/modeSchema/semantics/easing.js +20 -0
  94. package/dist/presets/arborPreset/modeSchema/semantics/easing.js.map +1 -0
  95. package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts +19 -0
  96. package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts.map +1 -0
  97. package/dist/presets/arborPreset/modeSchema/semantics/lines.js +20 -0
  98. package/dist/presets/arborPreset/modeSchema/semantics/lines.js.map +1 -0
  99. package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts +12 -0
  100. package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts.map +1 -0
  101. package/dist/presets/arborPreset/modeSchema/semantics/radius.js +13 -0
  102. package/dist/presets/arborPreset/modeSchema/semantics/radius.js.map +1 -0
  103. package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts +115 -0
  104. package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts.map +1 -0
  105. package/dist/presets/arborPreset/modeSchema/semantics/shadow.js +17 -0
  106. package/dist/presets/arborPreset/modeSchema/semantics/shadow.js.map +1 -0
  107. package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts +12 -0
  108. package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts.map +1 -0
  109. package/dist/presets/arborPreset/modeSchema/semantics/spacing.js +12 -0
  110. package/dist/presets/arborPreset/modeSchema/semantics/spacing.js.map +1 -0
  111. package/dist/presets/arborPreset/modeValues/intents.d.ts +370 -0
  112. package/dist/presets/arborPreset/modeValues/intents.d.ts.map +1 -0
  113. package/dist/presets/arborPreset/modeValues/intents.js +134 -0
  114. package/dist/presets/arborPreset/modeValues/intents.js.map +1 -0
  115. package/dist/presets/arborPreset/modeValues/semantics.d.ts +1048 -0
  116. package/dist/presets/arborPreset/modeValues/semantics.d.ts.map +1 -0
  117. package/dist/presets/arborPreset/modeValues/semantics.js +92 -0
  118. package/dist/presets/arborPreset/modeValues/semantics.js.map +1 -0
  119. package/dist/presets/arborPreset/modeValues/types.d.ts +9 -0
  120. package/dist/presets/arborPreset/modeValues/types.d.ts.map +1 -0
  121. package/dist/presets/arborPreset/modeValues/types.js +2 -0
  122. package/dist/presets/arborPreset/modeValues/types.js.map +1 -0
  123. package/dist/presets/arborPreset/preset.d.ts +427 -52
  124. package/dist/presets/arborPreset/preset.d.ts.map +1 -1
  125. package/dist/presets/arborPreset/preset.js +72 -32
  126. package/dist/presets/arborPreset/preset.js.map +1 -1
  127. package/dist/presets/arborPreset/preset.test.js +2 -4
  128. package/dist/presets/arborPreset/preset.test.js.map +1 -1
  129. package/dist/presets/basicPreset/preset.d.ts +1 -1
  130. package/dist/runtime/components/BaseElement.d.ts +1 -1
  131. package/dist/runtime/components/BaseElement.d.ts.map +1 -1
  132. package/dist/runtime/components/GlobalsEditor.js +0 -40
  133. package/dist/runtime/components/GlobalsEditor.js.map +1 -1
  134. package/dist/runtime/components/SchemeSelector.js +1 -3
  135. package/dist/runtime/components/SchemeSelector.js.map +1 -1
  136. package/dist/runtime/components/SystemDemo.js +2 -2
  137. package/dist/runtime/components/SystemDemo.js.map +1 -1
  138. package/dist/stylesheet/generateStylesheet.d.ts.map +1 -1
  139. package/dist/stylesheet/generateStylesheet.js +40 -77
  140. package/dist/stylesheet/generateStylesheet.js.map +1 -1
  141. package/dist/stylesheet/generateStylesheet.test.js +3 -5
  142. package/dist/stylesheet/generateStylesheet.test.js.map +1 -1
  143. package/dist/stylesheet/modeToCss.d.ts.map +1 -1
  144. package/dist/stylesheet/modeToCss.js +22 -8
  145. package/dist/stylesheet/modeToCss.js.map +1 -1
  146. package/dist/stylesheet/modeToCss.test.js +19 -22
  147. package/dist/stylesheet/modeToCss.test.js.map +1 -1
  148. package/dist/util/resolveComputedTokenValue.js +5 -12
  149. package/dist/util/resolveComputedTokenValue.js.map +1 -1
  150. package/dist/util/resolveComputedTokenValue.test.js +4 -4
  151. package/dist/util/resolveComputedTokenValue.test.js.map +1 -1
  152. package/dist/util/resolveTokenReferences.d.ts.map +1 -1
  153. package/dist/util/resolveTokenReferences.js +1 -15
  154. package/dist/util/resolveTokenReferences.js.map +1 -1
  155. package/dist/util/resolveTokenReferences.test.js +3 -3
  156. package/dist/util/resolveTokenReferences.test.js.map +1 -1
  157. package/package.json +12 -12
  158. package/dist/presets/arborPreset/baseModeValues.d.ts +0 -16
  159. package/dist/presets/arborPreset/baseModeValues.d.ts.map +0 -1
  160. package/dist/presets/arborPreset/baseModeValues.js +0 -231
  161. package/dist/presets/arborPreset/baseModeValues.js.map +0 -1
  162. package/dist/presets/arborPreset/modeSchema.d.ts +0 -448
  163. package/dist/presets/arborPreset/modeSchema.d.ts.map +0 -1
  164. package/dist/presets/arborPreset/modeSchema.js +0 -267
  165. package/dist/presets/arborPreset/modeSchema.js.map +0 -1
@@ -0,0 +1,157 @@
1
+ export declare const typographyPrimitiveLevel: {
2
+ size: {
3
+ purpose: "font-size";
4
+ description: "The size of the font used in this typography level";
5
+ };
6
+ weight: {
7
+ purpose: "font-weight";
8
+ description: "The weight of the font used in this typography level";
9
+ };
10
+ lineHeight: {
11
+ purpose: "line-height";
12
+ description: "The line height of the font used in this typography level";
13
+ };
14
+ };
15
+ export declare const typographyPrimitives: {
16
+ xs: {
17
+ size: {
18
+ purpose: "font-size";
19
+ description: "The size of the font used in this typography level";
20
+ };
21
+ weight: {
22
+ purpose: "font-weight";
23
+ description: "The weight of the font used in this typography level";
24
+ };
25
+ lineHeight: {
26
+ purpose: "line-height";
27
+ description: "The line height of the font used in this typography level";
28
+ };
29
+ };
30
+ sm: {
31
+ size: {
32
+ purpose: "font-size";
33
+ description: "The size of the font used in this typography level";
34
+ };
35
+ weight: {
36
+ purpose: "font-weight";
37
+ description: "The weight of the font used in this typography level";
38
+ };
39
+ lineHeight: {
40
+ purpose: "line-height";
41
+ description: "The line height of the font used in this typography level";
42
+ };
43
+ };
44
+ md: {
45
+ size: {
46
+ purpose: "font-size";
47
+ description: "The size of the font used in this typography level";
48
+ };
49
+ weight: {
50
+ purpose: "font-weight";
51
+ description: "The weight of the font used in this typography level";
52
+ };
53
+ lineHeight: {
54
+ purpose: "line-height";
55
+ description: "The line height of the font used in this typography level";
56
+ };
57
+ };
58
+ lg: {
59
+ size: {
60
+ purpose: "font-size";
61
+ description: "The size of the font used in this typography level";
62
+ };
63
+ weight: {
64
+ purpose: "font-weight";
65
+ description: "The weight of the font used in this typography level";
66
+ };
67
+ lineHeight: {
68
+ purpose: "line-height";
69
+ description: "The line height of the font used in this typography level";
70
+ };
71
+ };
72
+ xl: {
73
+ size: {
74
+ purpose: "font-size";
75
+ description: "The size of the font used in this typography level";
76
+ };
77
+ weight: {
78
+ purpose: "font-weight";
79
+ description: "The weight of the font used in this typography level";
80
+ };
81
+ lineHeight: {
82
+ purpose: "line-height";
83
+ description: "The line height of the font used in this typography level";
84
+ };
85
+ };
86
+ '2xl': {
87
+ size: {
88
+ purpose: "font-size";
89
+ description: "The size of the font used in this typography level";
90
+ };
91
+ weight: {
92
+ purpose: "font-weight";
93
+ description: "The weight of the font used in this typography level";
94
+ };
95
+ lineHeight: {
96
+ purpose: "line-height";
97
+ description: "The line height of the font used in this typography level";
98
+ };
99
+ };
100
+ '3xl': {
101
+ size: {
102
+ purpose: "font-size";
103
+ description: "The size of the font used in this typography level";
104
+ };
105
+ weight: {
106
+ purpose: "font-weight";
107
+ description: "The weight of the font used in this typography level";
108
+ };
109
+ lineHeight: {
110
+ purpose: "line-height";
111
+ description: "The line height of the font used in this typography level";
112
+ };
113
+ };
114
+ '4xl': {
115
+ size: {
116
+ purpose: "font-size";
117
+ description: "The size of the font used in this typography level";
118
+ };
119
+ weight: {
120
+ purpose: "font-weight";
121
+ description: "The weight of the font used in this typography level";
122
+ };
123
+ lineHeight: {
124
+ purpose: "line-height";
125
+ description: "The line height of the font used in this typography level";
126
+ };
127
+ };
128
+ '5xl': {
129
+ size: {
130
+ purpose: "font-size";
131
+ description: "The size of the font used in this typography level";
132
+ };
133
+ weight: {
134
+ purpose: "font-weight";
135
+ description: "The weight of the font used in this typography level";
136
+ };
137
+ lineHeight: {
138
+ purpose: "line-height";
139
+ description: "The line height of the font used in this typography level";
140
+ };
141
+ };
142
+ '6xl': {
143
+ size: {
144
+ purpose: "font-size";
145
+ description: "The size of the font used in this typography level";
146
+ };
147
+ weight: {
148
+ purpose: "font-weight";
149
+ description: "The weight of the font used in this typography level";
150
+ };
151
+ lineHeight: {
152
+ purpose: "line-height";
153
+ description: "The line height of the font used in this typography level";
154
+ };
155
+ };
156
+ };
157
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/primitives/typography.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAanC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW/B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const typographyPrimitiveLevel = createModeSchema({
3
+ size: {
4
+ purpose: 'font-size',
5
+ description: 'The size of the font used in this typography level',
6
+ },
7
+ weight: {
8
+ purpose: 'font-weight',
9
+ description: 'The weight of the font used in this typography level',
10
+ },
11
+ lineHeight: {
12
+ purpose: 'line-height',
13
+ description: 'The line height of the font used in this typography level',
14
+ },
15
+ });
16
+ export const typographyPrimitives = createModeSchema({
17
+ xs: typographyPrimitiveLevel,
18
+ sm: typographyPrimitiveLevel,
19
+ md: typographyPrimitiveLevel,
20
+ lg: typographyPrimitiveLevel,
21
+ xl: typographyPrimitiveLevel,
22
+ '2xl': typographyPrimitiveLevel,
23
+ '3xl': typographyPrimitiveLevel,
24
+ '4xl': typographyPrimitiveLevel,
25
+ '5xl': typographyPrimitiveLevel,
26
+ '6xl': typographyPrimitiveLevel,
27
+ });
28
+ //# sourceMappingURL=typography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/primitives/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;IACxD,IAAI,EAAE;QACL,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,oDAAoD;KACjE;IACD,MAAM,EAAE;QACP,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,sDAAsD;KACnE;IACD,UAAU,EAAE;QACX,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,2DAA2D;KACxE;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IACpD,EAAE,EAAE,wBAAwB;IAC5B,EAAE,EAAE,wBAAwB;IAC5B,EAAE,EAAE,wBAAwB;IAC5B,EAAE,EAAE,wBAAwB;IAC5B,EAAE,EAAE,wBAAwB;IAC5B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;CAC/B,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const scalars: {
2
+ density: {
3
+ purpose: "scalar";
4
+ description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
5
+ };
6
+ };
7
+ //# sourceMappingURL=scalars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalars.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/scalars/scalars.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;CAMlB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const scalars = createModeSchema({
3
+ density: {
4
+ purpose: 'scalar',
5
+ description: 'A scaling factor for density. Higher density means smaller, tighter spacing and size',
6
+ },
7
+ });
8
+ //# sourceMappingURL=scalars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalars.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/scalars/scalars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC;IACvC,OAAO,EAAE;QACR,OAAO,EAAE,QAAQ;QACjB,WAAW,EACV,sFAAsF;KACvF;CACD,CAAC,CAAC"}
@@ -0,0 +1,63 @@
1
+ export declare const mainColorSemantics: {
2
+ main: {
3
+ $root: {
4
+ purpose: "color";
5
+ description: string;
6
+ };
7
+ paper: {
8
+ purpose: "color";
9
+ description: "An extremely light shade, good for backgrounds and surfaces";
10
+ };
11
+ wash: {
12
+ purpose: "color";
13
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
14
+ };
15
+ light: {
16
+ purpose: "color";
17
+ description: "A light shade, good for emphasized surfaces.";
18
+ };
19
+ mid: {
20
+ purpose: "color";
21
+ description: "The main shade, good for primary actions and decoration.";
22
+ };
23
+ heavy: {
24
+ purpose: "color";
25
+ description: "A heavy shade, good for text emphasis and accents.";
26
+ };
27
+ ink: {
28
+ purpose: "color";
29
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
30
+ };
31
+ };
32
+ neutral: {
33
+ $root: {
34
+ purpose: "color";
35
+ description: string;
36
+ };
37
+ paper: {
38
+ purpose: "color";
39
+ description: "An extremely light shade, good for backgrounds and surfaces";
40
+ };
41
+ wash: {
42
+ purpose: "color";
43
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
44
+ };
45
+ light: {
46
+ purpose: "color";
47
+ description: "A light shade, good for emphasized surfaces.";
48
+ };
49
+ mid: {
50
+ purpose: "color";
51
+ description: "The main shade, good for primary actions and decoration.";
52
+ };
53
+ heavy: {
54
+ purpose: "color";
55
+ description: "A heavy shade, good for text emphasis and accents.";
56
+ };
57
+ ink: {
58
+ purpose: "color";
59
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
60
+ };
61
+ };
62
+ };
63
+ //# sourceMappingURL=color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/color.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG7B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ import { colorRangeSchemaWithoutNeutral } from '../primitives/color.js';
3
+ export const mainColorSemantics = createModeSchema({
4
+ main: colorRangeSchemaWithoutNeutral,
5
+ neutral: colorRangeSchemaWithoutNeutral,
6
+ });
7
+ //# sourceMappingURL=color.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAExE,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IAClD,IAAI,EAAE,8BAA8B;IACpC,OAAO,EAAE,8BAA8B;CACvC,CAAC,CAAC"}
@@ -0,0 +1,27 @@
1
+ export declare const shadowLevelSemantics: {
2
+ x: {
3
+ purpose: "size";
4
+ description: "Horizontal offset of the shadow";
5
+ };
6
+ y: {
7
+ purpose: "size";
8
+ description: "Vertical offset of the shadow";
9
+ };
10
+ blur: {
11
+ purpose: "size";
12
+ description: "Blur radius of the shadow";
13
+ };
14
+ spread: {
15
+ purpose: "size";
16
+ description: "Spread radius of the shadow";
17
+ };
18
+ color: {
19
+ purpose: "color";
20
+ description: "Color of the shadow";
21
+ };
22
+ $root: {
23
+ purpose: "shadow";
24
+ description: string;
25
+ };
26
+ };
27
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/common.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB/B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const shadowLevelSemantics = createModeSchema({
3
+ x: {
4
+ purpose: 'size',
5
+ description: 'Horizontal offset of the shadow',
6
+ },
7
+ y: {
8
+ purpose: 'size',
9
+ description: 'Vertical offset of the shadow',
10
+ },
11
+ blur: {
12
+ purpose: 'size',
13
+ description: 'Blur radius of the shadow',
14
+ },
15
+ spread: {
16
+ purpose: 'size',
17
+ description: 'Spread radius of the shadow',
18
+ },
19
+ color: {
20
+ purpose: 'color',
21
+ description: 'Color of the shadow',
22
+ },
23
+ $root: {
24
+ purpose: 'shadow',
25
+ description: 'Full shadow value, can be passed to "box-shadow"',
26
+ },
27
+ });
28
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IACpD,CAAC,EAAE;QACF,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,iCAAiC;KAC9C;IACD,CAAC,EAAE;QACF,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,+BAA+B;KAC5C;IACD,IAAI,EAAE;QACL,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,2BAA2B;KACxC;IACD,MAAM,EAAE;QACP,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,6BAA6B;KAC1C;IACD,KAAK,EAAE;QACN,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,qBAAqB;KAClC;IACD,KAAK,EAAE;QACN,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,kDAAkD;KAC/D;CACD,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare const durationSemantics: {
2
+ $root: {
3
+ purpose: "duration";
4
+ description: string;
5
+ };
6
+ short: {
7
+ purpose: "duration";
8
+ description: "A short, snappy duration, good for fast interactions and large animations";
9
+ };
10
+ medium: {
11
+ purpose: "duration";
12
+ description: "A medium duration, good for general use, fast enough for interactions";
13
+ };
14
+ long: {
15
+ purpose: "duration";
16
+ description: "A long, relaxed duration, good for slow interactions and animations";
17
+ };
18
+ };
19
+ //# sourceMappingURL=duration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duration.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/duration.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAoB5B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const durationSemantics = createModeSchema({
3
+ $root: {
4
+ purpose: 'duration',
5
+ description: 'A convenient reference for the "medium" duration',
6
+ },
7
+ short: {
8
+ purpose: 'duration',
9
+ description: 'A short, snappy duration, good for fast interactions and large animations',
10
+ },
11
+ medium: {
12
+ purpose: 'duration',
13
+ description: 'A medium duration, good for general use, fast enough for interactions',
14
+ },
15
+ long: {
16
+ purpose: 'duration',
17
+ description: 'A long, relaxed duration, good for slow interactions and animations',
18
+ },
19
+ });
20
+ //# sourceMappingURL=duration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duration.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/duration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;IACjD,KAAK,EAAE;QACN,OAAO,EAAE,UAAU;QACnB,WAAW,EAAE,kDAAkD;KAC/D;IACD,KAAK,EAAE;QACN,OAAO,EAAE,UAAU;QACnB,WAAW,EACV,2EAA2E;KAC5E;IACD,MAAM,EAAE;QACP,OAAO,EAAE,UAAU;QACnB,WAAW,EACV,uEAAuE;KACxE;IACD,IAAI,EAAE;QACL,OAAO,EAAE,UAAU;QACnB,WAAW,EACV,qEAAqE;KACtE;CACD,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare const easingSemantics: {
2
+ $root: {
3
+ purpose: "easing-function";
4
+ description: string;
5
+ };
6
+ tight: {
7
+ purpose: "easing-function";
8
+ description: "A short, snappy easing, good for tight interactions";
9
+ };
10
+ medium: {
11
+ purpose: "easing-function";
12
+ description: "A medium easing, good for general use";
13
+ };
14
+ loose: {
15
+ purpose: "easing-function";
16
+ description: "A long, relaxed easing, good for slow interactions and animations";
17
+ };
18
+ };
19
+ //# sourceMappingURL=easing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"easing.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/easing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;CAkB1B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const easingSemantics = createModeSchema({
3
+ $root: {
4
+ purpose: 'easing-function',
5
+ description: 'A convenient reference for the "medium" easing',
6
+ },
7
+ tight: {
8
+ purpose: 'easing-function',
9
+ description: 'A short, snappy easing, good for tight interactions',
10
+ },
11
+ medium: {
12
+ purpose: 'easing-function',
13
+ description: 'A medium easing, good for general use',
14
+ },
15
+ loose: {
16
+ purpose: 'easing-function',
17
+ description: 'A long, relaxed easing, good for slow interactions and animations',
18
+ },
19
+ });
20
+ //# sourceMappingURL=easing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"easing.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/easing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC;IAC/C,KAAK,EAAE;QACN,OAAO,EAAE,iBAAiB;QAC1B,WAAW,EAAE,gDAAgD;KAC7D;IACD,KAAK,EAAE;QACN,OAAO,EAAE,iBAAiB;QAC1B,WAAW,EAAE,qDAAqD;KAClE;IACD,MAAM,EAAE;QACP,OAAO,EAAE,iBAAiB;QAC1B,WAAW,EAAE,uCAAuC;KACpD;IACD,KAAK,EAAE;QACN,OAAO,EAAE,iBAAiB;QAC1B,WAAW,EACV,mEAAmE;KACpE;CACD,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare const lineWidthSemantics: {
2
+ $root: {
3
+ purpose: "border-width";
4
+ description: string;
5
+ };
6
+ sm: {
7
+ purpose: "border-width";
8
+ description: "A hairline border width. Always >= 1px. If the global border width is small, this may be the same as \"md\"";
9
+ };
10
+ md: {
11
+ purpose: "border-width";
12
+ description: "A general-purpose border width";
13
+ };
14
+ lg: {
15
+ purpose: "border-width";
16
+ description: "A thicker border, good for emphasis";
17
+ };
18
+ };
19
+ //# sourceMappingURL=lines.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lines.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/lines.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAkB7B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const lineWidthSemantics = createModeSchema({
3
+ $root: {
4
+ purpose: 'border-width',
5
+ description: 'A convenient reference for the "md" border width',
6
+ },
7
+ sm: {
8
+ purpose: 'border-width',
9
+ description: 'A hairline border width. Always >= 1px. If the global border width is small, this may be the same as "md"',
10
+ },
11
+ md: {
12
+ purpose: 'border-width',
13
+ description: 'A general-purpose border width',
14
+ },
15
+ lg: {
16
+ purpose: 'border-width',
17
+ description: 'A thicker border, good for emphasis',
18
+ },
19
+ });
20
+ //# sourceMappingURL=lines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lines.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/lines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IAClD,KAAK,EAAE;QACN,OAAO,EAAE,cAAc;QACvB,WAAW,EAAE,kDAAkD;KAC/D;IACD,EAAE,EAAE;QACH,OAAO,EAAE,cAAc;QACvB,WAAW,EACV,2GAA2G;KAC5G;IACD,EAAE,EAAE;QACH,OAAO,EAAE,cAAc;QACvB,WAAW,EAAE,gCAAgC;KAC7C;IACD,EAAE,EAAE;QACH,OAAO,EAAE,cAAc;QACvB,WAAW,EAAE,qCAAqC;KAClD;CACD,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const radiusSemantics: {
2
+ $root: {
3
+ purpose: "border-radius";
4
+ description: string;
5
+ };
6
+ xs: "border-radius";
7
+ sm: "border-radius";
8
+ md: "border-radius";
9
+ lg: "border-radius";
10
+ xl: "border-radius";
11
+ };
12
+ //# sourceMappingURL=radius.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/radius.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;CAU1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { createModeSchema } from '@arbor-css/modes';
2
+ export const radiusSemantics = createModeSchema({
3
+ $root: {
4
+ purpose: 'border-radius',
5
+ description: 'A convenient reference for the "md" border radius',
6
+ },
7
+ xs: 'border-radius',
8
+ sm: 'border-radius',
9
+ md: 'border-radius',
10
+ lg: 'border-radius',
11
+ xl: 'border-radius',
12
+ });
13
+ //# sourceMappingURL=radius.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radius.js","sourceRoot":"","sources":["../../../../../src/presets/arborPreset/modeSchema/semantics/radius.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC;IAC/C,KAAK,EAAE;QACN,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE,mDAAmD;KAChE;IACD,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;CACnB,CAAC,CAAC"}