@spothero/ui 25.4.0 → 25.5.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.
Files changed (60) hide show
  1. package/dist/components/Accordion/styles/index.d.ts +2 -2
  2. package/dist/components/Badge/styles/index.d.ts +78 -0
  3. package/dist/components/Button/Button.styles.d.ts +601 -0
  4. package/dist/components/Card/Card.d.ts +4 -0
  5. package/dist/components/Checkbox/styles/index.d.ts +200 -0
  6. package/dist/components/Container/Container.d.ts +4 -0
  7. package/dist/components/Container/Container.styles.d.ts +10 -0
  8. package/dist/components/Divider/Divider.d.ts +11 -0
  9. package/dist/components/Divider/Divider.styles.d.ts +40 -0
  10. package/dist/components/Drawer/styles/index.d.ts +149 -0
  11. package/dist/components/FormControl/FormControl.d.ts +13 -0
  12. package/dist/components/Grid/GridItem.styles.d.ts +4 -0
  13. package/dist/components/Heading/Heading.styles.d.ts +66 -0
  14. package/dist/components/Icon/Icon.d.ts +1 -1
  15. package/dist/components/Input/styles/index.d.ts +217 -0
  16. package/dist/components/Link/Link.styles.d.ts +102 -0
  17. package/dist/components/List/styles/index.d.ts +32 -0
  18. package/dist/components/List/styles/item.styles.d.ts +4 -0
  19. package/dist/components/Menu/Menu.styles.d.ts +258 -0
  20. package/dist/components/Modal/styles/body.d.ts +30 -0
  21. package/dist/components/Modal/styles/closeButton.d.ts +18 -0
  22. package/dist/components/Modal/styles/dialog.d.ts +16 -0
  23. package/dist/components/Modal/styles/dialogContainer.d.ts +12 -0
  24. package/dist/components/Modal/styles/footer.d.ts +6 -0
  25. package/dist/components/Modal/styles/header.d.ts +10 -0
  26. package/dist/components/Modal/styles/index.d.ts +227 -0
  27. package/dist/components/Modal/styles/overlay.d.ts +5 -0
  28. package/dist/components/Popover/styles/index.d.ts +100 -0
  29. package/dist/components/Popover/styles/popover-body.d.ts +4 -0
  30. package/dist/components/Popover/styles/popover-content.d.ts +20 -0
  31. package/dist/components/Popover/styles/popover-header.d.ts +5 -0
  32. package/dist/components/Popover/styles/popper.d.ts +4 -0
  33. package/dist/components/Progress/Progress.styles.d.ts +75 -0
  34. package/dist/components/Radio/styles/index.d.ts +292 -0
  35. package/dist/components/RefreshedInput/Button/styles/index.d.ts +413 -0
  36. package/dist/components/RefreshedInput/Input/styles/index.d.ts +260 -0
  37. package/dist/components/Select/styles/index.d.ts +2 -2
  38. package/dist/components/Skeleton/Skeleton.styles.d.ts +26 -0
  39. package/dist/components/Spinner/Spinner.d.ts +12 -0
  40. package/dist/components/Spinner/Spinner.styles.d.ts +144 -0
  41. package/dist/components/Switch/styles/index.d.ts +116 -0
  42. package/dist/components/Table/Table.styles.d.ts +69 -0
  43. package/dist/components/Tabs/styles/index.d.ts +308 -0
  44. package/dist/components/Text/Text.styles.d.ts +30 -0
  45. package/dist/components/styles.d.ts +26 -0
  46. package/dist/index.cjs.js +1824 -713
  47. package/dist/index.cjs.js.map +1 -1
  48. package/dist/index.d.ts +248 -0
  49. package/dist/index.esm.js +1824 -713
  50. package/dist/index.esm.js.map +1 -1
  51. package/dist/theme/base/breakpoints.d.ts +6 -6
  52. package/dist/theme/base/colors.d.ts +106 -116
  53. package/dist/theme/base/index.d.ts +7 -7
  54. package/dist/theme/base/notifications.d.ts +80 -104
  55. package/dist/theme/base/sizes.d.ts +41 -41
  56. package/dist/theme/base/typography.d.ts +22 -22
  57. package/dist/theme/base/zindices.d.ts +15 -15
  58. package/dist/theme/global.d.ts +21 -0
  59. package/dist/theme/index.d.ts +2 -0
  60. package/package.json +5 -5
