@nypl/design-system-react-components 1.5.4 → 1.6.0-vite-rc-2
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/README.md +24 -40
- package/dist/design-system-react-components.cjs +304 -0
- package/dist/design-system-react-components.js +42142 -0
- package/dist/{components → src/components}/Accordion/Accordion.d.ts +29 -29
- package/dist/{components → src/components}/AlphabetFilter/AlphabetFilter.d.ts +23 -23
- package/dist/{components → src/components}/AudioPlayer/AudioPlayer.d.ts +43 -43
- package/dist/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +24 -18
- package/dist/{components → src/components}/Button/Button.d.ts +33 -30
- package/dist/{components → src/components}/ButtonGroup/ButtonGroup.d.ts +25 -24
- package/dist/{components → src/components}/Card/Card.d.ts +55 -55
- package/dist/{components → src/components}/Checkbox/Checkbox.d.ts +47 -47
- package/dist/{components → src/components}/CheckboxGroup/CheckboxGroup.d.ts +51 -51
- package/dist/{components → src/components}/ComponentWrapper/ComponentWrapper.d.ts +31 -31
- package/dist/{components → src/components}/DatePicker/DatePicker.d.ts +82 -81
- package/dist/{components → src/components}/FeedbackBox/FeedbackBox.d.ts +64 -63
- package/dist/{components → src/components}/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -19
- package/dist/{components → src/components}/Fieldset/Fieldset.d.ts +24 -24
- package/dist/{components → src/components}/FilterBar/FilterBar.d.ts +61 -111
- package/dist/{components → src/components}/Footer/Footer.d.ts +14 -14
- package/dist/{components → src/components}/Footer/footerLinks.d.ts +12 -12
- package/dist/{components → src/components}/Form/Form.d.ts +31 -31
- package/dist/{components → src/components}/Grid/SimpleGrid.d.ts +20 -19
- package/dist/{components → src/components}/Header/Header.d.ts +21 -22
- package/dist/{components → src/components}/Header/components/HeaderLogin.d.ts +12 -12
- package/dist/{components → src/components}/Header/components/HeaderLoginButton.d.ts +10 -11
- package/dist/{components → src/components}/Header/components/HeaderLowerNav.d.ts +6 -7
- package/dist/{components → src/components}/Header/components/HeaderMobileIconNav.d.ts +6 -7
- package/dist/{components → src/components}/Header/components/HeaderMobileNav.d.ts +6 -7
- package/dist/{components → src/components}/Header/components/HeaderMobileNavButton.d.ts +6 -7
- package/dist/{components → src/components}/Header/components/HeaderSearchButton.d.ts +9 -10
- package/dist/{components → src/components}/Header/components/HeaderSearchForm.d.ts +10 -11
- package/dist/{components → src/components}/Header/components/HeaderSitewideAlerts.d.ts +7 -8
- package/dist/{components → src/components}/Header/components/HeaderUpperNav.d.ts +7 -8
- package/dist/{components → src/components}/Header/context/headerContext.d.ts +13 -13
- package/dist/{components → src/components}/Header/utils/googleAnalyticsUtils.d.ts +16 -16
- package/dist/{components → src/components}/Header/utils/headerUtils.d.ts +94 -94
- package/dist/{components → src/components}/Heading/Heading.d.ts +37 -35
- package/dist/{components → src/components}/HelperErrorText/HelperErrorText.d.ts +34 -34
- package/dist/{components → src/components}/Hero/Hero.d.ts +43 -42
- package/dist/{components → src/components}/HorizontalRule/HorizontalRule.d.ts +11 -11
- package/dist/{components → src/components}/Icons/Icon.d.ts +40 -41
- package/dist/src/components/Icons/IconSvgs.d.ts +163 -0
- package/dist/src/components/Icons/iconVariables.d.ts +6 -0
- package/dist/{components → src/components}/Image/Image.d.ts +68 -65
- package/dist/{components → src/components}/Label/Label.d.ts +25 -25
- package/dist/{components → src/components}/Link/Link.d.ts +22 -21
- package/dist/{components → src/components}/List/List.d.ts +42 -42
- package/dist/{components → src/components}/Logo/Logo.d.ts +28 -28
- package/dist/src/components/Logo/LogoSvgs.d.ts +157 -0
- package/dist/{components → src/components}/Modal/Modal.d.ts +35 -35
- package/dist/{components → src/components}/MultiSelect/MultiSelect.d.ts +61 -78
- package/dist/{components → src/components}/MultiSelect/MultiSelectDialog.d.ts +8 -8
- package/dist/{components → src/components}/MultiSelect/MultiSelectListbox.d.ts +9 -9
- package/dist/{components → src/components}/MultiSelect/MultiSelectMenuButton.d.ts +27 -27
- package/dist/{components → src/components}/MultiSelectGroup/MultiSelectGroup.d.ts +28 -26
- package/dist/{components → src/components}/Notification/Notification.d.ts +52 -51
- package/dist/{components → src/components}/Pagination/Pagination.d.ts +27 -27
- package/dist/{components → src/components}/ProgressIndicator/ProgressIndicator.d.ts +32 -30
- package/dist/{components → src/components}/Radio/Radio.d.ts +43 -43
- package/dist/{components → src/components}/RadioGroup/RadioGroup.d.ts +51 -51
- package/dist/{components → src/components}/SearchBar/SearchBar.d.ts +58 -58
- package/dist/{components → src/components}/Select/Select.d.ts +59 -57
- package/dist/{components → src/components}/SkeletonLoader/SkeletonLoader.d.ts +42 -41
- package/dist/{components → src/components}/SkipNavigation/SkipNavigation.d.ts +19 -19
- package/dist/{components → src/components}/Slider/Slider.d.ts +65 -65
- package/dist/{components → src/components}/StatusBadge/StatusBadge.d.ts +19 -18
- package/dist/{components → src/components}/StructuredContent/StructuredContent.d.ts +30 -30
- package/dist/src/components/StyleGuide/ColorCard.d.ts +342 -0
- package/dist/{components → src/components}/StyledList/StyledList.d.ts +25 -25
- package/dist/{components → src/components}/Table/Table.d.ts +32 -32
- package/dist/{components → src/components}/Tabs/Tabs.d.ts +28 -28
- package/dist/{components → src/components}/TagSet/TagSet.d.ts +24 -32
- package/dist/{components → src/components}/TagSet/TagSetExplore.d.ts +28 -27
- package/dist/{components → src/components}/TagSet/TagSetFilter.d.ts +25 -26
- package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
- package/dist/{components → src/components}/Template/Template.d.ts +140 -140
- package/dist/{components → src/components}/Text/Text.d.ts +25 -24
- package/dist/{components → src/components}/TextInput/TextInput.d.ts +89 -88
- package/dist/{components → src/components}/Toggle/Toggle.d.ts +43 -42
- package/dist/{components → src/components}/Tooltip/Tooltip.d.ts +17 -17
- package/dist/{components → src/components}/VideoPlayer/VideoPlayer.d.ts +42 -40
- package/dist/src/helpers/types.d.ts +2 -0
- package/dist/{hooks → src/hooks}/useCarouselStyles.d.ts +17 -17
- package/dist/{hooks → src/hooks}/useCloseDropDown.d.ts +7 -7
- package/dist/{hooks → src/hooks}/useFilterBar.d.ts +21 -21
- package/dist/{hooks → src/hooks}/useMultiSelect.d.ts +15 -15
- package/dist/{hooks → src/hooks}/useNYPLBreakpoints.d.ts +13 -13
- package/dist/{hooks → src/hooks}/useNYPLTheme.d.ts +67 -67
- package/dist/{hooks → src/hooks}/useStateWithDependencies.d.ts +5 -5
- package/dist/{hooks → src/hooks}/useWindowSize.d.ts +10 -10
- package/dist/src/index.d.ts +91 -0
- package/dist/{theme → src/theme}/components/accordion.d.ts +34 -34
- package/dist/{theme → src/theme}/components/alphabetFilter.d.ts +33 -33
- package/dist/{theme → src/theme}/components/audioPlayer.d.ts +16 -16
- package/dist/{theme → src/theme}/components/breadcrumb.d.ts +138 -151
- package/dist/{theme → src/theme}/components/button.d.ts +113 -113
- package/dist/{theme → src/theme}/components/buttonGroup.d.ts +11 -11
- package/dist/{theme → src/theme}/components/card.d.ts +421 -421
- package/dist/{theme → src/theme}/components/checkbox.d.ts +178 -178
- package/dist/{theme → src/theme}/components/checkboxGroup.d.ts +14 -14
- package/dist/{theme → src/theme}/components/componentWrapper.d.ts +12 -12
- package/dist/{theme → src/theme}/components/customTable.d.ts +733 -733
- package/dist/{theme → src/theme}/components/datePicker.d.ts +17 -17
- package/dist/{theme → src/theme}/components/feedbackBox.d.ts +92 -92
- package/dist/{theme → src/theme}/components/fieldset.d.ts +23 -23
- package/dist/{theme → src/theme}/components/filterBar.d.ts +46 -46
- package/dist/{theme → src/theme}/components/footer.d.ts +244 -244
- package/dist/{theme → src/theme}/components/global.d.ts +140 -140
- package/dist/{theme → src/theme}/components/globalMixins.d.ts +40 -40
- package/dist/{theme → src/theme}/components/header/header.d.ts +72 -72
- package/dist/{theme → src/theme}/components/header/headerLogin.d.ts +327 -327
- package/dist/{theme → src/theme}/components/header/headerLoginButton.d.ts +69 -69
- package/dist/{theme → src/theme}/components/header/headerLowerNav.d.ts +70 -70
- package/dist/{theme → src/theme}/components/header/headerMobileIconNav.d.ts +28 -28
- package/dist/{theme → src/theme}/components/header/headerMobileNav.d.ts +86 -86
- package/dist/{theme → src/theme}/components/header/headerMobileNavButton.d.ts +34 -34
- package/dist/{theme → src/theme}/components/header/headerSearchButton.d.ts +83 -83
- package/dist/{theme → src/theme}/components/header/headerSearchForm.d.ts +183 -183
- package/dist/{theme → src/theme}/components/header/headerSitewideAlerts.d.ts +42 -42
- package/dist/{theme → src/theme}/components/header/headerUpperNav.d.ts +72 -72
- package/dist/{theme → src/theme}/components/heading.d.ts +173 -173
- package/dist/{theme → src/theme}/components/helperErrorText.d.ts +15 -15
- package/dist/{theme → src/theme}/components/hero.d.ts +628 -628
- package/dist/{theme → src/theme}/components/horizontalRule.d.ts +18 -18
- package/dist/{theme → src/theme}/components/icon.d.ts +62251 -62251
- package/dist/{theme → src/theme}/components/image.d.ts +662 -662
- package/dist/{theme → src/theme}/components/label.d.ts +21 -21
- package/dist/{theme → src/theme}/components/link.d.ts +106 -106
- package/dist/{theme → src/theme}/components/list.d.ts +228 -228
- package/dist/{theme → src/theme}/components/logo.d.ts +477 -477
- package/dist/{theme → src/theme}/components/modal.d.ts +21 -21
- package/dist/{theme → src/theme}/components/multiSelect.d.ts +29 -29
- package/dist/{theme → src/theme}/components/multiSelectMenuButton.d.ts +95 -95
- package/dist/{theme → src/theme}/components/notification.d.ts +136 -136
- package/dist/{theme → src/theme}/components/pagination.d.ts +16 -16
- package/dist/{theme → src/theme}/components/progressIndicator.d.ts +68 -68
- package/dist/{theme → src/theme}/components/radio.d.ts +202 -202
- package/dist/{theme → src/theme}/components/radioGroup.d.ts +14 -14
- package/dist/{theme → src/theme}/components/searchBar.d.ts +34 -34
- package/dist/{theme → src/theme}/components/select.d.ts +125 -126
- package/dist/{theme → src/theme}/components/skeletonLoader.d.ts +105 -105
- package/dist/{theme → src/theme}/components/skipNavigation.d.ts +28 -28
- package/dist/{theme → src/theme}/components/slider.d.ts +78 -78
- package/dist/{theme → src/theme}/components/statusBadge.d.ts +37 -37
- package/dist/{theme → src/theme}/components/structuredContent.d.ts +385 -385
- package/dist/{theme → src/theme}/components/styledList.d.ts +51 -51
- package/dist/{theme → src/theme}/components/tabs.d.ts +172 -172
- package/dist/{theme → src/theme}/components/tagSet.d.ts +154 -154
- package/dist/{theme → src/theme}/components/template.d.ts +86 -86
- package/dist/{theme → src/theme}/components/text.d.ts +30 -30
- package/dist/{theme → src/theme}/components/textInput.d.ts +349 -355
- package/dist/{theme → src/theme}/components/toggle.d.ts +129 -129
- package/dist/{theme → src/theme}/components/tooltip.d.ts +19 -19
- package/dist/{theme → src/theme}/components/videoPlayer.d.ts +47 -47
- package/dist/{theme → src/theme}/foundations/breakpoints.d.ts +23 -23
- package/dist/{theme → src/theme}/foundations/colors.d.ts +3 -3
- package/dist/{theme → src/theme}/foundations/global.d.ts +68 -68
- package/dist/{theme → src/theme}/foundations/radii.d.ts +11 -11
- package/dist/{theme → src/theme}/foundations/shadows.d.ts +4 -4
- package/dist/{theme → src/theme}/foundations/spacing.d.ts +96 -96
- package/dist/{theme → src/theme}/foundations/typography.d.ts +8 -8
- package/dist/{theme → src/theme}/index.d.ts +20 -20
- package/dist/{theme → src/theme}/provider.d.ts +4 -4
- package/dist/src/theme/types.d.ts +1 -0
- package/dist/src/utils/colorUtils.d.ts +5 -0
- package/dist/{utils → src/utils}/interfaces.d.ts +5 -5
- package/dist/{utils → src/utils}/utils.d.ts +39 -39
- package/dist/styles.css +1 -4
- package/package.json +62 -69
- package/dist/__tests__/fileMock.d.ts +0 -4
- package/dist/__tests__/mediaMatchMock.d.ts +0 -79
- package/dist/__tests__/setup.d.ts +0 -2
- package/dist/__tests__/utils/utils.test.d.ts +0 -1
- package/dist/components/Autosuggest/Autosuggest.stories.d.ts +0 -4
- package/dist/components/FilterBar/FilterBar.stories.d.ts +0 -7
- package/dist/components/Header/utils/authApiMockResponse.d.ts +0 -49
- package/dist/components/Header/utils/encoreCatalogLogOutTimer.d.ts +0 -4
- package/dist/components/Header/utils/encoreCatalogLogOutTimer.test.d.ts +0 -1
- package/dist/components/Header/utils/googleAnalyticsUtils.test.d.ts +0 -1
- package/dist/components/Header/utils/headerUtils.test.d.ts +0 -1
- package/dist/components/Header/utils/sitewideAlertsMocks.d.ts +0 -98
- package/dist/components/Icons/IconColors.d.ts +0 -3
- package/dist/components/Icons/IconNames.d.ts +0 -3
- package/dist/components/Icons/IconSvgs.d.ts +0 -58
- package/dist/components/Logo/LogoSvgs.d.ts +0 -54
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -4
- package/dist/components/MultiSelectGroup/MultiSelectGroup.stories.d.ts +0 -4
- package/dist/components/Placeholder/Placeholder.d.ts +0 -10
- package/dist/components/StyleGuide/ColorCard.d.ts +0 -46
- package/dist/design-system-react-components.cjs.development.js +0 -18076
- package/dist/design-system-react-components.cjs.development.js.map +0 -1
- package/dist/design-system-react-components.cjs.production.min.js +0 -2
- package/dist/design-system-react-components.cjs.production.min.js.map +0 -1
- package/dist/design-system-react-components.esm.js +0 -17874
- package/dist/design-system-react-components.esm.js.map +0 -1
- package/dist/helpers/types.d.ts +0 -1
- package/dist/hooks/__tests__/useCarouselStyles.test.d.ts +0 -1
- package/dist/hooks/__tests__/useFilterBar.test.d.ts +0 -1
- package/dist/hooks/__tests__/useMultiSelect.test.d.ts +0 -1
- package/dist/hooks/__tests__/useNYPLBreakpoints.test.d.ts +0 -1
- package/dist/index.d.ts +0 -66
- package/dist/index.js +0 -8
- package/dist/resources.scss +0 -382
- package/dist/theme/types.d.ts +0 -1
- package/dist/utils/componentCategories.d.ts +0 -1
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const colorContrastData: {
|
|
3
|
+
brand: {
|
|
4
|
+
primary: {
|
|
5
|
+
dataBlackColor: string[];
|
|
6
|
+
dataWhiteColor: string[];
|
|
7
|
+
textColor: string;
|
|
8
|
+
};
|
|
9
|
+
secondary: {
|
|
10
|
+
dataBlackColor: string[];
|
|
11
|
+
dataWhiteColor: string[];
|
|
12
|
+
textColor: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
ui: {
|
|
16
|
+
black: {
|
|
17
|
+
dataBlackColor: string[];
|
|
18
|
+
dataWhiteColor: string[];
|
|
19
|
+
textColor: string;
|
|
20
|
+
};
|
|
21
|
+
gray: {
|
|
22
|
+
xxxxDark: {
|
|
23
|
+
dataBlackColor: any[];
|
|
24
|
+
dataWhiteColor: any[];
|
|
25
|
+
textColor: string;
|
|
26
|
+
};
|
|
27
|
+
xxxDark: {
|
|
28
|
+
dataBlackColor: any[];
|
|
29
|
+
dataWhiteColor: any[];
|
|
30
|
+
textColor: string;
|
|
31
|
+
};
|
|
32
|
+
xxDark: {
|
|
33
|
+
dataBlackColor: any[];
|
|
34
|
+
dataWhiteColor: any[];
|
|
35
|
+
textColor: string;
|
|
36
|
+
};
|
|
37
|
+
xDark: {
|
|
38
|
+
dataBlackColor: any[];
|
|
39
|
+
dataWhiteColor: any[];
|
|
40
|
+
textColor: string;
|
|
41
|
+
};
|
|
42
|
+
dark: {
|
|
43
|
+
dataBlackColor: any[];
|
|
44
|
+
dataWhiteColor: any[];
|
|
45
|
+
textColor: string;
|
|
46
|
+
};
|
|
47
|
+
semiDark: {
|
|
48
|
+
dataBlackColor: any[];
|
|
49
|
+
dataWhiteColor: any[];
|
|
50
|
+
textColor: string;
|
|
51
|
+
};
|
|
52
|
+
medium: {
|
|
53
|
+
dataBlackColor: any[];
|
|
54
|
+
dataWhiteColor: any[];
|
|
55
|
+
textColor: string;
|
|
56
|
+
};
|
|
57
|
+
semiMedium: {
|
|
58
|
+
dataBlackColor: any[];
|
|
59
|
+
dataWhiteColor: any[];
|
|
60
|
+
textColor: string;
|
|
61
|
+
};
|
|
62
|
+
lightCool: {
|
|
63
|
+
dataBlackColor: string[];
|
|
64
|
+
dataWhiteColor: string[];
|
|
65
|
+
textColor: string;
|
|
66
|
+
};
|
|
67
|
+
xLightCool: {
|
|
68
|
+
dataBlackColor: string[];
|
|
69
|
+
dataWhiteColor: string[];
|
|
70
|
+
textColor: string;
|
|
71
|
+
};
|
|
72
|
+
xxLightCool: {
|
|
73
|
+
dataBlackColor: string[];
|
|
74
|
+
dataWhiteColor: string[];
|
|
75
|
+
textColor: string;
|
|
76
|
+
};
|
|
77
|
+
lightWarm: {
|
|
78
|
+
dataBlackColor: string[];
|
|
79
|
+
dataWhiteColor: string[];
|
|
80
|
+
textColor: string;
|
|
81
|
+
};
|
|
82
|
+
xLightWarm: {
|
|
83
|
+
dataBlackColor: string[];
|
|
84
|
+
dataWhiteColor: string[];
|
|
85
|
+
textColor: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
white: {
|
|
89
|
+
dataBlackColor: string[];
|
|
90
|
+
dataWhiteColor: string[];
|
|
91
|
+
textColor: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
dark: {
|
|
95
|
+
ui: {
|
|
96
|
+
gray: {
|
|
97
|
+
xxDark: {
|
|
98
|
+
dataHeadingColor: string[];
|
|
99
|
+
dataBodyColor: string[];
|
|
100
|
+
};
|
|
101
|
+
xDark: {
|
|
102
|
+
dataHeadingColor: string[];
|
|
103
|
+
dataBodyColor: string[];
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export declare const cssVars: {
|
|
110
|
+
brand: {
|
|
111
|
+
name: string;
|
|
112
|
+
dataBlackColor: string[];
|
|
113
|
+
dataWhiteColor: string[];
|
|
114
|
+
textColor: string;
|
|
115
|
+
}[];
|
|
116
|
+
blogs: {
|
|
117
|
+
colorSource: string;
|
|
118
|
+
name: string;
|
|
119
|
+
dataBlackColor: any[];
|
|
120
|
+
dataWhiteColor: any[];
|
|
121
|
+
textColor: string;
|
|
122
|
+
}[];
|
|
123
|
+
booksAndMore: {
|
|
124
|
+
colorSource: string;
|
|
125
|
+
name: string;
|
|
126
|
+
dataBlackColor: string[];
|
|
127
|
+
dataWhiteColor: string[];
|
|
128
|
+
textColor: string;
|
|
129
|
+
}[];
|
|
130
|
+
education: {
|
|
131
|
+
name: string;
|
|
132
|
+
dataBlackColor: string[];
|
|
133
|
+
dataWhiteColor: string[];
|
|
134
|
+
textColor: string;
|
|
135
|
+
}[];
|
|
136
|
+
locations: {
|
|
137
|
+
colorSource: string;
|
|
138
|
+
name: string;
|
|
139
|
+
dataBlackColor: string[];
|
|
140
|
+
dataWhiteColor: string[];
|
|
141
|
+
textColor: string;
|
|
142
|
+
}[];
|
|
143
|
+
research: {
|
|
144
|
+
name: string;
|
|
145
|
+
dataBlackColor: string[];
|
|
146
|
+
dataWhiteColor: string[];
|
|
147
|
+
textColor: string;
|
|
148
|
+
}[];
|
|
149
|
+
researchLibraries: ({
|
|
150
|
+
name: string;
|
|
151
|
+
dataBlackColor: string[];
|
|
152
|
+
dataWhiteColor: string[];
|
|
153
|
+
textColor: string;
|
|
154
|
+
colorSource?: undefined;
|
|
155
|
+
} | {
|
|
156
|
+
colorSource: string;
|
|
157
|
+
name: string;
|
|
158
|
+
dataBlackColor: string[];
|
|
159
|
+
dataWhiteColor: string[];
|
|
160
|
+
textColor: string;
|
|
161
|
+
})[];
|
|
162
|
+
whatsOn: ({
|
|
163
|
+
name: string;
|
|
164
|
+
dataBlackColor: string[];
|
|
165
|
+
dataWhiteColor: string[];
|
|
166
|
+
textColor: string;
|
|
167
|
+
colorSource?: undefined;
|
|
168
|
+
} | {
|
|
169
|
+
colorSource: string;
|
|
170
|
+
name: string;
|
|
171
|
+
dataBlackColor: string[];
|
|
172
|
+
dataWhiteColor: string[];
|
|
173
|
+
textColor: string;
|
|
174
|
+
})[];
|
|
175
|
+
ui: ({
|
|
176
|
+
colorSource: string;
|
|
177
|
+
name: string;
|
|
178
|
+
dataBlackColor: any[];
|
|
179
|
+
dataWhiteColor: any[];
|
|
180
|
+
textColor: string;
|
|
181
|
+
dataBgPageColor?: undefined;
|
|
182
|
+
dataBgDefaultColor?: undefined;
|
|
183
|
+
dataBrandPrimaryColor?: undefined;
|
|
184
|
+
dataBrandSecondaryColor?: undefined;
|
|
185
|
+
} | {
|
|
186
|
+
colorSource: string;
|
|
187
|
+
name: string;
|
|
188
|
+
dataBlackColor: any[];
|
|
189
|
+
dataWhiteColor: any[];
|
|
190
|
+
dataBgPageColor: string[];
|
|
191
|
+
dataBgDefaultColor: string[];
|
|
192
|
+
textColor: string;
|
|
193
|
+
dataBrandPrimaryColor?: undefined;
|
|
194
|
+
dataBrandSecondaryColor?: undefined;
|
|
195
|
+
} | {
|
|
196
|
+
name: string;
|
|
197
|
+
dataBlackColor: any[];
|
|
198
|
+
dataWhiteColor: any[];
|
|
199
|
+
dataBgPageColor: any[];
|
|
200
|
+
dataBgDefaultColor: any[];
|
|
201
|
+
textColor: string;
|
|
202
|
+
colorSource?: undefined;
|
|
203
|
+
dataBrandPrimaryColor?: undefined;
|
|
204
|
+
dataBrandSecondaryColor?: undefined;
|
|
205
|
+
} | {
|
|
206
|
+
colorSource: string;
|
|
207
|
+
name: string;
|
|
208
|
+
dataBlackColor: string[];
|
|
209
|
+
dataWhiteColor: string[];
|
|
210
|
+
dataBrandPrimaryColor: any[];
|
|
211
|
+
dataBrandSecondaryColor: any[];
|
|
212
|
+
dataBgPageColor: string[];
|
|
213
|
+
dataBgDefaultColor: any[];
|
|
214
|
+
textColor: string;
|
|
215
|
+
})[];
|
|
216
|
+
grayscaleRoot: {
|
|
217
|
+
name: string;
|
|
218
|
+
dataBlackColor: string[];
|
|
219
|
+
dataWhiteColor: string[];
|
|
220
|
+
textColor: string;
|
|
221
|
+
}[];
|
|
222
|
+
grayscaleCool: {
|
|
223
|
+
name: string;
|
|
224
|
+
dataBlackColor: any[];
|
|
225
|
+
dataWhiteColor: any[];
|
|
226
|
+
textColor: string;
|
|
227
|
+
}[];
|
|
228
|
+
grayscaleWarm: {
|
|
229
|
+
name: string;
|
|
230
|
+
dataBlackColor: string[];
|
|
231
|
+
dataWhiteColor: string[];
|
|
232
|
+
textColor: string;
|
|
233
|
+
}[];
|
|
234
|
+
dark: ({
|
|
235
|
+
colorSource: string;
|
|
236
|
+
name: string;
|
|
237
|
+
dataBlackColor: any[];
|
|
238
|
+
dataWhiteColor: any[];
|
|
239
|
+
dataHeadingColor: string[];
|
|
240
|
+
dataBodyColor: string[];
|
|
241
|
+
textColor: string;
|
|
242
|
+
dataDarkBgPageColor?: undefined;
|
|
243
|
+
dataDarkBgDefaultColor?: undefined;
|
|
244
|
+
dataBrandPrimaryColor?: undefined;
|
|
245
|
+
dataBrandSecondaryColor?: undefined;
|
|
246
|
+
} | {
|
|
247
|
+
colorSource: string;
|
|
248
|
+
name: string;
|
|
249
|
+
dataBlackColor: any[];
|
|
250
|
+
dataWhiteColor: any[];
|
|
251
|
+
dataDarkBgPageColor: any[];
|
|
252
|
+
dataDarkBgDefaultColor: any[];
|
|
253
|
+
textColor: string;
|
|
254
|
+
dataHeadingColor?: undefined;
|
|
255
|
+
dataBodyColor?: undefined;
|
|
256
|
+
dataBrandPrimaryColor?: undefined;
|
|
257
|
+
dataBrandSecondaryColor?: undefined;
|
|
258
|
+
} | {
|
|
259
|
+
name: string;
|
|
260
|
+
dataBlackColor: any[];
|
|
261
|
+
dataWhiteColor: any[];
|
|
262
|
+
dataDarkBgPageColor: any[];
|
|
263
|
+
dataDarkBgDefaultColor: any[];
|
|
264
|
+
textColor: string;
|
|
265
|
+
colorSource?: undefined;
|
|
266
|
+
dataHeadingColor?: undefined;
|
|
267
|
+
dataBodyColor?: undefined;
|
|
268
|
+
dataBrandPrimaryColor?: undefined;
|
|
269
|
+
dataBrandSecondaryColor?: undefined;
|
|
270
|
+
} | {
|
|
271
|
+
name: string;
|
|
272
|
+
dataDarkBgPageColor: string[];
|
|
273
|
+
dataDarkBgDefaultColor: string[];
|
|
274
|
+
dataBlackColor: string[];
|
|
275
|
+
dataWhiteColor: string[];
|
|
276
|
+
dataHeadingColor: string[];
|
|
277
|
+
dataBodyColor: string[];
|
|
278
|
+
textColor: string;
|
|
279
|
+
colorSource?: undefined;
|
|
280
|
+
dataBrandPrimaryColor?: undefined;
|
|
281
|
+
dataBrandSecondaryColor?: undefined;
|
|
282
|
+
} | {
|
|
283
|
+
colorSource: string;
|
|
284
|
+
name: string;
|
|
285
|
+
dataBlackColor: any[];
|
|
286
|
+
dataWhiteColor: any[];
|
|
287
|
+
dataBrandPrimaryColor: any[];
|
|
288
|
+
dataBrandSecondaryColor: any[];
|
|
289
|
+
dataDarkBgPageColor: any[];
|
|
290
|
+
dataDarkBgDefaultColor: any[];
|
|
291
|
+
textColor: string;
|
|
292
|
+
dataHeadingColor?: undefined;
|
|
293
|
+
dataBodyColor?: undefined;
|
|
294
|
+
})[];
|
|
295
|
+
};
|
|
296
|
+
export declare const makeColorCard: (data: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
297
|
+
export declare const getColorCards: (category: any) => any[];
|
|
298
|
+
export interface DataTableProps {
|
|
299
|
+
/** Contrast and WCAG compliance data related to the color ui.bg.page when
|
|
300
|
+
* used with the current color. */
|
|
301
|
+
dataBgPageColor: string[];
|
|
302
|
+
/** Contrast and WCAG compliance data related to the color ui.bg.default when
|
|
303
|
+
* used with the current color. */
|
|
304
|
+
dataBgDefaultColor: string[];
|
|
305
|
+
/** Contrast and WCAG compliance data related to the color dark.ui.bg.page when
|
|
306
|
+
* used with the current color. */
|
|
307
|
+
dataDarkBgPageColor: string[];
|
|
308
|
+
/** Contrast and WCAG compliance data related to the color dark.ui.bg.default when
|
|
309
|
+
* used with the current color. */
|
|
310
|
+
dataDarkBgDefaultColor: string[];
|
|
311
|
+
/** Contrast and WCAG compliance data related to the color black when used
|
|
312
|
+
* with the current color. */
|
|
313
|
+
dataBlackColor: string[];
|
|
314
|
+
/** Contrast and WCAG compliance data related to the NYPL Brand primary color
|
|
315
|
+
* when used with the current color. */
|
|
316
|
+
dataBrandPrimaryColor: string[];
|
|
317
|
+
/** Contrast and WCAG compliance data related to the default color for basic
|
|
318
|
+
* text elements when used with the current color. */
|
|
319
|
+
dataDarkBodyColor?: string[];
|
|
320
|
+
/** Contrast and WCAG compliance data related to the NYPL Brand secondary color
|
|
321
|
+
* when used with the current color. */
|
|
322
|
+
dataBrandSecondaryColor: string[];
|
|
323
|
+
/** Contrast and WCAG compliance data related to the default color for
|
|
324
|
+
* heading elements when used with the current color. */
|
|
325
|
+
dataDarkHeadingColor?: string[];
|
|
326
|
+
/** Contrast and WCAG compliance data related to the color white when used
|
|
327
|
+
* with the current color. */
|
|
328
|
+
dataWhiteColor: string[];
|
|
329
|
+
/** The color to use for text in the color card. */
|
|
330
|
+
textColor: string;
|
|
331
|
+
}
|
|
332
|
+
export interface ColorCardProps extends DataTableProps {
|
|
333
|
+
/** The backgroundColor of the color card. */
|
|
334
|
+
backgroundColor: string;
|
|
335
|
+
/** The name of a color's javascript theme object. */
|
|
336
|
+
colorName: string;
|
|
337
|
+
/** The name of the color that the current color is based on. */
|
|
338
|
+
colorSource: string;
|
|
339
|
+
}
|
|
340
|
+
export declare const DataTable: (props: React.PropsWithChildren<DataTableProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
341
|
+
export declare const ColorCard: (props: React.PropsWithChildren<ColorCardProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
342
|
+
export default ColorCard;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TextSizes } from "../Text/Text";
|
|
3
|
-
export interface StyledListProps {
|
|
4
|
-
/** Any child node passed to the component. */
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
/** A class name for the StyledList parent div. */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** ID that other components can cross reference for accessibility purposes. */
|
|
9
|
-
id?: string;
|
|
10
|
-
/** Data to render if `li` children elements are not passed. It must be an
|
|
11
|
-
* array of strings or JSX elements. */
|
|
12
|
-
listItems?: (string | JSX.Element)[];
|
|
13
|
-
/** The style used to render the StyledList component. For its initial release,
|
|
14
|
-
* there is only one variant style which is the default, "capped". */
|
|
15
|
-
style?: "capped";
|
|
16
|
-
/** The font size of the `li` elements. */
|
|
17
|
-
textSize?: TextSizes;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* The `StyledList` component renders an HTML list with styles that do not
|
|
21
|
-
* adhere to traditional numbered and bulleted list styles. Unlike
|
|
22
|
-
* the `List` component, `StyledList` only renders an unordered list.
|
|
23
|
-
*/
|
|
24
|
-
export declare const StyledList: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<StyledListProps & React.RefAttributes<HTMLDivElement & HTMLUListElement>>, {}>;
|
|
25
|
-
export default StyledList;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TextSizes } from "../Text/Text";
|
|
3
|
+
export interface StyledListProps {
|
|
4
|
+
/** Any child node passed to the component. */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** A class name for the StyledList parent div. */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** ID that other components can cross reference for accessibility purposes. */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Data to render if `li` children elements are not passed. It must be an
|
|
11
|
+
* array of strings or JSX elements. */
|
|
12
|
+
listItems?: (string | JSX.Element)[];
|
|
13
|
+
/** The style used to render the StyledList component. For its initial release,
|
|
14
|
+
* there is only one variant style which is the default, "capped". */
|
|
15
|
+
style?: "capped";
|
|
16
|
+
/** The font size of the `li` elements. */
|
|
17
|
+
textSize?: TextSizes;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The `StyledList` component renders an HTML list with styles that do not
|
|
21
|
+
* adhere to traditional numbered and bulleted list styles. Unlike
|
|
22
|
+
* the `List` component, `StyledList` only renders an unordered list.
|
|
23
|
+
*/
|
|
24
|
+
export declare const StyledList: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<StyledListProps & React.RefAttributes<HTMLDivElement & HTMLUListElement>>, {}>;
|
|
25
|
+
export default StyledList;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface TableProps {
|
|
3
|
-
/** Additional class name for the `Table` component. */
|
|
4
|
-
className?: string;
|
|
5
|
-
/** Array of string values used to populate the `Table` column headers.
|
|
6
|
-
* For improved accessibility, column headers are required. */
|
|
7
|
-
columnHeaders: string[];
|
|
8
|
-
/** Hex value to set the background color of the column headers. */
|
|
9
|
-
columnHeadersBackgroundColor?: string;
|
|
10
|
-
/** Hex value to set the text color of the column headers. */
|
|
11
|
-
columnHeadersTextColor?: string;
|
|
12
|
-
/** ID that other components can cross reference for accessibility purposes. */
|
|
13
|
-
id?: string;
|
|
14
|
-
/** If true, a border will be displayed between each row in the `Table`
|
|
15
|
-
* component. The default value is false. */
|
|
16
|
-
showRowDividers?: boolean;
|
|
17
|
-
/** Two-dimensional array used to populate the table rows. */
|
|
18
|
-
tableData: (string | JSX.Element)[][];
|
|
19
|
-
/** Displays `Table` title element. */
|
|
20
|
-
titleText?: string;
|
|
21
|
-
/** If true, the first cell of each row in the `Table` component will be
|
|
22
|
-
* visually styled as a header. The default value is false */
|
|
23
|
-
useRowHeaders?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Basic `Table` component used to organize and display tabular data in
|
|
27
|
-
* rows and columns.
|
|
28
|
-
*/
|
|
29
|
-
export declare const Table: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<TableProps & {
|
|
30
|
-
children?: React.ReactNode;
|
|
31
|
-
} & React.RefAttributes<HTMLTableElement>>, {}>;
|
|
32
|
-
export default Table;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface TableProps {
|
|
3
|
+
/** Additional class name for the `Table` component. */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Array of string values used to populate the `Table` column headers.
|
|
6
|
+
* For improved accessibility, column headers are required. */
|
|
7
|
+
columnHeaders: string[];
|
|
8
|
+
/** Hex value to set the background color of the column headers. */
|
|
9
|
+
columnHeadersBackgroundColor?: string;
|
|
10
|
+
/** Hex value to set the text color of the column headers. */
|
|
11
|
+
columnHeadersTextColor?: string;
|
|
12
|
+
/** ID that other components can cross reference for accessibility purposes. */
|
|
13
|
+
id?: string;
|
|
14
|
+
/** If true, a border will be displayed between each row in the `Table`
|
|
15
|
+
* component. The default value is false. */
|
|
16
|
+
showRowDividers?: boolean;
|
|
17
|
+
/** Two-dimensional array used to populate the table rows. */
|
|
18
|
+
tableData: (string | JSX.Element)[][];
|
|
19
|
+
/** Displays `Table` title element. */
|
|
20
|
+
titleText?: string;
|
|
21
|
+
/** If true, the first cell of each row in the `Table` component will be
|
|
22
|
+
* visually styled as a header. The default value is false */
|
|
23
|
+
useRowHeaders?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Basic `Table` component used to organize and display tabular data in
|
|
27
|
+
* rows and columns.
|
|
28
|
+
*/
|
|
29
|
+
export declare const Table: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<TableProps & {
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
} & React.RefAttributes<HTMLTableElement>>, {}>;
|
|
32
|
+
export default Table;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Tab, TabList, TabPanels, TabPanel } from "@chakra-ui/react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
export interface TabsDataProps {
|
|
4
|
-
label: string;
|
|
5
|
-
content: string | React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export interface TabsProps {
|
|
8
|
-
/** The index of the tab to display for controlled situations. */
|
|
9
|
-
defaultIndex?: number;
|
|
10
|
-
/** ID that other components can cross reference for accessibility purposes */
|
|
11
|
-
id?: string;
|
|
12
|
-
/** The callback function invoked on every tab change event. */
|
|
13
|
-
onChange?: (index: number) => any;
|
|
14
|
-
/** Array of data to display */
|
|
15
|
-
tabsData?: TabsDataProps[];
|
|
16
|
-
/** Render a hash in the url for each tab. Only available when data is
|
|
17
|
-
* passed through the `data` props. */
|
|
18
|
-
useHash?: boolean;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Renders Chakra's `Tab` component with specific variants, props,
|
|
22
|
-
* and controlled styling.
|
|
23
|
-
*/
|
|
24
|
-
export declare const Tabs: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<TabsProps & {
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
} & React.RefAttributes<HTMLDivElement>>, {}>;
|
|
27
|
-
export { TabList, Tab, TabPanels, TabPanel };
|
|
28
|
-
export default Tabs;
|
|
1
|
+
import { Tab, TabList, TabPanels, TabPanel } from "@chakra-ui/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface TabsDataProps {
|
|
4
|
+
label: string;
|
|
5
|
+
content: string | React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface TabsProps {
|
|
8
|
+
/** The index of the tab to display for controlled situations. */
|
|
9
|
+
defaultIndex?: number;
|
|
10
|
+
/** ID that other components can cross reference for accessibility purposes */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** The callback function invoked on every tab change event. */
|
|
13
|
+
onChange?: (index: number) => any;
|
|
14
|
+
/** Array of data to display */
|
|
15
|
+
tabsData?: TabsDataProps[];
|
|
16
|
+
/** Render a hash in the url for each tab. Only available when data is
|
|
17
|
+
* passed through the `data` props. */
|
|
18
|
+
useHash?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders Chakra's `Tab` component with specific variants, props,
|
|
22
|
+
* and controlled styling.
|
|
23
|
+
*/
|
|
24
|
+
export declare const Tabs: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<TabsProps & {
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
} & React.RefAttributes<HTMLDivElement>>, {}>;
|
|
27
|
+
export { TabList, Tab, TabPanels, TabPanel };
|
|
28
|
+
export default Tabs;
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TagSetExploreProps } from "./TagSetExplore";
|
|
3
|
-
import { TagSetFilterProps } from "./TagSetFilter";
|
|
4
|
-
export interface BaseTagSetProps {
|
|
5
|
-
/** Additional class for the component. */
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export declare function isFilterType(type: TagSetProps["type"]): type is "filter";
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* The
|
|
21
|
-
*
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
* The width of a single tag will never be greater than 200px. If necessary, a
|
|
27
|
-
* tag’s label text will be truncated to keep a tag’s width at or below 200px.
|
|
28
|
-
* The full label text will be automatically revealed when the tag is hovered
|
|
29
|
-
* with a DS `Tooltip` component.
|
|
30
|
-
*/
|
|
31
|
-
export declare const TagSet: import("@chakra-ui/react").ChakraComponent<React.ElementType<TagSetProps>, TagSetProps>;
|
|
32
|
-
export default TagSet;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TagSetExploreProps } from "./TagSetExplore";
|
|
3
|
+
import { TagSetFilterProps } from "./TagSetFilter";
|
|
4
|
+
export interface BaseTagSetProps {
|
|
5
|
+
/** Additional class for the component. */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export type TagSetTypeProps = TagSetFilterProps | TagSetExploreProps;
|
|
9
|
+
export type TagSetProps = BaseTagSetProps & TagSetTypeProps;
|
|
10
|
+
export declare function isFilterType(type: TagSetProps["type"]): type is "filter";
|
|
11
|
+
/**
|
|
12
|
+
* The `TagSet` component renders a group of individual tags which have two
|
|
13
|
+
* variants: "explore" and "filter". The "explore" tags are meant to be used for
|
|
14
|
+
* exploratory linkable elements, whereas the "filter" tags are used to display
|
|
15
|
+
* the filter values that were selected through another UI. Only "filter" tags
|
|
16
|
+
* can be dismissible.
|
|
17
|
+
*
|
|
18
|
+
* The width of a single tag will never be greater than 200px. If necessary, a
|
|
19
|
+
* tag’s label text will be truncated to keep a tag’s width at or below 200px.
|
|
20
|
+
* The full label text will be automatically revealed when the tag is hovered
|
|
21
|
+
* with a DS `Tooltip` component.
|
|
22
|
+
*/
|
|
23
|
+
export declare const TagSet: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<TagSetProps & React.RefAttributes<HTMLDivElement>>, {}>;
|
|
24
|
+
export default TagSet;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconNames } from "../Icons/Icon";
|
|
3
|
-
export interface TagSetExploreDataProps {
|
|
4
|
-
/** The name of the SVG `Icon` to render before the tag label. */
|
|
5
|
-
iconName?: IconNames;
|
|
6
|
-
/** The content to display; should be a link-type component. */
|
|
7
|
-
label: JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export interface TagSetExploreProps {
|
|
10
|
-
/** ID that other components can cross reference for accessibility purposes. */
|
|
11
|
-
id?: string;
|
|
12
|
-
/** Whether the tags should be removable. */
|
|
13
|
-
isDismissible?: never;
|
|
14
|
-
/** The function to perform when a tag is clicked when `isDismissible` is
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* The `
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconNames } from "../Icons/Icon";
|
|
3
|
+
export interface TagSetExploreDataProps {
|
|
4
|
+
/** The name of the SVG `Icon` to render before the tag label. */
|
|
5
|
+
iconName?: IconNames;
|
|
6
|
+
/** The content to display; should be a link-type component. */
|
|
7
|
+
label: JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
export interface TagSetExploreProps {
|
|
10
|
+
/** ID that other components can cross reference for accessibility purposes. */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** Whether the tags should be removable. This prop is not used in the "explore" variant. */
|
|
13
|
+
isDismissible?: never;
|
|
14
|
+
/** The function to perform when a tag is clicked when `isDismissible` is
|
|
15
|
+
* true. This prop is not used in the "explore" variant.*/
|
|
16
|
+
onClick?: never;
|
|
17
|
+
/** The array of data to display as tags. */
|
|
18
|
+
tagSetData: TagSetExploreDataProps[];
|
|
19
|
+
/** The `TagSet` variant to render; "filter" by default. */
|
|
20
|
+
type: "explore";
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The "explore" `TagSet` variant will always display the tags passed as data.
|
|
24
|
+
* The `label` property in the `tagSetData` prop should be set to a link-type
|
|
25
|
+
* JSX component for linking to specific content.
|
|
26
|
+
*/
|
|
27
|
+
export declare const TagSetExplore: import("@chakra-ui/react").ChakraComponent<(props: TagSetExploreProps) => import("@emotion/react/jsx-runtime").JSX.Element, {}>;
|
|
28
|
+
export default TagSetExplore;
|