@hybr1d-tech/charizard 0.6.108 → 0.6.109
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/hybr1d-ui.js +3636 -3635
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/index.d.ts +2941 -1
- package/package.json +17 -16
- package/dist/components/alert/Alert.d.ts +0 -24
- package/dist/components/alert/index.d.ts +0 -1
- package/dist/components/asyncImage/AsyncImage.d.ts +0 -14
- package/dist/components/asyncImage/index.d.ts +0 -1
- package/dist/components/asyncImage/types.d.ts +0 -4
- package/dist/components/avatar/Avatar.d.ts +0 -6
- package/dist/components/avatar/index.d.ts +0 -1
- package/dist/components/badge/Badge.d.ts +0 -50
- package/dist/components/badge/index.d.ts +0 -1
- package/dist/components/breadcrumbs/BreadCrumbs.d.ts +0 -1
- package/dist/components/breadcrumbs/index.d.ts +0 -3
- package/dist/components/breadcrumbs/store.d.ts +0 -11
- package/dist/components/breadcrumbs/useBreadCrumbs.d.ts +0 -7
- package/dist/components/button/Button.d.ts +0 -55
- package/dist/components/button/actions-dropdown.stories.d.ts +0 -7
- package/dist/components/button/button.stories.d.ts +0 -11
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button/menu-button.stories.d.ts +0 -7
- package/dist/components/button-v2/ButtonV2.d.ts +0 -77
- package/dist/components/button-v2/buttonV2.stories.d.ts +0 -9
- package/dist/components/button-v2/group-action.stories.d.ts +0 -9
- package/dist/components/button-v2/index.d.ts +0 -2
- package/dist/components/button-v2/types.d.ts +0 -21
- package/dist/components/checkbox/Checkbox.d.ts +0 -44
- package/dist/components/checkbox/checkbox.stories.d.ts +0 -7
- package/dist/components/checkbox/index.d.ts +0 -1
- package/dist/components/checkbox-v2/CheckboxV2.d.ts +0 -10
- package/dist/components/checkbox-v2/index.d.ts +0 -1
- package/dist/components/color-picker/ColorPicker.d.ts +0 -10
- package/dist/components/color-picker/index.d.ts +0 -1
- package/dist/components/date-picker/DatePicker.d.ts +0 -30
- package/dist/components/date-picker/index.d.ts +0 -1
- package/dist/components/drawer/Drawer.d.ts +0 -76
- package/dist/components/drawer/index.d.ts +0 -1
- package/dist/components/drawer-v2/Drawer.d.ts +0 -83
- package/dist/components/drawer-v2/index.d.ts +0 -1
- package/dist/components/empty-state/EmptyState.d.ts +0 -16
- package/dist/components/empty-state/empty-state.stories.d.ts +0 -7
- package/dist/components/empty-state/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -43
- package/dist/components/input/Input.d.ts +0 -72
- package/dist/components/input/InputAddon.d.ts +0 -41
- package/dist/components/input/InputContainer.d.ts +0 -26
- package/dist/components/input/InputElement.d.ts +0 -19
- package/dist/components/input/InputGroup.d.ts +0 -14
- package/dist/components/input/InputLabel.d.ts +0 -46
- package/dist/components/input/index.d.ts +0 -6
- package/dist/components/input/input.stories.d.ts +0 -7
- package/dist/components/input/types.d.ts +0 -13
- package/dist/components/input-v2/Input.d.ts +0 -20
- package/dist/components/input-v2/InputAdornment.d.ts +0 -64
- package/dist/components/input-v2/InputControl.d.ts +0 -27
- package/dist/components/input-v2/InputCount.d.ts +0 -32
- package/dist/components/input-v2/InputGroup.d.ts +0 -6
- package/dist/components/input-v2/InputIcon.d.ts +0 -48
- package/dist/components/input-v2/InputNumber.d.ts +0 -24
- package/dist/components/input-v2/Label.d.ts +0 -24
- package/dist/components/input-v2/NumberAdornment.d.ts +0 -24
- package/dist/components/input-v2/Textarea.d.ts +0 -23
- package/dist/components/input-v2/index.d.ts +0 -10
- package/dist/components/input-v2/types.d.ts +0 -329
- package/dist/components/layout-tabs/LayoutTabs.d.ts +0 -22
- package/dist/components/layout-tabs/index.d.ts +0 -1
- package/dist/components/loader/Loader.d.ts +0 -17
- package/dist/components/loader/index.d.ts +0 -1
- package/dist/components/loader/loader.stories.d.ts +0 -14
- package/dist/components/modal/Modal.d.ts +0 -30
- package/dist/components/modal/ModalBody.d.ts +0 -17
- package/dist/components/modal/ModalContent.d.ts +0 -18
- package/dist/components/modal/ModalFooter.d.ts +0 -38
- package/dist/components/modal/ModalHeader.d.ts +0 -21
- package/dist/components/modal/ModalOverlay.d.ts +0 -9
- package/dist/components/modal/index.d.ts +0 -6
- package/dist/components/modal/usage.d.ts +0 -1
- package/dist/components/pill/Pill.d.ts +0 -15
- package/dist/components/pill/index.d.ts +0 -1
- package/dist/components/popover/Popover.d.ts +0 -26
- package/dist/components/popover/PopoverCloseButton.d.ts +0 -23
- package/dist/components/popover/PopoverContent.d.ts +0 -32
- package/dist/components/popover/PopoverDescription.d.ts +0 -23
- package/dist/components/popover/PopoverTitle.d.ts +0 -23
- package/dist/components/popover/PopoverTrigger.d.ts +0 -29
- package/dist/components/popover/index.d.ts +0 -6
- package/dist/components/popover/usage.d.ts +0 -1
- package/dist/components/progress/Progress.d.ts +0 -63
- package/dist/components/progress/index.d.ts +0 -1
- package/dist/components/radio-group/RadioGroup.d.ts +0 -45
- package/dist/components/radio-group/index.d.ts +0 -1
- package/dist/components/radio-group/radio.stories.d.ts +0 -7
- package/dist/components/search/Search.d.ts +0 -14
- package/dist/components/search/index.d.ts +0 -1
- package/dist/components/search/search.stories.d.ts +0 -7
- package/dist/components/search-v2/Search.d.ts +0 -20
- package/dist/components/search-v2/index.d.ts +0 -1
- package/dist/components/search-v2/types.d.ts +0 -6
- package/dist/components/segmented-control/SegmentedControl.d.ts +0 -22
- package/dist/components/segmented-control/index.d.ts +0 -1
- package/dist/components/select/Common.d.ts +0 -6
- package/dist/components/select/CreatableSelect.d.ts +0 -97
- package/dist/components/select/Select.d.ts +0 -87
- package/dist/components/select/SelectAsync.d.ts +0 -81
- package/dist/components/select/config.d.ts +0 -4
- package/dist/components/select/index.d.ts +0 -3
- package/dist/components/select/types.d.ts +0 -15
- package/dist/components/select-v2/Common.d.ts +0 -56
- package/dist/components/select-v2/CreatableSelect.d.ts +0 -15
- package/dist/components/select-v2/Select.d.ts +0 -14
- package/dist/components/select-v2/index.d.ts +0 -3
- package/dist/components/select-v2/styles.d.ts +0 -3
- package/dist/components/select-v2/types.d.ts +0 -37
- package/dist/components/selectors/Selectors.d.ts +0 -7
- package/dist/components/selectors/index.d.ts +0 -1
- package/dist/components/skeleton/Skeleton.d.ts +0 -3
- package/dist/components/skeleton/index.d.ts +0 -1
- package/dist/components/svg/SVG.d.ts +0 -11
- package/dist/components/svg/index.d.ts +0 -1
- package/dist/components/switch/Switch.d.ts +0 -12
- package/dist/components/switch/index.d.ts +0 -1
- package/dist/components/switch/switch.stories.d.ts +0 -9
- package/dist/components/table/Table.d.ts +0 -114
- package/dist/components/table/constants.d.ts +0 -3
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/table/store.d.ts +0 -15
- package/dist/components/table/table-actions/TableActions.d.ts +0 -8
- package/dist/components/table/table-actions/index.d.ts +0 -1
- package/dist/components/table/table-columns/TableCheckbox.d.ts +0 -11
- package/dist/components/table/table-columns/TableRadio.d.ts +0 -7
- package/dist/components/table/table-columns/index.d.ts +0 -2
- package/dist/components/table/table-empty/TableEmpty.d.ts +0 -6
- package/dist/components/table/table-empty/index.d.ts +0 -1
- package/dist/components/table/table-filters/FilterCheckbox.d.ts +0 -13
- package/dist/components/table/table-filters/FilterTooltip.d.ts +0 -9
- package/dist/components/table/table-filters/TableFilter.d.ts +0 -14
- package/dist/components/table/table-filters/TableFilters.d.ts +0 -7
- package/dist/components/table/table-filters/index.d.ts +0 -1
- package/dist/components/table/table-loader/TableLoader.d.ts +0 -4
- package/dist/components/table/table-loader/index.d.ts +0 -1
- package/dist/components/table/table-selected-actions/TableSelectedActions.d.ts +0 -8
- package/dist/components/table/table-selected-actions/index.d.ts +0 -1
- package/dist/components/table/types.d.ts +0 -36
- package/dist/components/table-v3/TableV3.d.ts +0 -119
- package/dist/components/table-v3/constants.d.ts +0 -3
- package/dist/components/table-v3/index.d.ts +0 -4
- package/dist/components/table-v3/inventory/inventory.store.d.ts +0 -40
- package/dist/components/table-v3/store.d.ts +0 -16
- package/dist/components/table-v3/table-actions/TableActions.d.ts +0 -8
- package/dist/components/table-v3/table-actions/index.d.ts +0 -1
- package/dist/components/table-v3/table-columns/TableCheckbox.d.ts +0 -8
- package/dist/components/table-v3/table-columns/TableRadio.d.ts +0 -7
- package/dist/components/table-v3/table-columns/index.d.ts +0 -2
- package/dist/components/table-v3/table-custom-cols/CustomColCheckbox.d.ts +0 -10
- package/dist/components/table-v3/table-custom-cols/TableCustomCols.d.ts +0 -30
- package/dist/components/table-v3/table-custom-cols/index.d.ts +0 -1
- package/dist/components/table-v3/table-custom-cols/sortable/SortableItem.d.ts +0 -10
- package/dist/components/table-v3/table-custom-cols/sortable/SortableList.d.ts +0 -19
- package/dist/components/table-v3/table-custom-cols/sortable/SortableOverlay.d.ts +0 -6
- package/dist/components/table-v3/table-custom-cols/utils.d.ts +0 -16
- package/dist/components/table-v3/table-empty/TableEmpty.d.ts +0 -6
- package/dist/components/table-v3/table-empty/index.d.ts +0 -1
- package/dist/components/table-v3/table-filters-drawer/TableFiltersDrawer.d.ts +0 -7
- package/dist/components/table-v3/table-filters-drawer/TableFiltersDrawerNew.d.ts +0 -7
- package/dist/components/table-v3/table-filters-drawer/index.d.ts +0 -1
- package/dist/components/table-v3/table-filters-drawer/utils.d.ts +0 -16
- package/dist/components/table-v3/table-header-filters/FilterCheckbox.d.ts +0 -13
- package/dist/components/table-v3/table-header-filters/FilterDrawerAllCheckbox.d.ts +0 -7
- package/dist/components/table-v3/table-header-filters/FilterDrawerCheckbox.d.ts +0 -12
- package/dist/components/table-v3/table-header-filters/FilterDrawerCheckboxNew.d.ts +0 -9
- package/dist/components/table-v3/table-header-filters/FilterTooltip.d.ts +0 -9
- package/dist/components/table-v3/table-header-filters/TableHeaderFilter.d.ts +0 -14
- package/dist/components/table-v3/table-header-filters/TableHeaderFilters.d.ts +0 -8
- package/dist/components/table-v3/table-header-filters/index.d.ts +0 -1
- package/dist/components/table-v3/table-loader/TableLoader.d.ts +0 -4
- package/dist/components/table-v3/table-loader/index.d.ts +0 -1
- package/dist/components/table-v3/table-meta-header/TableMetaHeader.d.ts +0 -18
- package/dist/components/table-v3/table-meta-header/index.d.ts +0 -1
- package/dist/components/table-v3/table-pagination/TableEllipses.d.ts +0 -6
- package/dist/components/table-v3/table-pagination/TableLimit.d.ts +0 -7
- package/dist/components/table-v3/table-pagination/TablePagination.d.ts +0 -7
- package/dist/components/table-v3/table-pagination/index.d.ts +0 -1
- package/dist/components/table-v3/table-pagination/utils.d.ts +0 -4
- package/dist/components/table-v3/table-selected-actions/TableSelectedActions.d.ts +0 -8
- package/dist/components/table-v3/table-selected-actions/index.d.ts +0 -1
- package/dist/components/table-v3/types.d.ts +0 -52
- package/dist/components/table-v3/value-cells/table-box-ellipses/TableBoxEllipses.d.ts +0 -7
- package/dist/components/table-v3/value-cells/table-box-ellipses/index.d.ts +0 -1
- package/dist/components/table-v3/value-cells/table-device-cell/TableDeviceCell.d.ts +0 -7
- package/dist/components/table-v3/value-cells/table-user-cell/TableUserCell.d.ts +0 -7
- package/dist/components/tabs/Tab.d.ts +0 -12
- package/dist/components/tabs/Tabs.d.ts +0 -12
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/tag/Tag.d.ts +0 -15
- package/dist/components/tag/index.d.ts +0 -1
- package/dist/components/task-cards/TaskCards.d.ts +0 -24
- package/dist/components/task-cards/components/task-card/TaskCard.d.ts +0 -7
- package/dist/components/task-cards/components/task-card-header/TaskCardHeader.d.ts +0 -3
- package/dist/components/task-cards/helper.d.ts +0 -1
- package/dist/components/task-cards/index.d.ts +0 -1
- package/dist/components/task-cards/types.d.ts +0 -36
- package/dist/components/toasts/Toasts.d.ts +0 -14
- package/dist/components/toasts/index.d.ts +0 -1
- package/dist/components/toasts/types.d.ts +0 -5
- package/dist/components/tooltip/Tooltip.d.ts +0 -28
- package/dist/components/tooltip/TooltipContent.d.ts +0 -24
- package/dist/components/tooltip/TooltipTrigger.d.ts +0 -16
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/tooltip-v2/TooltipV2.d.ts +0 -14
- package/dist/components/tooltip-v2/index.d.ts +0 -1
- package/dist/components/upload/Upload.d.ts +0 -52
- package/dist/components/upload/helper.d.ts +0 -2
- package/dist/components/upload/index.d.ts +0 -1
- package/dist/components/upload/types.d.ts +0 -15
- package/dist/components/upload/upload.stories.d.ts +0 -7
- package/dist/components/user-chip/UserChip.d.ts +0 -17
- package/dist/components/user-chip/index.d.ts +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pratik Awaik <pratik@hybr1d.io>
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
interface PopoverContentProps {
|
|
6
|
-
/**
|
|
7
|
-
* The content of the PopoverContent.
|
|
8
|
-
*/
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* The popover API object.
|
|
12
|
-
*/
|
|
13
|
-
api?: any;
|
|
14
|
-
/**
|
|
15
|
-
* The background color of the PopoverContent.
|
|
16
|
-
*/
|
|
17
|
-
bg?: 'black' | 'gray' | string;
|
|
18
|
-
/**
|
|
19
|
-
* The styles to apply to the PopoverContent.
|
|
20
|
-
*/
|
|
21
|
-
styles?: React.CSSProperties;
|
|
22
|
-
/**
|
|
23
|
-
* The className to apply to the PopoverContent.
|
|
24
|
-
*/
|
|
25
|
-
className?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The styles to apply to Popover positioner
|
|
28
|
-
*/
|
|
29
|
-
positionerStyles?: React.CSSProperties;
|
|
30
|
-
}
|
|
31
|
-
export declare function PopoverContent({ children, api, bg, styles, className, positionerStyles, }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pratik Awaik <pratik@hybr1d.io>
|
|
3
|
-
*/
|
|
4
|
-
interface PopoverDescriptionProps {
|
|
5
|
-
/**
|
|
6
|
-
* The content of the PopoverDescription.
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* The popover API object.
|
|
11
|
-
*/
|
|
12
|
-
api?: any;
|
|
13
|
-
/**
|
|
14
|
-
* The styles to apply to the PopoverDescription.
|
|
15
|
-
*/
|
|
16
|
-
styles?: React.CSSProperties;
|
|
17
|
-
/**
|
|
18
|
-
* The className to apply to the PopoverDescription.
|
|
19
|
-
*/
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function PopoverDescription({ children, api, styles, className }: PopoverDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pratik Awaik <pratik@hybr1d.io>
|
|
3
|
-
*/
|
|
4
|
-
interface PopoverTitleProps {
|
|
5
|
-
/**
|
|
6
|
-
* The content of the PopoverTitle.
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* The popover API object.
|
|
11
|
-
*/
|
|
12
|
-
api?: any;
|
|
13
|
-
/**
|
|
14
|
-
* The styles to apply to the PopoverTitle.
|
|
15
|
-
*/
|
|
16
|
-
styles?: React.CSSProperties;
|
|
17
|
-
/**
|
|
18
|
-
* The className to apply to the PopoverTitle.
|
|
19
|
-
*/
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function PopoverTitle({ children, api, styles, className }: PopoverTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pratik Awaik <pratik@hybr1d.io>
|
|
3
|
-
*/
|
|
4
|
-
interface PopoverTriggerProps {
|
|
5
|
-
/**
|
|
6
|
-
* The content of the PopoverTrigger.
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* The popover API object.
|
|
11
|
-
*/
|
|
12
|
-
api?: any;
|
|
13
|
-
/**
|
|
14
|
-
* Whether the popover should open on hover.
|
|
15
|
-
* @default true
|
|
16
|
-
* If set to false, the popover will only open on click.
|
|
17
|
-
*/
|
|
18
|
-
openOnHover?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The styles to apply to the PopoverTrigger.
|
|
21
|
-
*/
|
|
22
|
-
styles?: React.CSSProperties;
|
|
23
|
-
/**
|
|
24
|
-
* The className to apply to the PopoverTrigger.
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare function PopoverTrigger({ children, api, openOnHover, styles, className, }: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { Popover } from './Popover';
|
|
2
|
-
export { PopoverCloseButton } from './PopoverCloseButton';
|
|
3
|
-
export { PopoverContent } from './PopoverContent';
|
|
4
|
-
export { PopoverDescription } from './PopoverDescription';
|
|
5
|
-
export { PopoverTitle } from './PopoverTitle';
|
|
6
|
-
export { PopoverTrigger } from './PopoverTrigger';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Example(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type ProgressProps = {
|
|
3
|
-
/**
|
|
4
|
-
* steps to show
|
|
5
|
-
* if there isError is true, user won't be able to click on Continue or finish button
|
|
6
|
-
*/
|
|
7
|
-
steps: {
|
|
8
|
-
label: string;
|
|
9
|
-
component: React.ReactNode;
|
|
10
|
-
isError: boolean;
|
|
11
|
-
onContinueClick?: Function;
|
|
12
|
-
}[];
|
|
13
|
-
/**
|
|
14
|
-
* handle cancel click
|
|
15
|
-
*/
|
|
16
|
-
onCancelClick: () => void;
|
|
17
|
-
/**
|
|
18
|
-
* handle final step click
|
|
19
|
-
*/
|
|
20
|
-
onFinalStepClick: () => void;
|
|
21
|
-
/**
|
|
22
|
-
* text to show on footer continue button when the step is last step
|
|
23
|
-
*/
|
|
24
|
-
lastStepFooterContinueBtnText: string;
|
|
25
|
-
/**
|
|
26
|
-
* show skip button or not
|
|
27
|
-
*/
|
|
28
|
-
showSkipBtn?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* show buttons on header
|
|
31
|
-
*/
|
|
32
|
-
showHeaderBtns?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* show footer
|
|
35
|
-
*/
|
|
36
|
-
showFooter?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* text to show on header continue button when the step is last step
|
|
39
|
-
*/
|
|
40
|
-
lastStepHeaderContinueBtnText?: string;
|
|
41
|
-
/**
|
|
42
|
-
* allow navigation of steps when user click on certain step
|
|
43
|
-
*/
|
|
44
|
-
allowNavigationOnStepClick?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* step to show skip button (counting starts from zero)
|
|
47
|
-
*/
|
|
48
|
-
stepToShowSkipBtn?: number;
|
|
49
|
-
/**
|
|
50
|
-
* skip button text
|
|
51
|
-
*/
|
|
52
|
-
skipBtnText?: string;
|
|
53
|
-
/**
|
|
54
|
-
* directly jump to particular step (index starts from 0)
|
|
55
|
-
*/
|
|
56
|
-
jumpToStep?: number;
|
|
57
|
-
/**
|
|
58
|
-
* on skip click
|
|
59
|
-
*/
|
|
60
|
-
onSkipClick?: () => void;
|
|
61
|
-
};
|
|
62
|
-
export declare function Progress({ steps, onCancelClick, onFinalStepClick, stepToShowSkipBtn, lastStepFooterContinueBtnText, showSkipBtn, showHeaderBtns, showFooter, lastStepHeaderContinueBtnText, allowNavigationOnStepClick, skipBtnText, jumpToStep, onSkipClick, }: ProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Progress } from './Progress';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface RadioGroupProps {
|
|
3
|
-
/**
|
|
4
|
-
* heading for radio group
|
|
5
|
-
*/
|
|
6
|
-
radioHeading?: string;
|
|
7
|
-
/**
|
|
8
|
-
* items to show in radio group
|
|
9
|
-
*/
|
|
10
|
-
items: Array<{
|
|
11
|
-
label: {
|
|
12
|
-
heading: string | React.ReactNode;
|
|
13
|
-
subHeading?: string;
|
|
14
|
-
};
|
|
15
|
-
value: string;
|
|
16
|
-
tooltip?: {
|
|
17
|
-
txt: string;
|
|
18
|
-
trigger?: React.ReactNode;
|
|
19
|
-
placement?: string;
|
|
20
|
-
};
|
|
21
|
-
}>;
|
|
22
|
-
/**
|
|
23
|
-
* default value to be selected on first render
|
|
24
|
-
*/
|
|
25
|
-
defaultValue?: string;
|
|
26
|
-
/**
|
|
27
|
-
* callback to be called on change of radio group
|
|
28
|
-
* @param value
|
|
29
|
-
* value of selected radio
|
|
30
|
-
* */
|
|
31
|
-
onChange: (value: string) => void;
|
|
32
|
-
/**
|
|
33
|
-
* if radio group is required
|
|
34
|
-
* */
|
|
35
|
-
required?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* error msg to display
|
|
38
|
-
*/
|
|
39
|
-
errorMsg?: string;
|
|
40
|
-
optionsContainerStyles?: React.CSSProperties;
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
showSkeleton?: boolean;
|
|
43
|
-
}
|
|
44
|
-
export declare function RadioGroup({ items, radioHeading, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, showSkeleton, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RadioGroup } from './RadioGroup';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface SearchProps {
|
|
3
|
-
id: string;
|
|
4
|
-
search?: string;
|
|
5
|
-
setSearch?: React.Dispatch<React.SetStateAction<string>>;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
clearIconClearFn?: any;
|
|
8
|
-
customStyles?: {
|
|
9
|
-
customInputStyles?: React.CSSProperties;
|
|
10
|
-
customIconStyles?: React.CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Search';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SearchV2Props } from './types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SearchV2 is a customizable search input component that integrates with the `InputV2` component.
|
|
5
|
-
* It includes search and clear icons, and supports controlled and uncontrolled modes for managing the search input value.
|
|
6
|
-
*
|
|
7
|
-
* @param {SearchV2Props} props - The properties for the SearchV2 component.
|
|
8
|
-
* @param {string} [props.search=''] - The current search term value (used in uncontrolled mode).
|
|
9
|
-
* @param {React.Dispatch<React.SetStateAction<string>>} [props.setSearch] - Function to update the search term (used in controlled mode).
|
|
10
|
-
* @param {InputV2Props} [props] - Additional properties to pass to the `InputV2` component.
|
|
11
|
-
* @returns {JSX.Element} The rendered SearchV2 component.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <SearchV2
|
|
15
|
-
* search={searchTerm}
|
|
16
|
-
* setSearch={setSearchTerm}
|
|
17
|
-
* placeholder="Search..."
|
|
18
|
-
* />
|
|
19
|
-
*/
|
|
20
|
-
export declare function SearchV2({ search, setSearch, ...props }: SearchV2Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Search';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface SegmentedControlProps {
|
|
3
|
-
/**
|
|
4
|
-
* items to show in segmented control
|
|
5
|
-
*/
|
|
6
|
-
items: Array<{
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
component: React.ReactNode;
|
|
10
|
-
}>;
|
|
11
|
-
/**
|
|
12
|
-
* default value to be selected on first render
|
|
13
|
-
*/
|
|
14
|
-
defaultValue?: string;
|
|
15
|
-
/**
|
|
16
|
-
* handle on change
|
|
17
|
-
* use this if you are controlling the behavior of segmented control from an external entity
|
|
18
|
-
*/
|
|
19
|
-
handleOnChange?: (value: string) => void;
|
|
20
|
-
}
|
|
21
|
-
export declare function SegmentedControl({ items, defaultValue, handleOnChange }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SegmentedControl } from './SegmentedControl';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const Option: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const MultiValueLabel: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const MultiValueRemove: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const ClearIndicator: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const DropdownIndicator: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const SingleValue: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { MenuPlacement, StylesConfig } from 'react-select';
|
|
2
|
-
import { SelectActionMeta } from './types';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
interface CreatableSelectProps {
|
|
5
|
-
/**
|
|
6
|
-
* The options to be displayed in the select
|
|
7
|
-
* should atleast have {label: string, value: string}
|
|
8
|
-
*/
|
|
9
|
-
options: Array<{
|
|
10
|
-
label: string | '';
|
|
11
|
-
value: string | '';
|
|
12
|
-
profileImgUrl?: string;
|
|
13
|
-
}> | any;
|
|
14
|
-
/**
|
|
15
|
-
* Handle change events on the select
|
|
16
|
-
*/
|
|
17
|
-
onChange: (newValue: string | string[], actionMeta: SelectActionMeta) => void;
|
|
18
|
-
/**
|
|
19
|
-
* The name of the select
|
|
20
|
-
*/
|
|
21
|
-
name?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The id of the select
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The className of the select
|
|
28
|
-
*/
|
|
29
|
-
className?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The placeholder of the select
|
|
32
|
-
*/
|
|
33
|
-
placeholder?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the select is searchable
|
|
36
|
-
*/
|
|
37
|
-
isSearchable?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether multiple selection is possible
|
|
40
|
-
*/
|
|
41
|
-
isMulti?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the select is clearable
|
|
44
|
-
*/
|
|
45
|
-
isClearable?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The styles of the select component
|
|
48
|
-
*/
|
|
49
|
-
selectStyles?: StylesConfig<any>;
|
|
50
|
-
/**
|
|
51
|
-
* The default value of the select
|
|
52
|
-
*/
|
|
53
|
-
defaultValue?: {
|
|
54
|
-
label: string;
|
|
55
|
-
value: string;
|
|
56
|
-
profileImgUrl?: string;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Formats group labels in the menu as React components
|
|
60
|
-
*/
|
|
61
|
-
formatGroupLabel?: (data: any) => React.ReactNode;
|
|
62
|
-
/**
|
|
63
|
-
* The custom styles of the select container
|
|
64
|
-
*/
|
|
65
|
-
customContainerStyles?: React.CSSProperties;
|
|
66
|
-
/**
|
|
67
|
-
* Whether the select is disabled
|
|
68
|
-
*/
|
|
69
|
-
isDisabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.
|
|
72
|
-
*/
|
|
73
|
-
menuPlacement?: MenuPlacement;
|
|
74
|
-
/**
|
|
75
|
-
* The error message to be displayed
|
|
76
|
-
*/
|
|
77
|
-
errorMsg?: string | false;
|
|
78
|
-
/**
|
|
79
|
-
* extra props to pass for select component
|
|
80
|
-
*/
|
|
81
|
-
extraprops?: any;
|
|
82
|
-
/**
|
|
83
|
-
* create new option api mutate function
|
|
84
|
-
*/
|
|
85
|
-
createNewOption: (value: string | string[]) => Promise<OptionType | Array<OptionType>>;
|
|
86
|
-
/**
|
|
87
|
-
* refetch options to show options in dropdown
|
|
88
|
-
*/
|
|
89
|
-
refetchOptions?: Function;
|
|
90
|
-
}
|
|
91
|
-
export type OptionType = {
|
|
92
|
-
label: string;
|
|
93
|
-
value: string;
|
|
94
|
-
__isNew__?: boolean;
|
|
95
|
-
};
|
|
96
|
-
export declare function CreatableSelect({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, createNewOption, refetchOptions, }: CreatableSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
97
|
-
export {};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { MenuPlacement, StylesConfig } from 'react-select';
|
|
2
|
-
import { SelectActionMeta } from './types';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
interface SelectProps {
|
|
5
|
-
/**
|
|
6
|
-
* The options to be displayed in the select
|
|
7
|
-
* should atleast have {label: string, value: string}
|
|
8
|
-
*/
|
|
9
|
-
options: Array<{
|
|
10
|
-
label: string | '';
|
|
11
|
-
value: string | '';
|
|
12
|
-
profileImgUrl?: string;
|
|
13
|
-
}> | any;
|
|
14
|
-
/**
|
|
15
|
-
* Handle change events on the select
|
|
16
|
-
*/
|
|
17
|
-
onChange: (newValue: string | string[], actionMeta: SelectActionMeta) => void;
|
|
18
|
-
/**
|
|
19
|
-
* The name of the select
|
|
20
|
-
*/
|
|
21
|
-
name?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The id of the select
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The className of the select
|
|
28
|
-
*/
|
|
29
|
-
className?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The placeholder of the select
|
|
32
|
-
*/
|
|
33
|
-
placeholder?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the select is searchable
|
|
36
|
-
*/
|
|
37
|
-
isSearchable?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether multiple selection is possible
|
|
40
|
-
*/
|
|
41
|
-
isMulti?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the select is clearable
|
|
44
|
-
*/
|
|
45
|
-
isClearable?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The styles of the select component
|
|
48
|
-
*/
|
|
49
|
-
selectStyles?: StylesConfig<any>;
|
|
50
|
-
/**
|
|
51
|
-
* The default value of the select
|
|
52
|
-
*/
|
|
53
|
-
defaultValue?: {
|
|
54
|
-
label: string;
|
|
55
|
-
value: string;
|
|
56
|
-
profileImgUrl?: string;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Formats group labels in the menu as React components
|
|
60
|
-
*/
|
|
61
|
-
formatGroupLabel?: (data: any) => React.ReactNode;
|
|
62
|
-
/**
|
|
63
|
-
* The custom styles of the select container
|
|
64
|
-
*/
|
|
65
|
-
customContainerStyles?: React.CSSProperties;
|
|
66
|
-
customErrorStyles?: React.CSSProperties;
|
|
67
|
-
isDisabled?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.
|
|
70
|
-
*/
|
|
71
|
-
menuPlacement?: MenuPlacement;
|
|
72
|
-
/**
|
|
73
|
-
* The error message to be displayed
|
|
74
|
-
*/
|
|
75
|
-
errorMsg?: string | false;
|
|
76
|
-
/**
|
|
77
|
-
* extra props to pass for select component
|
|
78
|
-
*/
|
|
79
|
-
extraprops?: any;
|
|
80
|
-
/**
|
|
81
|
-
* props to add custom dropdown
|
|
82
|
-
*/
|
|
83
|
-
CustomDropdownIndicator?: React.ReactNode;
|
|
84
|
-
customValue?: any;
|
|
85
|
-
}
|
|
86
|
-
export declare function Select({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, customErrorStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, customValue, CustomDropdownIndicator, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
export {};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { MenuPlacement, StylesConfig } from 'react-select';
|
|
2
|
-
import { SelectActionMeta } from './types';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
interface SelectAsyncProps {
|
|
5
|
-
/**
|
|
6
|
-
* The options to be displayed in the select
|
|
7
|
-
* should atleast have {label: string, value: string}
|
|
8
|
-
*/
|
|
9
|
-
options: (inputValue: string) => Promise<Array<{
|
|
10
|
-
label: string | '';
|
|
11
|
-
value: string | '';
|
|
12
|
-
profileImgUrl?: string | null;
|
|
13
|
-
}> | void>;
|
|
14
|
-
/**
|
|
15
|
-
* Handle change events on the select
|
|
16
|
-
*/
|
|
17
|
-
onChange: (newValue: string | string[], actionMeta: SelectActionMeta) => void;
|
|
18
|
-
/**
|
|
19
|
-
* The name of the select
|
|
20
|
-
*/
|
|
21
|
-
name?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The id of the select
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The className of the select
|
|
28
|
-
*/
|
|
29
|
-
className?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The placeholder of the select
|
|
32
|
-
*/
|
|
33
|
-
placeholder?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the select is searchable
|
|
36
|
-
*/
|
|
37
|
-
isSearchable?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether multiple selection is possible
|
|
40
|
-
*/
|
|
41
|
-
isMulti?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the select is clearable
|
|
44
|
-
*/
|
|
45
|
-
isClearable?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The styles of the select component
|
|
48
|
-
*/
|
|
49
|
-
selectStyles?: StylesConfig<any>;
|
|
50
|
-
/**
|
|
51
|
-
* The default value of the select
|
|
52
|
-
*/
|
|
53
|
-
defaultValue?: any;
|
|
54
|
-
/**
|
|
55
|
-
* Formats group labels in the menu as React components
|
|
56
|
-
*/
|
|
57
|
-
formatGroupLabel?: (data: any) => React.ReactNode;
|
|
58
|
-
/**
|
|
59
|
-
* The custom styles of the select container
|
|
60
|
-
*/
|
|
61
|
-
customContainerStyles?: React.CSSProperties;
|
|
62
|
-
/**
|
|
63
|
-
* Whether the select is disabled
|
|
64
|
-
*/
|
|
65
|
-
isDisabled?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.
|
|
68
|
-
*/
|
|
69
|
-
menuPlacement?: MenuPlacement;
|
|
70
|
-
/**
|
|
71
|
-
* The error message to be displayed
|
|
72
|
-
*/
|
|
73
|
-
errorMsg?: string | string[] | false;
|
|
74
|
-
/**
|
|
75
|
-
* extra props to pass for select component
|
|
76
|
-
*/
|
|
77
|
-
extraProps?: any;
|
|
78
|
-
customValue?: any;
|
|
79
|
-
}
|
|
80
|
-
export declare function SelectAsync({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraProps, isDisabled, isSearchable, isMulti, isClearable, customValue, }: SelectAsyncProps): import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MultiValue, SingleValue, ActionMeta } from 'react-select';
|
|
2
|
-
|
|
3
|
-
export type SelectMultiValue = MultiValue<{
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}>;
|
|
7
|
-
export type SelectSingleValue = SingleValue<{
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}>;
|
|
11
|
-
export type SelectValue = SelectMultiValue | SelectSingleValue;
|
|
12
|
-
export type SelectActionMeta = ActionMeta<{
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}>;
|