@animus-ui/system 0.1.0-next.10 → 0.1.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Animus.d.ts +37 -27
- package/dist/Animus.d.ts.map +1 -1
- package/dist/AnimusExtended.d.ts +33 -24
- package/dist/AnimusExtended.d.ts.map +1 -1
- package/dist/SystemBuilder.d.ts +1 -2
- package/dist/SystemBuilder.d.ts.map +1 -1
- package/dist/groups/index.d.ts +50 -26
- package/dist/groups/index.d.ts.map +1 -1
- package/dist/groups/index.js +50 -26
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +351 -26
- package/dist/runtime/index.d.ts +5 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/theme/createTheme.d.ts +5 -2
- package/dist/theme/createTheme.d.ts.map +1 -1
- package/dist/transforms/createTransform.d.ts +3 -1
- package/dist/transforms/createTransform.d.ts.map +1 -1
- package/dist/types/component.d.ts +13 -14
- package/dist/types/component.d.ts.map +1 -1
- package/dist/types/config.d.ts +6 -2
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/theme.d.ts +17 -0
- package/dist/types/theme.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/groups/index.js
CHANGED
|
@@ -17,29 +17,29 @@ const color = {
|
|
|
17
17
|
property: "borderColor",
|
|
18
18
|
scale: "colors"
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
borderXColor: {
|
|
21
21
|
property: "borderColor",
|
|
22
22
|
properties: ["borderLeftColor", "borderRightColor"],
|
|
23
23
|
scale: "colors"
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
borderYColor: {
|
|
26
26
|
property: "borderColor",
|
|
27
27
|
properties: ["borderTopColor", "borderBottomColor"],
|
|
28
28
|
scale: "colors"
|
|
29
29
|
},
|
|
30
|
-
|
|
30
|
+
borderLeftColor: {
|
|
31
31
|
property: "borderLeftColor",
|
|
32
32
|
scale: "colors"
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
borderRightColor: {
|
|
35
35
|
property: "borderRightColor",
|
|
36
36
|
scale: "colors"
|
|
37
37
|
},
|
|
38
|
-
|
|
38
|
+
borderTopColor: {
|
|
39
39
|
property: "borderTopColor",
|
|
40
40
|
scale: "colors"
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
borderBottomColor: {
|
|
43
43
|
property: "borderBottomColor",
|
|
44
44
|
scale: "colors"
|
|
45
45
|
},
|
|
@@ -94,29 +94,29 @@ const border = {
|
|
|
94
94
|
property: "borderWidth",
|
|
95
95
|
scale: "borderWidths"
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
borderXWidth: {
|
|
98
98
|
property: "borderWidth",
|
|
99
99
|
properties: ["borderLeftWidth", "borderRightWidth"],
|
|
100
100
|
scale: "borderWidths"
|
|
101
101
|
},
|
|
102
|
-
|
|
102
|
+
borderYWidth: {
|
|
103
103
|
property: "borderWidth",
|
|
104
104
|
properties: ["borderTopWidth", "borderBottomWidth"],
|
|
105
105
|
scale: "borderWidths"
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
borderLeftWidth: {
|
|
108
108
|
property: "borderLeftWidth",
|
|
109
109
|
scale: "borderWidths"
|
|
110
110
|
},
|
|
111
|
-
|
|
111
|
+
borderRightWidth: {
|
|
112
112
|
property: "borderRightWidth",
|
|
113
113
|
scale: "borderWidths"
|
|
114
114
|
},
|
|
115
|
-
|
|
115
|
+
borderTopWidth: {
|
|
116
116
|
property: "borderTopWidth",
|
|
117
117
|
scale: "borderWidths"
|
|
118
118
|
},
|
|
119
|
-
|
|
119
|
+
borderBottomWidth: {
|
|
120
120
|
property: "borderBottomWidth",
|
|
121
121
|
scale: "borderWidths"
|
|
122
122
|
},
|
|
@@ -125,63 +125,63 @@ const border = {
|
|
|
125
125
|
scale: "radii",
|
|
126
126
|
transform: size
|
|
127
127
|
},
|
|
128
|
-
|
|
128
|
+
borderLeftRadius: {
|
|
129
129
|
property: "borderRadius",
|
|
130
130
|
properties: ["borderTopLeftRadius", "borderBottomLeftRadius"],
|
|
131
131
|
scale: "radii",
|
|
132
132
|
transform: size
|
|
133
133
|
},
|
|
134
|
-
|
|
134
|
+
borderTopRadius: {
|
|
135
135
|
property: "borderRadius",
|
|
136
136
|
properties: ["borderTopLeftRadius", "borderTopRightRadius"],
|
|
137
137
|
scale: "radii",
|
|
138
138
|
transform: size
|
|
139
139
|
},
|
|
140
|
-
|
|
140
|
+
borderBottomRadius: {
|
|
141
141
|
property: "borderRadius",
|
|
142
142
|
properties: ["borderBottomLeftRadius", "borderBottomRightRadius"],
|
|
143
143
|
scale: "radii",
|
|
144
144
|
transform: size
|
|
145
145
|
},
|
|
146
|
-
|
|
146
|
+
borderRightRadius: {
|
|
147
147
|
property: "borderRadius",
|
|
148
148
|
properties: ["borderTopRightRadius", "borderBottomRightRadius"],
|
|
149
149
|
scale: "radii",
|
|
150
150
|
transform: size
|
|
151
151
|
},
|
|
152
|
-
|
|
152
|
+
borderTopLeftRadius: {
|
|
153
153
|
property: "borderTopLeftRadius",
|
|
154
154
|
scale: "radii",
|
|
155
155
|
transform: size
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
borderTopRightRadius: {
|
|
158
158
|
property: "borderTopRightRadius",
|
|
159
159
|
scale: "radii",
|
|
160
160
|
transform: size
|
|
161
161
|
},
|
|
162
|
-
|
|
162
|
+
borderBottomRightRadius: {
|
|
163
163
|
property: "borderBottomRightRadius",
|
|
164
164
|
scale: "radii",
|
|
165
165
|
transform: size
|
|
166
166
|
},
|
|
167
|
-
|
|
167
|
+
borderBottomLeftRadius: {
|
|
168
168
|
property: "borderBottomLeftRadius",
|
|
169
169
|
scale: "radii",
|
|
170
170
|
transform: size
|
|
171
171
|
},
|
|
172
172
|
borderStyle: { property: "borderStyle" },
|
|
173
|
-
|
|
173
|
+
borderXStyle: {
|
|
174
174
|
property: "borderStyle",
|
|
175
175
|
properties: ["borderLeftStyle", "borderRightStyle"]
|
|
176
176
|
},
|
|
177
|
-
|
|
177
|
+
borderYStyle: {
|
|
178
178
|
property: "borderStyle",
|
|
179
179
|
properties: ["borderTopStyle", "borderBottomStyle"]
|
|
180
180
|
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
borderLeftStyle: { property: "borderLeftStyle" },
|
|
182
|
+
borderRightStyle: { property: "borderRightStyle" },
|
|
183
|
+
borderTopStyle: { property: "borderTopStyle" },
|
|
184
|
+
borderBottomStyle: { property: "borderBottomStyle" }
|
|
185
185
|
};
|
|
186
186
|
const gaps = {
|
|
187
187
|
gap: {
|
|
@@ -337,26 +337,50 @@ const layout = {
|
|
|
337
337
|
property: "width",
|
|
338
338
|
transform: size
|
|
339
339
|
},
|
|
340
|
+
w: {
|
|
341
|
+
property: "width",
|
|
342
|
+
transform: size
|
|
343
|
+
},
|
|
340
344
|
minWidth: {
|
|
341
345
|
property: "minWidth",
|
|
342
346
|
transform: size
|
|
343
347
|
},
|
|
348
|
+
minW: {
|
|
349
|
+
property: "minWidth",
|
|
350
|
+
transform: size
|
|
351
|
+
},
|
|
344
352
|
maxWidth: {
|
|
345
353
|
property: "maxWidth",
|
|
346
354
|
transform: size
|
|
347
355
|
},
|
|
356
|
+
maxW: {
|
|
357
|
+
property: "maxWidth",
|
|
358
|
+
transform: size
|
|
359
|
+
},
|
|
348
360
|
height: {
|
|
349
361
|
property: "height",
|
|
350
362
|
transform: size
|
|
351
363
|
},
|
|
364
|
+
h: {
|
|
365
|
+
property: "height",
|
|
366
|
+
transform: size
|
|
367
|
+
},
|
|
352
368
|
minHeight: {
|
|
353
369
|
property: "minHeight",
|
|
354
370
|
transform: size
|
|
355
371
|
},
|
|
372
|
+
minH: {
|
|
373
|
+
property: "minHeight",
|
|
374
|
+
transform: size
|
|
375
|
+
},
|
|
356
376
|
maxHeight: {
|
|
357
377
|
property: "maxHeight",
|
|
358
378
|
transform: size
|
|
359
379
|
},
|
|
380
|
+
maxH: {
|
|
381
|
+
property: "maxHeight",
|
|
382
|
+
transform: size
|
|
383
|
+
},
|
|
360
384
|
verticalAlign: { property: "verticalAlign" },
|
|
361
385
|
...selfAlignments,
|
|
362
386
|
...gridItems,
|
package/dist/index.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ export { createTransform, type NamedTransform, type TransformFn, } from './trans
|
|
|
12
12
|
export { gridItem, gridItemRatio } from './transforms/grid';
|
|
13
13
|
export { percentageOrAbsolute, size } from './transforms/size';
|
|
14
14
|
export type { AnimusComponent, AnimusWrappedComponent, } from './types/component';
|
|
15
|
-
export type { AbstractParser, CSSPropMap, CSSProps, Parser, ParserProps, Prop, PropertyValues, Scale, ScaleValue, SystemProps, ThemedCSSPropMap, ThemedCSSProps, ThemedScale, ThemedScaleValue, VariantConfig, } from './types/config';
|
|
15
|
+
export type { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Parser, ParserProps, Prop, PropertyValues, Scale, ScaleValue, SystemProps, ThemedCSSPropMap, ThemedCSSProps, ThemedScale, ThemedScaleValue, VariantConfig, } from './types/config';
|
|
16
16
|
export type { AbstractProps, MediaQueryArray, MediaQueryMap, ResponsiveProp, ThemeProps, } from './types/props';
|
|
17
17
|
export type { ArrayScale, MapScale } from './types/scales';
|
|
18
18
|
export type { CSSObject } from './types/shared';
|
|
19
|
-
export type { AbstractTheme, BaseTheme, Breakpoints, Theme, TokenScales, } from './types/theme';
|
|
19
|
+
export type { AbstractTheme, BaseTheme, Breakpoints, CSSColorValue, Theme, ThemeManifest, TokenScales, } from './types/theme';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,kBA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