@codecademy/gamut 68.0.1-alpha.897add.0 → 68.0.1-alpha.a46571.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/LICENSE +21 -0
- package/dist/Anchor/index.d.ts +60 -12
- package/dist/Badge/index.d.ts +60 -12
- package/dist/Box/props.d.ts +120 -24
- package/dist/Button/shared/styles.d.ts +120 -24
- package/dist/Card/elements.d.ts +360 -72
- package/dist/Form/elements/Form.d.ts +120 -24
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +60 -12
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +30 -6
- package/dist/Layout/Column.d.ts +60 -12
- package/dist/Layout/LayoutGrid.d.ts +60 -12
- package/dist/List/elements.d.ts +180 -36
- package/dist/Menu/elements.d.ts +120 -24
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +120 -24
- package/dist/Pagination/utils.d.ts +120 -24
- package/dist/Tabs/props.d.ts +60 -12
- package/dist/Tag/types.d.ts +60 -12
- package/dist/Toggle/elements.d.ts +120 -24
- package/dist/Typography/Text.d.ts +60 -12
- package/package.json +8 -7
|
@@ -129,29 +129,53 @@ export declare const buttonProps: import("@codecademy/variance/dist/types/config
|
|
|
129
129
|
};
|
|
130
130
|
readonly px: {
|
|
131
131
|
readonly property: "padding";
|
|
132
|
-
readonly properties:
|
|
132
|
+
readonly properties: {
|
|
133
|
+
readonly physical: readonly ["paddingLeft", "paddingRight"];
|
|
134
|
+
readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
|
|
135
|
+
};
|
|
133
136
|
readonly scale: "spacing";
|
|
137
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
134
138
|
};
|
|
135
139
|
readonly py: {
|
|
136
140
|
readonly property: "padding";
|
|
137
|
-
readonly properties:
|
|
141
|
+
readonly properties: {
|
|
142
|
+
readonly physical: readonly ["paddingTop", "paddingBottom"];
|
|
143
|
+
readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
|
|
144
|
+
};
|
|
138
145
|
readonly scale: "spacing";
|
|
146
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
139
147
|
};
|
|
140
148
|
readonly pt: {
|
|
141
|
-
readonly property:
|
|
149
|
+
readonly property: {
|
|
150
|
+
readonly physical: "paddingTop";
|
|
151
|
+
readonly logical: "paddingBlockStart";
|
|
152
|
+
};
|
|
142
153
|
readonly scale: "spacing";
|
|
154
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
143
155
|
};
|
|
144
156
|
readonly pb: {
|
|
145
|
-
readonly property:
|
|
157
|
+
readonly property: {
|
|
158
|
+
readonly physical: "paddingBottom";
|
|
159
|
+
readonly logical: "paddingBlockEnd";
|
|
160
|
+
};
|
|
146
161
|
readonly scale: "spacing";
|
|
162
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
147
163
|
};
|
|
148
164
|
readonly pr: {
|
|
149
|
-
readonly property:
|
|
165
|
+
readonly property: {
|
|
166
|
+
readonly physical: "paddingRight";
|
|
167
|
+
readonly logical: "paddingInlineEnd";
|
|
168
|
+
};
|
|
150
169
|
readonly scale: "spacing";
|
|
170
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
151
171
|
};
|
|
152
172
|
readonly pl: {
|
|
153
|
-
readonly property:
|
|
173
|
+
readonly property: {
|
|
174
|
+
readonly physical: "paddingLeft";
|
|
175
|
+
readonly logical: "paddingInlineStart";
|
|
176
|
+
};
|
|
154
177
|
readonly scale: "spacing";
|
|
178
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
155
179
|
};
|
|
156
180
|
readonly m: {
|
|
157
181
|
readonly property: "margin";
|
|
@@ -159,29 +183,53 @@ export declare const buttonProps: import("@codecademy/variance/dist/types/config
|
|
|
159
183
|
};
|
|
160
184
|
readonly mx: {
|
|
161
185
|
readonly property: "margin";
|
|
162
|
-
readonly properties:
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly physical: readonly ["marginLeft", "marginRight"];
|
|
188
|
+
readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
|
|
189
|
+
};
|
|
190
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
163
191
|
readonly scale: "spacing";
|
|
164
192
|
};
|
|
165
193
|
readonly my: {
|
|
166
194
|
readonly property: "margin";
|
|
167
|
-
readonly properties:
|
|
195
|
+
readonly properties: {
|
|
196
|
+
readonly physical: readonly ["marginTop", "marginBottom"];
|
|
197
|
+
readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
|
|
198
|
+
};
|
|
199
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
168
200
|
readonly scale: "spacing";
|
|
169
201
|
};
|
|
170
202
|
readonly mt: {
|
|
171
|
-
readonly property:
|
|
203
|
+
readonly property: {
|
|
204
|
+
readonly physical: "marginTop";
|
|
205
|
+
readonly logical: "marginBlockStart";
|
|
206
|
+
};
|
|
172
207
|
readonly scale: "spacing";
|
|
208
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
173
209
|
};
|
|
174
210
|
readonly mb: {
|
|
175
|
-
readonly property:
|
|
211
|
+
readonly property: {
|
|
212
|
+
readonly physical: "marginBottom";
|
|
213
|
+
readonly logical: "marginBlockEnd";
|
|
214
|
+
};
|
|
176
215
|
readonly scale: "spacing";
|
|
216
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
177
217
|
};
|
|
178
218
|
readonly mr: {
|
|
179
|
-
readonly property:
|
|
219
|
+
readonly property: {
|
|
220
|
+
readonly physical: "marginRight";
|
|
221
|
+
readonly logical: "marginInlineEnd";
|
|
222
|
+
};
|
|
180
223
|
readonly scale: "spacing";
|
|
224
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
181
225
|
};
|
|
182
226
|
readonly ml: {
|
|
183
|
-
readonly property:
|
|
227
|
+
readonly property: {
|
|
228
|
+
readonly physical: "marginLeft";
|
|
229
|
+
readonly logical: "marginInlineStart";
|
|
230
|
+
};
|
|
184
231
|
readonly scale: "spacing";
|
|
232
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
185
233
|
};
|
|
186
234
|
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
187
235
|
readonly border: {
|
|
@@ -190,28 +238,52 @@ export declare const buttonProps: import("@codecademy/variance/dist/types/config
|
|
|
190
238
|
};
|
|
191
239
|
readonly borderX: {
|
|
192
240
|
readonly property: "border";
|
|
193
|
-
readonly properties:
|
|
241
|
+
readonly properties: {
|
|
242
|
+
readonly physical: readonly ["borderLeft", "borderRight"];
|
|
243
|
+
readonly logical: readonly ["borderInlineStart", "borderInlineEnd"];
|
|
244
|
+
};
|
|
245
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
194
246
|
readonly scale: "borders";
|
|
195
247
|
};
|
|
196
248
|
readonly borderY: {
|
|
197
249
|
readonly property: "border";
|
|
198
|
-
readonly properties:
|
|
250
|
+
readonly properties: {
|
|
251
|
+
readonly physical: readonly ["borderTop", "borderBottom"];
|
|
252
|
+
readonly logical: readonly ["borderBlockStart", "borderBlockEnd"];
|
|
253
|
+
};
|
|
254
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
199
255
|
readonly scale: "borders";
|
|
200
256
|
};
|
|
201
257
|
readonly borderTop: {
|
|
202
|
-
readonly property:
|
|
258
|
+
readonly property: {
|
|
259
|
+
readonly physical: "borderTop";
|
|
260
|
+
readonly logical: "borderBlockStart";
|
|
261
|
+
};
|
|
262
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
203
263
|
readonly scale: "borders";
|
|
204
264
|
};
|
|
205
265
|
readonly borderRight: {
|
|
206
|
-
readonly property:
|
|
266
|
+
readonly property: {
|
|
267
|
+
readonly physical: "borderRight";
|
|
268
|
+
readonly logical: "borderInlineEnd";
|
|
269
|
+
};
|
|
270
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
207
271
|
readonly scale: "borders";
|
|
208
272
|
};
|
|
209
273
|
readonly borderBottom: {
|
|
210
|
-
readonly property:
|
|
274
|
+
readonly property: {
|
|
275
|
+
readonly physical: "borderBottom";
|
|
276
|
+
readonly logical: "borderBlockEnd";
|
|
277
|
+
};
|
|
278
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
211
279
|
readonly scale: "borders";
|
|
212
280
|
};
|
|
213
281
|
readonly borderLeft: {
|
|
214
|
-
readonly property:
|
|
282
|
+
readonly property: {
|
|
283
|
+
readonly physical: "borderLeft";
|
|
284
|
+
readonly logical: "borderInlineStart";
|
|
285
|
+
};
|
|
286
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
215
287
|
readonly scale: "borders";
|
|
216
288
|
};
|
|
217
289
|
readonly borderWidth: {
|
|
@@ -219,23 +291,47 @@ export declare const buttonProps: import("@codecademy/variance/dist/types/config
|
|
|
219
291
|
};
|
|
220
292
|
readonly borderWidthX: {
|
|
221
293
|
readonly property: "borderWidth";
|
|
222
|
-
readonly properties:
|
|
294
|
+
readonly properties: {
|
|
295
|
+
readonly physical: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
296
|
+
readonly logical: readonly ["borderInlineStartWidth", "borderInlineEndWidth"];
|
|
297
|
+
};
|
|
298
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
223
299
|
};
|
|
224
300
|
readonly borderWidthY: {
|
|
225
301
|
readonly property: "borderWidth";
|
|
226
|
-
readonly properties:
|
|
302
|
+
readonly properties: {
|
|
303
|
+
readonly physical: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
304
|
+
readonly logical: readonly ["borderBlockStartWidth", "borderBlockEndWidth"];
|
|
305
|
+
};
|
|
306
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
227
307
|
};
|
|
228
308
|
readonly borderWidthLeft: {
|
|
229
|
-
readonly property:
|
|
309
|
+
readonly property: {
|
|
310
|
+
readonly physical: "borderLeftWidth";
|
|
311
|
+
readonly logical: "borderInlineStartWidth";
|
|
312
|
+
};
|
|
313
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
230
314
|
};
|
|
231
315
|
readonly borderWidthRight: {
|
|
232
|
-
readonly property:
|
|
316
|
+
readonly property: {
|
|
317
|
+
readonly physical: "borderRightWidth";
|
|
318
|
+
readonly logical: "borderInlineEndWidth";
|
|
319
|
+
};
|
|
320
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
233
321
|
};
|
|
234
322
|
readonly borderWidthTop: {
|
|
235
|
-
readonly property:
|
|
323
|
+
readonly property: {
|
|
324
|
+
readonly physical: "borderTopWidth";
|
|
325
|
+
readonly logical: "borderBlockStartWidth";
|
|
326
|
+
};
|
|
327
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
236
328
|
};
|
|
237
329
|
readonly borderWidthBottom: {
|
|
238
|
-
readonly property:
|
|
330
|
+
readonly property: {
|
|
331
|
+
readonly physical: "borderBottomWidth";
|
|
332
|
+
readonly logical: "borderBlockEndWidth";
|
|
333
|
+
};
|
|
334
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
239
335
|
};
|
|
240
336
|
readonly borderRadius: {
|
|
241
337
|
readonly property: "borderRadius";
|