@animus-ui/core 0.1.1-beta.8 → 0.1.1-c5e4903f.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.
- package/CHANGELOG.md +112 -0
- package/dist/Animus.d.ts +18 -5
- package/dist/AnimusConfig.d.ts +1 -1
- package/dist/AnimusExtended.d.ts +48 -0
- package/dist/compatTheme.d.ts +22 -14
- package/dist/config.d.ts +273 -145
- package/dist/index.d.ts +135 -70
- package/dist/index.js +2245 -0
- package/dist/legacy/config.d.ts +13 -12
- package/dist/legacy/core.d.ts +3 -3
- package/dist/legacy/createParser.d.ts +0 -7
- package/dist/legacy/responsive.d.ts +2 -2
- package/dist/properties/styledOptions.d.ts +3 -3
- package/dist/scales/createScale.d.ts +3 -0
- package/dist/styles/createParser.d.ts +1 -8
- package/dist/styles/createPropertyStyle.d.ts +3 -2
- package/dist/styles/createStylist.d.ts +1 -1
- package/dist/styles/responsive.d.ts +1 -1
- package/dist/types/config.d.ts +17 -11
- package/dist/types/properties.d.ts +11 -14
- package/dist/types/props.d.ts +3 -12
- package/dist/types/scales.d.ts +2 -2
- package/dist/types/shared.d.ts +1 -1
- package/dist/types/utils.d.ts +4 -4
- package/package.json +10 -8
- package/rollup.config.js +2 -2
- package/tsconfig.json +4 -2
- package/dist/index.cjs.js +0 -1
- package/dist/index.esm.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,19 +8,21 @@ export * from './createAnimus';
|
|
|
8
8
|
export * from './transforms';
|
|
9
9
|
export * from './legacy/core';
|
|
10
10
|
export * from './compatTheme';
|
|
11
|
+
/** Export extendable config */
|
|
11
12
|
export { config } from './config';
|
|
13
|
+
/** Export full builder */
|
|
12
14
|
export declare const animus: import("./Animus").Animus<{
|
|
13
15
|
readonly gap: {
|
|
14
16
|
readonly property: "gap";
|
|
15
|
-
readonly scale: "
|
|
17
|
+
readonly scale: "space";
|
|
16
18
|
};
|
|
17
19
|
readonly rowGap: {
|
|
18
20
|
readonly property: "rowGap";
|
|
19
|
-
readonly scale: "
|
|
21
|
+
readonly scale: "space";
|
|
20
22
|
};
|
|
21
23
|
readonly columnGap: {
|
|
22
24
|
readonly property: "columnGap";
|
|
23
|
-
readonly scale: "
|
|
25
|
+
readonly scale: "space";
|
|
24
26
|
};
|
|
25
27
|
readonly flexBasis: {
|
|
26
28
|
readonly property: "flexBasis";
|
|
@@ -144,76 +146,76 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
144
146
|
};
|
|
145
147
|
readonly p: {
|
|
146
148
|
readonly property: "padding";
|
|
147
|
-
readonly scale: "
|
|
149
|
+
readonly scale: "space";
|
|
148
150
|
};
|
|
149
151
|
readonly px: {
|
|
150
152
|
readonly property: "padding";
|
|
151
153
|
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
152
|
-
readonly scale: "
|
|
154
|
+
readonly scale: "space";
|
|
153
155
|
};
|
|
154
156
|
readonly py: {
|
|
155
157
|
readonly property: "padding";
|
|
156
158
|
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
157
|
-
readonly scale: "
|
|
159
|
+
readonly scale: "space";
|
|
158
160
|
};
|
|
159
161
|
readonly pt: {
|
|
160
162
|
readonly property: "paddingTop";
|
|
161
|
-
readonly scale: "
|
|
163
|
+
readonly scale: "space";
|
|
162
164
|
};
|
|
163
165
|
readonly pb: {
|
|
164
166
|
readonly property: "paddingBottom";
|
|
165
|
-
readonly scale: "
|
|
167
|
+
readonly scale: "space";
|
|
166
168
|
};
|
|
167
169
|
readonly pr: {
|
|
168
170
|
readonly property: "paddingRight";
|
|
169
|
-
readonly scale: "
|
|
171
|
+
readonly scale: "space";
|
|
170
172
|
};
|
|
171
173
|
readonly pl: {
|
|
172
174
|
readonly property: "paddingLeft";
|
|
173
|
-
readonly scale: "
|
|
175
|
+
readonly scale: "space";
|
|
174
176
|
};
|
|
175
177
|
readonly m: {
|
|
176
178
|
readonly property: "margin";
|
|
177
|
-
readonly scale: "
|
|
179
|
+
readonly scale: "space";
|
|
178
180
|
};
|
|
179
181
|
readonly mx: {
|
|
180
182
|
readonly property: "margin";
|
|
181
183
|
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
182
|
-
readonly scale: "
|
|
184
|
+
readonly scale: "space";
|
|
183
185
|
};
|
|
184
186
|
readonly my: {
|
|
185
187
|
readonly property: "margin";
|
|
186
188
|
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
187
|
-
readonly scale: "
|
|
189
|
+
readonly scale: "space";
|
|
188
190
|
};
|
|
189
191
|
readonly mt: {
|
|
190
192
|
readonly property: "marginTop";
|
|
191
|
-
readonly scale: "
|
|
193
|
+
readonly scale: "space";
|
|
192
194
|
};
|
|
193
195
|
readonly mb: {
|
|
194
196
|
readonly property: "marginBottom";
|
|
195
|
-
readonly scale: "
|
|
197
|
+
readonly scale: "space";
|
|
196
198
|
};
|
|
197
199
|
readonly mr: {
|
|
198
200
|
readonly property: "marginRight";
|
|
199
|
-
readonly scale: "
|
|
201
|
+
readonly scale: "space";
|
|
200
202
|
};
|
|
201
203
|
readonly ml: {
|
|
202
204
|
readonly property: "marginLeft";
|
|
203
|
-
readonly scale: "
|
|
205
|
+
readonly scale: "space";
|
|
204
206
|
};
|
|
205
207
|
readonly color: {
|
|
206
208
|
readonly property: "color";
|
|
207
209
|
readonly scale: "colors";
|
|
208
210
|
};
|
|
209
|
-
readonly textColor: {
|
|
210
|
-
readonly property: "color";
|
|
211
|
-
readonly scale: "colors";
|
|
212
|
-
};
|
|
213
211
|
readonly bg: {
|
|
214
212
|
readonly property: "backgroundColor";
|
|
215
213
|
readonly scale: "colors";
|
|
216
214
|
};
|
|
215
|
+
readonly gradient: {
|
|
216
|
+
readonly property: "backgroundImage";
|
|
217
|
+
readonly scale: "gradients";
|
|
218
|
+
};
|
|
217
219
|
readonly borderColor: {
|
|
218
220
|
readonly property: "borderColor";
|
|
219
221
|
readonly scale: "colors";
|
|
@@ -244,6 +246,14 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
244
246
|
readonly property: "borderBottomColor";
|
|
245
247
|
readonly scale: "colors";
|
|
246
248
|
};
|
|
249
|
+
readonly fill: {
|
|
250
|
+
readonly property: "fill";
|
|
251
|
+
readonly scale: "colors";
|
|
252
|
+
};
|
|
253
|
+
readonly stroke: {
|
|
254
|
+
readonly property: "stroke";
|
|
255
|
+
readonly scale: "colors";
|
|
256
|
+
};
|
|
247
257
|
readonly display: {
|
|
248
258
|
readonly property: "display";
|
|
249
259
|
};
|
|
@@ -327,75 +337,82 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
327
337
|
};
|
|
328
338
|
readonly borderWidth: {
|
|
329
339
|
readonly property: "borderWidth";
|
|
340
|
+
readonly scale: "borderWidths";
|
|
330
341
|
};
|
|
331
342
|
readonly borderWidthX: {
|
|
332
343
|
readonly property: "borderWidth";
|
|
333
344
|
readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
345
|
+
readonly scale: "borderWidths";
|
|
334
346
|
};
|
|
335
347
|
readonly borderWidthY: {
|
|
336
348
|
readonly property: "borderWidth";
|
|
337
349
|
readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
350
|
+
readonly scale: "borderWidths";
|
|
338
351
|
};
|
|
339
352
|
readonly borderWidthLeft: {
|
|
340
353
|
readonly property: "borderLeftWidth";
|
|
354
|
+
readonly scale: "borderWidths";
|
|
341
355
|
};
|
|
342
356
|
readonly borderWidthRight: {
|
|
343
357
|
readonly property: "borderRightWidth";
|
|
358
|
+
readonly scale: "borderWidths";
|
|
344
359
|
};
|
|
345
360
|
readonly borderWidthTop: {
|
|
346
361
|
readonly property: "borderTopWidth";
|
|
362
|
+
readonly scale: "borderWidths";
|
|
347
363
|
};
|
|
348
364
|
readonly borderWidthBottom: {
|
|
349
365
|
readonly property: "borderBottomWidth";
|
|
366
|
+
readonly scale: "borderWidths";
|
|
350
367
|
};
|
|
351
368
|
readonly borderRadius: {
|
|
352
369
|
readonly property: "borderRadius";
|
|
353
370
|
readonly scale: "radii";
|
|
354
|
-
readonly transform: (
|
|
371
|
+
readonly transform: (value: string | number) => string | 0;
|
|
355
372
|
};
|
|
356
373
|
readonly borderRadiusLeft: {
|
|
357
374
|
readonly property: "borderRadius";
|
|
358
375
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
359
376
|
readonly scale: "radii";
|
|
360
|
-
readonly transform: (
|
|
377
|
+
readonly transform: (value: string | number) => string | 0;
|
|
361
378
|
};
|
|
362
379
|
readonly borderRadiusTop: {
|
|
363
380
|
readonly property: "borderRadius";
|
|
364
381
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
365
382
|
readonly scale: "radii";
|
|
366
|
-
readonly transform: (
|
|
383
|
+
readonly transform: (value: string | number) => string | 0;
|
|
367
384
|
};
|
|
368
385
|
readonly borderRadiusBottom: {
|
|
369
386
|
readonly property: "borderRadius";
|
|
370
387
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
371
388
|
readonly scale: "radii";
|
|
372
|
-
readonly transform: (
|
|
389
|
+
readonly transform: (value: string | number) => string | 0;
|
|
373
390
|
};
|
|
374
391
|
readonly borderRadiusRight: {
|
|
375
392
|
readonly property: "borderRadius";
|
|
376
393
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
377
394
|
readonly scale: "radii";
|
|
378
|
-
readonly transform: (
|
|
395
|
+
readonly transform: (value: string | number) => string | 0;
|
|
379
396
|
};
|
|
380
397
|
readonly borderRadiusTopLeft: {
|
|
381
398
|
readonly property: "borderTopLeftRadius";
|
|
382
399
|
readonly scale: "radii";
|
|
383
|
-
readonly transform: (
|
|
400
|
+
readonly transform: (value: string | number) => string | 0;
|
|
384
401
|
};
|
|
385
402
|
readonly borderRadiusTopRight: {
|
|
386
403
|
readonly property: "borderTopRightRadius";
|
|
387
404
|
readonly scale: "radii";
|
|
388
|
-
readonly transform: (
|
|
405
|
+
readonly transform: (value: string | number) => string | 0;
|
|
389
406
|
};
|
|
390
407
|
readonly borderRadiusBottomRight: {
|
|
391
408
|
readonly property: "borderBottomRightRadius";
|
|
392
409
|
readonly scale: "radii";
|
|
393
|
-
readonly transform: (
|
|
410
|
+
readonly transform: (value: string | number) => string | 0;
|
|
394
411
|
};
|
|
395
412
|
readonly borderRadiusBottomLeft: {
|
|
396
413
|
readonly property: "borderBottomLeftRadius";
|
|
397
414
|
readonly scale: "radii";
|
|
398
|
-
readonly transform: (
|
|
415
|
+
readonly transform: (value: string | number) => string | 0;
|
|
399
416
|
};
|
|
400
417
|
readonly borderStyle: {
|
|
401
418
|
readonly property: "borderStyle";
|
|
@@ -422,9 +439,11 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
422
439
|
};
|
|
423
440
|
readonly boxShadow: {
|
|
424
441
|
readonly property: "boxShadow";
|
|
442
|
+
readonly scale: "shadows";
|
|
425
443
|
};
|
|
426
444
|
readonly textShadow: {
|
|
427
445
|
readonly property: "textShadow";
|
|
446
|
+
readonly scale: "shadows";
|
|
428
447
|
};
|
|
429
448
|
readonly background: {
|
|
430
449
|
readonly property: "background";
|
|
@@ -443,23 +462,24 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
443
462
|
};
|
|
444
463
|
readonly fontFamily: {
|
|
445
464
|
readonly property: "fontFamily";
|
|
446
|
-
readonly scale: "
|
|
465
|
+
readonly scale: "fonts";
|
|
447
466
|
};
|
|
448
467
|
readonly fontWeight: {
|
|
449
468
|
readonly property: "fontWeight";
|
|
450
|
-
readonly scale: "
|
|
469
|
+
readonly scale: "fontWeights";
|
|
451
470
|
};
|
|
452
471
|
readonly lineHeight: {
|
|
453
472
|
readonly property: "lineHeight";
|
|
454
|
-
readonly scale: "
|
|
473
|
+
readonly scale: "lineHeights";
|
|
455
474
|
readonly lineHeight: "lineHeight";
|
|
456
475
|
};
|
|
457
476
|
readonly fontSize: {
|
|
458
477
|
readonly property: "fontSize";
|
|
459
|
-
readonly scale: "
|
|
478
|
+
readonly scale: "fontSizes";
|
|
460
479
|
};
|
|
461
480
|
readonly letterSpacing: {
|
|
462
481
|
readonly property: "letterSpacing";
|
|
482
|
+
readonly scale: "letterSpacings";
|
|
463
483
|
};
|
|
464
484
|
readonly textAlign: {
|
|
465
485
|
readonly property: "textAlign";
|
|
@@ -502,9 +522,22 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
502
522
|
};
|
|
503
523
|
readonly zIndex: {
|
|
504
524
|
readonly property: "zIndex";
|
|
525
|
+
readonly scale: "zIndices";
|
|
505
526
|
};
|
|
506
527
|
readonly opacity: {
|
|
507
528
|
readonly property: "opacity";
|
|
529
|
+
readonly scale: "opacities";
|
|
530
|
+
};
|
|
531
|
+
readonly transition: {
|
|
532
|
+
readonly property: "transition";
|
|
533
|
+
readonly scale: "transitions";
|
|
534
|
+
};
|
|
535
|
+
readonly animation: {
|
|
536
|
+
readonly property: "animation";
|
|
537
|
+
readonly scale: "animations";
|
|
538
|
+
};
|
|
539
|
+
readonly animationPlayState: {
|
|
540
|
+
readonly property: "animationPlayState";
|
|
508
541
|
};
|
|
509
542
|
}, {
|
|
510
543
|
flex: ("flex" | "flexDirection" | "flexWrap" | "justifyContent" | "justifyItems" | "alignItems" | "alignContent" | "justifySelf" | "alignSelf" | "gridArea" | "flexBasis" | "flexShrink" | "flexGrow" | "order" | "gap" | "rowGap" | "columnGap" | "area")[];
|
|
@@ -512,25 +545,26 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
512
545
|
mode: "mode"[];
|
|
513
546
|
vars: "vars"[];
|
|
514
547
|
space: ("px" | "p" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml")[];
|
|
515
|
-
color: ("color" | "borderColor" | "
|
|
548
|
+
color: ("color" | "borderColor" | "fill" | "stroke" | "bg" | "gradient" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom")[];
|
|
516
549
|
layout: ("justifySelf" | "alignSelf" | "gridArea" | "flexBasis" | "flexShrink" | "flexGrow" | "order" | "display" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflowX" | "overflowY" | "verticalAlign" | "width" | "gridColumn" | "gridRow" | "overflow" | "area" | "size")[];
|
|
517
550
|
borders: ("border" | "borderBottom" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom")[];
|
|
518
551
|
shadows: ("boxShadow" | "textShadow")[];
|
|
519
552
|
background: ("backgroundImage" | "backgroundRepeat" | "backgroundSize" | "background" | "backgroundPosition")[];
|
|
520
|
-
typography: ("
|
|
553
|
+
typography: ("fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "whiteSpace" | "textDecoration")[];
|
|
521
554
|
positioning: ("bottom" | "inset" | "left" | "opacity" | "position" | "right" | "top" | "zIndex")[];
|
|
555
|
+
transitions: ("animationPlayState" | "animation" | "transition")[];
|
|
522
556
|
}, import("./types/config").Parser<{
|
|
523
557
|
readonly gap: {
|
|
524
558
|
readonly property: "gap";
|
|
525
|
-
readonly scale: "
|
|
559
|
+
readonly scale: "space";
|
|
526
560
|
};
|
|
527
561
|
readonly rowGap: {
|
|
528
562
|
readonly property: "rowGap";
|
|
529
|
-
readonly scale: "
|
|
563
|
+
readonly scale: "space";
|
|
530
564
|
};
|
|
531
565
|
readonly columnGap: {
|
|
532
566
|
readonly property: "columnGap";
|
|
533
|
-
readonly scale: "
|
|
567
|
+
readonly scale: "space";
|
|
534
568
|
};
|
|
535
569
|
readonly flexBasis: {
|
|
536
570
|
readonly property: "flexBasis";
|
|
@@ -654,76 +688,76 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
654
688
|
};
|
|
655
689
|
readonly p: {
|
|
656
690
|
readonly property: "padding";
|
|
657
|
-
readonly scale: "
|
|
691
|
+
readonly scale: "space";
|
|
658
692
|
};
|
|
659
693
|
readonly px: {
|
|
660
694
|
readonly property: "padding";
|
|
661
695
|
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
662
|
-
readonly scale: "
|
|
696
|
+
readonly scale: "space";
|
|
663
697
|
};
|
|
664
698
|
readonly py: {
|
|
665
699
|
readonly property: "padding";
|
|
666
700
|
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
667
|
-
readonly scale: "
|
|
701
|
+
readonly scale: "space";
|
|
668
702
|
};
|
|
669
703
|
readonly pt: {
|
|
670
704
|
readonly property: "paddingTop";
|
|
671
|
-
readonly scale: "
|
|
705
|
+
readonly scale: "space";
|
|
672
706
|
};
|
|
673
707
|
readonly pb: {
|
|
674
708
|
readonly property: "paddingBottom";
|
|
675
|
-
readonly scale: "
|
|
709
|
+
readonly scale: "space";
|
|
676
710
|
};
|
|
677
711
|
readonly pr: {
|
|
678
712
|
readonly property: "paddingRight";
|
|
679
|
-
readonly scale: "
|
|
713
|
+
readonly scale: "space";
|
|
680
714
|
};
|
|
681
715
|
readonly pl: {
|
|
682
716
|
readonly property: "paddingLeft";
|
|
683
|
-
readonly scale: "
|
|
717
|
+
readonly scale: "space";
|
|
684
718
|
};
|
|
685
719
|
readonly m: {
|
|
686
720
|
readonly property: "margin";
|
|
687
|
-
readonly scale: "
|
|
721
|
+
readonly scale: "space";
|
|
688
722
|
};
|
|
689
723
|
readonly mx: {
|
|
690
724
|
readonly property: "margin";
|
|
691
725
|
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
692
|
-
readonly scale: "
|
|
726
|
+
readonly scale: "space";
|
|
693
727
|
};
|
|
694
728
|
readonly my: {
|
|
695
729
|
readonly property: "margin";
|
|
696
730
|
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
697
|
-
readonly scale: "
|
|
731
|
+
readonly scale: "space";
|
|
698
732
|
};
|
|
699
733
|
readonly mt: {
|
|
700
734
|
readonly property: "marginTop";
|
|
701
|
-
readonly scale: "
|
|
735
|
+
readonly scale: "space";
|
|
702
736
|
};
|
|
703
737
|
readonly mb: {
|
|
704
738
|
readonly property: "marginBottom";
|
|
705
|
-
readonly scale: "
|
|
739
|
+
readonly scale: "space";
|
|
706
740
|
};
|
|
707
741
|
readonly mr: {
|
|
708
742
|
readonly property: "marginRight";
|
|
709
|
-
readonly scale: "
|
|
743
|
+
readonly scale: "space";
|
|
710
744
|
};
|
|
711
745
|
readonly ml: {
|
|
712
746
|
readonly property: "marginLeft";
|
|
713
|
-
readonly scale: "
|
|
747
|
+
readonly scale: "space";
|
|
714
748
|
};
|
|
715
749
|
readonly color: {
|
|
716
750
|
readonly property: "color";
|
|
717
751
|
readonly scale: "colors";
|
|
718
752
|
};
|
|
719
|
-
readonly textColor: {
|
|
720
|
-
readonly property: "color";
|
|
721
|
-
readonly scale: "colors";
|
|
722
|
-
};
|
|
723
753
|
readonly bg: {
|
|
724
754
|
readonly property: "backgroundColor";
|
|
725
755
|
readonly scale: "colors";
|
|
726
756
|
};
|
|
757
|
+
readonly gradient: {
|
|
758
|
+
readonly property: "backgroundImage";
|
|
759
|
+
readonly scale: "gradients";
|
|
760
|
+
};
|
|
727
761
|
readonly borderColor: {
|
|
728
762
|
readonly property: "borderColor";
|
|
729
763
|
readonly scale: "colors";
|
|
@@ -754,6 +788,14 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
754
788
|
readonly property: "borderBottomColor";
|
|
755
789
|
readonly scale: "colors";
|
|
756
790
|
};
|
|
791
|
+
readonly fill: {
|
|
792
|
+
readonly property: "fill";
|
|
793
|
+
readonly scale: "colors";
|
|
794
|
+
};
|
|
795
|
+
readonly stroke: {
|
|
796
|
+
readonly property: "stroke";
|
|
797
|
+
readonly scale: "colors";
|
|
798
|
+
};
|
|
757
799
|
readonly display: {
|
|
758
800
|
readonly property: "display";
|
|
759
801
|
};
|
|
@@ -837,75 +879,82 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
837
879
|
};
|
|
838
880
|
readonly borderWidth: {
|
|
839
881
|
readonly property: "borderWidth";
|
|
882
|
+
readonly scale: "borderWidths";
|
|
840
883
|
};
|
|
841
884
|
readonly borderWidthX: {
|
|
842
885
|
readonly property: "borderWidth";
|
|
843
886
|
readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
887
|
+
readonly scale: "borderWidths";
|
|
844
888
|
};
|
|
845
889
|
readonly borderWidthY: {
|
|
846
890
|
readonly property: "borderWidth";
|
|
847
891
|
readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
892
|
+
readonly scale: "borderWidths";
|
|
848
893
|
};
|
|
849
894
|
readonly borderWidthLeft: {
|
|
850
895
|
readonly property: "borderLeftWidth";
|
|
896
|
+
readonly scale: "borderWidths";
|
|
851
897
|
};
|
|
852
898
|
readonly borderWidthRight: {
|
|
853
899
|
readonly property: "borderRightWidth";
|
|
900
|
+
readonly scale: "borderWidths";
|
|
854
901
|
};
|
|
855
902
|
readonly borderWidthTop: {
|
|
856
903
|
readonly property: "borderTopWidth";
|
|
904
|
+
readonly scale: "borderWidths";
|
|
857
905
|
};
|
|
858
906
|
readonly borderWidthBottom: {
|
|
859
907
|
readonly property: "borderBottomWidth";
|
|
908
|
+
readonly scale: "borderWidths";
|
|
860
909
|
};
|
|
861
910
|
readonly borderRadius: {
|
|
862
911
|
readonly property: "borderRadius";
|
|
863
912
|
readonly scale: "radii";
|
|
864
|
-
readonly transform: (
|
|
913
|
+
readonly transform: (value: string | number) => string | 0;
|
|
865
914
|
};
|
|
866
915
|
readonly borderRadiusLeft: {
|
|
867
916
|
readonly property: "borderRadius";
|
|
868
917
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
869
918
|
readonly scale: "radii";
|
|
870
|
-
readonly transform: (
|
|
919
|
+
readonly transform: (value: string | number) => string | 0;
|
|
871
920
|
};
|
|
872
921
|
readonly borderRadiusTop: {
|
|
873
922
|
readonly property: "borderRadius";
|
|
874
923
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
875
924
|
readonly scale: "radii";
|
|
876
|
-
readonly transform: (
|
|
925
|
+
readonly transform: (value: string | number) => string | 0;
|
|
877
926
|
};
|
|
878
927
|
readonly borderRadiusBottom: {
|
|
879
928
|
readonly property: "borderRadius";
|
|
880
929
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
881
930
|
readonly scale: "radii";
|
|
882
|
-
readonly transform: (
|
|
931
|
+
readonly transform: (value: string | number) => string | 0;
|
|
883
932
|
};
|
|
884
933
|
readonly borderRadiusRight: {
|
|
885
934
|
readonly property: "borderRadius";
|
|
886
935
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
887
936
|
readonly scale: "radii";
|
|
888
|
-
readonly transform: (
|
|
937
|
+
readonly transform: (value: string | number) => string | 0;
|
|
889
938
|
};
|
|
890
939
|
readonly borderRadiusTopLeft: {
|
|
891
940
|
readonly property: "borderTopLeftRadius";
|
|
892
941
|
readonly scale: "radii";
|
|
893
|
-
readonly transform: (
|
|
942
|
+
readonly transform: (value: string | number) => string | 0;
|
|
894
943
|
};
|
|
895
944
|
readonly borderRadiusTopRight: {
|
|
896
945
|
readonly property: "borderTopRightRadius";
|
|
897
946
|
readonly scale: "radii";
|
|
898
|
-
readonly transform: (
|
|
947
|
+
readonly transform: (value: string | number) => string | 0;
|
|
899
948
|
};
|
|
900
949
|
readonly borderRadiusBottomRight: {
|
|
901
950
|
readonly property: "borderBottomRightRadius";
|
|
902
951
|
readonly scale: "radii";
|
|
903
|
-
readonly transform: (
|
|
952
|
+
readonly transform: (value: string | number) => string | 0;
|
|
904
953
|
};
|
|
905
954
|
readonly borderRadiusBottomLeft: {
|
|
906
955
|
readonly property: "borderBottomLeftRadius";
|
|
907
956
|
readonly scale: "radii";
|
|
908
|
-
readonly transform: (
|
|
957
|
+
readonly transform: (value: string | number) => string | 0;
|
|
909
958
|
};
|
|
910
959
|
readonly borderStyle: {
|
|
911
960
|
readonly property: "borderStyle";
|
|
@@ -932,9 +981,11 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
932
981
|
};
|
|
933
982
|
readonly boxShadow: {
|
|
934
983
|
readonly property: "boxShadow";
|
|
984
|
+
readonly scale: "shadows";
|
|
935
985
|
};
|
|
936
986
|
readonly textShadow: {
|
|
937
987
|
readonly property: "textShadow";
|
|
988
|
+
readonly scale: "shadows";
|
|
938
989
|
};
|
|
939
990
|
readonly background: {
|
|
940
991
|
readonly property: "background";
|
|
@@ -953,23 +1004,24 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
953
1004
|
};
|
|
954
1005
|
readonly fontFamily: {
|
|
955
1006
|
readonly property: "fontFamily";
|
|
956
|
-
readonly scale: "
|
|
1007
|
+
readonly scale: "fonts";
|
|
957
1008
|
};
|
|
958
1009
|
readonly fontWeight: {
|
|
959
1010
|
readonly property: "fontWeight";
|
|
960
|
-
readonly scale: "
|
|
1011
|
+
readonly scale: "fontWeights";
|
|
961
1012
|
};
|
|
962
1013
|
readonly lineHeight: {
|
|
963
1014
|
readonly property: "lineHeight";
|
|
964
|
-
readonly scale: "
|
|
1015
|
+
readonly scale: "lineHeights";
|
|
965
1016
|
readonly lineHeight: "lineHeight";
|
|
966
1017
|
};
|
|
967
1018
|
readonly fontSize: {
|
|
968
1019
|
readonly property: "fontSize";
|
|
969
|
-
readonly scale: "
|
|
1020
|
+
readonly scale: "fontSizes";
|
|
970
1021
|
};
|
|
971
1022
|
readonly letterSpacing: {
|
|
972
1023
|
readonly property: "letterSpacing";
|
|
1024
|
+
readonly scale: "letterSpacings";
|
|
973
1025
|
};
|
|
974
1026
|
readonly textAlign: {
|
|
975
1027
|
readonly property: "textAlign";
|
|
@@ -1012,8 +1064,21 @@ export declare const animus: import("./Animus").Animus<{
|
|
|
1012
1064
|
};
|
|
1013
1065
|
readonly zIndex: {
|
|
1014
1066
|
readonly property: "zIndex";
|
|
1067
|
+
readonly scale: "zIndices";
|
|
1015
1068
|
};
|
|
1016
1069
|
readonly opacity: {
|
|
1017
1070
|
readonly property: "opacity";
|
|
1071
|
+
readonly scale: "opacities";
|
|
1072
|
+
};
|
|
1073
|
+
readonly transition: {
|
|
1074
|
+
readonly property: "transition";
|
|
1075
|
+
readonly scale: "transitions";
|
|
1076
|
+
};
|
|
1077
|
+
readonly animation: {
|
|
1078
|
+
readonly property: "animation";
|
|
1079
|
+
readonly scale: "animations";
|
|
1080
|
+
};
|
|
1081
|
+
readonly animationPlayState: {
|
|
1082
|
+
readonly property: "animationPlayState";
|
|
1018
1083
|
};
|
|
1019
1084
|
}>>;
|