@nypl/design-system-react-components 1.0.4 → 1.0.7
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 +44 -0
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +4 -2
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +4 -2
- package/dist/components/Card/Card.d.ts +7 -3
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +2 -2
- package/dist/components/ComponentWrapper/ComponentWrapper.d.ts +4 -2
- package/dist/components/Fieldset/Fieldset.d.ts +3 -1
- package/dist/components/Form/Form.d.ts +4 -2
- package/dist/components/Grid/SimpleGrid.d.ts +4 -2
- package/dist/components/Heading/Heading.d.ts +4 -2
- package/dist/components/HelperErrorText/HelperErrorText.d.ts +2 -2
- package/dist/components/Hero/Hero.d.ts +4 -2
- package/dist/components/HorizontalRule/HorizontalRule.d.ts +2 -2
- package/dist/components/Icons/Icon.d.ts +5 -3
- package/dist/components/Icons/IconSvgs.d.ts +13 -0
- package/dist/components/Image/Image.d.ts +6 -2
- package/dist/components/Label/Label.d.ts +4 -2
- package/dist/components/Link/Link.d.ts +2 -2
- package/dist/components/List/List.d.ts +4 -2
- package/dist/components/Logo/Logo.d.ts +4 -2
- package/dist/components/Modal/Modal.d.ts +4 -2
- package/dist/components/Notification/Notification.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +2 -2
- package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/components/SearchBar/SearchBar.d.ts +8 -3
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +4 -2
- package/dist/components/SkipNavigation/SkipNavigation.d.ts +4 -2
- package/dist/components/Slider/Slider.d.ts +4 -2
- package/dist/components/StatusBadge/StatusBadge.d.ts +4 -2
- package/dist/components/StructuredContent/StructuredContent.d.ts +4 -2
- package/dist/components/StyleGuide/ColorCard.d.ts +25 -7
- package/dist/components/Table/Table.d.ts +4 -2
- package/dist/components/Tabs/Tabs.d.ts +4 -2
- package/dist/components/Template/Template.d.ts +7 -3
- package/dist/components/Text/Text.d.ts +4 -2
- package/dist/components/TextInput/TextInput.d.ts +1 -1
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +4 -2
- package/dist/design-system-react-components.cjs.development.js +2438 -1834
- 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 +2440 -1837
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/hooks/useCarouselStyles.d.ts +1 -1
- package/dist/hooks/useNYPLBreakpoints.d.ts +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +1 -1
- package/dist/theme/components/breadcrumb.d.ts +3 -3
- package/dist/theme/components/card.d.ts +4 -4
- package/dist/theme/components/checkbox.d.ts +2 -3
- package/dist/theme/components/customTable.d.ts +43 -43
- package/dist/theme/components/global.d.ts +2 -2
- package/dist/theme/components/globalMixins.d.ts +1 -4
- package/dist/theme/components/heading.d.ts +30 -30
- package/dist/theme/components/hero.d.ts +163 -119
- package/dist/theme/components/horizontalRule.d.ts +2 -2
- package/dist/theme/components/icon.d.ts +4762 -4762
- package/dist/theme/components/image.d.ts +42 -42
- package/dist/theme/components/list.d.ts +13 -13
- package/dist/theme/components/notification.d.ts +4 -4
- package/dist/theme/components/radio.d.ts +4 -2
- package/dist/theme/components/select.d.ts +2 -2
- package/dist/theme/components/skeletonLoader.d.ts +1 -1
- package/dist/theme/components/slider.d.ts +6 -6
- package/dist/theme/components/structuredContent.d.ts +33 -33
- package/dist/theme/components/tabs.d.ts +9 -9
- package/dist/theme/components/template.d.ts +7 -7
- package/dist/theme/components/toggle.d.ts +2 -2
- package/package.json +13 -14
|
@@ -26,8 +26,8 @@ declare const _default: {
|
|
|
26
26
|
baseStyle: {
|
|
27
27
|
width: string;
|
|
28
28
|
marginBottom: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
marginEnd: string;
|
|
30
|
+
marginStart: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
TemplateContent: {
|
|
@@ -39,8 +39,8 @@ declare const _default: {
|
|
|
39
39
|
maxWidth: string;
|
|
40
40
|
paddingTop: number;
|
|
41
41
|
paddingBottom: number;
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
paddingEnd: string;
|
|
43
|
+
paddingStart: string;
|
|
44
44
|
width: string;
|
|
45
45
|
};
|
|
46
46
|
variants: {
|
|
@@ -69,7 +69,7 @@ declare const _default: {
|
|
|
69
69
|
display: string;
|
|
70
70
|
flexFlow: string;
|
|
71
71
|
order: string;
|
|
72
|
-
|
|
72
|
+
marginEnd: {
|
|
73
73
|
md: number;
|
|
74
74
|
};
|
|
75
75
|
minWidth: {
|
|
@@ -91,13 +91,13 @@ declare const _default: {
|
|
|
91
91
|
};
|
|
92
92
|
variants: {
|
|
93
93
|
left: {
|
|
94
|
-
|
|
94
|
+
marginEnd: {
|
|
95
95
|
base: number;
|
|
96
96
|
md: string;
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
right: {
|
|
100
|
-
|
|
100
|
+
marginStart: {
|
|
101
101
|
base: number;
|
|
102
102
|
md: string;
|
|
103
103
|
};
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
width: string;
|
|
14
14
|
};
|
|
15
15
|
helperErrorText: {
|
|
16
|
-
|
|
16
|
+
marginStart: string;
|
|
17
17
|
fontStyle: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -60,7 +60,7 @@ declare const _default: {
|
|
|
60
60
|
};
|
|
61
61
|
label: {
|
|
62
62
|
fontSize: string;
|
|
63
|
-
|
|
63
|
+
marginStart: string;
|
|
64
64
|
marginTop: string;
|
|
65
65
|
_disabled: {
|
|
66
66
|
color: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nypl/design-system-react-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "NYPL Reservoir Design System React Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@babel/core": "7.14.6",
|
|
82
82
|
"@chakra-ui/storybook-addon": "1.0.3",
|
|
83
|
-
"@
|
|
83
|
+
"@jest/core": "27.3.1",
|
|
84
84
|
"@size-limit/preset-small-lib": "5.0.1",
|
|
85
|
-
"@storybook/addon-a11y": "6.5.
|
|
86
|
-
"@storybook/addon-actions": "6.5.
|
|
87
|
-
"@storybook/addon-docs": "6.5.
|
|
88
|
-
"@storybook/addon-essentials": "6.5.
|
|
89
|
-
"@storybook/addon-jest": "6.5.
|
|
90
|
-
"@storybook/addon-links": "6.5.
|
|
91
|
-
"@storybook/addons": "6.5.
|
|
92
|
-
"@storybook/react": "6.5.
|
|
93
|
-
"@svgr/rollup": "
|
|
85
|
+
"@storybook/addon-a11y": "6.5.9",
|
|
86
|
+
"@storybook/addon-actions": "6.5.9",
|
|
87
|
+
"@storybook/addon-docs": "6.5.9",
|
|
88
|
+
"@storybook/addon-essentials": "6.5.9",
|
|
89
|
+
"@storybook/addon-jest": "6.5.9",
|
|
90
|
+
"@storybook/addon-links": "6.5.9",
|
|
91
|
+
"@storybook/addons": "6.5.9",
|
|
92
|
+
"@storybook/react": "6.5.9",
|
|
93
|
+
"@svgr/rollup": "6.2.1",
|
|
94
94
|
"@svgr/webpack": "5.5.0",
|
|
95
95
|
"@testing-library/jest-dom": "5.14.1",
|
|
96
96
|
"@testing-library/react": "12.0.0",
|
|
@@ -98,14 +98,13 @@
|
|
|
98
98
|
"@testing-library/user-event": "13.2.1",
|
|
99
99
|
"@types/jest": "26.0.20",
|
|
100
100
|
"@types/jest-axe": "3.5.3",
|
|
101
|
-
"@types/jsdom": "
|
|
101
|
+
"@types/jsdom": "16.2.4",
|
|
102
102
|
"@types/node": "12.7.12",
|
|
103
103
|
"@types/react": "16.14.21",
|
|
104
104
|
"@types/testing-library__jest-dom": "5.14.1",
|
|
105
105
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
106
106
|
"@typescript-eslint/parser": "4.33.0",
|
|
107
107
|
"autoprefixer": "9.8.8",
|
|
108
|
-
"babel-loader": "8.2.2",
|
|
109
108
|
"breakpoint-sass": "2.7.1",
|
|
110
109
|
"css-loader": "5.2.7",
|
|
111
110
|
"cssnano": "5.0.7",
|
|
@@ -120,7 +119,7 @@
|
|
|
120
119
|
"import-glob-loader": "1.1.0",
|
|
121
120
|
"jest": "27.3.1",
|
|
122
121
|
"jest-axe": "5.0.1",
|
|
123
|
-
"jsdom": "
|
|
122
|
+
"jsdom": "16.5.0",
|
|
124
123
|
"lint-staged": "10.5.4",
|
|
125
124
|
"node-sass-glob-importer": "5.3.2",
|
|
126
125
|
"normalize.css": "8.0.1",
|