@codecademy/gamut 68.1.3-alpha.bcf87d.0 → 68.1.3-alpha.ce69cb.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 +3 -3
- package/dist/Anchor/index.d.ts +18 -9
- package/dist/Anchor/index.js +9 -6
- 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/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/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/Card/elements.d.ts +109 -103
- package/dist/Card/styles.d.ts +8 -8
- package/dist/Coachmark/index.d.ts +1 -1
- package/dist/ConnectedForm/utils.d.ts +1 -1
- package/dist/Disclosure/elements.d.ts +18 -12
- package/dist/FeatureShimmer/index.js +1 -1
- package/dist/FocusTrap/index.d.ts +2 -2
- package/dist/Form/SelectDropdown/SelectDropdown.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/elements/Form.d.ts +15 -15
- package/dist/Form/elements/FormGroup.d.ts +1 -1
- package/dist/GridForm/GridFormButtons/index.d.ts +4 -4
- package/dist/List/ListProvider.d.ts +1 -1
- package/dist/List/elements.d.ts +45 -43
- package/dist/Menu/MenuItem.js +10 -6
- package/dist/Menu/elements.d.ts +2 -2
- package/dist/Modals/elements.d.ts +1 -1
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +34 -32
- package/dist/Pagination/EllipsisButton.d.ts +4 -4
- package/dist/Pagination/PaginationButton.d.ts +6 -6
- package/dist/Pagination/utils.d.ts +32 -30
- package/dist/Pagination/utils.js +14 -11
- package/dist/Popover/Popover.js +4 -4
- package/dist/Popover/types.d.ts +3 -2
- package/dist/PopoverContainer/PopoverContainer.js +9 -13
- package/dist/PopoverContainer/hooks.d.ts +16 -4
- package/dist/PopoverContainer/hooks.js +31 -24
- package/dist/PopoverContainer/types.d.ts +3 -7
- package/dist/Tabs/TabButton.d.ts +2 -2
- package/dist/Tabs/TabNavLink.d.ts +2 -2
- package/dist/Tag/elements.d.ts +14 -8
- 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/Typography/Text.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/utils/react.js +2 -1
- package/package.json +11 -11
- package/dist/DatePicker/Calendar/Calendar.d.ts +0 -11
- package/dist/DatePicker/Calendar/Calendar.js +0 -15
- package/dist/DatePicker/Calendar/CalendarBody.d.ts +0 -3
- package/dist/DatePicker/Calendar/CalendarBody.js +0 -155
- package/dist/DatePicker/Calendar/CalendarFooter.d.ts +0 -3
- package/dist/DatePicker/Calendar/CalendarFooter.js +0 -60
- package/dist/DatePicker/Calendar/CalendarHeader.d.ts +0 -3
- package/dist/DatePicker/Calendar/CalendarHeader.js +0 -63
- package/dist/DatePicker/Calendar/index.d.ts +0 -6
- package/dist/DatePicker/Calendar/index.js +0 -5
- package/dist/DatePicker/Calendar/types.d.ts +0 -59
- package/dist/DatePicker/Calendar/types.js +0 -1
- package/dist/DatePicker/Calendar/utils/dateGrid.d.ts +0 -30
- package/dist/DatePicker/Calendar/utils/dateGrid.js +0 -93
- package/dist/DatePicker/Calendar/utils/format.d.ts +0 -39
- package/dist/DatePicker/Calendar/utils/format.js +0 -130
- package/dist/DatePicker/Calendar/utils/index.d.ts +0 -3
- package/dist/DatePicker/Calendar/utils/index.js +0 -3
- package/dist/DatePicker/Calendar/utils/keyHandler.d.ts +0 -13
- package/dist/DatePicker/Calendar/utils/keyHandler.js +0 -116
- package/dist/DatePicker/Calendar/utils/validation.d.ts +0 -13
- package/dist/DatePicker/Calendar/utils/validation.js +0 -23
- package/dist/DatePicker/DatePicker.d.ts +0 -8
- package/dist/DatePicker/DatePicker.js +0 -127
- package/dist/DatePicker/DatePickerCalendar.d.ts +0 -13
- package/dist/DatePicker/DatePickerCalendar.js +0 -127
- package/dist/DatePicker/DatePickerContext.d.ts +0 -11
- package/dist/DatePicker/DatePickerContext.js +0 -18
- package/dist/DatePicker/DatePickerInput.d.ts +0 -16
- package/dist/DatePicker/DatePickerInput.js +0 -126
- package/dist/DatePicker/index.d.ts +0 -13
- package/dist/DatePicker/index.js +0 -10
- package/dist/DatePicker/types.d.ts +0 -76
- package/dist/DatePicker/types.js +0 -1
- package/dist/DatePicker/utils.d.ts +0 -3
- package/dist/DatePicker/utils.js +0 -71
package/dist/Card/styles.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export declare const patternFadeInOut: {
|
|
|
9
9
|
opacity: number;
|
|
10
10
|
transition: {
|
|
11
11
|
duration: number;
|
|
12
|
-
ease:
|
|
12
|
+
ease: "easeOut";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
animate: {
|
|
16
16
|
opacity: number;
|
|
17
17
|
transition: {
|
|
18
18
|
duration: number;
|
|
19
|
-
ease:
|
|
19
|
+
ease: "easeIn";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -26,7 +26,7 @@ export declare const hoverShadowLeft: (borderRadius?: string) => {
|
|
|
26
26
|
borderRadius: string | undefined;
|
|
27
27
|
transition: {
|
|
28
28
|
duration: number;
|
|
29
|
-
ease:
|
|
29
|
+
ease: "easeOut";
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
initialOutline: {
|
|
@@ -34,7 +34,7 @@ export declare const hoverShadowLeft: (borderRadius?: string) => {
|
|
|
34
34
|
borderRadius: string | undefined;
|
|
35
35
|
transition: {
|
|
36
36
|
duration: number;
|
|
37
|
-
ease:
|
|
37
|
+
ease: "easeOut";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
animate: {
|
|
@@ -43,7 +43,7 @@ export declare const hoverShadowLeft: (borderRadius?: string) => {
|
|
|
43
43
|
borderRadius: string | undefined;
|
|
44
44
|
transition: {
|
|
45
45
|
duration: number;
|
|
46
|
-
ease:
|
|
46
|
+
ease: "easeIn";
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
animateOutline: {
|
|
@@ -52,7 +52,7 @@ export declare const hoverShadowLeft: (borderRadius?: string) => {
|
|
|
52
52
|
borderRadius: string | undefined;
|
|
53
53
|
transition: {
|
|
54
54
|
duration: number;
|
|
55
|
-
ease:
|
|
55
|
+
ease: "easeIn";
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -62,7 +62,7 @@ export declare const hoverShadowRight: (borderRadius?: string) => {
|
|
|
62
62
|
borderRadius: string | undefined;
|
|
63
63
|
transition: {
|
|
64
64
|
duration: number;
|
|
65
|
-
ease:
|
|
65
|
+
ease: "easeOut";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
animate: {
|
|
@@ -71,7 +71,7 @@ export declare const hoverShadowRight: (borderRadius?: string) => {
|
|
|
71
71
|
borderRadius: string | undefined;
|
|
72
72
|
transition: {
|
|
73
73
|
duration: number;
|
|
74
|
-
ease:
|
|
74
|
+
ease: "easeIn";
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
};
|
|
@@ -21,7 +21,7 @@ export type CoachmarkProps = PopoverFocusProps & {
|
|
|
21
21
|
/**
|
|
22
22
|
* Function that returns the contents of the coachmark.
|
|
23
23
|
*/
|
|
24
|
-
renderPopover: (onDismiss?: () => void) => JSX.Element;
|
|
24
|
+
renderPopover: (onDismiss?: () => void) => React.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Props to be passed into the popover component.
|
|
27
27
|
*/
|
|
@@ -122,9 +122,9 @@ export declare function useDebouncedField<T extends InputTypes>({ name, watchUpd
|
|
|
122
122
|
value: T extends "checkbox" ? boolean : string;
|
|
123
123
|
error: string | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
|
|
124
124
|
ref: import("react-hook-form").UseFormRegisterReturn<string>;
|
|
125
|
+
control: import("react-hook-form").Control<import("react-hook-form").FieldValues, any, import("react-hook-form").FieldValues>;
|
|
125
126
|
isDisabled: boolean;
|
|
126
127
|
isLoading: boolean | undefined;
|
|
127
|
-
control: import("react-hook-form").Control<import("react-hook-form").FieldValues, any, import("react-hook-form").FieldValues>;
|
|
128
128
|
isSoloField: boolean | undefined;
|
|
129
129
|
validation: RegisterOptions | undefined;
|
|
130
130
|
getValues: import("react-hook-form").UseFormGetValues<import("react-hook-form").FieldValues>;
|