@nypl/design-system-react-components 2.1.0 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@chakra-ui/focus-lock": ">=1.2.6 <2.0.0",
60
- "@chakra-ui/react": ">=1.8.5 <=1.8.8",
60
+ "@chakra-ui/react": ">=1.8.5 <=1.8.9",
61
61
  "@chakra-ui/system": ">=1.11.0 <=1.12.1",
62
62
  "@charlietango/use-native-lazy-loading": "1.10.0",
63
63
  "@emotion/react": "11.4.1",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@chakra-ui/focus-lock": ">=1.2.6 <2.0.0",
76
- "@chakra-ui/react": ">=1.8.5 <=1.8.8",
76
+ "@chakra-ui/react": ">=1.8.5 <=1.8.9",
77
77
  "@chakra-ui/system": ">=1.11.0 <=1.12.1",
78
78
  "@emotion/react": "11.4.1",
79
79
  "@emotion/styled": "11.3.0",
@@ -87,15 +87,15 @@
87
87
  "@jest/core": "27.3.1",
88
88
  "@rollup/plugin-commonjs": "24.0.1",
89
89
  "@rollup/plugin-typescript": "11.0.0",
90
- "@storybook/addon-a11y": "7.0.18",
91
- "@storybook/addon-essentials": "7.0.18",
92
- "@storybook/addon-interactions": "7.0.18",
93
- "@storybook/addon-jest": "7.0.18",
94
- "@storybook/addon-links": "7.0.18",
95
- "@storybook/blocks": "7.0.18",
96
- "@storybook/react": "7.0.18",
97
- "@storybook/react-vite": "7.0.18",
98
- "@storybook/testing-library": "0.1.0",
90
+ "@storybook/addon-a11y": "7.5.1",
91
+ "@storybook/addon-essentials": "7.5.1",
92
+ "@storybook/addon-interactions": "7.5.1",
93
+ "@storybook/addon-jest": "7.5.1",
94
+ "@storybook/addon-links": "7.5.1",
95
+ "@storybook/blocks": "7.5.1",
96
+ "@storybook/react": "7.5.1",
97
+ "@storybook/react-vite": "7.5.1",
98
+ "@storybook/testing-library": "0.2.2",
99
99
  "@svgr/webpack": "5.5.0",
100
100
  "@testing-library/dom": "9.2.0",
101
101
  "@testing-library/jest-dom": "5.14.1",
@@ -133,7 +133,7 @@
133
133
  "remark-gfm": "3.0.1",
134
134
  "sass": "1.60.0",
135
135
  "sass-loader": "10.0.0",
136
- "storybook": "7.0.18",
136
+ "storybook": "7.5.1",
137
137
  "storybook-addon-designs": "7.0.0-beta.2",
138
138
  "style-loader": "2.0.0",
139
139
  "ts-jest": "29.0.5",
@@ -1,8 +0,0 @@
1
- import { SectionTypes } from "./types";
2
- type ColorSection = {
3
- primary: string;
4
- secondary: string | null;
5
- };
6
- type ColorVal = string;
7
- export declare function getSectionColors(type: SectionTypes, colorVal?: "primary" | "secondary"): ColorSection | ColorVal;
8
- export {};