@roblawn/devtool-runtime 0.1.0-alpha.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 (161) hide show
  1. package/LICENSE.md +11 -0
  2. package/README.md +7 -0
  3. package/dist/ak/ak.cssState.transform.d.ts +2 -0
  4. package/dist/ak/ak.cssState.transform.js +60 -0
  5. package/dist/ak/ak.cssState.types.d.ts +2 -0
  6. package/dist/ak/ak.cssState.types.js +1 -0
  7. package/dist/ak/ak.responsive.types.d.ts +18 -0
  8. package/dist/ak/ak.responsive.types.js +1 -0
  9. package/dist/ak/ak.tokens.d.ts +10 -0
  10. package/dist/ak/ak.tokens.js +10 -0
  11. package/dist/ak/ak.tokens.registry.d.ts +10 -0
  12. package/dist/ak/ak.tokens.registry.js +45 -0
  13. package/dist/ak/authoring-surface.shared.d.ts +31 -0
  14. package/dist/ak/authoring-surface.shared.js +185 -0
  15. package/dist/ak/configured-core.shared.d.ts +7 -0
  16. package/dist/ak/configured-core.shared.js +16 -0
  17. package/dist/ak/configured-surfaces.shared.d.ts +67 -0
  18. package/dist/ak/configured-surfaces.shared.js +144 -0
  19. package/dist/ak/index.d.ts +16 -0
  20. package/dist/ak/index.js +16 -0
  21. package/dist/ak/project-entry.d.ts +57 -0
  22. package/dist/ak/project-entry.js +260 -0
  23. package/dist/ak/project-surface-adapters.shared.d.ts +33 -0
  24. package/dist/ak/project-surface-adapters.shared.js +83 -0
  25. package/dist/ak/public-entry.shared.d.ts +16 -0
  26. package/dist/ak/public-entry.shared.js +18 -0
  27. package/dist/ak/resolved-layout-marker.shared.d.ts +3 -0
  28. package/dist/ak/resolved-layout-marker.shared.js +19 -0
  29. package/dist/ak/runtime-surface.shared.d.ts +31 -0
  30. package/dist/ak/runtime-surface.shared.js +221 -0
  31. package/dist/ak/style-execution.d.ts +13 -0
  32. package/dist/ak/style-execution.js +91 -0
  33. package/dist/ak/style-schema.d.ts +16 -0
  34. package/dist/ak/style-schema.js +6 -0
  35. package/dist/ak/useAk.shared.d.ts +3 -0
  36. package/dist/ak/useAk.shared.js +36 -0
  37. package/dist/authoring/authoringEffectKinds.d.ts +2 -0
  38. package/dist/authoring/authoringEffectKinds.js +48 -0
  39. package/dist/authoring/index.d.ts +1 -0
  40. package/dist/authoring/index.js +1 -0
  41. package/dist/cms/CMSPresenterSchemaTypes.d.ts +108 -0
  42. package/dist/cms/CMSPresenterSchemaTypes.js +6 -0
  43. package/dist/cms/CMSSchema.d.ts +27 -0
  44. package/dist/cms/CMSSchema.js +89 -0
  45. package/dist/cms/CMSSchemaTypes.d.ts +141 -0
  46. package/dist/cms/CMSSchemaTypes.js +1 -0
  47. package/dist/cms/index.d.ts +3 -0
  48. package/dist/cms/index.js +1 -0
  49. package/dist/design-system/DesignSystemSnapshotFactory.d.ts +34 -0
  50. package/dist/design-system/DesignSystemSnapshotFactory.js +38 -0
  51. package/dist/design-system/ProjectDesignSystemFactory.d.ts +39 -0
  52. package/dist/design-system/ProjectDesignSystemFactory.js +32 -0
  53. package/dist/design-system/index.d.ts +8 -0
  54. package/dist/design-system/index.js +7 -0
  55. package/dist/design-system/ops/ops.types.d.ts +22 -0
  56. package/dist/design-system/ops/ops.types.js +1 -0
  57. package/dist/design-system/resolvers/ds.resolvers.d.ts +3 -0
  58. package/dist/design-system/resolvers/ds.resolvers.js +24 -0
  59. package/dist/design-system/resolvers/ds.responsive.d.ts +12 -0
  60. package/dist/design-system/resolvers/ds.responsive.js +28 -0
  61. package/dist/design-system/tokens/TokenSchemas.types.d.ts +48 -0
  62. package/dist/design-system/tokens/TokenSchemas.types.js +3 -0
  63. package/dist/design-system/tokens/coreTokenFamilies.types.d.ts +2 -0
  64. package/dist/design-system/tokens/coreTokenFamilies.types.js +1 -0
  65. package/dist/index.d.ts +1 -0
  66. package/dist/index.js +1 -0
  67. package/dist/layout/index.d.ts +1 -0
  68. package/dist/layout/index.js +1 -0
  69. package/dist/layout/layoutRuntime.d.ts +12 -0
  70. package/dist/layout/layoutRuntime.js +88 -0
  71. package/dist/schema/LayoutBindingEditorPolicyMetadata.d.ts +7 -0
  72. package/dist/schema/LayoutBindingEditorPolicyMetadata.js +19 -0
  73. package/dist/schema/LayoutBindingEditorSectionMetadata.d.ts +7 -0
  74. package/dist/schema/LayoutBindingEditorSectionMetadata.js +19 -0
  75. package/dist/schema/LayoutDefinitionMeta.d.ts +54 -0
  76. package/dist/schema/LayoutDefinitionMeta.js +1 -0
  77. package/dist/schema/LayoutFieldIntentMetadata.d.ts +22 -0
  78. package/dist/schema/LayoutFieldIntentMetadata.js +38 -0
  79. package/dist/schema/LayoutFieldUiMetadata.d.ts +30 -0
  80. package/dist/schema/LayoutFieldUiMetadata.js +19 -0
  81. package/dist/schema/LayoutSchema.d.ts +39 -0
  82. package/dist/schema/LayoutSchema.js +53 -0
  83. package/dist/schema/LayoutVariantBindings.d.ts +55 -0
  84. package/dist/schema/LayoutVariantBindings.js +107 -0
  85. package/dist/schema/SlotSchema.d.ts +10 -0
  86. package/dist/schema/SlotSchema.js +3 -0
  87. package/dist/schema/StyleSchema.d.ts +16 -0
  88. package/dist/schema/StyleSchema.js +6 -0
  89. package/dist/schema/index.d.ts +9 -0
  90. package/dist/schema/index.js +9 -0
  91. package/dist/theme-contract/CompositeFieldOpByFamily.d.ts +126 -0
  92. package/dist/theme-contract/CompositeFieldOpByFamily.js +126 -0
  93. package/dist/theme-contract/index.d.ts +7 -0
  94. package/dist/theme-contract/index.js +7 -0
  95. package/dist/theme-contract/ops/coreOps.d.ts +697 -0
  96. package/dist/theme-contract/ops/coreOps.js +748 -0
  97. package/dist/theme-contract/ops/delegateValidation.types.d.ts +46 -0
  98. package/dist/theme-contract/ops/delegateValidation.types.js +4 -0
  99. package/dist/theme-contract/ops/emitters.d.ts +24 -0
  100. package/dist/theme-contract/ops/emitters.js +151 -0
  101. package/dist/theme-contract/ops/op.config.d.ts +711 -0
  102. package/dist/theme-contract/ops/op.config.js +15 -0
  103. package/dist/theme-contract/tokens/coreTokenFamilies.d.ts +9 -0
  104. package/dist/theme-contract/tokens/coreTokenFamilies.js +6 -0
  105. package/dist/theme-contract/tokens/cssLengthConversion.d.ts +2 -0
  106. package/dist/theme-contract/tokens/cssLengthConversion.js +39 -0
  107. package/dist/theme-contract/tokens/defineProjectTokenFamilySchema.d.ts +1 -0
  108. package/dist/theme-contract/tokens/defineProjectTokenFamilySchema.js +1 -0
  109. package/dist/theme-contract/tokens/defineTokenFamilySchema.d.ts +3 -0
  110. package/dist/theme-contract/tokens/defineTokenFamilySchema.js +5 -0
  111. package/dist/theme-contract/tokens/runtimeTokenFamilies.types.d.ts +5 -0
  112. package/dist/theme-contract/tokens/runtimeTokenFamilies.types.js +1 -0
  113. package/dist/theme-contract/tokens/schemas/aspect.token.schema.d.ts +20 -0
  114. package/dist/theme-contract/tokens/schemas/aspect.token.schema.js +19 -0
  115. package/dist/theme-contract/tokens/schemas/blur.token.schema.d.ts +21 -0
  116. package/dist/theme-contract/tokens/schemas/blur.token.schema.js +19 -0
  117. package/dist/theme-contract/tokens/schemas/border.token.schema.d.ts +54 -0
  118. package/dist/theme-contract/tokens/schemas/border.token.schema.js +43 -0
  119. package/dist/theme-contract/tokens/schemas/breakpoint.token.schema.d.ts +19 -0
  120. package/dist/theme-contract/tokens/schemas/breakpoint.token.schema.js +18 -0
  121. package/dist/theme-contract/tokens/schemas/color.token.schema.d.ts +24 -0
  122. package/dist/theme-contract/tokens/schemas/color.token.schema.js +23 -0
  123. package/dist/theme-contract/tokens/schemas/container.token.schema.d.ts +26 -0
  124. package/dist/theme-contract/tokens/schemas/container.token.schema.js +30 -0
  125. package/dist/theme-contract/tokens/schemas/font.token.schema.d.ts +17 -0
  126. package/dist/theme-contract/tokens/schemas/font.token.schema.js +15 -0
  127. package/dist/theme-contract/tokens/schemas/fontWeight.token.schema.d.ts +24 -0
  128. package/dist/theme-contract/tokens/schemas/fontWeight.token.schema.js +22 -0
  129. package/dist/theme-contract/tokens/schemas/leading.token.schema.d.ts +20 -0
  130. package/dist/theme-contract/tokens/schemas/leading.token.schema.js +18 -0
  131. package/dist/theme-contract/tokens/schemas/radius.token.schema.d.ts +23 -0
  132. package/dist/theme-contract/tokens/schemas/radius.token.schema.js +22 -0
  133. package/dist/theme-contract/tokens/schemas/shadow.token.schema.d.ts +108 -0
  134. package/dist/theme-contract/tokens/schemas/shadow.token.schema.js +73 -0
  135. package/dist/theme-contract/tokens/schemas/size.token.schema.d.ts +20 -0
  136. package/dist/theme-contract/tokens/schemas/size.token.schema.js +19 -0
  137. package/dist/theme-contract/tokens/schemas/spacing.token.schema.d.ts +21 -0
  138. package/dist/theme-contract/tokens/schemas/spacing.token.schema.js +20 -0
  139. package/dist/theme-contract/tokens/schemas/text.token.schema.d.ts +87 -0
  140. package/dist/theme-contract/tokens/schemas/text.token.schema.js +30 -0
  141. package/dist/theme-contract/tokens/schemas/textSize.token.schema.d.ts +28 -0
  142. package/dist/theme-contract/tokens/schemas/textSize.token.schema.js +27 -0
  143. package/dist/theme-contract/tokens/schemas/title.token.schema.d.ts +85 -0
  144. package/dist/theme-contract/tokens/schemas/title.token.schema.js +30 -0
  145. package/dist/theme-contract/tokens/schemas/tracking.token.schema.d.ts +20 -0
  146. package/dist/theme-contract/tokens/schemas/tracking.token.schema.js +18 -0
  147. package/dist/theme-contract/tokens/schemas/zIndex.token.schema.d.ts +18 -0
  148. package/dist/theme-contract/tokens/schemas/zIndex.token.schema.js +17 -0
  149. package/dist/theme-contract/tokens/tokens.schema.d.ts +531 -0
  150. package/dist/theme-contract/tokens/tokens.schema.js +32 -0
  151. package/dist/types/LayoutResolvedTs.types.d.ts +18 -0
  152. package/dist/types/LayoutResolvedTs.types.js +1 -0
  153. package/dist/types/authoredTree.types.d.ts +112 -0
  154. package/dist/types/authoredTree.types.js +1 -0
  155. package/dist/types/blockRegistry.types.d.ts +37 -0
  156. package/dist/types/blockRegistry.types.js +1 -0
  157. package/dist/types/index.d.ts +4 -0
  158. package/dist/types/index.js +1 -0
  159. package/dist/types/layout.types.d.ts +30 -0
  160. package/dist/types/layout.types.js +1 -0
  161. package/package.json +65 -0
