@codecademy/gamut 72.2.2-alpha.ca06a3.0 → 72.2.2-alpha.d894be.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/Alert/elements.d.ts +4 -4
- package/dist/Anchor/index.d.ts +19 -9
- package/dist/Anchor/index.js +9 -6
- package/dist/BarChart/BarRow/elements.d.ts +156 -154
- package/dist/BarChart/utils/hooks.d.ts +2 -2
- package/dist/BarChart/utils/hooks.js +3 -1
- package/dist/Box/GridBox.d.ts +1 -0
- package/dist/Box/GridBox.js +1 -1
- package/dist/Box/props.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +5 -5
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Button/CTAButton.d.ts +2 -2
- package/dist/Button/FillButton.d.ts +4 -4
- package/dist/Button/IconButton.d.ts +4 -4
- package/dist/Button/StrokeButton.d.ts +4 -4
- package/dist/Button/TextButton.d.ts +4 -4
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/shared/InlineIconButton.d.ts +2 -2
- package/dist/Button/shared/styles.d.ts +3 -3
- package/dist/Button/shared/types.d.ts +1 -1
- package/dist/ButtonBase/ButtonBase.d.ts +9 -4
- package/dist/ButtonBase/ButtonBase.js +11 -4
- package/dist/ButtonBase/index.d.ts +1 -1
- package/dist/ButtonBase/index.js +1 -1
- package/dist/Card/elements.d.ts +436 -430
- package/dist/Card/styles.d.ts +8 -8
- package/dist/Coachmark/index.d.ts +1 -1
- package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
- package/dist/ConnectedForm/ConnectedFormGroup.js +5 -7
- package/dist/ConnectedForm/ConnectedInputs/ConnectedCheckbox.js +1 -3
- package/dist/ConnectedForm/utils.d.ts +1 -1
- package/dist/ConnectedForm/utils.js +1 -1
- package/dist/DataList/Tables/Rows/TableRow.js +1 -5
- package/dist/DatePicker/DatePickerInput/index.d.ts +1 -1
- package/dist/Disclosure/elements.d.ts +24 -18
- package/dist/FeatureShimmer/index.js +1 -1
- package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
- package/dist/Form/SelectDropdown/elements/containers.js +1 -1
- package/dist/Form/SelectDropdown/elements/controls.js +2 -2
- package/dist/Form/SelectDropdown/elements/multi-value.js +2 -2
- package/dist/Form/SelectDropdown/types/internal.d.ts +2 -2
- package/dist/Form/SelectDropdown/utils.js +2 -1
- package/dist/Form/elements/Form.d.ts +93 -93
- package/dist/Form/elements/FormGroup.d.ts +1 -1
- package/dist/Form/index.d.ts +2 -0
- package/dist/Form/index.js +2 -1
- package/dist/Form/styles/Checkbox-styles.d.ts +1 -1
- package/dist/GridForm/GridFormButtons/index.d.ts +7 -7
- package/dist/List/ListProvider.d.ts +1 -1
- package/dist/List/ListRow.js +2 -3
- package/dist/List/elements.d.ts +153 -151
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/Menu/MenuItem.js +11 -8
- package/dist/Menu/MenuSeparator.js +2 -2
- package/dist/Menu/elements.d.ts +2 -2
- package/dist/Menu/index.d.ts +1 -0
- package/dist/Menu/index.js +2 -1
- package/dist/Modals/Dialog.js +6 -2
- package/dist/Modals/Modal.js +5 -2
- package/dist/Modals/elements.d.ts +35 -35
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +110 -108
- package/dist/Pagination/EllipsisButton.d.ts +4 -4
- package/dist/Pagination/PaginationButton.d.ts +6 -6
- package/dist/Pagination/utils.d.ts +110 -108
- package/dist/Pagination/utils.js +14 -11
- package/dist/PatternBackdrop/PatternBackdrop.d.ts +34 -34
- package/dist/Popover/Popover.js +6 -6
- package/dist/Popover/types.d.ts +4 -3
- package/dist/PopoverContainer/PopoverContainer.js +9 -9
- package/dist/PopoverContainer/hooks.d.ts +16 -4
- package/dist/PopoverContainer/hooks.js +50 -27
- package/dist/PopoverContainer/types.d.ts +2 -1
- package/dist/Tabs/TabButton.d.ts +2 -2
- package/dist/Tabs/TabNavLink.d.ts +2 -2
- package/dist/Tabs/TabNavLink.js +2 -2
- package/dist/Tag/elements.d.ts +16 -10
- package/dist/Tag/index.js +1 -1
- package/dist/Tip/InfoTip/InfoTipButton.d.ts +4 -4
- package/dist/Tip/PreviewTip/elements.d.ts +12 -6
- package/dist/Tip/__tests__/helpers.d.ts +1 -1
- package/dist/Tip/shared/FloatingTip.js +2 -2
- package/dist/Tip/shared/types.d.ts +2 -2
- package/dist/Tip/shared/utils.js +1 -1
- package/dist/Toggle/elements.d.ts +38 -38
- package/dist/Typography/Text.d.ts +2 -1
- package/dist/Typography/Text.js +3 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/utils/nullish.d.ts +10 -0
- package/dist/utils/nullish.js +11 -0
- package/dist/utils/react.js +4 -2
- package/package.json +19 -12
|
@@ -12,9 +12,9 @@ export declare const getBackPageNumber: ({ shownPageArray, chapterSize, }: Omit<
|
|
|
12
12
|
export declare const getForwardPageNumber: ({ chapterSize, totalPages, shownPageArray, }: Omit<PaginationUtils, "currentPage">) => number;
|
|
13
13
|
export declare const getMinWidth: ({ chapterSize, }: Pick<PaginationUtils, "chapterSize">) => string;
|
|
14
14
|
export declare const wrapWithSlideAnimation: (WrappedComponent: typeof BaseEllipsisButton | typeof PaginationButton) => (props: React.ComponentProps<typeof BaseEllipsisButton>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const createAnimatedFadeButton: (WrappedComponent: typeof PaginationButton) => (props: React.ComponentProps<React.ComponentType<{
|
|
15
|
+
export declare const createAnimatedFadeButton: (WrappedComponent: typeof PaginationButton) => (props: React.ComponentProps<React.ComponentType<Omit<{
|
|
16
16
|
mode?: "dark" | "light" | undefined;
|
|
17
|
-
border?: import("@codecademy/variance
|
|
17
|
+
border?: import("@codecademy/variance").Scale<{
|
|
18
18
|
readonly property: "border";
|
|
19
19
|
readonly scale: "borders";
|
|
20
20
|
}>;
|
|
@@ -22,7 +22,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
22
22
|
selected?: boolean | undefined;
|
|
23
23
|
name?: string | undefined;
|
|
24
24
|
form?: string | undefined;
|
|
25
|
-
p?: import("@codecademy/variance
|
|
25
|
+
p?: import("@codecademy/variance").Scale<{
|
|
26
26
|
readonly property: "padding";
|
|
27
27
|
readonly scale: "spacing";
|
|
28
28
|
}>;
|
|
@@ -30,7 +30,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
30
30
|
title?: string | undefined;
|
|
31
31
|
dir?: string | undefined;
|
|
32
32
|
className?: string | undefined;
|
|
33
|
-
height?: import("@codecademy/variance
|
|
33
|
+
height?: import("@codecademy/variance").Scale<{
|
|
34
34
|
readonly property: {
|
|
35
35
|
readonly physical: "height";
|
|
36
36
|
readonly logical: "blockSize";
|
|
@@ -38,7 +38,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
38
38
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
39
39
|
readonly transform: (value: string | number) => string | 0;
|
|
40
40
|
}>;
|
|
41
|
-
width?: import("@codecademy/variance
|
|
41
|
+
width?: import("@codecademy/variance").Scale<{
|
|
42
42
|
readonly property: {
|
|
43
43
|
readonly physical: "width";
|
|
44
44
|
readonly logical: "inlineSize";
|
|
@@ -46,7 +46,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
46
46
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
47
47
|
readonly transform: (value: string | number) => string | 0;
|
|
48
48
|
}>;
|
|
49
|
-
"aria-hidden"?: (boolean | "
|
|
49
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
50
50
|
ref?: React.LegacyRef<import("..").ButtonBaseElements> | undefined;
|
|
51
51
|
key?: React.Key | null | undefined;
|
|
52
52
|
defaultChecked?: boolean | undefined;
|
|
@@ -56,17 +56,17 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
56
56
|
accessKey?: string | undefined;
|
|
57
57
|
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
58
58
|
autoFocus?: boolean | undefined;
|
|
59
|
-
contentEditable?: "inherit" | (boolean | "
|
|
59
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
60
60
|
contextMenu?: string | undefined;
|
|
61
|
-
draggable?: (boolean | "
|
|
62
|
-
enterKeyHint?: "search" | "
|
|
61
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
62
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
63
63
|
hidden?: boolean | undefined;
|
|
64
64
|
id?: string | undefined;
|
|
65
65
|
lang?: string | undefined;
|
|
66
66
|
nonce?: string | undefined;
|
|
67
|
-
spellCheck?: (boolean | "
|
|
67
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
68
68
|
tabIndex?: number | undefined;
|
|
69
|
-
translate?: "
|
|
69
|
+
translate?: "yes" | "no" | undefined;
|
|
70
70
|
radioGroup?: string | undefined;
|
|
71
71
|
role?: React.AriaRole | undefined;
|
|
72
72
|
about?: string | undefined;
|
|
@@ -95,51 +95,51 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
95
95
|
exportparts?: string | undefined;
|
|
96
96
|
part?: string | undefined;
|
|
97
97
|
"aria-activedescendant"?: string | undefined;
|
|
98
|
-
"aria-atomic"?: (boolean | "
|
|
99
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
98
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
100
100
|
"aria-braillelabel"?: string | undefined;
|
|
101
101
|
"aria-brailleroledescription"?: string | undefined;
|
|
102
|
-
"aria-busy"?: (boolean | "
|
|
103
|
-
"aria-checked"?: boolean | "
|
|
102
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
103
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
104
104
|
"aria-colcount"?: number | undefined;
|
|
105
105
|
"aria-colindex"?: number | undefined;
|
|
106
106
|
"aria-colindextext"?: string | undefined;
|
|
107
107
|
"aria-colspan"?: number | undefined;
|
|
108
108
|
"aria-controls"?: string | undefined;
|
|
109
|
-
"aria-current"?: boolean | "time" | "page" | "
|
|
109
|
+
"aria-current"?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
110
110
|
"aria-describedby"?: string | undefined;
|
|
111
111
|
"aria-description"?: string | undefined;
|
|
112
112
|
"aria-details"?: string | undefined;
|
|
113
|
-
"aria-disabled"?: (boolean | "
|
|
113
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
114
114
|
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
115
115
|
"aria-errormessage"?: string | undefined;
|
|
116
|
-
"aria-expanded"?: (boolean | "
|
|
116
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
117
117
|
"aria-flowto"?: string | undefined;
|
|
118
|
-
"aria-grabbed"?: (boolean | "
|
|
119
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "
|
|
120
|
-
"aria-invalid"?: boolean | "
|
|
118
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
119
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
|
|
120
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
121
121
|
"aria-keyshortcuts"?: string | undefined;
|
|
122
122
|
"aria-label"?: string | undefined;
|
|
123
123
|
"aria-labelledby"?: string | undefined;
|
|
124
124
|
"aria-level"?: number | undefined;
|
|
125
125
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
126
|
-
"aria-modal"?: (boolean | "
|
|
127
|
-
"aria-multiline"?: (boolean | "
|
|
128
|
-
"aria-multiselectable"?: (boolean | "
|
|
126
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
127
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
128
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
129
129
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
130
130
|
"aria-owns"?: string | undefined;
|
|
131
131
|
"aria-placeholder"?: string | undefined;
|
|
132
132
|
"aria-posinset"?: number | undefined;
|
|
133
|
-
"aria-pressed"?: boolean | "
|
|
134
|
-
"aria-readonly"?: (boolean | "
|
|
133
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
134
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
135
135
|
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
136
|
-
"aria-required"?: (boolean | "
|
|
136
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
137
137
|
"aria-roledescription"?: string | undefined;
|
|
138
138
|
"aria-rowcount"?: number | undefined;
|
|
139
139
|
"aria-rowindex"?: number | undefined;
|
|
140
140
|
"aria-rowindextext"?: string | undefined;
|
|
141
141
|
"aria-rowspan"?: number | undefined;
|
|
142
|
-
"aria-selected"?: (boolean | "
|
|
142
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
143
143
|
"aria-setsize"?: number | undefined;
|
|
144
144
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
145
145
|
"aria-valuemax"?: number | undefined;
|
|
@@ -303,10 +303,10 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
303
303
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
304
304
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | (React.TransitionEventHandler<HTMLButtonElement> & React.TransitionEventHandler<HTMLAnchorElement>) | undefined;
|
|
305
305
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | (React.TransitionEventHandler<HTMLButtonElement> & React.TransitionEventHandler<HTMLAnchorElement>) | undefined;
|
|
306
|
-
alignSelf?: import("@codecademy/variance
|
|
306
|
+
alignSelf?: import("@codecademy/variance").Scale<{
|
|
307
307
|
readonly property: "alignSelf";
|
|
308
308
|
}>;
|
|
309
|
-
bottom?: import("@codecademy/variance
|
|
309
|
+
bottom?: import("@codecademy/variance").Scale<{
|
|
310
310
|
readonly property: {
|
|
311
311
|
readonly physical: "bottom";
|
|
312
312
|
readonly logical: "insetBlockEnd";
|
|
@@ -314,40 +314,40 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
314
314
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
315
315
|
readonly transform: (value: string | number) => string | 0;
|
|
316
316
|
}>;
|
|
317
|
-
containerType?: import("@codecademy/variance
|
|
317
|
+
containerType?: import("@codecademy/variance").Scale<{
|
|
318
318
|
readonly property: "containerType";
|
|
319
319
|
}>;
|
|
320
|
-
direction?: import("@codecademy/variance
|
|
320
|
+
direction?: import("@codecademy/variance").Scale<{
|
|
321
321
|
readonly property: "direction";
|
|
322
322
|
}>;
|
|
323
|
-
display?: import("@codecademy/variance
|
|
323
|
+
display?: import("@codecademy/variance").Scale<{
|
|
324
324
|
readonly property: "display";
|
|
325
325
|
}>;
|
|
326
|
-
flexBasis?: import("@codecademy/variance
|
|
326
|
+
flexBasis?: import("@codecademy/variance").Scale<{
|
|
327
327
|
readonly property: "flexBasis";
|
|
328
328
|
}>;
|
|
329
|
-
flexGrow?: import("@codecademy/variance
|
|
329
|
+
flexGrow?: import("@codecademy/variance").Scale<{
|
|
330
330
|
readonly property: "flexGrow";
|
|
331
331
|
}>;
|
|
332
|
-
flexShrink?: import("@codecademy/variance
|
|
332
|
+
flexShrink?: import("@codecademy/variance").Scale<{
|
|
333
333
|
readonly property: "flexShrink";
|
|
334
334
|
}>;
|
|
335
|
-
gridColumnEnd?: import("@codecademy/variance
|
|
335
|
+
gridColumnEnd?: import("@codecademy/variance").Scale<{
|
|
336
336
|
readonly property: "gridColumnEnd";
|
|
337
337
|
}>;
|
|
338
|
-
gridColumnStart?: import("@codecademy/variance
|
|
338
|
+
gridColumnStart?: import("@codecademy/variance").Scale<{
|
|
339
339
|
readonly property: "gridColumnStart";
|
|
340
340
|
}>;
|
|
341
|
-
gridRowEnd?: import("@codecademy/variance
|
|
341
|
+
gridRowEnd?: import("@codecademy/variance").Scale<{
|
|
342
342
|
readonly property: "gridRowEnd";
|
|
343
343
|
}>;
|
|
344
|
-
gridRowStart?: import("@codecademy/variance
|
|
344
|
+
gridRowStart?: import("@codecademy/variance").Scale<{
|
|
345
345
|
readonly property: "gridRowStart";
|
|
346
346
|
}>;
|
|
347
|
-
justifySelf?: import("@codecademy/variance
|
|
347
|
+
justifySelf?: import("@codecademy/variance").Scale<{
|
|
348
348
|
readonly property: "justifySelf";
|
|
349
349
|
}>;
|
|
350
|
-
left?: import("@codecademy/variance
|
|
350
|
+
left?: import("@codecademy/variance").Scale<{
|
|
351
351
|
readonly property: {
|
|
352
352
|
readonly physical: "left";
|
|
353
353
|
readonly logical: "insetInlineStart";
|
|
@@ -355,7 +355,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
355
355
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
356
356
|
readonly transform: (value: string | number) => string | 0;
|
|
357
357
|
}>;
|
|
358
|
-
maxHeight?: import("@codecademy/variance
|
|
358
|
+
maxHeight?: import("@codecademy/variance").Scale<{
|
|
359
359
|
readonly property: {
|
|
360
360
|
readonly physical: "maxHeight";
|
|
361
361
|
readonly logical: "maxBlockSize";
|
|
@@ -363,7 +363,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
363
363
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
364
364
|
readonly transform: (value: string | number) => string | 0;
|
|
365
365
|
}>;
|
|
366
|
-
maxWidth?: import("@codecademy/variance
|
|
366
|
+
maxWidth?: import("@codecademy/variance").Scale<{
|
|
367
367
|
readonly property: {
|
|
368
368
|
readonly physical: "maxWidth";
|
|
369
369
|
readonly logical: "maxInlineSize";
|
|
@@ -371,7 +371,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
371
371
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
372
372
|
readonly transform: (value: string | number) => string | 0;
|
|
373
373
|
}>;
|
|
374
|
-
minHeight?: import("@codecademy/variance
|
|
374
|
+
minHeight?: import("@codecademy/variance").Scale<{
|
|
375
375
|
readonly property: {
|
|
376
376
|
readonly physical: "minHeight";
|
|
377
377
|
readonly logical: "minBlockSize";
|
|
@@ -379,7 +379,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
379
379
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
380
380
|
readonly transform: (value: string | number) => string | 0;
|
|
381
381
|
}>;
|
|
382
|
-
minWidth?: import("@codecademy/variance
|
|
382
|
+
minWidth?: import("@codecademy/variance").Scale<{
|
|
383
383
|
readonly property: {
|
|
384
384
|
readonly physical: "minWidth";
|
|
385
385
|
readonly logical: "minInlineSize";
|
|
@@ -387,30 +387,30 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
387
387
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
388
388
|
readonly transform: (value: string | number) => string | 0;
|
|
389
389
|
}>;
|
|
390
|
-
opacity?: import("@codecademy/variance
|
|
390
|
+
opacity?: import("@codecademy/variance").Scale<{
|
|
391
391
|
readonly property: "opacity";
|
|
392
392
|
}>;
|
|
393
|
-
order?: import("@codecademy/variance
|
|
393
|
+
order?: import("@codecademy/variance").Scale<{
|
|
394
394
|
readonly property: "order";
|
|
395
395
|
}>;
|
|
396
|
-
overflowX?: import("@codecademy/variance
|
|
396
|
+
overflowX?: import("@codecademy/variance").Scale<{
|
|
397
397
|
readonly property: {
|
|
398
398
|
readonly physical: "overflowX";
|
|
399
399
|
readonly logical: "overflowInline";
|
|
400
400
|
};
|
|
401
401
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
402
402
|
}>;
|
|
403
|
-
overflowY?: import("@codecademy/variance
|
|
403
|
+
overflowY?: import("@codecademy/variance").Scale<{
|
|
404
404
|
readonly property: {
|
|
405
405
|
readonly physical: "overflowY";
|
|
406
406
|
readonly logical: "overflowBlock";
|
|
407
407
|
};
|
|
408
408
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
409
409
|
}>;
|
|
410
|
-
position?: import("@codecademy/variance
|
|
410
|
+
position?: import("@codecademy/variance").Scale<{
|
|
411
411
|
readonly property: "position";
|
|
412
412
|
}>;
|
|
413
|
-
right?: import("@codecademy/variance
|
|
413
|
+
right?: import("@codecademy/variance").Scale<{
|
|
414
414
|
readonly property: {
|
|
415
415
|
readonly physical: "right";
|
|
416
416
|
readonly logical: "insetInlineEnd";
|
|
@@ -418,7 +418,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
418
418
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
419
419
|
readonly transform: (value: string | number) => string | 0;
|
|
420
420
|
}>;
|
|
421
|
-
top?: import("@codecademy/variance
|
|
421
|
+
top?: import("@codecademy/variance").Scale<{
|
|
422
422
|
readonly property: {
|
|
423
423
|
readonly physical: "top";
|
|
424
424
|
readonly logical: "insetBlockStart";
|
|
@@ -426,13 +426,13 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
426
426
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
427
427
|
readonly transform: (value: string | number) => string | 0;
|
|
428
428
|
}>;
|
|
429
|
-
verticalAlign?: import("@codecademy/variance
|
|
429
|
+
verticalAlign?: import("@codecademy/variance").Scale<{
|
|
430
430
|
readonly property: "verticalAlign";
|
|
431
431
|
}>;
|
|
432
|
-
zIndex?: import("@codecademy/variance
|
|
432
|
+
zIndex?: import("@codecademy/variance").Scale<{
|
|
433
433
|
readonly property: "zIndex";
|
|
434
434
|
}>;
|
|
435
|
-
borderBottom?: import("@codecademy/variance
|
|
435
|
+
borderBottom?: import("@codecademy/variance").Scale<{
|
|
436
436
|
readonly property: {
|
|
437
437
|
readonly physical: "borderBottom";
|
|
438
438
|
readonly logical: "borderBlockEnd";
|
|
@@ -440,7 +440,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
440
440
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
441
441
|
readonly scale: "borders";
|
|
442
442
|
}>;
|
|
443
|
-
borderLeft?: import("@codecademy/variance
|
|
443
|
+
borderLeft?: import("@codecademy/variance").Scale<{
|
|
444
444
|
readonly property: {
|
|
445
445
|
readonly physical: "borderLeft";
|
|
446
446
|
readonly logical: "borderInlineStart";
|
|
@@ -448,11 +448,11 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
448
448
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
449
449
|
readonly scale: "borders";
|
|
450
450
|
}>;
|
|
451
|
-
borderRadius?: import("@codecademy/variance
|
|
451
|
+
borderRadius?: import("@codecademy/variance").Scale<{
|
|
452
452
|
readonly property: "borderRadius";
|
|
453
453
|
readonly scale: "borderRadii";
|
|
454
454
|
}>;
|
|
455
|
-
borderRight?: import("@codecademy/variance
|
|
455
|
+
borderRight?: import("@codecademy/variance").Scale<{
|
|
456
456
|
readonly property: {
|
|
457
457
|
readonly physical: "borderRight";
|
|
458
458
|
readonly logical: "borderInlineEnd";
|
|
@@ -460,10 +460,10 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
460
460
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
461
461
|
readonly scale: "borders";
|
|
462
462
|
}>;
|
|
463
|
-
borderStyle?: import("@codecademy/variance
|
|
463
|
+
borderStyle?: import("@codecademy/variance").Scale<{
|
|
464
464
|
readonly property: "borderStyle";
|
|
465
465
|
}>;
|
|
466
|
-
borderTop?: import("@codecademy/variance
|
|
466
|
+
borderTop?: import("@codecademy/variance").Scale<{
|
|
467
467
|
readonly property: {
|
|
468
468
|
readonly physical: "borderTop";
|
|
469
469
|
readonly logical: "borderBlockStart";
|
|
@@ -471,19 +471,19 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
471
471
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
472
472
|
readonly scale: "borders";
|
|
473
473
|
}>;
|
|
474
|
-
borderWidth?: import("@codecademy/variance
|
|
474
|
+
borderWidth?: import("@codecademy/variance").Scale<{
|
|
475
475
|
readonly property: "borderWidth";
|
|
476
476
|
}>;
|
|
477
|
-
gridArea?: import("@codecademy/variance
|
|
477
|
+
gridArea?: import("@codecademy/variance").Scale<{
|
|
478
478
|
readonly property: "gridArea";
|
|
479
479
|
}>;
|
|
480
|
-
gridColumn?: import("@codecademy/variance
|
|
480
|
+
gridColumn?: import("@codecademy/variance").Scale<{
|
|
481
481
|
readonly property: "gridColumn";
|
|
482
482
|
}>;
|
|
483
|
-
gridRow?: import("@codecademy/variance
|
|
483
|
+
gridRow?: import("@codecademy/variance").Scale<{
|
|
484
484
|
readonly property: "gridRow";
|
|
485
485
|
}>;
|
|
486
|
-
inset?: import("@codecademy/variance
|
|
486
|
+
inset?: import("@codecademy/variance").Scale<{
|
|
487
487
|
readonly property: "inset";
|
|
488
488
|
readonly properties: {
|
|
489
489
|
readonly physical: readonly ["top", "right", "bottom", "left"];
|
|
@@ -492,15 +492,11 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
492
492
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
493
493
|
readonly transform: (value: string | number) => string | 0;
|
|
494
494
|
}>;
|
|
495
|
-
overflow?: import("@codecademy/variance
|
|
495
|
+
overflow?: import("@codecademy/variance").Scale<{
|
|
496
496
|
readonly property: "overflow";
|
|
497
497
|
}>;
|
|
498
|
-
size?: "small" | "normal" | "large" | undefined;
|
|
499
|
-
type?: "button" | "reset" | "submit" | undefined;
|
|
500
498
|
href?: string | undefined;
|
|
501
|
-
|
|
502
|
-
ellipsis?: boolean | undefined;
|
|
503
|
-
px?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
499
|
+
px?: import("@codecademy/variance").Scale<{
|
|
504
500
|
readonly property: "padding";
|
|
505
501
|
readonly properties: {
|
|
506
502
|
readonly physical: readonly ["paddingLeft", "paddingRight"];
|
|
@@ -509,7 +505,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
509
505
|
readonly scale: "spacing";
|
|
510
506
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
511
507
|
}>;
|
|
512
|
-
py?: import("@codecademy/variance
|
|
508
|
+
py?: import("@codecademy/variance").Scale<{
|
|
513
509
|
readonly property: "padding";
|
|
514
510
|
readonly properties: {
|
|
515
511
|
readonly physical: readonly ["paddingTop", "paddingBottom"];
|
|
@@ -518,7 +514,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
518
514
|
readonly scale: "spacing";
|
|
519
515
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
520
516
|
}>;
|
|
521
|
-
pt?: import("@codecademy/variance
|
|
517
|
+
pt?: import("@codecademy/variance").Scale<{
|
|
522
518
|
readonly property: {
|
|
523
519
|
readonly physical: "paddingTop";
|
|
524
520
|
readonly logical: "paddingBlockStart";
|
|
@@ -526,7 +522,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
526
522
|
readonly scale: "spacing";
|
|
527
523
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
528
524
|
}>;
|
|
529
|
-
pb?: import("@codecademy/variance
|
|
525
|
+
pb?: import("@codecademy/variance").Scale<{
|
|
530
526
|
readonly property: {
|
|
531
527
|
readonly physical: "paddingBottom";
|
|
532
528
|
readonly logical: "paddingBlockEnd";
|
|
@@ -534,7 +530,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
534
530
|
readonly scale: "spacing";
|
|
535
531
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
536
532
|
}>;
|
|
537
|
-
pr?: import("@codecademy/variance
|
|
533
|
+
pr?: import("@codecademy/variance").Scale<{
|
|
538
534
|
readonly property: {
|
|
539
535
|
readonly physical: "paddingRight";
|
|
540
536
|
readonly logical: "paddingInlineEnd";
|
|
@@ -542,7 +538,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
542
538
|
readonly scale: "spacing";
|
|
543
539
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
544
540
|
}>;
|
|
545
|
-
pl?: import("@codecademy/variance
|
|
541
|
+
pl?: import("@codecademy/variance").Scale<{
|
|
546
542
|
readonly property: {
|
|
547
543
|
readonly physical: "paddingLeft";
|
|
548
544
|
readonly logical: "paddingInlineStart";
|
|
@@ -550,11 +546,11 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
550
546
|
readonly scale: "spacing";
|
|
551
547
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
552
548
|
}>;
|
|
553
|
-
m?: import("@codecademy/variance
|
|
549
|
+
m?: import("@codecademy/variance").Scale<{
|
|
554
550
|
readonly property: "margin";
|
|
555
551
|
readonly scale: "spacing";
|
|
556
552
|
}>;
|
|
557
|
-
mx?: import("@codecademy/variance
|
|
553
|
+
mx?: import("@codecademy/variance").Scale<{
|
|
558
554
|
readonly property: "margin";
|
|
559
555
|
readonly properties: {
|
|
560
556
|
readonly physical: readonly ["marginLeft", "marginRight"];
|
|
@@ -563,7 +559,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
563
559
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
564
560
|
readonly scale: "spacing";
|
|
565
561
|
}>;
|
|
566
|
-
my?: import("@codecademy/variance
|
|
562
|
+
my?: import("@codecademy/variance").Scale<{
|
|
567
563
|
readonly property: "margin";
|
|
568
564
|
readonly properties: {
|
|
569
565
|
readonly physical: readonly ["marginTop", "marginBottom"];
|
|
@@ -572,7 +568,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
572
568
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
573
569
|
readonly scale: "spacing";
|
|
574
570
|
}>;
|
|
575
|
-
mt?: import("@codecademy/variance
|
|
571
|
+
mt?: import("@codecademy/variance").Scale<{
|
|
576
572
|
readonly property: {
|
|
577
573
|
readonly physical: "marginTop";
|
|
578
574
|
readonly logical: "marginBlockStart";
|
|
@@ -580,7 +576,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
580
576
|
readonly scale: "spacing";
|
|
581
577
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
582
578
|
}>;
|
|
583
|
-
mb?: import("@codecademy/variance
|
|
579
|
+
mb?: import("@codecademy/variance").Scale<{
|
|
584
580
|
readonly property: {
|
|
585
581
|
readonly physical: "marginBottom";
|
|
586
582
|
readonly logical: "marginBlockEnd";
|
|
@@ -588,7 +584,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
588
584
|
readonly scale: "spacing";
|
|
589
585
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
590
586
|
}>;
|
|
591
|
-
mr?: import("@codecademy/variance
|
|
587
|
+
mr?: import("@codecademy/variance").Scale<{
|
|
592
588
|
readonly property: {
|
|
593
589
|
readonly physical: "marginRight";
|
|
594
590
|
readonly logical: "marginInlineEnd";
|
|
@@ -596,7 +592,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
596
592
|
readonly scale: "spacing";
|
|
597
593
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
598
594
|
}>;
|
|
599
|
-
ml?: import("@codecademy/variance
|
|
595
|
+
ml?: import("@codecademy/variance").Scale<{
|
|
600
596
|
readonly property: {
|
|
601
597
|
readonly physical: "marginLeft";
|
|
602
598
|
readonly logical: "marginInlineStart";
|
|
@@ -604,7 +600,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
604
600
|
readonly scale: "spacing";
|
|
605
601
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
606
602
|
}>;
|
|
607
|
-
borderX?: import("@codecademy/variance
|
|
603
|
+
borderX?: import("@codecademy/variance").Scale<{
|
|
608
604
|
readonly property: "border";
|
|
609
605
|
readonly properties: {
|
|
610
606
|
readonly physical: readonly ["borderLeft", "borderRight"];
|
|
@@ -613,7 +609,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
613
609
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
614
610
|
readonly scale: "borders";
|
|
615
611
|
}>;
|
|
616
|
-
borderY?: import("@codecademy/variance
|
|
612
|
+
borderY?: import("@codecademy/variance").Scale<{
|
|
617
613
|
readonly property: "border";
|
|
618
614
|
readonly properties: {
|
|
619
615
|
readonly physical: readonly ["borderTop", "borderBottom"];
|
|
@@ -622,7 +618,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
622
618
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
623
619
|
readonly scale: "borders";
|
|
624
620
|
}>;
|
|
625
|
-
borderWidthX?: import("@codecademy/variance
|
|
621
|
+
borderWidthX?: import("@codecademy/variance").Scale<{
|
|
626
622
|
readonly property: "borderWidth";
|
|
627
623
|
readonly properties: {
|
|
628
624
|
readonly physical: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
@@ -630,7 +626,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
630
626
|
};
|
|
631
627
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
632
628
|
}>;
|
|
633
|
-
borderWidthY?: import("@codecademy/variance
|
|
629
|
+
borderWidthY?: import("@codecademy/variance").Scale<{
|
|
634
630
|
readonly property: "borderWidth";
|
|
635
631
|
readonly properties: {
|
|
636
632
|
readonly physical: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
@@ -638,35 +634,35 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
638
634
|
};
|
|
639
635
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
640
636
|
}>;
|
|
641
|
-
borderWidthLeft?: import("@codecademy/variance
|
|
637
|
+
borderWidthLeft?: import("@codecademy/variance").Scale<{
|
|
642
638
|
readonly property: {
|
|
643
639
|
readonly physical: "borderLeftWidth";
|
|
644
640
|
readonly logical: "borderInlineStartWidth";
|
|
645
641
|
};
|
|
646
642
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
647
643
|
}>;
|
|
648
|
-
borderWidthRight?: import("@codecademy/variance
|
|
644
|
+
borderWidthRight?: import("@codecademy/variance").Scale<{
|
|
649
645
|
readonly property: {
|
|
650
646
|
readonly physical: "borderRightWidth";
|
|
651
647
|
readonly logical: "borderInlineEndWidth";
|
|
652
648
|
};
|
|
653
649
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
654
650
|
}>;
|
|
655
|
-
borderWidthTop?: import("@codecademy/variance
|
|
651
|
+
borderWidthTop?: import("@codecademy/variance").Scale<{
|
|
656
652
|
readonly property: {
|
|
657
653
|
readonly physical: "borderTopWidth";
|
|
658
654
|
readonly logical: "borderBlockStartWidth";
|
|
659
655
|
};
|
|
660
656
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
661
657
|
}>;
|
|
662
|
-
borderWidthBottom?: import("@codecademy/variance
|
|
658
|
+
borderWidthBottom?: import("@codecademy/variance").Scale<{
|
|
663
659
|
readonly property: {
|
|
664
660
|
readonly physical: "borderBottomWidth";
|
|
665
661
|
readonly logical: "borderBlockEndWidth";
|
|
666
662
|
};
|
|
667
663
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
668
664
|
}>;
|
|
669
|
-
borderRadiusLeft?: import("@codecademy/variance
|
|
665
|
+
borderRadiusLeft?: import("@codecademy/variance").Scale<{
|
|
670
666
|
readonly property: "borderRadius";
|
|
671
667
|
readonly properties: {
|
|
672
668
|
readonly physical: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
@@ -675,7 +671,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
675
671
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
676
672
|
readonly scale: "borderRadii";
|
|
677
673
|
}>;
|
|
678
|
-
borderRadiusTop?: import("@codecademy/variance
|
|
674
|
+
borderRadiusTop?: import("@codecademy/variance").Scale<{
|
|
679
675
|
readonly property: "borderRadius";
|
|
680
676
|
readonly properties: {
|
|
681
677
|
readonly physical: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
@@ -684,7 +680,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
684
680
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
685
681
|
readonly scale: "borderRadii";
|
|
686
682
|
}>;
|
|
687
|
-
borderRadiusBottom?: import("@codecademy/variance
|
|
683
|
+
borderRadiusBottom?: import("@codecademy/variance").Scale<{
|
|
688
684
|
readonly property: "borderRadius";
|
|
689
685
|
readonly properties: {
|
|
690
686
|
readonly physical: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
@@ -693,7 +689,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
693
689
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
694
690
|
readonly scale: "borderRadii";
|
|
695
691
|
}>;
|
|
696
|
-
borderRadiusRight?: import("@codecademy/variance
|
|
692
|
+
borderRadiusRight?: import("@codecademy/variance").Scale<{
|
|
697
693
|
readonly property: "borderRadius";
|
|
698
694
|
readonly properties: {
|
|
699
695
|
readonly physical: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
@@ -702,7 +698,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
702
698
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
703
699
|
readonly scale: "borderRadii";
|
|
704
700
|
}>;
|
|
705
|
-
borderRadiusTopLeft?: import("@codecademy/variance
|
|
701
|
+
borderRadiusTopLeft?: import("@codecademy/variance").Scale<{
|
|
706
702
|
readonly property: {
|
|
707
703
|
readonly physical: "borderTopLeftRadius";
|
|
708
704
|
readonly logical: "borderStartStartRadius";
|
|
@@ -710,7 +706,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
710
706
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
711
707
|
readonly scale: "borderRadii";
|
|
712
708
|
}>;
|
|
713
|
-
borderRadiusTopRight?: import("@codecademy/variance
|
|
709
|
+
borderRadiusTopRight?: import("@codecademy/variance").Scale<{
|
|
714
710
|
readonly property: {
|
|
715
711
|
readonly physical: "borderTopRightRadius";
|
|
716
712
|
readonly logical: "borderStartEndRadius";
|
|
@@ -718,7 +714,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
718
714
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
719
715
|
readonly scale: "borderRadii";
|
|
720
716
|
}>;
|
|
721
|
-
borderRadiusBottomRight?: import("@codecademy/variance
|
|
717
|
+
borderRadiusBottomRight?: import("@codecademy/variance").Scale<{
|
|
722
718
|
readonly property: {
|
|
723
719
|
readonly physical: "borderBottomRightRadius";
|
|
724
720
|
readonly logical: "borderEndEndRadius";
|
|
@@ -726,7 +722,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
726
722
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
727
723
|
readonly scale: "borderRadii";
|
|
728
724
|
}>;
|
|
729
|
-
borderRadiusBottomLeft?: import("@codecademy/variance
|
|
725
|
+
borderRadiusBottomLeft?: import("@codecademy/variance").Scale<{
|
|
730
726
|
readonly property: {
|
|
731
727
|
readonly physical: "borderBottomLeftRadius";
|
|
732
728
|
readonly logical: "borderEndStartRadius";
|
|
@@ -734,7 +730,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
734
730
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
735
731
|
readonly scale: "borderRadii";
|
|
736
732
|
}>;
|
|
737
|
-
borderStyleX?: import("@codecademy/variance
|
|
733
|
+
borderStyleX?: import("@codecademy/variance").Scale<{
|
|
738
734
|
readonly property: "borderStyle";
|
|
739
735
|
readonly properties: {
|
|
740
736
|
readonly physical: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
@@ -742,7 +738,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
742
738
|
};
|
|
743
739
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
744
740
|
}>;
|
|
745
|
-
borderStyleY?: import("@codecademy/variance
|
|
741
|
+
borderStyleY?: import("@codecademy/variance").Scale<{
|
|
746
742
|
readonly property: "borderStyle";
|
|
747
743
|
readonly properties: {
|
|
748
744
|
readonly physical: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
@@ -750,35 +746,35 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
750
746
|
};
|
|
751
747
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
752
748
|
}>;
|
|
753
|
-
borderStyleLeft?: import("@codecademy/variance
|
|
749
|
+
borderStyleLeft?: import("@codecademy/variance").Scale<{
|
|
754
750
|
readonly property: {
|
|
755
751
|
readonly physical: "borderLeftStyle";
|
|
756
752
|
readonly logical: "borderInlineStartStyle";
|
|
757
753
|
};
|
|
758
754
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
759
755
|
}>;
|
|
760
|
-
borderStyleRight?: import("@codecademy/variance
|
|
756
|
+
borderStyleRight?: import("@codecademy/variance").Scale<{
|
|
761
757
|
readonly property: {
|
|
762
758
|
readonly physical: "borderRightStyle";
|
|
763
759
|
readonly logical: "borderInlineEndStyle";
|
|
764
760
|
};
|
|
765
761
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
766
762
|
}>;
|
|
767
|
-
borderStyleTop?: import("@codecademy/variance
|
|
763
|
+
borderStyleTop?: import("@codecademy/variance").Scale<{
|
|
768
764
|
readonly property: {
|
|
769
765
|
readonly physical: "borderTopStyle";
|
|
770
766
|
readonly logical: "borderBlockStartStyle";
|
|
771
767
|
};
|
|
772
768
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
773
769
|
}>;
|
|
774
|
-
borderStyleBottom?: import("@codecademy/variance
|
|
770
|
+
borderStyleBottom?: import("@codecademy/variance").Scale<{
|
|
775
771
|
readonly property: {
|
|
776
772
|
readonly physical: "borderBottomStyle";
|
|
777
773
|
readonly logical: "borderBlockEndStyle";
|
|
778
774
|
};
|
|
779
775
|
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
780
776
|
}>;
|
|
781
|
-
dimensions?: import("@codecademy/variance
|
|
777
|
+
dimensions?: import("@codecademy/variance").Scale<{
|
|
782
778
|
readonly property: "width";
|
|
783
779
|
readonly properties: {
|
|
784
780
|
readonly physical: readonly ["width", "height"];
|
|
@@ -788,6 +784,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
788
784
|
readonly transform: (value: string | number) => string | 0;
|
|
789
785
|
}>;
|
|
790
786
|
theme?: import("@emotion/react").Theme | undefined;
|
|
787
|
+
size?: "small" | "normal" | "large" | undefined;
|
|
791
788
|
variant?: "primary" | "secondary" | "danger" | "interface" | undefined;
|
|
792
789
|
as?: undefined;
|
|
793
790
|
formAction?: string | undefined;
|
|
@@ -795,8 +792,13 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
795
792
|
formMethod?: string | undefined;
|
|
796
793
|
formNoValidate?: boolean | undefined;
|
|
797
794
|
formTarget?: string | undefined;
|
|
795
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
798
796
|
value?: string | number | readonly string[] | undefined;
|
|
797
|
+
icon?: React.ComponentType<import("@codecademy/gamut-icons").GamutIconProps> | undefined;
|
|
798
|
+
ellipsis?: boolean | undefined;
|
|
799
799
|
buttonType?: "text" | "stroke" | undefined;
|
|
800
800
|
showButton?: "hidden" | "shown" | undefined;
|
|
801
|
-
} & import("framer-motion").MotionProps
|
|
801
|
+
} & import("framer-motion").MotionProps, "children"> & {
|
|
802
|
+
children?: React.ReactNode | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string>;
|
|
803
|
+
}>>) => import("react/jsx-runtime").JSX.Element;
|
|
802
804
|
export {};
|