@nypl/design-system-react-components 3.4.0 → 3.4.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.
@@ -151,6 +151,7 @@ declare const Link: {
151
151
  base: {
152
152
  alignItems: string;
153
153
  display: string;
154
+ whiteSpace: string;
154
155
  svg: {
155
156
  height: string;
156
157
  width: string;
@@ -1,11 +1,12 @@
1
- import { ProgressIndicatorSizes } from "../../components/ProgressIndicator/ProgressIndicator";
1
+ import { ProgressIndicatorLabelPlacements, ProgressIndicatorSizes } from "../../components/ProgressIndicator/ProgressIndicator";
2
2
  import { StyleFunctionProps } from "@chakra-ui/system";
3
3
  interface ProgressIndicatorBaseStyle extends StyleFunctionProps {
4
4
  darkMode: boolean;
5
5
  size: ProgressIndicatorSizes;
6
+ labelPlacement: ProgressIndicatorLabelPlacements;
6
7
  }
7
8
  declare const ProgressIndicator: {
8
- baseStyle?: ({ darkMode, size }: ProgressIndicatorBaseStyle) => {
9
+ baseStyle?: ({ darkMode, size, labelPlacement }: ProgressIndicatorBaseStyle) => {
9
10
  color: string;
10
11
  fontSize: string;
11
12
  _dark: {
@@ -35,9 +36,16 @@ declare const ProgressIndicator: {
35
36
  circularContainer: {
36
37
  alignItems: string;
37
38
  display: string;
38
- flexDirection: string;
39
+ flexDirection: any;
39
40
  width: string;
40
41
  };
42
+ circularLabel: {
43
+ marginBottom: string | number;
44
+ marginLeft: string | number;
45
+ marginRight: string | number;
46
+ marginTop: string | number;
47
+ fontSize: string;
48
+ };
41
49
  linear: {
42
50
  "> div": {
43
51
  bg: string;
@@ -63,10 +63,6 @@ declare const SearchBar: {
63
63
  md: "255px";
64
64
  };
65
65
  textOverflow: string;
66
- marginRight: {
67
- base: any;
68
- md: "-1px";
69
- };
70
66
  _hover: {
71
67
  zIndex: string;
72
68
  "+ .chakra-select__icon-wrapper": {
@@ -167,6 +167,30 @@ declare const StructuredContent: {
167
167
  width: string;
168
168
  };
169
169
  };
170
+ heading7: {
171
+ base: {
172
+ fontSize: {
173
+ base: "mobile.heading.heading7";
174
+ md: "desktop.heading.heading7";
175
+ };
176
+ fontWeight: string;
177
+ letterSpacing: string;
178
+ lineHeight: string;
179
+ width: string;
180
+ };
181
+ };
182
+ heading8: {
183
+ base: {
184
+ fontSize: {
185
+ base: "mobile.heading.heading8";
186
+ md: "desktop.heading.heading8";
187
+ };
188
+ fontWeight: string;
189
+ letterSpacing: string;
190
+ lineHeight: string;
191
+ width: string;
192
+ };
193
+ };
170
194
  imageFigure: {
171
195
  marginBottom: string;
172
196
  maxWidth?: string;
@@ -348,7 +372,10 @@ declare const StructuredContent: {
348
372
  zIndex: string;
349
373
  _dark: {
350
374
  backgroundColor: string;
351
- borderRight: string;
375
+ borderRight: string | {
376
+ base: any;
377
+ md: string;
378
+ };
352
379
  };
353
380
  };
354
381
  _dark: {
@@ -356,10 +383,7 @@ declare const StructuredContent: {
356
383
  };
357
384
  border: string;
358
385
  borderBottom: string;
359
- borderColor: string | {
360
- base: string;
361
- md: string;
362
- };
386
+ borderColor: string;
363
387
  display: {
364
388
  base: string;
365
389
  md: string;
@@ -382,10 +406,7 @@ declare const StructuredContent: {
382
406
  };
383
407
  _last: {
384
408
  borderBottom: string;
385
- borderColor: string | {
386
- base: string;
387
- md: string;
388
- };
409
+ borderColor: string;
389
410
  };
390
411
  "> span": {
391
412
  flexBasis: string;
@@ -417,14 +438,10 @@ declare const StructuredContent: {
417
438
  base: number;
418
439
  md: string;
419
440
  };
420
- borderColor: string;
421
441
  };
422
442
  border: string;
423
443
  borderBottom: string;
424
- borderColor: string | {
425
- base: string;
426
- md: string;
427
- };
444
+ borderColor: string;
428
445
  display: {
429
446
  base: string;
430
447
  md: string;
@@ -447,9 +464,9 @@ declare const StructuredContent: {
447
464
  md: string;
448
465
  };
449
466
  _first: {
450
- borderBottom: string | {
451
- base: string;
452
- md: string;
467
+ borderBottom: string;
468
+ _dark: {
469
+ borderBottom: string;
453
470
  };
454
471
  };
455
472
  "> span": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,16 +79,16 @@
79
79
  "@jest/core": "29.7.0",
80
80
  "@rollup/plugin-commonjs": "24.0.1",
81
81
  "@rollup/plugin-typescript": "11.0.0",
82
- "@storybook/addon-a11y": "8.1.11",
82
+ "@storybook/addon-a11y": "8.3.6",
83
83
  "@storybook/addon-designs": "8.0.2",
84
- "@storybook/addon-essentials": "8.1.11",
85
- "@storybook/addon-interactions": "8.1.11",
84
+ "@storybook/addon-essentials": "8.3.6",
85
+ "@storybook/addon-interactions": "8.3.6",
86
86
  "@storybook/addon-jest": "8.1.11",
87
87
  "@storybook/addon-links": "8.1.11",
88
- "@storybook/blocks": "8.1.11",
89
- "@storybook/react": "8.1.11",
90
- "@storybook/react-vite": "8.1.11",
91
- "@storybook/test": "8.1.11",
88
+ "@storybook/blocks": "8.3.6",
89
+ "@storybook/react": "8.3.6",
90
+ "@storybook/react-vite": "8.3.6",
91
+ "@storybook/test": "8.3.6",
92
92
  "@testing-library/dom": "9.2.0",
93
93
  "@testing-library/jest-dom": "5.14.1",
94
94
  "@testing-library/react": "12.0.0",
@@ -102,7 +102,6 @@
102
102
  "@typescript-eslint/eslint-plugin": "5.57.0",
103
103
  "@typescript-eslint/parser": "5.57.0",
104
104
  "@vitejs/plugin-react": "4.2.1",
105
- "css-loader": "5.2.7",
106
105
  "eslint": "7.31.0",
107
106
  "eslint-config-prettier": "8.8.0",
108
107
  "eslint-plugin-jsx-a11y": "6.7.1",
@@ -120,18 +119,15 @@
120
119
  "prop-types": "15.8.1",
121
120
  "react": "18.2.0",
122
121
  "react-autosuggest": "10.0.2",
123
- "react-docgen-typescript-loader": "3.7.2",
124
122
  "react-dom": "18.2.0",
125
123
  "react-test-renderer": "18.2.0",
126
124
  "remark-gfm": "4.0.0",
127
125
  "sass": "1.60.0",
128
- "sass-loader": "10.0.0",
129
- "storybook": "8.1.11",
130
- "style-loader": "2.0.0",
126
+ "storybook": "8.3.6",
131
127
  "ts-jest": "29.1.5",
132
128
  "tslib": "2.3.0",
133
129
  "typescript": "4.9.5",
134
- "vite": "5.2.8",
130
+ "vite": "5.2.14",
135
131
  "vite-plugin-dts": "2.1.0",
136
132
  "vite-plugin-svgr": "4.2.0"
137
133
  }