@nypl/design-system-react-components 1.5.4 → 1.6.0-vite-rc-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.
Files changed (205) hide show
  1. package/README.md +24 -40
  2. package/dist/design-system-react-components.cjs +304 -0
  3. package/dist/design-system-react-components.js +42142 -0
  4. package/dist/{components → src/components}/Accordion/Accordion.d.ts +29 -29
  5. package/dist/{components → src/components}/AlphabetFilter/AlphabetFilter.d.ts +23 -23
  6. package/dist/{components → src/components}/AudioPlayer/AudioPlayer.d.ts +43 -43
  7. package/dist/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +24 -18
  8. package/dist/{components → src/components}/Button/Button.d.ts +33 -30
  9. package/dist/{components → src/components}/ButtonGroup/ButtonGroup.d.ts +25 -24
  10. package/dist/{components → src/components}/Card/Card.d.ts +55 -55
  11. package/dist/{components → src/components}/Checkbox/Checkbox.d.ts +47 -47
  12. package/dist/{components → src/components}/CheckboxGroup/CheckboxGroup.d.ts +51 -51
  13. package/dist/{components → src/components}/ComponentWrapper/ComponentWrapper.d.ts +31 -31
  14. package/dist/{components → src/components}/DatePicker/DatePicker.d.ts +82 -81
  15. package/dist/{components → src/components}/FeedbackBox/FeedbackBox.d.ts +64 -63
  16. package/dist/{components → src/components}/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -19
  17. package/dist/{components → src/components}/Fieldset/Fieldset.d.ts +24 -24
  18. package/dist/{components → src/components}/FilterBar/FilterBar.d.ts +61 -111
  19. package/dist/{components → src/components}/Footer/Footer.d.ts +14 -14
  20. package/dist/{components → src/components}/Footer/footerLinks.d.ts +12 -12
  21. package/dist/{components → src/components}/Form/Form.d.ts +31 -31
  22. package/dist/{components → src/components}/Grid/SimpleGrid.d.ts +20 -19
  23. package/dist/{components → src/components}/Header/Header.d.ts +21 -22
  24. package/dist/{components → src/components}/Header/components/HeaderLogin.d.ts +12 -12
  25. package/dist/{components → src/components}/Header/components/HeaderLoginButton.d.ts +10 -11
  26. package/dist/{components → src/components}/Header/components/HeaderLowerNav.d.ts +6 -7
  27. package/dist/{components → src/components}/Header/components/HeaderMobileIconNav.d.ts +6 -7
  28. package/dist/{components → src/components}/Header/components/HeaderMobileNav.d.ts +6 -7
  29. package/dist/{components → src/components}/Header/components/HeaderMobileNavButton.d.ts +6 -7
  30. package/dist/{components → src/components}/Header/components/HeaderSearchButton.d.ts +9 -10
  31. package/dist/{components → src/components}/Header/components/HeaderSearchForm.d.ts +10 -11
  32. package/dist/{components → src/components}/Header/components/HeaderSitewideAlerts.d.ts +7 -8
  33. package/dist/{components → src/components}/Header/components/HeaderUpperNav.d.ts +7 -8
  34. package/dist/{components → src/components}/Header/context/headerContext.d.ts +13 -13
  35. package/dist/{components → src/components}/Header/utils/googleAnalyticsUtils.d.ts +16 -16
  36. package/dist/{components → src/components}/Header/utils/headerUtils.d.ts +94 -94
  37. package/dist/{components → src/components}/Heading/Heading.d.ts +37 -35
  38. package/dist/{components → src/components}/HelperErrorText/HelperErrorText.d.ts +34 -34
  39. package/dist/{components → src/components}/Hero/Hero.d.ts +43 -42
  40. package/dist/{components → src/components}/HorizontalRule/HorizontalRule.d.ts +11 -11
  41. package/dist/{components → src/components}/Icons/Icon.d.ts +40 -41
  42. package/dist/src/components/Icons/IconSvgs.d.ts +163 -0
  43. package/dist/src/components/Icons/iconVariables.d.ts +6 -0
  44. package/dist/{components → src/components}/Image/Image.d.ts +68 -65
  45. package/dist/{components → src/components}/Label/Label.d.ts +25 -25
  46. package/dist/{components → src/components}/Link/Link.d.ts +22 -21
  47. package/dist/{components → src/components}/List/List.d.ts +42 -42
  48. package/dist/{components → src/components}/Logo/Logo.d.ts +28 -28
  49. package/dist/src/components/Logo/LogoSvgs.d.ts +157 -0
  50. package/dist/{components → src/components}/Modal/Modal.d.ts +35 -35
  51. package/dist/{components → src/components}/MultiSelect/MultiSelect.d.ts +61 -78
  52. package/dist/{components → src/components}/MultiSelect/MultiSelectDialog.d.ts +8 -8
  53. package/dist/{components → src/components}/MultiSelect/MultiSelectListbox.d.ts +9 -9
  54. package/dist/{components → src/components}/MultiSelect/MultiSelectMenuButton.d.ts +27 -27
  55. package/dist/{components → src/components}/MultiSelectGroup/MultiSelectGroup.d.ts +28 -26
  56. package/dist/{components → src/components}/Notification/Notification.d.ts +52 -51
  57. package/dist/{components → src/components}/Pagination/Pagination.d.ts +27 -27
  58. package/dist/{components → src/components}/ProgressIndicator/ProgressIndicator.d.ts +32 -30
  59. package/dist/{components → src/components}/Radio/Radio.d.ts +43 -43
  60. package/dist/{components → src/components}/RadioGroup/RadioGroup.d.ts +51 -51
  61. package/dist/{components → src/components}/SearchBar/SearchBar.d.ts +58 -58
  62. package/dist/{components → src/components}/Select/Select.d.ts +59 -57
  63. package/dist/{components → src/components}/SkeletonLoader/SkeletonLoader.d.ts +42 -41
  64. package/dist/{components → src/components}/SkipNavigation/SkipNavigation.d.ts +19 -19
  65. package/dist/{components → src/components}/Slider/Slider.d.ts +65 -65
  66. package/dist/{components → src/components}/StatusBadge/StatusBadge.d.ts +19 -18
  67. package/dist/{components → src/components}/StructuredContent/StructuredContent.d.ts +30 -30
  68. package/dist/src/components/StyleGuide/ColorCard.d.ts +342 -0
  69. package/dist/{components → src/components}/StyledList/StyledList.d.ts +25 -25
  70. package/dist/{components → src/components}/Table/Table.d.ts +32 -32
  71. package/dist/{components → src/components}/Tabs/Tabs.d.ts +28 -28
  72. package/dist/{components → src/components}/TagSet/TagSet.d.ts +24 -32
  73. package/dist/{components → src/components}/TagSet/TagSetExplore.d.ts +28 -27
  74. package/dist/{components → src/components}/TagSet/TagSetFilter.d.ts +25 -26
  75. package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
  76. package/dist/{components → src/components}/Template/Template.d.ts +140 -140
  77. package/dist/{components → src/components}/Text/Text.d.ts +25 -24
  78. package/dist/{components → src/components}/TextInput/TextInput.d.ts +89 -88
  79. package/dist/{components → src/components}/Toggle/Toggle.d.ts +43 -42
  80. package/dist/{components → src/components}/Tooltip/Tooltip.d.ts +17 -17
  81. package/dist/{components → src/components}/VideoPlayer/VideoPlayer.d.ts +42 -40
  82. package/dist/src/helpers/types.d.ts +2 -0
  83. package/dist/{hooks → src/hooks}/useCarouselStyles.d.ts +17 -17
  84. package/dist/{hooks → src/hooks}/useCloseDropDown.d.ts +7 -7
  85. package/dist/{hooks → src/hooks}/useFilterBar.d.ts +21 -21
  86. package/dist/{hooks → src/hooks}/useMultiSelect.d.ts +15 -15
  87. package/dist/{hooks → src/hooks}/useNYPLBreakpoints.d.ts +13 -13
  88. package/dist/{hooks → src/hooks}/useNYPLTheme.d.ts +67 -67
  89. package/dist/{hooks → src/hooks}/useStateWithDependencies.d.ts +5 -5
  90. package/dist/{hooks → src/hooks}/useWindowSize.d.ts +10 -10
  91. package/dist/src/index.d.ts +91 -0
  92. package/dist/{theme → src/theme}/components/accordion.d.ts +34 -34
  93. package/dist/{theme → src/theme}/components/alphabetFilter.d.ts +33 -33
  94. package/dist/{theme → src/theme}/components/audioPlayer.d.ts +16 -16
  95. package/dist/{theme → src/theme}/components/breadcrumb.d.ts +138 -151
  96. package/dist/{theme → src/theme}/components/button.d.ts +113 -113
  97. package/dist/{theme → src/theme}/components/buttonGroup.d.ts +11 -11
  98. package/dist/{theme → src/theme}/components/card.d.ts +421 -421
  99. package/dist/{theme → src/theme}/components/checkbox.d.ts +178 -178
  100. package/dist/{theme → src/theme}/components/checkboxGroup.d.ts +14 -14
  101. package/dist/{theme → src/theme}/components/componentWrapper.d.ts +12 -12
  102. package/dist/{theme → src/theme}/components/customTable.d.ts +733 -733
  103. package/dist/{theme → src/theme}/components/datePicker.d.ts +17 -17
  104. package/dist/{theme → src/theme}/components/feedbackBox.d.ts +92 -92
  105. package/dist/{theme → src/theme}/components/fieldset.d.ts +23 -23
  106. package/dist/{theme → src/theme}/components/filterBar.d.ts +46 -46
  107. package/dist/{theme → src/theme}/components/footer.d.ts +244 -244
  108. package/dist/{theme → src/theme}/components/global.d.ts +140 -140
  109. package/dist/{theme → src/theme}/components/globalMixins.d.ts +40 -40
  110. package/dist/{theme → src/theme}/components/header/header.d.ts +72 -72
  111. package/dist/{theme → src/theme}/components/header/headerLogin.d.ts +327 -327
  112. package/dist/{theme → src/theme}/components/header/headerLoginButton.d.ts +69 -69
  113. package/dist/{theme → src/theme}/components/header/headerLowerNav.d.ts +70 -70
  114. package/dist/{theme → src/theme}/components/header/headerMobileIconNav.d.ts +28 -28
  115. package/dist/{theme → src/theme}/components/header/headerMobileNav.d.ts +86 -86
  116. package/dist/{theme → src/theme}/components/header/headerMobileNavButton.d.ts +34 -34
  117. package/dist/{theme → src/theme}/components/header/headerSearchButton.d.ts +83 -83
  118. package/dist/{theme → src/theme}/components/header/headerSearchForm.d.ts +183 -183
  119. package/dist/{theme → src/theme}/components/header/headerSitewideAlerts.d.ts +42 -42
  120. package/dist/{theme → src/theme}/components/header/headerUpperNav.d.ts +72 -72
  121. package/dist/{theme → src/theme}/components/heading.d.ts +173 -173
  122. package/dist/{theme → src/theme}/components/helperErrorText.d.ts +15 -15
  123. package/dist/{theme → src/theme}/components/hero.d.ts +628 -628
  124. package/dist/{theme → src/theme}/components/horizontalRule.d.ts +18 -18
  125. package/dist/{theme → src/theme}/components/icon.d.ts +62251 -62251
  126. package/dist/{theme → src/theme}/components/image.d.ts +662 -662
  127. package/dist/{theme → src/theme}/components/label.d.ts +21 -21
  128. package/dist/{theme → src/theme}/components/link.d.ts +106 -106
  129. package/dist/{theme → src/theme}/components/list.d.ts +228 -228
  130. package/dist/{theme → src/theme}/components/logo.d.ts +477 -477
  131. package/dist/{theme → src/theme}/components/modal.d.ts +21 -21
  132. package/dist/{theme → src/theme}/components/multiSelect.d.ts +29 -29
  133. package/dist/{theme → src/theme}/components/multiSelectMenuButton.d.ts +95 -95
  134. package/dist/{theme → src/theme}/components/notification.d.ts +136 -136
  135. package/dist/{theme → src/theme}/components/pagination.d.ts +16 -16
  136. package/dist/{theme → src/theme}/components/progressIndicator.d.ts +68 -68
  137. package/dist/{theme → src/theme}/components/radio.d.ts +202 -202
  138. package/dist/{theme → src/theme}/components/radioGroup.d.ts +14 -14
  139. package/dist/{theme → src/theme}/components/searchBar.d.ts +34 -34
  140. package/dist/{theme → src/theme}/components/select.d.ts +125 -126
  141. package/dist/{theme → src/theme}/components/skeletonLoader.d.ts +105 -105
  142. package/dist/{theme → src/theme}/components/skipNavigation.d.ts +28 -28
  143. package/dist/{theme → src/theme}/components/slider.d.ts +78 -78
  144. package/dist/{theme → src/theme}/components/statusBadge.d.ts +37 -37
  145. package/dist/{theme → src/theme}/components/structuredContent.d.ts +385 -385
  146. package/dist/{theme → src/theme}/components/styledList.d.ts +51 -51
  147. package/dist/{theme → src/theme}/components/tabs.d.ts +172 -172
  148. package/dist/{theme → src/theme}/components/tagSet.d.ts +154 -154
  149. package/dist/{theme → src/theme}/components/template.d.ts +86 -86
  150. package/dist/{theme → src/theme}/components/text.d.ts +30 -30
  151. package/dist/{theme → src/theme}/components/textInput.d.ts +349 -355
  152. package/dist/{theme → src/theme}/components/toggle.d.ts +129 -129
  153. package/dist/{theme → src/theme}/components/tooltip.d.ts +19 -19
  154. package/dist/{theme → src/theme}/components/videoPlayer.d.ts +47 -47
  155. package/dist/{theme → src/theme}/foundations/breakpoints.d.ts +23 -23
  156. package/dist/{theme → src/theme}/foundations/colors.d.ts +3 -3
  157. package/dist/{theme → src/theme}/foundations/global.d.ts +68 -68
  158. package/dist/{theme → src/theme}/foundations/radii.d.ts +11 -11
  159. package/dist/{theme → src/theme}/foundations/shadows.d.ts +4 -4
  160. package/dist/{theme → src/theme}/foundations/spacing.d.ts +96 -96
  161. package/dist/{theme → src/theme}/foundations/typography.d.ts +8 -8
  162. package/dist/{theme → src/theme}/index.d.ts +20 -20
  163. package/dist/{theme → src/theme}/provider.d.ts +4 -4
  164. package/dist/src/theme/types.d.ts +1 -0
  165. package/dist/src/utils/colorUtils.d.ts +5 -0
  166. package/dist/{utils → src/utils}/interfaces.d.ts +5 -5
  167. package/dist/{utils → src/utils}/utils.d.ts +39 -39
  168. package/dist/styles.css +1 -4
  169. package/package.json +62 -69
  170. package/dist/__tests__/fileMock.d.ts +0 -4
  171. package/dist/__tests__/mediaMatchMock.d.ts +0 -79
  172. package/dist/__tests__/setup.d.ts +0 -2
  173. package/dist/__tests__/utils/utils.test.d.ts +0 -1
  174. package/dist/components/Autosuggest/Autosuggest.stories.d.ts +0 -4
  175. package/dist/components/FilterBar/FilterBar.stories.d.ts +0 -7
  176. package/dist/components/Header/utils/authApiMockResponse.d.ts +0 -49
  177. package/dist/components/Header/utils/encoreCatalogLogOutTimer.d.ts +0 -4
  178. package/dist/components/Header/utils/encoreCatalogLogOutTimer.test.d.ts +0 -1
  179. package/dist/components/Header/utils/googleAnalyticsUtils.test.d.ts +0 -1
  180. package/dist/components/Header/utils/headerUtils.test.d.ts +0 -1
  181. package/dist/components/Header/utils/sitewideAlertsMocks.d.ts +0 -98
  182. package/dist/components/Icons/IconColors.d.ts +0 -3
  183. package/dist/components/Icons/IconNames.d.ts +0 -3
  184. package/dist/components/Icons/IconSvgs.d.ts +0 -58
  185. package/dist/components/Logo/LogoSvgs.d.ts +0 -54
  186. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -4
  187. package/dist/components/MultiSelectGroup/MultiSelectGroup.stories.d.ts +0 -4
  188. package/dist/components/Placeholder/Placeholder.d.ts +0 -10
  189. package/dist/components/StyleGuide/ColorCard.d.ts +0 -46
  190. package/dist/design-system-react-components.cjs.development.js +0 -18076
  191. package/dist/design-system-react-components.cjs.development.js.map +0 -1
  192. package/dist/design-system-react-components.cjs.production.min.js +0 -2
  193. package/dist/design-system-react-components.cjs.production.min.js.map +0 -1
  194. package/dist/design-system-react-components.esm.js +0 -17874
  195. package/dist/design-system-react-components.esm.js.map +0 -1
  196. package/dist/helpers/types.d.ts +0 -1
  197. package/dist/hooks/__tests__/useCarouselStyles.test.d.ts +0 -1
  198. package/dist/hooks/__tests__/useFilterBar.test.d.ts +0 -1
  199. package/dist/hooks/__tests__/useMultiSelect.test.d.ts +0 -1
  200. package/dist/hooks/__tests__/useNYPLBreakpoints.test.d.ts +0 -1
  201. package/dist/index.d.ts +0 -66
  202. package/dist/index.js +0 -8
  203. package/dist/resources.scss +0 -382
  204. package/dist/theme/types.d.ts +0 -1
  205. package/dist/utils/componentCategories.d.ts +0 -1
