@nypl/design-system-react-components 2.0.0 → 2.1.0-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/README.md +466 -17
- package/dist/design-system-react-components.cjs +528 -0
- package/dist/design-system-react-components.js +37957 -0
- package/dist/src/components/Accordion/Accordion.d.ts +29 -0
- package/dist/src/components/AlphabetFilter/AlphabetFilter.d.ts +23 -0
- package/dist/src/components/AudioPlayer/AudioPlayer.d.ts +43 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +24 -0
- package/dist/src/components/Button/Button.d.ts +35 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +25 -0
- package/dist/src/components/Card/Card.d.ts +55 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +47 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +51 -0
- package/dist/src/components/ComponentWrapper/ComponentWrapper.d.ts +31 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +82 -0
- package/dist/src/components/FeaturedContent/FeaturedContent.d.ts +29 -0
- package/dist/src/components/FeedbackBox/FeedbackBox.d.ts +64 -0
- package/dist/src/components/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -0
- package/dist/src/components/Fieldset/Fieldset.d.ts +24 -0
- package/dist/src/components/Form/Form.d.ts +31 -0
- package/dist/src/components/Grid/SimpleGrid.d.ts +20 -0
- package/dist/src/components/Heading/Heading.d.ts +42 -0
- package/dist/src/components/HelperErrorText/HelperErrorText.d.ts +34 -0
- package/dist/src/components/Hero/Hero.d.ts +49 -0
- package/dist/src/components/HorizontalRule/HorizontalRule.d.ts +11 -0
- package/dist/src/components/Icons/Icon.d.ts +41 -0
- package/dist/src/components/Icons/IconSvgs.d.ts +196 -0
- package/dist/src/components/Icons/iconVariables.d.ts +6 -0
- package/dist/src/components/Image/Image.d.ts +68 -0
- package/dist/src/components/Label/Label.d.ts +25 -0
- package/dist/src/components/Link/Link.d.ts +32 -0
- package/dist/src/components/List/List.d.ts +43 -0
- package/dist/src/components/Logo/Logo.d.ts +29 -0
- package/dist/src/components/Logo/LogoSvgs.d.ts +166 -0
- package/dist/src/components/Logo/logoVariables.d.ts +2 -0
- package/dist/src/components/Modal/Modal.d.ts +35 -0
- package/dist/src/components/NewsletterSignup/NewsletterSignup.d.ts +46 -0
- package/dist/src/components/Notification/Notification.d.ts +52 -0
- package/dist/src/components/Pagination/Pagination.d.ts +27 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +32 -0
- package/dist/src/components/Radio/Radio.d.ts +43 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +51 -0
- package/dist/src/components/SearchBar/SearchBar.d.ts +58 -0
- package/dist/src/components/Select/Select.d.ts +59 -0
- package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
- package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +19 -0
- package/dist/src/components/Slider/Slider.d.ts +65 -0
- package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +42 -0
- package/dist/src/components/SocialMediaLinks/SocialMediaLinksUtils.d.ts +7 -0
- package/dist/src/components/StatusBadge/StatusBadge.d.ts +19 -0
- package/dist/src/components/StructuredContent/StructuredContent.d.ts +30 -0
- package/dist/src/components/StyleGuide/ColorCard.d.ts +348 -0
- package/dist/src/components/StyledList/StyledList.d.ts +26 -0
- package/dist/src/components/Table/Table.d.ts +32 -0
- package/dist/src/components/Tabs/Tabs.d.ts +28 -0
- package/dist/src/components/TagSet/TagSet.d.ts +24 -0
- package/dist/src/components/TagSet/TagSetExplore.d.ts +28 -0
- package/dist/src/components/TagSet/TagSetFilter.d.ts +25 -0
- package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
- package/dist/src/components/Template/Template.d.ts +140 -0
- package/dist/src/components/Text/Text.d.ts +27 -0
- package/dist/src/components/TextInput/TextInput.d.ts +92 -0
- package/dist/src/components/Toggle/Toggle.d.ts +43 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +17 -0
- package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +42 -0
- package/dist/src/helpers/getSectionColors.d.ts +8 -0
- package/dist/src/helpers/types.d.ts +50 -0
- package/dist/src/hooks/useCarouselStyles.d.ts +17 -0
- package/dist/src/hooks/useCloseDropDown.d.ts +7 -0
- package/dist/src/hooks/useNYPLBreakpoints.d.ts +13 -0
- package/dist/src/hooks/useNYPLTheme.d.ts +75 -0
- package/dist/src/hooks/useStateWithDependencies.d.ts +8 -0
- package/dist/src/hooks/useWindowSize.d.ts +10 -0
- package/dist/src/index.d.ts +87 -0
- package/dist/src/theme/components/accordion.d.ts +34 -0
- package/dist/src/theme/components/alphabetFilter.d.ts +40 -0
- package/dist/src/theme/components/audioPlayer.d.ts +16 -0
- package/dist/src/theme/components/breadcrumb.d.ts +158 -0
- package/dist/src/theme/components/button.d.ts +152 -0
- package/dist/src/theme/components/buttonGroup.d.ts +11 -0
- package/dist/src/theme/components/card.d.ts +485 -0
- package/dist/src/theme/components/checkbox.d.ts +178 -0
- package/dist/src/theme/components/checkboxGroup.d.ts +14 -0
- package/dist/src/theme/components/componentWrapper.d.ts +12 -0
- package/dist/src/theme/components/customTable.d.ts +739 -0
- package/dist/src/theme/components/datePicker.d.ts +17 -0
- package/dist/src/theme/components/featuredContent.d.ts +70 -0
- package/dist/src/theme/components/feedbackBox.d.ts +100 -0
- package/dist/src/theme/components/fieldset.d.ts +24 -0
- package/dist/src/theme/components/filterBar.d.ts +46 -0
- package/dist/src/theme/components/global.d.ts +141 -0
- package/dist/src/theme/components/globalMixins.d.ts +40 -0
- package/dist/src/theme/components/heading.d.ts +372 -0
- package/dist/src/theme/components/helperErrorText.d.ts +18 -0
- package/dist/src/theme/components/hero.d.ts +639 -0
- package/dist/src/theme/components/horizontalRule.d.ts +18 -0
- package/dist/src/theme/components/icon.d.ts +62251 -0
- package/dist/src/theme/components/image.d.ts +754 -0
- package/dist/src/theme/components/label.d.ts +22 -0
- package/dist/src/theme/components/link.d.ts +152 -0
- package/dist/src/theme/components/list.d.ts +230 -0
- package/dist/src/theme/components/logo.d.ts +477 -0
- package/dist/src/theme/components/modal.d.ts +27 -0
- package/dist/src/theme/components/multiSelect.d.ts +29 -0
- package/dist/src/theme/components/multiSelectMenuButton.d.ts +99 -0
- package/dist/src/theme/components/newsletterSignup.d.ts +93 -0
- package/dist/src/theme/components/notification.d.ts +137 -0
- package/dist/src/theme/components/pagination.d.ts +19 -0
- package/dist/src/theme/components/progressIndicator.d.ts +69 -0
- package/dist/src/theme/components/radio.d.ts +202 -0
- package/dist/src/theme/components/radioGroup.d.ts +14 -0
- package/dist/src/theme/components/searchBar.d.ts +34 -0
- package/dist/src/theme/components/select.d.ts +126 -0
- package/dist/src/theme/components/skeletonLoader.d.ts +105 -0
- package/dist/src/theme/components/skipNavigation.d.ts +28 -0
- package/dist/src/theme/components/slider.d.ts +78 -0
- package/dist/src/theme/components/socialmedialinks.d.ts +192 -0
- package/dist/src/theme/components/statusBadge.d.ts +37 -0
- package/dist/src/theme/components/structuredContent.d.ts +454 -0
- package/dist/src/theme/components/styledList.d.ts +51 -0
- package/dist/src/theme/components/tabs.d.ts +172 -0
- package/dist/src/theme/components/tagSet.d.ts +154 -0
- package/dist/src/theme/components/template.d.ts +98 -0
- package/dist/src/theme/components/text.d.ts +59 -0
- package/dist/src/theme/components/textInput.d.ts +360 -0
- package/dist/src/theme/components/toggle.d.ts +129 -0
- package/dist/src/theme/components/tooltip.d.ts +21 -0
- package/dist/src/theme/components/videoPlayer.d.ts +47 -0
- package/dist/src/theme/foundations/breakpoints.d.ts +23 -0
- package/dist/src/theme/foundations/colors.d.ts +3 -0
- package/dist/src/theme/foundations/global.d.ts +68 -0
- package/dist/src/theme/foundations/radii.d.ts +11 -0
- package/dist/src/theme/foundations/shadows.d.ts +4 -0
- package/dist/src/theme/foundations/spacing.d.ts +96 -0
- package/dist/src/theme/foundations/typography.d.ts +8 -0
- package/dist/src/theme/index.d.ts +20 -0
- package/dist/src/theme/internalChakraProvider.d.ts +67 -0
- package/dist/src/theme/provider.d.ts +4 -0
- package/dist/src/theme/types.d.ts +1 -0
- package/dist/src/utils/colorUtils.d.ts +5 -0
- package/dist/src/utils/interfaces.d.ts +5 -0
- package/dist/src/utils/utils.d.ts +42 -0
- package/dist/styles.css +1 -0
- package/package.json +132 -24
- package/CHANGELOG.md +0 -139
- package/dist/design-system-react-components.min.js +0 -23
- package/dist/design-system-react-components.min.js.map +0 -1
- package/lib/components/00-base/Container/Container.d.ts +0 -6
- package/lib/components/00-base/Container/Container.js +0 -19
- package/lib/components/00-base/Container/Modal.d.ts +0 -12
- package/lib/components/00-base/Container/Modal.js +0 -29
- package/lib/components/00-base/Container/Modal.stories.d.ts +0 -7
- package/lib/components/00-base/Container/Modal.stories.js +0 -20
- package/lib/components/00-base/Placeholder.d.ts +0 -10
- package/lib/components/00-base/Placeholder.js +0 -23
- package/lib/components/00-base/SectionName.d.ts +0 -4
- package/lib/components/00-base/SectionName.js +0 -16
- package/lib/components/01-atoms/Button/Button.d.ts +0 -52
- package/lib/components/01-atoms/Button/Button.js +0 -76
- package/lib/components/01-atoms/Button/Button.stories.d.ts +0 -14
- package/lib/components/01-atoms/Button/Button.stories.js +0 -33
- package/lib/components/01-atoms/Button/ButtonTypes.d.ts +0 -10
- package/lib/components/01-atoms/Button/ButtonTypes.js +0 -14
- package/lib/components/01-atoms/Forms/Checkbox.d.ts +0 -21
- package/lib/components/01-atoms/Forms/Checkbox.js +0 -27
- package/lib/components/01-atoms/Forms/Checkbox.stories.d.ts +0 -7
- package/lib/components/01-atoms/Forms/Checkbox.stories.js +0 -23
- package/lib/components/01-atoms/Forms/DateRangeForm.d.ts +0 -31
- package/lib/components/01-atoms/Forms/DateRangeForm.js +0 -27
- package/lib/components/01-atoms/Forms/DateRangeForm.stories.d.ts +0 -9
- package/lib/components/01-atoms/Forms/DateRangeForm.stories.js +0 -23
- package/lib/components/01-atoms/Forms/FormDropdown.d.ts +0 -22
- package/lib/components/01-atoms/Forms/FormDropdown.js +0 -64
- package/lib/components/01-atoms/Forms/FormDropdown.stories.d.ts +0 -8
- package/lib/components/01-atoms/Forms/FormDropdown.stories.js +0 -22
- package/lib/components/01-atoms/Forms/HelperErrorText.d.ts +0 -26
- package/lib/components/01-atoms/Forms/HelperErrorText.js +0 -29
- package/lib/components/01-atoms/Forms/HelperErrorText.stories.d.ts +0 -9
- package/lib/components/01-atoms/Forms/HelperErrorText.stories.js +0 -23
- package/lib/components/01-atoms/Forms/Input.d.ts +0 -47
- package/lib/components/01-atoms/Forms/Input.js +0 -39
- package/lib/components/01-atoms/Forms/Input.stories.d.ts +0 -10
- package/lib/components/01-atoms/Forms/Input.stories.js +0 -22
- package/lib/components/01-atoms/Forms/Label.d.ts +0 -19
- package/lib/components/01-atoms/Forms/Label.js +0 -22
- package/lib/components/01-atoms/Forms/Label.stories.d.ts +0 -7
- package/lib/components/01-atoms/Forms/Label.stories.js +0 -20
- package/lib/components/01-atoms/Forms/TextField.d.ts +0 -26
- package/lib/components/01-atoms/Forms/TextField.js +0 -36
- package/lib/components/01-atoms/Forms/TextField.stories.d.ts +0 -7
- package/lib/components/01-atoms/Forms/TextField.stories.js +0 -20
- package/lib/components/01-atoms/Images/Icons/Icon.d.ts +0 -14
- package/lib/components/01-atoms/Images/Icons/Icon.js +0 -38
- package/lib/components/01-atoms/Images/Image/Image.d.ts +0 -8
- package/lib/components/01-atoms/Images/Image/Image.js +0 -32
- package/lib/components/01-atoms/Images/Image/Image.stories.d.ts +0 -8
- package/lib/components/01-atoms/Images/Image/Image.stories.js +0 -24
- package/lib/components/01-atoms/Links/BasicLink.d.ts +0 -15
- package/lib/components/01-atoms/Links/BasicLink.js +0 -50
- package/lib/components/01-atoms/Links/BasicLink.stories.d.ts +0 -8
- package/lib/components/01-atoms/Links/BasicLink.stories.js +0 -21
- package/lib/components/01-atoms/Links/IconLink.d.ts +0 -13
- package/lib/components/01-atoms/Links/IconLink.js +0 -44
- package/lib/components/01-atoms/Links/IconLink.stories.d.ts +0 -10
- package/lib/components/01-atoms/Links/IconLink.stories.js +0 -24
- package/lib/components/01-atoms/Links/Link.d.ts +0 -13
- package/lib/components/01-atoms/Links/Link.js +0 -51
- package/lib/components/01-atoms/Links/UnderlineLink.d.ts +0 -11
- package/lib/components/01-atoms/Links/UnderlineLink.js +0 -29
- package/lib/components/01-atoms/Links/UnderlineLink.stories.d.ts +0 -8
- package/lib/components/01-atoms/Links/UnderlineLink.stories.js +0 -21
- package/lib/components/01-atoms/Text/Headings/Heading.d.ts +0 -16
- package/lib/components/01-atoms/Text/Headings/Heading.js +0 -40
- package/lib/components/01-atoms/Text/Headings/Heading.stories.d.ts +0 -12
- package/lib/components/01-atoms/Text/Headings/Heading.stories.js +0 -35
- package/lib/components/01-atoms/Text/Headings/RNSectionTitle.d.ts +0 -2
- package/lib/components/01-atoms/Text/Headings/RNSectionTitle.js +0 -18
- package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.d.ts +0 -7
- package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.js +0 -24
- package/lib/components/01-atoms/Text/Text/BodyText.d.ts +0 -12
- package/lib/components/01-atoms/Text/Text/BodyText.js +0 -73
- package/lib/components/01-atoms/Text/Text/BodyText.stories.d.ts +0 -14
- package/lib/components/01-atoms/Text/Text/BodyText.stories.js +0 -54
- package/lib/components/02-molecules/Cards/EditionCard.d.ts +0 -31
- package/lib/components/02-molecules/Cards/EditionCard.js +0 -51
- package/lib/components/02-molecules/Cards/EditionCard.stories.d.ts +0 -13
- package/lib/components/02-molecules/Cards/EditionCard.stories.js +0 -26
- package/lib/components/02-molecules/Cards/SearchResultItem.d.ts +0 -17
- package/lib/components/02-molecules/Cards/SearchResultItem.js +0 -40
- package/lib/components/02-molecules/Cards/SearchResultItem.stories.d.ts +0 -8
- package/lib/components/02-molecules/Cards/SearchResultItem.stories.js +0 -31
- package/lib/components/02-molecules/Dropdown/Dropdown.d.ts +0 -21
- package/lib/components/02-molecules/Dropdown/Dropdown.js +0 -55
- package/lib/components/02-molecules/Dropdown/Dropdown.stories.d.ts +0 -14
- package/lib/components/02-molecules/Dropdown/Dropdown.stories.js +0 -33
- package/lib/components/02-molecules/Headings/SectionTitle.d.ts +0 -17
- package/lib/components/02-molecules/Headings/SectionTitle.js +0 -42
- package/lib/components/02-molecules/Headings/SectionTitle.stories.d.ts +0 -8
- package/lib/components/02-molecules/Headings/SectionTitle.stories.js +0 -20
- package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.d.ts +0 -14
- package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.js +0 -51
- package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -8
- package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.js +0 -30
- package/lib/components/02-molecules/Menus/Pagination/Pagination.d.ts +0 -11
- package/lib/components/02-molecules/Menus/Pagination/Pagination.js +0 -57
- package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.d.ts +0 -7
- package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.js +0 -20
- package/lib/components/02-molecules/SearchBar/SearchBar.d.ts +0 -26
- package/lib/components/02-molecules/SearchBar/SearchBar.js +0 -69
- package/lib/components/02-molecules/SearchBar/SearchBar.stories.d.ts +0 -11
- package/lib/components/02-molecules/SearchBar/SearchBar.stories.js +0 -24
- package/lib/components/03-organisms/Accordion/Accordion.d.ts +0 -19
- package/lib/components/03-organisms/Accordion/Accordion.js +0 -41
- package/lib/components/03-organisms/Accordion/Accordion.stories.d.ts +0 -7
- package/lib/components/03-organisms/Accordion/Accordion.stories.js +0 -30
- package/lib/components/03-organisms/Headers/HeaderImgRight.d.ts +0 -12
- package/lib/components/03-organisms/Headers/HeaderImgRight.js +0 -32
- package/lib/components/03-organisms/Headers/HeaderImgRight.stories.d.ts +0 -7
- package/lib/components/03-organisms/Headers/HeaderImgRight.stories.js +0 -19
- package/lib/components/03-organisms/Headers/RNHeaderWithSearch.d.ts +0 -19
- package/lib/components/03-organisms/Headers/RNHeaderWithSearch.js +0 -27
- package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.d.ts +0 -7
- package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.js +0 -26
- package/lib/components/03-organisms/Hero/Hero.d.ts +0 -31
- package/lib/components/03-organisms/Hero/Hero.js +0 -62
- package/lib/components/03-organisms/Hero/Hero.stories.d.ts +0 -11
- package/lib/components/03-organisms/Hero/Hero.stories.js +0 -35
- package/lib/components/03-organisms/Hero/HeroTypes.d.ts +0 -6
- package/lib/components/03-organisms/Hero/HeroTypes.js +0 -9
- package/lib/components/03-organisms/List/UnorderedList.d.ts +0 -18
- package/lib/components/03-organisms/List/UnorderedList.js +0 -28
- package/lib/components/03-organisms/List/UnorderedList.stories.d.ts +0 -11
- package/lib/components/03-organisms/List/UnorderedList.stories.js +0 -73
- package/lib/components/03-organisms/SearchPromo/SearchPromo.d.ts +0 -22
- package/lib/components/03-organisms/SearchPromo/SearchPromo.js +0 -30
- package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.d.ts +0 -8
- package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.js +0 -28
- package/lib/helpers/hoc/WithOneChild.d.ts +0 -8
- package/lib/helpers/hoc/WithOneChild.js +0 -63
- package/lib/index.d.ts +0 -24
- package/lib/index.js +0 -51
- package/lib/utils/bem.d.ts +0 -1
- package/lib/utils/bem.js +0 -35
- package/tsd.d.ts +0 -4
- package/webpack.prod.js +0 -38
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
interface LogoBaseStyle {
|
|
2
|
+
size: keyof typeof size;
|
|
3
|
+
}
|
|
4
|
+
declare const size: {
|
|
5
|
+
default: {
|
|
6
|
+
maxWidth: string;
|
|
7
|
+
};
|
|
8
|
+
xxsmall: {
|
|
9
|
+
maxWidth: string;
|
|
10
|
+
};
|
|
11
|
+
xsmall: {
|
|
12
|
+
maxWidth: string;
|
|
13
|
+
};
|
|
14
|
+
small: {
|
|
15
|
+
maxWidth: string;
|
|
16
|
+
};
|
|
17
|
+
medium: {
|
|
18
|
+
maxWidth: string;
|
|
19
|
+
};
|
|
20
|
+
large: {
|
|
21
|
+
maxWidth: string;
|
|
22
|
+
};
|
|
23
|
+
xlarge: {
|
|
24
|
+
maxWidth: string;
|
|
25
|
+
};
|
|
26
|
+
xxlarge: {
|
|
27
|
+
height: string;
|
|
28
|
+
width: string;
|
|
29
|
+
};
|
|
30
|
+
xxxlarge: {
|
|
31
|
+
height: string;
|
|
32
|
+
width: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
declare const Logo: {
|
|
36
|
+
baseStyle: (props: LogoBaseStyle) => {
|
|
37
|
+
svg: {
|
|
38
|
+
maxWidth: string;
|
|
39
|
+
display: string;
|
|
40
|
+
height: string;
|
|
41
|
+
width: string;
|
|
42
|
+
} | {
|
|
43
|
+
maxWidth: string;
|
|
44
|
+
display: string;
|
|
45
|
+
height: string;
|
|
46
|
+
width: string;
|
|
47
|
+
} | {
|
|
48
|
+
maxWidth: string;
|
|
49
|
+
display: string;
|
|
50
|
+
height: string;
|
|
51
|
+
width: string;
|
|
52
|
+
} | {
|
|
53
|
+
maxWidth: string;
|
|
54
|
+
display: string;
|
|
55
|
+
height: string;
|
|
56
|
+
width: string;
|
|
57
|
+
} | {
|
|
58
|
+
maxWidth: string;
|
|
59
|
+
display: string;
|
|
60
|
+
height: string;
|
|
61
|
+
width: string;
|
|
62
|
+
} | {
|
|
63
|
+
maxWidth: string;
|
|
64
|
+
display: string;
|
|
65
|
+
height: string;
|
|
66
|
+
width: string;
|
|
67
|
+
} | {
|
|
68
|
+
maxWidth: string;
|
|
69
|
+
display: string;
|
|
70
|
+
height: string;
|
|
71
|
+
width: string;
|
|
72
|
+
} | {
|
|
73
|
+
height: string;
|
|
74
|
+
width: string;
|
|
75
|
+
display: string;
|
|
76
|
+
} | {
|
|
77
|
+
height: string;
|
|
78
|
+
width: string;
|
|
79
|
+
display: string;
|
|
80
|
+
};
|
|
81
|
+
maxWidth: string;
|
|
82
|
+
display: string;
|
|
83
|
+
height: string;
|
|
84
|
+
width: string;
|
|
85
|
+
} | {
|
|
86
|
+
svg: {
|
|
87
|
+
maxWidth: string;
|
|
88
|
+
display: string;
|
|
89
|
+
height: string;
|
|
90
|
+
width: string;
|
|
91
|
+
} | {
|
|
92
|
+
maxWidth: string;
|
|
93
|
+
display: string;
|
|
94
|
+
height: string;
|
|
95
|
+
width: string;
|
|
96
|
+
} | {
|
|
97
|
+
maxWidth: string;
|
|
98
|
+
display: string;
|
|
99
|
+
height: string;
|
|
100
|
+
width: string;
|
|
101
|
+
} | {
|
|
102
|
+
maxWidth: string;
|
|
103
|
+
display: string;
|
|
104
|
+
height: string;
|
|
105
|
+
width: string;
|
|
106
|
+
} | {
|
|
107
|
+
maxWidth: string;
|
|
108
|
+
display: string;
|
|
109
|
+
height: string;
|
|
110
|
+
width: string;
|
|
111
|
+
} | {
|
|
112
|
+
maxWidth: string;
|
|
113
|
+
display: string;
|
|
114
|
+
height: string;
|
|
115
|
+
width: string;
|
|
116
|
+
} | {
|
|
117
|
+
maxWidth: string;
|
|
118
|
+
display: string;
|
|
119
|
+
height: string;
|
|
120
|
+
width: string;
|
|
121
|
+
} | {
|
|
122
|
+
height: string;
|
|
123
|
+
width: string;
|
|
124
|
+
display: string;
|
|
125
|
+
} | {
|
|
126
|
+
height: string;
|
|
127
|
+
width: string;
|
|
128
|
+
display: string;
|
|
129
|
+
};
|
|
130
|
+
maxWidth: string;
|
|
131
|
+
display: string;
|
|
132
|
+
height: string;
|
|
133
|
+
width: string;
|
|
134
|
+
} | {
|
|
135
|
+
svg: {
|
|
136
|
+
maxWidth: string;
|
|
137
|
+
display: string;
|
|
138
|
+
height: string;
|
|
139
|
+
width: string;
|
|
140
|
+
} | {
|
|
141
|
+
maxWidth: string;
|
|
142
|
+
display: string;
|
|
143
|
+
height: string;
|
|
144
|
+
width: string;
|
|
145
|
+
} | {
|
|
146
|
+
maxWidth: string;
|
|
147
|
+
display: string;
|
|
148
|
+
height: string;
|
|
149
|
+
width: string;
|
|
150
|
+
} | {
|
|
151
|
+
maxWidth: string;
|
|
152
|
+
display: string;
|
|
153
|
+
height: string;
|
|
154
|
+
width: string;
|
|
155
|
+
} | {
|
|
156
|
+
maxWidth: string;
|
|
157
|
+
display: string;
|
|
158
|
+
height: string;
|
|
159
|
+
width: string;
|
|
160
|
+
} | {
|
|
161
|
+
maxWidth: string;
|
|
162
|
+
display: string;
|
|
163
|
+
height: string;
|
|
164
|
+
width: string;
|
|
165
|
+
} | {
|
|
166
|
+
maxWidth: string;
|
|
167
|
+
display: string;
|
|
168
|
+
height: string;
|
|
169
|
+
width: string;
|
|
170
|
+
} | {
|
|
171
|
+
height: string;
|
|
172
|
+
width: string;
|
|
173
|
+
display: string;
|
|
174
|
+
} | {
|
|
175
|
+
height: string;
|
|
176
|
+
width: string;
|
|
177
|
+
display: string;
|
|
178
|
+
};
|
|
179
|
+
maxWidth: string;
|
|
180
|
+
display: string;
|
|
181
|
+
height: string;
|
|
182
|
+
width: string;
|
|
183
|
+
} | {
|
|
184
|
+
svg: {
|
|
185
|
+
maxWidth: string;
|
|
186
|
+
display: string;
|
|
187
|
+
height: string;
|
|
188
|
+
width: string;
|
|
189
|
+
} | {
|
|
190
|
+
maxWidth: string;
|
|
191
|
+
display: string;
|
|
192
|
+
height: string;
|
|
193
|
+
width: string;
|
|
194
|
+
} | {
|
|
195
|
+
maxWidth: string;
|
|
196
|
+
display: string;
|
|
197
|
+
height: string;
|
|
198
|
+
width: string;
|
|
199
|
+
} | {
|
|
200
|
+
maxWidth: string;
|
|
201
|
+
display: string;
|
|
202
|
+
height: string;
|
|
203
|
+
width: string;
|
|
204
|
+
} | {
|
|
205
|
+
maxWidth: string;
|
|
206
|
+
display: string;
|
|
207
|
+
height: string;
|
|
208
|
+
width: string;
|
|
209
|
+
} | {
|
|
210
|
+
maxWidth: string;
|
|
211
|
+
display: string;
|
|
212
|
+
height: string;
|
|
213
|
+
width: string;
|
|
214
|
+
} | {
|
|
215
|
+
maxWidth: string;
|
|
216
|
+
display: string;
|
|
217
|
+
height: string;
|
|
218
|
+
width: string;
|
|
219
|
+
} | {
|
|
220
|
+
height: string;
|
|
221
|
+
width: string;
|
|
222
|
+
display: string;
|
|
223
|
+
} | {
|
|
224
|
+
height: string;
|
|
225
|
+
width: string;
|
|
226
|
+
display: string;
|
|
227
|
+
};
|
|
228
|
+
maxWidth: string;
|
|
229
|
+
display: string;
|
|
230
|
+
height: string;
|
|
231
|
+
width: string;
|
|
232
|
+
} | {
|
|
233
|
+
svg: {
|
|
234
|
+
maxWidth: string;
|
|
235
|
+
display: string;
|
|
236
|
+
height: string;
|
|
237
|
+
width: string;
|
|
238
|
+
} | {
|
|
239
|
+
maxWidth: string;
|
|
240
|
+
display: string;
|
|
241
|
+
height: string;
|
|
242
|
+
width: string;
|
|
243
|
+
} | {
|
|
244
|
+
maxWidth: string;
|
|
245
|
+
display: string;
|
|
246
|
+
height: string;
|
|
247
|
+
width: string;
|
|
248
|
+
} | {
|
|
249
|
+
maxWidth: string;
|
|
250
|
+
display: string;
|
|
251
|
+
height: string;
|
|
252
|
+
width: string;
|
|
253
|
+
} | {
|
|
254
|
+
maxWidth: string;
|
|
255
|
+
display: string;
|
|
256
|
+
height: string;
|
|
257
|
+
width: string;
|
|
258
|
+
} | {
|
|
259
|
+
maxWidth: string;
|
|
260
|
+
display: string;
|
|
261
|
+
height: string;
|
|
262
|
+
width: string;
|
|
263
|
+
} | {
|
|
264
|
+
maxWidth: string;
|
|
265
|
+
display: string;
|
|
266
|
+
height: string;
|
|
267
|
+
width: string;
|
|
268
|
+
} | {
|
|
269
|
+
height: string;
|
|
270
|
+
width: string;
|
|
271
|
+
display: string;
|
|
272
|
+
} | {
|
|
273
|
+
height: string;
|
|
274
|
+
width: string;
|
|
275
|
+
display: string;
|
|
276
|
+
};
|
|
277
|
+
maxWidth: string;
|
|
278
|
+
display: string;
|
|
279
|
+
height: string;
|
|
280
|
+
width: string;
|
|
281
|
+
} | {
|
|
282
|
+
svg: {
|
|
283
|
+
maxWidth: string;
|
|
284
|
+
display: string;
|
|
285
|
+
height: string;
|
|
286
|
+
width: string;
|
|
287
|
+
} | {
|
|
288
|
+
maxWidth: string;
|
|
289
|
+
display: string;
|
|
290
|
+
height: string;
|
|
291
|
+
width: string;
|
|
292
|
+
} | {
|
|
293
|
+
maxWidth: string;
|
|
294
|
+
display: string;
|
|
295
|
+
height: string;
|
|
296
|
+
width: string;
|
|
297
|
+
} | {
|
|
298
|
+
maxWidth: string;
|
|
299
|
+
display: string;
|
|
300
|
+
height: string;
|
|
301
|
+
width: string;
|
|
302
|
+
} | {
|
|
303
|
+
maxWidth: string;
|
|
304
|
+
display: string;
|
|
305
|
+
height: string;
|
|
306
|
+
width: string;
|
|
307
|
+
} | {
|
|
308
|
+
maxWidth: string;
|
|
309
|
+
display: string;
|
|
310
|
+
height: string;
|
|
311
|
+
width: string;
|
|
312
|
+
} | {
|
|
313
|
+
maxWidth: string;
|
|
314
|
+
display: string;
|
|
315
|
+
height: string;
|
|
316
|
+
width: string;
|
|
317
|
+
} | {
|
|
318
|
+
height: string;
|
|
319
|
+
width: string;
|
|
320
|
+
display: string;
|
|
321
|
+
} | {
|
|
322
|
+
height: string;
|
|
323
|
+
width: string;
|
|
324
|
+
display: string;
|
|
325
|
+
};
|
|
326
|
+
maxWidth: string;
|
|
327
|
+
display: string;
|
|
328
|
+
height: string;
|
|
329
|
+
width: string;
|
|
330
|
+
} | {
|
|
331
|
+
svg: {
|
|
332
|
+
maxWidth: string;
|
|
333
|
+
display: string;
|
|
334
|
+
height: string;
|
|
335
|
+
width: string;
|
|
336
|
+
} | {
|
|
337
|
+
maxWidth: string;
|
|
338
|
+
display: string;
|
|
339
|
+
height: string;
|
|
340
|
+
width: string;
|
|
341
|
+
} | {
|
|
342
|
+
maxWidth: string;
|
|
343
|
+
display: string;
|
|
344
|
+
height: string;
|
|
345
|
+
width: string;
|
|
346
|
+
} | {
|
|
347
|
+
maxWidth: string;
|
|
348
|
+
display: string;
|
|
349
|
+
height: string;
|
|
350
|
+
width: string;
|
|
351
|
+
} | {
|
|
352
|
+
maxWidth: string;
|
|
353
|
+
display: string;
|
|
354
|
+
height: string;
|
|
355
|
+
width: string;
|
|
356
|
+
} | {
|
|
357
|
+
maxWidth: string;
|
|
358
|
+
display: string;
|
|
359
|
+
height: string;
|
|
360
|
+
width: string;
|
|
361
|
+
} | {
|
|
362
|
+
maxWidth: string;
|
|
363
|
+
display: string;
|
|
364
|
+
height: string;
|
|
365
|
+
width: string;
|
|
366
|
+
} | {
|
|
367
|
+
height: string;
|
|
368
|
+
width: string;
|
|
369
|
+
display: string;
|
|
370
|
+
} | {
|
|
371
|
+
height: string;
|
|
372
|
+
width: string;
|
|
373
|
+
display: string;
|
|
374
|
+
};
|
|
375
|
+
maxWidth: string;
|
|
376
|
+
display: string;
|
|
377
|
+
height: string;
|
|
378
|
+
width: string;
|
|
379
|
+
} | {
|
|
380
|
+
svg: {
|
|
381
|
+
maxWidth: string;
|
|
382
|
+
display: string;
|
|
383
|
+
height: string;
|
|
384
|
+
width: string;
|
|
385
|
+
} | {
|
|
386
|
+
maxWidth: string;
|
|
387
|
+
display: string;
|
|
388
|
+
height: string;
|
|
389
|
+
width: string;
|
|
390
|
+
} | {
|
|
391
|
+
maxWidth: string;
|
|
392
|
+
display: string;
|
|
393
|
+
height: string;
|
|
394
|
+
width: string;
|
|
395
|
+
} | {
|
|
396
|
+
maxWidth: string;
|
|
397
|
+
display: string;
|
|
398
|
+
height: string;
|
|
399
|
+
width: string;
|
|
400
|
+
} | {
|
|
401
|
+
maxWidth: string;
|
|
402
|
+
display: string;
|
|
403
|
+
height: string;
|
|
404
|
+
width: string;
|
|
405
|
+
} | {
|
|
406
|
+
maxWidth: string;
|
|
407
|
+
display: string;
|
|
408
|
+
height: string;
|
|
409
|
+
width: string;
|
|
410
|
+
} | {
|
|
411
|
+
maxWidth: string;
|
|
412
|
+
display: string;
|
|
413
|
+
height: string;
|
|
414
|
+
width: string;
|
|
415
|
+
} | {
|
|
416
|
+
height: string;
|
|
417
|
+
width: string;
|
|
418
|
+
display: string;
|
|
419
|
+
} | {
|
|
420
|
+
height: string;
|
|
421
|
+
width: string;
|
|
422
|
+
display: string;
|
|
423
|
+
};
|
|
424
|
+
height: string;
|
|
425
|
+
width: string;
|
|
426
|
+
display: string;
|
|
427
|
+
} | {
|
|
428
|
+
svg: {
|
|
429
|
+
maxWidth: string;
|
|
430
|
+
display: string;
|
|
431
|
+
height: string;
|
|
432
|
+
width: string;
|
|
433
|
+
} | {
|
|
434
|
+
maxWidth: string;
|
|
435
|
+
display: string;
|
|
436
|
+
height: string;
|
|
437
|
+
width: string;
|
|
438
|
+
} | {
|
|
439
|
+
maxWidth: string;
|
|
440
|
+
display: string;
|
|
441
|
+
height: string;
|
|
442
|
+
width: string;
|
|
443
|
+
} | {
|
|
444
|
+
maxWidth: string;
|
|
445
|
+
display: string;
|
|
446
|
+
height: string;
|
|
447
|
+
width: string;
|
|
448
|
+
} | {
|
|
449
|
+
maxWidth: string;
|
|
450
|
+
display: string;
|
|
451
|
+
height: string;
|
|
452
|
+
width: string;
|
|
453
|
+
} | {
|
|
454
|
+
maxWidth: string;
|
|
455
|
+
display: string;
|
|
456
|
+
height: string;
|
|
457
|
+
width: string;
|
|
458
|
+
} | {
|
|
459
|
+
maxWidth: string;
|
|
460
|
+
display: string;
|
|
461
|
+
height: string;
|
|
462
|
+
width: string;
|
|
463
|
+
} | {
|
|
464
|
+
height: string;
|
|
465
|
+
width: string;
|
|
466
|
+
display: string;
|
|
467
|
+
} | {
|
|
468
|
+
height: string;
|
|
469
|
+
width: string;
|
|
470
|
+
display: string;
|
|
471
|
+
};
|
|
472
|
+
height: string;
|
|
473
|
+
width: string;
|
|
474
|
+
display: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
export default Logo;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const Modal: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: {
|
|
4
|
+
dialog: {
|
|
5
|
+
_dark: {
|
|
6
|
+
bg: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
header: {
|
|
10
|
+
color: string;
|
|
11
|
+
fontSize: {
|
|
12
|
+
base: string;
|
|
13
|
+
md: string;
|
|
14
|
+
};
|
|
15
|
+
fontWeight: string;
|
|
16
|
+
_dark: {
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
body: {
|
|
21
|
+
_dark: {
|
|
22
|
+
color: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default Modal;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const multiSelectWidths: {
|
|
2
|
+
default: {
|
|
3
|
+
width: {
|
|
4
|
+
base: string;
|
|
5
|
+
md: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
fitContent: {
|
|
9
|
+
width: {
|
|
10
|
+
base: string;
|
|
11
|
+
md: string;
|
|
12
|
+
};
|
|
13
|
+
minWidth: {
|
|
14
|
+
md: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
full: {
|
|
18
|
+
width: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
declare const MultiSelect: {
|
|
22
|
+
parts: string[];
|
|
23
|
+
baseStyle: ({ isBlockElement, isOpen, width }: {
|
|
24
|
+
isBlockElement: any;
|
|
25
|
+
isOpen: any;
|
|
26
|
+
width?: string;
|
|
27
|
+
}) => any;
|
|
28
|
+
};
|
|
29
|
+
export default MultiSelect;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare const MultiSelectMenuButton: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: ({ hasSelectedItems, isOpen }: {
|
|
4
|
+
hasSelectedItems?: boolean;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
}) => {
|
|
7
|
+
buttonLabel: {
|
|
8
|
+
color: string;
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
overflow: string;
|
|
11
|
+
marginLeft: string;
|
|
12
|
+
marginRight: string;
|
|
13
|
+
textAlign: string;
|
|
14
|
+
textOverflow: string;
|
|
15
|
+
whiteSpace: string;
|
|
16
|
+
transition: string;
|
|
17
|
+
_dark: {
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
menuButton: {
|
|
22
|
+
alignItems: string;
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
borderBottomLeftRadius: string;
|
|
25
|
+
borderBottomRightRadius: string;
|
|
26
|
+
borderColor: string;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
borderWidth: string;
|
|
29
|
+
fontSize: string;
|
|
30
|
+
minHeight: {
|
|
31
|
+
base: string;
|
|
32
|
+
md: string;
|
|
33
|
+
};
|
|
34
|
+
px: string;
|
|
35
|
+
py: string;
|
|
36
|
+
display: string;
|
|
37
|
+
justifyContent: string;
|
|
38
|
+
width: string;
|
|
39
|
+
_hover: {
|
|
40
|
+
backgroundColor: string;
|
|
41
|
+
borderColor: string;
|
|
42
|
+
};
|
|
43
|
+
svg: {
|
|
44
|
+
marginTop: string;
|
|
45
|
+
};
|
|
46
|
+
_dark: {
|
|
47
|
+
backgroundColor: string;
|
|
48
|
+
borderBottomLeftRadius: string;
|
|
49
|
+
borderBottomRightRadius: string;
|
|
50
|
+
borderColor: string;
|
|
51
|
+
svg: {
|
|
52
|
+
fill: string;
|
|
53
|
+
};
|
|
54
|
+
_hover: {
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
borderColor: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
selectedItemsCountButton: {
|
|
61
|
+
alignItems: string;
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
border: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
borderColor: string;
|
|
66
|
+
display: string;
|
|
67
|
+
flexShrink: number;
|
|
68
|
+
fontSize: string;
|
|
69
|
+
justifyContent: string;
|
|
70
|
+
left: string;
|
|
71
|
+
marginRight: string;
|
|
72
|
+
position: string;
|
|
73
|
+
top: {
|
|
74
|
+
base: string;
|
|
75
|
+
md: string;
|
|
76
|
+
};
|
|
77
|
+
width: string;
|
|
78
|
+
_hover: {
|
|
79
|
+
borderColor: string;
|
|
80
|
+
};
|
|
81
|
+
svg: {
|
|
82
|
+
marginLeft: string;
|
|
83
|
+
marginRight: string;
|
|
84
|
+
marginTop: string;
|
|
85
|
+
};
|
|
86
|
+
_dark: {
|
|
87
|
+
backgroundColor: string;
|
|
88
|
+
borderColor: string;
|
|
89
|
+
svg: {
|
|
90
|
+
fill: string;
|
|
91
|
+
};
|
|
92
|
+
_hover: {
|
|
93
|
+
borderColor: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default MultiSelectMenuButton;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { SectionTypes } from "../../helpers/types";
|
|
2
|
+
interface NewsLetterStyleProps {
|
|
3
|
+
newsletterSignupType: SectionTypes;
|
|
4
|
+
}
|
|
5
|
+
declare const NewsletterSignup: {
|
|
6
|
+
parts: string[];
|
|
7
|
+
baseStyle: ({ newsletterSignupType }: NewsLetterStyleProps) => {
|
|
8
|
+
alignItems: string;
|
|
9
|
+
borderWidth: {
|
|
10
|
+
base: string;
|
|
11
|
+
md: string;
|
|
12
|
+
};
|
|
13
|
+
maxWidth: string;
|
|
14
|
+
width: string;
|
|
15
|
+
pitch: {
|
|
16
|
+
width: {
|
|
17
|
+
base: string;
|
|
18
|
+
md: string;
|
|
19
|
+
};
|
|
20
|
+
bg: string;
|
|
21
|
+
borderWidth: {
|
|
22
|
+
base: string;
|
|
23
|
+
md: string;
|
|
24
|
+
};
|
|
25
|
+
borderLeftColor: {
|
|
26
|
+
md: string | {
|
|
27
|
+
primary: string;
|
|
28
|
+
secondary: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
borderTopColor: {
|
|
32
|
+
base: string | {
|
|
33
|
+
primary: string;
|
|
34
|
+
secondary: string;
|
|
35
|
+
};
|
|
36
|
+
md: string;
|
|
37
|
+
};
|
|
38
|
+
_dark: {
|
|
39
|
+
bg: string;
|
|
40
|
+
borderTopColor: {
|
|
41
|
+
md: string;
|
|
42
|
+
};
|
|
43
|
+
borderLeftColor: {
|
|
44
|
+
md: string | {
|
|
45
|
+
primary: string;
|
|
46
|
+
secondary: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
padding: {
|
|
51
|
+
base: string;
|
|
52
|
+
md: string;
|
|
53
|
+
lg: string;
|
|
54
|
+
};
|
|
55
|
+
alignItems: string;
|
|
56
|
+
gap: string;
|
|
57
|
+
};
|
|
58
|
+
privacy: {
|
|
59
|
+
fontSize: string;
|
|
60
|
+
fontWeight: string;
|
|
61
|
+
};
|
|
62
|
+
action: {
|
|
63
|
+
padding: {
|
|
64
|
+
base: string;
|
|
65
|
+
lg: string;
|
|
66
|
+
};
|
|
67
|
+
width: {
|
|
68
|
+
base: string;
|
|
69
|
+
md: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
form: {
|
|
73
|
+
width: string;
|
|
74
|
+
};
|
|
75
|
+
"#newsletter-form-parent": {
|
|
76
|
+
gridTemplateColumns: {
|
|
77
|
+
base: any;
|
|
78
|
+
lg: string;
|
|
79
|
+
};
|
|
80
|
+
gap: {
|
|
81
|
+
base: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
button: {
|
|
86
|
+
marginTop: {
|
|
87
|
+
base: any;
|
|
88
|
+
lg: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export default NewsletterSignup;
|