@nypl/design-system-react-components 1.1.0 → 1.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.
@@ -5,19 +5,11 @@ declare const Button: {
5
5
  display: string;
6
6
  cursor: string;
7
7
  color: string;
8
- height: string;
8
+ fontWeight: string;
9
9
  justifyContent: string;
10
10
  lineHeight: string;
11
- maxHeight: string;
12
- minHeight: {
13
- base: string;
14
- md: string;
15
- };
16
- py: string;
17
- px: string;
18
11
  textDecoration: string;
19
12
  wordWrap: string;
20
- fontWeight: string;
21
13
  svg: {
22
14
  fill: string;
23
15
  };
@@ -30,93 +22,35 @@ declare const Button: {
30
22
  _disabled: {
31
23
  bg: string;
32
24
  color: string;
33
- pointerEvents: string;
34
25
  opacity: string;
26
+ pointerEvents: string;
35
27
  };
36
28
  };
37
29
  variants: {
38
- primary: {
39
- bg: string;
40
- minWidth: string;
41
- height: string;
42
- fontSize: string;
43
- };
44
- secondary: {
45
- bg: string;
46
- border: string;
47
- borderColor: string;
48
- color: string;
49
- fontSize: string;
50
- _hover: {
51
- bg: string;
52
- borderColor: string;
53
- };
54
- _disabled: {
55
- bg: string;
56
- };
57
- };
58
- link: {
59
- bg: string;
60
- lineHeight: string;
61
- color: string;
62
- textDecoration: string;
63
- _disabled: {
64
- bg: string;
65
- };
66
- _hover: {
67
- bg: string;
68
- color: string;
69
- };
70
- };
71
- pill: {
72
- bg: string;
73
- border: string;
74
- borderColor: string;
75
- color: string;
76
- borderRadius: string;
77
- py: string;
78
- px: string;
79
- fontSize: string;
80
- _hover: {
81
- bg: string;
82
- borderColor: string;
83
- };
84
- _disabled: {
85
- bg: string;
86
- };
87
- };
88
- iconOnly: {
89
- bg: string;
90
- border: string;
91
- borderColor: string;
92
- color: string;
93
- _hover: {
94
- bg: string;
95
- borderColor: string;
96
- };
97
- paddingInlineStart: string;
98
- paddingInlineEnd: string;
99
- };
100
- callout: {
101
- bg: string;
102
- fontSize: string;
103
- _hover: {
104
- bg: string;
105
- };
106
- _active: {
107
- bg: string;
108
- };
109
- };
110
- noBrand: {
111
- bg: string;
112
- color: string;
113
- _hover: {
114
- bg: string;
115
- };
116
- minWidth: string;
117
- height: string;
118
- fontSize: string;
119
- };
30
+ primary: ({ buttonSize }: {
31
+ buttonSize?: string;
32
+ }) => any;
33
+ secondary: ({ buttonSize }: {
34
+ buttonSize?: string;
35
+ }) => any;
36
+ text: ({ buttonSize }: {
37
+ buttonSize?: string;
38
+ }) => any;
39
+ link: ({ buttonSize }: {
40
+ buttonSize?: string;
41
+ }) => any;
42
+ pill: ({ buttonSize }: {
43
+ buttonSize?: string;
44
+ }) => any;
45
+ iconOnly: ({ buttonSize }: {
46
+ buttonSize?: string;
47
+ }) => any;
48
+ callout: ({ buttonSize }: {
49
+ buttonSize?: string;
50
+ }) => any;
51
+ noBrand: ({ buttonSize }: {
52
+ buttonSize?: string;
53
+ }) => any;
120
54
  };
121
55
  defaultProps: {
122
56
  variant: string;
@@ -245,6 +245,10 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
245
245
  base: string;
246
246
  md: string;
247
247
  };
248
+ verticalAlign: string;
249
+ };
250
+ td: {
251
+ verticalAlign: string;
248
252
  };
249
253
  };
250
254
  thead: {
@@ -437,6 +441,10 @@ declare const CustomTable: {
437
441
  base: string;
438
442
  md: string;
439
443
  };
444
+ verticalAlign: string;
445
+ };
446
+ td: {
447
+ verticalAlign: string;
440
448
  };
441
449
  };
442
450
  thead: {
@@ -28,7 +28,7 @@ declare const HeaderSearchButton: {
28
28
  base: string;
29
29
  md: string;
30
30
  };
31
- color: {
31
+ fill: {
32
32
  base: string;
33
33
  md: string;
34
34
  };
@@ -94,11 +94,15 @@ declare const HeaderSearchForm: {
94
94
  desktopSearchBtn: {
95
95
  alignSelf: string;
96
96
  backgroundColor: string;
97
+ borderColor: string;
97
98
  borderRadius: string;
98
99
  borderWidth: string;
99
100
  height: string;
100
101
  maxHeight: string;
101
102
  width: string;
103
+ svg: {
104
+ marginTop: string;
105
+ };
102
106
  _focus: {
103
107
  borderRadius: string;
104
108
  outlineColor: string;
@@ -147,6 +151,7 @@ declare const HeaderSearchForm: {
147
151
  display: string;
148
152
  fontSize: string;
149
153
  flex: string;
154
+ justifyContent: string;
150
155
  padding: string;
151
156
  svg: {
152
157
  fill: string;
@@ -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;
@@ -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.0",
3
+ "version": "1.1.2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",