@@ -0,0 +1,711 @@
1
+ import type { AuthoringEffectKind } from '../../design-system/ops/ops.types.js';
2
+ export type { DelegateMapForOp } from './delegateValidation.types.js';
3
+ export declare const OP_CONFIG: {
4
+ readonly m: {
5
+ readonly tokenFamily: "spacing";
6
+ readonly authoringEffect: "margin";
7
+ readonly responsive: true;
8
+ readonly addNoneasOmit: true;
9
+ readonly resolve: (v: string) => string;
10
+ };
11
+ readonly mt: {
12
+ readonly tokenFamily: "spacing";
13
+ readonly authoringEffect: "margin-top";
14
+ readonly responsive: true;
15
+ readonly addNoneasOmit: true;
16
+ readonly resolve: (v: string) => string;
17
+ };
18
+ readonly mr: {
19
+ readonly tokenFamily: "spacing";
20
+ readonly authoringEffect: "margin-right";
21
+ readonly responsive: true;
22
+ readonly addNoneasOmit: true;
23
+ readonly resolve: (v: string) => string;
24
+ };
25
+ readonly mb: {
26
+ readonly tokenFamily: "spacing";
27
+ readonly authoringEffect: "margin-bottom";
28
+ readonly responsive: true;
29
+ readonly addNoneasOmit: true;
30
+ readonly resolve: (v: string) => string;
31
+ };
32
+ readonly ml: {
33
+ readonly tokenFamily: "spacing";
34
+ readonly authoringEffect: "margin-left";
35
+ readonly responsive: true;
36
+ readonly addNoneasOmit: true;
37
+ readonly resolve: (v: string) => string;
38
+ };
39
+ readonly mx: {
40
+ readonly tokenFamily: "spacing";
41
+ readonly authoringEffect: "margin-x";
42
+ readonly responsive: true;
43
+ readonly addNoneasOmit: true;
44
+ readonly resolve: (v: string) => string;
45
+ };
46
+ readonly my: {
47
+ readonly tokenFamily: "spacing";
48
+ readonly authoringEffect: "margin-y";
49
+ readonly responsive: true;
50
+ readonly addNoneasOmit: true;
51
+ readonly resolve: (v: string) => string;
52
+ };
53
+ readonly p: {
54
+ readonly tokenFamily: "spacing";
55
+ readonly authoringEffect: "padding";
56
+ readonly responsive: true;
57
+ readonly addNoneasOmit: true;
58
+ readonly resolve: (v: string) => string;
59
+ };
60
+ readonly pt: {
61
+ readonly tokenFamily: "spacing";
62
+ readonly authoringEffect: "padding-top";
63
+ readonly responsive: true;
64
+ readonly addNoneasOmit: true;
65
+ readonly resolve: (v: string) => string;
66
+ };
67
+ readonly pr: {
68
+ readonly tokenFamily: "spacing";
69
+ readonly authoringEffect: "padding-right";
70
+ readonly responsive: true;
71
+ readonly addNoneasOmit: true;
72
+ readonly resolve: (v: string) => string;
73
+ };
74
+ readonly pb: {
75
+ readonly tokenFamily: "spacing";
76
+ readonly authoringEffect: "padding-bottom";
77
+ readonly responsive: true;
78
+ readonly addNoneasOmit: true;
79
+ readonly resolve: (v: string) => string;
80
+ };
81
+ readonly pl: {
82
+ readonly tokenFamily: "spacing";
83
+ readonly authoringEffect: "padding-left";
84
+ readonly responsive: true;
85
+ readonly addNoneasOmit: true;
86
+ readonly resolve: (v: string) => string;
87
+ };
88
+ readonly px: {
89
+ readonly tokenFamily: "spacing";
90
+ readonly authoringEffect: "padding-x";
91
+ readonly responsive: true;
92
+ readonly addNoneasOmit: true;
93
+ readonly resolve: (v: string) => string;
94
+ };
95
+ readonly py: {
96
+ readonly tokenFamily: "spacing";
97
+ readonly authoringEffect: "padding-y";
98
+ readonly responsive: true;
99
+ readonly addNoneasOmit: true;
100
+ readonly resolve: (v: string) => string;
101
+ };
102
+ readonly gap: {
103
+ readonly tokenFamily: "spacing";
104
+ readonly authoringEffect: "gap";
105
+ readonly responsive: true;
106
+ readonly addNoneasOmit: true;
107
+ readonly resolve: (v: string) => string;
108
+ };
109
+ readonly gapx: {
110
+ readonly tokenFamily: "spacing";
111
+ readonly authoringEffect: "gap-x";
112
+ readonly responsive: true;
113
+ readonly addNoneasOmit: true;
114
+ readonly resolve: (v: string) => string;
115
+ };
116
+ readonly gapy: {
117
+ readonly tokenFamily: "spacing";
118
+ readonly authoringEffect: "gap-y";
119
+ readonly responsive: true;
120
+ readonly addNoneasOmit: true;
121
+ readonly resolve: (v: string) => string;
122
+ };
123
+ readonly xspace: {
124
+ readonly tokenFamily: "spacing";
125
+ readonly authoringEffect: "gap-x";
126
+ readonly responsive: true;
127
+ readonly addNoneasOmit: true;
128
+ readonly resolve: (v: string) => string;
129
+ };
130
+ readonly yspace: {
131
+ readonly tokenFamily: "spacing";
132
+ readonly authoringEffect: "gap-y";
133
+ readonly responsive: true;
134
+ readonly addNoneasOmit: true;
135
+ readonly resolve: (v: string) => string;
136
+ };
137
+ readonly w: {
138
+ readonly tokenFamily: "container";
139
+ readonly authoringEffect: "width";
140
+ readonly responsive: true;
141
+ readonly addNoneasOmit: true;
142
+ readonly resolve: (v: string) => string;
143
+ };
144
+ readonly h: {
145
+ readonly tokenFamily: "container";
146
+ readonly authoringEffect: "height";
147
+ readonly responsive: true;
148
+ readonly addNoneasOmit: true;
149
+ readonly resolve: (v: string) => string;
150
+ };
151
+ readonly minW: {
152
+ readonly tokenFamily: "container";
153
+ readonly authoringEffect: "min-width";
154
+ readonly responsive: true;
155
+ readonly addNoneasOmit: true;
156
+ readonly resolve: (v: string) => string;
157
+ };
158
+ readonly minH: {
159
+ readonly tokenFamily: "container";
160
+ readonly authoringEffect: "min-height";
161
+ readonly responsive: true;
162
+ readonly addNoneasOmit: true;
163
+ readonly resolve: (v: string) => string;
164
+ };
165
+ readonly maxW: {
166
+ readonly tokenFamily: "container";
167
+ readonly authoringEffect: "max-width";
168
+ readonly responsive: true;
169
+ readonly addNoneasOmit: true;
170
+ readonly resolve: (v: string) => string;
171
+ };
172
+ readonly maxH: {
173
+ readonly tokenFamily: "container";
174
+ readonly authoringEffect: "max-height";
175
+ readonly responsive: true;
176
+ readonly addNoneasOmit: true;
177
+ readonly resolve: (v: string) => string;
178
+ };
179
+ readonly contentWidth: {
180
+ readonly tokenFamily: "container";
181
+ readonly authoringEffect: "max-width";
182
+ readonly responsive: true;
183
+ readonly addNoneasOmit: true;
184
+ readonly resolve: (v: string) => string;
185
+ };
186
+ readonly cols: {
187
+ readonly tokenFamily: "colCount";
188
+ readonly authoringEffect: "element";
189
+ readonly authoringValue: {
190
+ readonly kind: "number";
191
+ readonly min: 1;
192
+ readonly max: 12;
193
+ readonly step: 1;
194
+ };
195
+ readonly resolve: (v: string) => string;
196
+ };
197
+ readonly rows: {
198
+ readonly tokenFamily: "rowCount";
199
+ readonly authoringEffect: "element";
200
+ readonly authoringValue: {
201
+ readonly kind: "number";
202
+ readonly min: 1;
203
+ readonly max: 6;
204
+ readonly step: 1;
205
+ };
206
+ readonly resolve: (v: string) => string;
207
+ };
208
+ readonly colSpan: {
209
+ readonly tokenFamily: "colCount";
210
+ readonly authoringEffect: "element";
211
+ readonly authoringValue: {
212
+ readonly kind: "number";
213
+ readonly min: 1;
214
+ readonly max: 12;
215
+ readonly step: 1;
216
+ };
217
+ readonly resolve: (v: string) => string;
218
+ };
219
+ readonly rowSpan: {
220
+ readonly tokenFamily: "rowCount";
221
+ readonly authoringEffect: "element";
222
+ readonly authoringValue: {
223
+ readonly kind: "number";
224
+ readonly min: 1;
225
+ readonly max: 6;
226
+ readonly step: 1;
227
+ };
228
+ readonly resolve: (v: string) => string;
229
+ };
230
+ readonly rounded: {
231
+ readonly tokenFamily: "radius";
232
+ readonly authoringEffect: "radius";
233
+ readonly resolve: (v: string) => string;
234
+ };
235
+ readonly roundedT: {
236
+ readonly tokenFamily: "radius";
237
+ readonly authoringEffect: "radius-top";
238
+ readonly resolve: (v: string) => string;
239
+ };
240
+ readonly roundedR: {
241
+ readonly tokenFamily: "radius";
242
+ readonly authoringEffect: "radius-right";
243
+ readonly resolve: (v: string) => string;
244
+ };
245
+ readonly roundedB: {
246
+ readonly tokenFamily: "radius";
247
+ readonly authoringEffect: "radius-bottom";
248
+ readonly resolve: (v: string) => string;
249
+ };
250
+ readonly roundedL: {
251
+ readonly tokenFamily: "radius";
252
+ readonly authoringEffect: "radius-left";
253
+ readonly resolve: (v: string) => string;
254
+ };
255
+ readonly border: {
256
+ readonly tokenFamily: "border";
257
+ readonly authoringEffect: "border";
258
+ readonly addNoneasOmit: true;
259
+ readonly resolve: (v: string) => string;
260
+ };
261
+ readonly borderT: {
262
+ readonly tokenFamily: "border";
263
+ readonly authoringEffect: "border-top";
264
+ readonly resolve: (v: string) => string;
265
+ readonly delegate: Partial<{
266
+ color: "borderColor" | "divideColor" | "bg" | "textColor" | "shadowColor" | "ringColor";
267
+ width: "borderWidth" | "borderWidthT" | "borderWidthR" | "borderWidthB" | "borderWidthL" | "divideWidth";
268
+ style: "borderStyle" | "divideStyle";
269
+ }>;
270
+ };
271
+ readonly borderR: {
272
+ readonly tokenFamily: "border";
273
+ readonly authoringEffect: "border-right";
274
+ readonly resolve: (v: string) => string;
275
+ readonly delegate: Partial<{
276
+ color: "borderColor" | "divideColor" | "bg" | "textColor" | "shadowColor" | "ringColor";
277
+ width: "borderWidth" | "borderWidthT" | "borderWidthR" | "borderWidthB" | "borderWidthL" | "divideWidth";
278
+ style: "borderStyle" | "divideStyle";
279
+ }>;
280
+ };
281
+ readonly borderB: {
282
+ readonly tokenFamily: "border";
283
+ readonly authoringEffect: "border-bottom";
284
+ readonly resolve: (v: string) => string;
285
+ readonly delegate: Partial<{
286
+ color: "borderColor" | "divideColor" | "bg" | "textColor" | "shadowColor" | "ringColor";
287
+ width: "borderWidth" | "borderWidthT" | "borderWidthR" | "borderWidthB" | "borderWidthL" | "divideWidth";
288
+ style: "borderStyle" | "divideStyle";
289
+ }>;
290
+ };
291
+ readonly borderL: {
292
+ readonly tokenFamily: "border";
293
+ readonly authoringEffect: "border-left";
294
+ readonly resolve: (v: string) => string;
295
+ readonly delegate: Partial<{
296
+ color: "borderColor" | "divideColor" | "bg" | "textColor" | "shadowColor" | "ringColor";
297
+ width: "borderWidth" | "borderWidthT" | "borderWidthR" | "borderWidthB" | "borderWidthL" | "divideWidth";
298
+ style: "borderStyle" | "divideStyle";
299
+ }>;
300
+ };
301
+ readonly borderWidth: {
302
+ readonly tokenFamily: "borderWidth";
303
+ readonly authoringEffect: "border";
304
+ readonly addNoneasOmit: true;
305
+ readonly authoringValue: {
306
+ readonly kind: "number";
307
+ readonly min: 0;
308
+ readonly step: 0.5;
309
+ };
310
+ readonly private: true;
311
+ readonly resolve: (v: string) => string;
312
+ };
313
+ readonly borderWidthT: {
314
+ readonly tokenFamily: "borderWidth";
315
+ readonly authoringEffect: "border-top";
316
+ readonly addNoneasOmit: true;
317
+ readonly authoringValue: {
318
+ readonly kind: "number";
319
+ readonly min: 0;
320
+ readonly step: 0.5;
321
+ };
322
+ readonly private: true;
323
+ readonly resolve: (v: string) => string;
324
+ };
325
+ readonly borderWidthR: {
326
+ readonly tokenFamily: "borderWidth";
327
+ readonly authoringEffect: "border-right";
328
+ readonly addNoneasOmit: true;
329
+ readonly authoringValue: {
330
+ readonly kind: "number";
331
+ readonly min: 0;
332
+ readonly step: 0.5;
333
+ };
334
+ readonly private: true;
335
+ readonly resolve: (v: string) => string;
336
+ };
337
+ readonly borderWidthB: {
338
+ readonly tokenFamily: "borderWidth";
339
+ readonly authoringEffect: "border-bottom";
340
+ readonly addNoneasOmit: true;
341
+ readonly authoringValue: {
342
+ readonly kind: "number";
343
+ readonly min: 0;
344
+ readonly step: 0.5;
345
+ };
346
+ readonly private: true;
347
+ readonly resolve: (v: string) => string;
348
+ };
349
+ readonly borderWidthL: {
350
+ readonly tokenFamily: "borderWidth";
351
+ readonly authoringEffect: "border-left";
352
+ readonly addNoneasOmit: true;
353
+ readonly authoringValue: {
354
+ readonly kind: "number";
355
+ readonly min: 0;
356
+ readonly step: 0.5;
357
+ };
358
+ readonly private: true;
359
+ readonly resolve: (v: string) => string;
360
+ };
361
+ readonly borderColor: {
362
+ readonly tokenFamily: "color";
363
+ readonly authoringEffect: "border";
364
+ readonly addNoneasOmit: true;
365
+ readonly private: true;
366
+ readonly resolve: (v: string) => string;
367
+ };
368
+ readonly borderStyle: {
369
+ readonly tokenFamily: "borderStyle";
370
+ readonly authoringEffect: "border";
371
+ readonly private: true;
372
+ readonly resolve: (v: string) => string;
373
+ };
374
+ readonly divide: {
375
+ readonly tokenFamily: "border";
376
+ readonly authoringEffect: "divide";
377
+ readonly resolve: (v: string) => string;
378
+ readonly delegate: Partial<{
379
+ color: "borderColor" | "divideColor" | "bg" | "textColor" | "shadowColor" | "ringColor";
380
+ width: "borderWidth" | "borderWidthT" | "borderWidthR" | "borderWidthB" | "borderWidthL" | "divideWidth";
381
+ style: "borderStyle" | "divideStyle";
382
+ }>;
383
+ };
384
+ readonly divideColor: {
385
+ readonly tokenFamily: "color";
386
+ readonly authoringEffect: "divide";
387
+ readonly addNoneasOmit: true;
388
+ readonly private: true;
389
+ readonly resolve: (v: string) => string;
390
+ };
391
+ readonly divideWidth: {
392
+ readonly tokenFamily: "borderWidth";
393
+ readonly authoringEffect: "divide-x";
394
+ readonly addNoneasOmit: true;
395
+ readonly authoringValue: {
396
+ readonly kind: "number";
397
+ readonly min: 0;
398
+ readonly step: 0.5;
399
+ };
400
+ readonly private: true;
401
+ readonly resolve: (v: string) => string;
402
+ };
403
+ readonly divideStyle: {
404
+ readonly tokenFamily: "borderStyle";
405
+ readonly authoringEffect: "divide";
406
+ readonly private: true;
407
+ readonly resolve: (v: string) => string;
408
+ };
409
+ readonly bg: {
410
+ readonly tokenFamily: "color";
411
+ readonly authoringEffect: "background";
412
+ readonly addNoneasOmit: true;
413
+ readonly resolve: (v: string) => string;
414
+ };
415
+ readonly textColor: {
416
+ readonly tokenFamily: "color";
417
+ readonly authoringEffect: "text";
418
+ readonly addNoneasOmit: true;
419
+ readonly resolve: (v: string) => string;
420
+ };
421
+ readonly opacity: {
422
+ readonly tokenFamily: "opacity";
423
+ readonly authoringEffect: "element";
424
+ readonly authoringValue: {
425
+ readonly kind: "number";
426
+ readonly min: 0;
427
+ readonly max: 100;
428
+ readonly step: 1;
429
+ };
430
+ readonly resolve: (v: string) => string;
431
+ };
432
+ readonly textStyle: {
433
+ readonly tokenFamily: "text";
434
+ readonly authoringEffect: "text-style";
435
+ readonly responsive: true;
436
+ readonly resolve: (v: string) => string;
437
+ };
438
+ readonly titleStyle: {
439
+ readonly tokenFamily: "title";
440
+ readonly authoringEffect: "text-style";
441
+ readonly responsive: true;
442
+ readonly resolve: (v: string) => string;
443
+ };
444
+ readonly textAlign: {
445
+ readonly tokenFamily: "textAlign";
446
+ readonly authoringEffect: "text-alignment";
447
+ readonly addNoneasOmit: true;
448
+ readonly responsive: true;
449
+ readonly resolve: (v: string) => string;
450
+ };
451
+ readonly textSize: {
452
+ readonly tokenFamily: "textSize";
453
+ readonly authoringEffect: "text";
454
+ readonly responsive: true;
455
+ readonly authoringValue: {
456
+ readonly kind: "number";
457
+ readonly min: 1;
458
+ readonly step: 1;
459
+ };
460
+ readonly private: true;
461
+ readonly resolve: (v: string) => string;
462
+ };
463
+ readonly textTransform: {
464
+ readonly tokenFamily: "textTransform";
465
+ readonly authoringEffect: "text";
466
+ readonly responsive: false;
467
+ readonly addNoneasOmit: true;
468
+ readonly resolve: (v: string) => string;
469
+ };
470
+ readonly fontWeight: {
471
+ readonly tokenFamily: "fontWeight";
472
+ readonly authoringEffect: "text";
473
+ readonly responsive: true;
474
+ readonly private: true;
475
+ readonly resolve: (v: string) => string;
476
+ };
477
+ readonly fontFamily: {
478
+ readonly tokenFamily: "font";
479
+ readonly authoringEffect: "text";
480
+ readonly responsive: true;
481
+ readonly private: true;
482
+ readonly resolve: (v: string) => string;
483
+ };
484
+ readonly leading: {
485
+ readonly tokenFamily: "leading";
486
+ readonly authoringEffect: "text";
487
+ readonly responsive: true;
488
+ readonly authoringValue: {
489
+ readonly kind: "number";
490
+ readonly min: 0;
491
+ readonly step: 0.001;
492
+ };
493
+ readonly private: true;
494
+ readonly resolve: (v: string) => string;
495
+ };
496
+ readonly tracking: {
497
+ readonly tokenFamily: "tracking";
498
+ readonly authoringEffect: "text";
499
+ readonly responsive: true;
500
+ readonly authoringValue: {
501
+ readonly kind: "number";
502
+ readonly step: 0.001;
503
+ };
504
+ readonly private: true;
505
+ readonly resolve: (v: string) => string;
506
+ };
507
+ readonly shadow: {
508
+ readonly tokenFamily: "shadow";
509
+ readonly authoringEffect: "shadow";
510
+ readonly addNoneasOmit: true;
511
+ readonly resolve: (v: string) => string;
512
+ };
513
+ readonly shadowCompose: {
514
+ readonly tokenFamily: "shadowCompose";
515
+ readonly authoringEffect: "shadow";
516
+ readonly private: true;
517
+ readonly resolve: (v: string) => string;
518
+ };
519
+ readonly shadowX1: {
520
+ readonly tokenFamily: "shadowOffset";
521
+ readonly authoringEffect: "shadow";
522
+ readonly authoringValue: {
523
+ readonly kind: "number";
524
+ readonly step: 1;
525
+ };
526
+ readonly private: true;
527
+ readonly resolve: (v: string) => string;
528
+ };
529
+ readonly shadowY1: {
530
+ readonly tokenFamily: "shadowOffset";
531
+ readonly authoringEffect: "shadow";
532
+ readonly authoringValue: {
533
+ readonly kind: "number";
534
+ readonly step: 1;
535
+ };
536
+ readonly private: true;
537
+ readonly resolve: (v: string) => string;
538
+ };
539
+ readonly shadowBlur1: {
540
+ readonly tokenFamily: "shadowBlur";
541
+ readonly authoringEffect: "shadow";
542
+ readonly authoringValue: {
543
+ readonly kind: "number";
544
+ readonly min: 0;
545
+ readonly step: 1;
546
+ };
547
+ readonly private: true;
548
+ readonly resolve: (v: string) => string;
549
+ };
550
+ readonly shadowSpread1: {
551
+ readonly tokenFamily: "shadowSpread";
552
+ readonly authoringEffect: "shadow";
553
+ readonly authoringValue: {
554
+ readonly kind: "number";
555
+ readonly step: 1;
556
+ };
557
+ readonly private: true;
558
+ readonly resolve: (v: string) => string;
559
+ };
560
+ readonly shadowOpacity1: {
561
+ readonly tokenFamily: "shadowOpacity";
562
+ readonly authoringEffect: "shadow";
563
+ readonly authoringValue: {
564
+ readonly kind: "number";
565
+ readonly min: 0;
566
+ readonly max: 100;
567
+ readonly step: 1;
568
+ };
569
+ readonly private: true;
570
+ readonly resolve: (v: string) => string;
571
+ };
572
+ readonly shadowX2: {
573
+ readonly tokenFamily: "shadowOffset";
574
+ readonly authoringEffect: "shadow";
575
+ readonly authoringValue: {
576
+ readonly kind: "number";
577
+ readonly step: 1;
578
+ };
579
+ readonly private: true;
580
+ readonly resolve: (v: string) => string;
581
+ };
582
+ readonly shadowY2: {
583
+ readonly tokenFamily: "shadowOffset";
584
+ readonly authoringEffect: "shadow";
585
+ readonly authoringValue: {
586
+ readonly kind: "number";
587
+ readonly step: 1;
588
+ };
589
+ readonly private: true;
590
+ readonly resolve: (v: string) => string;
591
+ };
592
+ readonly shadowBlur2: {
593
+ readonly tokenFamily: "shadowBlur";
594
+ readonly authoringEffect: "shadow";
595
+ readonly authoringValue: {
596
+ readonly kind: "number";
597
+ readonly min: 0;
598
+ readonly step: 1;
599
+ };
600
+ readonly private: true;
601
+ readonly resolve: (v: string) => string;
602
+ };
603
+ readonly shadowSpread2: {
604
+ readonly tokenFamily: "shadowSpread";
605
+ readonly authoringEffect: "shadow";
606
+ readonly authoringValue: {
607
+ readonly kind: "number";
608
+ readonly step: 1;
609
+ };
610
+ readonly private: true;
611
+ readonly resolve: (v: string) => string;
612
+ };
613
+ readonly shadowOpacity2: {
614
+ readonly tokenFamily: "shadowOpacity";
615
+ readonly authoringEffect: "shadow";
616
+ readonly authoringValue: {
617
+ readonly kind: "number";
618
+ readonly min: 0;
619
+ readonly max: 100;
620
+ readonly step: 1;
621
+ };
622
+ readonly private: true;
623
+ readonly resolve: (v: string) => string;
624
+ };
625
+ readonly shadowColor: {
626
+ readonly tokenFamily: "color";
627
+ readonly authoringEffect: "shadow";
628
+ readonly resolve: (v: string) => string;
629
+ };
630
+ readonly ring: {
631
+ readonly tokenFamily: "ringWidth";
632
+ readonly authoringEffect: "ring";
633
+ readonly authoringValue: {
634
+ readonly kind: "number";
635
+ readonly min: 0;
636
+ readonly step: 1;
637
+ };
638
+ readonly resolve: (v: string) => string;
639
+ };
640
+ readonly ringColor: {
641
+ readonly tokenFamily: "color";
642
+ readonly authoringEffect: "ring";
643
+ readonly addNoneasOmit: true;
644
+ readonly resolve: (v: string) => string;
645
+ };
646
+ readonly z: {
647
+ readonly tokenFamily: "zIndex";
648
+ readonly authoringEffect: "element";
649
+ readonly addNoneasOmit: true;
650
+ readonly resolve: (v: string) => string;
651
+ };
652
+ readonly inset: {
653
+ readonly tokenFamily: "inset";
654
+ readonly authoringEffect: "element";
655
+ readonly resolve: (v: string) => string;
656
+ };
657
+ readonly insetX: {
658
+ readonly tokenFamily: "inset";
659
+ readonly authoringEffect: "element";
660
+ readonly resolve: (v: string) => string;
661
+ };
662
+ readonly insetY: {
663
+ readonly tokenFamily: "inset";
664
+ readonly authoringEffect: "element";
665
+ readonly resolve: (v: string) => string;
666
+ };
667
+ readonly top: {
668
+ readonly tokenFamily: "inset";
669
+ readonly authoringEffect: "element";
670
+ readonly resolve: (v: string) => string;
671
+ };
672
+ readonly right: {
673
+ readonly tokenFamily: "inset";
674
+ readonly authoringEffect: "element";
675
+ readonly resolve: (v: string) => string;
676
+ };
677
+ readonly bottom: {
678
+ readonly tokenFamily: "inset";
679
+ readonly authoringEffect: "element";
680
+ readonly resolve: (v: string) => string;
681
+ };
682
+ readonly left: {
683
+ readonly tokenFamily: "inset";
684
+ readonly authoringEffect: "element";
685
+ readonly resolve: (v: string) => string;
686
+ };
687
+ readonly align: {
688
+ readonly tokenFamily: "align";
689
+ readonly authoringEffect: "alignment";
690
+ readonly resolve: (v: string) => string;
691
+ };
692
+ readonly aspect: {
693
+ readonly tokenFamily: "aspect";
694
+ readonly authoringEffect: "element";
695
+ readonly addNoneasOmit: true;
696
+ readonly resolve: (v: string) => string;
697
+ };
698
+ };
699
+ export type RuntimeDesignOp = keyof typeof OP_CONFIG & string;
700
+ export type PublicDesignOp = {
701
+ [Op in RuntimeDesignOp]: (typeof OP_CONFIG)[Op] extends {
702
+ private: true;
703
+ } ? never : Op;
704
+ }[RuntimeDesignOp] & string;
705
+ export type DesignOp = PublicDesignOp;
706
+ export declare const DESIGN_OPS: readonly RuntimeDesignOp[];
707
+ export type RuntimeDesignOpAuthoringEffectMap = Readonly<Partial<Record<RuntimeDesignOp, AuthoringEffectKind>>>;
708
+ export declare const AUTHORING_EFFECTS_BY_OP: RuntimeDesignOpAuthoringEffectMap;
709
+ export declare const PUBLIC_DESIGN_OPS: PublicDesignOp[];
710
+ export type DesignOpTokenFamily<Op extends RuntimeDesignOp> = (typeof OP_CONFIG)[Op]['tokenFamily'];
711
+ export declare function getTokenFamilyForDesignOp<Op extends RuntimeDesignOp>(op: Op): DesignOpTokenFamily<Op>;