@nypl/design-system-react-components 2.2.0-react-chakra-rc → 3.0.0-react-chakra-rc
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/design-system-react-components.cjs +58 -58
- package/dist/design-system-react-components.js +17460 -16512
- package/dist/src/components/Accordion/Accordion.d.ts +2 -1
- package/dist/src/components/AlphabetFilter/AlphabetFilter.d.ts +6 -3
- package/dist/src/components/AudioPlayer/AudioPlayer.d.ts +6 -3
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/src/components/Button/Button.d.ts +23 -1
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +15 -1
- package/dist/src/components/Card/Card.d.ts +2 -1
- package/dist/src/components/Checkbox/Checkbox.d.ts +2 -1
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +2 -1
- package/dist/src/components/ComponentWrapper/ComponentWrapper.d.ts +4 -2
- package/dist/src/components/DatePicker/DatePicker.d.ts +14 -6
- package/dist/src/components/FeaturedContent/FeaturedContent.d.ts +2 -1
- package/dist/src/components/FeedbackBox/FeedbackBox.d.ts +48 -2
- package/dist/src/components/Fieldset/Fieldset.d.ts +17 -1
- package/dist/src/components/Form/Form.d.ts +4 -3
- package/dist/src/components/Grid/SimpleGrid.d.ts +2 -1
- package/dist/src/components/Heading/Heading.d.ts +2 -1
- package/dist/src/components/HelperErrorText/HelperErrorText.d.ts +26 -1
- package/dist/src/components/Hero/Hero.d.ts +6 -1
- package/dist/src/components/HorizontalRule/HorizontalRule.d.ts +2 -1
- package/dist/src/components/Icons/Icon.d.ts +2 -1
- package/dist/src/components/Icons/IconSvgs.d.ts +24 -0
- package/dist/src/components/Icons/iconVariables.d.ts +2 -2
- package/dist/src/components/Image/Image.d.ts +9 -2
- package/dist/src/components/Label/Label.d.ts +19 -1
- package/dist/src/components/Link/Link.d.ts +2 -1
- package/dist/src/components/List/List.d.ts +6 -4
- package/dist/src/components/Logo/Logo.d.ts +5 -4
- package/dist/src/components/Logo/logoVariables.d.ts +0 -1
- package/dist/src/components/Menu/Menu.d.ts +58 -0
- package/dist/src/components/Modal/Modal.d.ts +13 -4
- package/dist/src/components/NewsletterSignup/NewsletterSignup.d.ts +42 -1
- package/dist/src/components/Notification/Notification.d.ts +11 -5
- package/dist/src/components/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -1
- package/dist/src/components/Radio/Radio.d.ts +2 -1
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/src/components/SearchBar/SearchBar.d.ts +4 -2
- package/dist/src/components/Select/Select.d.ts +2 -1
- package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +2 -1
- package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +10 -1
- package/dist/src/components/Slider/Slider.d.ts +2 -1
- package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +2 -1
- package/dist/src/components/StatusBadge/StatusBadge.d.ts +15 -6
- package/dist/src/components/StructuredContent/StructuredContent.d.ts +7 -4
- package/dist/src/components/StyleGuide/ColorCard.d.ts +2 -1
- package/dist/src/components/StyledList/StyledList.d.ts +2 -1
- package/dist/src/components/Table/Table.d.ts +2 -1
- package/dist/src/components/Tabs/Tabs.d.ts +2 -2
- package/dist/src/components/TagSet/TagSet.d.ts +2 -1
- package/dist/src/components/TagSet/TagSetExplore.d.ts +1 -1
- package/dist/src/components/TagSet/TagSetFilter.d.ts +1 -1
- package/dist/src/components/Template/Template.d.ts +3 -2
- package/dist/src/components/Text/Text.d.ts +2 -1
- package/dist/src/components/TextInput/TextInput.d.ts +2 -1
- package/dist/src/components/Toggle/Toggle.d.ts +2 -1
- package/dist/src/components/Tooltip/Tooltip.d.ts +2 -1
- package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +6 -3
- package/dist/src/helpers/types.d.ts +2 -0
- package/dist/src/hooks/useDSHeading.d.ts +16 -0
- package/dist/src/hooks/useScrollTabIntoView.d.ts +9 -0
- package/dist/src/hooks/useStateWithDependencies.d.ts +4 -2
- package/dist/src/index.d.ts +3 -1
- package/dist/src/theme/components/accordion.d.ts +22 -2
- package/dist/src/theme/components/alphabetFilter.d.ts +24 -8
- package/dist/src/theme/components/audioPlayer.d.ts +18 -1
- package/dist/src/theme/components/breadcrumb.d.ts +24 -16
- package/dist/src/theme/components/button.d.ts +39 -0
- package/dist/src/theme/components/buttonGroup.d.ts +12 -3
- package/dist/src/theme/components/card.d.ts +104 -235
- package/dist/src/theme/components/checkbox.d.ts +44 -34
- package/dist/src/theme/components/checkboxGroup.d.ts +18 -4
- package/dist/src/theme/components/datePicker.d.ts +17 -6
- package/dist/src/theme/components/featuredContent.d.ts +75 -36
- package/dist/src/theme/components/feedbackBox.d.ts +28 -9
- package/dist/src/theme/components/fieldset.d.ts +14 -2
- package/dist/src/theme/components/global.d.ts +1 -0
- package/dist/src/theme/components/heading.d.ts +596 -249
- package/dist/src/theme/components/helperErrorText.d.ts +19 -3
- package/dist/src/theme/components/hero.d.ts +198 -176
- package/dist/src/theme/components/horizontalRule.d.ts +14 -2
- package/dist/src/theme/components/icon.d.ts +13 -4
- package/dist/src/theme/components/image.d.ts +326 -223
- package/dist/src/theme/components/label.d.ts +14 -2
- package/dist/src/theme/components/link.d.ts +40 -197
- package/dist/src/theme/components/list.d.ts +130 -101
- package/dist/src/theme/components/logo.d.ts +17 -5
- package/dist/src/theme/components/menu.d.ts +169 -0
- package/dist/src/theme/components/modal.d.ts +19 -4
- package/dist/src/theme/components/newsletterSignup.d.ts +37 -29
- package/dist/src/theme/components/notification.d.ts +51 -116
- package/dist/src/theme/components/notificationContent.d.ts +58 -0
- package/dist/src/theme/components/notificationHeading.d.ts +57 -0
- package/dist/src/theme/components/pagination.d.ts +17 -2
- package/dist/src/theme/components/progressIndicator.d.ts +21 -5
- package/dist/src/theme/components/radio.d.ts +25 -6
- package/dist/src/theme/components/radioGroup.d.ts +18 -4
- package/dist/src/theme/components/searchBar.d.ts +24 -6
- package/dist/src/theme/components/select.d.ts +21 -13
- package/dist/src/theme/components/skeletonLoader.d.ts +34 -12
- package/dist/src/theme/components/skipNavigation.d.ts +12 -1
- package/dist/src/theme/components/slider.d.ts +49 -33
- package/dist/src/theme/components/socialmedialinks.d.ts +22 -16
- package/dist/src/theme/components/statusBadge.d.ts +66 -10
- package/dist/src/theme/components/structuredContent.d.ts +233 -102
- package/dist/src/theme/components/styledList.d.ts +12 -6
- package/dist/src/theme/components/tabs.d.ts +27 -13
- package/dist/src/theme/components/tagSet.d.ts +83 -42
- package/dist/src/theme/components/template.d.ts +76 -25
- package/dist/src/theme/components/text.d.ts +27 -12
- package/dist/src/theme/components/textInput.d.ts +52 -44
- package/dist/src/theme/components/toggle.d.ts +33 -11
- package/dist/src/theme/components/tooltip.d.ts +13 -1
- package/dist/src/theme/components/videoPlayer.d.ts +32 -21
- package/dist/src/theme/foundations/global.d.ts +6 -0
- package/dist/styles.css +1 -1
- package/package.json +6 -9
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ProgressIndicatorSizes } from "../../components/ProgressIndicator/ProgressIndicator";
|
|
2
|
-
|
|
2
|
+
import { StyleFunctionProps } from "@chakra-ui/system";
|
|
3
|
+
interface ProgressIndicatorBaseStyle extends StyleFunctionProps {
|
|
3
4
|
darkMode: boolean;
|
|
4
5
|
size: ProgressIndicatorSizes;
|
|
5
6
|
}
|
|
6
7
|
declare const ProgressIndicator: {
|
|
7
|
-
|
|
8
|
-
baseStyle: ({ darkMode, size }: ProgressIndicatorBaseStyle) => {
|
|
8
|
+
baseStyle?: ({ darkMode, size }: ProgressIndicatorBaseStyle) => {
|
|
9
9
|
color: string;
|
|
10
10
|
fontSize: string;
|
|
11
11
|
_dark: {
|
|
@@ -48,8 +48,8 @@ declare const ProgressIndicator: {
|
|
|
48
48
|
flex: number;
|
|
49
49
|
bg: string;
|
|
50
50
|
height: {
|
|
51
|
-
base:
|
|
52
|
-
md:
|
|
51
|
+
base: "4px";
|
|
52
|
+
md: "4px" | "8px";
|
|
53
53
|
};
|
|
54
54
|
_dark: {
|
|
55
55
|
bg: string;
|
|
@@ -65,5 +65,21 @@ declare const ProgressIndicator: {
|
|
|
65
65
|
flex: number;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
+
sizes?: {
|
|
69
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
70
|
+
keys: ("linear" | "circular" | "circularLabel" | "linearContainer" | "linearPercentage")[];
|
|
71
|
+
}>;
|
|
72
|
+
};
|
|
73
|
+
variants?: {
|
|
74
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
75
|
+
keys: ("linear" | "circular" | "circularLabel" | "linearContainer" | "linearPercentage")[];
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
defaultProps?: {
|
|
79
|
+
size?: string | number;
|
|
80
|
+
variant?: string | number;
|
|
81
|
+
colorScheme?: string;
|
|
82
|
+
};
|
|
83
|
+
parts: ("linear" | "circular" | "circularLabel" | "linearContainer" | "linearPercentage")[];
|
|
68
84
|
};
|
|
69
85
|
export default ProgressIndicator;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const Radio: {
|
|
2
|
-
|
|
3
|
-
baseStyle: {
|
|
2
|
+
baseStyle?: {
|
|
4
3
|
control: {
|
|
5
4
|
verticalAlign: string;
|
|
6
5
|
transitionProperty: string;
|
|
@@ -121,6 +120,7 @@ declare const Radio: {
|
|
|
121
120
|
};
|
|
122
121
|
};
|
|
123
122
|
};
|
|
123
|
+
container: {};
|
|
124
124
|
helperErrorText: {
|
|
125
125
|
marginStart: string;
|
|
126
126
|
_disabled: {
|
|
@@ -146,7 +146,7 @@ declare const Radio: {
|
|
|
146
146
|
wordWrap: string;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
sizes
|
|
149
|
+
sizes?: {
|
|
150
150
|
md: {
|
|
151
151
|
control: {
|
|
152
152
|
h: string;
|
|
@@ -157,12 +157,20 @@ declare const Radio: {
|
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
variants?: {
|
|
161
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
162
|
+
keys: ("label" | "container" | "helperErrorText" | "control" | "hiddenLabel")[];
|
|
163
|
+
}>;
|
|
162
164
|
};
|
|
165
|
+
defaultProps?: {
|
|
166
|
+
size?: "md";
|
|
167
|
+
variant?: string | number;
|
|
168
|
+
colorScheme?: string;
|
|
169
|
+
};
|
|
170
|
+
parts: ("label" | "container" | "helperErrorText" | "control" | "hiddenLabel")[];
|
|
163
171
|
};
|
|
164
172
|
export declare const RadioWrapper: {
|
|
165
|
-
baseStyle
|
|
173
|
+
baseStyle?: {
|
|
166
174
|
label: {
|
|
167
175
|
_hover: {
|
|
168
176
|
span: {
|
|
@@ -198,5 +206,16 @@ export declare const RadioWrapper: {
|
|
|
198
206
|
};
|
|
199
207
|
};
|
|
200
208
|
};
|
|
209
|
+
sizes?: {
|
|
210
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
211
|
+
};
|
|
212
|
+
variants?: {
|
|
213
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
214
|
+
};
|
|
215
|
+
defaultProps?: {
|
|
216
|
+
size?: string | number;
|
|
217
|
+
variant?: string | number;
|
|
218
|
+
colorScheme?: string;
|
|
219
|
+
};
|
|
201
220
|
};
|
|
202
221
|
export default Radio;
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
declare const RadioGroup: {
|
|
2
|
-
|
|
3
|
-
baseStyle: ({ isFullWidth }: {
|
|
4
|
-
isFullWidth?: boolean;
|
|
5
|
-
}) => {
|
|
2
|
+
baseStyle?: ({ isFullWidth }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
6
3
|
helperErrorText: {
|
|
7
4
|
marginTop: string;
|
|
8
5
|
};
|
|
9
6
|
label: {
|
|
7
|
+
display: string;
|
|
10
8
|
width: string;
|
|
11
9
|
};
|
|
12
10
|
};
|
|
11
|
+
sizes?: {
|
|
12
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
13
|
+
keys: ("helperErrorText" | "stack")[];
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
variants?: {
|
|
17
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
18
|
+
keys: ("helperErrorText" | "stack")[];
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
21
|
+
defaultProps?: {
|
|
22
|
+
size?: string | number;
|
|
23
|
+
variant?: string | number;
|
|
24
|
+
colorScheme?: string;
|
|
25
|
+
};
|
|
26
|
+
parts: ("helperErrorText" | "stack")[];
|
|
13
27
|
};
|
|
14
28
|
export default RadioGroup;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const SearchBar: {
|
|
2
|
-
|
|
3
|
-
baseStyle: {
|
|
2
|
+
baseStyle?: {
|
|
4
3
|
display: string;
|
|
5
4
|
marginBottom: {
|
|
6
5
|
base: string;
|
|
@@ -10,20 +9,23 @@ declare const SearchBar: {
|
|
|
10
9
|
base: string;
|
|
11
10
|
md: string;
|
|
12
11
|
};
|
|
12
|
+
".textInput": {
|
|
13
|
+
flexGrow: string;
|
|
14
|
+
};
|
|
13
15
|
select: {
|
|
14
16
|
flexShrink: string;
|
|
15
17
|
marginBottom: {
|
|
16
|
-
base:
|
|
17
|
-
md:
|
|
18
|
+
base: "-1px";
|
|
19
|
+
md: "0";
|
|
18
20
|
};
|
|
19
21
|
maxWidth: {
|
|
20
22
|
base: any;
|
|
21
|
-
md:
|
|
23
|
+
md: "255px";
|
|
22
24
|
};
|
|
23
25
|
textOverflow: string;
|
|
24
26
|
marginRight: {
|
|
25
27
|
base: any;
|
|
26
|
-
md:
|
|
28
|
+
md: "-1px";
|
|
27
29
|
};
|
|
28
30
|
_hover: {
|
|
29
31
|
zIndex: string;
|
|
@@ -33,5 +35,21 @@ declare const SearchBar: {
|
|
|
33
35
|
};
|
|
34
36
|
};
|
|
35
37
|
};
|
|
38
|
+
sizes?: {
|
|
39
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
40
|
+
keys: "select"[];
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
variants?: {
|
|
44
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
45
|
+
keys: "select"[];
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
48
|
+
defaultProps?: {
|
|
49
|
+
size?: string | number;
|
|
50
|
+
variant?: string | number;
|
|
51
|
+
colorScheme?: string;
|
|
52
|
+
};
|
|
53
|
+
parts: "select"[];
|
|
36
54
|
};
|
|
37
55
|
export default SearchBar;
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { StyleFunctionProps } from "@chakra-ui/system";
|
|
2
|
+
interface SelectBaseStyle extends StyleFunctionProps {
|
|
2
3
|
labelPosition: string;
|
|
3
4
|
}
|
|
4
5
|
declare const Select: {
|
|
5
|
-
|
|
6
|
-
baseStyle: ({ labelPosition }: SelectBaseStyle) => {
|
|
6
|
+
baseStyle?: ({ labelPosition }: SelectBaseStyle) => {
|
|
7
7
|
inline: {
|
|
8
8
|
display: {
|
|
9
|
-
md:
|
|
9
|
+
md: "flex";
|
|
10
10
|
};
|
|
11
11
|
gap: {
|
|
12
12
|
md: string;
|
|
13
13
|
};
|
|
14
14
|
alignItems: {
|
|
15
|
-
md:
|
|
15
|
+
md: "flex-end";
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
select: {
|
|
19
|
-
flex: {
|
|
20
|
-
md: string;
|
|
21
|
-
};
|
|
22
19
|
backgroundColor: string;
|
|
23
20
|
borderRadius: string;
|
|
24
21
|
borderColor: string;
|
|
@@ -31,6 +28,9 @@ declare const Select: {
|
|
|
31
28
|
paddingEnd: string;
|
|
32
29
|
paddingBottom: string;
|
|
33
30
|
paddingStart: string;
|
|
31
|
+
flex: {
|
|
32
|
+
md: string;
|
|
33
|
+
};
|
|
34
34
|
_hover: {
|
|
35
35
|
borderColor: string;
|
|
36
36
|
};
|
|
@@ -106,21 +106,29 @@ declare const Select: {
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
sizes?: {
|
|
110
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
111
|
+
keys: ("select" | "inline" | "helperText")[];
|
|
112
|
+
}>;
|
|
113
|
+
};
|
|
114
|
+
variants?: {
|
|
110
115
|
searchbar: {
|
|
111
116
|
select: {
|
|
112
117
|
flex: string;
|
|
113
118
|
borderRightColor: {
|
|
114
|
-
md:
|
|
119
|
+
md: "transparent";
|
|
115
120
|
};
|
|
116
121
|
borderRightRadius: {
|
|
117
|
-
md:
|
|
122
|
+
md: "none";
|
|
118
123
|
};
|
|
119
124
|
};
|
|
120
125
|
};
|
|
121
126
|
};
|
|
122
|
-
defaultProps
|
|
123
|
-
size
|
|
127
|
+
defaultProps?: {
|
|
128
|
+
size?: string | number;
|
|
129
|
+
variant?: "searchbar";
|
|
130
|
+
colorScheme?: string;
|
|
124
131
|
};
|
|
132
|
+
parts: ("select" | "inline" | "helperText")[];
|
|
125
133
|
};
|
|
126
134
|
export default Select;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { StyleFunctionProps } from "@chakra-ui/system";
|
|
2
|
+
interface SkeletonLoaderBaseStyle extends StyleFunctionProps {
|
|
2
3
|
imageAspectRatio: keyof typeof imagePaddingBottomStyles;
|
|
3
4
|
isBordered: boolean;
|
|
4
5
|
showImage?: boolean;
|
|
@@ -9,8 +10,7 @@ declare const imagePaddingBottomStyles: {
|
|
|
9
10
|
square: string;
|
|
10
11
|
};
|
|
11
12
|
declare const SkeletonLoader: {
|
|
12
|
-
|
|
13
|
-
baseStyle: ({ imageAspectRatio, isBordered }: SkeletonLoaderBaseStyle) => {
|
|
13
|
+
baseStyle?: ({ imageAspectRatio, isBordered }: SkeletonLoaderBaseStyle) => {
|
|
14
14
|
section: {
|
|
15
15
|
marginBottom: string;
|
|
16
16
|
_last: {
|
|
@@ -53,7 +53,12 @@ declare const SkeletonLoader: {
|
|
|
53
53
|
margin: string;
|
|
54
54
|
width: string;
|
|
55
55
|
};
|
|
56
|
-
|
|
56
|
+
sizes?: {
|
|
57
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
58
|
+
keys: ("button" | "section" | "content" | "container" | "image" | "heading")[];
|
|
59
|
+
}>;
|
|
60
|
+
};
|
|
61
|
+
variants?: {
|
|
57
62
|
row: ({ imageAspectRatio, showImage }: SkeletonLoaderBaseStyle) => {
|
|
58
63
|
alignItems: string;
|
|
59
64
|
display: {
|
|
@@ -61,16 +66,16 @@ declare const SkeletonLoader: {
|
|
|
61
66
|
};
|
|
62
67
|
image: {
|
|
63
68
|
overflow: {
|
|
64
|
-
md:
|
|
69
|
+
md: "visible";
|
|
65
70
|
};
|
|
66
71
|
paddingBottom: {
|
|
67
|
-
md:
|
|
72
|
+
md: "0";
|
|
68
73
|
};
|
|
69
74
|
position: {
|
|
70
|
-
md:
|
|
75
|
+
md: "relative";
|
|
71
76
|
};
|
|
72
77
|
width: {
|
|
73
|
-
md:
|
|
78
|
+
md: "220px";
|
|
74
79
|
};
|
|
75
80
|
height: {
|
|
76
81
|
md: string;
|
|
@@ -78,22 +83,28 @@ declare const SkeletonLoader: {
|
|
|
78
83
|
};
|
|
79
84
|
container: {
|
|
80
85
|
marginStart: {
|
|
81
|
-
md:
|
|
86
|
+
md: "m";
|
|
82
87
|
};
|
|
83
88
|
marginTop: {
|
|
84
|
-
md:
|
|
89
|
+
md: "0";
|
|
85
90
|
};
|
|
86
91
|
};
|
|
87
92
|
button: {
|
|
88
93
|
margin: {
|
|
89
|
-
md:
|
|
94
|
+
md: "0";
|
|
90
95
|
};
|
|
91
96
|
};
|
|
92
97
|
};
|
|
93
98
|
};
|
|
99
|
+
defaultProps?: {
|
|
100
|
+
size?: string | number;
|
|
101
|
+
variant?: "row";
|
|
102
|
+
colorScheme?: string;
|
|
103
|
+
};
|
|
104
|
+
parts: ("button" | "section" | "content" | "container" | "image" | "heading")[];
|
|
94
105
|
};
|
|
95
106
|
declare const Skeleton: {
|
|
96
|
-
baseStyle
|
|
107
|
+
baseStyle?: {
|
|
97
108
|
borderRadius: string;
|
|
98
109
|
bg: string;
|
|
99
110
|
animation: string;
|
|
@@ -101,5 +112,16 @@ declare const Skeleton: {
|
|
|
101
112
|
bg: string;
|
|
102
113
|
};
|
|
103
114
|
};
|
|
115
|
+
sizes?: {
|
|
116
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
117
|
+
};
|
|
118
|
+
variants?: {
|
|
119
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
120
|
+
};
|
|
121
|
+
defaultProps?: {
|
|
122
|
+
size?: string | number;
|
|
123
|
+
variant?: string | number;
|
|
124
|
+
colorScheme?: string;
|
|
125
|
+
};
|
|
104
126
|
};
|
|
105
127
|
export { Skeleton, SkeletonLoader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const SkipNavigation: {
|
|
2
|
-
baseStyle
|
|
2
|
+
baseStyle?: {
|
|
3
3
|
ul: {
|
|
4
4
|
margin: string;
|
|
5
5
|
};
|
|
@@ -24,5 +24,16 @@ declare const SkipNavigation: {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
sizes?: {
|
|
28
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
29
|
+
};
|
|
30
|
+
variants?: {
|
|
31
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
32
|
+
};
|
|
33
|
+
defaultProps?: {
|
|
34
|
+
size?: string | number;
|
|
35
|
+
variant?: string | number;
|
|
36
|
+
colorScheme?: string;
|
|
37
|
+
};
|
|
27
38
|
};
|
|
28
39
|
export default SkipNavigation;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { StyleFunctionProps } from "@chakra-ui/system";
|
|
2
|
+
interface CustomSliderBaseStyle extends StyleFunctionProps {
|
|
2
3
|
isDarkMode: boolean;
|
|
3
4
|
isDisabled: boolean;
|
|
4
5
|
isInvalid: boolean;
|
|
@@ -6,42 +7,11 @@ interface CustomSliderBaseStyle {
|
|
|
6
7
|
showValues: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const CustomSlider: {
|
|
9
|
-
|
|
10
|
-
baseStyle: ({ isDarkMode, isDisabled, isInvalid, showBoxes, showValues, }: CustomSliderBaseStyle) => {
|
|
10
|
+
baseStyle?: ({ isDarkMode, isDisabled, isInvalid, showBoxes, showValues, }: CustomSliderBaseStyle) => {
|
|
11
11
|
container: {
|
|
12
12
|
display: string;
|
|
13
13
|
alignItems: string;
|
|
14
14
|
};
|
|
15
|
-
leftValue: {
|
|
16
|
-
color: string;
|
|
17
|
-
_dark: {
|
|
18
|
-
color: string;
|
|
19
|
-
};
|
|
20
|
-
marginTop: string;
|
|
21
|
-
marginBottom: string;
|
|
22
|
-
marginEnd: string;
|
|
23
|
-
marginStart: string;
|
|
24
|
-
};
|
|
25
|
-
rightValue: {
|
|
26
|
-
marginStart: string;
|
|
27
|
-
marginEnd: string;
|
|
28
|
-
color: string;
|
|
29
|
-
_dark: {
|
|
30
|
-
color: string;
|
|
31
|
-
};
|
|
32
|
-
marginTop: string;
|
|
33
|
-
marginBottom: string;
|
|
34
|
-
};
|
|
35
|
-
textInput: {
|
|
36
|
-
minWidth: string;
|
|
37
|
-
};
|
|
38
|
-
sliderContainer: {
|
|
39
|
-
marginStart: string;
|
|
40
|
-
marginEnd: string;
|
|
41
|
-
};
|
|
42
|
-
filledTrack: {
|
|
43
|
-
bgColor: string;
|
|
44
|
-
};
|
|
45
15
|
track: {
|
|
46
16
|
bgColor: string;
|
|
47
17
|
_disabled: {
|
|
@@ -73,6 +43,52 @@ declare const CustomSlider: {
|
|
|
73
43
|
};
|
|
74
44
|
};
|
|
75
45
|
};
|
|
46
|
+
filledTrack: {
|
|
47
|
+
bgColor: string;
|
|
48
|
+
};
|
|
49
|
+
leftValue: {
|
|
50
|
+
color: string;
|
|
51
|
+
_dark: {
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
marginTop: string;
|
|
55
|
+
marginBottom: string;
|
|
56
|
+
marginEnd: string;
|
|
57
|
+
marginStart: string;
|
|
58
|
+
};
|
|
59
|
+
rightValue: {
|
|
60
|
+
marginStart: string;
|
|
61
|
+
marginEnd: string;
|
|
62
|
+
color: string;
|
|
63
|
+
_dark: {
|
|
64
|
+
color: string;
|
|
65
|
+
};
|
|
66
|
+
marginTop: string;
|
|
67
|
+
marginBottom: string;
|
|
68
|
+
};
|
|
69
|
+
textInput: {
|
|
70
|
+
minWidth: string;
|
|
71
|
+
};
|
|
72
|
+
sliderContainer: {
|
|
73
|
+
marginStart: string;
|
|
74
|
+
marginEnd: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
sizes?: {
|
|
78
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
79
|
+
keys: ("track" | "container" | "thumb" | "filledTrack" | "leftValue" | "rightValue" | "textInput" | "sliderContainer")[];
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
variants?: {
|
|
83
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
84
|
+
keys: ("track" | "container" | "thumb" | "filledTrack" | "leftValue" | "rightValue" | "textInput" | "sliderContainer")[];
|
|
85
|
+
}>;
|
|
86
|
+
};
|
|
87
|
+
defaultProps?: {
|
|
88
|
+
size?: string | number;
|
|
89
|
+
variant?: string | number;
|
|
90
|
+
colorScheme?: string;
|
|
76
91
|
};
|
|
92
|
+
parts: ("track" | "container" | "thumb" | "filledTrack" | "leftValue" | "rightValue" | "textInput" | "sliderContainer")[];
|
|
77
93
|
};
|
|
78
94
|
export default CustomSlider;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { StyleFunctionProps } from "@chakra-ui/
|
|
1
|
+
import { StyleFunctionProps } from "@chakra-ui/react";
|
|
2
2
|
declare const SocialMediaLinks: {
|
|
3
|
-
baseStyle
|
|
3
|
+
baseStyle?: {
|
|
4
4
|
display: string;
|
|
5
5
|
alignItems: string;
|
|
6
6
|
gap: string;
|
|
7
7
|
width: {
|
|
8
|
-
base:
|
|
9
|
-
md:
|
|
8
|
+
base: "100%";
|
|
9
|
+
md: "unset";
|
|
10
10
|
};
|
|
11
11
|
marginBottom: string;
|
|
12
12
|
li: {
|
|
13
13
|
marginInlineEnd: string;
|
|
14
14
|
marginTop: string;
|
|
15
15
|
width: {
|
|
16
|
-
base:
|
|
17
|
-
md:
|
|
16
|
+
base: "100%";
|
|
17
|
+
md: "unset";
|
|
18
18
|
};
|
|
19
19
|
_notFirst: {
|
|
20
20
|
marginTop: string;
|
|
@@ -26,12 +26,12 @@ declare const SocialMediaLinks: {
|
|
|
26
26
|
alignContent: string;
|
|
27
27
|
flexWrap: string;
|
|
28
28
|
minWidth: {
|
|
29
|
-
base:
|
|
30
|
-
md:
|
|
29
|
+
base: "44px";
|
|
30
|
+
md: "unset";
|
|
31
31
|
};
|
|
32
32
|
minHeight: {
|
|
33
|
-
base:
|
|
34
|
-
md:
|
|
33
|
+
base: "44px";
|
|
34
|
+
md: "unset";
|
|
35
35
|
};
|
|
36
36
|
fontStyle: string;
|
|
37
37
|
fontSize: string;
|
|
@@ -39,6 +39,7 @@ declare const SocialMediaLinks: {
|
|
|
39
39
|
color: string;
|
|
40
40
|
_hover: {
|
|
41
41
|
color: string;
|
|
42
|
+
textDecoration: string;
|
|
42
43
|
};
|
|
43
44
|
_visited: {
|
|
44
45
|
color: string;
|
|
@@ -69,10 +70,13 @@ declare const SocialMediaLinks: {
|
|
|
69
70
|
};
|
|
70
71
|
};
|
|
71
72
|
};
|
|
72
|
-
|
|
73
|
+
sizes?: {
|
|
74
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
75
|
+
};
|
|
76
|
+
variants?: {
|
|
73
77
|
straight(props: StyleFunctionProps): {
|
|
74
78
|
flexDirection: {
|
|
75
|
-
base:
|
|
79
|
+
base: "column";
|
|
76
80
|
md: any;
|
|
77
81
|
};
|
|
78
82
|
gap: string;
|
|
@@ -115,7 +119,7 @@ declare const SocialMediaLinks: {
|
|
|
115
119
|
};
|
|
116
120
|
circular(props: StyleFunctionProps): {
|
|
117
121
|
flexDirection: {
|
|
118
|
-
base:
|
|
122
|
+
base: "column";
|
|
119
123
|
md: any;
|
|
120
124
|
};
|
|
121
125
|
gap: string;
|
|
@@ -156,7 +160,7 @@ declare const SocialMediaLinks: {
|
|
|
156
160
|
};
|
|
157
161
|
none(props: StyleFunctionProps): {
|
|
158
162
|
flexDirection: {
|
|
159
|
-
base:
|
|
163
|
+
base: "column";
|
|
160
164
|
md: any;
|
|
161
165
|
};
|
|
162
166
|
a: {
|
|
@@ -185,8 +189,10 @@ declare const SocialMediaLinks: {
|
|
|
185
189
|
};
|
|
186
190
|
};
|
|
187
191
|
};
|
|
188
|
-
defaultProps
|
|
189
|
-
|
|
192
|
+
defaultProps?: {
|
|
193
|
+
size?: string | number;
|
|
194
|
+
variant?: "none" | "circular" | "straight";
|
|
195
|
+
colorScheme?: string;
|
|
190
196
|
};
|
|
191
197
|
};
|
|
192
198
|
export default SocialMediaLinks;
|