@nypl/design-system-react-components 1.1.1 → 1.2.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.
Files changed (33) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +3 -0
  2. package/dist/components/AlphabetFilter/AlphabetFilter.d.ts +23 -0
  3. package/dist/components/AudioPlayer/AudioPlayer.d.ts +43 -0
  4. package/dist/components/Button/Button.d.ts +3 -0
  5. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +2 -0
  6. package/dist/components/ComponentWrapper/ComponentWrapper.d.ts +1 -1
  7. package/dist/components/Icons/Icon.d.ts +1 -1
  8. package/dist/components/Logo/Logo.d.ts +1 -1
  9. package/dist/components/Logo/LogoSvgs.d.ts +1 -0
  10. package/dist/components/Slider/Slider.d.ts +2 -0
  11. package/dist/components/TagSet/TagSet.d.ts +32 -0
  12. package/dist/components/TagSet/TagSetExplore.d.ts +27 -0
  13. package/dist/components/TagSet/TagSetFilter.d.ts +26 -0
  14. package/dist/design-system-react-components.cjs.development.js +1492 -781
  15. package/dist/design-system-react-components.cjs.development.js.map +1 -1
  16. package/dist/design-system-react-components.cjs.production.min.js +1 -1
  17. package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
  18. package/dist/design-system-react-components.esm.js +1493 -784
  19. package/dist/design-system-react-components.esm.js.map +1 -1
  20. package/dist/index.d.ts +2 -0
  21. package/dist/theme/components/alphabetFilter.d.ts +32 -0
  22. package/dist/theme/components/audioPlayer.d.ts +9 -0
  23. package/dist/theme/components/button.d.ts +24 -102
  24. package/dist/theme/components/customTable.d.ts +8 -0
  25. package/dist/theme/components/header/headerSearchButton.d.ts +1 -2
  26. package/dist/theme/components/header/headerSearchForm.d.ts +5 -0
  27. package/dist/theme/components/icon.d.ts +15144 -648
  28. package/dist/theme/components/tagSet.d.ts +115 -0
  29. package/dist/theme/components/tooltip.d.ts +1 -0
  30. package/dist/theme/foundations/radii.d.ts +4 -0
  31. package/dist/theme/foundations/spacing.d.ts +14 -0
  32. package/package.json +2 -1
  33. package/CHANGELOG.md +0 -1611
@@ -0,0 +1,115 @@
1
+ declare const _default: {
2
+ TagSet: {
3
+ baseStyle: () => {
4
+ display: string;
5
+ flexWrap: string;
6
+ gap: string;
7
+ };
8
+ };
9
+ TagSetExplore: {
10
+ baseStyle: {
11
+ display: string;
12
+ alignItems: string;
13
+ justifyContent: string;
14
+ bg: string;
15
+ border: string;
16
+ borderColor: string;
17
+ borderRadius: string;
18
+ color: string;
19
+ cursor: string;
20
+ fontSize: string;
21
+ height: {
22
+ base: string;
23
+ md: string;
24
+ };
25
+ minHeight: string;
26
+ maxWidth: string;
27
+ py: string;
28
+ px: string;
29
+ textDecoration: string;
30
+ transition: string;
31
+ _focusWithin: {
32
+ boxShadow: string;
33
+ outline: string;
34
+ outlineOffset: string;
35
+ outlineColor: string;
36
+ zIndex: string;
37
+ };
38
+ a: {
39
+ border: string;
40
+ _focus: {
41
+ outline: string;
42
+ };
43
+ };
44
+ "> span": {
45
+ display: string;
46
+ overflow: string;
47
+ textOverflow: string;
48
+ whiteSpace: string;
49
+ };
50
+ svg: {
51
+ fill: string;
52
+ };
53
+ _hover: {
54
+ bg: string;
55
+ a: {
56
+ color: string;
57
+ };
58
+ svg: {
59
+ fill: string;
60
+ };
61
+ "> span": {
62
+ color: string;
63
+ };
64
+ };
65
+ };
66
+ };
67
+ TagSetFilter: {
68
+ parts: string[];
69
+ baseStyle: ({ isDismissible }: {
70
+ isDismissible: boolean;
71
+ }) => {
72
+ display: string;
73
+ alignItems: string;
74
+ justifyContent: string;
75
+ bg: string;
76
+ border: string;
77
+ borderColor: string;
78
+ borderRadius: string;
79
+ color: string;
80
+ cursor: string;
81
+ height: {
82
+ base: string;
83
+ md: string;
84
+ };
85
+ minHeight: string;
86
+ maxWidth: string;
87
+ py: string;
88
+ paddingLeft: string;
89
+ paddingRight: string | {
90
+ base: string;
91
+ md: string;
92
+ };
93
+ fontSize: string;
94
+ "> span": {
95
+ display: string;
96
+ overflow: string;
97
+ textOverflow: string;
98
+ whiteSpace: string;
99
+ };
100
+ _hover: {
101
+ bg: string;
102
+ };
103
+ clearAll: {
104
+ color: string;
105
+ height: {
106
+ base: string;
107
+ md: string;
108
+ };
109
+ fontSize: string;
110
+ minHeight: string;
111
+ };
112
+ };
113
+ };
114
+ };
115
+ export default _default;
@@ -2,6 +2,7 @@ declare const Tooltip: {
2
2
  baseStyle: {
3
3
  [x: string]: string;
4
4
  borderRadius: string;
5
+ boxShadow: string;
5
6
  color: string;
6
7
  fontSize: string;
7
8
  marginBottom: string;
@@ -1,4 +1,8 @@
1
1
  declare const radii: {
2
+ button: {
3
+ default: string;
4
+ pill: string;
5
+ };
2
6
  checkbox: string;
3
7
  headerDonate: string;
4
8
  pill: string;
@@ -8,6 +8,20 @@ export declare const spacing: {
8
8
  xl: string;
9
9
  xxl: string;
10
10
  xxxl: string;
11
+ button: {
12
+ small: {
13
+ px: string;
14
+ py: string;
15
+ };
16
+ medium: {
17
+ px: string;
18
+ py: string;
19
+ };
20
+ large: {
21
+ px: string;
22
+ py: string;
23
+ };
24
+ };
11
25
  input: {
12
26
  group: {
13
27
  button: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "1.1.1",
3
+ "version": "1.2.0-rc",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,6 +62,7 @@
62
62
  "@charlietango/use-native-lazy-loading": "1.10.0",
63
63
  "@emotion/react": ">=11.4.1",
64
64
  "@emotion/styled": ">=11.3.0",
65
+ "downshift": "^6.1.7",
65
66
  "framer-motion": "^4.1.17",
66
67
  "js-cookie": "3.0.1",
67
68
  "react-datepicker": "4.1.1",