@spothero/ui 25.15.0-beta.1 → 25.16.0-beta.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/dist/components/Accordion/AccordionActionButton.d.ts +6 -2
- package/dist/components/Menu/Menu.d.ts +6 -0
- package/dist/components/Menu/Menu.styles.d.ts +4 -258
- package/dist/components/Menu/index.d.ts +2 -0
- package/dist/components/Modal/styles/footer.d.ts +1 -0
- package/dist/components/SelectionCard/SelectionCard.d.ts +20 -0
- package/dist/components/SelectionCard/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -0
- package/dist/components/Table/Table.styles.d.ts +73 -65
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Tabs/combineSizeWithVariant.d.ts +120 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/styles/index.d.ts +52 -298
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +27 -0
- package/dist/components/ToggleButtonGroup/index.d.ts +1 -0
- package/dist/components/ToggleButtonGroup/styles/index.d.ts +5 -0
- package/dist/index.cjs.js +459 -600
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +68 -18
- package/dist/index.esm.js +458 -599
- package/dist/index.esm.js.map +1 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -127,9 +127,15 @@ export const Spinner: React.ForwardRefExoticComponent<
|
|
|
127
127
|
export const FormControl: React.ComponentType<any>;
|
|
128
128
|
|
|
129
129
|
// ============================================================================
|
|
130
|
-
// Accordion (
|
|
130
|
+
// Accordion (Phase 4c) - Converted
|
|
131
131
|
// ============================================================================
|
|
132
|
-
export
|
|
132
|
+
export type AccordionActionButtonProps = {
|
|
133
|
+
onClick?: () => void;
|
|
134
|
+
children: React.ReactNode;
|
|
135
|
+
};
|
|
136
|
+
export const AccordionActionButton: React.ForwardRefExoticComponent<
|
|
137
|
+
AccordionActionButtonProps & React.RefAttributes<HTMLDivElement>
|
|
138
|
+
>;
|
|
133
139
|
export {
|
|
134
140
|
Accordion,
|
|
135
141
|
AccordionIcon,
|
|
@@ -175,7 +181,7 @@ export const Button: React.ForwardRefExoticComponent<
|
|
|
175
181
|
>;
|
|
176
182
|
export {ButtonGroup} from '@chakra-ui/react';
|
|
177
183
|
|
|
178
|
-
// Table (Phase 4c -
|
|
184
|
+
// Table (Phase 4c) - Converted
|
|
179
185
|
export {
|
|
180
186
|
Table,
|
|
181
187
|
TableCaption,
|
|
@@ -333,8 +339,15 @@ export const Alert: React.ForwardRefExoticComponent<
|
|
|
333
339
|
AlertProps & React.RefAttributes<HTMLDivElement>
|
|
334
340
|
>;
|
|
335
341
|
|
|
336
|
-
// Tabs (Phase 4c -
|
|
337
|
-
export
|
|
342
|
+
// Tabs (Phase 4c) - Converted
|
|
343
|
+
export type TabsSize = 'small' | 'body' | 'heading';
|
|
344
|
+
export type TabsProps = Omit<import('@chakra-ui/react').TabsProps, 'size'> & {
|
|
345
|
+
/** Controls the size of Tabs */
|
|
346
|
+
size?: TabsSize;
|
|
347
|
+
};
|
|
348
|
+
export const Tabs: React.ForwardRefExoticComponent<
|
|
349
|
+
TabsProps & React.RefAttributes<HTMLDivElement>
|
|
350
|
+
>;
|
|
338
351
|
export {TabList, TabPanels, Tab, TabPanel} from '@chakra-ui/react';
|
|
339
352
|
|
|
340
353
|
// Select (Phase 3a) - Converted
|
|
@@ -467,8 +480,28 @@ export const RefreshedButtonInput: React.ComponentType<any>;
|
|
|
467
480
|
export const RefreshedSelectInput: React.ComponentType<any>;
|
|
468
481
|
export const RefreshedAutoSuggestSelect: React.ComponentType<any>;
|
|
469
482
|
|
|
470
|
-
// SelectionCard (Phase 4c -
|
|
471
|
-
export
|
|
483
|
+
// SelectionCard (Phase 4c) - Converted
|
|
484
|
+
export type SelectionCardProps = Omit<
|
|
485
|
+
CheckboxProps,
|
|
486
|
+
'children' | 'value' | 'size'
|
|
487
|
+
> & {
|
|
488
|
+
label: React.ReactNode;
|
|
489
|
+
expandableChildren?: React.ReactNode;
|
|
490
|
+
defaultChecked?: boolean;
|
|
491
|
+
isChecked?: boolean;
|
|
492
|
+
isDisabled?: boolean;
|
|
493
|
+
value: string;
|
|
494
|
+
helperText?: string;
|
|
495
|
+
isRadio?: boolean;
|
|
496
|
+
isExpandable?: boolean;
|
|
497
|
+
expandableChildrenStyles?: import('@chakra-ui/react').BoxProps;
|
|
498
|
+
size?: 'sm' | 'md' | 'lg';
|
|
499
|
+
topChild?: React.ReactElement;
|
|
500
|
+
expandableContentKey?: string;
|
|
501
|
+
};
|
|
502
|
+
export const SelectionCard: React.ForwardRefExoticComponent<
|
|
503
|
+
SelectionCardProps & React.RefAttributes<HTMLInputElement>
|
|
504
|
+
>;
|
|
472
505
|
|
|
473
506
|
// Textarea (Phase 3a) - Converted
|
|
474
507
|
export type TextareaProps = import('@chakra-ui/react').TextareaProps & {
|
|
@@ -553,21 +586,38 @@ export const AutoSuggestSelect: React.ComponentType<any>;
|
|
|
553
586
|
// FilterSelect (Phase 4d - not yet converted)
|
|
554
587
|
export const FilterSelect: React.ComponentType<any>;
|
|
555
588
|
|
|
556
|
-
// ToggleButtonGroup (Phase 4c -
|
|
557
|
-
export
|
|
589
|
+
// ToggleButtonGroup (Phase 4c) - Converted
|
|
590
|
+
export type ToggleButtonGroupProps = {
|
|
591
|
+
onChange: (value: string) => void;
|
|
592
|
+
value: string;
|
|
593
|
+
children:
|
|
594
|
+
| React.ReactElement<{value: string}>
|
|
595
|
+
| Array<React.ReactElement<{value: string}>>;
|
|
596
|
+
groupProps?: import('@chakra-ui/react').ButtonGroupProps;
|
|
597
|
+
buttonGroupStyles?: import('@chakra-ui/react').SystemStyleObject;
|
|
598
|
+
childrenStyles?: import('@chakra-ui/react').SystemStyleObject;
|
|
599
|
+
};
|
|
600
|
+
export const ToggleButtonGroup: React.ForwardRefExoticComponent<
|
|
601
|
+
ToggleButtonGroupProps & React.RefAttributes<HTMLDivElement>
|
|
602
|
+
>;
|
|
558
603
|
|
|
559
604
|
// CreatableSelect (Phase 4d - not yet converted)
|
|
560
605
|
export const CreatableSelect: React.ComponentType<any>;
|
|
561
606
|
|
|
562
|
-
// Menu (Phase 4c -
|
|
563
|
-
export
|
|
564
|
-
export const
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
export
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
607
|
+
// Menu (Phase 4c) - Converted
|
|
608
|
+
export type MenuProps = import('@chakra-ui/react').MenuProps;
|
|
609
|
+
export const Menu: React.ForwardRefExoticComponent<
|
|
610
|
+
MenuProps & React.RefAttributes<HTMLDivElement>
|
|
611
|
+
>;
|
|
612
|
+
export {
|
|
613
|
+
MenuButton,
|
|
614
|
+
MenuDivider,
|
|
615
|
+
MenuGroup,
|
|
616
|
+
MenuItem,
|
|
617
|
+
MenuItemOption,
|
|
618
|
+
MenuList,
|
|
619
|
+
MenuOptionGroup,
|
|
620
|
+
} from '@chakra-ui/react';
|
|
571
621
|
|
|
572
622
|
// ============================================================================
|
|
573
623
|
// Generic Chakra UI Re-exports
|