@nypl/design-system-react-components 1.1.0 → 1.1.1
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 +14 -0
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/design-system-react-components.cjs.development.js +31 -12
- 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 +31 -12
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/theme/components/button.d.ts +19 -7
- package/dist/theme/components/header/headerSearchButton.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ declare const Button: {
|
|
|
5
5
|
display: string;
|
|
6
6
|
cursor: string;
|
|
7
7
|
color: string;
|
|
8
|
+
fontWeight: string;
|
|
8
9
|
height: string;
|
|
9
10
|
justifyContent: string;
|
|
10
11
|
lineHeight: string;
|
|
@@ -17,7 +18,6 @@ declare const Button: {
|
|
|
17
18
|
px: string;
|
|
18
19
|
textDecoration: string;
|
|
19
20
|
wordWrap: string;
|
|
20
|
-
fontWeight: string;
|
|
21
21
|
svg: {
|
|
22
22
|
fill: string;
|
|
23
23
|
};
|
|
@@ -30,16 +30,16 @@ declare const Button: {
|
|
|
30
30
|
_disabled: {
|
|
31
31
|
bg: string;
|
|
32
32
|
color: string;
|
|
33
|
-
pointerEvents: string;
|
|
34
33
|
opacity: string;
|
|
34
|
+
pointerEvents: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
variants: {
|
|
38
38
|
primary: {
|
|
39
39
|
bg: string;
|
|
40
|
-
minWidth: string;
|
|
41
40
|
height: string;
|
|
42
41
|
fontSize: string;
|
|
42
|
+
minWidth: string;
|
|
43
43
|
};
|
|
44
44
|
secondary: {
|
|
45
45
|
bg: string;
|
|
@@ -55,10 +55,22 @@ declare const Button: {
|
|
|
55
55
|
bg: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
+
text: {
|
|
59
|
+
bg: string;
|
|
60
|
+
color: string;
|
|
61
|
+
fontSize: string;
|
|
62
|
+
_disabled: {
|
|
63
|
+
bg: string;
|
|
64
|
+
};
|
|
65
|
+
_hover: {
|
|
66
|
+
bg: string;
|
|
67
|
+
color: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
58
70
|
link: {
|
|
59
71
|
bg: string;
|
|
60
|
-
lineHeight: string;
|
|
61
72
|
color: string;
|
|
73
|
+
lineHeight: string;
|
|
62
74
|
textDecoration: string;
|
|
63
75
|
_disabled: {
|
|
64
76
|
bg: string;
|
|
@@ -72,11 +84,11 @@ declare const Button: {
|
|
|
72
84
|
bg: string;
|
|
73
85
|
border: string;
|
|
74
86
|
borderColor: string;
|
|
75
|
-
color: string;
|
|
76
87
|
borderRadius: string;
|
|
88
|
+
color: string;
|
|
89
|
+
fontSize: string;
|
|
77
90
|
py: string;
|
|
78
91
|
px: string;
|
|
79
|
-
fontSize: string;
|
|
80
92
|
_hover: {
|
|
81
93
|
bg: string;
|
|
82
94
|
borderColor: string;
|
|
@@ -113,9 +125,9 @@ declare const Button: {
|
|
|
113
125
|
_hover: {
|
|
114
126
|
bg: string;
|
|
115
127
|
};
|
|
116
|
-
minWidth: string;
|
|
117
128
|
height: string;
|
|
118
129
|
fontSize: string;
|
|
130
|
+
minWidth: string;
|
|
119
131
|
};
|
|
120
132
|
};
|
|
121
133
|
defaultProps: {
|