@cronocode/react-box 2.0.1 → 2.0.3
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/components/baseSvg.d.ts +1 -1
- package/core/boxStyles.d.ts +57 -57
- package/core/types.d.ts +12 -23
- package/core.cjs +8 -8
- package/core.mjs +108 -94
- package/package.json +1 -1
package/components/baseSvg.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { BoxSvgStyles } from '../core/types';
|
|
|
3
3
|
import { BoxTagProps } from '../box';
|
|
4
4
|
|
|
5
5
|
type BoxSvgTagProps = Omit<BoxTagProps<'svg'>, 'viewBox' | 'width' | 'height'>;
|
|
6
|
-
interface Props extends BoxSvgStyles {
|
|
6
|
+
interface Props extends Omit<BoxSvgStyles, 'width' | 'height'> {
|
|
7
7
|
children?: React.ReactNode | ((props: {
|
|
8
8
|
isHover: boolean;
|
|
9
9
|
}) => React.ReactNode);
|
package/core/boxStyles.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare const simpleBoxStyles: {
|
|
|
68
68
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
69
69
|
};
|
|
70
70
|
values2: {
|
|
71
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
71
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
72
72
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
73
73
|
};
|
|
74
74
|
values3: {
|
|
@@ -83,7 +83,7 @@ export declare const simpleBoxStyles: {
|
|
|
83
83
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
84
84
|
};
|
|
85
85
|
values2: {
|
|
86
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
86
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
87
87
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
88
88
|
};
|
|
89
89
|
values3: {
|
|
@@ -98,7 +98,7 @@ export declare const simpleBoxStyles: {
|
|
|
98
98
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
99
99
|
};
|
|
100
100
|
values2: {
|
|
101
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
101
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
102
102
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
103
103
|
};
|
|
104
104
|
values3: {
|
|
@@ -113,7 +113,7 @@ export declare const simpleBoxStyles: {
|
|
|
113
113
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
114
114
|
};
|
|
115
115
|
values2: {
|
|
116
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
116
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
117
117
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
118
118
|
};
|
|
119
119
|
values3: {
|
|
@@ -128,7 +128,7 @@ export declare const simpleBoxStyles: {
|
|
|
128
128
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
129
129
|
};
|
|
130
130
|
values2: {
|
|
131
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
131
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
132
132
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
133
133
|
};
|
|
134
134
|
values3: {
|
|
@@ -143,7 +143,7 @@ export declare const simpleBoxStyles: {
|
|
|
143
143
|
formatValue: typeof BoxStylesFormatters.Value.widthHeight;
|
|
144
144
|
};
|
|
145
145
|
values2: {
|
|
146
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
146
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
147
147
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
148
148
|
};
|
|
149
149
|
values3: {
|
|
@@ -166,7 +166,7 @@ export declare const simpleBoxStyles: {
|
|
|
166
166
|
top: {
|
|
167
167
|
cssNames: string[];
|
|
168
168
|
values1: {
|
|
169
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
169
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
170
170
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
171
171
|
};
|
|
172
172
|
values2: {
|
|
@@ -179,7 +179,7 @@ export declare const simpleBoxStyles: {
|
|
|
179
179
|
right: {
|
|
180
180
|
cssNames: string[];
|
|
181
181
|
values1: {
|
|
182
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
182
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
183
183
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
184
184
|
};
|
|
185
185
|
values2: {
|
|
@@ -192,7 +192,7 @@ export declare const simpleBoxStyles: {
|
|
|
192
192
|
bottom: {
|
|
193
193
|
cssNames: string[];
|
|
194
194
|
values1: {
|
|
195
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
195
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
196
196
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
197
197
|
};
|
|
198
198
|
values2: {
|
|
@@ -205,7 +205,7 @@ export declare const simpleBoxStyles: {
|
|
|
205
205
|
left: {
|
|
206
206
|
cssNames: string[];
|
|
207
207
|
values1: {
|
|
208
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
208
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
209
209
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
210
210
|
};
|
|
211
211
|
values2: {
|
|
@@ -218,7 +218,7 @@ export declare const simpleBoxStyles: {
|
|
|
218
218
|
inset: {
|
|
219
219
|
cssNames: string[];
|
|
220
220
|
values1: {
|
|
221
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
221
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
222
222
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
223
223
|
};
|
|
224
224
|
values2: {
|
|
@@ -231,7 +231,7 @@ export declare const simpleBoxStyles: {
|
|
|
231
231
|
m: {
|
|
232
232
|
cssNames: string[];
|
|
233
233
|
values1: {
|
|
234
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
234
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
235
235
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
236
236
|
};
|
|
237
237
|
values2: {
|
|
@@ -244,7 +244,7 @@ export declare const simpleBoxStyles: {
|
|
|
244
244
|
mx: {
|
|
245
245
|
cssNames: string[];
|
|
246
246
|
values1: {
|
|
247
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
247
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
248
248
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
249
249
|
};
|
|
250
250
|
values2: {
|
|
@@ -257,7 +257,7 @@ export declare const simpleBoxStyles: {
|
|
|
257
257
|
my: {
|
|
258
258
|
cssNames: string[];
|
|
259
259
|
values1: {
|
|
260
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
260
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
261
261
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
262
262
|
};
|
|
263
263
|
values2: {
|
|
@@ -270,7 +270,7 @@ export declare const simpleBoxStyles: {
|
|
|
270
270
|
mt: {
|
|
271
271
|
cssNames: string[];
|
|
272
272
|
values1: {
|
|
273
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
273
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
274
274
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
275
275
|
};
|
|
276
276
|
values2: {
|
|
@@ -283,7 +283,7 @@ export declare const simpleBoxStyles: {
|
|
|
283
283
|
mr: {
|
|
284
284
|
cssNames: string[];
|
|
285
285
|
values1: {
|
|
286
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
286
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
287
287
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
288
288
|
};
|
|
289
289
|
values2: {
|
|
@@ -296,7 +296,7 @@ export declare const simpleBoxStyles: {
|
|
|
296
296
|
mb: {
|
|
297
297
|
cssNames: string[];
|
|
298
298
|
values1: {
|
|
299
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
299
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
300
300
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
301
301
|
};
|
|
302
302
|
values2: {
|
|
@@ -309,7 +309,7 @@ export declare const simpleBoxStyles: {
|
|
|
309
309
|
ml: {
|
|
310
310
|
cssNames: string[];
|
|
311
311
|
values1: {
|
|
312
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
312
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
313
313
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
314
314
|
};
|
|
315
315
|
values2: {
|
|
@@ -322,7 +322,7 @@ export declare const simpleBoxStyles: {
|
|
|
322
322
|
p: {
|
|
323
323
|
cssNames: string[];
|
|
324
324
|
values1: {
|
|
325
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
325
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
326
326
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
327
327
|
};
|
|
328
328
|
values2: {
|
|
@@ -335,7 +335,7 @@ export declare const simpleBoxStyles: {
|
|
|
335
335
|
px: {
|
|
336
336
|
cssNames: string[];
|
|
337
337
|
values1: {
|
|
338
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
338
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
339
339
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
340
340
|
};
|
|
341
341
|
values2: {
|
|
@@ -348,7 +348,7 @@ export declare const simpleBoxStyles: {
|
|
|
348
348
|
py: {
|
|
349
349
|
cssNames: string[];
|
|
350
350
|
values1: {
|
|
351
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
351
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
352
352
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
353
353
|
};
|
|
354
354
|
values2: {
|
|
@@ -361,7 +361,7 @@ export declare const simpleBoxStyles: {
|
|
|
361
361
|
pt: {
|
|
362
362
|
cssNames: string[];
|
|
363
363
|
values1: {
|
|
364
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
364
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
365
365
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
366
366
|
};
|
|
367
367
|
values2: {
|
|
@@ -374,7 +374,7 @@ export declare const simpleBoxStyles: {
|
|
|
374
374
|
pr: {
|
|
375
375
|
cssNames: string[];
|
|
376
376
|
values1: {
|
|
377
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
377
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
378
378
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
379
379
|
};
|
|
380
380
|
values2: {
|
|
@@ -387,7 +387,7 @@ export declare const simpleBoxStyles: {
|
|
|
387
387
|
pb: {
|
|
388
388
|
cssNames: string[];
|
|
389
389
|
values1: {
|
|
390
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
390
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
391
391
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
392
392
|
};
|
|
393
393
|
values2: {
|
|
@@ -400,7 +400,7 @@ export declare const simpleBoxStyles: {
|
|
|
400
400
|
pl: {
|
|
401
401
|
cssNames: string[];
|
|
402
402
|
values1: {
|
|
403
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
403
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
404
404
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
405
405
|
};
|
|
406
406
|
values2: {
|
|
@@ -413,7 +413,7 @@ export declare const simpleBoxStyles: {
|
|
|
413
413
|
b: {
|
|
414
414
|
cssNames: string[];
|
|
415
415
|
values1: {
|
|
416
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
416
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
417
417
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
418
418
|
};
|
|
419
419
|
values2: {
|
|
@@ -426,7 +426,7 @@ export declare const simpleBoxStyles: {
|
|
|
426
426
|
bx: {
|
|
427
427
|
cssNames: string[];
|
|
428
428
|
values1: {
|
|
429
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
429
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
430
430
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
431
431
|
};
|
|
432
432
|
values2: {
|
|
@@ -439,7 +439,7 @@ export declare const simpleBoxStyles: {
|
|
|
439
439
|
by: {
|
|
440
440
|
cssNames: string[];
|
|
441
441
|
values1: {
|
|
442
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
442
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
443
443
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
444
444
|
};
|
|
445
445
|
values2: {
|
|
@@ -452,7 +452,7 @@ export declare const simpleBoxStyles: {
|
|
|
452
452
|
bt: {
|
|
453
453
|
cssNames: string[];
|
|
454
454
|
values1: {
|
|
455
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
455
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
456
456
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
457
457
|
};
|
|
458
458
|
values2: {
|
|
@@ -465,7 +465,7 @@ export declare const simpleBoxStyles: {
|
|
|
465
465
|
br: {
|
|
466
466
|
cssNames: string[];
|
|
467
467
|
values1: {
|
|
468
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
468
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
469
469
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
470
470
|
};
|
|
471
471
|
values2: {
|
|
@@ -478,7 +478,7 @@ export declare const simpleBoxStyles: {
|
|
|
478
478
|
bb: {
|
|
479
479
|
cssNames: string[];
|
|
480
480
|
values1: {
|
|
481
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
481
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
482
482
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
483
483
|
};
|
|
484
484
|
values2: {
|
|
@@ -491,7 +491,7 @@ export declare const simpleBoxStyles: {
|
|
|
491
491
|
bl: {
|
|
492
492
|
cssNames: string[];
|
|
493
493
|
values1: {
|
|
494
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
494
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -44, -48, -52, -56, -60, -64, -68, -72, -76, -80, -84, -88, -92, -96, -100];
|
|
495
495
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
496
496
|
};
|
|
497
497
|
values2: {
|
|
@@ -516,7 +516,7 @@ export declare const simpleBoxStyles: {
|
|
|
516
516
|
borderRadius: {
|
|
517
517
|
cssNames: string[];
|
|
518
518
|
values1: {
|
|
519
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
519
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
520
520
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
521
521
|
};
|
|
522
522
|
values2: {
|
|
@@ -529,7 +529,7 @@ export declare const simpleBoxStyles: {
|
|
|
529
529
|
borderRadiusTop: {
|
|
530
530
|
cssNames: string[];
|
|
531
531
|
values1: {
|
|
532
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
532
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
533
533
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
534
534
|
};
|
|
535
535
|
values2: {
|
|
@@ -542,7 +542,7 @@ export declare const simpleBoxStyles: {
|
|
|
542
542
|
borderRadiusRight: {
|
|
543
543
|
cssNames: string[];
|
|
544
544
|
values1: {
|
|
545
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
545
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
546
546
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
547
547
|
};
|
|
548
548
|
values2: {
|
|
@@ -555,7 +555,7 @@ export declare const simpleBoxStyles: {
|
|
|
555
555
|
borderRadiusBottom: {
|
|
556
556
|
cssNames: string[];
|
|
557
557
|
values1: {
|
|
558
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
558
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
559
559
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
560
560
|
};
|
|
561
561
|
values2: {
|
|
@@ -568,7 +568,7 @@ export declare const simpleBoxStyles: {
|
|
|
568
568
|
borderRadiusLeft: {
|
|
569
569
|
cssNames: string[];
|
|
570
570
|
values1: {
|
|
571
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
571
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
572
572
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
573
573
|
};
|
|
574
574
|
values2: {
|
|
@@ -581,7 +581,7 @@ export declare const simpleBoxStyles: {
|
|
|
581
581
|
borderRadiusTopLeft: {
|
|
582
582
|
cssNames: string[];
|
|
583
583
|
values1: {
|
|
584
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
584
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
585
585
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
586
586
|
};
|
|
587
587
|
values2: {
|
|
@@ -594,7 +594,7 @@ export declare const simpleBoxStyles: {
|
|
|
594
594
|
borderRadiusTopRight: {
|
|
595
595
|
cssNames: string[];
|
|
596
596
|
values1: {
|
|
597
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
597
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
598
598
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
599
599
|
};
|
|
600
600
|
values2: {
|
|
@@ -607,7 +607,7 @@ export declare const simpleBoxStyles: {
|
|
|
607
607
|
borderRadiusBottomLeft: {
|
|
608
608
|
cssNames: string[];
|
|
609
609
|
values1: {
|
|
610
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
610
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
611
611
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
612
612
|
};
|
|
613
613
|
values2: {
|
|
@@ -620,7 +620,7 @@ export declare const simpleBoxStyles: {
|
|
|
620
620
|
borderRadiusBottomRight: {
|
|
621
621
|
cssNames: string[];
|
|
622
622
|
values1: {
|
|
623
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
623
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
624
624
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
625
625
|
};
|
|
626
626
|
values2: {
|
|
@@ -705,7 +705,7 @@ export declare const simpleBoxStyles: {
|
|
|
705
705
|
fontSize: {
|
|
706
706
|
cssNames: string[];
|
|
707
707
|
values1: {
|
|
708
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
708
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
709
709
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
710
710
|
};
|
|
711
711
|
values2: {
|
|
@@ -742,7 +742,7 @@ export declare const simpleBoxStyles: {
|
|
|
742
742
|
letterSpacing: {
|
|
743
743
|
cssNames: string[];
|
|
744
744
|
values1: {
|
|
745
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
745
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
746
746
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
747
747
|
};
|
|
748
748
|
values2: {
|
|
@@ -755,7 +755,7 @@ export declare const simpleBoxStyles: {
|
|
|
755
755
|
lineHeight: {
|
|
756
756
|
cssNames: string[];
|
|
757
757
|
values1: {
|
|
758
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
758
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
759
759
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
760
760
|
};
|
|
761
761
|
values2: {
|
|
@@ -878,7 +878,7 @@ export declare const simpleBoxStyles: {
|
|
|
878
878
|
gap: {
|
|
879
879
|
cssNames: string[];
|
|
880
880
|
values1: {
|
|
881
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
881
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
882
882
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
883
883
|
};
|
|
884
884
|
values2: {
|
|
@@ -891,7 +891,7 @@ export declare const simpleBoxStyles: {
|
|
|
891
891
|
rowGap: {
|
|
892
892
|
cssNames: string[];
|
|
893
893
|
values1: {
|
|
894
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
894
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
895
895
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
896
896
|
};
|
|
897
897
|
values2: {
|
|
@@ -904,7 +904,7 @@ export declare const simpleBoxStyles: {
|
|
|
904
904
|
columnGap: {
|
|
905
905
|
cssNames: string[];
|
|
906
906
|
values1: {
|
|
907
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
907
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
908
908
|
formatValue: typeof BoxStylesFormatters.Value.rem;
|
|
909
909
|
};
|
|
910
910
|
values2: {
|
|
@@ -917,7 +917,7 @@ export declare const simpleBoxStyles: {
|
|
|
917
917
|
order: {
|
|
918
918
|
cssNames: string[];
|
|
919
919
|
values1: {
|
|
920
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
920
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
921
921
|
};
|
|
922
922
|
values2: {
|
|
923
923
|
values: readonly [];
|
|
@@ -929,7 +929,7 @@ export declare const simpleBoxStyles: {
|
|
|
929
929
|
flexGrow: {
|
|
930
930
|
cssNames: string[];
|
|
931
931
|
values1: {
|
|
932
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
932
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
933
933
|
};
|
|
934
934
|
values2: {
|
|
935
935
|
values: readonly [];
|
|
@@ -941,7 +941,7 @@ export declare const simpleBoxStyles: {
|
|
|
941
941
|
flexShrink: {
|
|
942
942
|
cssNames: string[];
|
|
943
943
|
values1: {
|
|
944
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
944
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
945
945
|
};
|
|
946
946
|
values2: {
|
|
947
947
|
values: readonly [];
|
|
@@ -977,7 +977,7 @@ export declare const simpleBoxStyles: {
|
|
|
977
977
|
gridColumns: {
|
|
978
978
|
cssNames: string[];
|
|
979
979
|
values1: {
|
|
980
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
980
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
981
981
|
formatValue: typeof BoxStylesFormatters.Value.gridColumns;
|
|
982
982
|
};
|
|
983
983
|
values2: {
|
|
@@ -990,7 +990,7 @@ export declare const simpleBoxStyles: {
|
|
|
990
990
|
colSpan: {
|
|
991
991
|
cssNames: string[];
|
|
992
992
|
values1: {
|
|
993
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
993
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
994
994
|
formatValue: typeof BoxStylesFormatters.Value.gridColumn;
|
|
995
995
|
};
|
|
996
996
|
values2: {
|
|
@@ -1004,7 +1004,7 @@ export declare const simpleBoxStyles: {
|
|
|
1004
1004
|
colStart: {
|
|
1005
1005
|
cssNames: string[];
|
|
1006
1006
|
values1: {
|
|
1007
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
1007
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
1008
1008
|
};
|
|
1009
1009
|
values2: {
|
|
1010
1010
|
values: readonly [];
|
|
@@ -1016,7 +1016,7 @@ export declare const simpleBoxStyles: {
|
|
|
1016
1016
|
colEnd: {
|
|
1017
1017
|
cssNames: string[];
|
|
1018
1018
|
values1: {
|
|
1019
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
1019
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
1020
1020
|
};
|
|
1021
1021
|
values2: {
|
|
1022
1022
|
values: readonly [];
|
|
@@ -1028,7 +1028,7 @@ export declare const simpleBoxStyles: {
|
|
|
1028
1028
|
outline: {
|
|
1029
1029
|
cssNames: string[];
|
|
1030
1030
|
values1: {
|
|
1031
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
1031
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
1032
1032
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
1033
1033
|
};
|
|
1034
1034
|
values2: {
|
|
@@ -1053,7 +1053,7 @@ export declare const simpleBoxStyles: {
|
|
|
1053
1053
|
outlineOffset: {
|
|
1054
1054
|
cssNames: string[];
|
|
1055
1055
|
values1: {
|
|
1056
|
-
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 120, 140, 160, 180, 200, 250, 300];
|
|
1056
|
+
values: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 110, 120, 128, 130, 140, 150, 160, 170, 180, 190, 192, 200, 225, 250, 256, 275, 300, 320, 350, 384, 400];
|
|
1057
1057
|
formatValue: typeof BoxStylesFormatters.Value.px;
|
|
1058
1058
|
};
|
|
1059
1059
|
values2: {
|
|
@@ -1103,7 +1103,7 @@ export declare const simpleBoxStyles: {
|
|
|
1103
1103
|
appearance: {
|
|
1104
1104
|
cssNames: string[];
|
|
1105
1105
|
values1: {
|
|
1106
|
-
values: readonly ["none"];
|
|
1106
|
+
values: readonly ["none", "auto", "menulist-button", "textfield", "button", "checkbox"];
|
|
1107
1107
|
};
|
|
1108
1108
|
values2: {
|
|
1109
1109
|
values: readonly [];
|
package/core/types.d.ts
CHANGED
|
@@ -13,15 +13,16 @@ type BoxStyles<T extends Record<string, StyleItem>> = {
|
|
|
13
13
|
[K in keyof T]?: T[K]['values1']['values'][number] | T[K]['values2']['values'][number] | T[K]['values3']['values'][number];
|
|
14
14
|
};
|
|
15
15
|
type BoxNormalStyles = BoxStyles<typeof simpleBoxStyles> & Augmented.BoxProps;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
type SvgNormalStyles = BoxStyles<typeof simpleBoxStyles> & Augmented.SvgProps;
|
|
17
|
+
interface BoxPseudoClasses<T> {
|
|
18
|
+
disabled?: boolean | [boolean, T];
|
|
19
|
+
disabledGroup?: string | Record<string, T>;
|
|
20
|
+
hover?: T;
|
|
21
|
+
hoverGroup?: string | Record<string, T>;
|
|
22
|
+
focus?: T;
|
|
23
|
+
focusGroup?: string | Record<string, T>;
|
|
24
|
+
active?: T;
|
|
25
|
+
activeGroup?: string | Record<string, T>;
|
|
25
26
|
}
|
|
26
27
|
interface BoxThemePseudoClassProps {
|
|
27
28
|
hover?: BoxNormalStyles;
|
|
@@ -39,18 +40,6 @@ export interface BoxBreakpoints<T = BoxThemeProps> {
|
|
|
39
40
|
xxl?: T;
|
|
40
41
|
}
|
|
41
42
|
export type BoxThemeProps = BoxNormalStyles & BoxThemePseudoClassProps & BoxBreakpoints;
|
|
42
|
-
export type BoxStyleProps = BoxNormalStyles & BoxPseudoClasses & ThemeComponentProps & BoxBreakpoints<BoxStyleProps>;
|
|
43
|
-
|
|
44
|
-
rotate?: BoxNormalStyles['rotate'];
|
|
45
|
-
flip?: BoxNormalStyles['flip'];
|
|
46
|
-
transitionDuration?: BoxNormalStyles['transitionDuration'];
|
|
47
|
-
disabledGroup?: Record<string, SvgNormalStyles>;
|
|
48
|
-
hover?: SvgNormalStyles;
|
|
49
|
-
hoverGroup?: string | Record<string, SvgNormalStyles>;
|
|
50
|
-
focus?: SvgNormalStyles;
|
|
51
|
-
focusGroup?: string | Record<string, SvgNormalStyles>;
|
|
52
|
-
active?: SvgNormalStyles;
|
|
53
|
-
activeGroup?: string | Record<string, SvgNormalStyles>;
|
|
54
|
-
}
|
|
55
|
-
export type BoxSvgStyles = SvgNormalStyles & ThemeComponentProps & Augmented.SvgProps;
|
|
43
|
+
export type BoxStyleProps = BoxNormalStyles & BoxPseudoClasses<BoxNormalStyles> & ThemeComponentProps & BoxBreakpoints<BoxStyleProps>;
|
|
44
|
+
export type BoxSvgStyles = SvgNormalStyles & BoxPseudoClasses<SvgNormalStyles> & ThemeComponentProps & BoxBreakpoints<BoxSvgStyles>;
|
|
56
45
|
export {};
|
package/core.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";const G=require("react"),Y=require("./utils.cjs");var e;(a=>{(u=>{function t(o,m){return`${o}${m.replace("/","-")}`}u.fraction=t;function n(o){return[`${o} path`,`${o} circle`,`${o} rect`,`${o} line`]}u.svg=n})(a.ClassName||(a.ClassName={})),(u=>{function t(l,s){return`${s/4}rem`}u.rem=t;function n(l,s){return`${s}px`}u.px=n;function o(l,s){const[r,i]=s.split("/");return`${+r/+i*100}%`}u.fraction=o;function m(l,s){switch(s){case"fit":return"100%";case"fit-screen":return l.toLocaleLowerCase().includes("height")?"100vh":"100vw";default:return s}}u.widthHeight=m;function N(l){return(s,r)=>`var(--${l}${r});`}u.variables=N;function T(l){return(s,r)=>`var(--${l}${r});`}u.svgVariables=T;function S(l,s){return`repeat(${s},minmax(0,1fr))`}u.gridColumns=S;function c(l,s){return s==="full-row"?"1/-1":`span ${s}/span ${s}`}u.gridColumn=c;function f(l,s){return`${s}ms`}u.ms=f;function b(l,s){return`${s}deg`}u.rotate=b;function d(l,s){return s==="xAxis"?"-1 1":"1 -1"}u.flip=d})(a.Value||(a.Value={}))})(e||(e={}));const v=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,64,68,72,76,80,84,88,92,96,100,120,140,160,180,200,250,300],ae=[-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-22,-24,-26,-28,-30,-32,-34,-36,-38,-40,-44,-48,-52,-56,-60,-64,-68,-72,-76,-80,-84,-88,-92,-96,-100],h=[...v,...ae],W=["solid","dashed","dotted","double","groove","ridge","inset","outset","none","hidden"],P=["auto","hidden","scroll","visible"],z=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"],I=["fit","fit-screen","auto","fit-content","max-content","min-content"],K=["auto","flex-start","flex-end","center","baseline","stretch"],le={display:{cssNames:["display"],values1:{values:["none","block","inline-block","flex","inline-flex","grid","inline-grid","contents"]},values2:{values:[]},values3:{values:[]}},inline:{cssNames:["display"],values1:{values:[!0],formatValue:()=>"inline-block"},values2:{values:[]},values3:{values:[]}},boxSizing:{cssNames:["box-sizing"],values1:{values:["border-box","content-box"]},values2:{values:[]},values3:{values:[]}},width:{cssNames:["width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},minWidth:{cssNames:["min-width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},maxWidth:{cssNames:["max-width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},height:{cssNames:["height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},minHeight:{cssNames:["min-height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},maxHeight:{cssNames:["max-height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},position:{cssNames:["position"],values1:{values:["static","relative","absolute","fixed","sticky"]},values2:{values:[]},values3:{values:[]}},top:{cssNames:["top"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},right:{cssNames:["right"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},bottom:{cssNames:["bottom"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},left:{cssNames:["left"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},inset:{cssNames:["inset"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},m:{cssNames:["margin"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mx:{cssNames:["margin-inline"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},my:{cssNames:["margin-block"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mt:{cssNames:["margin-top"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mr:{cssNames:["margin-right"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mb:{cssNames:["margin-bottom"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},ml:{cssNames:["margin-left"],values1:{values:h,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},p:{cssNames:["padding"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},px:{cssNames:["padding-inline"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},py:{cssNames:["padding-block"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pt:{cssNames:["padding-top"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pr:{cssNames:["padding-right"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pb:{cssNames:["padding-bottom"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pl:{cssNames:["padding-left"],values1:{values:h,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},b:{cssNames:["border-width"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bx:{cssNames:["border-inline-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},by:{cssNames:["border-block-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bt:{cssNames:["border-top-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},br:{cssNames:["border-right-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bb:{cssNames:["border-bottom-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bl:{cssNames:["border-left-width"],values1:{values:h,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},borderStyle:{cssNames:["border-style"],values1:{values:W},values2:{values:[]},values3:{values:[]}},borderRadius:{cssNames:["border-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTop:{cssNames:["border-top-left-radius","border-top-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusRight:{cssNames:["border-top-right-radius","border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottom:{cssNames:["border-bottom-left-radius","border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusLeft:{cssNames:["border-top-left-radius","border-bottom-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTopLeft:{cssNames:["border-top-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTopRight:{cssNames:["border-top-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottomLeft:{cssNames:["border-bottom-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottomRight:{cssNames:["border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},cursor:{cssNames:["cursor"],values1:{values:["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","e-resize","n-resize","ne-resize","nw-resize","s-resize","se-resize","sw-resize","w-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","col-resize","row-resize","all-scroll","zoom-in","zoom-out","grab","grabbing"]},values2:{values:[]},values3:{values:[]}},zIndex:{cssNames:["z-index"],values1:{values:[1,2,3,4,5,10,11,12,13,14,15,100,101,102,103,104,105,1e3,1001,1002,1003,1004,1005]},values2:{values:[]},values3:{values:[]}},overflow:{cssNames:["overflow"],values1:{values:P},values2:{values:[]},values3:{values:[]}},overflowX:{cssNames:["overflow-x"],values1:{values:P},values2:{values:[]},values3:{values:[]}},overflowY:{cssNames:["overflow-y"],values1:{values:P},values2:{values:[]},values3:{values:[]}},opacity:{cssNames:["opacity"],values1:{values:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},values2:{values:[]},values3:{values:[]}},fontSize:{cssNames:["font-size"],values1:{values:v,formatValue:e.Value.px},values2:{values:["inherit"]},values3:{values:[]}},fontStyle:{cssNames:["font-style"],values1:{values:["italic","normal","oblique"]},values2:{values:[]},values3:{values:[]}},fontWeight:{cssNames:["font-weight"],values1:{values:[100,200,300,400,500,600,700,800,900]},values2:{values:[]},values3:{values:[]}},letterSpacing:{cssNames:["letter-spacing"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},lineHeight:{cssNames:["line-height"],values1:{values:v,formatValue:e.Value.px},values2:{values:["font-size"],formatValue:()=>"1"},values3:{values:[]}},textDecoration:{cssNames:["text-decoration"],values1:{values:["none","underline","overline","line-through"]},values2:{values:[]},values3:{values:[]}},textTransform:{cssNames:["text-transform"],values1:{values:["none","capitalize","lowercase","uppercase"]},values2:{values:[]},values3:{values:[]}},textAlign:{cssNames:["text-align"],values1:{values:["left","right","center","justify"]},values2:{values:[]},values3:{values:[]}},flexWrap:{cssNames:["flex-wrap"],values1:{values:["nowrap","wrap","wrap-reverse"]},values2:{values:[]},values3:{values:[]}},jc:{cssNames:["justify-content"],values1:{values:["start","end","flex-start","flex-end","center","left","right","space-between","space-around","space-evenly","stretch"]},values2:{values:[]},values3:{values:[]}},ai:{cssNames:["align-items"],values1:{values:["stretch","flex-start","flex-end","center","baseline","start","end","self-start","self-end"]},values2:{values:[]},values3:{values:[]}},alignContent:{cssNames:["align-content"],values1:{values:["flex-start","flex-end","center","space-between","space-around","space-evenly","stretch","start","end","baseline"]},values2:{values:[]},values3:{values:[]}},flex1:{cssNames:["flex"],values1:{values:[!0],formatValue:()=>"1"},values2:{values:[]},values3:{values:[]}},d:{cssNames:["flex-direction"],values1:{values:["row","row-reverse","column","column-reverse"]},values2:{values:[]},values3:{values:[]}},gap:{cssNames:["gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},rowGap:{cssNames:["row-gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},columnGap:{cssNames:["column-gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},order:{cssNames:["order"],values1:{values:v},values2:{values:[]},values3:{values:[]}},flexGrow:{cssNames:["flex-grow"],values1:{values:v},values2:{values:[]},values3:{values:[]}},flexShrink:{cssNames:["flex-shrink"],values1:{values:v},values2:{values:[]},values3:{values:[]}},alignSelf:{cssNames:["align-self"],values1:{values:K},values2:{values:[]},values3:{values:[]}},justifySelf:{cssNames:["justify-self"],values1:{values:K},values2:{values:[]},values3:{values:[]}},gridColumns:{cssNames:["grid-template-columns"],values1:{values:v,formatValue:e.Value.gridColumns},values2:{values:[]},values3:{values:[]}},colSpan:{cssNames:["grid-column"],values1:{values:v,formatValue:e.Value.gridColumn},values2:{values:["full-row"],formatValue:e.Value.gridColumn},values3:{values:[]}},colStart:{cssNames:["grid-column-start"],values1:{values:v},values2:{values:[]},values3:{values:[]}},colEnd:{cssNames:["grid-column-end"],values1:{values:v},values2:{values:[]},values3:{values:[]}},outline:{cssNames:["outline-width"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},outlineStyle:{cssNames:["outline-style"],values1:{values:W},values2:{values:[]},values3:{values:[]}},outlineOffset:{cssNames:["outline-offset"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},transition:{cssNames:["transition-property"],values1:{values:["none","all"]},values2:{values:[]},values3:{values:[]}},transitionDuration:{cssNames:["transition-duration"],values1:{values:[50,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1e3],formatValue:e.Value.ms},values2:{values:[]},values3:{values:[]}},userSelect:{cssNames:["user-select"],values1:{values:["none","auto","text","all"]},values2:{values:[]},values3:{values:[]}},appearance:{cssNames:["appearance"],values1:{values:["none"]},values2:{values:[]},values3:{values:[]}},pointerEvents:{cssNames:["pointer-events"],values1:{values:["none","auto","all"]},values2:{values:[]},values3:{values:[]}},whiteSpace:{cssNames:["white-space"],values1:{values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},values2:{values:[]},values3:{values:[]}},textOverflow:{cssNames:["text-overflow"],values1:{values:["clip","ellipsis"]},values2:{values:[]},values3:{values:[]}},rotate:{cssNames:["rotate"],values1:{values:[0,90,180,270,-90,-180,-270],formatValue:e.Value.rotate},values2:{values:[]},values3:{values:[]}},flip:{cssNames:["scale"],values1:{values:["xAxis","yAxis"],formatValue:e.Value.flip},values2:{values:[]},values3:{values:[]}}},M={shadow:{cssNames:["box-shadow"],formatValue:e.Value.variables("shadow")},background:{cssNames:["background"],formatValue:e.Value.variables("background")},backgroundImage:{cssNames:["background-image"],formatValue:e.Value.variables("backgroundImage")},color:{cssNames:["color"],formatValue:e.Value.variables("color")},bgColor:{cssNames:["background-color"],formatValue:e.Value.variables("color")},borderColor:{cssNames:["border-color"],formatValue:e.Value.variables("color")},outlineColor:{cssNames:["outline-color"],formatValue:e.Value.variables("color")}},U={fill:{cssNames:["fill"],formatValue:e.Value.svgVariables("color"),formatSelector:e.ClassName.svg},stroke:{cssNames:["stroke"],formatValue:e.Value.svgVariables("color"),formatSelector:e.ClassName.svg}},D=["Hover","Focus","Active","Checked","Indeterminate","Valid","Invalid","Required","Optional","Disabled"],A=["sm","md","lg","xl","xxl"],ue={sm:640,md:768,lg:1024,xl:1280,xxl:1536};function J(){const a={...le};Object.keys(M).forEach(t=>{a[t]=M[t],a[t].isThemeStyle=!0}),Object.keys(U).forEach(t=>{a[t]=U[t],a[t].isThemeStyle=!0});let u=Object.keys(a);return D.forEach(t=>{u.forEach(n=>{a[`${n}${t}`]={...a[n],pseudoSuffix:t}})}),u=Object.keys(a),A.forEach(t=>{u.forEach(n=>{a[`${t}${n}`]={...a[n],breakpoint:t}})}),a}let C=J();function te(){C=J()}function oe(a,u,t){const n=Object.entries(C).filter(([o,m])=>m.pseudoSuffix===a&&!m.customPseudoSuffix&&!(`${o}${u}`in C)).map(([o])=>o);return n.forEach(o=>{C[`${o}${u}`]={...C[o],customPseudoSuffix:t+u}}),n.map(o=>`${o}${u}`)}class re{constructor(){this._index=0,this._cache={}}getIdentity(u){return this._cache[u]||(this._cache[u]=this.getByIndex(this._index++)),this._cache[u]}getByIndex(u){const{first:t,next:n}=ne,o=u-t.length;if(o<0)return t[u];const m=Math.floor(o/n.length),N=o-m*n.length;return this.getByIndex(m)+n[N]}}const ne={first:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",next:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"};var _;(a=>{a.boxClassName="_box",a.svgClassName="_svg",a.cronoStylesElementId="crono-styles";const u=`:root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;#crono-box {position: absolute;top: 0;left: 0;height: 0;}}
|
|
1
|
+
"use strict";const G=require("react"),Y=require("./utils.cjs");var e;(a=>{(u=>{function t(o,m){return`${o}${m.replace("/","-")}`}u.fraction=t;function n(o){return[`${o} path`,`${o} circle`,`${o} rect`,`${o} line`]}u.svg=n})(a.ClassName||(a.ClassName={})),(u=>{function t(l,s){return`${s/4}rem`}u.rem=t;function n(l,s){return`${s}px`}u.px=n;function o(l,s){const[r,i]=s.split("/");return`${+r/+i*100}%`}u.fraction=o;function m(l,s){switch(s){case"fit":return"100%";case"fit-screen":return l.toLocaleLowerCase().includes("height")?"100vh":"100vw";default:return s}}u.widthHeight=m;function N(l){return(s,r)=>`var(--${l}${r});`}u.variables=N;function T(l){return(s,r)=>`var(--${l}${r});`}u.svgVariables=T;function S(l,s){return`repeat(${s},minmax(0,1fr))`}u.gridColumns=S;function c(l,s){return s==="full-row"?"1/-1":`span ${s}/span ${s}`}u.gridColumn=c;function d(l,s){return`${s}ms`}u.ms=d;function h(l,s){return`${s}deg`}u.rotate=h;function f(l,s){return s==="xAxis"?"-1 1":"1 -1"}u.flip=f})(a.Value||(a.Value={}))})(e||(e={}));const v=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,64,68,72,76,80,84,88,92,96,100,110,120,128,130,140,150,160,170,180,190,192,200,225,250,256,275,300,320,350,384,400],ae=[-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-22,-24,-26,-28,-30,-32,-34,-36,-38,-40,-44,-48,-52,-56,-60,-64,-68,-72,-76,-80,-84,-88,-92,-96,-100],b=[...v,...ae],W=["solid","dashed","dotted","double","groove","ridge","inset","outset","none","hidden"],P=["auto","hidden","scroll","visible"],z=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"],I=["fit","fit-screen","auto","fit-content","max-content","min-content"],K=["auto","flex-start","flex-end","center","baseline","stretch"],le={display:{cssNames:["display"],values1:{values:["none","block","inline-block","flex","inline-flex","grid","inline-grid","contents"]},values2:{values:[]},values3:{values:[]}},inline:{cssNames:["display"],values1:{values:[!0],formatValue:()=>"inline-block"},values2:{values:[]},values3:{values:[]}},boxSizing:{cssNames:["box-sizing"],values1:{values:["border-box","content-box"]},values2:{values:[]},values3:{values:[]}},width:{cssNames:["width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},minWidth:{cssNames:["min-width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},maxWidth:{cssNames:["max-width"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},height:{cssNames:["height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},minHeight:{cssNames:["min-height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},maxHeight:{cssNames:["max-height"],values1:{values:I,formatValue:e.Value.widthHeight},values2:{values:v,formatValue:e.Value.rem},values3:{values:z,formatValue:e.Value.fraction}},position:{cssNames:["position"],values1:{values:["static","relative","absolute","fixed","sticky"]},values2:{values:[]},values3:{values:[]}},top:{cssNames:["top"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},right:{cssNames:["right"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},bottom:{cssNames:["bottom"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},left:{cssNames:["left"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},inset:{cssNames:["inset"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},m:{cssNames:["margin"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mx:{cssNames:["margin-inline"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},my:{cssNames:["margin-block"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mt:{cssNames:["margin-top"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mr:{cssNames:["margin-right"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},mb:{cssNames:["margin-bottom"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},ml:{cssNames:["margin-left"],values1:{values:b,formatValue:e.Value.rem},values2:{values:["auto"]},values3:{values:[]}},p:{cssNames:["padding"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},px:{cssNames:["padding-inline"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},py:{cssNames:["padding-block"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pt:{cssNames:["padding-top"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pr:{cssNames:["padding-right"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pb:{cssNames:["padding-bottom"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},pl:{cssNames:["padding-left"],values1:{values:b,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},b:{cssNames:["border-width"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bx:{cssNames:["border-inline-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},by:{cssNames:["border-block-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bt:{cssNames:["border-top-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},br:{cssNames:["border-right-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bb:{cssNames:["border-bottom-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},bl:{cssNames:["border-left-width"],values1:{values:b,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},borderStyle:{cssNames:["border-style"],values1:{values:W},values2:{values:[]},values3:{values:[]}},borderRadius:{cssNames:["border-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTop:{cssNames:["border-top-left-radius","border-top-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusRight:{cssNames:["border-top-right-radius","border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottom:{cssNames:["border-bottom-left-radius","border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusLeft:{cssNames:["border-top-left-radius","border-bottom-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTopLeft:{cssNames:["border-top-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusTopRight:{cssNames:["border-top-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottomLeft:{cssNames:["border-bottom-left-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},borderRadiusBottomRight:{cssNames:["border-bottom-right-radius"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},cursor:{cssNames:["cursor"],values1:{values:["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","e-resize","n-resize","ne-resize","nw-resize","s-resize","se-resize","sw-resize","w-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","col-resize","row-resize","all-scroll","zoom-in","zoom-out","grab","grabbing"]},values2:{values:[]},values3:{values:[]}},zIndex:{cssNames:["z-index"],values1:{values:[1,2,3,4,5,10,11,12,13,14,15,100,101,102,103,104,105,1e3,1001,1002,1003,1004,1005]},values2:{values:[]},values3:{values:[]}},overflow:{cssNames:["overflow"],values1:{values:P},values2:{values:[]},values3:{values:[]}},overflowX:{cssNames:["overflow-x"],values1:{values:P},values2:{values:[]},values3:{values:[]}},overflowY:{cssNames:["overflow-y"],values1:{values:P},values2:{values:[]},values3:{values:[]}},opacity:{cssNames:["opacity"],values1:{values:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]},values2:{values:[]},values3:{values:[]}},fontSize:{cssNames:["font-size"],values1:{values:v,formatValue:e.Value.px},values2:{values:["inherit"]},values3:{values:[]}},fontStyle:{cssNames:["font-style"],values1:{values:["italic","normal","oblique"]},values2:{values:[]},values3:{values:[]}},fontWeight:{cssNames:["font-weight"],values1:{values:[100,200,300,400,500,600,700,800,900]},values2:{values:[]},values3:{values:[]}},letterSpacing:{cssNames:["letter-spacing"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},lineHeight:{cssNames:["line-height"],values1:{values:v,formatValue:e.Value.px},values2:{values:["font-size"],formatValue:()=>"1"},values3:{values:[]}},textDecoration:{cssNames:["text-decoration"],values1:{values:["none","underline","overline","line-through"]},values2:{values:[]},values3:{values:[]}},textTransform:{cssNames:["text-transform"],values1:{values:["none","capitalize","lowercase","uppercase"]},values2:{values:[]},values3:{values:[]}},textAlign:{cssNames:["text-align"],values1:{values:["left","right","center","justify"]},values2:{values:[]},values3:{values:[]}},flexWrap:{cssNames:["flex-wrap"],values1:{values:["nowrap","wrap","wrap-reverse"]},values2:{values:[]},values3:{values:[]}},jc:{cssNames:["justify-content"],values1:{values:["start","end","flex-start","flex-end","center","left","right","space-between","space-around","space-evenly","stretch"]},values2:{values:[]},values3:{values:[]}},ai:{cssNames:["align-items"],values1:{values:["stretch","flex-start","flex-end","center","baseline","start","end","self-start","self-end"]},values2:{values:[]},values3:{values:[]}},alignContent:{cssNames:["align-content"],values1:{values:["flex-start","flex-end","center","space-between","space-around","space-evenly","stretch","start","end","baseline"]},values2:{values:[]},values3:{values:[]}},flex1:{cssNames:["flex"],values1:{values:[!0],formatValue:()=>"1"},values2:{values:[]},values3:{values:[]}},d:{cssNames:["flex-direction"],values1:{values:["row","row-reverse","column","column-reverse"]},values2:{values:[]},values3:{values:[]}},gap:{cssNames:["gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},rowGap:{cssNames:["row-gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},columnGap:{cssNames:["column-gap"],values1:{values:v,formatValue:e.Value.rem},values2:{values:[]},values3:{values:[]}},order:{cssNames:["order"],values1:{values:v},values2:{values:[]},values3:{values:[]}},flexGrow:{cssNames:["flex-grow"],values1:{values:v},values2:{values:[]},values3:{values:[]}},flexShrink:{cssNames:["flex-shrink"],values1:{values:v},values2:{values:[]},values3:{values:[]}},alignSelf:{cssNames:["align-self"],values1:{values:K},values2:{values:[]},values3:{values:[]}},justifySelf:{cssNames:["justify-self"],values1:{values:K},values2:{values:[]},values3:{values:[]}},gridColumns:{cssNames:["grid-template-columns"],values1:{values:v,formatValue:e.Value.gridColumns},values2:{values:[]},values3:{values:[]}},colSpan:{cssNames:["grid-column"],values1:{values:v,formatValue:e.Value.gridColumn},values2:{values:["full-row"],formatValue:e.Value.gridColumn},values3:{values:[]}},colStart:{cssNames:["grid-column-start"],values1:{values:v},values2:{values:[]},values3:{values:[]}},colEnd:{cssNames:["grid-column-end"],values1:{values:v},values2:{values:[]},values3:{values:[]}},outline:{cssNames:["outline-width"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},outlineStyle:{cssNames:["outline-style"],values1:{values:W},values2:{values:[]},values3:{values:[]}},outlineOffset:{cssNames:["outline-offset"],values1:{values:v,formatValue:e.Value.px},values2:{values:[]},values3:{values:[]}},transition:{cssNames:["transition-property"],values1:{values:["none","all"]},values2:{values:[]},values3:{values:[]}},transitionDuration:{cssNames:["transition-duration"],values1:{values:[50,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1e3],formatValue:e.Value.ms},values2:{values:[]},values3:{values:[]}},userSelect:{cssNames:["user-select"],values1:{values:["none","auto","text","all"]},values2:{values:[]},values3:{values:[]}},appearance:{cssNames:["appearance"],values1:{values:["none","auto","menulist-button","textfield","button","checkbox"]},values2:{values:[]},values3:{values:[]}},pointerEvents:{cssNames:["pointer-events"],values1:{values:["none","auto","all"]},values2:{values:[]},values3:{values:[]}},whiteSpace:{cssNames:["white-space"],values1:{values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},values2:{values:[]},values3:{values:[]}},textOverflow:{cssNames:["text-overflow"],values1:{values:["clip","ellipsis"]},values2:{values:[]},values3:{values:[]}},rotate:{cssNames:["rotate"],values1:{values:[0,90,180,270,-90,-180,-270],formatValue:e.Value.rotate},values2:{values:[]},values3:{values:[]}},flip:{cssNames:["scale"],values1:{values:["xAxis","yAxis"],formatValue:e.Value.flip},values2:{values:[]},values3:{values:[]}}},M={shadow:{cssNames:["box-shadow"],formatValue:e.Value.variables("shadow")},background:{cssNames:["background"],formatValue:e.Value.variables("background")},backgroundImage:{cssNames:["background-image"],formatValue:e.Value.variables("backgroundImage")},color:{cssNames:["color"],formatValue:e.Value.variables("color")},bgColor:{cssNames:["background-color"],formatValue:e.Value.variables("color")},borderColor:{cssNames:["border-color"],formatValue:e.Value.variables("color")},outlineColor:{cssNames:["outline-color"],formatValue:e.Value.variables("color")}},U={fill:{cssNames:["fill"],formatValue:e.Value.svgVariables("color"),formatSelector:e.ClassName.svg},stroke:{cssNames:["stroke"],formatValue:e.Value.svgVariables("color"),formatSelector:e.ClassName.svg}},D=["Hover","Focus","Active","Checked","Indeterminate","Valid","Invalid","Required","Optional","Disabled"],A=["sm","md","lg","xl","xxl"],ue={sm:640,md:768,lg:1024,xl:1280,xxl:1536};function J(){const a={...le};Object.keys(M).forEach(t=>{a[t]=M[t],a[t].isThemeStyle=!0}),Object.keys(U).forEach(t=>{a[t]=U[t],a[t].isThemeStyle=!0});let u=Object.keys(a);return D.forEach(t=>{u.forEach(n=>{a[`${n}${t}`]={...a[n],pseudoSuffix:t}})}),u=Object.keys(a),A.forEach(t=>{u.forEach(n=>{a[`${t}${n}`]={...a[n],breakpoint:t}})}),a}let C=J();function te(){C=J()}function oe(a,u,t){const n=Object.entries(C).filter(([o,m])=>m.pseudoSuffix===a&&!m.customPseudoSuffix&&!(`${o}${u}`in C)).map(([o])=>o);return n.forEach(o=>{C[`${o}${u}`]={...C[o],customPseudoSuffix:t+u}}),n.map(o=>`${o}${u}`)}class re{constructor(){this._index=0,this._cache={}}getIdentity(u){return this._cache[u]||(this._cache[u]=this.getByIndex(this._index++)),this._cache[u]}getByIndex(u){const{first:t,next:n}=ne,o=u-t.length;if(o<0)return t[u];const m=Math.floor(o/n.length),N=o-m*n.length;return this.getByIndex(m)+n[N]}}const ne={first:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",next:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"};var _;(a=>{a.boxClassName="_box",a.svgClassName="_svg",a.cronoStylesElementId="crono-styles";const u=`:root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;#crono-box {position: absolute;top: 0;left: 0;height: 0;}}
|
|
2
2
|
html{font-size: 16px;font-family: Arial, sans-serif;}
|
|
3
3
|
body{margin: 0;line-height: var(--lineHeight);font-size: var(--fontSize);}
|
|
4
4
|
a,ul{all: unset;}
|
|
5
5
|
.${a.boxClassName}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;background-color: initial;transition: all var(--transitionTime);box-sizing: border-box;font-family: inherit;font-size: inherit;}
|
|
6
|
-
.${a.svgClassName}{transition: all var(--svgTransitionTime);}.${a.svgClassName} path,.${a.svgClassName} circle,.${a.svgClassName} rect,.${a.svgClassName} line {transition: all var(--svgTransitionTime);}
|
|
7
|
-
`,t=new re;let n=!0,o={};T();function m(l,s,r){if(l in C)return c(l,s,r);if(["disabledGroup","hoverGroup","focusGroup","activeGroup"].includes(l))return l+s}a.get=m;function N(){if(n){let l=
|
|
8
|
-
`),i=Object.entries(
|
|
6
|
+
.${a.svgClassName}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}.${a.svgClassName} path,.${a.svgClassName} circle,.${a.svgClassName} rect,.${a.svgClassName} line {transition: all var(--svgTransitionTime);}
|
|
7
|
+
`,t=new re;let n=!0,o={};T();function m(l,s,r){if(l in C)return c(l,s,r);if(["disabledGroup","hoverGroup","focusGroup","activeGroup"].includes(l))return l+s}a.get=m;function N(){if(n){let l=d([u]);D.forEach(r=>{l=d(l,r)}),A.forEach(r=>{l.push(`@media(min-width: ${ue[r]}px){`),l=d(l,void 0,r),D.forEach(i=>{l=d(l,i,r)}),l.push("}")});const s=f();s.innerHTML=l.join(""),n=!1}}a.flush=N;function T(){te(),o=Object.keys(C).reduce((s,r)=>(s[r]=new Set,s),{})}a.clear=T;function S(l,s,r){oe(l,s,r).forEach(p=>{o[p]=new Set})}a.addCustomPseudoClass=S;function c(l,s,r){const i=(r??"")+l;o[i].has(s)||(n=!0,o[i].add(s));const p=`${i}${s}`;return process.env.NODE_ENV==="test"?p:t.getIdentity(p)}function d(l,s,r){return Object.entries(o).filter(([p,k])=>{var x,$;return((x=C[p])==null?void 0:x.pseudoSuffix)===s&&(($=C[p])==null?void 0:$.breakpoint)===r&&k.size>0}).reduce((p,[k,x])=>(x.forEach($=>{var L;const g=C[k],y=h(g,$),j=`.${c(k,$)}`;let w=[];s?s==="Hover"?w=i(j,g,y,"hover"):s==="Focus"?w=i(j,g,y,"focus-within"):s==="Active"?w=i(j,g,y,"active"):s==="Checked"?w=i(j,g,y,"checked"):s==="Indeterminate"?w=i(j,g,y,"indeterminate"):s==="Valid"?w=i(j,g,y,"valid"):s==="Invalid"?w=i(j,g,y,"invalid"):s==="Required"?w=i(j,g,y,"required"):s==="Optional"?w=i(j,g,y,"optional"):s==="Disabled"&&(w=i(j,g,y,"disabled")):w=i(j,g,y);const V=((L=y.formatValue)==null?void 0:L.call(y,k,$))??$,ee=C[k].cssNames.map(se=>`${se}:${V};`).join("");p.push(`${w.join(",")}{${ee}}`)}),p),l);function i(p,k,x,$){let g=p;return $&&(g=k.customPseudoSuffix?`.${k.customPseudoSuffix}:${$} ${p}`:`${p}:${$}`),x.formatSelector?x.formatSelector(g):[g]}}function h(l,s){return l.isThemeStyle?l:l.values1.values.includes(s)?l.values1:l.values2.values.includes(s)?l.values2:l.values3}function f(){const s=typeof window<"u"&&typeof window.document<"u"?window.document:global.document;let r=s.getElementById(a.cronoStylesElementId);return r||(r=s.createElement("style"),r.setAttribute("id",a.cronoStylesElementId),r.setAttribute("type","text/css"),s.head.insertBefore(r,s.head.firstChild)),r}a.getElement=f})(_||(_={}));const E=_,H={button:{styles:{display:"inline-block",p:3,cursor:"pointer",b:1,borderRadius:1,userSelect:"none",disabled:{cursor:"default"}}},checkbox:{styles:{display:"inline-block"}},radioButton:{styles:{display:"inline-block",b:1,p:2}},textbox:{styles:{display:"inline-block",b:1,borderRadius:1,p:3}},textarea:{styles:{display:"inline-block",b:1,borderRadius:1}}},ve={Hover:"hover",Focus:"focus",Active:"active",Checked:"checked",Indeterminate:"indeterminate",Valid:"valid",Invalid:"invalid",Required:"required",Optional:"optional",Disabled:"disabled"};var q;(a=>{a.Styles={};function u(c){a.Styles=o(H),a.Styles=n(c)}a.setup=u;function t(c,d){const{colors:h={},shadows:f={},backgrounds:l={},backgroundImages:s={}}=c;h.none="none",f.none="none",l.none="none",s.none="none";const r=Object.entries(h).map(([V,O])=>`--color${V}: ${O};`).join(`
|
|
8
|
+
`),i=Object.entries(f).map(([V,O])=>`--shadow${V}: ${O};`).join(`
|
|
9
9
|
`),p=Object.entries(l).map(([V,O])=>`--background${V}: ${O};`).join(`
|
|
10
10
|
`),k=Object.entries(s).map(([V,O])=>`--backgroundImage${V}: ${O};`).join(`
|
|
11
|
-
`),
|
|
11
|
+
`),x=[":root {"];r&&x.push(` ${r}`),i&&x.push(` ${i}`),p&&x.push(` ${p}`),k&&x.push(` ${k}`),x.push("}");const $=Object.keys(h).map(V=>`'${V}'`).join(" | "),g=Object.keys(l).map(V=>`'${V}'`).join(" | "),y=Object.keys(s).map(V=>`'${V}'`).join(" | "),j=Object.keys(f).map(V=>`'${V}'`).join(" | "),w=`import '@cronocode/react-box';
|
|
12
12
|
|
|
13
|
-
declare module '${(
|
|
13
|
+
declare module '${(d==null?void 0:d.namespacePath)??"@cronocode/react-box/core/types"}' {
|
|
14
14
|
type ColorType = ${$};
|
|
15
15
|
type BackgroundType = ${g};
|
|
16
16
|
type BackgroundImageType = ${y};
|
|
@@ -33,5 +33,5 @@ a,ul{all: unset;}
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
`;return{variables:
|
|
37
|
-
`),boxDts:
|
|
36
|
+
`;return{variables:x.join(`
|
|
37
|
+
`),boxDts:w}}a.setupAugmentedProps=t;function n(c){const d=o(c);return Object.keys(H).forEach(f=>{const l=d[f],s=H[f];l?l.styles={...s.styles,...l.styles}:d[f]=H[f]}),d}function o(c){return m(c),T(c),c}function m(c){if(!c.components)return;const d=Object.keys(c.components);for(const h of d){const f=c.components[h],l=N(h,f);delete f.children;for(const s of l){const[r,i]=s;c.components[r]=i}}}function N(c,d){if(!d.children)return[];const h=Object.keys(d.children),f=[];for(const l of h){const s=`${c}.${l}`,r=d.children[l],i=N(s,r);f.push(...i),delete r.children,f.push([s,r])}return f}function T(c){const{components:d,...h}=c,f=Object.values(h);d&&f.push(...Object.values(d));for(const l of f)S(l.styles),A.forEach(s=>{if(s in l.styles){const r=l.styles[s];S(r)}}),l.themes&&Object.values(l.themes).forEach(s=>{S(s),A.forEach(r=>{if(r in s){const i=s[r];S(i)}})})}function S(c){Object.entries(ve).forEach(([d,h])=>{if(h in c){const f=c[h];Object.entries(f).map(([l,s])=>{c[`${l}${d}`]=s}),delete c[h]}})}})(q||(q={}));const F=q;function ie(a){const{clean:u,theme:t,component:n}=a;return G.useMemo(()=>{var m,N;if(u)return;let o=F.Styles[n]??((m=F.Styles.components)==null?void 0:m[n]);if(o)return t?{...o.styles,...(N=o.themes)==null?void 0:N[t]}:o.styles},[n,u,t])}const ce=typeof window<"u"&&typeof window.document<"u",me=ce?G.useLayoutEffect:G.useEffect;function de(a,u){const t=ie(a);return me(E.flush,[a]),G.useMemo(()=>{const n=[u?E.svgClassName:E.boxClassName],o=t?{...t,...a}:{...a};return X(o),Object.entries(o).forEach(([m,N])=>{n.push(E.get(m,N))}),A.forEach(m=>{if(m in o){const N=o[m];X(N),Object.entries(N).forEach(([T,S])=>{n.push(E.get(T,S,m))}),delete o[m]}}),n},[a,t])}function X(a){B(a,"hover","Hover"),B(a,"focus","Focus"),B(a,"active","Active"),B(a,"disabled","Disabled"),R(a,"hoverGroup","Hover"),R(a,"focusGroup","Focus"),R(a,"activeGroup","Active"),R(a,"disabledGroup","Disabled")}function B(a,u,t){u in a&&Q(a,u,t,a[u])}function R(a,u,t){u in a&&Y.ObjectUtils.isObject(a[u])&&Object.entries(a[u]).forEach(([n,o])=>{E.addCustomPseudoClass(t,n,u),Q(a,u,t+n,o)})}function Q(a,u,t,n){Array.isArray(n)?(Object.entries(n[1]).forEach(([o,m])=>{a[`${o}${t}`]=m}),a[u]=n[0]):Y.ObjectUtils.isObject(n)&&(Object.entries(n).forEach(([o,m])=>{a[`${o}${t}`]=m}),delete a[u])}function Z(...a){return a.reduce((u,t)=>t?typeof t=="string"?(u.push(t),u):Array.isArray(t)?(u.push(...Z(...t)),u):(Object.entries(t).forEach(([n,o])=>{o&&u.push(n)}),u):u,[])}exports.StylesContext=E;exports.Theme=F;exports.classNames=Z;exports.useStyles=de;
|
package/core.mjs
CHANGED
|
@@ -52,18 +52,18 @@ var e;
|
|
|
52
52
|
return s === "full-row" ? "1/-1" : `span ${s}/span ${s}`;
|
|
53
53
|
}
|
|
54
54
|
u.gridColumn = c;
|
|
55
|
-
function
|
|
55
|
+
function d(l, s) {
|
|
56
56
|
return `${s}ms`;
|
|
57
57
|
}
|
|
58
|
-
u.ms =
|
|
59
|
-
function
|
|
58
|
+
u.ms = d;
|
|
59
|
+
function h(l, s) {
|
|
60
60
|
return `${s}deg`;
|
|
61
61
|
}
|
|
62
|
-
u.rotate =
|
|
63
|
-
function
|
|
62
|
+
u.rotate = h;
|
|
63
|
+
function f(l, s) {
|
|
64
64
|
return s === "xAxis" ? "-1 1" : "1 -1";
|
|
65
65
|
}
|
|
66
|
-
u.flip =
|
|
66
|
+
u.flip = f;
|
|
67
67
|
})(a.Value || (a.Value = {}));
|
|
68
68
|
})(e || (e = {}));
|
|
69
69
|
const v = [
|
|
@@ -118,13 +118,27 @@ const v = [
|
|
|
118
118
|
92,
|
|
119
119
|
96,
|
|
120
120
|
100,
|
|
121
|
+
110,
|
|
121
122
|
120,
|
|
123
|
+
128,
|
|
124
|
+
130,
|
|
122
125
|
140,
|
|
126
|
+
150,
|
|
123
127
|
160,
|
|
128
|
+
170,
|
|
124
129
|
180,
|
|
130
|
+
190,
|
|
131
|
+
192,
|
|
125
132
|
200,
|
|
133
|
+
225,
|
|
126
134
|
250,
|
|
127
|
-
|
|
135
|
+
256,
|
|
136
|
+
275,
|
|
137
|
+
300,
|
|
138
|
+
320,
|
|
139
|
+
350,
|
|
140
|
+
384,
|
|
141
|
+
400
|
|
128
142
|
], le = [
|
|
129
143
|
-1,
|
|
130
144
|
-2,
|
|
@@ -171,7 +185,7 @@ const v = [
|
|
|
171
185
|
-92,
|
|
172
186
|
-96,
|
|
173
187
|
-100
|
|
174
|
-
],
|
|
188
|
+
], b = [...v, ...le], F = ["solid", "dashed", "dotted", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], G = ["auto", "hidden", "scroll", "visible"], E = [
|
|
175
189
|
"1/2",
|
|
176
190
|
"1/3",
|
|
177
191
|
"2/3",
|
|
@@ -288,115 +302,115 @@ const v = [
|
|
|
288
302
|
},
|
|
289
303
|
top: {
|
|
290
304
|
cssNames: ["top"],
|
|
291
|
-
values1: { values:
|
|
305
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
292
306
|
values2: { values: [] },
|
|
293
307
|
values3: { values: [] }
|
|
294
308
|
},
|
|
295
309
|
right: {
|
|
296
310
|
cssNames: ["right"],
|
|
297
|
-
values1: { values:
|
|
311
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
298
312
|
values2: { values: [] },
|
|
299
313
|
values3: { values: [] }
|
|
300
314
|
},
|
|
301
315
|
bottom: {
|
|
302
316
|
cssNames: ["bottom"],
|
|
303
|
-
values1: { values:
|
|
317
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
304
318
|
values2: { values: [] },
|
|
305
319
|
values3: { values: [] }
|
|
306
320
|
},
|
|
307
321
|
left: {
|
|
308
322
|
cssNames: ["left"],
|
|
309
|
-
values1: { values:
|
|
323
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
310
324
|
values2: { values: [] },
|
|
311
325
|
values3: { values: [] }
|
|
312
326
|
},
|
|
313
327
|
inset: {
|
|
314
328
|
cssNames: ["inset"],
|
|
315
|
-
values1: { values:
|
|
329
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
316
330
|
values2: { values: [] },
|
|
317
331
|
values3: { values: [] }
|
|
318
332
|
},
|
|
319
333
|
m: {
|
|
320
334
|
cssNames: ["margin"],
|
|
321
|
-
values1: { values:
|
|
335
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
322
336
|
values2: { values: ["auto"] },
|
|
323
337
|
values3: { values: [] }
|
|
324
338
|
},
|
|
325
339
|
mx: {
|
|
326
340
|
cssNames: ["margin-inline"],
|
|
327
|
-
values1: { values:
|
|
341
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
328
342
|
values2: { values: ["auto"] },
|
|
329
343
|
values3: { values: [] }
|
|
330
344
|
},
|
|
331
345
|
my: {
|
|
332
346
|
cssNames: ["margin-block"],
|
|
333
|
-
values1: { values:
|
|
347
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
334
348
|
values2: { values: ["auto"] },
|
|
335
349
|
values3: { values: [] }
|
|
336
350
|
},
|
|
337
351
|
mt: {
|
|
338
352
|
cssNames: ["margin-top"],
|
|
339
|
-
values1: { values:
|
|
353
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
340
354
|
values2: { values: ["auto"] },
|
|
341
355
|
values3: { values: [] }
|
|
342
356
|
},
|
|
343
357
|
mr: {
|
|
344
358
|
cssNames: ["margin-right"],
|
|
345
|
-
values1: { values:
|
|
359
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
346
360
|
values2: { values: ["auto"] },
|
|
347
361
|
values3: { values: [] }
|
|
348
362
|
},
|
|
349
363
|
mb: {
|
|
350
364
|
cssNames: ["margin-bottom"],
|
|
351
|
-
values1: { values:
|
|
365
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
352
366
|
values2: { values: ["auto"] },
|
|
353
367
|
values3: { values: [] }
|
|
354
368
|
},
|
|
355
369
|
ml: {
|
|
356
370
|
cssNames: ["margin-left"],
|
|
357
|
-
values1: { values:
|
|
371
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
358
372
|
values2: { values: ["auto"] },
|
|
359
373
|
values3: { values: [] }
|
|
360
374
|
},
|
|
361
375
|
p: {
|
|
362
376
|
cssNames: ["padding"],
|
|
363
|
-
values1: { values:
|
|
377
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
364
378
|
values2: { values: [] },
|
|
365
379
|
values3: { values: [] }
|
|
366
380
|
},
|
|
367
381
|
px: {
|
|
368
382
|
cssNames: ["padding-inline"],
|
|
369
|
-
values1: { values:
|
|
383
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
370
384
|
values2: { values: [] },
|
|
371
385
|
values3: { values: [] }
|
|
372
386
|
},
|
|
373
387
|
py: {
|
|
374
388
|
cssNames: ["padding-block"],
|
|
375
|
-
values1: { values:
|
|
389
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
376
390
|
values2: { values: [] },
|
|
377
391
|
values3: { values: [] }
|
|
378
392
|
},
|
|
379
393
|
pt: {
|
|
380
394
|
cssNames: ["padding-top"],
|
|
381
|
-
values1: { values:
|
|
395
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
382
396
|
values2: { values: [] },
|
|
383
397
|
values3: { values: [] }
|
|
384
398
|
},
|
|
385
399
|
pr: {
|
|
386
400
|
cssNames: ["padding-right"],
|
|
387
|
-
values1: { values:
|
|
401
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
388
402
|
values2: { values: [] },
|
|
389
403
|
values3: { values: [] }
|
|
390
404
|
},
|
|
391
405
|
pb: {
|
|
392
406
|
cssNames: ["padding-bottom"],
|
|
393
|
-
values1: { values:
|
|
407
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
394
408
|
values2: { values: [] },
|
|
395
409
|
values3: { values: [] }
|
|
396
410
|
},
|
|
397
411
|
pl: {
|
|
398
412
|
cssNames: ["padding-left"],
|
|
399
|
-
values1: { values:
|
|
413
|
+
values1: { values: b, formatValue: e.Value.rem },
|
|
400
414
|
values2: { values: [] },
|
|
401
415
|
values3: { values: [] }
|
|
402
416
|
},
|
|
@@ -408,37 +422,37 @@ const v = [
|
|
|
408
422
|
},
|
|
409
423
|
bx: {
|
|
410
424
|
cssNames: ["border-inline-width"],
|
|
411
|
-
values1: { values:
|
|
425
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
412
426
|
values2: { values: [] },
|
|
413
427
|
values3: { values: [] }
|
|
414
428
|
},
|
|
415
429
|
by: {
|
|
416
430
|
cssNames: ["border-block-width"],
|
|
417
|
-
values1: { values:
|
|
431
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
418
432
|
values2: { values: [] },
|
|
419
433
|
values3: { values: [] }
|
|
420
434
|
},
|
|
421
435
|
bt: {
|
|
422
436
|
cssNames: ["border-top-width"],
|
|
423
|
-
values1: { values:
|
|
437
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
424
438
|
values2: { values: [] },
|
|
425
439
|
values3: { values: [] }
|
|
426
440
|
},
|
|
427
441
|
br: {
|
|
428
442
|
cssNames: ["border-right-width"],
|
|
429
|
-
values1: { values:
|
|
443
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
430
444
|
values2: { values: [] },
|
|
431
445
|
values3: { values: [] }
|
|
432
446
|
},
|
|
433
447
|
bb: {
|
|
434
448
|
cssNames: ["border-bottom-width"],
|
|
435
|
-
values1: { values:
|
|
449
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
436
450
|
values2: { values: [] },
|
|
437
451
|
values3: { values: [] }
|
|
438
452
|
},
|
|
439
453
|
bl: {
|
|
440
454
|
cssNames: ["border-left-width"],
|
|
441
|
-
values1: { values:
|
|
455
|
+
values1: { values: b, formatValue: e.Value.px },
|
|
442
456
|
values2: { values: [] },
|
|
443
457
|
values3: { values: [] }
|
|
444
458
|
},
|
|
@@ -805,7 +819,7 @@ const v = [
|
|
|
805
819
|
},
|
|
806
820
|
appearance: {
|
|
807
821
|
cssNames: ["appearance"],
|
|
808
|
-
values1: { values: ["none"] },
|
|
822
|
+
values1: { values: ["none", "auto", "menulist-button", "textfield", "button", "checkbox"] },
|
|
809
823
|
values2: { values: [] },
|
|
810
824
|
values3: { values: [] }
|
|
811
825
|
},
|
|
@@ -936,7 +950,7 @@ html{font-size: 16px;font-family: Arial, sans-serif;}
|
|
|
936
950
|
body{margin: 0;line-height: var(--lineHeight);font-size: var(--fontSize);}
|
|
937
951
|
a,ul{all: unset;}
|
|
938
952
|
.${a.boxClassName}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;background-color: initial;transition: all var(--transitionTime);box-sizing: border-box;font-family: inherit;font-size: inherit;}
|
|
939
|
-
.${a.svgClassName}{transition: all var(--svgTransitionTime);}.${a.svgClassName} path,.${a.svgClassName} circle,.${a.svgClassName} rect,.${a.svgClassName} line {transition: all var(--svgTransitionTime);}
|
|
953
|
+
.${a.svgClassName}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}.${a.svgClassName} path,.${a.svgClassName} circle,.${a.svgClassName} rect,.${a.svgClassName} line {transition: all var(--svgTransitionTime);}
|
|
940
954
|
`, t = new ne();
|
|
941
955
|
let n = !0, o = {};
|
|
942
956
|
T();
|
|
@@ -949,15 +963,15 @@ a,ul{all: unset;}
|
|
|
949
963
|
a.get = m;
|
|
950
964
|
function N() {
|
|
951
965
|
if (n) {
|
|
952
|
-
let l =
|
|
966
|
+
let l = d([u]);
|
|
953
967
|
P.forEach((r) => {
|
|
954
|
-
l =
|
|
968
|
+
l = d(l, r);
|
|
955
969
|
}), A.forEach((r) => {
|
|
956
|
-
l.push(`@media(min-width: ${te[r]}px){`), l =
|
|
957
|
-
l =
|
|
970
|
+
l.push(`@media(min-width: ${te[r]}px){`), l = d(l, void 0, r), P.forEach((i) => {
|
|
971
|
+
l = d(l, i, r);
|
|
958
972
|
}), l.push("}");
|
|
959
973
|
});
|
|
960
|
-
const s =
|
|
974
|
+
const s = f();
|
|
961
975
|
s.innerHTML = l.join(""), n = !1;
|
|
962
976
|
}
|
|
963
977
|
}
|
|
@@ -981,34 +995,34 @@ a,ul{all: unset;}
|
|
|
981
995
|
const p = `${i}${s}`;
|
|
982
996
|
return process.env.NODE_ENV === "test" ? p : t.getIdentity(p);
|
|
983
997
|
}
|
|
984
|
-
function
|
|
998
|
+
function d(l, s, r) {
|
|
985
999
|
return Object.entries(o).filter(
|
|
986
1000
|
([p, k]) => {
|
|
987
|
-
var
|
|
988
|
-
return ((
|
|
1001
|
+
var x, $;
|
|
1002
|
+
return ((x = C[p]) == null ? void 0 : x.pseudoSuffix) === s && (($ = C[p]) == null ? void 0 : $.breakpoint) === r && k.size > 0;
|
|
989
1003
|
}
|
|
990
|
-
).reduce((p, [k,
|
|
1004
|
+
).reduce((p, [k, x]) => (x.forEach(($) => {
|
|
991
1005
|
var q;
|
|
992
|
-
const g = C[k], y =
|
|
993
|
-
let
|
|
994
|
-
s ? s === "Hover" ?
|
|
1006
|
+
const g = C[k], y = h(g, $), j = `.${c(k, $)}`;
|
|
1007
|
+
let w = [];
|
|
1008
|
+
s ? s === "Hover" ? w = i(j, g, y, "hover") : s === "Focus" ? w = i(j, g, y, "focus-within") : s === "Active" ? w = i(j, g, y, "active") : s === "Checked" ? w = i(j, g, y, "checked") : s === "Indeterminate" ? w = i(j, g, y, "indeterminate") : s === "Valid" ? w = i(j, g, y, "valid") : s === "Invalid" ? w = i(j, g, y, "invalid") : s === "Required" ? w = i(j, g, y, "required") : s === "Optional" ? w = i(j, g, y, "optional") : s === "Disabled" && (w = i(j, g, y, "disabled")) : w = i(j, g, y);
|
|
995
1009
|
const V = ((q = y.formatValue) == null ? void 0 : q.call(y, k, $)) ?? $, Z = C[k].cssNames.map((ee) => `${ee}:${V};`).join("");
|
|
996
|
-
p.push(`${
|
|
1010
|
+
p.push(`${w.join(",")}{${Z}}`);
|
|
997
1011
|
}), p), l);
|
|
998
|
-
function i(p, k,
|
|
1012
|
+
function i(p, k, x, $) {
|
|
999
1013
|
let g = p;
|
|
1000
|
-
return $ && (g = k.customPseudoSuffix ? `.${k.customPseudoSuffix}:${$} ${p}` : `${p}:${$}`),
|
|
1014
|
+
return $ && (g = k.customPseudoSuffix ? `.${k.customPseudoSuffix}:${$} ${p}` : `${p}:${$}`), x.formatSelector ? x.formatSelector(g) : [g];
|
|
1001
1015
|
}
|
|
1002
1016
|
}
|
|
1003
|
-
function
|
|
1017
|
+
function h(l, s) {
|
|
1004
1018
|
return l.isThemeStyle ? l : l.values1.values.includes(s) ? l.values1 : l.values2.values.includes(s) ? l.values2 : l.values3;
|
|
1005
1019
|
}
|
|
1006
|
-
function
|
|
1020
|
+
function f() {
|
|
1007
1021
|
const s = typeof window < "u" && typeof window.document < "u" ? window.document : global.document;
|
|
1008
1022
|
let r = s.getElementById(a.cronoStylesElementId);
|
|
1009
1023
|
return r || (r = s.createElement("style"), r.setAttribute("id", a.cronoStylesElementId), r.setAttribute("type", "text/css"), s.head.insertBefore(r, s.head.firstChild)), r;
|
|
1010
1024
|
}
|
|
1011
|
-
a.getElement =
|
|
1025
|
+
a.getElement = f;
|
|
1012
1026
|
})(D || (D = {}));
|
|
1013
1027
|
const I = D, H = {
|
|
1014
1028
|
button: {
|
|
@@ -1070,18 +1084,18 @@ var _;
|
|
|
1070
1084
|
a.Styles = o(H), a.Styles = n(c);
|
|
1071
1085
|
}
|
|
1072
1086
|
a.setup = u;
|
|
1073
|
-
function t(c,
|
|
1074
|
-
const { colors:
|
|
1075
|
-
|
|
1076
|
-
const r = Object.entries(
|
|
1077
|
-
`), i = Object.entries(
|
|
1087
|
+
function t(c, d) {
|
|
1088
|
+
const { colors: h = {}, shadows: f = {}, backgrounds: l = {}, backgroundImages: s = {} } = c;
|
|
1089
|
+
h.none = "none", f.none = "none", l.none = "none", s.none = "none";
|
|
1090
|
+
const r = Object.entries(h).map(([V, O]) => `--color${V}: ${O};`).join(`
|
|
1091
|
+
`), i = Object.entries(f).map(([V, O]) => `--shadow${V}: ${O};`).join(`
|
|
1078
1092
|
`), p = Object.entries(l).map(([V, O]) => `--background${V}: ${O};`).join(`
|
|
1079
1093
|
`), k = Object.entries(s).map(([V, O]) => `--backgroundImage${V}: ${O};`).join(`
|
|
1080
|
-
`),
|
|
1081
|
-
r &&
|
|
1082
|
-
const $ = Object.keys(
|
|
1094
|
+
`), x = [":root {"];
|
|
1095
|
+
r && x.push(` ${r}`), i && x.push(` ${i}`), p && x.push(` ${p}`), k && x.push(` ${k}`), x.push("}");
|
|
1096
|
+
const $ = Object.keys(h).map((V) => `'${V}'`).join(" | "), g = Object.keys(l).map((V) => `'${V}'`).join(" | "), y = Object.keys(s).map((V) => `'${V}'`).join(" | "), j = Object.keys(f).map((V) => `'${V}'`).join(" | "), w = `import '@cronocode/react-box';
|
|
1083
1097
|
|
|
1084
|
-
declare module '${(
|
|
1098
|
+
declare module '${(d == null ? void 0 : d.namespacePath) ?? "@cronocode/react-box/core/types"}' {
|
|
1085
1099
|
type ColorType = ${$};
|
|
1086
1100
|
type BackgroundType = ${g};
|
|
1087
1101
|
type BackgroundImageType = ${y};
|
|
@@ -1106,18 +1120,18 @@ var _;
|
|
|
1106
1120
|
}
|
|
1107
1121
|
`;
|
|
1108
1122
|
return {
|
|
1109
|
-
variables:
|
|
1123
|
+
variables: x.join(`
|
|
1110
1124
|
`),
|
|
1111
|
-
boxDts:
|
|
1125
|
+
boxDts: w
|
|
1112
1126
|
};
|
|
1113
1127
|
}
|
|
1114
1128
|
a.setupAugmentedProps = t;
|
|
1115
1129
|
function n(c) {
|
|
1116
|
-
const
|
|
1117
|
-
return Object.keys(H).forEach((
|
|
1118
|
-
const l = f
|
|
1119
|
-
l ? l.styles = { ...s.styles, ...l.styles } : f
|
|
1120
|
-
}),
|
|
1130
|
+
const d = o(c);
|
|
1131
|
+
return Object.keys(H).forEach((f) => {
|
|
1132
|
+
const l = d[f], s = H[f];
|
|
1133
|
+
l ? l.styles = { ...s.styles, ...l.styles } : d[f] = H[f];
|
|
1134
|
+
}), d;
|
|
1121
1135
|
}
|
|
1122
1136
|
function o(c) {
|
|
1123
1137
|
return m(c), T(c), c;
|
|
@@ -1125,30 +1139,30 @@ var _;
|
|
|
1125
1139
|
function m(c) {
|
|
1126
1140
|
if (!c.components)
|
|
1127
1141
|
return;
|
|
1128
|
-
const
|
|
1129
|
-
for (const
|
|
1130
|
-
const
|
|
1131
|
-
delete
|
|
1142
|
+
const d = Object.keys(c.components);
|
|
1143
|
+
for (const h of d) {
|
|
1144
|
+
const f = c.components[h], l = N(h, f);
|
|
1145
|
+
delete f.children;
|
|
1132
1146
|
for (const s of l) {
|
|
1133
1147
|
const [r, i] = s;
|
|
1134
1148
|
c.components[r] = i;
|
|
1135
1149
|
}
|
|
1136
1150
|
}
|
|
1137
1151
|
}
|
|
1138
|
-
function N(c,
|
|
1139
|
-
if (!
|
|
1152
|
+
function N(c, d) {
|
|
1153
|
+
if (!d.children)
|
|
1140
1154
|
return [];
|
|
1141
|
-
const
|
|
1142
|
-
for (const l of
|
|
1143
|
-
const s = `${c}.${l}`, r =
|
|
1144
|
-
|
|
1155
|
+
const h = Object.keys(d.children), f = [];
|
|
1156
|
+
for (const l of h) {
|
|
1157
|
+
const s = `${c}.${l}`, r = d.children[l], i = N(s, r);
|
|
1158
|
+
f.push(...i), delete r.children, f.push([s, r]);
|
|
1145
1159
|
}
|
|
1146
|
-
return
|
|
1160
|
+
return f;
|
|
1147
1161
|
}
|
|
1148
1162
|
function T(c) {
|
|
1149
|
-
const { components:
|
|
1150
|
-
|
|
1151
|
-
for (const l of
|
|
1163
|
+
const { components: d, ...h } = c, f = Object.values(h);
|
|
1164
|
+
d && f.push(...Object.values(d));
|
|
1165
|
+
for (const l of f)
|
|
1152
1166
|
S(l.styles), A.forEach((s) => {
|
|
1153
1167
|
if (s in l.styles) {
|
|
1154
1168
|
const r = l.styles[s];
|
|
@@ -1164,12 +1178,12 @@ var _;
|
|
|
1164
1178
|
});
|
|
1165
1179
|
}
|
|
1166
1180
|
function S(c) {
|
|
1167
|
-
Object.entries(ie).forEach(([
|
|
1168
|
-
if (
|
|
1169
|
-
const
|
|
1170
|
-
Object.entries(
|
|
1171
|
-
c[`${l}${
|
|
1172
|
-
}), delete c[
|
|
1181
|
+
Object.entries(ie).forEach(([d, h]) => {
|
|
1182
|
+
if (h in c) {
|
|
1183
|
+
const f = c[h];
|
|
1184
|
+
Object.entries(f).map(([l, s]) => {
|
|
1185
|
+
c[`${l}${d}`] = s;
|
|
1186
|
+
}), delete c[h];
|
|
1173
1187
|
}
|
|
1174
1188
|
});
|
|
1175
1189
|
}
|
|
@@ -1186,10 +1200,10 @@ function ce(a) {
|
|
|
1186
1200
|
return t ? { ...o.styles, ...(N = o.themes) == null ? void 0 : N[t] } : o.styles;
|
|
1187
1201
|
}, [n, u, t]);
|
|
1188
1202
|
}
|
|
1189
|
-
const me = typeof window < "u" && typeof window.document < "u",
|
|
1203
|
+
const me = typeof window < "u" && typeof window.document < "u", de = me ? se : ae;
|
|
1190
1204
|
function ge(a, u) {
|
|
1191
1205
|
const t = ce(a);
|
|
1192
|
-
return
|
|
1206
|
+
return de(I.flush, [a]), X(() => {
|
|
1193
1207
|
const n = [u ? I.svgClassName : I.boxClassName], o = t ? { ...t, ...a } : { ...a };
|
|
1194
1208
|
return U(o), Object.entries(o).forEach(([m, N]) => {
|
|
1195
1209
|
n.push(I.get(m, N));
|
|
@@ -1221,14 +1235,14 @@ function Q(a, u, t, n) {
|
|
|
1221
1235
|
a[`${o}${t}`] = m;
|
|
1222
1236
|
}), delete a[u]);
|
|
1223
1237
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return a.reduce((u, t) => t ? typeof t == "string" ? (u.push(t), u) : Array.isArray(t) ? (u.push(...
|
|
1238
|
+
function fe(...a) {
|
|
1239
|
+
return a.reduce((u, t) => t ? typeof t == "string" ? (u.push(t), u) : Array.isArray(t) ? (u.push(...fe(...t)), u) : (Object.entries(t).forEach(([n, o]) => {
|
|
1226
1240
|
o && u.push(n);
|
|
1227
1241
|
}), u) : u, []);
|
|
1228
1242
|
}
|
|
1229
1243
|
export {
|
|
1230
1244
|
I as S,
|
|
1231
1245
|
M as T,
|
|
1232
|
-
|
|
1246
|
+
fe as c,
|
|
1233
1247
|
ge as u
|
|
1234
1248
|
};
|