@@ -0,0 +1,248 @@
1
+ // Type definitions for @spothero/ui
2
+ // This file is manually maintained during the TypeScript migration (Phases 1-4)
3
+ // It will be replaced by auto-generated types when index.js → index.ts in Phase 5
4
+
5
+ import React from 'react';
6
+ import {
7
+ BoxProps,
8
+ ContainerProps,
9
+ DividerProps,
10
+ SpinnerProps,
11
+ FlexProps,
12
+ } from '@chakra-ui/react';
13
+
14
+ // Re-export commonly used Chakra types for consumers
15
+ export type {BoxProps, FlexProps, ContainerProps, DividerProps, SpinnerProps} from '@chakra-ui/react';
16
+
17
+ // ============================================================================
18
+ // Phase 2a: Converted TypeScript Components
19
+ // ============================================================================
20
+
21
+ // Card (Phase 2a) - Converted
22
+ export const Card: React.ForwardRefExoticComponent<
23
+ BoxProps & React.RefAttributes<HTMLDivElement>
24
+ >;
25
+
26
+ // Container (Phase 2a) - Converted
27
+ export const Container: React.ForwardRefExoticComponent<
28
+ ContainerProps & React.RefAttributes<HTMLDivElement>
29
+ >;
30
+
31
+ // Divider (Phase 2a) - Converted
32
+ export const Divider: React.ForwardRefExoticComponent<
33
+ DividerProps & React.RefAttributes<HTMLHRElement>
34
+ >;
35
+
36
+ // Icon (Phase 2a) - Converted (re-exported from Chakra)
37
+ export {Icon} from '@chakra-ui/react';
38
+
39
+ // Spinner (Phase 2a) - Converted
40
+ export const Spinner: React.ForwardRefExoticComponent<
41
+ SpinnerProps & React.RefAttributes<HTMLDivElement>
42
+ >;
43
+
44
+ // FormControl (Phase 2a) - Converted
45
+ export const FormControl: React.ComponentType<any>;
46
+
47
+ // ============================================================================
48
+ // Accordion (Partial TypeScript)
49
+ // ============================================================================
50
+ export const AccordionActionButton: React.ForwardRefExoticComponent<any>;
51
+ export {
52
+ Accordion,
53
+ AccordionIcon,
54
+ AccordionItem,
55
+ AccordionPanel,
56
+ AccordionButton,
57
+ } from '@chakra-ui/react';
58
+
59
+ // ============================================================================
60
+ // NOT YET CONVERTED - JavaScript Components (Basic type stubs)
61
+ // These will be properly typed as they are converted in Phases 2b-4
62
+ // ============================================================================
63
+
64
+ // Button (Phase 3b - not yet converted)
65
+ export const Button: React.ComponentType<any>;
66
+ export {ButtonGroup} from '@chakra-ui/react';
67
+
68
+ // Table (Phase 4c - not yet converted)
69
+ export {
70
+ Table,
71
+ TableCaption,
72
+ TableContainer,
73
+ Tbody,
74
+ Td,
75
+ Tfoot,
76
+ Th,
77
+ Thead,
78
+ Tr,
79
+ } from '@chakra-ui/react';
80
+
81
+ // Modal (Phase 4b - not yet converted)
82
+ export const Modal: React.ComponentType<any>;
83
+ export const AlwaysMountedModal: React.ComponentType<any>;
84
+ export {
85
+ ModalBody,
86
+ ModalFooter,
87
+ ModalHeader,
88
+ } from '@chakra-ui/react';
89
+
90
+ // Drawer (Phase 3b - not yet converted)
91
+ export const Drawer: React.ComponentType<any>;
92
+ export {
93
+ DrawerBody,
94
+ DrawerCloseButton,
95
+ Drawer as DrawerContainer,
96
+ DrawerContent,
97
+ DrawerFooter,
98
+ DrawerHeader,
99
+ DrawerOverlay,
100
+ } from '@chakra-ui/react';
101
+
102
+ // Skeleton (Phase 2b - not yet converted)
103
+ export {Skeleton, SkeletonCircle, SkeletonText} from '@chakra-ui/react';
104
+
105
+ // Alert (Phase 3b - not yet converted)
106
+ export const Alert: React.ComponentType<any>;
107
+
108
+ // Tabs (Phase 4c - not yet converted)
109
+ export const Tabs: React.ComponentType<any>;
110
+ export {TabList, TabPanels, Tab, TabPanel} from '@chakra-ui/react';
111
+
112
+ // Select (Phase 3a - not yet converted)
113
+ export const Select: React.ComponentType<any>;
114
+
115
+ // Switch (Phase 2b - not yet converted)
116
+ export const Switch: React.ComponentType<any>;
117
+
118
+ // Link (Phase 3a - not yet converted)
119
+ export const Link: React.ComponentType<any>;
120
+ export {Link as ChakraLink, LinkBox, LinkOverlay} from '@chakra-ui/react';
121
+
122
+ // Text (Phase 3a - not yet converted)
123
+ export const Text: React.ComponentType<any>;
124
+
125
+ // Grid (Phase 2b - not yet converted)
126
+ export const Grid: React.ComponentType<any>;
127
+ export const GridItem: React.ComponentType<any>;
128
+
129
+ // List (Phase 3b - not yet converted)
130
+ export const List: React.ComponentType<any>;
131
+ export {ListItem} from '@chakra-ui/react';
132
+
133
+ // Heading (Phase 3a - not yet converted)
134
+ export const Heading: React.ComponentType<any>;
135
+
136
+ // ThemeProvider (Phase 4a - not yet converted)
137
+ export const ThemeProvider: React.ComponentType<any>;
138
+
139
+ // Image (Phase 3b - not yet converted)
140
+ export const Image: React.ComponentType<any>;
141
+
142
+ // Loader (Phase 3b - not yet converted)
143
+ export const Loader: React.ComponentType<any>;
144
+
145
+ // Progress (Phase 3b - not yet converted)
146
+ export const Progress: React.ComponentType<any>;
147
+
148
+ // Checkbox (Phase 2b - not yet converted)
149
+ export const Checkbox: React.ComponentType<any>;
150
+
151
+ // Input (Phase 3a - not yet converted)
152
+ export const Input: React.ComponentType<any>;
153
+
154
+ // RefreshedInput components (Phase 4d - not yet converted)
155
+ export const RefreshedFormControl: React.ComponentType<any>;
156
+ export const RefreshedInput: React.ComponentType<any>;
157
+ export const RefreshedButtonInput: React.ComponentType<any>;
158
+ export const RefreshedSelectInput: React.ComponentType<any>;
159
+ export const RefreshedAutoSuggestSelect: React.ComponentType<any>;
160
+
161
+ // SelectionCard (Phase 4c - not yet converted)
162
+ export const SelectionCard: React.ComponentType<any>;
163
+
164
+ // Textarea (Phase 3a - not yet converted)
165
+ export const Textarea: React.ComponentType<any>;
166
+
167
+ // Popover (Phase 4b - not yet converted)
168
+ export const Popover: React.ComponentType<any>;
169
+ export const PopoverAnchor: React.ComponentType<any>;
170
+ export const PopoverArrow: React.ComponentType<any>;
171
+ export const PopoverTrigger: React.ComponentType<any>;
172
+ export const PopoverContent: React.ComponentType<any>;
173
+
174
+ // Radio (Phase 3a - not yet converted)
175
+ export const Radio: React.ComponentType<any>;
176
+ export const RadioGroup: React.ComponentType<any>;
177
+
178
+ // AutoSuggestSelect (Phase 4d - not yet converted)
179
+ export const AutoSuggestSelect: React.ComponentType<any>;
180
+
181
+ // Badge (Phase 2b - not yet converted)
182
+ export const Badge: React.ComponentType<any>;
183
+
184
+ // ToggleButtonGroup (Phase 4c - not yet converted)
185
+ export const ToggleButtonGroup: React.ComponentType<any>;
186
+
187
+ // CreatableSelect (Phase 4d - not yet converted)
188
+ export const CreatableSelect: React.ComponentType<any>;
189
+
190
+ // Menu (Phase 4c - not yet converted)
191
+ export const Menu: React.ComponentType<any>;
192
+ export const MenuButton: React.ComponentType<any>;
193
+ export const MenuList: React.ComponentType<any>;
194
+ export const MenuItem: React.ComponentType<any>;
195
+ export const MenuItemOption: React.ComponentType<any>;
196
+ export const MenuGroup: React.ComponentType<any>;
197
+ export const MenuOptionGroup: React.ComponentType<any>;
198
+ export const MenuDivider: React.ComponentType<any>;
199
+
200
+ // ============================================================================
201
+ // Generic Chakra UI Re-exports
202
+ // ============================================================================
203
+ export {
204
+ Box,
205
+ Kbd,
206
+ Code,
207
+ Flex,
208
+ Fade,
209
+ Slide,
210
+ Center,
211
+ Circle,
212
+ Portal,
213
+ Square,
214
+ HStack,
215
+ VStack,
216
+ Collapse,
217
+ useToken,
218
+ useTheme,
219
+ useToast,
220
+ ScaleFade,
221
+ SlideFade,
222
+ Breadcrumb,
223
+ createIcon,
224
+ InputGroup,
225
+ SimpleGrid,
226
+ AspectRatio,
227
+ useClipboard,
228
+ useDisclosure,
229
+ useMediaQuery,
230
+ CheckboxGroup,
231
+ useStyleConfig,
232
+ BreadcrumbItem,
233
+ BreadcrumbLink,
234
+ InputLeftAddon,
235
+ InputRightAddon,
236
+ InputLeftElement,
237
+ InputRightElement,
238
+ useBreakpointValue,
239
+ useControllableProp,
240
+ Input as BasicInput,
241
+ useControllableState,
242
+ usePopper,
243
+ usePrefersReducedMotion,
244
+ keyframes,
245
+ Textarea as BasicTextarea,
246
+ Tooltip,
247
+ extendTheme,
248
+ } from '@chakra-ui/react';