@codecademy/gamut 68.0.1-alpha.4aeb6d.0 → 68.0.1-alpha.588625.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Anchor/index.d.ts +33 -6
- package/dist/Badge/index.d.ts +35 -20
- package/dist/Box/props.d.ts +61 -150
- package/dist/Button/shared/styles.d.ts +59 -136
- package/dist/Card/elements.d.ts +183 -450
- package/dist/Form/elements/Form.d.ts +59 -136
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +61 -150
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +33 -6
- package/dist/Layout/Column.d.ts +33 -6
- package/dist/List/elements.d.ts +94 -156
- package/dist/Menu/elements.d.ts +61 -150
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +61 -138
- package/dist/Pagination/EllipsisButton.d.ts +5 -5
- package/dist/Pagination/EllipsisButton.js +2 -2
- package/dist/Pagination/index.js +4 -4
- package/dist/Pagination/utils.d.ts +59 -136
- package/dist/Pagination/utils.js +1 -1
- package/dist/Tabs/props.d.ts +33 -6
- package/dist/Tag/types.d.ts +33 -6
- package/dist/Toggle/elements.d.ts +2 -14
- package/dist/Typography/Text.d.ts +35 -20
- package/package.json +7 -7
|
@@ -7,52 +7,28 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
7
7
|
};
|
|
8
8
|
readonly borderX: {
|
|
9
9
|
readonly property: "border";
|
|
10
|
-
readonly properties:
|
|
11
|
-
readonly physical: readonly ["borderLeft", "borderRight"];
|
|
12
|
-
readonly logical: readonly ["borderInlineStart", "borderInlineEnd"];
|
|
13
|
-
};
|
|
14
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
10
|
+
readonly properties: readonly ["borderLeft", "borderRight"];
|
|
15
11
|
readonly scale: "borders";
|
|
16
12
|
};
|
|
17
13
|
readonly borderY: {
|
|
18
14
|
readonly property: "border";
|
|
19
|
-
readonly properties:
|
|
20
|
-
readonly physical: readonly ["borderTop", "borderBottom"];
|
|
21
|
-
readonly logical: readonly ["borderBlockStart", "borderBlockEnd"];
|
|
22
|
-
};
|
|
23
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
15
|
+
readonly properties: readonly ["borderTop", "borderBottom"];
|
|
24
16
|
readonly scale: "borders";
|
|
25
17
|
};
|
|
26
18
|
readonly borderTop: {
|
|
27
|
-
readonly property:
|
|
28
|
-
readonly physical: "borderTop";
|
|
29
|
-
readonly logical: "borderBlockStart";
|
|
30
|
-
};
|
|
31
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
19
|
+
readonly property: "borderTop";
|
|
32
20
|
readonly scale: "borders";
|
|
33
21
|
};
|
|
34
22
|
readonly borderRight: {
|
|
35
|
-
readonly property:
|
|
36
|
-
readonly physical: "borderRight";
|
|
37
|
-
readonly logical: "borderInlineEnd";
|
|
38
|
-
};
|
|
39
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
23
|
+
readonly property: "borderRight";
|
|
40
24
|
readonly scale: "borders";
|
|
41
25
|
};
|
|
42
26
|
readonly borderBottom: {
|
|
43
|
-
readonly property:
|
|
44
|
-
readonly physical: "borderBottom";
|
|
45
|
-
readonly logical: "borderBlockEnd";
|
|
46
|
-
};
|
|
47
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
27
|
+
readonly property: "borderBottom";
|
|
48
28
|
readonly scale: "borders";
|
|
49
29
|
};
|
|
50
30
|
readonly borderLeft: {
|
|
51
|
-
readonly property:
|
|
52
|
-
readonly physical: "borderLeft";
|
|
53
|
-
readonly logical: "borderInlineStart";
|
|
54
|
-
};
|
|
55
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
31
|
+
readonly property: "borderLeft";
|
|
56
32
|
readonly scale: "borders";
|
|
57
33
|
};
|
|
58
34
|
readonly borderWidth: {
|
|
@@ -60,47 +36,23 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
60
36
|
};
|
|
61
37
|
readonly borderWidthX: {
|
|
62
38
|
readonly property: "borderWidth";
|
|
63
|
-
readonly properties:
|
|
64
|
-
readonly physical: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
65
|
-
readonly logical: readonly ["borderInlineStartWidth", "borderInlineEndWidth"];
|
|
66
|
-
};
|
|
67
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
39
|
+
readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
68
40
|
};
|
|
69
41
|
readonly borderWidthY: {
|
|
70
42
|
readonly property: "borderWidth";
|
|
71
|
-
readonly properties:
|
|
72
|
-
readonly physical: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
73
|
-
readonly logical: readonly ["borderBlockStartWidth", "borderBlockEndWidth"];
|
|
74
|
-
};
|
|
75
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
43
|
+
readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
76
44
|
};
|
|
77
45
|
readonly borderWidthLeft: {
|
|
78
|
-
readonly property:
|
|
79
|
-
readonly physical: "borderLeftWidth";
|
|
80
|
-
readonly logical: "borderInlineStartWidth";
|
|
81
|
-
};
|
|
82
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
46
|
+
readonly property: "borderLeftWidth";
|
|
83
47
|
};
|
|
84
48
|
readonly borderWidthRight: {
|
|
85
|
-
readonly property:
|
|
86
|
-
readonly physical: "borderRightWidth";
|
|
87
|
-
readonly logical: "borderInlineEndWidth";
|
|
88
|
-
};
|
|
89
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
49
|
+
readonly property: "borderRightWidth";
|
|
90
50
|
};
|
|
91
51
|
readonly borderWidthTop: {
|
|
92
|
-
readonly property:
|
|
93
|
-
readonly physical: "borderTopWidth";
|
|
94
|
-
readonly logical: "borderBlockStartWidth";
|
|
95
|
-
};
|
|
96
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
52
|
+
readonly property: "borderTopWidth";
|
|
97
53
|
};
|
|
98
54
|
readonly borderWidthBottom: {
|
|
99
|
-
readonly property:
|
|
100
|
-
readonly physical: "borderBottomWidth";
|
|
101
|
-
readonly logical: "borderBlockEndWidth";
|
|
102
|
-
};
|
|
103
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
55
|
+
readonly property: "borderBottomWidth";
|
|
104
56
|
};
|
|
105
57
|
readonly borderRadius: {
|
|
106
58
|
readonly property: "borderRadius";
|
|
@@ -108,70 +60,38 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
108
60
|
};
|
|
109
61
|
readonly borderRadiusLeft: {
|
|
110
62
|
readonly property: "borderRadius";
|
|
111
|
-
readonly properties:
|
|
112
|
-
readonly physical: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
113
|
-
readonly logical: readonly ["borderStartStartRadius", "borderEndStartRadius"];
|
|
114
|
-
};
|
|
115
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
63
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
116
64
|
readonly scale: "borderRadii";
|
|
117
65
|
};
|
|
118
66
|
readonly borderRadiusTop: {
|
|
119
67
|
readonly property: "borderRadius";
|
|
120
|
-
readonly properties:
|
|
121
|
-
readonly physical: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
122
|
-
readonly logical: readonly ["borderStartStartRadius", "borderStartEndRadius"];
|
|
123
|
-
};
|
|
124
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
68
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
125
69
|
readonly scale: "borderRadii";
|
|
126
70
|
};
|
|
127
71
|
readonly borderRadiusBottom: {
|
|
128
72
|
readonly property: "borderRadius";
|
|
129
|
-
readonly properties:
|
|
130
|
-
readonly physical: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
131
|
-
readonly logical: readonly ["borderEndStartRadius", "borderEndEndRadius"];
|
|
132
|
-
};
|
|
133
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
73
|
+
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
134
74
|
readonly scale: "borderRadii";
|
|
135
75
|
};
|
|
136
76
|
readonly borderRadiusRight: {
|
|
137
77
|
readonly property: "borderRadius";
|
|
138
|
-
readonly properties:
|
|
139
|
-
readonly physical: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
140
|
-
readonly logical: readonly ["borderStartEndRadius", "borderEndEndRadius"];
|
|
141
|
-
};
|
|
142
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
78
|
+
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
143
79
|
readonly scale: "borderRadii";
|
|
144
80
|
};
|
|
145
81
|
readonly borderRadiusTopLeft: {
|
|
146
|
-
readonly property:
|
|
147
|
-
readonly physical: "borderTopLeftRadius";
|
|
148
|
-
readonly logical: "borderStartStartRadius";
|
|
149
|
-
};
|
|
150
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
82
|
+
readonly property: "borderTopLeftRadius";
|
|
151
83
|
readonly scale: "borderRadii";
|
|
152
84
|
};
|
|
153
85
|
readonly borderRadiusTopRight: {
|
|
154
|
-
readonly property:
|
|
155
|
-
readonly physical: "borderTopRightRadius";
|
|
156
|
-
readonly logical: "borderStartEndRadius";
|
|
157
|
-
};
|
|
158
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
86
|
+
readonly property: "borderTopRightRadius";
|
|
159
87
|
readonly scale: "borderRadii";
|
|
160
88
|
};
|
|
161
89
|
readonly borderRadiusBottomRight: {
|
|
162
|
-
readonly property:
|
|
163
|
-
readonly physical: "borderBottomRightRadius";
|
|
164
|
-
readonly logical: "borderEndEndRadius";
|
|
165
|
-
};
|
|
166
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
90
|
+
readonly property: "borderBottomRightRadius";
|
|
167
91
|
readonly scale: "borderRadii";
|
|
168
92
|
};
|
|
169
93
|
readonly borderRadiusBottomLeft: {
|
|
170
|
-
readonly property:
|
|
171
|
-
readonly physical: "borderBottomLeftRadius";
|
|
172
|
-
readonly logical: "borderEndStartRadius";
|
|
173
|
-
};
|
|
174
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
94
|
+
readonly property: "borderBottomLeftRadius";
|
|
175
95
|
readonly scale: "borderRadii";
|
|
176
96
|
};
|
|
177
97
|
readonly borderStyle: {
|
|
@@ -179,47 +99,23 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
179
99
|
};
|
|
180
100
|
readonly borderStyleX: {
|
|
181
101
|
readonly property: "borderStyle";
|
|
182
|
-
readonly properties:
|
|
183
|
-
readonly physical: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
184
|
-
readonly logical: readonly ["borderInlineStartStyle", "borderInlineEndStyle"];
|
|
185
|
-
};
|
|
186
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
102
|
+
readonly properties: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
187
103
|
};
|
|
188
104
|
readonly borderStyleY: {
|
|
189
105
|
readonly property: "borderStyle";
|
|
190
|
-
readonly properties:
|
|
191
|
-
readonly physical: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
192
|
-
readonly logical: readonly ["borderBlockStartStyle", "borderBlockEndStyle"];
|
|
193
|
-
};
|
|
194
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
106
|
+
readonly properties: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
195
107
|
};
|
|
196
108
|
readonly borderStyleLeft: {
|
|
197
|
-
readonly property:
|
|
198
|
-
readonly physical: "borderLeftStyle";
|
|
199
|
-
readonly logical: "borderInlineStartStyle";
|
|
200
|
-
};
|
|
201
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
109
|
+
readonly property: "borderLeftStyle";
|
|
202
110
|
};
|
|
203
111
|
readonly borderStyleRight: {
|
|
204
|
-
readonly property:
|
|
205
|
-
readonly physical: "borderRightStyle";
|
|
206
|
-
readonly logical: "borderInlineEndStyle";
|
|
207
|
-
};
|
|
208
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
112
|
+
readonly property: "borderRightStyle";
|
|
209
113
|
};
|
|
210
114
|
readonly borderStyleTop: {
|
|
211
|
-
readonly property:
|
|
212
|
-
readonly physical: "borderTopStyle";
|
|
213
|
-
readonly logical: "borderBlockStartStyle";
|
|
214
|
-
};
|
|
215
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
115
|
+
readonly property: "borderTopStyle";
|
|
216
116
|
};
|
|
217
117
|
readonly borderStyleBottom: {
|
|
218
|
-
readonly property:
|
|
219
|
-
readonly physical: "borderBottomStyle";
|
|
220
|
-
readonly logical: "borderBlockEndStyle";
|
|
221
|
-
};
|
|
222
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
118
|
+
readonly property: "borderBottomStyle";
|
|
223
119
|
};
|
|
224
120
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
225
121
|
readonly color: {
|
|
@@ -240,40 +136,28 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
240
136
|
};
|
|
241
137
|
readonly borderColorX: {
|
|
242
138
|
readonly property: "borderColor";
|
|
243
|
-
readonly properties:
|
|
244
|
-
readonly physical: readonly ["borderLeftColor", "borderRightColor"];
|
|
245
|
-
readonly logical: readonly ["borderInlineStartColor", "borderInlineEndColor"];
|
|
246
|
-
};
|
|
247
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
139
|
+
readonly properties: readonly ["borderLeftColor", "borderRightColor"];
|
|
248
140
|
readonly scale: "colors";
|
|
249
141
|
};
|
|
250
142
|
readonly borderColorY: {
|
|
251
143
|
readonly property: "borderColor";
|
|
252
|
-
readonly properties:
|
|
253
|
-
readonly physical: readonly ["borderTopColor", "borderBottomColor"];
|
|
254
|
-
readonly logical: readonly ["borderBlockStartColor", "borderBlockEndColor"];
|
|
255
|
-
};
|
|
256
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
144
|
+
readonly properties: readonly ["borderTopColor", "borderBottomColor"];
|
|
257
145
|
readonly scale: "colors";
|
|
258
146
|
};
|
|
259
147
|
readonly borderColorLeft: {
|
|
260
148
|
readonly property: "borderLeftColor";
|
|
261
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
262
149
|
readonly scale: "colors";
|
|
263
150
|
};
|
|
264
151
|
readonly borderColorRight: {
|
|
265
152
|
readonly property: "borderRightColor";
|
|
266
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
267
153
|
readonly scale: "colors";
|
|
268
154
|
};
|
|
269
155
|
readonly borderColorTop: {
|
|
270
156
|
readonly property: "borderTopColor";
|
|
271
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
272
157
|
readonly scale: "colors";
|
|
273
158
|
};
|
|
274
159
|
readonly borderColorBottom: {
|
|
275
160
|
readonly property: "borderBottomColor";
|
|
276
|
-
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
277
161
|
readonly scale: "colors";
|
|
278
162
|
};
|
|
279
163
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
@@ -337,32 +221,59 @@ declare const hrProps: import("@codecademy/variance/dist/types/config").Parser<i
|
|
|
337
221
|
readonly transform: (value: string | number) => string | 0;
|
|
338
222
|
};
|
|
339
223
|
readonly width: {
|
|
340
|
-
readonly property:
|
|
224
|
+
readonly property: {
|
|
225
|
+
readonly physical: "width";
|
|
226
|
+
readonly logical: "inlineSize";
|
|
227
|
+
};
|
|
228
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
341
229
|
readonly transform: (value: string | number) => string | 0;
|
|
342
230
|
};
|
|
343
231
|
readonly minWidth: {
|
|
344
|
-
readonly property:
|
|
232
|
+
readonly property: {
|
|
233
|
+
readonly physical: "minWidth";
|
|
234
|
+
readonly logical: "minInlineSize";
|
|
235
|
+
};
|
|
236
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
345
237
|
readonly transform: (value: string | number) => string | 0;
|
|
346
238
|
};
|
|
347
239
|
readonly maxWidth: {
|
|
348
|
-
readonly property:
|
|
240
|
+
readonly property: {
|
|
241
|
+
readonly physical: "maxWidth";
|
|
242
|
+
readonly logical: "maxInlineSize";
|
|
243
|
+
};
|
|
244
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
349
245
|
readonly transform: (value: string | number) => string | 0;
|
|
350
246
|
};
|
|
351
247
|
readonly height: {
|
|
352
|
-
readonly property:
|
|
248
|
+
readonly property: {
|
|
249
|
+
readonly physical: "height";
|
|
250
|
+
readonly logical: "blockSize";
|
|
251
|
+
};
|
|
252
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
353
253
|
readonly transform: (value: string | number) => string | 0;
|
|
354
254
|
};
|
|
355
255
|
readonly minHeight: {
|
|
356
|
-
readonly property:
|
|
256
|
+
readonly property: {
|
|
257
|
+
readonly physical: "minHeight";
|
|
258
|
+
readonly logical: "minBlockSize";
|
|
259
|
+
};
|
|
260
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
357
261
|
readonly transform: (value: string | number) => string | 0;
|
|
358
262
|
};
|
|
359
263
|
readonly maxHeight: {
|
|
360
|
-
readonly property:
|
|
264
|
+
readonly property: {
|
|
265
|
+
readonly physical: "maxHeight";
|
|
266
|
+
readonly logical: "maxBlockSize";
|
|
267
|
+
};
|
|
268
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
361
269
|
readonly transform: (value: string | number) => string | 0;
|
|
362
270
|
};
|
|
363
271
|
readonly verticalAlign: {
|
|
364
272
|
readonly property: "verticalAlign";
|
|
365
273
|
};
|
|
274
|
+
readonly direction: {
|
|
275
|
+
readonly property: "direction";
|
|
276
|
+
};
|
|
366
277
|
}>>]>>;
|
|
367
278
|
export interface HrProps extends StyleProps<typeof hrProps> {
|
|
368
279
|
}
|
|
@@ -13,11 +13,19 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
|
|
|
13
13
|
readonly scale: "spacing";
|
|
14
14
|
}>;
|
|
15
15
|
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
16
|
-
readonly property:
|
|
16
|
+
readonly property: {
|
|
17
|
+
readonly physical: "height";
|
|
18
|
+
readonly logical: "blockSize";
|
|
19
|
+
};
|
|
20
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
17
21
|
readonly transform: (value: string | number) => string | 0;
|
|
18
22
|
}>;
|
|
19
23
|
width?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
20
|
-
readonly property:
|
|
24
|
+
readonly property: {
|
|
25
|
+
readonly physical: "width";
|
|
26
|
+
readonly logical: "inlineSize";
|
|
27
|
+
};
|
|
28
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
21
29
|
readonly transform: (value: string | number) => string | 0;
|
|
22
30
|
}>;
|
|
23
31
|
alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -26,6 +34,9 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
|
|
|
26
34
|
containerType?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
27
35
|
readonly property: "containerType";
|
|
28
36
|
}>;
|
|
37
|
+
direction?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
38
|
+
readonly property: "direction";
|
|
39
|
+
}>;
|
|
29
40
|
display?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
30
41
|
readonly property: "display";
|
|
31
42
|
}>;
|
|
@@ -54,19 +65,35 @@ declare const CardBody: import("@emotion/styled").StyledComponent<{
|
|
|
54
65
|
readonly property: "justifySelf";
|
|
55
66
|
}>;
|
|
56
67
|
maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
57
|
-
readonly property:
|
|
68
|
+
readonly property: {
|
|
69
|
+
readonly physical: "maxHeight";
|
|
70
|
+
readonly logical: "maxBlockSize";
|
|
71
|
+
};
|
|
72
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
58
73
|
readonly transform: (value: string | number) => string | 0;
|
|
59
74
|
}>;
|
|
60
75
|
maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
61
|
-
readonly property:
|
|
76
|
+
readonly property: {
|
|
77
|
+
readonly physical: "maxWidth";
|
|
78
|
+
readonly logical: "maxInlineSize";
|
|
79
|
+
};
|
|
80
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
62
81
|
readonly transform: (value: string | number) => string | 0;
|
|
63
82
|
}>;
|
|
64
83
|
minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
65
|
-
readonly property:
|
|
84
|
+
readonly property: {
|
|
85
|
+
readonly physical: "minHeight";
|
|
86
|
+
readonly logical: "minBlockSize";
|
|
87
|
+
};
|
|
88
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
66
89
|
readonly transform: (value: string | number) => string | 0;
|
|
67
90
|
}>;
|
|
68
91
|
minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
69
|
-
readonly property:
|
|
92
|
+
readonly property: {
|
|
93
|
+
readonly physical: "minWidth";
|
|
94
|
+
readonly logical: "minInlineSize";
|
|
95
|
+
};
|
|
96
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
70
97
|
readonly transform: (value: string | number) => string | 0;
|
|
71
98
|
}>;
|
|
72
99
|
order?: import("@codecademy/variance/dist/types/config").Scale<{
|
package/dist/Layout/Column.d.ts
CHANGED
|
@@ -64,32 +64,59 @@ declare const columnProps: import("@codecademy/variance/dist/types/config").Pars
|
|
|
64
64
|
readonly transform: (value: string | number) => string | 0;
|
|
65
65
|
};
|
|
66
66
|
readonly width: {
|
|
67
|
-
readonly property:
|
|
67
|
+
readonly property: {
|
|
68
|
+
readonly physical: "width";
|
|
69
|
+
readonly logical: "inlineSize";
|
|
70
|
+
};
|
|
71
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
68
72
|
readonly transform: (value: string | number) => string | 0;
|
|
69
73
|
};
|
|
70
74
|
readonly minWidth: {
|
|
71
|
-
readonly property:
|
|
75
|
+
readonly property: {
|
|
76
|
+
readonly physical: "minWidth";
|
|
77
|
+
readonly logical: "minInlineSize";
|
|
78
|
+
};
|
|
79
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
72
80
|
readonly transform: (value: string | number) => string | 0;
|
|
73
81
|
};
|
|
74
82
|
readonly maxWidth: {
|
|
75
|
-
readonly property:
|
|
83
|
+
readonly property: {
|
|
84
|
+
readonly physical: "maxWidth";
|
|
85
|
+
readonly logical: "maxInlineSize";
|
|
86
|
+
};
|
|
87
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
76
88
|
readonly transform: (value: string | number) => string | 0;
|
|
77
89
|
};
|
|
78
90
|
readonly height: {
|
|
79
|
-
readonly property:
|
|
91
|
+
readonly property: {
|
|
92
|
+
readonly physical: "height";
|
|
93
|
+
readonly logical: "blockSize";
|
|
94
|
+
};
|
|
95
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
80
96
|
readonly transform: (value: string | number) => string | 0;
|
|
81
97
|
};
|
|
82
98
|
readonly minHeight: {
|
|
83
|
-
readonly property:
|
|
99
|
+
readonly property: {
|
|
100
|
+
readonly physical: "minHeight";
|
|
101
|
+
readonly logical: "minBlockSize";
|
|
102
|
+
};
|
|
103
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
84
104
|
readonly transform: (value: string | number) => string | 0;
|
|
85
105
|
};
|
|
86
106
|
readonly maxHeight: {
|
|
87
|
-
readonly property:
|
|
107
|
+
readonly property: {
|
|
108
|
+
readonly physical: "maxHeight";
|
|
109
|
+
readonly logical: "maxBlockSize";
|
|
110
|
+
};
|
|
111
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
88
112
|
readonly transform: (value: string | number) => string | 0;
|
|
89
113
|
};
|
|
90
114
|
readonly verticalAlign: {
|
|
91
115
|
readonly property: "verticalAlign";
|
|
92
116
|
};
|
|
117
|
+
readonly direction: {
|
|
118
|
+
readonly property: "direction";
|
|
119
|
+
};
|
|
93
120
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
94
121
|
readonly p: {
|
|
95
122
|
readonly property: "padding";
|