@@ -1,355 +1,349 @@
1
- declare const TextInput: {
2
- parts: string[];
3
- baseStyle: ({ showLabel }: {
4
- showLabel: any;
5
- }) => {
6
- position: string;
7
- input: {
8
- bgColor: string;
9
- border: string;
10
- borderColor: string;
11
- borderRadius: string;
12
- fontSize: string;
13
- minHeight: {
14
- base: string;
15
- md: string;
16
- };
17
- py: string;
18
- px: string;
19
- _hover: {
20
- borderColor: string;
21
- };
22
- _disabled: {
23
- _placeholder: {
24
- color: string;
25
- };
26
- bg: string;
27
- borderColor: string;
28
- color: string;
29
- opacity: string;
30
- _dark: {
31
- bg: string;
32
- borderColor: string;
33
- color: string;
34
- };
35
- };
36
- _active: {
37
- borderColor: string;
38
- _dark: {
39
- borderColor: string;
40
- boxShadow: string;
41
- outline: string;
42
- outlineOffset: string;
43
- outlineColor: string;
44
- zIndex: string;
45
- _dark: {
46
- outlineColor: string;
47
- };
48
- };
49
- boxShadow: string;
50
- outline: string;
51
- outlineOffset: string;
52
- outlineColor: string;
53
- zIndex: string;
54
- };
55
- _focus: {
56
- borderColor: string;
57
- _dark: {
58
- borderColor: string;
59
- boxShadow: string;
60
- outline: string;
61
- outlineOffset: string;
62
- outlineColor: string;
63
- zIndex: string;
64
- _dark: {
65
- outlineColor: string;
66
- };
67
- };
68
- boxShadow: string;
69
- outline: string;
70
- outlineOffset: string;
71
- outlineColor: string;
72
- zIndex: string;
73
- };
74
- _placeholder: {
75
- color: string;
76
- fontStyle: string;
77
- lineHeight: string;
78
- };
79
- _invalid: {
80
- border: string;
81
- borderColor: string;
82
- boxShadow: string;
83
- color: string;
84
- _focus: {
85
- borderColor: string;
86
- };
87
- };
88
- _dark: {
89
- bgColor: string;
90
- borderColor: string;
91
- _hover: {
92
- borderColor: string;
93
- };
94
- _disabled: {
95
- _placeholder: {
96
- color: string;
97
- };
98
- bg: string;
99
- borderColor: string;
100
- color: string;
101
- opacity: string;
102
- _dark: {
103
- bg: string;
104
- borderColor: string;
105
- color: string;
106
- };
107
- };
108
- _active: {
109
- borderColor: string;
110
- _dark: {
111
- borderColor: string;
112
- boxShadow: string;
113
- outline: string;
114
- outlineOffset: string;
115
- outlineColor: string;
116
- zIndex: string;
117
- _dark: {
118
- outlineColor: string;
119
- };
120
- };
121
- boxShadow: string;
122
- outline: string;
123
- outlineOffset: string;
124
- outlineColor: string;
125
- zIndex: string;
126
- };
127
- _focus: {
128
- borderColor: string;
129
- _dark: {
130
- borderColor: string;
131
- boxShadow: string;
132
- outline: string;
133
- outlineOffset: string;
134
- outlineColor: string;
135
- zIndex: string;
136
- _dark: {
137
- outlineColor: string;
138
- };
139
- };
140
- boxShadow: string;
141
- outline: string;
142
- outlineOffset: string;
143
- outlineColor: string;
144
- zIndex: string;
145
- };
146
- _placeholder: {
147
- color: string;
148
- };
149
- _invalid: {
150
- borderColor: string;
151
- color: string;
152
- };
153
- };
154
- };
155
- textarea: {
156
- lineheight: string;
157
- minHeight: string;
158
- bgColor: string;
159
- border: string;
160
- borderColor: string;
161
- borderRadius: string;
162
- fontSize: string;
163
- py: string;
164
- px: string;
165
- _hover: {
166
- borderColor: string;
167
- };
168
- _disabled: {
169
- _placeholder: {
170
- color: string;
171
- };
172
- bg: string;
173
- borderColor: string;
174
- color: string;
175
- opacity: string;
176
- _dark: {
177
- bg: string;
178
- borderColor: string;
179
- color: string;
180
- };
181
- };
182
- _active: {
183
- borderColor: string;
184
- _dark: {
185
- borderColor: string;
186
- boxShadow: string;
187
- outline: string;
188
- outlineOffset: string;
189
- outlineColor: string;
190
- zIndex: string;
191
- _dark: {
192
- outlineColor: string;
193
- };
194
- };
195
- boxShadow: string;
196
- outline: string;
197
- outlineOffset: string;
198
- outlineColor: string;
199
- zIndex: string;
200
- };
201
- _focus: {
202
- borderColor: string;
203
- _dark: {
204
- borderColor: string;
205
- boxShadow: string;
206
- outline: string;
207
- outlineOffset: string;
208
- outlineColor: string;
209
- zIndex: string;
210
- _dark: {
211
- outlineColor: string;
212
- };
213
- };
214
- boxShadow: string;
215
- outline: string;
216
- outlineOffset: string;
217
- outlineColor: string;
218
- zIndex: string;
219
- };
220
- _placeholder: {
221
- color: string;
222
- fontStyle: string;
223
- lineHeight: string;
224
- };
225
- _invalid: {
226
- border: string;
227
- borderColor: string;
228
- boxShadow: string;
229
- color: string;
230
- _focus: {
231
- borderColor: string;
232
- };
233
- };
234
- _dark: {
235
- bgColor: string;
236
- borderColor: string;
237
- _hover: {
238
- borderColor: string;
239
- };
240
- _disabled: {
241
- _placeholder: {
242
- color: string;
243
- };
244
- bg: string;
245
- borderColor: string;
246
- color: string;
247
- opacity: string;
248
- _dark: {
249
- bg: string;
250
- borderColor: string;
251
- color: string;
252
- };
253
- };
254
- _active: {
255
- borderColor: string;
256
- _dark: {
257
- borderColor: string;
258
- boxShadow: string;
259
- outline: string;
260
- outlineOffset: string;
261
- outlineColor: string;
262
- zIndex: string;
263
- _dark: {
264
- outlineColor: string;
265
- };
266
- };
267
- boxShadow: string;
268
- outline: string;
269
- outlineOffset: string;
270
- outlineColor: string;
271
- zIndex: string;
272
- };
273
- _focus: {
274
- borderColor: string;
275
- _dark: {
276
- borderColor: string;
277
- boxShadow: string;
278
- outline: string;
279
- outlineOffset: string;
280
- outlineColor: string;
281
- zIndex: string;
282
- _dark: {
283
- outlineColor: string;
284
- };
285
- };
286
- boxShadow: string;
287
- outline: string;
288
- outlineOffset: string;
289
- outlineColor: string;
290
- zIndex: string;
291
- };
292
- _placeholder: {
293
- color: string;
294
- };
295
- _invalid: {
296
- borderColor: string;
297
- color: string;
298
- };
299
- };
300
- };
301
- clearButton: {
302
- borderRadius: string;
303
- minHeight: {
304
- base: string;
305
- md: string;
306
- };
307
- height: string;
308
- position: string;
309
- top: string;
310
- px: string;
311
- right: string;
312
- span: {
313
- clip: string;
314
- height: {
315
- base: string;
316
- md: string;
317
- };
318
- overflow: string;
319
- position: {
320
- base: string;
321
- md: string;
322
- };
323
- width: {
324
- base: string;
325
- md: string;
326
- };
327
- wordWrap: string;
328
- };
329
- zIndex: string;
330
- };
331
- };
332
- variants: {
333
- searchBar: {
334
- flex: string;
335
- input: {
336
- borderRightRadius: string;
337
- };
338
- };
339
- searchBarSelect: {
340
- flex: string;
341
- input: {
342
- borderRadius: string;
343
- borderTopLeftRadius: {
344
- base: string;
345
- md: string;
346
- };
347
- borderTopRightRadius: {
348
- base: string;
349
- md: string;
350
- };
351
- };
352
- };
353
- };
354
- };
355
- export default TextInput;
1
+ declare const TextInput: {
2
+ parts: string[];
3
+ baseStyle: ({ showLabel }: {
4
+ showLabel: any;
5
+ }) => {
6
+ position: string;
7
+ input: {
8
+ bgColor: string;
9
+ border: string;
10
+ borderColor: string;
11
+ borderRadius: string;
12
+ fontSize: string;
13
+ minHeight: {
14
+ base: string;
15
+ md: string;
16
+ };
17
+ py: string;
18
+ px: string;
19
+ _hover: {
20
+ borderColor: string;
21
+ };
22
+ _disabled: {
23
+ _placeholder: {
24
+ color: string;
25
+ };
26
+ bg: string;
27
+ borderColor: string;
28
+ color: string;
29
+ opacity: string;
30
+ _dark: {
31
+ bg: string;
32
+ borderColor: string;
33
+ color: string;
34
+ };
35
+ };
36
+ _active: {
37
+ borderColor: string;
38
+ _dark: {
39
+ borderColor: string;
40
+ boxShadow: string;
41
+ outline: string;
42
+ outlineOffset: string;
43
+ outlineColor: string;
44
+ zIndex: string;
45
+ _dark: {
46
+ outlineColor: string;
47
+ };
48
+ };
49
+ boxShadow: string;
50
+ outline: string;
51
+ outlineOffset: string;
52
+ outlineColor: string;
53
+ zIndex: string;
54
+ };
55
+ _focus: {
56
+ borderColor: string;
57
+ _dark: {
58
+ borderColor: string;
59
+ boxShadow: string;
60
+ outline: string;
61
+ outlineOffset: string;
62
+ outlineColor: string;
63
+ zIndex: string;
64
+ _dark: {
65
+ outlineColor: string;
66
+ };
67
+ };
68
+ boxShadow: string;
69
+ outline: string;
70
+ outlineOffset: string;
71
+ outlineColor: string;
72
+ zIndex: string;
73
+ };
74
+ _placeholder: {
75
+ color: string;
76
+ fontStyle: string;
77
+ lineHeight: string;
78
+ };
79
+ _invalid: {
80
+ border: string;
81
+ borderColor: string;
82
+ boxShadow: string;
83
+ color: string;
84
+ _focus: {
85
+ borderColor: string;
86
+ };
87
+ };
88
+ _dark: {
89
+ bgColor: string;
90
+ borderColor: string;
91
+ _hover: {
92
+ borderColor: string;
93
+ };
94
+ _disabled: {
95
+ _placeholder: {
96
+ color: string;
97
+ };
98
+ bg: string;
99
+ borderColor: string;
100
+ color: string;
101
+ opacity: string;
102
+ _dark: {
103
+ bg: string;
104
+ borderColor: string;
105
+ color: string;
106
+ };
107
+ };
108
+ _active: {
109
+ borderColor: string;
110
+ _dark: {
111
+ borderColor: string;
112
+ boxShadow: string;
113
+ outline: string;
114
+ outlineOffset: string;
115
+ outlineColor: string;
116
+ zIndex: string;
117
+ _dark: {
118
+ outlineColor: string;
119
+ };
120
+ };
121
+ boxShadow: string;
122
+ outline: string;
123
+ outlineOffset: string;
124
+ outlineColor: string;
125
+ zIndex: string;
126
+ };
127
+ _focus: {
128
+ borderColor: string;
129
+ _dark: {
130
+ borderColor: string;
131
+ boxShadow: string;
132
+ outline: string;
133
+ outlineOffset: string;
134
+ outlineColor: string;
135
+ zIndex: string;
136
+ _dark: {
137
+ outlineColor: string;
138
+ };
139
+ };
140
+ boxShadow: string;
141
+ outline: string;
142
+ outlineOffset: string;
143
+ outlineColor: string;
144
+ zIndex: string;
145
+ };
146
+ _placeholder: {
147
+ color: string;
148
+ };
149
+ _invalid: {
150
+ borderColor: string;
151
+ color: string;
152
+ };
153
+ };
154
+ };
155
+ textarea: {
156
+ lineheight: string;
157
+ minHeight: string;
158
+ bgColor: string;
159
+ border: string;
160
+ borderColor: string;
161
+ borderRadius: string;
162
+ fontSize: string;
163
+ py: string;
164
+ px: string;
165
+ _hover: {
166
+ borderColor: string;
167
+ };
168
+ _disabled: {
169
+ _placeholder: {
170
+ color: string;
171
+ };
172
+ bg: string;
173
+ borderColor: string;
174
+ color: string;
175
+ opacity: string;
176
+ _dark: {
177
+ bg: string;
178
+ borderColor: string;
179
+ color: string;
180
+ };
181
+ };
182
+ _active: {
183
+ borderColor: string;
184
+ _dark: {
185
+ borderColor: string;
186
+ boxShadow: string;
187
+ outline: string;
188
+ outlineOffset: string;
189
+ outlineColor: string;
190
+ zIndex: string;
191
+ _dark: {
192
+ outlineColor: string;
193
+ };
194
+ };
195
+ boxShadow: string;
196
+ outline: string;
197
+ outlineOffset: string;
198
+ outlineColor: string;
199
+ zIndex: string;
200
+ };
201
+ _focus: {
202
+ borderColor: string;
203
+ _dark: {
204
+ borderColor: string;
205
+ boxShadow: string;
206
+ outline: string;
207
+ outlineOffset: string;
208
+ outlineColor: string;
209
+ zIndex: string;
210
+ _dark: {
211
+ outlineColor: string;
212
+ };
213
+ };
214
+ boxShadow: string;
215
+ outline: string;
216
+ outlineOffset: string;
217
+ outlineColor: string;
218
+ zIndex: string;
219
+ };
220
+ _placeholder: {
221
+ color: string;
222
+ fontStyle: string;
223
+ lineHeight: string;
224
+ };
225
+ _invalid: {
226
+ border: string;
227
+ borderColor: string;
228
+ boxShadow: string;
229
+ color: string;
230
+ _focus: {
231
+ borderColor: string;
232
+ };
233
+ };
234
+ _dark: {
235
+ bgColor: string;
236
+ borderColor: string;
237
+ _hover: {
238
+ borderColor: string;
239
+ };
240
+ _disabled: {
241
+ _placeholder: {
242
+ color: string;
243
+ };
244
+ bg: string;
245
+ borderColor: string;
246
+ color: string;
247
+ opacity: string;
248
+ _dark: {
249
+ bg: string;
250
+ borderColor: string;
251
+ color: string;
252
+ };
253
+ };
254
+ _active: {
255
+ borderColor: string;
256
+ _dark: {
257
+ borderColor: string;
258
+ boxShadow: string;
259
+ outline: string;
260
+ outlineOffset: string;
261
+ outlineColor: string;
262
+ zIndex: string;
263
+ _dark: {
264
+ outlineColor: string;
265
+ };
266
+ };
267
+ boxShadow: string;
268
+ outline: string;
269
+ outlineOffset: string;
270
+ outlineColor: string;
271
+ zIndex: string;
272
+ };
273
+ _focus: {
274
+ borderColor: string;
275
+ _dark: {
276
+ borderColor: string;
277
+ boxShadow: string;
278
+ outline: string;
279
+ outlineOffset: string;
280
+ outlineColor: string;
281
+ zIndex: string;
282
+ _dark: {
283
+ outlineColor: string;
284
+ };
285
+ };
286
+ boxShadow: string;
287
+ outline: string;
288
+ outlineOffset: string;
289
+ outlineColor: string;
290
+ zIndex: string;
291
+ };
292
+ _placeholder: {
293
+ color: string;
294
+ };
295
+ _invalid: {
296
+ borderColor: string;
297
+ color: string;
298
+ };
299
+ };
300
+ };
301
+ clearButton: {
302
+ position: string;
303
+ top: string;
304
+ px: string;
305
+ right: string;
306
+ span: {
307
+ clip: string;
308
+ height: {
309
+ base: string;
310
+ md: string;
311
+ };
312
+ overflow: string;
313
+ position: {
314
+ base: string;
315
+ md: string;
316
+ };
317
+ width: {
318
+ base: string;
319
+ md: string;
320
+ };
321
+ wordWrap: string;
322
+ };
323
+ zIndex: string;
324
+ };
325
+ };
326
+ variants: {
327
+ searchBar: {
328
+ flex: string;
329
+ input: {
330
+ borderRightRadius: string;
331
+ };
332
+ };
333
+ searchBarSelect: {
334
+ flex: string;
335
+ input: {
336
+ borderRadius: string;
337
+ borderTopLeftRadius: {
338
+ base: string;
339
+ md: string;
340
+ };
341
+ borderTopRightRadius: {
342
+ base: string;
343
+ md: string;
344
+ };
345
+ };
346
+ };
347
+ };
348
+ };
349
+ export default TextInput;