pixelize-design-library 2.1.11 → 2.1.13
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/App.d.ts +4 -0
- package/dist/App.js +128 -0
- package/dist/Assets/defaultLogo.d.ts +3 -0
- package/dist/Assets/defaultLogo.js +15 -0
- package/dist/Assets/defaultLogo.tsx +31 -0
- package/dist/Components/Accordion/Accordion.d.ts +4 -0
- package/dist/Components/Accordion/Accordion.js +40 -0
- package/dist/Components/Accordion/AccordionProps.d.ts +17 -0
- package/dist/Components/Accordion/AccordionProps.js +2 -0
- package/dist/Components/AlertDialog/AlertDialog.d.ts +4 -0
- package/dist/Components/AlertDialog/AlertDialog.js +20 -0
- package/dist/Components/AlertDialog/AlertDialogProps.d.ts +20 -0
- package/dist/Components/AlertDialog/AlertDialogProps.js +2 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts +3 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.js +64 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.stories.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.stories.js +6 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts +19 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.js +2 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts +3 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.js +29 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.stories.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.stories.js +6 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts +41 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.js +2 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.js +17 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.js +6 -0
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts +11 -0
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.js +2 -0
- package/dist/Components/Button/Button.d.ts +5 -0
- package/dist/Components/Button/Button.js +32 -0
- package/dist/Components/Button/Button.stories.d.ts +1 -0
- package/dist/Components/Button/Button.stories.js +6 -0
- package/dist/Components/Button/Button.styles.d.ts +2 -0
- package/dist/Components/Button/Button.styles.js +112 -0
- package/dist/Components/Button/ButtonProps.d.ts +13 -0
- package/dist/Components/Button/ButtonProps.js +2 -0
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +33 -0
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.js +2 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts +5 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +86 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.js +6 -0
- package/dist/Components/Buttons/Buttons.d.ts +4 -0
- package/dist/Components/Buttons/Buttons.js +11 -0
- package/dist/Components/Buttons/ButtonsProps.d.ts +6 -0
- package/dist/Components/Buttons/ButtonsProps.js +2 -0
- package/dist/Components/Card/Card.d.ts +3 -0
- package/dist/Components/Card/Card.js +12 -0
- package/dist/Components/Card/CardProps.d.ts +14 -0
- package/dist/Components/Card/CardProps.js +2 -0
- package/dist/Components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/Components/Checkbox/Checkbox.js +20 -0
- package/dist/Components/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/Components/Checkbox/Checkbox.stories.js +7 -0
- package/dist/Components/Checkbox/Checkbox.styles.d.ts +2 -0
- package/dist/Components/Checkbox/Checkbox.styles.js +54 -0
- package/dist/Components/Checkbox/CheckboxProps.d.ts +15 -0
- package/dist/Components/Checkbox/CheckboxProps.js +2 -0
- package/dist/Components/Common/ErrorComponent.d.ts +6 -0
- package/dist/Components/Common/ErrorComponent.js +16 -0
- package/dist/Components/Common/ErrorMessage.d.ts +5 -0
- package/dist/Components/Common/ErrorMessage.js +17 -0
- package/dist/Components/Common/FormLabel.d.ts +8 -0
- package/dist/Components/Common/FormLabel.js +22 -0
- package/dist/Components/Common/HelperText.d.ts +5 -0
- package/dist/Components/Common/HelperText.js +14 -0
- package/dist/Components/Common/Label.d.ts +7 -0
- package/dist/Components/Common/Label.js +13 -0
- package/dist/Components/ContactForm/ContactForm.d.ts +4 -0
- package/dist/Components/ContactForm/ContactForm.js +215 -0
- package/dist/Components/ContactForm/ContactFormProps.d.ts +9 -0
- package/dist/Components/ContactForm/ContactFormProps.js +2 -0
- package/dist/Components/DatePicker/DatePicker.d.ts +3 -0
- package/dist/Components/DatePicker/DatePicker.js +235 -0
- package/dist/Components/DatePicker/DatePickerProps.d.ts +42 -0
- package/dist/Components/DatePicker/DatePickerProps.js +2 -0
- package/dist/Components/DatePicker/TimePicker.d.ts +4 -0
- package/dist/Components/DatePicker/TimePicker.js +101 -0
- package/dist/Components/Divider/Divider.d.ts +3 -0
- package/dist/Components/Divider/Divider.js +14 -0
- package/dist/Components/Drawer/Drawer.d.ts +12 -0
- package/dist/Components/Drawer/Drawer.js +40 -0
- package/dist/Components/Drawer/DrawerProps.d.ts +8 -0
- package/dist/Components/Drawer/DrawerProps.js +2 -0
- package/dist/Components/Dropdown/DropDown.d.ts +4 -0
- package/dist/Components/Dropdown/DropDown.js +97 -0
- package/dist/Components/Dropdown/DropdownProps.d.ts +26 -0
- package/dist/Components/Dropdown/DropdownProps.js +2 -0
- package/dist/Components/Editor/Editor.d.ts +3 -0
- package/dist/Components/Editor/Editor.js +12 -0
- package/dist/Components/Editor/EditorProps.d.ts +5 -0
- package/dist/Components/Editor/EditorProps.js +2 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts +3 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +44 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts +13 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.js +2 -0
- package/dist/Components/FileUpload/FileUpload.d.ts +4 -0
- package/dist/Components/FileUpload/FileUpload.js +156 -0
- package/dist/Components/FileUpload/FileUploadProps.d.ts +11 -0
- package/dist/Components/FileUpload/FileUploadProps.js +2 -0
- package/dist/Components/FileUpload/constants.d.ts +3 -0
- package/dist/Components/FileUpload/constants.js +28 -0
- package/dist/Components/Form/FormWrapper.d.ts +7 -0
- package/dist/Components/Form/FormWrapper.js +19 -0
- package/dist/Components/Header/Header.d.ts +4 -0
- package/dist/Components/Header/Header.js +57 -0
- package/dist/Components/Header/HeaderActions.d.ts +23 -0
- package/dist/Components/Header/HeaderActions.js +37 -0
- package/dist/Components/Header/HeaderProps.d.ts +44 -0
- package/dist/Components/Header/HeaderProps.js +2 -0
- package/dist/Components/Header/components/desktopMenu.d.ts +4 -0
- package/dist/Components/Header/components/desktopMenu.js +33 -0
- package/dist/Components/Header/components/mobileMenu.d.ts +4 -0
- package/dist/Components/Header/components/mobileMenu.js +32 -0
- package/dist/Components/Input/Input/Input.d.ts +4 -0
- package/dist/Components/Input/Input/Input.js +45 -0
- package/dist/Components/Input/Input/InputProps.d.ts +17 -0
- package/dist/Components/Input/Input/InputProps.js +2 -0
- package/dist/Components/Input/TextInput.d.ts +4 -0
- package/dist/Components/Input/TextInput.js +68 -0
- package/dist/Components/Input/TextInput.stories.d.ts +1 -0
- package/dist/Components/Input/TextInput.stories.js +8 -0
- package/dist/Components/Input/TextInput.styles.d.ts +2 -0
- package/dist/Components/Input/TextInput.styles.js +84 -0
- package/dist/Components/Input/TextInputProps.d.ts +24 -0
- package/dist/Components/Input/TextInputProps.js +2 -0
- package/dist/Components/InputTextArea/InputTextArea.d.ts +3 -0
- package/dist/Components/InputTextArea/InputTextArea.js +16 -0
- package/dist/Components/InputTextArea/InputTextArea.stories.d.ts +1 -0
- package/dist/Components/InputTextArea/InputTextArea.stories.js +7 -0
- package/dist/Components/InputTextArea/InputTextAreaProps.d.ts +10 -0
- package/dist/Components/InputTextArea/InputTextAreaProps.js +2 -0
- package/dist/Components/KanbanBoard/AccountCard.d.ts +9 -0
- package/dist/Components/KanbanBoard/AccountCard.js +74 -0
- package/dist/Components/KanbanBoard/AccountRow.d.ts +6 -0
- package/dist/Components/KanbanBoard/AccountRow.js +20 -0
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts +9 -0
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.js +26 -0
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts +4 -0
- package/dist/Components/KanbanBoard/KanbanBoard.js +120 -0
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +27 -0
- package/dist/Components/KanbanBoard/KanbanBoardProps.js +2 -0
- package/dist/Components/Loading/Loading.d.ts +3 -0
- package/dist/Components/Loading/Loading.js +36 -0
- package/dist/Components/Loading/Loading.stories.d.ts +1 -0
- package/dist/Components/Loading/Loading.stories.js +7 -0
- package/dist/Components/Loading/LoadingProps.d.ts +5 -0
- package/dist/Components/Loading/LoadingProps.js +2 -0
- package/dist/Components/Modal/Modal.d.ts +12 -0
- package/dist/Components/Modal/Modal.js +50 -0
- package/dist/Components/Modal/Modal.stories.d.ts +1 -0
- package/dist/Components/Modal/Modal.stories.js +7 -0
- package/dist/Components/Modal/ModalProps.d.ts +11 -0
- package/dist/Components/Modal/ModalProps.js +2 -0
- package/dist/Components/MultiSelect/MultiSelect.d.ts +3 -0
- package/dist/Components/MultiSelect/MultiSelect.js +115 -0
- package/dist/Components/MultiSelect/MultiSelectProps.d.ts +20 -0
- package/dist/Components/MultiSelect/MultiSelectProps.js +2 -0
- package/dist/Components/NavigationBar/NavBar.stories.d.ts +1 -0
- package/dist/Components/NavigationBar/NavBar.stories.js +3 -0
- package/dist/Components/NavigationBar/NavigationBar.d.ts +3 -0
- package/dist/Components/NavigationBar/NavigationBar.js +50 -0
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts +19 -0
- package/dist/Components/NavigationBar/NavigationBarProps.js +2 -0
- package/dist/Components/NoteTextArea/NoteTextArea.d.ts +3 -0
- package/dist/Components/NoteTextArea/NoteTextArea.js +274 -0
- package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts +16 -0
- package/dist/Components/NoteTextArea/NoteTextAreaProps.js +2 -0
- package/dist/Components/NumberInput/NumberInput.d.ts +3 -0
- package/dist/Components/NumberInput/NumberInput.js +16 -0
- package/dist/Components/NumberInput/NumberInput.stories.d.ts +1 -0
- package/dist/Components/NumberInput/NumberInput.stories.js +5 -0
- package/dist/Components/NumberInput/NumberInputProps.d.ts +12 -0
- package/dist/Components/NumberInput/NumberInputProps.js +2 -0
- package/dist/Components/PinInput/PinInput.d.ts +3 -0
- package/dist/Components/PinInput/PinInput.js +15 -0
- package/dist/Components/PinInput/PinInput.stories.d.ts +1 -0
- package/dist/Components/PinInput/PinInput.stories.js +6 -0
- package/dist/Components/PinInput/PinInputProps.d.ts +9 -0
- package/dist/Components/PinInput/PinInputProps.js +2 -0
- package/dist/Components/PinInputs/PinInputs.d.ts +4 -0
- package/dist/Components/PinInputs/PinInputs.js +71 -0
- package/dist/Components/PinInputs/PinInputsProps.d.ts +9 -0
- package/dist/Components/PinInputs/PinInputsProps.js +2 -0
- package/dist/Components/ProductCard/ProductCard.d.ts +4 -0
- package/dist/Components/ProductCard/ProductCard.js +51 -0
- package/dist/Components/ProductCard/ProductCardProps.d.ts +26 -0
- package/dist/Components/ProductCard/ProductCardProps.js +2 -0
- package/dist/Components/ProductCard/ProductLabel.d.ts +6 -0
- package/dist/Components/ProductCard/ProductLabel.js +14 -0
- package/dist/Components/ProductCard/ProductPrice.d.ts +7 -0
- package/dist/Components/ProductCard/ProductPrice.js +88 -0
- package/dist/Components/ProductCard/ProductReview.d.ts +7 -0
- package/dist/Components/ProductCard/ProductReview.js +23 -0
- package/dist/Components/ProductCard/ProductTags.d.ts +7 -0
- package/dist/Components/ProductCard/ProductTags.js +30 -0
- package/dist/Components/ProfileCard/ProfileCard.d.ts +12 -0
- package/dist/Components/ProfileCard/ProfileCard.js +57 -0
- package/dist/Components/ProfileCard/ProfileCard.stories.d.ts +1 -0
- package/dist/Components/ProfileCard/ProfileCard.stories.js +6 -0
- package/dist/Components/ProfileCard/ProfileCardProps.d.ts +16 -0
- package/dist/Components/ProfileCard/ProfileCardProps.js +2 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +3 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +94 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.js +6 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts +19 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.js +2 -0
- package/dist/Components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/Components/ProgressBar/ProgressBar.js +12 -0
- package/dist/Components/ProgressBar/ProgressBar.stories.d.ts +1 -0
- package/dist/Components/ProgressBar/ProgressBar.stories.js +7 -0
- package/dist/Components/ProgressBar/ProgressBarProps.d.ts +6 -0
- package/dist/Components/ProgressBar/ProgressBarProps.js +2 -0
- package/dist/Components/RadioButton/RadioButton.d.ts +5 -0
- package/dist/Components/RadioButton/RadioButton.js +31 -0
- package/dist/Components/RadioButton/RadioButton.stories.d.ts +1 -0
- package/dist/Components/RadioButton/RadioButton.stories.js +7 -0
- package/dist/Components/RadioButton/RadioButtonProps.d.ts +11 -0
- package/dist/Components/RadioButton/RadioButtonProps.js +2 -0
- package/dist/Components/Reorder/Reorder.d.ts +4 -0
- package/dist/Components/Reorder/Reorder.js +50 -0
- package/dist/Components/Reorder/ReorderProps.d.ts +10 -0
- package/dist/Components/Reorder/ReorderProps.js +2 -0
- package/dist/Components/Search/Search.d.ts +3 -0
- package/dist/Components/Search/Search.js +66 -0
- package/dist/Components/Search/SearchProps.d.ts +8 -0
- package/dist/Components/Search/SearchProps.js +2 -0
- package/dist/Components/SearchSelect/SearchSelect.d.ts +4 -0
- package/dist/Components/SearchSelect/SearchSelect.js +237 -0
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts +60 -0
- package/dist/Components/SearchSelect/SearchSelectProps.js +2 -0
- package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts +6 -0
- package/dist/Components/SearchSelect/SelectTruncatedLabel.js +45 -0
- package/dist/Components/Select/Select.d.ts +3 -0
- package/dist/Components/Select/Select.js +54 -0
- package/dist/Components/Select/Select.stories.d.ts +1 -0
- package/dist/Components/Select/Select.stories.js +8 -0
- package/dist/Components/Select/Select.styles.d.ts +2 -0
- package/dist/Components/Select/Select.styles.js +98 -0
- package/dist/Components/Select/SelectProps.d.ts +20 -0
- package/dist/Components/Select/SelectProps.js +2 -0
- package/dist/Components/SelectSearch/SelectSearch.d.ts +3 -0
- package/dist/Components/SelectSearch/SelectSearch.js +239 -0
- package/dist/Components/SelectSearch/SelectSearchProps.d.ts +42 -0
- package/dist/Components/SelectSearch/SelectSearchProps.js +2 -0
- package/dist/Components/SideBar/SideBar.d.ts +3 -0
- package/dist/Components/SideBar/SideBar.js +55 -0
- package/dist/Components/SideBar/SideBarProps.d.ts +29 -0
- package/dist/Components/SideBar/SideBarProps.js +2 -0
- package/dist/Components/SideBar/Sidebar.stories.d.ts +1 -0
- package/dist/Components/SideBar/Sidebar.stories.js +7 -0
- package/dist/Components/SideBar/components/MenuItemBox.d.ts +11 -0
- package/dist/Components/SideBar/components/MenuItemBox.js +116 -0
- package/dist/Components/SideBar/components/MenuItems.d.ts +4 -0
- package/dist/Components/SideBar/components/MenuItems.js +13 -0
- package/dist/Components/SideBar/components/MenuPopoverContent.d.ts +9 -0
- package/dist/Components/SideBar/components/MenuPopoverContent.js +37 -0
- package/dist/Components/SideBar/components/TextTruncation.d.ts +8 -0
- package/dist/Components/SideBar/components/TextTruncation.js +77 -0
- package/dist/Components/Skeletons/Skeleton.stories.d.ts +1 -0
- package/dist/Components/Skeletons/Skeleton.stories.js +7 -0
- package/dist/Components/Skeletons/SkeletonProps.d.ts +4 -0
- package/dist/Components/Skeletons/SkeletonProps.js +2 -0
- package/dist/Components/Skeletons/Skeletons.d.ts +3 -0
- package/dist/Components/Skeletons/Skeletons.js +15 -0
- package/dist/Components/Switch/Switch.d.ts +3 -0
- package/dist/Components/Switch/Switch.js +39 -0
- package/dist/Components/Switch/SwitchProps.d.ts +9 -0
- package/dist/Components/Switch/SwitchProps.js +2 -0
- package/dist/Components/Table/Components/HeaderActions.d.ts +7 -0
- package/dist/Components/Table/Components/HeaderActions.js +45 -0
- package/dist/Components/Table/Components/Pagination.d.ts +14 -0
- package/dist/Components/Table/Components/Pagination.js +32 -0
- package/dist/Components/Table/Components/TableActions.d.ts +3 -0
- package/dist/Components/Table/Components/TableActions.js +28 -0
- package/dist/Components/Table/Components/TableBody.d.ts +4 -0
- package/dist/Components/Table/Components/TableBody.js +140 -0
- package/dist/Components/Table/Components/TableFilters.d.ts +4 -0
- package/dist/Components/Table/Components/TableFilters.js +59 -0
- package/dist/Components/Table/Components/TableHeader.d.ts +4 -0
- package/dist/Components/Table/Components/TableHeader.js +147 -0
- package/dist/Components/Table/Components/TableLoading.d.ts +7 -0
- package/dist/Components/Table/Components/TableLoading.js +41 -0
- package/dist/Components/Table/Components/TableSearch.d.ts +6 -0
- package/dist/Components/Table/Components/TableSearch.js +60 -0
- package/dist/Components/Table/Components/useDebounce.d.ts +2 -0
- package/dist/Components/Table/Components/useDebounce.js +28 -0
- package/dist/Components/Table/Components/useTable.d.ts +46 -0
- package/dist/Components/Table/Components/useTable.js +168 -0
- package/dist/Components/Table/Table.d.ts +3 -0
- package/dist/Components/Table/Table.js +129 -0
- package/dist/Components/Table/Table.stories.d.ts +1 -0
- package/dist/Components/Table/Table.stories.js +9 -0
- package/dist/Components/Table/TableProps.d.ts +112 -0
- package/dist/Components/Table/TableProps.js +2 -0
- package/dist/Components/Table/TableSettings/ManageColumns.d.ts +10 -0
- package/dist/Components/Table/TableSettings/ManageColumns.js +107 -0
- package/dist/Components/Table/TableSettings/TableSettings.d.ts +7 -0
- package/dist/Components/Table/TableSettings/TableSettings.js +73 -0
- package/dist/Components/Table/TableToDo.d.ts +2 -0
- package/dist/Components/Table/TableToDo.js +291 -0
- package/dist/Components/Tag/Tag.d.ts +12 -0
- package/dist/Components/Tag/Tag.js +21 -0
- package/dist/Components/Tag/Tag.styles.d.ts +2 -0
- package/dist/Components/Tag/Tag.styles.js +63 -0
- package/dist/Components/Timeline/Timeline.d.ts +4 -0
- package/dist/Components/Timeline/Timeline.js +166 -0
- package/dist/Components/Timeline/TimelineProps.d.ts +20 -0
- package/dist/Components/Timeline/TimelineProps.js +2 -0
- package/dist/Components/Toaster/Toaster.d.ts +4 -0
- package/dist/Components/Toaster/Toaster.js +86 -0
- package/dist/Components/Toaster/Toaster.stories.d.ts +1 -0
- package/dist/Components/Toaster/Toaster.stories.js +8 -0
- package/dist/Components/Toaster/ToasterProps.d.ts +12 -0
- package/dist/Components/Toaster/ToasterProps.js +2 -0
- package/dist/Components/Toggle/TableToggle.d.ts +4 -0
- package/dist/Components/Toggle/TableToggle.js +60 -0
- package/dist/Components/Toggle/TableToggleProps.d.ts +5 -0
- package/dist/Components/Toggle/TableToggleProps.js +2 -0
- package/dist/Components/ToolTip/ToolTip.d.ts +3 -0
- package/dist/Components/ToolTip/ToolTip.js +12 -0
- package/dist/Components/ToolTip/ToolTip.stories.d.ts +1 -0
- package/dist/Components/ToolTip/ToolTip.stories.js +7 -0
- package/dist/Components/ToolTip/ToolTipProps.d.ts +7 -0
- package/dist/Components/ToolTip/ToolTipProps.js +2 -0
- package/dist/Components/Trail/EditableCell.d.ts +11 -0
- package/dist/Components/Trail/EditableCell.js +71 -0
- package/dist/Components/Trail/SelectAllCheckbox.d.ts +8 -0
- package/dist/Components/Trail/SelectAllCheckbox.js +13 -0
- package/dist/Components/Trail/TrailWorks.d.ts +3 -0
- package/dist/Components/Trail/TrailWorks.js +262 -0
- package/dist/Components/Trail/data.d.ts +15 -0
- package/dist/Components/Trail/data.js +29 -0
- package/dist/Constants/Sidebar.d.ts +38 -0
- package/dist/Constants/Sidebar.js +42 -0
- package/dist/Hooks/usePreferences.d.ts +24 -0
- package/dist/Hooks/usePreferences.js +73 -0
- package/dist/Layout.d.ts +3 -0
- package/dist/Layout.js +254 -0
- package/dist/Pages/TInput.d.ts +3 -0
- package/dist/Pages/TInput.js +46 -0
- package/dist/Pages/accordion.d.ts +3 -0
- package/dist/Pages/accordion.js +42 -0
- package/dist/Pages/alertdialog.d.ts +3 -0
- package/dist/Pages/alertdialog.js +44 -0
- package/dist/Pages/button.d.ts +3 -0
- package/dist/Pages/button.js +29 -0
- package/dist/Pages/card.d.ts +3 -0
- package/dist/Pages/card.js +48 -0
- package/dist/Pages/chart.d.ts +3 -0
- package/dist/Pages/chart.js +28 -0
- package/dist/Pages/checkbox.d.ts +3 -0
- package/dist/Pages/checkbox.js +12 -0
- package/dist/Pages/contactForm.d.ts +3 -0
- package/dist/Pages/contactForm.js +16 -0
- package/dist/Pages/datePick.d.ts +3 -0
- package/dist/Pages/datePick.js +70 -0
- package/dist/Pages/drawer.d.ts +3 -0
- package/dist/Pages/drawer.js +48 -0
- package/dist/Pages/dropdown.d.ts +3 -0
- package/dist/Pages/dropdown.js +24 -0
- package/dist/Pages/editor.d.ts +3 -0
- package/dist/Pages/editor.js +14 -0
- package/dist/Pages/fileUpload.d.ts +2 -0
- package/dist/Pages/fileUpload.js +65 -0
- package/dist/Pages/input.d.ts +3 -0
- package/dist/Pages/input.js +42 -0
- package/dist/Pages/kanbanboard.d.ts +3 -0
- package/dist/Pages/kanbanboard.js +115 -0
- package/dist/Pages/modal.d.ts +3 -0
- package/dist/Pages/modal.js +55 -0
- package/dist/Pages/multiSelect.d.ts +3 -0
- package/dist/Pages/multiSelect.js +45 -0
- package/dist/Pages/noteArea.d.ts +3 -0
- package/dist/Pages/noteArea.js +49 -0
- package/dist/Pages/numberInput.d.ts +3 -0
- package/dist/Pages/numberInput.js +39 -0
- package/dist/Pages/photoViewer.d.ts +3 -0
- package/dist/Pages/photoViewer.js +12 -0
- package/dist/Pages/pinInputs.d.ts +3 -0
- package/dist/Pages/pinInputs.js +12 -0
- package/dist/Pages/productCaard.d.ts +3 -0
- package/dist/Pages/productCaard.js +32 -0
- package/dist/Pages/progressbar.d.ts +3 -0
- package/dist/Pages/progressbar.js +12 -0
- package/dist/Pages/radioButton.d.ts +3 -0
- package/dist/Pages/radioButton.js +44 -0
- package/dist/Pages/search.d.ts +3 -0
- package/dist/Pages/search.js +44 -0
- package/dist/Pages/searchSelect.d.ts +3 -0
- package/dist/Pages/searchSelect.js +151 -0
- package/dist/Pages/select.d.ts +3 -0
- package/dist/Pages/select.js +43 -0
- package/dist/Pages/selectSearch.d.ts +3 -0
- package/dist/Pages/selectSearch.js +93 -0
- package/dist/Pages/skeleton.d.ts +3 -0
- package/dist/Pages/skeleton.js +22 -0
- package/dist/Pages/switch.d.ts +3 -0
- package/dist/Pages/switch.js +40 -0
- package/dist/Pages/table.d.ts +2 -0
- package/dist/Pages/table.js +144 -0
- package/dist/Pages/textArea.d.ts +3 -0
- package/dist/Pages/textArea.js +12 -0
- package/dist/Pages/timeline.d.ts +3 -0
- package/dist/Pages/timeline.js +74 -0
- package/dist/Pages/tooltip.d.ts +3 -0
- package/dist/Pages/tooltip.js +12 -0
- package/dist/Pages/toster.d.ts +3 -0
- package/dist/Pages/toster.js +63 -0
- package/dist/Pages/verifyEmail.d.ts +3 -0
- package/dist/Pages/verifyEmail.js +18 -0
- package/dist/Theme/Dark/theme.d.ts +2 -0
- package/dist/Theme/Dark/theme.js +283 -0
- package/dist/Theme/Default/palette.d.ts +370 -0
- package/dist/Theme/Default/palette.js +372 -0
- package/dist/Theme/Default/theme.d.ts +2 -0
- package/dist/Theme/Default/theme.js +23 -0
- package/dist/Theme/Meadow/palette.d.ts +368 -0
- package/dist/Theme/Meadow/palette.js +356 -0
- package/dist/Theme/Meadow/theme.d.ts +2 -0
- package/dist/Theme/Meadow/theme.js +23 -0
- package/dist/Theme/Radiant/palette.d.ts +368 -0
- package/dist/Theme/Radiant/palette.js +356 -0
- package/dist/Theme/Radiant/theme.d.ts +2 -0
- package/dist/Theme/Radiant/theme.js +23 -0
- package/dist/Theme/Skyline/palette.d.ts +368 -0
- package/dist/Theme/Skyline/palette.js +356 -0
- package/dist/Theme/Skyline/theme.d.ts +2 -0
- package/dist/Theme/Skyline/theme.js +23 -0
- package/dist/Theme/common.d.ts +166 -0
- package/dist/Theme/common.js +101 -0
- package/dist/Theme/componentStyles.d.ts +7 -0
- package/dist/Theme/componentStyles.js +15 -0
- package/dist/Theme/fonts.d.ts +34 -0
- package/dist/Theme/fonts.js +41 -0
- package/dist/Theme/index.d.ts +11 -0
- package/dist/Theme/index.js +20 -0
- package/dist/Theme/space.d.ts +33 -0
- package/dist/Theme/space.js +35 -0
- package/dist/Theme/theme.d.ts +2 -0
- package/dist/Theme/theme.js +9 -0
- package/dist/Theme/themeProps.d.ts +475 -0
- package/dist/Theme/themeProps.js +3 -0
- package/dist/Theme/useCustomTheme.d.ts +2 -0
- package/dist/Theme/useCustomTheme.js +8 -0
- package/dist/Utils/table.d.ts +36 -0
- package/dist/Utils/table.js +168 -0
- package/dist/_virtual/AMPMMidnightParser.js +1 -0
- package/dist/_virtual/AMPMParser.js +1 -0
- package/dist/_virtual/DateParser.js +1 -0
- package/dist/_virtual/DayOfYearParser.js +1 -0
- package/dist/_virtual/DayParser.js +1 -0
- package/dist/_virtual/DayPeriodParser.js +1 -0
- package/dist/_virtual/EraParser.js +1 -0
- package/dist/_virtual/ExtendedYearParser.js +1 -0
- package/dist/_virtual/FractionOfSecondParser.js +1 -0
- package/dist/_virtual/Hour0To11Parser.js +1 -0
- package/dist/_virtual/Hour0to23Parser.js +1 -0
- package/dist/_virtual/Hour1To24Parser.js +1 -0
- package/dist/_virtual/Hour1to12Parser.js +1 -0
- package/dist/_virtual/ISODayParser.js +1 -0
- package/dist/_virtual/ISOTimezoneParser.js +1 -0
- package/dist/_virtual/ISOTimezoneWithZParser.js +1 -0
- package/dist/_virtual/ISOWeekParser.js +1 -0
- package/dist/_virtual/ISOWeekYearParser.js +1 -0
- package/dist/_virtual/LocalDayParser.js +1 -0
- package/dist/_virtual/LocalWeekParser.js +1 -0
- package/dist/_virtual/LocalWeekYearParser.js +1 -0
- package/dist/_virtual/MinuteParser.js +1 -0
- package/dist/_virtual/MonthParser.js +1 -0
- package/dist/_virtual/Parser.js +1 -0
- package/dist/_virtual/QuarterParser.js +1 -0
- package/dist/_virtual/SecondParser.js +1 -0
- package/dist/_virtual/Setter.js +1 -0
- package/dist/_virtual/StandAloneLocalDayParser.js +1 -0
- package/dist/_virtual/StandAloneMonthParser.js +1 -0
- package/dist/_virtual/StandAloneQuarterParser.js +1 -0
- package/dist/_virtual/TimestampMillisecondsParser.js +1 -0
- package/dist/_virtual/TimestampSecondsParser.js +1 -0
- package/dist/_virtual/YearParser.js +1 -0
- package/dist/_virtual/add.js +1 -0
- package/dist/_virtual/addBusinessDays.js +1 -0
- package/dist/_virtual/addDays.js +1 -0
- package/dist/_virtual/addHours.js +1 -0
- package/dist/_virtual/addISOWeekYears.js +1 -0
- package/dist/_virtual/addLeadingZeros.js +1 -0
- package/dist/_virtual/addMilliseconds.js +1 -0
- package/dist/_virtual/addMinutes.js +1 -0
- package/dist/_virtual/addMonths.js +1 -0
- package/dist/_virtual/addQuarters.js +1 -0
- package/dist/_virtual/addSeconds.js +1 -0
- package/dist/_virtual/addWeeks.js +1 -0
- package/dist/_virtual/addYears.js +1 -0
- package/dist/_virtual/areIntervalsOverlapping.js +1 -0
- package/dist/_virtual/buildFormatLongFn.js +1 -0
- package/dist/_virtual/buildLocalizeFn.js +1 -0
- package/dist/_virtual/buildMatchFn.js +1 -0
- package/dist/_virtual/buildMatchPatternFn.js +1 -0
- package/dist/_virtual/clamp.js +1 -0
- package/dist/_virtual/closestIndexTo.js +1 -0
- package/dist/_virtual/closestTo.js +1 -0
- package/dist/_virtual/compareAsc.js +1 -0
- package/dist/_virtual/compareDesc.js +1 -0
- package/dist/_virtual/constants.js +1 -0
- package/dist/_virtual/constants2.js +1 -0
- package/dist/_virtual/constructFrom.js +1 -0
- package/dist/_virtual/constructNow.js +1 -0
- package/dist/_virtual/daysToWeeks.js +1 -0
- package/dist/_virtual/defaultLocale.js +1 -0
- package/dist/_virtual/defaultOptions.js +1 -0
- package/dist/_virtual/differenceInBusinessDays.js +1 -0
- package/dist/_virtual/differenceInCalendarDays.js +1 -0
- package/dist/_virtual/differenceInCalendarISOWeekYears.js +1 -0
- package/dist/_virtual/differenceInCalendarISOWeeks.js +1 -0
- package/dist/_virtual/differenceInCalendarMonths.js +1 -0
- package/dist/_virtual/differenceInCalendarQuarters.js +1 -0
- package/dist/_virtual/differenceInCalendarWeeks.js +1 -0
- package/dist/_virtual/differenceInCalendarYears.js +1 -0
- package/dist/_virtual/differenceInDays.js +1 -0
- package/dist/_virtual/differenceInHours.js +1 -0
- package/dist/_virtual/differenceInISOWeekYears.js +1 -0
- package/dist/_virtual/differenceInMilliseconds.js +1 -0
- package/dist/_virtual/differenceInMinutes.js +1 -0
- package/dist/_virtual/differenceInMonths.js +1 -0
- package/dist/_virtual/differenceInQuarters.js +1 -0
- package/dist/_virtual/differenceInSeconds.js +1 -0
- package/dist/_virtual/differenceInWeeks.js +1 -0
- package/dist/_virtual/differenceInYears.js +1 -0
- package/dist/_virtual/eachDayOfInterval.js +1 -0
- package/dist/_virtual/eachHourOfInterval.js +1 -0
- package/dist/_virtual/eachMinuteOfInterval.js +1 -0
- package/dist/_virtual/eachMonthOfInterval.js +1 -0
- package/dist/_virtual/eachQuarterOfInterval.js +1 -0
- package/dist/_virtual/eachWeekOfInterval.js +1 -0
- package/dist/_virtual/eachWeekendOfInterval.js +1 -0
- package/dist/_virtual/eachWeekendOfMonth.js +1 -0
- package/dist/_virtual/eachWeekendOfYear.js +1 -0
- package/dist/_virtual/eachYearOfInterval.js +1 -0
- package/dist/_virtual/en-US.js +1 -0
- package/dist/_virtual/endOfDay.js +1 -0
- package/dist/_virtual/endOfDecade.js +1 -0
- package/dist/_virtual/endOfHour.js +1 -0
- package/dist/_virtual/endOfISOWeek.js +1 -0
- package/dist/_virtual/endOfISOWeekYear.js +1 -0
- package/dist/_virtual/endOfMinute.js +1 -0
- package/dist/_virtual/endOfMonth.js +1 -0
- package/dist/_virtual/endOfQuarter.js +1 -0
- package/dist/_virtual/endOfSecond.js +1 -0
- package/dist/_virtual/endOfToday.js +1 -0
- package/dist/_virtual/endOfTomorrow.js +1 -0
- package/dist/_virtual/endOfWeek.js +1 -0
- package/dist/_virtual/endOfYear.js +1 -0
- package/dist/_virtual/endOfYesterday.js +1 -0
- package/dist/_virtual/format.js +1 -0
- package/dist/_virtual/formatDistance.js +1 -0
- package/dist/_virtual/formatDistance2.js +1 -0
- package/dist/_virtual/formatDistanceStrict.js +1 -0
- package/dist/_virtual/formatDistanceToNow.js +1 -0
- package/dist/_virtual/formatDistanceToNowStrict.js +1 -0
- package/dist/_virtual/formatDuration.js +1 -0
- package/dist/_virtual/formatISO.js +1 -0
- package/dist/_virtual/formatISO9075.js +1 -0
- package/dist/_virtual/formatISODuration.js +1 -0
- package/dist/_virtual/formatLong.js +1 -0
- package/dist/_virtual/formatRFC3339.js +1 -0
- package/dist/_virtual/formatRFC7231.js +1 -0
- package/dist/_virtual/formatRelative.js +1 -0
- package/dist/_virtual/formatRelative2.js +1 -0
- package/dist/_virtual/formatters.js +1 -0
- package/dist/_virtual/fromUnixTime.js +1 -0
- package/dist/_virtual/getDate.js +1 -0
- package/dist/_virtual/getDay.js +1 -0
- package/dist/_virtual/getDayOfYear.js +1 -0
- package/dist/_virtual/getDaysInMonth.js +1 -0
- package/dist/_virtual/getDaysInYear.js +1 -0
- package/dist/_virtual/getDecade.js +1 -0
- package/dist/_virtual/getDefaultOptions.js +1 -0
- package/dist/_virtual/getHours.js +1 -0
- package/dist/_virtual/getISODay.js +1 -0
- package/dist/_virtual/getISOWeek.js +1 -0
- package/dist/_virtual/getISOWeekYear.js +1 -0
- package/dist/_virtual/getISOWeeksInYear.js +1 -0
- package/dist/_virtual/getMilliseconds.js +1 -0
- package/dist/_virtual/getMinutes.js +1 -0
- package/dist/_virtual/getMonth.js +1 -0
- package/dist/_virtual/getOverlappingDaysInIntervals.js +1 -0
- package/dist/_virtual/getQuarter.js +1 -0
- package/dist/_virtual/getRoundingMethod.js +1 -0
- package/dist/_virtual/getSeconds.js +1 -0
- package/dist/_virtual/getTime.js +1 -0
- package/dist/_virtual/getTimezoneOffsetInMilliseconds.js +1 -0
- package/dist/_virtual/getUnixTime.js +1 -0
- package/dist/_virtual/getWeek.js +1 -0
- package/dist/_virtual/getWeekOfMonth.js +1 -0
- package/dist/_virtual/getWeekYear.js +1 -0
- package/dist/_virtual/getWeeksInMonth.js +1 -0
- package/dist/_virtual/getYear.js +1 -0
- package/dist/_virtual/hoursToMilliseconds.js +1 -0
- package/dist/_virtual/hoursToMinutes.js +1 -0
- package/dist/_virtual/hoursToSeconds.js +1 -0
- package/dist/_virtual/index.js +1 -0
- package/dist/_virtual/index2.js +1 -0
- package/dist/_virtual/interval.js +1 -0
- package/dist/_virtual/intervalToDuration.js +1 -0
- package/dist/_virtual/intlFormat.js +1 -0
- package/dist/_virtual/intlFormatDistance.js +1 -0
- package/dist/_virtual/isAfter.js +1 -0
- package/dist/_virtual/isBefore.js +1 -0
- package/dist/_virtual/isDate.js +1 -0
- package/dist/_virtual/isEqual.js +1 -0
- package/dist/_virtual/isExists.js +1 -0
- package/dist/_virtual/isFirstDayOfMonth.js +1 -0
- package/dist/_virtual/isFriday.js +1 -0
- package/dist/_virtual/isFuture.js +1 -0
- package/dist/_virtual/isLastDayOfMonth.js +1 -0
- package/dist/_virtual/isLeapYear.js +1 -0
- package/dist/_virtual/isMatch.js +1 -0
- package/dist/_virtual/isMonday.js +1 -0
- package/dist/_virtual/isPast.js +1 -0
- package/dist/_virtual/isSameDay.js +1 -0
- package/dist/_virtual/isSameHour.js +1 -0
- package/dist/_virtual/isSameISOWeek.js +1 -0
- package/dist/_virtual/isSameISOWeekYear.js +1 -0
- package/dist/_virtual/isSameMinute.js +1 -0
- package/dist/_virtual/isSameMonth.js +1 -0
- package/dist/_virtual/isSameQuarter.js +1 -0
- package/dist/_virtual/isSameSecond.js +1 -0
- package/dist/_virtual/isSameWeek.js +1 -0
- package/dist/_virtual/isSameYear.js +1 -0
- package/dist/_virtual/isSaturday.js +1 -0
- package/dist/_virtual/isSunday.js +1 -0
- package/dist/_virtual/isThisHour.js +1 -0
- package/dist/_virtual/isThisISOWeek.js +1 -0
- package/dist/_virtual/isThisMinute.js +1 -0
- package/dist/_virtual/isThisMonth.js +1 -0
- package/dist/_virtual/isThisQuarter.js +1 -0
- package/dist/_virtual/isThisSecond.js +1 -0
- package/dist/_virtual/isThisWeek.js +1 -0
- package/dist/_virtual/isThisYear.js +1 -0
- package/dist/_virtual/isThursday.js +1 -0
- package/dist/_virtual/isToday.js +1 -0
- package/dist/_virtual/isTomorrow.js +1 -0
- package/dist/_virtual/isTuesday.js +1 -0
- package/dist/_virtual/isValid.js +1 -0
- package/dist/_virtual/isWednesday.js +1 -0
- package/dist/_virtual/isWeekend.js +1 -0
- package/dist/_virtual/isWithinInterval.js +1 -0
- package/dist/_virtual/isYesterday.js +1 -0
- package/dist/_virtual/lastDayOfDecade.js +1 -0
- package/dist/_virtual/lastDayOfISOWeek.js +1 -0
- package/dist/_virtual/lastDayOfISOWeekYear.js +1 -0
- package/dist/_virtual/lastDayOfMonth.js +1 -0
- package/dist/_virtual/lastDayOfQuarter.js +1 -0
- package/dist/_virtual/lastDayOfWeek.js +1 -0
- package/dist/_virtual/lastDayOfYear.js +1 -0
- package/dist/_virtual/lightFormat.js +1 -0
- package/dist/_virtual/lightFormatters.js +1 -0
- package/dist/_virtual/localize.js +1 -0
- package/dist/_virtual/longFormatters.js +1 -0
- package/dist/_virtual/match.js +1 -0
- package/dist/_virtual/max.js +1 -0
- package/dist/_virtual/milliseconds.js +1 -0
- package/dist/_virtual/millisecondsToHours.js +1 -0
- package/dist/_virtual/millisecondsToMinutes.js +1 -0
- package/dist/_virtual/millisecondsToSeconds.js +1 -0
- package/dist/_virtual/min.js +1 -0
- package/dist/_virtual/minutesToHours.js +1 -0
- package/dist/_virtual/minutesToMilliseconds.js +1 -0
- package/dist/_virtual/minutesToSeconds.js +1 -0
- package/dist/_virtual/monthsToQuarters.js +1 -0
- package/dist/_virtual/monthsToYears.js +1 -0
- package/dist/_virtual/nextDay.js +1 -0
- package/dist/_virtual/nextFriday.js +1 -0
- package/dist/_virtual/nextMonday.js +1 -0
- package/dist/_virtual/nextSaturday.js +1 -0
- package/dist/_virtual/nextSunday.js +1 -0
- package/dist/_virtual/nextThursday.js +1 -0
- package/dist/_virtual/nextTuesday.js +1 -0
- package/dist/_virtual/nextWednesday.js +1 -0
- package/dist/_virtual/parse.js +1 -0
- package/dist/_virtual/parseISO.js +1 -0
- package/dist/_virtual/parseJSON.js +1 -0
- package/dist/_virtual/parsers.js +1 -0
- package/dist/_virtual/previousDay.js +1 -0
- package/dist/_virtual/previousFriday.js +1 -0
- package/dist/_virtual/previousMonday.js +1 -0
- package/dist/_virtual/previousSaturday.js +1 -0
- package/dist/_virtual/previousSunday.js +1 -0
- package/dist/_virtual/previousThursday.js +1 -0
- package/dist/_virtual/previousTuesday.js +1 -0
- package/dist/_virtual/previousWednesday.js +1 -0
- package/dist/_virtual/protectedTokens.js +1 -0
- package/dist/_virtual/quartersToMonths.js +1 -0
- package/dist/_virtual/quartersToYears.js +1 -0
- package/dist/_virtual/roundToNearestHours.js +1 -0
- package/dist/_virtual/roundToNearestMinutes.js +1 -0
- package/dist/_virtual/secondsToHours.js +1 -0
- package/dist/_virtual/secondsToMilliseconds.js +1 -0
- package/dist/_virtual/secondsToMinutes.js +1 -0
- package/dist/_virtual/set.js +1 -0
- package/dist/_virtual/setDate.js +1 -0
- package/dist/_virtual/setDay.js +1 -0
- package/dist/_virtual/setDayOfYear.js +1 -0
- package/dist/_virtual/setDefaultOptions.js +1 -0
- package/dist/_virtual/setHours.js +1 -0
- package/dist/_virtual/setISODay.js +1 -0
- package/dist/_virtual/setISOWeek.js +1 -0
- package/dist/_virtual/setISOWeekYear.js +1 -0
- package/dist/_virtual/setMilliseconds.js +1 -0
- package/dist/_virtual/setMinutes.js +1 -0
- package/dist/_virtual/setMonth.js +1 -0
- package/dist/_virtual/setQuarter.js +1 -0
- package/dist/_virtual/setSeconds.js +1 -0
- package/dist/_virtual/setWeek.js +1 -0
- package/dist/_virtual/setWeekYear.js +1 -0
- package/dist/_virtual/setYear.js +1 -0
- package/dist/_virtual/startOfDay.js +1 -0
- package/dist/_virtual/startOfDecade.js +1 -0
- package/dist/_virtual/startOfHour.js +1 -0
- package/dist/_virtual/startOfISOWeek.js +1 -0
- package/dist/_virtual/startOfISOWeekYear.js +1 -0
- package/dist/_virtual/startOfMinute.js +1 -0
- package/dist/_virtual/startOfMonth.js +1 -0
- package/dist/_virtual/startOfQuarter.js +1 -0
- package/dist/_virtual/startOfSecond.js +1 -0
- package/dist/_virtual/startOfToday.js +1 -0
- package/dist/_virtual/startOfTomorrow.js +1 -0
- package/dist/_virtual/startOfWeek.js +1 -0
- package/dist/_virtual/startOfWeekYear.js +1 -0
- package/dist/_virtual/startOfYear.js +1 -0
- package/dist/_virtual/startOfYesterday.js +1 -0
- package/dist/_virtual/sub.js +1 -0
- package/dist/_virtual/subBusinessDays.js +1 -0
- package/dist/_virtual/subDays.js +1 -0
- package/dist/_virtual/subHours.js +1 -0
- package/dist/_virtual/subISOWeekYears.js +1 -0
- package/dist/_virtual/subMilliseconds.js +1 -0
- package/dist/_virtual/subMinutes.js +1 -0
- package/dist/_virtual/subMonths.js +1 -0
- package/dist/_virtual/subQuarters.js +1 -0
- package/dist/_virtual/subSeconds.js +1 -0
- package/dist/_virtual/subWeeks.js +1 -0
- package/dist/_virtual/subYears.js +1 -0
- package/dist/_virtual/toDate.js +1 -0
- package/dist/_virtual/transpose.js +1 -0
- package/dist/_virtual/utils.js +1 -0
- package/dist/_virtual/weeksToDays.js +1 -0
- package/dist/_virtual/yearsToDays.js +1 -0
- package/dist/_virtual/yearsToMonths.js +1 -0
- package/dist/_virtual/yearsToQuarters.js +1 -0
- package/dist/bootstrap.d.ts +1 -0
- package/dist/bootstrap.js +14 -0
- package/dist/global.css +225 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +146 -0
- package/dist/withTheme.d.ts +3 -0
- package/dist/withTheme.js +28 -0
- package/package.json +14 -23
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Button = void 0;
|
|
4
|
+
exports.Button = {
|
|
5
|
+
baseStyle: function (_a) {
|
|
6
|
+
var theme = _a.theme;
|
|
7
|
+
return ({
|
|
8
|
+
borderRadius: "0.25rem",
|
|
9
|
+
fontWeight: 500,
|
|
10
|
+
fontSize: "1rem",
|
|
11
|
+
_disabled: {
|
|
12
|
+
opacity: 0.6,
|
|
13
|
+
cursor: "not-allowed",
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
solid: function (_a) {
|
|
19
|
+
var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
|
|
20
|
+
return ({
|
|
21
|
+
bg: theme.colors[colorScheme][500],
|
|
22
|
+
color: theme.colors.white,
|
|
23
|
+
_hover: {
|
|
24
|
+
bg: theme.colors[colorScheme][600],
|
|
25
|
+
},
|
|
26
|
+
_active: {
|
|
27
|
+
bg: theme.colors[colorScheme][700],
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
outline: function (_a) {
|
|
32
|
+
var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
|
|
33
|
+
return ({
|
|
34
|
+
border: "0.1rem solid",
|
|
35
|
+
borderColor: theme.colors[colorScheme][500],
|
|
36
|
+
color: theme.colors[colorScheme][500],
|
|
37
|
+
bg: "transparent",
|
|
38
|
+
_hover: {
|
|
39
|
+
bg: theme.colors[colorScheme][500],
|
|
40
|
+
borderColor: theme.colors[colorScheme][600],
|
|
41
|
+
color: theme.colors.white,
|
|
42
|
+
},
|
|
43
|
+
_active: {
|
|
44
|
+
bg: theme.colors[colorScheme][600],
|
|
45
|
+
color: theme.colors.white,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
ghost: function (_a) {
|
|
50
|
+
var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
|
|
51
|
+
return ({
|
|
52
|
+
color: theme.colors[colorScheme][500],
|
|
53
|
+
bg: "transparent",
|
|
54
|
+
_hover: {
|
|
55
|
+
bg: theme.colors.gray[200],
|
|
56
|
+
},
|
|
57
|
+
_active: {
|
|
58
|
+
bg: theme.colors.gray[200],
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
link: function (_a) {
|
|
63
|
+
var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
|
|
64
|
+
return ({
|
|
65
|
+
color: theme.colors[colorScheme][500],
|
|
66
|
+
textDecoration: "underline",
|
|
67
|
+
bg: "transparent",
|
|
68
|
+
_hover: {
|
|
69
|
+
color: theme.colors[colorScheme][600],
|
|
70
|
+
textDecoration: "none",
|
|
71
|
+
},
|
|
72
|
+
_active: {
|
|
73
|
+
color: theme.colors[colorScheme][600],
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
},
|
|
77
|
+
unstyled: function () { return ({
|
|
78
|
+
bg: "transparent",
|
|
79
|
+
color: "inherit",
|
|
80
|
+
_hover: {
|
|
81
|
+
bg: "transparent",
|
|
82
|
+
},
|
|
83
|
+
}); },
|
|
84
|
+
},
|
|
85
|
+
sizes: {
|
|
86
|
+
xs: {
|
|
87
|
+
h: "1.5rem",
|
|
88
|
+
fontSize: "0.75rem",
|
|
89
|
+
px: "0.5rem",
|
|
90
|
+
},
|
|
91
|
+
sm: {
|
|
92
|
+
h: "2rem",
|
|
93
|
+
fontSize: "0.875rem",
|
|
94
|
+
px: "0.75rem",
|
|
95
|
+
},
|
|
96
|
+
md: {
|
|
97
|
+
h: "2.5rem",
|
|
98
|
+
fontSize: "1rem",
|
|
99
|
+
px: "1rem",
|
|
100
|
+
},
|
|
101
|
+
lg: {
|
|
102
|
+
h: "3rem",
|
|
103
|
+
fontSize: "1.125rem",
|
|
104
|
+
px: "1.5rem",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
defaultProps: {
|
|
108
|
+
size: "md",
|
|
109
|
+
variant: "solid",
|
|
110
|
+
colorScheme: "primary",
|
|
111
|
+
},
|
|
112
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps as ChakraButtonProps } from "@chakra-ui/react";
|
|
3
|
+
export type ButtonProps = Pick<ChakraButtonProps, "onClick" | "leftIcon" | "rightIcon" | "isDisabled" | "isLoading" | "loadingText" | "spinner" | "sx" | "border" | "borderRadius"> & {
|
|
4
|
+
label?: string;
|
|
5
|
+
width?: string | number;
|
|
6
|
+
size?: "lg" | "md" | "sm" | "xs";
|
|
7
|
+
variant?: "solid" | "outline" | "ghost" | "link" | "unstyled";
|
|
8
|
+
type?: "button" | "submit" | "reset";
|
|
9
|
+
colorScheme?: 'primary' | 'secondary' | 'tertiary' | 'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink';
|
|
10
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
opacity?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
export type ButtonGroupIconProps = {
|
|
3
|
+
leftIcon?: ReactElement;
|
|
4
|
+
rightIcon?: ReactElement;
|
|
5
|
+
onLeftIconClick?: () => void;
|
|
6
|
+
onRightIconClick?: () => void;
|
|
7
|
+
buttonText: string;
|
|
8
|
+
onButtonClick?: () => void;
|
|
9
|
+
onButtongroupClick?: () => void;
|
|
10
|
+
size?: "lg" | "md" | "sm" | "xs";
|
|
11
|
+
variant?: "solid" | "outline" | "ghost" | "link" | "unstyled";
|
|
12
|
+
color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "whiteAlpha" | "blackAlpha";
|
|
13
|
+
buttonGroupStyle?: React.CSSProperties;
|
|
14
|
+
buttonGroupLeftIconStyle?: React.CSSProperties;
|
|
15
|
+
buttonGroupRightIconStyle?: React.CSSProperties;
|
|
16
|
+
buttonStyle?: React.CSSProperties;
|
|
17
|
+
onBlurLeftIcon?: () => void;
|
|
18
|
+
onBlurRightIcon?: () => void;
|
|
19
|
+
dropdownOptions?: {
|
|
20
|
+
label: string;
|
|
21
|
+
id: string | number;
|
|
22
|
+
image?: ReactElement | undefined;
|
|
23
|
+
}[];
|
|
24
|
+
onDropdownOptionClick?: (event: React.MouseEvent, option: {
|
|
25
|
+
label: string;
|
|
26
|
+
id: string | number;
|
|
27
|
+
}) => void;
|
|
28
|
+
rightIconDropdown?: boolean;
|
|
29
|
+
menulistStyle?: React.CSSProperties;
|
|
30
|
+
menuItemStyle?: React.CSSProperties;
|
|
31
|
+
isLoading?: boolean;
|
|
32
|
+
divider?: boolean;
|
|
33
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonGroupIconProps } from "./ButtonGoupIconProps";
|
|
3
|
+
export default function ButtonGroupIcon({ leftIcon, rightIcon, onLeftIconClick, onRightIconClick, buttonText, onButtonClick, onButtongroupClick, size, variant, color, buttonGroupStyle, buttonGroupLeftIconStyle, buttonGroupRightIconStyle, buttonStyle, onBlurLeftIcon, onBlurRightIcon, dropdownOptions, // New prop for dropdown options
|
|
4
|
+
onDropdownOptionClick, // New prop to handle option clicks
|
|
5
|
+
rightIconDropdown, menulistStyle, menuItemStyle, isLoading, divider, }: ButtonGroupIconProps): React.JSX.Element;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
var react_1 = __importStar(require("react"));
|
|
27
|
+
var react_2 = require("@chakra-ui/react");
|
|
28
|
+
var useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
29
|
+
function ButtonGroupIcon(_a) {
|
|
30
|
+
var _b, _c;
|
|
31
|
+
var leftIcon = _a.leftIcon, rightIcon = _a.rightIcon, onLeftIconClick = _a.onLeftIconClick, onRightIconClick = _a.onRightIconClick, buttonText = _a.buttonText, onButtonClick = _a.onButtonClick, onButtongroupClick = _a.onButtongroupClick, size = _a.size, variant = _a.variant, color = _a.color, buttonGroupStyle = _a.buttonGroupStyle, buttonGroupLeftIconStyle = _a.buttonGroupLeftIconStyle, buttonGroupRightIconStyle = _a.buttonGroupRightIconStyle, buttonStyle = _a.buttonStyle, onBlurLeftIcon = _a.onBlurLeftIcon, onBlurRightIcon = _a.onBlurRightIcon, dropdownOptions = _a.dropdownOptions, // New prop for dropdown options
|
|
32
|
+
onDropdownOptionClick = _a.onDropdownOptionClick, // New prop to handle option clicks
|
|
33
|
+
rightIconDropdown = _a.rightIconDropdown, menulistStyle = _a.menulistStyle, menuItemStyle = _a.menuItemStyle, isLoading = _a.isLoading, _d = _a.divider, divider = _d === void 0 ? true : _d;
|
|
34
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
35
|
+
var _e = (0, react_1.useState)(false), isDropdownOpen = _e[0], setIsDropdownOpen = _e[1];
|
|
36
|
+
var handleRightIconClick = function () {
|
|
37
|
+
setIsDropdownOpen(!isDropdownOpen);
|
|
38
|
+
if (onRightIconClick) {
|
|
39
|
+
onRightIconClick();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
var handleMenuClick = function (event, option) {
|
|
43
|
+
setIsDropdownOpen(false);
|
|
44
|
+
// console.log("Option clicked:", option,event)
|
|
45
|
+
if (onDropdownOptionClick) {
|
|
46
|
+
onDropdownOptionClick(event, option);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
return (react_1.default.createElement(react_2.ButtonGroup, { size: size, isAttached: true, variant: variant, onClick: onButtongroupClick, colorScheme: color, style: buttonGroupStyle },
|
|
50
|
+
leftIcon && (react_1.default.createElement(react_2.IconButton, { "aria-label": "Left icon button", icon: leftIcon, onClick: onLeftIconClick, onBlur: onBlurLeftIcon, style: buttonGroupLeftIconStyle, sx: {
|
|
51
|
+
backgroundColor: theme.colors.primary[500],
|
|
52
|
+
"&:hover": {
|
|
53
|
+
backgroundColor: theme.colors.primary[400],
|
|
54
|
+
},
|
|
55
|
+
} })),
|
|
56
|
+
react_1.default.createElement(react_2.Button, { onClick: onButtonClick, style: buttonStyle, isLoading: isLoading, sx: {
|
|
57
|
+
backgroundColor: theme.colors.primary[500],
|
|
58
|
+
"&:hover": {
|
|
59
|
+
backgroundColor: theme.colors.primary[400],
|
|
60
|
+
},
|
|
61
|
+
}, borderLeft: "1px solid ".concat((_b = theme.colors) === null || _b === void 0 ? void 0 : _b.gray[300]), borderRight: "1px solid ".concat((_c = theme.colors) === null || _c === void 0 ? void 0 : _c.gray[300]) }, buttonText),
|
|
62
|
+
rightIcon && rightIconDropdown ? (react_1.default.createElement(react_2.Menu, { isOpen: isDropdownOpen, onClose: function () { return setIsDropdownOpen(false); } },
|
|
63
|
+
react_1.default.createElement(react_2.MenuButton, { as: react_2.IconButton, "aria-label": "Right icon button", icon: rightIcon, onClick: handleRightIconClick, onBlur: onBlurRightIcon, style: buttonGroupRightIconStyle, sx: {
|
|
64
|
+
backgroundColor: theme.colors.primary[500],
|
|
65
|
+
"&:hover": {
|
|
66
|
+
backgroundColor: theme.colors.primary[400],
|
|
67
|
+
},
|
|
68
|
+
} }),
|
|
69
|
+
react_1.default.createElement(react_2.Box, { sx: { zIndex: 99 } },
|
|
70
|
+
react_1.default.createElement(react_2.MenuList, { style: menulistStyle }, dropdownOptions === null || dropdownOptions === void 0 ? void 0 : dropdownOptions.map(function (option, index) {
|
|
71
|
+
var _a;
|
|
72
|
+
return (react_1.default.createElement(react_2.MenuItem, { key: index, onClick: function (event) { return handleMenuClick(event, option); }, style: menuItemStyle, borderBottom: divider ? "1px solid ".concat((_a = theme.colors) === null || _a === void 0 ? void 0 : _a.gray[300]) : undefined, sx: {
|
|
73
|
+
"&:last-child": {
|
|
74
|
+
borderBottom: "none",
|
|
75
|
+
},
|
|
76
|
+
} }, option === null || option === void 0 ? void 0 :
|
|
77
|
+
option.image,
|
|
78
|
+
option.label));
|
|
79
|
+
}))))) : (rightIcon && (react_1.default.createElement(react_2.IconButton, { "aria-label": "Right icon button", icon: rightIcon, onClick: onRightIconClick, onBlur: onBlurRightIcon, style: buttonGroupRightIconStyle, sx: {
|
|
80
|
+
backgroundColor: theme.colors.primary[500],
|
|
81
|
+
"&:hover": {
|
|
82
|
+
backgroundColor: theme.colors.primary[400],
|
|
83
|
+
},
|
|
84
|
+
} })))));
|
|
85
|
+
}
|
|
86
|
+
exports.default = ButtonGroupIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React from 'react';
|
|
3
|
+
// import { Meta, StoryFn } from '@storybook/react';
|
|
4
|
+
// import ButtonGroupIcon from './ButtonGroupIcon'; // Adjust the import path and component type if needed
|
|
5
|
+
// import {ButtonGroupIconProps} from './ButtonGoupIconProps';
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var Buttons = function (_a) {
|
|
8
|
+
var onClick = _a.onClick, label = _a.label, className = _a.className, disabled = _a.disabled;
|
|
9
|
+
return (react_1.default.createElement("button", { onClick: onClick, className: "bg-purple-600 text-white font-medium py-2 px-4 rounded focus:outline-none focus:ring-offset-2 ".concat(className, " ").concat(disabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer'), disabled: disabled }, label));
|
|
10
|
+
};
|
|
11
|
+
exports.default = Buttons;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_2 = require("@chakra-ui/react");
|
|
8
|
+
function Card(_a) {
|
|
9
|
+
var key = _a.key, maxW = _a.maxW, align = _a.align, variant = _a.variant, direction = _a.direction, justify = _a.justify, children = _a.children, size = _a.size, color = _a.color, overflow = _a.overflow, sx = _a.sx;
|
|
10
|
+
return (react_1.default.createElement(react_2.Card, { key: key, maxW: maxW, align: align, variant: variant, direction: direction, justify: justify, size: size, overflow: overflow, colorScheme: color, p: 4, sx: sx }, children));
|
|
11
|
+
}
|
|
12
|
+
exports.default = Card;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CardProps as ChakraCardProps } from "@chakra-ui/react";
|
|
3
|
+
export type CardProps = Pick<ChakraCardProps, "direction" | "maxW" | "align" | "justify" | "overflow" | "sx"> & {
|
|
4
|
+
header?: React.ReactNode;
|
|
5
|
+
footer?: React.ReactNode;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
variant?: "elevated" | "outline" | "filled" | "unstyled";
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
|
+
color?: "whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink";
|
|
10
|
+
key?: string;
|
|
11
|
+
dividercolor?: "whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink";
|
|
12
|
+
dividersize?: string;
|
|
13
|
+
dividervariant?: "solid" | "dashed";
|
|
14
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CheckboxProps } from "./CheckboxProps";
|
|
3
|
+
export default function CheckBox({ label, spacing, isInvalid, color, iconColor, iconSize, isChecked, isIndeterminate, onChange, isDisabled, size, value, defaultChecked, sx, isRequired, error, errorMessage, isInformation, informationMessage, id, helperText, }: CheckboxProps): React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_2 = require("@chakra-ui/react");
|
|
8
|
+
var useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
9
|
+
var FormLabel_1 = require("../Common/FormLabel");
|
|
10
|
+
var ErrorMessage_1 = __importDefault(require("../Common/ErrorMessage"));
|
|
11
|
+
var HelperText_1 = __importDefault(require("../Common/HelperText"));
|
|
12
|
+
function CheckBox(_a) {
|
|
13
|
+
var label = _a.label, spacing = _a.spacing, isInvalid = _a.isInvalid, color = _a.color, iconColor = _a.iconColor, iconSize = _a.iconSize, isChecked = _a.isChecked, isIndeterminate = _a.isIndeterminate, onChange = _a.onChange, isDisabled = _a.isDisabled, size = _a.size, value = _a.value, defaultChecked = _a.defaultChecked, sx = _a.sx, isRequired = _a.isRequired, error = _a.error, errorMessage = _a.errorMessage, isInformation = _a.isInformation, informationMessage = _a.informationMessage, id = _a.id, helperText = _a.helperText;
|
|
14
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
15
|
+
return (react_1.default.createElement(react_2.FormControl, { isInvalid: error },
|
|
16
|
+
react_1.default.createElement(react_2.Checkbox, { spacing: spacing, isInvalid: isInvalid, isRequired: isRequired, colorScheme: color, iconColor: iconColor, iconSize: iconSize, isChecked: isChecked, isIndeterminate: isIndeterminate, onChange: onChange, isDisabled: isDisabled, size: size, value: value, defaultChecked: defaultChecked, borderColor: theme.colors.gray[500], sx: sx, display: "flex", alignItems: "inherit" }, label && (react_1.default.createElement(FormLabel_1.TextLabel, { label: label, id: id, isInformation: isInformation, informationMessage: informationMessage, isRequired: isRequired }))),
|
|
17
|
+
error && react_1.default.createElement(ErrorMessage_1.default, { errorMessage: errorMessage }),
|
|
18
|
+
helperText && !error && react_1.default.createElement(HelperText_1.default, { helperText: helperText })));
|
|
19
|
+
}
|
|
20
|
+
exports.default = CheckBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React, { useState } from 'react';
|
|
3
|
+
// import { Meta, StoryObj } from '@storybook/react';
|
|
4
|
+
// import CheckBox from './Checkbox';
|
|
5
|
+
// import { fn } from '@storybook/test';
|
|
6
|
+
// import { CheckboxProps } from './CheckboxProps';
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Checkbox = void 0;
|
|
4
|
+
exports.Checkbox = {
|
|
5
|
+
baseStyle: function (_a) {
|
|
6
|
+
var theme = _a.theme;
|
|
7
|
+
return {
|
|
8
|
+
control: {
|
|
9
|
+
width: "1.25rem",
|
|
10
|
+
height: "1.25rem",
|
|
11
|
+
borderWidth: "1.6px",
|
|
12
|
+
_disabled: {
|
|
13
|
+
bg: theme.colors.background[50],
|
|
14
|
+
borderColor: theme.colors.boxborder[500],
|
|
15
|
+
cursor: "not-allowed",
|
|
16
|
+
},
|
|
17
|
+
_indeterminate: {
|
|
18
|
+
bg: theme.colors.background[50],
|
|
19
|
+
borderColor: theme.colors.primary[500],
|
|
20
|
+
svg: {
|
|
21
|
+
color: theme.colors.primary[500],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
_checked: {
|
|
25
|
+
bg: theme.colors.primary[600],
|
|
26
|
+
borderColor: theme.colors.primary[600],
|
|
27
|
+
},
|
|
28
|
+
_hover: {
|
|
29
|
+
bg: theme.colors.background[100],
|
|
30
|
+
borderColor: theme.colors.primary[400],
|
|
31
|
+
_checked: {
|
|
32
|
+
bg: theme.colors.primary[600],
|
|
33
|
+
borderColor: theme.colors.primary[600],
|
|
34
|
+
},
|
|
35
|
+
_indeterminate: {
|
|
36
|
+
bg: "none",
|
|
37
|
+
borderColor: theme.colors.primary[600],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
_focus: {
|
|
41
|
+
boxShadow: "0 0 0 2px ".concat(theme.colors.primary[300]),
|
|
42
|
+
borderColor: theme.colors.primary[500],
|
|
43
|
+
},
|
|
44
|
+
_active: {
|
|
45
|
+
bg: theme.colors.primary[600],
|
|
46
|
+
borderColor: theme.colors.primary[600],
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
icon: {
|
|
50
|
+
color: theme.colors.background[50],
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CheckboxProps as ChakraButtonProps } from "@chakra-ui/react";
|
|
2
|
+
export type CheckboxProps = Pick<ChakraButtonProps, "spacing" | "isInvalid" | "size" | "iconColor" | "iconSize" | "isChecked" | "isIndeterminate" | "onChange" | "isDisabled" | "value" | "defaultChecked" | "sx"> & {
|
|
3
|
+
label?: string;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
variant?: "solid" | "outline" | "ghost" | "link" | "unstyled";
|
|
6
|
+
color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "whiteAlpha" | "blackAlpha";
|
|
7
|
+
size?: "sm" | "md" | "lg";
|
|
8
|
+
isRequired?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
isInformation?: boolean;
|
|
12
|
+
informationMessage?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
helperText?: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var ErrorComponent = function (_a) {
|
|
8
|
+
var error = _a.error, errorClassName = _a.errorClassName;
|
|
9
|
+
return (react_1.default.createElement("p", { className: "mt-1 text-sm text-[#F2463A] flex items-center gap-1 ".concat(errorClassName) },
|
|
10
|
+
react_1.default.createElement("svg", { width: "12", height: "12", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" },
|
|
11
|
+
react_1.default.createElement("circle", { cx: "50", cy: "50", r: "50", fill: "#EF4444" }),
|
|
12
|
+
react_1.default.createElement("rect", { x: "46", y: "40", width: "8", height: "30", rx: "2", fill: "white" }),
|
|
13
|
+
react_1.default.createElement("circle", { cx: "50", cy: "28", r: "4", fill: "white" })),
|
|
14
|
+
error));
|
|
15
|
+
};
|
|
16
|
+
exports.default = ErrorComponent;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_2 = require("@chakra-ui/react");
|
|
8
|
+
var lucide_react_1 = require("lucide-react");
|
|
9
|
+
var useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
10
|
+
var ErrorMessage = function (_a) {
|
|
11
|
+
var errorMessage = _a.errorMessage;
|
|
12
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
13
|
+
return (react_1.default.createElement(react_2.Flex, { align: "center", color: theme.colors.red[500], fontSize: "0.875rem", role: "alert" },
|
|
14
|
+
react_1.default.createElement(lucide_react_1.Info, { width: "0.875rem" }),
|
|
15
|
+
react_1.default.createElement(react_2.Text, { ml: "0.188rem" }, errorMessage !== null && errorMessage !== void 0 ? errorMessage : "Error")));
|
|
16
|
+
};
|
|
17
|
+
exports.default = ErrorMessage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const TextLabel: ({ label, id, isRequired, isInformation, informationMessage, }: {
|
|
3
|
+
label: string;
|
|
4
|
+
id?: string | undefined;
|
|
5
|
+
isInformation?: boolean | undefined;
|
|
6
|
+
informationMessage?: string | undefined;
|
|
7
|
+
isRequired?: boolean | undefined;
|
|
8
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TextLabel = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var react_2 = require("@chakra-ui/react");
|
|
9
|
+
var useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
10
|
+
var lucide_react_1 = require("lucide-react");
|
|
11
|
+
var TextLabel = function (_a) {
|
|
12
|
+
var label = _a.label, id = _a.id, _b = _a.isRequired, isRequired = _b === void 0 ? false : _b, _c = _a.isInformation, isInformation = _c === void 0 ? false : _c, _d = _a.informationMessage, informationMessage = _d === void 0 ? "" : _d;
|
|
13
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
14
|
+
return (react_1.default.createElement(react_2.Box, null,
|
|
15
|
+
react_1.default.createElement(react_2.FormLabel, { htmlFor: id !== null && id !== void 0 ? id : label, color: theme.colors.gray[600], fontWeight: 400, fontSize: "0.875rem" },
|
|
16
|
+
react_1.default.createElement(react_2.Box, { as: "span", display: "inline-flex", alignItems: "center", gap: "0.35rem" },
|
|
17
|
+
label,
|
|
18
|
+
isRequired && (react_1.default.createElement("span", { style: { color: theme.colors.semantic.error[500] } }, "*")),
|
|
19
|
+
isInformation && informationMessage && (react_1.default.createElement(react_2.Tooltip, { label: informationMessage, hasArrow: true, placement: "top", bg: theme.colors.gray[600], color: theme.colors.white, fontSize: "0.75rem" },
|
|
20
|
+
react_1.default.createElement(react_2.Icon, { as: lucide_react_1.InfoIcon, color: theme.colors.gray[500], boxSize: 4 })))))));
|
|
21
|
+
};
|
|
22
|
+
exports.TextLabel = TextLabel;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_2 = require("@chakra-ui/react");
|
|
8
|
+
var useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
9
|
+
var HelperText = function (_a) {
|
|
10
|
+
var helperText = _a.helperText;
|
|
11
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
12
|
+
return (react_1.default.createElement(react_2.FormHelperText, { mt: 1, fontSize: 14, color: theme.colors.gray[500] }, helperText));
|
|
13
|
+
};
|
|
14
|
+
exports.default = HelperText;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var Label = function (_a) {
|
|
8
|
+
var label = _a.label, labelClassName = _a.labelClassName, isRequired = _a.isRequired;
|
|
9
|
+
return (react_1.default.createElement("label", { className: "block text-sm font-medium text-[#434853] mb-1 ".concat(labelClassName), htmlFor: label },
|
|
10
|
+
label,
|
|
11
|
+
isRequired && react_1.default.createElement("span", { className: "text-[#F2463A] ml-1" }, "*")));
|
|
12
|
+
};
|
|
13
|
+
exports.default = Label;
|