@nypl/design-system-react-components 0.23.4 → 0.25.1
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/CHANGELOG.md +98 -1
- package/README.md +46 -11
- package/dist/components/Accordion/Accordion.d.ts +14 -14
- package/dist/components/Autosuggest/Autosuggest.stories.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +11 -14
- package/dist/components/Breadcrumbs/BreadcrumbsTypes.d.ts +6 -0
- package/dist/components/Button/Button.d.ts +6 -13
- package/dist/components/Button/ButtonTypes.d.ts +5 -3
- package/dist/components/Card/Card.d.ts +59 -10
- package/dist/components/Card/CardTypes.d.ts +19 -0
- package/dist/components/CardEdition/CardEdition.d.ts +21 -0
- package/dist/components/{StyleGuide/Colors.stories.d.ts → CardEdition/CardEdition.stories.d.ts} +5 -2
- package/dist/components/Checkbox/Checkbox.d.ts +21 -16
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +43 -0
- package/dist/components/CheckboxGroup/CheckboxGroupLayoutTypes.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.d.ts +79 -0
- package/dist/components/DatePicker/DatePickerTypes.d.ts +5 -0
- package/dist/components/Form/Form.d.ts +16 -8
- package/dist/components/Form/FormTypes.d.ts +2 -0
- package/dist/components/Grid/GridTypes.d.ts +9 -0
- package/dist/components/Grid/SimpleGrid.d.ts +14 -0
- package/dist/components/Heading/Heading.d.ts +9 -11
- package/dist/components/Heading/{HeadingDisplaySizes.d.ts → HeadingTypes.d.ts} +8 -0
- package/dist/components/HelperErrorText/HelperErrorText.stories.d.ts +2 -1
- package/dist/components/Hero/Hero.d.ts +19 -14
- package/dist/components/Hero/HeroTypes.d.ts +10 -5
- package/dist/components/Icons/Icon.d.ts +13 -16
- package/dist/components/Icons/IconSvgs.d.ts +4 -0
- package/dist/components/Icons/IconTypes.d.ts +78 -60
- package/dist/components/Image/Image.stories.d.ts +2 -1
- package/dist/components/Label/Label.d.ts +10 -26
- package/dist/components/Link/Link.d.ts +8 -12
- package/dist/components/List/List.stories.d.ts +1 -0
- package/dist/components/Radio/Radio.d.ts +30 -24
- package/dist/components/RadioGroup/RadioGroup.d.ts +40 -0
- package/dist/components/RadioGroup/RadioGroupLayoutTypes.d.ts +4 -0
- package/dist/components/SearchBar/SearchBar.d.ts +45 -27
- package/dist/components/Select/Select.d.ts +34 -35
- package/dist/components/Select/SelectTypes.d.ts +4 -0
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +1 -1
- package/dist/components/SkeletonLoader/SkeletonLoaderTypes.d.ts +2 -2
- package/dist/components/StatusBadge/StatusBadge.d.ts +8 -6
- package/dist/components/StatusBadge/StatusBadgeTypes.d.ts +5 -0
- package/dist/components/Tabs/Tabs.d.ts +25 -0
- package/dist/components/Template/Template.d.ts +91 -0
- package/dist/components/Text/Text.d.ts +16 -0
- package/dist/components/Text/TextTypes.d.ts +6 -0
- package/dist/components/TextInput/TextInput.d.ts +37 -30
- package/dist/components/TextInput/TextInputTypes.d.ts +5 -0
- package/dist/design-system-react-components.cjs.development.js +4102 -917
- package/dist/design-system-react-components.cjs.development.js.map +1 -1
- package/dist/design-system-react-components.cjs.production.min.js +1 -1
- package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
- package/dist/design-system-react-components.esm.js +4023 -920
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/index.d.ts +23 -5
- package/dist/resources.scss +133 -24
- package/dist/styles.css +1 -1
- package/dist/theme/components/accordion.d.ts +25 -0
- package/dist/theme/components/breadcrumb.d.ts +90 -0
- package/dist/theme/components/button.d.ts +109 -0
- package/dist/theme/components/checkbox.d.ts +91 -0
- package/dist/theme/components/customCheckboxGroup.d.ts +18 -0
- package/dist/theme/components/customRadioGroup.d.ts +18 -0
- package/dist/theme/components/global.d.ts +55 -0
- package/dist/theme/components/globalMixins.d.ts +15 -0
- package/dist/theme/components/heading.d.ts +110 -0
- package/dist/theme/components/hero.d.ts +492 -0
- package/dist/theme/components/icon.d.ts +13 -0
- package/dist/theme/components/label.d.ts +16 -0
- package/dist/theme/components/link.d.ts +45 -0
- package/dist/theme/components/radio.d.ts +95 -0
- package/dist/theme/components/searchBar.d.ts +20 -0
- package/dist/theme/components/select.d.ts +58 -0
- package/dist/theme/components/statusBadge.d.ts +25 -0
- package/dist/theme/components/tabs.d.ts +85 -0
- package/dist/theme/components/template.d.ts +105 -0
- package/dist/theme/components/text.d.ts +20 -0
- package/dist/theme/components/textInput.d.ts +105 -0
- package/dist/theme/foundations/breakpoints.d.ts +23 -0
- package/dist/theme/foundations/colors.d.ts +3 -0
- package/dist/theme/foundations/global.d.ts +23 -0
- package/dist/theme/foundations/shadows.d.ts +4 -0
- package/dist/theme/foundations/spacing.d.ts +77 -0
- package/dist/theme/foundations/typography.d.ts +8 -0
- package/dist/theme/index.d.ts +20 -0
- package/dist/theme/provider.d.ts +5 -0
- package/dist/theme/types.d.ts +1 -0
- package/dist/utils/utils.d.ts +6 -0
- package/package.json +9 -2
- package/src/components/Accordion/Accordion.stories.mdx +233 -33
- package/src/components/Accordion/Accordion.test.tsx +135 -19
- package/src/components/Accordion/Accordion.tsx +81 -56
- package/src/components/Autosuggest/Autosuggest.stories.mdx +4 -3
- package/src/components/Autosuggest/Autosuggest.stories.tsx +1 -1
- package/src/components/Autosuggest/_Autosuggest.scss +2 -2
- package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +57 -56
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +31 -25
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +71 -73
- package/src/components/Breadcrumbs/BreadcrumbsTypes.tsx +6 -0
- package/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.test.tsx.snap +100 -0
- package/src/components/Button/Button.stories.mdx +125 -138
- package/src/components/Button/Button.test.tsx +65 -11
- package/src/components/Button/Button.tsx +72 -68
- package/src/components/Button/ButtonTypes.tsx +4 -2
- package/src/components/Button/_Button.scss +7 -92
- package/src/components/Button/__snapshots__/Button.test.tsx.snap +58 -3
- package/src/components/Card/Card.stories.mdx +694 -0
- package/src/components/Card/Card.test.tsx +97 -102
- package/src/components/Card/Card.tsx +182 -31
- package/src/components/Card/CardTypes.tsx +21 -0
- package/src/components/Card/_Card.scss +234 -49
- package/src/components/{Card/Card.stories.tsx → CardEdition/CardEdition.stories.tsx} +32 -22
- package/src/components/CardEdition/CardEdition.test.tsx +395 -0
- package/src/components/CardEdition/CardEdition.tsx +60 -0
- package/src/components/CardEdition/_CardEdition.scss +138 -0
- package/src/components/Chakra/Box.stories.mdx +57 -0
- package/src/components/Chakra/Center.stories.mdx +99 -0
- package/src/components/Chakra/Grid.stories.mdx +79 -0
- package/src/components/Chakra/Stack.stories.mdx +93 -0
- package/src/components/Checkbox/Checkbox.stories.mdx +57 -35
- package/src/components/Checkbox/Checkbox.test.tsx +117 -147
- package/src/components/Checkbox/Checkbox.tsx +76 -50
- package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +325 -0
- package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +249 -0
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +345 -0
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +148 -0
- package/src/components/CheckboxGroup/CheckboxGroupLayoutTypes.tsx +4 -0
- package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +1360 -0
- package/src/components/DatePicker/DatePicker.stories.mdx +284 -0
- package/src/components/DatePicker/DatePicker.test.tsx +657 -0
- package/src/components/DatePicker/DatePicker.tsx +396 -0
- package/src/components/DatePicker/DatePickerTypes.tsx +5 -0
- package/src/components/DatePicker/_DatePicker.scss +76 -0
- package/src/components/Form/Form.stories.mdx +130 -27
- package/src/components/Form/Form.test.tsx +78 -36
- package/src/components/Form/Form.tsx +53 -19
- package/src/components/Form/FormTypes.tsx +3 -0
- package/src/components/Form/__snapshots__/Form.test.tsx.snap +38 -0
- package/src/components/Grid/GridTypes.tsx +9 -0
- package/src/components/Grid/SimpleGrid.stories.mdx +275 -0
- package/src/components/Grid/SimpleGrid.test.tsx +66 -0
- package/src/components/Grid/SimpleGrid.tsx +37 -0
- package/src/components/Grid/__snapshots__/SimpleGrid.test.tsx.snap +8 -0
- package/src/components/Heading/Heading.stories.mdx +63 -33
- package/src/components/Heading/Heading.test.tsx +24 -16
- package/src/components/Heading/Heading.tsx +54 -38
- package/src/components/Heading/{HeadingDisplaySizes.tsx → HeadingTypes.tsx} +9 -0
- package/src/components/HelperErrorText/HelperErrorText.stories.tsx +2 -1
- package/src/components/HelperErrorText/_HelperErrorText.scss +1 -1
- package/src/components/Hero/Hero.stories.mdx +195 -85
- package/src/components/Hero/Hero.test.tsx +544 -113
- package/src/components/Hero/Hero.tsx +80 -93
- package/src/components/Hero/HeroTypes.tsx +17 -5
- package/src/components/Hero/__snapshots__/Hero.test.tsx.snap +307 -0
- package/src/components/HorizontalRule/HorizontalRule.stories.mdx +6 -1
- package/src/components/HorizontalRule/_HorizontalRule.scss +1 -1
- package/src/components/Icons/Icon.stories.mdx +89 -74
- package/src/components/Icons/Icon.test.tsx +30 -22
- package/src/components/Icons/Icon.tsx +63 -61
- package/src/components/Icons/IconSvgs.tsx +8 -0
- package/src/components/Icons/IconTypes.tsx +80 -60
- package/src/components/Image/Image.stories.tsx +2 -1
- package/src/components/Input/_Input.scss +2 -2
- package/src/components/Label/Label.stories.mdx +77 -0
- package/src/components/Label/Label.test.tsx +43 -12
- package/src/components/Label/Label.tsx +28 -45
- package/src/components/Label/__snapshots__/Label.test.tsx.snap +41 -0
- package/src/components/Link/Link.stories.mdx +47 -41
- package/src/components/Link/Link.test.tsx +33 -44
- package/src/components/Link/Link.tsx +114 -100
- package/src/components/List/List.stories.mdx +7 -3
- package/src/components/List/List.stories.tsx +14 -9
- package/src/components/List/List.test.tsx +12 -8
- package/src/components/List/List.tsx +9 -7
- package/src/components/List/_List.scss +3 -3
- package/src/components/Modal/Modal.stories.mdx +7 -3
- package/src/components/Modal/_Modal.scss +1 -1
- package/src/components/Notification/Notification.stories.mdx +99 -65
- package/src/components/Notification/Notification.test.tsx +3 -16
- package/src/components/Notification/Notification.tsx +12 -12
- package/src/components/Notification/_Notification.scss +5 -4
- package/src/components/Notification/__snapshots__/Notification.test.tsx.snap +1 -1
- package/src/components/Pagination/Pagination.stories.mdx +7 -1
- package/src/components/Pagination/Pagination.test.tsx +16 -10
- package/src/components/Radio/Radio.stories.mdx +57 -46
- package/src/components/Radio/Radio.test.tsx +92 -138
- package/src/components/Radio/Radio.tsx +70 -69
- package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +250 -0
- package/src/components/RadioGroup/RadioGroup.stories.mdx +247 -0
- package/src/components/RadioGroup/RadioGroup.test.tsx +327 -0
- package/src/components/RadioGroup/RadioGroup.tsx +154 -0
- package/src/components/RadioGroup/RadioGroupLayoutTypes.tsx +4 -0
- package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +1101 -0
- package/src/components/SearchBar/SearchBar.Test.tsx +151 -16
- package/src/components/SearchBar/SearchBar.stories.mdx +196 -224
- package/src/components/SearchBar/SearchBar.tsx +151 -46
- package/src/components/Select/Select.stories.mdx +193 -168
- package/src/components/Select/Select.test.tsx +129 -324
- package/src/components/Select/Select.tsx +120 -160
- package/src/components/Select/SelectTypes.tsx +4 -0
- package/src/components/SkeletonLoader/SkeletonLoader.stories.mdx +18 -29
- package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +7 -7
- package/src/components/SkeletonLoader/SkeletonLoader.tsx +4 -2
- package/src/components/SkeletonLoader/SkeletonLoaderTypes.tsx +2 -2
- package/src/components/SkeletonLoader/_SkeletonLoader.scss +3 -3
- package/src/components/StatusBadge/StatusBadge.stories.mdx +91 -0
- package/src/components/StatusBadge/StatusBadge.test.tsx +35 -7
- package/src/components/StatusBadge/StatusBadge.tsx +24 -25
- package/src/components/StatusBadge/StatusBadgeTypes.tsx +5 -0
- package/src/components/StatusBadge/__snapshots__/StatusBadge.test.tsx.snap +28 -0
- package/src/components/StyleGuide/Bidirectionality.stories.mdx +112 -90
- package/src/components/StyleGuide/Buttons.stories.mdx +98 -100
- package/src/components/StyleGuide/Colors.stories.mdx +336 -0
- package/src/components/StyleGuide/Forms.stories.mdx +85 -0
- package/src/components/StyleGuide/Iconography.stories.mdx +86 -93
- package/src/components/StyleGuide/Spacing.stories.mdx +0 -1
- package/src/components/StyleGuide/Typography.stories.mdx +164 -166
- package/src/components/StyleGuide/UIDocCard.tsx +4 -4
- package/src/components/Tabs/Tabs.stories.mdx +221 -0
- package/src/components/Tabs/Tabs.test.tsx +264 -0
- package/src/components/Tabs/Tabs.tsx +220 -0
- package/src/components/Template/Template.stories.mdx +574 -0
- package/src/components/Template/Template.test.tsx +124 -0
- package/src/components/Template/Template.tsx +226 -0
- package/src/components/Text/Text.stories.mdx +70 -0
- package/src/components/Text/Text.test.tsx +63 -0
- package/src/components/Text/Text.tsx +55 -0
- package/src/components/Text/TextTypes.tsx +6 -0
- package/src/components/Text/__snapshots__/Text.test.tsx.snap +33 -0
- package/src/components/TextInput/TextInput.stories.mdx +90 -90
- package/src/components/TextInput/TextInput.test.tsx +103 -83
- package/src/components/TextInput/TextInput.tsx +108 -91
- package/src/components/TextInput/TextInputTypes.tsx +6 -0
- package/src/components/VideoPlayer/VideoPlayer.stories.mdx +2 -1
- package/src/components/VideoPlayer/VideoPlayer.tsx +4 -2
- package/src/components/VideoPlayer/_VideoPlayer.scss +1 -1
- package/src/docs/Chakra.stories.mdx +341 -0
- package/src/docs/Intro.stories.mdx +31 -24
- package/src/index.ts +70 -5
- package/src/styles/01-colors/_colors-brand.scss +6 -4
- package/src/styles/01-colors/_colors-utility.scss +14 -15
- package/src/styles/03-space/_space-inline.scss +47 -7
- package/src/styles/03-space/_space-inset.scss +33 -5
- package/src/styles/03-space/_space-stack.scss +48 -8
- package/src/styles/base/_02-breakpoints.scss +5 -4
- package/src/styles/base/_04-base.scss +2 -1
- package/src/styles/base/_place-holder.scss +1 -1
- package/src/styles/base/_typography.scss +1 -29
- package/src/styles.scss +22 -25
- package/src/theme/components/accordion.ts +30 -0
- package/src/theme/components/breadcrumb.ts +77 -0
- package/src/theme/components/button.ts +125 -0
- package/src/theme/components/checkbox.ts +107 -0
- package/src/theme/components/customCheckboxGroup.ts +12 -0
- package/src/theme/components/customRadioGroup.ts +12 -0
- package/src/theme/components/global.ts +71 -0
- package/src/theme/components/globalMixins.ts +16 -0
- package/src/theme/components/heading.ts +72 -0
- package/src/theme/components/hero.ts +239 -0
- package/src/theme/components/icon.ts +79 -0
- package/src/theme/components/label.ts +17 -0
- package/src/theme/components/link.ts +47 -0
- package/src/theme/components/radio.ts +106 -0
- package/src/theme/components/searchBar.ts +21 -0
- package/src/theme/components/select.ts +50 -0
- package/src/theme/components/statusBadge.ts +27 -0
- package/src/theme/components/tabs.ts +79 -0
- package/src/theme/components/template.ts +114 -0
- package/src/theme/components/text.ts +31 -0
- package/src/theme/components/textInput.ts +61 -0
- package/src/theme/foundations/breakpoints.ts +24 -0
- package/src/theme/foundations/colors.ts +208 -0
- package/src/theme/foundations/global.ts +26 -0
- package/src/theme/foundations/shadows.ts +5 -0
- package/src/theme/foundations/spacing.ts +85 -0
- package/src/theme/foundations/typography.ts +35 -0
- package/src/theme/index.ts +88 -0
- package/src/theme/provider.tsx +9 -0
- package/src/theme/types.ts +1 -0
- package/src/utils/componentCategories.ts +56 -21
- package/src/utils/utils.ts +13 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -5
- package/dist/components/Card/Card.stories.d.ts +0 -27
- package/dist/components/Label/Label.stories.d.ts +0 -12
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts +0 -8
- package/dist/components/Template/Template.stories.d.ts +0 -29
- package/src/components/Accordion/Accordion.stories.tsx +0 -65
- package/src/components/Accordion/_Accordion.scss +0 -81
- package/src/components/Breadcrumbs/_Breadcrumbs.scss +0 -97
- package/src/components/Checkbox/_Checkbox.scss +0 -97
- package/src/components/Form/_Form.scss +0 -28
- package/src/components/Heading/_Heading.scss +0 -163
- package/src/components/Hero/_Hero.scss +0 -256
- package/src/components/Icons/_Icons.scss +0 -116
- package/src/components/Label/Label.stories.tsx +0 -30
- package/src/components/Label/_Label.scss +0 -22
- package/src/components/Link/_Link.scss +0 -73
- package/src/components/Radio/_Radio.scss +0 -84
- package/src/components/SearchBar/_SearchBar.scss +0 -16
- package/src/components/Select/_Select.scss +0 -82
- package/src/components/StatusBadge/StatusBadge.stories.tsx +0 -33
- package/src/components/StatusBadge/_StatusBadge.scss +0 -23
- package/src/components/StyleGuide/Colors.stories.tsx +0 -288
- package/src/components/Template/Template.stories.tsx +0 -85
- package/src/components/Template/_Template.scss +0 -63
- package/src/components/TextInput/_TextInput.scss +0 -59
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
declare const Hero: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
bg: string;
|
|
4
|
+
};
|
|
5
|
+
variants: {
|
|
6
|
+
primary: {
|
|
7
|
+
alignItems: string;
|
|
8
|
+
display: string;
|
|
9
|
+
flexFlow: {
|
|
10
|
+
base: string;
|
|
11
|
+
md: string;
|
|
12
|
+
};
|
|
13
|
+
justifyContent: string;
|
|
14
|
+
minHeight: string;
|
|
15
|
+
content: {
|
|
16
|
+
bg: string;
|
|
17
|
+
color: string;
|
|
18
|
+
flex: {
|
|
19
|
+
base: string;
|
|
20
|
+
md: string;
|
|
21
|
+
};
|
|
22
|
+
maxWidth: {
|
|
23
|
+
md: string;
|
|
24
|
+
};
|
|
25
|
+
paddingTop: string;
|
|
26
|
+
paddingBottom: string;
|
|
27
|
+
paddingRight: string;
|
|
28
|
+
paddingLeft: string;
|
|
29
|
+
a: {
|
|
30
|
+
color: string;
|
|
31
|
+
display: string;
|
|
32
|
+
};
|
|
33
|
+
heading: {
|
|
34
|
+
marginBottom: string;
|
|
35
|
+
};
|
|
36
|
+
bodyText: {
|
|
37
|
+
marginBottom: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
secondary: {
|
|
42
|
+
heading: {
|
|
43
|
+
marginBottom: string;
|
|
44
|
+
bg: string;
|
|
45
|
+
color: string;
|
|
46
|
+
flex: string;
|
|
47
|
+
marginTop: string;
|
|
48
|
+
paddingBottom: string;
|
|
49
|
+
position: string;
|
|
50
|
+
zIndex: string;
|
|
51
|
+
order: {
|
|
52
|
+
md: string;
|
|
53
|
+
};
|
|
54
|
+
_before: {
|
|
55
|
+
bg: string;
|
|
56
|
+
content: string;
|
|
57
|
+
height: string;
|
|
58
|
+
left: string;
|
|
59
|
+
position: string;
|
|
60
|
+
width: string;
|
|
61
|
+
zIndex: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
overflowX: string;
|
|
65
|
+
content: {
|
|
66
|
+
paddingRight: string;
|
|
67
|
+
paddingLeft: string;
|
|
68
|
+
display: string;
|
|
69
|
+
flexFlow: {
|
|
70
|
+
base: string;
|
|
71
|
+
md: string;
|
|
72
|
+
};
|
|
73
|
+
img: {
|
|
74
|
+
flex: {
|
|
75
|
+
base: string;
|
|
76
|
+
md: string;
|
|
77
|
+
};
|
|
78
|
+
order: {
|
|
79
|
+
md: string;
|
|
80
|
+
};
|
|
81
|
+
height: string;
|
|
82
|
+
minWidth: string;
|
|
83
|
+
objectFit: string;
|
|
84
|
+
width: string;
|
|
85
|
+
};
|
|
86
|
+
marginY: string;
|
|
87
|
+
marginX: string;
|
|
88
|
+
maxWidth: string;
|
|
89
|
+
paddingTop: string;
|
|
90
|
+
paddingBottom: string;
|
|
91
|
+
width: string;
|
|
92
|
+
};
|
|
93
|
+
bodyText: {
|
|
94
|
+
marginTop: string;
|
|
95
|
+
marginRight: {
|
|
96
|
+
md: string;
|
|
97
|
+
};
|
|
98
|
+
flex: {
|
|
99
|
+
md: string;
|
|
100
|
+
};
|
|
101
|
+
order: {
|
|
102
|
+
md: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
secondaryBooksAndMore: {
|
|
107
|
+
heading: {
|
|
108
|
+
bg: string;
|
|
109
|
+
_before: {
|
|
110
|
+
bg: string;
|
|
111
|
+
content: string;
|
|
112
|
+
height: string;
|
|
113
|
+
left: string;
|
|
114
|
+
position: string;
|
|
115
|
+
width: string;
|
|
116
|
+
zIndex: string;
|
|
117
|
+
};
|
|
118
|
+
marginBottom: string;
|
|
119
|
+
color: string;
|
|
120
|
+
flex: string;
|
|
121
|
+
marginTop: string;
|
|
122
|
+
paddingBottom: string;
|
|
123
|
+
position: string;
|
|
124
|
+
zIndex: string;
|
|
125
|
+
order: {
|
|
126
|
+
md: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
overflowX: string;
|
|
130
|
+
content: {
|
|
131
|
+
paddingRight: string;
|
|
132
|
+
paddingLeft: string;
|
|
133
|
+
display: string;
|
|
134
|
+
flexFlow: {
|
|
135
|
+
base: string;
|
|
136
|
+
md: string;
|
|
137
|
+
};
|
|
138
|
+
img: {
|
|
139
|
+
flex: {
|
|
140
|
+
base: string;
|
|
141
|
+
md: string;
|
|
142
|
+
};
|
|
143
|
+
order: {
|
|
144
|
+
md: string;
|
|
145
|
+
};
|
|
146
|
+
height: string;
|
|
147
|
+
minWidth: string;
|
|
148
|
+
objectFit: string;
|
|
149
|
+
width: string;
|
|
150
|
+
};
|
|
151
|
+
marginY: string;
|
|
152
|
+
marginX: string;
|
|
153
|
+
maxWidth: string;
|
|
154
|
+
paddingTop: string;
|
|
155
|
+
paddingBottom: string;
|
|
156
|
+
width: string;
|
|
157
|
+
};
|
|
158
|
+
bodyText: {
|
|
159
|
+
marginTop: string;
|
|
160
|
+
marginRight: {
|
|
161
|
+
md: string;
|
|
162
|
+
};
|
|
163
|
+
flex: {
|
|
164
|
+
md: string;
|
|
165
|
+
};
|
|
166
|
+
order: {
|
|
167
|
+
md: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
secondaryLocations: {
|
|
172
|
+
heading: {
|
|
173
|
+
bg: string;
|
|
174
|
+
_before: {
|
|
175
|
+
bg: string;
|
|
176
|
+
content: string;
|
|
177
|
+
height: string;
|
|
178
|
+
left: string;
|
|
179
|
+
position: string;
|
|
180
|
+
width: string;
|
|
181
|
+
zIndex: string;
|
|
182
|
+
};
|
|
183
|
+
marginBottom: string;
|
|
184
|
+
color: string;
|
|
185
|
+
flex: string;
|
|
186
|
+
marginTop: string;
|
|
187
|
+
paddingBottom: string;
|
|
188
|
+
position: string;
|
|
189
|
+
zIndex: string;
|
|
190
|
+
order: {
|
|
191
|
+
md: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
overflowX: string;
|
|
195
|
+
content: {
|
|
196
|
+
paddingRight: string;
|
|
197
|
+
paddingLeft: string;
|
|
198
|
+
display: string;
|
|
199
|
+
flexFlow: {
|
|
200
|
+
base: string;
|
|
201
|
+
md: string;
|
|
202
|
+
};
|
|
203
|
+
img: {
|
|
204
|
+
flex: {
|
|
205
|
+
base: string;
|
|
206
|
+
md: string;
|
|
207
|
+
};
|
|
208
|
+
order: {
|
|
209
|
+
md: string;
|
|
210
|
+
};
|
|
211
|
+
height: string;
|
|
212
|
+
minWidth: string;
|
|
213
|
+
objectFit: string;
|
|
214
|
+
width: string;
|
|
215
|
+
};
|
|
216
|
+
marginY: string;
|
|
217
|
+
marginX: string;
|
|
218
|
+
maxWidth: string;
|
|
219
|
+
paddingTop: string;
|
|
220
|
+
paddingBottom: string;
|
|
221
|
+
width: string;
|
|
222
|
+
};
|
|
223
|
+
bodyText: {
|
|
224
|
+
marginTop: string;
|
|
225
|
+
marginRight: {
|
|
226
|
+
md: string;
|
|
227
|
+
};
|
|
228
|
+
flex: {
|
|
229
|
+
md: string;
|
|
230
|
+
};
|
|
231
|
+
order: {
|
|
232
|
+
md: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
secondaryResearch: {
|
|
237
|
+
heading: {
|
|
238
|
+
bg: string;
|
|
239
|
+
_before: {
|
|
240
|
+
bg: string;
|
|
241
|
+
content: string;
|
|
242
|
+
height: string;
|
|
243
|
+
left: string;
|
|
244
|
+
position: string;
|
|
245
|
+
width: string;
|
|
246
|
+
zIndex: string;
|
|
247
|
+
};
|
|
248
|
+
marginBottom: string;
|
|
249
|
+
color: string;
|
|
250
|
+
flex: string;
|
|
251
|
+
marginTop: string;
|
|
252
|
+
paddingBottom: string;
|
|
253
|
+
position: string;
|
|
254
|
+
zIndex: string;
|
|
255
|
+
order: {
|
|
256
|
+
md: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
overflowX: string;
|
|
260
|
+
content: {
|
|
261
|
+
paddingRight: string;
|
|
262
|
+
paddingLeft: string;
|
|
263
|
+
display: string;
|
|
264
|
+
flexFlow: {
|
|
265
|
+
base: string;
|
|
266
|
+
md: string;
|
|
267
|
+
};
|
|
268
|
+
img: {
|
|
269
|
+
flex: {
|
|
270
|
+
base: string;
|
|
271
|
+
md: string;
|
|
272
|
+
};
|
|
273
|
+
order: {
|
|
274
|
+
md: string;
|
|
275
|
+
};
|
|
276
|
+
height: string;
|
|
277
|
+
minWidth: string;
|
|
278
|
+
objectFit: string;
|
|
279
|
+
width: string;
|
|
280
|
+
};
|
|
281
|
+
marginY: string;
|
|
282
|
+
marginX: string;
|
|
283
|
+
maxWidth: string;
|
|
284
|
+
paddingTop: string;
|
|
285
|
+
paddingBottom: string;
|
|
286
|
+
width: string;
|
|
287
|
+
};
|
|
288
|
+
bodyText: {
|
|
289
|
+
marginTop: string;
|
|
290
|
+
marginRight: {
|
|
291
|
+
md: string;
|
|
292
|
+
};
|
|
293
|
+
flex: {
|
|
294
|
+
md: string;
|
|
295
|
+
};
|
|
296
|
+
order: {
|
|
297
|
+
md: string;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
secondaryWhatsOn: {
|
|
302
|
+
heading: {
|
|
303
|
+
bg: string;
|
|
304
|
+
_before: {
|
|
305
|
+
bg: string;
|
|
306
|
+
content: string;
|
|
307
|
+
height: string;
|
|
308
|
+
left: string;
|
|
309
|
+
position: string;
|
|
310
|
+
width: string;
|
|
311
|
+
zIndex: string;
|
|
312
|
+
};
|
|
313
|
+
marginBottom: string;
|
|
314
|
+
color: string;
|
|
315
|
+
flex: string;
|
|
316
|
+
marginTop: string;
|
|
317
|
+
paddingBottom: string;
|
|
318
|
+
position: string;
|
|
319
|
+
zIndex: string;
|
|
320
|
+
order: {
|
|
321
|
+
md: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
overflowX: string;
|
|
325
|
+
content: {
|
|
326
|
+
paddingRight: string;
|
|
327
|
+
paddingLeft: string;
|
|
328
|
+
display: string;
|
|
329
|
+
flexFlow: {
|
|
330
|
+
base: string;
|
|
331
|
+
md: string;
|
|
332
|
+
};
|
|
333
|
+
img: {
|
|
334
|
+
flex: {
|
|
335
|
+
base: string;
|
|
336
|
+
md: string;
|
|
337
|
+
};
|
|
338
|
+
order: {
|
|
339
|
+
md: string;
|
|
340
|
+
};
|
|
341
|
+
height: string;
|
|
342
|
+
minWidth: string;
|
|
343
|
+
objectFit: string;
|
|
344
|
+
width: string;
|
|
345
|
+
};
|
|
346
|
+
marginY: string;
|
|
347
|
+
marginX: string;
|
|
348
|
+
maxWidth: string;
|
|
349
|
+
paddingTop: string;
|
|
350
|
+
paddingBottom: string;
|
|
351
|
+
width: string;
|
|
352
|
+
};
|
|
353
|
+
bodyText: {
|
|
354
|
+
marginTop: string;
|
|
355
|
+
marginRight: {
|
|
356
|
+
md: string;
|
|
357
|
+
};
|
|
358
|
+
flex: {
|
|
359
|
+
md: string;
|
|
360
|
+
};
|
|
361
|
+
order: {
|
|
362
|
+
md: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
tertiary: {
|
|
367
|
+
bg: string;
|
|
368
|
+
content: {
|
|
369
|
+
color: string;
|
|
370
|
+
display: string;
|
|
371
|
+
flexFlow: string;
|
|
372
|
+
paddingTop: string;
|
|
373
|
+
paddingBottom: string;
|
|
374
|
+
paddingRight: string;
|
|
375
|
+
paddingLeft: string;
|
|
376
|
+
p: {
|
|
377
|
+
marginBottom: string;
|
|
378
|
+
};
|
|
379
|
+
marginY: string;
|
|
380
|
+
marginX: string;
|
|
381
|
+
maxWidth: string;
|
|
382
|
+
width: string;
|
|
383
|
+
};
|
|
384
|
+
heading: {
|
|
385
|
+
marginBottom: string;
|
|
386
|
+
_lastChild: {
|
|
387
|
+
marginBottom: string;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
p: {
|
|
391
|
+
marginBottom: string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
campaign: {
|
|
395
|
+
alignItems: string;
|
|
396
|
+
display: string;
|
|
397
|
+
justifyContent: string;
|
|
398
|
+
marginBottom: string;
|
|
399
|
+
minHeight: string;
|
|
400
|
+
overflow: string;
|
|
401
|
+
padding: {
|
|
402
|
+
base: string;
|
|
403
|
+
md: string;
|
|
404
|
+
};
|
|
405
|
+
position: string;
|
|
406
|
+
content: {
|
|
407
|
+
alignItems: string;
|
|
408
|
+
bg: string;
|
|
409
|
+
color: string;
|
|
410
|
+
display: string;
|
|
411
|
+
flexFlow: {
|
|
412
|
+
base: string;
|
|
413
|
+
md: string;
|
|
414
|
+
};
|
|
415
|
+
minHeight: string;
|
|
416
|
+
flex: {
|
|
417
|
+
md: string;
|
|
418
|
+
};
|
|
419
|
+
maxWidth: {
|
|
420
|
+
md: string;
|
|
421
|
+
};
|
|
422
|
+
position: {
|
|
423
|
+
md: string;
|
|
424
|
+
};
|
|
425
|
+
top: {
|
|
426
|
+
md: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
a: {
|
|
430
|
+
color: string;
|
|
431
|
+
display: string;
|
|
432
|
+
};
|
|
433
|
+
img: {
|
|
434
|
+
flex: {
|
|
435
|
+
base: string;
|
|
436
|
+
md: string;
|
|
437
|
+
};
|
|
438
|
+
minWidth: string;
|
|
439
|
+
objectFit: string;
|
|
440
|
+
width: string;
|
|
441
|
+
height: {
|
|
442
|
+
md: string;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
interior: {
|
|
446
|
+
flex: {
|
|
447
|
+
base: string;
|
|
448
|
+
md: string;
|
|
449
|
+
};
|
|
450
|
+
padding: string;
|
|
451
|
+
maxWidth: {
|
|
452
|
+
md: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
fiftyfifty: {
|
|
457
|
+
content: {
|
|
458
|
+
alignItems: string;
|
|
459
|
+
display: string;
|
|
460
|
+
flexFlow: {
|
|
461
|
+
base: string;
|
|
462
|
+
lg: string;
|
|
463
|
+
};
|
|
464
|
+
paddingBottom: string;
|
|
465
|
+
paddingRight: string;
|
|
466
|
+
paddingLeft: string;
|
|
467
|
+
padding: {
|
|
468
|
+
lg: string;
|
|
469
|
+
};
|
|
470
|
+
marginY: string;
|
|
471
|
+
marginX: string;
|
|
472
|
+
maxWidth: string;
|
|
473
|
+
paddingTop: string;
|
|
474
|
+
width: string;
|
|
475
|
+
};
|
|
476
|
+
img: {
|
|
477
|
+
marginBottom: {
|
|
478
|
+
base: string;
|
|
479
|
+
lg: string;
|
|
480
|
+
};
|
|
481
|
+
marginRight: {
|
|
482
|
+
lg: string;
|
|
483
|
+
};
|
|
484
|
+
maxWidth: {
|
|
485
|
+
base: string;
|
|
486
|
+
lg: string;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
export default Hero;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const Label: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: {
|
|
4
|
+
marginBottom: string;
|
|
5
|
+
alignItems: string;
|
|
6
|
+
display: string;
|
|
7
|
+
fontWeight: string;
|
|
8
|
+
justifyContent: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
helper: {
|
|
11
|
+
fontWeight: string;
|
|
12
|
+
fontSize: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default Label;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const Link: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
color: string;
|
|
4
|
+
textDecoration: string;
|
|
5
|
+
_hover: {
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
variants: {
|
|
10
|
+
link: {};
|
|
11
|
+
moreLink: {
|
|
12
|
+
alignItems: string;
|
|
13
|
+
display: string;
|
|
14
|
+
svg: {
|
|
15
|
+
height: string;
|
|
16
|
+
width: string;
|
|
17
|
+
textDecoration: string;
|
|
18
|
+
fill: string;
|
|
19
|
+
};
|
|
20
|
+
_hover: {
|
|
21
|
+
textDecoration: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
button: {
|
|
25
|
+
width: string;
|
|
26
|
+
borderRadius: string;
|
|
27
|
+
lineHeight: string;
|
|
28
|
+
display: string;
|
|
29
|
+
cursor: string;
|
|
30
|
+
color: string;
|
|
31
|
+
justifyContent: string;
|
|
32
|
+
py: string;
|
|
33
|
+
px: string;
|
|
34
|
+
textDecoration: string;
|
|
35
|
+
fontWeight: number;
|
|
36
|
+
bg: string;
|
|
37
|
+
_hover: {
|
|
38
|
+
color: string;
|
|
39
|
+
bg: string;
|
|
40
|
+
textDecoration: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default Link;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
declare const Radio: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: {
|
|
4
|
+
control: {
|
|
5
|
+
verticalAlign: string;
|
|
6
|
+
transitionProperty: string;
|
|
7
|
+
transitionDuration: string;
|
|
8
|
+
border: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
borderColor: string;
|
|
11
|
+
color: string;
|
|
12
|
+
outline: string;
|
|
13
|
+
_checked: {
|
|
14
|
+
bg: string;
|
|
15
|
+
borderColor: string;
|
|
16
|
+
color: string;
|
|
17
|
+
_disabled: {
|
|
18
|
+
color: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
bg: string;
|
|
21
|
+
_before: {
|
|
22
|
+
bg: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
_invalid: {
|
|
26
|
+
_hover: {
|
|
27
|
+
borderColor: string;
|
|
28
|
+
};
|
|
29
|
+
_before: {
|
|
30
|
+
borderColor: string;
|
|
31
|
+
bg: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
_hover: {
|
|
35
|
+
bg: string;
|
|
36
|
+
};
|
|
37
|
+
_before: {
|
|
38
|
+
content: string;
|
|
39
|
+
display: string;
|
|
40
|
+
w: string;
|
|
41
|
+
h: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
bg: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
_disabled: {
|
|
47
|
+
borderColor: string;
|
|
48
|
+
bg: string;
|
|
49
|
+
};
|
|
50
|
+
_focus: {
|
|
51
|
+
boxShadow: string;
|
|
52
|
+
borderColor: string;
|
|
53
|
+
};
|
|
54
|
+
_invalid: {
|
|
55
|
+
borderColor: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
label: {
|
|
59
|
+
userSelect: string;
|
|
60
|
+
fontSize: string;
|
|
61
|
+
fontWeight: string;
|
|
62
|
+
marginBottom: string;
|
|
63
|
+
marginLeft: string;
|
|
64
|
+
verticalAlign: string;
|
|
65
|
+
_disabled: {
|
|
66
|
+
color: string;
|
|
67
|
+
opacity: number;
|
|
68
|
+
fontStyle: string;
|
|
69
|
+
};
|
|
70
|
+
_invalid: {
|
|
71
|
+
color: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
helper: {
|
|
75
|
+
marginLeft: string;
|
|
76
|
+
_disabled: {
|
|
77
|
+
fontStyle: string;
|
|
78
|
+
};
|
|
79
|
+
marginTop: string;
|
|
80
|
+
marginBottom: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
sizes: {
|
|
84
|
+
md: {
|
|
85
|
+
control: {
|
|
86
|
+
h: string;
|
|
87
|
+
w: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
defaultProps: {
|
|
92
|
+
size: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export default Radio;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const SearchBar: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: {
|
|
4
|
+
topRow: {
|
|
5
|
+
display: string;
|
|
6
|
+
marginBottom: {
|
|
7
|
+
base: string;
|
|
8
|
+
md: string;
|
|
9
|
+
};
|
|
10
|
+
flexFlow: {
|
|
11
|
+
base: string;
|
|
12
|
+
md: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
button: {
|
|
16
|
+
marginBottom: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default SearchBar;
|