@nypl/design-system-react-components 1.2.1 → 1.2.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/CHANGELOG.md +19 -0
- package/dist/components/SearchBar/SearchBar.d.ts +1 -0
- package/dist/components/TextInput/TextInput.d.ts +5 -3
- package/dist/design-system-react-components.cjs.development.js +90 -23
- 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 +90 -23
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/theme/components/hero.d.ts +10 -2
- package/dist/theme/components/textInput.d.ts +28 -1
- package/package.json +1 -1
|
@@ -421,14 +421,22 @@ declare const Hero: {
|
|
|
421
421
|
color: string;
|
|
422
422
|
display: string;
|
|
423
423
|
flexFlow: string;
|
|
424
|
-
|
|
424
|
+
px: string;
|
|
425
|
+
py: {
|
|
426
|
+
base: string;
|
|
427
|
+
xl: string;
|
|
428
|
+
};
|
|
425
429
|
p: {
|
|
426
430
|
marginBottom: string;
|
|
427
|
-
marginTop:
|
|
431
|
+
marginTop: {
|
|
432
|
+
base: string;
|
|
433
|
+
xl: string;
|
|
434
|
+
};
|
|
428
435
|
};
|
|
429
436
|
marginY: string;
|
|
430
437
|
marginX: string;
|
|
431
438
|
maxWidth: string;
|
|
439
|
+
padding: string;
|
|
432
440
|
width: string;
|
|
433
441
|
};
|
|
434
442
|
heading: {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare const TextInput: {
|
|
2
2
|
parts: string[];
|
|
3
|
-
baseStyle: {
|
|
3
|
+
baseStyle: ({ showLabel }: {
|
|
4
|
+
showLabel: any;
|
|
5
|
+
}) => {
|
|
6
|
+
position: string;
|
|
4
7
|
input: {
|
|
5
8
|
bgColor: string;
|
|
6
9
|
border: string;
|
|
@@ -101,6 +104,30 @@ declare const TextInput: {
|
|
|
101
104
|
boxShadow: string;
|
|
102
105
|
};
|
|
103
106
|
};
|
|
107
|
+
clearButton: {
|
|
108
|
+
position: string;
|
|
109
|
+
top: string;
|
|
110
|
+
px: string;
|
|
111
|
+
right: string;
|
|
112
|
+
span: {
|
|
113
|
+
clip: string;
|
|
114
|
+
height: {
|
|
115
|
+
base: string;
|
|
116
|
+
md: string;
|
|
117
|
+
};
|
|
118
|
+
overflow: string;
|
|
119
|
+
position: {
|
|
120
|
+
base: string;
|
|
121
|
+
md: string;
|
|
122
|
+
};
|
|
123
|
+
width: {
|
|
124
|
+
base: string;
|
|
125
|
+
md: string;
|
|
126
|
+
};
|
|
127
|
+
wordWrap: string;
|
|
128
|
+
};
|
|
129
|
+
zIndex: string;
|
|
130
|
+
};
|
|
104
131
|
};
|
|
105
132
|
variants: {
|
|
106
133
|
searchBar: {
|