pixelize-design-library 2.1.12 → 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/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 -262
- package/dist/withTheme.d.ts +3 -0
- package/dist/withTheme.js +28 -0
- package/package.json +14 -23
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -1
- package/dist/node_modules/date-fns/_lib/defaultLocale.js +0 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +0 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -1
- package/dist/node_modules/date-fns/add.js +0 -1
- package/dist/node_modules/date-fns/addBusinessDays.js +0 -1
- package/dist/node_modules/date-fns/addDays.js +0 -1
- package/dist/node_modules/date-fns/addHours.js +0 -1
- package/dist/node_modules/date-fns/addISOWeekYears.js +0 -1
- package/dist/node_modules/date-fns/addMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/addMinutes.js +0 -1
- package/dist/node_modules/date-fns/addMonths.js +0 -1
- package/dist/node_modules/date-fns/addQuarters.js +0 -1
- package/dist/node_modules/date-fns/addSeconds.js +0 -1
- package/dist/node_modules/date-fns/addWeeks.js +0 -1
- package/dist/node_modules/date-fns/addYears.js +0 -1
- package/dist/node_modules/date-fns/areIntervalsOverlapping.js +0 -1
- package/dist/node_modules/date-fns/clamp.js +0 -1
- package/dist/node_modules/date-fns/closestIndexTo.js +0 -1
- package/dist/node_modules/date-fns/closestTo.js +0 -1
- package/dist/node_modules/date-fns/compareAsc.js +0 -1
- package/dist/node_modules/date-fns/compareDesc.js +0 -1
- package/dist/node_modules/date-fns/constants.js +0 -1
- package/dist/node_modules/date-fns/constructFrom.js +0 -1
- package/dist/node_modules/date-fns/constructNow.js +0 -1
- package/dist/node_modules/date-fns/daysToWeeks.js +0 -1
- package/dist/node_modules/date-fns/differenceInBusinessDays.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarISOWeekYears.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarISOWeeks.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarQuarters.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarWeeks.js +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarYears.js +0 -1
- package/dist/node_modules/date-fns/differenceInDays.js +0 -1
- package/dist/node_modules/date-fns/differenceInHours.js +0 -1
- package/dist/node_modules/date-fns/differenceInISOWeekYears.js +0 -1
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/differenceInMinutes.js +0 -1
- package/dist/node_modules/date-fns/differenceInMonths.js +0 -1
- package/dist/node_modules/date-fns/differenceInQuarters.js +0 -1
- package/dist/node_modules/date-fns/differenceInSeconds.js +0 -1
- package/dist/node_modules/date-fns/differenceInWeeks.js +0 -1
- package/dist/node_modules/date-fns/differenceInYears.js +0 -1
- package/dist/node_modules/date-fns/eachDayOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachHourOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachMinuteOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachQuarterOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachWeekOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachWeekendOfInterval.js +0 -1
- package/dist/node_modules/date-fns/eachWeekendOfMonth.js +0 -1
- package/dist/node_modules/date-fns/eachWeekendOfYear.js +0 -1
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -1
- package/dist/node_modules/date-fns/endOfDay.js +0 -1
- package/dist/node_modules/date-fns/endOfDecade.js +0 -1
- package/dist/node_modules/date-fns/endOfHour.js +0 -1
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -1
- package/dist/node_modules/date-fns/endOfISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/endOfMinute.js +0 -1
- package/dist/node_modules/date-fns/endOfMonth.js +0 -1
- package/dist/node_modules/date-fns/endOfQuarter.js +0 -1
- package/dist/node_modules/date-fns/endOfSecond.js +0 -1
- package/dist/node_modules/date-fns/endOfToday.js +0 -1
- package/dist/node_modules/date-fns/endOfTomorrow.js +0 -1
- package/dist/node_modules/date-fns/endOfWeek.js +0 -1
- package/dist/node_modules/date-fns/endOfYear.js +0 -1
- package/dist/node_modules/date-fns/endOfYesterday.js +0 -1
- package/dist/node_modules/date-fns/format.js +0 -1
- package/dist/node_modules/date-fns/formatDistance.js +0 -1
- package/dist/node_modules/date-fns/formatDistanceStrict.js +0 -1
- package/dist/node_modules/date-fns/formatDistanceToNow.js +0 -1
- package/dist/node_modules/date-fns/formatDistanceToNowStrict.js +0 -1
- package/dist/node_modules/date-fns/formatDuration.js +0 -1
- package/dist/node_modules/date-fns/formatISO.js +0 -1
- package/dist/node_modules/date-fns/formatISO9075.js +0 -1
- package/dist/node_modules/date-fns/formatISODuration.js +0 -1
- package/dist/node_modules/date-fns/formatRFC3339.js +0 -1
- package/dist/node_modules/date-fns/formatRFC7231.js +0 -1
- package/dist/node_modules/date-fns/formatRelative.js +0 -1
- package/dist/node_modules/date-fns/fromUnixTime.js +0 -1
- package/dist/node_modules/date-fns/getDate.js +0 -1
- package/dist/node_modules/date-fns/getDay.js +0 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -1
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -1
- package/dist/node_modules/date-fns/getDaysInYear.js +0 -1
- package/dist/node_modules/date-fns/getDecade.js +0 -1
- package/dist/node_modules/date-fns/getDefaultOptions.js +0 -1
- package/dist/node_modules/date-fns/getHours.js +0 -1
- package/dist/node_modules/date-fns/getISODay.js +0 -1
- package/dist/node_modules/date-fns/getISOWeek.js +0 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/getISOWeeksInYear.js +0 -1
- package/dist/node_modules/date-fns/getMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/getMinutes.js +0 -1
- package/dist/node_modules/date-fns/getMonth.js +0 -1
- package/dist/node_modules/date-fns/getOverlappingDaysInIntervals.js +0 -1
- package/dist/node_modules/date-fns/getQuarter.js +0 -1
- package/dist/node_modules/date-fns/getSeconds.js +0 -1
- package/dist/node_modules/date-fns/getTime.js +0 -1
- package/dist/node_modules/date-fns/getUnixTime.js +0 -1
- package/dist/node_modules/date-fns/getWeek.js +0 -1
- package/dist/node_modules/date-fns/getWeekOfMonth.js +0 -1
- package/dist/node_modules/date-fns/getWeekYear.js +0 -1
- package/dist/node_modules/date-fns/getWeeksInMonth.js +0 -1
- package/dist/node_modules/date-fns/getYear.js +0 -1
- package/dist/node_modules/date-fns/hoursToMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/hoursToMinutes.js +0 -1
- package/dist/node_modules/date-fns/hoursToSeconds.js +0 -1
- package/dist/node_modules/date-fns/index.js +0 -1
- package/dist/node_modules/date-fns/interval.js +0 -1
- package/dist/node_modules/date-fns/intervalToDuration.js +0 -1
- package/dist/node_modules/date-fns/intlFormat.js +0 -1
- package/dist/node_modules/date-fns/intlFormatDistance.js +0 -1
- package/dist/node_modules/date-fns/isAfter.js +0 -1
- package/dist/node_modules/date-fns/isBefore.js +0 -1
- package/dist/node_modules/date-fns/isDate.js +0 -1
- package/dist/node_modules/date-fns/isEqual.js +0 -1
- package/dist/node_modules/date-fns/isExists.js +0 -1
- package/dist/node_modules/date-fns/isFirstDayOfMonth.js +0 -1
- package/dist/node_modules/date-fns/isFriday.js +0 -1
- package/dist/node_modules/date-fns/isFuture.js +0 -1
- package/dist/node_modules/date-fns/isLastDayOfMonth.js +0 -1
- package/dist/node_modules/date-fns/isLeapYear.js +0 -1
- package/dist/node_modules/date-fns/isMatch.js +0 -1
- package/dist/node_modules/date-fns/isMonday.js +0 -1
- package/dist/node_modules/date-fns/isPast.js +0 -1
- package/dist/node_modules/date-fns/isSameDay.js +0 -1
- package/dist/node_modules/date-fns/isSameHour.js +0 -1
- package/dist/node_modules/date-fns/isSameISOWeek.js +0 -1
- package/dist/node_modules/date-fns/isSameISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/isSameMinute.js +0 -1
- package/dist/node_modules/date-fns/isSameMonth.js +0 -1
- package/dist/node_modules/date-fns/isSameQuarter.js +0 -1
- package/dist/node_modules/date-fns/isSameSecond.js +0 -1
- package/dist/node_modules/date-fns/isSameWeek.js +0 -1
- package/dist/node_modules/date-fns/isSameYear.js +0 -1
- package/dist/node_modules/date-fns/isSaturday.js +0 -1
- package/dist/node_modules/date-fns/isSunday.js +0 -1
- package/dist/node_modules/date-fns/isThisHour.js +0 -1
- package/dist/node_modules/date-fns/isThisISOWeek.js +0 -1
- package/dist/node_modules/date-fns/isThisMinute.js +0 -1
- package/dist/node_modules/date-fns/isThisMonth.js +0 -1
- package/dist/node_modules/date-fns/isThisQuarter.js +0 -1
- package/dist/node_modules/date-fns/isThisSecond.js +0 -1
- package/dist/node_modules/date-fns/isThisWeek.js +0 -1
- package/dist/node_modules/date-fns/isThisYear.js +0 -1
- package/dist/node_modules/date-fns/isThursday.js +0 -1
- package/dist/node_modules/date-fns/isToday.js +0 -1
- package/dist/node_modules/date-fns/isTomorrow.js +0 -1
- package/dist/node_modules/date-fns/isTuesday.js +0 -1
- package/dist/node_modules/date-fns/isValid.js +0 -1
- package/dist/node_modules/date-fns/isWednesday.js +0 -1
- package/dist/node_modules/date-fns/isWeekend.js +0 -1
- package/dist/node_modules/date-fns/isWithinInterval.js +0 -1
- package/dist/node_modules/date-fns/isYesterday.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfDecade.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfISOWeek.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfMonth.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfQuarter.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfWeek.js +0 -1
- package/dist/node_modules/date-fns/lastDayOfYear.js +0 -1
- package/dist/node_modules/date-fns/lightFormat.js +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US.js +0 -1
- package/dist/node_modules/date-fns/max.js +0 -1
- package/dist/node_modules/date-fns/milliseconds.js +0 -1
- package/dist/node_modules/date-fns/millisecondsToHours.js +0 -1
- package/dist/node_modules/date-fns/millisecondsToMinutes.js +0 -1
- package/dist/node_modules/date-fns/millisecondsToSeconds.js +0 -1
- package/dist/node_modules/date-fns/min.js +0 -1
- package/dist/node_modules/date-fns/minutesToHours.js +0 -1
- package/dist/node_modules/date-fns/minutesToMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/minutesToSeconds.js +0 -1
- package/dist/node_modules/date-fns/monthsToQuarters.js +0 -1
- package/dist/node_modules/date-fns/monthsToYears.js +0 -1
- package/dist/node_modules/date-fns/nextDay.js +0 -1
- package/dist/node_modules/date-fns/nextFriday.js +0 -1
- package/dist/node_modules/date-fns/nextMonday.js +0 -1
- package/dist/node_modules/date-fns/nextSaturday.js +0 -1
- package/dist/node_modules/date-fns/nextSunday.js +0 -1
- package/dist/node_modules/date-fns/nextThursday.js +0 -1
- package/dist/node_modules/date-fns/nextTuesday.js +0 -1
- package/dist/node_modules/date-fns/nextWednesday.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -1
- package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -1
- package/dist/node_modules/date-fns/parse.js +0 -1
- package/dist/node_modules/date-fns/parseISO.js +0 -1
- package/dist/node_modules/date-fns/parseJSON.js +0 -1
- package/dist/node_modules/date-fns/previousDay.js +0 -1
- package/dist/node_modules/date-fns/previousFriday.js +0 -1
- package/dist/node_modules/date-fns/previousMonday.js +0 -1
- package/dist/node_modules/date-fns/previousSaturday.js +0 -1
- package/dist/node_modules/date-fns/previousSunday.js +0 -1
- package/dist/node_modules/date-fns/previousThursday.js +0 -1
- package/dist/node_modules/date-fns/previousTuesday.js +0 -1
- package/dist/node_modules/date-fns/previousWednesday.js +0 -1
- package/dist/node_modules/date-fns/quartersToMonths.js +0 -1
- package/dist/node_modules/date-fns/quartersToYears.js +0 -1
- package/dist/node_modules/date-fns/roundToNearestHours.js +0 -1
- package/dist/node_modules/date-fns/roundToNearestMinutes.js +0 -1
- package/dist/node_modules/date-fns/secondsToHours.js +0 -1
- package/dist/node_modules/date-fns/secondsToMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/secondsToMinutes.js +0 -1
- package/dist/node_modules/date-fns/set.js +0 -1
- package/dist/node_modules/date-fns/setDate.js +0 -1
- package/dist/node_modules/date-fns/setDay.js +0 -1
- package/dist/node_modules/date-fns/setDayOfYear.js +0 -1
- package/dist/node_modules/date-fns/setDefaultOptions.js +0 -1
- package/dist/node_modules/date-fns/setHours.js +0 -1
- package/dist/node_modules/date-fns/setISODay.js +0 -1
- package/dist/node_modules/date-fns/setISOWeek.js +0 -1
- package/dist/node_modules/date-fns/setISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/setMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/setMinutes.js +0 -1
- package/dist/node_modules/date-fns/setMonth.js +0 -1
- package/dist/node_modules/date-fns/setQuarter.js +0 -1
- package/dist/node_modules/date-fns/setSeconds.js +0 -1
- package/dist/node_modules/date-fns/setWeek.js +0 -1
- package/dist/node_modules/date-fns/setWeekYear.js +0 -1
- package/dist/node_modules/date-fns/setYear.js +0 -1
- package/dist/node_modules/date-fns/startOfDay.js +0 -1
- package/dist/node_modules/date-fns/startOfDecade.js +0 -1
- package/dist/node_modules/date-fns/startOfHour.js +0 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/startOfMinute.js +0 -1
- package/dist/node_modules/date-fns/startOfMonth.js +0 -1
- package/dist/node_modules/date-fns/startOfQuarter.js +0 -1
- package/dist/node_modules/date-fns/startOfSecond.js +0 -1
- package/dist/node_modules/date-fns/startOfToday.js +0 -1
- package/dist/node_modules/date-fns/startOfTomorrow.js +0 -1
- package/dist/node_modules/date-fns/startOfWeek.js +0 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -1
- package/dist/node_modules/date-fns/startOfYear.js +0 -1
- package/dist/node_modules/date-fns/startOfYesterday.js +0 -1
- package/dist/node_modules/date-fns/sub.js +0 -1
- package/dist/node_modules/date-fns/subBusinessDays.js +0 -1
- package/dist/node_modules/date-fns/subDays.js +0 -1
- package/dist/node_modules/date-fns/subHours.js +0 -1
- package/dist/node_modules/date-fns/subISOWeekYears.js +0 -1
- package/dist/node_modules/date-fns/subMilliseconds.js +0 -1
- package/dist/node_modules/date-fns/subMinutes.js +0 -1
- package/dist/node_modules/date-fns/subMonths.js +0 -1
- package/dist/node_modules/date-fns/subQuarters.js +0 -1
- package/dist/node_modules/date-fns/subSeconds.js +0 -1
- package/dist/node_modules/date-fns/subWeeks.js +0 -1
- package/dist/node_modules/date-fns/subYears.js +0 -1
- package/dist/node_modules/date-fns/toDate.js +0 -1
- package/dist/node_modules/date-fns/transpose.js +0 -1
- package/dist/node_modules/date-fns/weeksToDays.js +0 -1
- package/dist/node_modules/date-fns/yearsToDays.js +0 -1
- package/dist/node_modules/date-fns/yearsToMonths.js +0 -1
- package/dist/node_modules/date-fns/yearsToQuarters.js +0 -1
- package/dist/src/Assets/defaultLogo.js +0 -1
- package/dist/src/Components/Accordion/Accordion.js +0 -1
- package/dist/src/Components/AlertDialog/AlertDialog.js +0 -1
- package/dist/src/Components/Apexcharts/ApexBarChart/ApexBarChart.js +0 -1
- package/dist/src/Components/Apexcharts/ApexPieChart/ApexPieChart.js +0 -1
- package/dist/src/Components/Breadcrumbs/Breadcrumbs.js +0 -1
- package/dist/src/Components/Button/Button.js +0 -1
- package/dist/src/Components/Button/Button.styles.js +0 -1
- package/dist/src/Components/ButtonGroupIcon/ButtonGroupIcon.js +0 -1
- package/dist/src/Components/Card/Card.js +0 -1
- package/dist/src/Components/Checkbox/Checkbox.js +0 -1
- package/dist/src/Components/Checkbox/Checkbox.styles.js +0 -1
- package/dist/src/Components/Common/ErrorMessage.js +0 -1
- package/dist/src/Components/Common/FormLabel.js +0 -1
- package/dist/src/Components/Common/HelperText.js +0 -1
- package/dist/src/Components/ContactForm/ContactForm.js +0 -1
- package/dist/src/Components/DatePicker/DatePicker.js +0 -1
- package/dist/src/Components/DatePicker/TimePicker.js +0 -1
- package/dist/src/Components/Divider/Divider.js +0 -1
- package/dist/src/Components/Drawer/Drawer.js +0 -1
- package/dist/src/Components/Dropdown/DropDown.js +0 -1
- package/dist/src/Components/Editor/Editor.js +0 -1
- package/dist/src/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +0 -1
- package/dist/src/Components/FileUpload/FileUpload.js +0 -1
- package/dist/src/Components/FileUpload/constants.js +0 -1
- package/dist/src/Components/Form/FormWrapper.js +0 -1
- package/dist/src/Components/Header/Header.js +0 -1
- package/dist/src/Components/Header/HeaderActions.js +0 -1
- package/dist/src/Components/Header/components/desktopMenu.js +0 -1
- package/dist/src/Components/Header/components/mobileMenu.js +0 -1
- package/dist/src/Components/Input/TextInput.js +0 -1
- package/dist/src/Components/Input/TextInput.styles.js +0 -1
- package/dist/src/Components/InputTextArea/InputTextArea.js +0 -1
- package/dist/src/Components/KanbanBoard/AccountCard.js +0 -1
- package/dist/src/Components/KanbanBoard/AccountRow.js +0 -1
- package/dist/src/Components/KanbanBoard/KanbanBoard.js +0 -1
- package/dist/src/Components/Loading/Loading.js +0 -13
- package/dist/src/Components/Modal/Modal.js +0 -1
- package/dist/src/Components/MultiSelect/MultiSelect.js +0 -1
- package/dist/src/Components/NavigationBar/NavigationBar.js +0 -1
- package/dist/src/Components/NoteTextArea/NoteTextArea.js +0 -75
- package/dist/src/Components/NumberInput/NumberInput.js +0 -1
- package/dist/src/Components/PinInput/PinInput.js +0 -1
- package/dist/src/Components/ProductCard/ProductCard.js +0 -1
- package/dist/src/Components/ProductCard/ProductLabel.js +0 -1
- package/dist/src/Components/ProductCard/ProductPrice.js +0 -1
- package/dist/src/Components/ProductCard/ProductReview.js +0 -1
- package/dist/src/Components/ProductCard/ProductTags.js +0 -1
- package/dist/src/Components/ProfileCard/ProfileCard.js +0 -1
- package/dist/src/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +0 -1
- package/dist/src/Components/ProgressBar/ProgressBar.js +0 -1
- package/dist/src/Components/RadioButton/RadioButton.js +0 -1
- package/dist/src/Components/Reorder/Reorder.js +0 -1
- package/dist/src/Components/Search/Search.js +0 -27
- package/dist/src/Components/SearchSelect/SearchSelect.js +0 -1
- package/dist/src/Components/SearchSelect/SelectTruncatedLabel.js +0 -1
- package/dist/src/Components/Select/Select.js +0 -1
- package/dist/src/Components/Select/Select.styles.js +0 -1
- package/dist/src/Components/SelectSearch/SelectSearch.js +0 -1
- package/dist/src/Components/SideBar/SideBar.js +0 -1
- package/dist/src/Components/SideBar/components/MenuItemBox.js +0 -1
- package/dist/src/Components/SideBar/components/MenuItems.js +0 -1
- package/dist/src/Components/SideBar/components/MenuPopoverContent.js +0 -1
- package/dist/src/Components/SideBar/components/TextTruncation.js +0 -1
- package/dist/src/Components/Skeletons/Skeletons.js +0 -1
- package/dist/src/Components/Switch/Switch.js +0 -49
- package/dist/src/Components/Table/Components/HeaderActions.js +0 -1
- package/dist/src/Components/Table/Components/Pagination.js +0 -1
- package/dist/src/Components/Table/Components/TableActions.js +0 -1
- package/dist/src/Components/Table/Components/TableBody.js +0 -1
- package/dist/src/Components/Table/Components/TableFilters.js +0 -1
- package/dist/src/Components/Table/Components/TableHeader.js +0 -1
- package/dist/src/Components/Table/Components/TableLoading.js +0 -1
- package/dist/src/Components/Table/Components/TableSearch.js +0 -1
- package/dist/src/Components/Table/Components/useTable.js +0 -1
- package/dist/src/Components/Table/Table.js +0 -1
- package/dist/src/Components/Table/TableSettings/ManageColumns.js +0 -1
- package/dist/src/Components/Table/TableSettings/TableSettings.js +0 -1
- package/dist/src/Components/Tag/Tag.js +0 -1
- package/dist/src/Components/Tag/Tag.styles.js +0 -1
- package/dist/src/Components/Timeline/Timeline.js +0 -102
- package/dist/src/Components/Toaster/Toaster.js +0 -1
- package/dist/src/Components/Toggle/TableToggle.js +0 -1
- package/dist/src/Components/ToolTip/ToolTip.js +0 -1
- package/dist/src/Constants/Sidebar.js +0 -1
- package/dist/src/Hooks/usePreferences.js +0 -1
- package/dist/src/Theme/Default/palette.js +0 -1
- package/dist/src/Theme/Default/theme.js +0 -1
- package/dist/src/Theme/Meadow/palette.js +0 -1
- package/dist/src/Theme/Meadow/theme.js +0 -1
- package/dist/src/Theme/Radiant/palette.js +0 -1
- package/dist/src/Theme/Radiant/theme.js +0 -1
- package/dist/src/Theme/Skyline/palette.js +0 -1
- package/dist/src/Theme/Skyline/theme.js +0 -1
- package/dist/src/Theme/common.js +0 -1
- package/dist/src/Theme/componentStyles.js +0 -1
- package/dist/src/Theme/fonts.js +0 -1
- package/dist/src/Theme/index.js +0 -1
- package/dist/src/Theme/space.js +0 -1
- package/dist/src/Theme/useCustomTheme.js +0 -1
- package/dist/src/Utils/table.js +0 -1
- package/dist/src/index.js +0 -1
- package/dist/src/withTheme.js +0 -1
package/dist/App.d.ts
ADDED
package/dist/App.js
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
var react_1 = __importStar(require("react"));
|
|
30
|
+
var react_2 = require("@chakra-ui/react");
|
|
31
|
+
var Loading_1 = __importDefault(require("./Components/Loading/Loading"));
|
|
32
|
+
var SideBar_1 = __importDefault(require("./Components/SideBar/SideBar"));
|
|
33
|
+
var NavigationBar_1 = __importDefault(require("./Components/NavigationBar/NavigationBar"));
|
|
34
|
+
var Breadcrumbs_1 = __importDefault(require("./Components/Breadcrumbs/Breadcrumbs"));
|
|
35
|
+
var Layout_1 = __importDefault(require("./Layout"));
|
|
36
|
+
var lucide_react_1 = require("lucide-react");
|
|
37
|
+
require("./global.css");
|
|
38
|
+
function App() {
|
|
39
|
+
function useWindowSize() {
|
|
40
|
+
var _a = (0, react_1.useState)({
|
|
41
|
+
width: 0,
|
|
42
|
+
height: 0,
|
|
43
|
+
}), windowSize = _a[0], setWindowSize = _a[1];
|
|
44
|
+
(0, react_1.useEffect)(function () {
|
|
45
|
+
function handleResize() {
|
|
46
|
+
setWindowSize({
|
|
47
|
+
width: window.innerWidth,
|
|
48
|
+
height: window.innerHeight,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
window.addEventListener("resize", handleResize);
|
|
52
|
+
handleResize();
|
|
53
|
+
return function () { return window.removeEventListener("resize", handleResize); };
|
|
54
|
+
}, []);
|
|
55
|
+
return windowSize;
|
|
56
|
+
}
|
|
57
|
+
var _a = useWindowSize(), width = _a.width, height = _a.height;
|
|
58
|
+
var breadcrumbItems = [
|
|
59
|
+
{ path: "/home", label: "Home" },
|
|
60
|
+
{ path: "/about", label: "About" },
|
|
61
|
+
{ path: "/contact", label: "Contact" },
|
|
62
|
+
];
|
|
63
|
+
var handleClick = function (path) {
|
|
64
|
+
console.log("Navigating to ".concat(path));
|
|
65
|
+
};
|
|
66
|
+
var menu = [
|
|
67
|
+
{ id: 1, title: "Dashboard", icon: lucide_react_1.House, url: "dashboard" },
|
|
68
|
+
{ id: 2, title: "Calendar", icon: lucide_react_1.Calendar, url: "calendar" },
|
|
69
|
+
{ id: 3, title: "Reports", icon: lucide_react_1.Calendar, url: "reports" },
|
|
70
|
+
{ id: 4, title: "Settings", icon: lucide_react_1.Calendar, url: "settings" },
|
|
71
|
+
{ id: 5, title: "Users", icon: lucide_react_1.Calendar, url: "users" },
|
|
72
|
+
{ id: 6, title: "Notifications notifications notifications notifications notifications", icon: lucide_react_1.Calendar, url: "notifications" },
|
|
73
|
+
{ id: 7, title: "Analytics", icon: lucide_react_1.Calendar, url: "analytics" },
|
|
74
|
+
{
|
|
75
|
+
id: 8, title: "Projects", icon: lucide_react_1.Calendar, url: "projects", subMenu: [{
|
|
76
|
+
id: 21, title: "submenu1hghvhvkhvkhvkhvh", icon: lucide_react_1.Calendar, url: "submenu1"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 22, title: "submenu2", icon: lucide_react_1.Calendar, url: "submenu2"
|
|
80
|
+
}]
|
|
81
|
+
},
|
|
82
|
+
{ id: 9, title: "Tasks", icon: lucide_react_1.Calendar, url: "tasks" },
|
|
83
|
+
{ id: 10, title: "Teams", icon: lucide_react_1.Calendar, url: "teams" },
|
|
84
|
+
{ id: 11, title: "Clients", icon: lucide_react_1.Calendar, url: "clients" },
|
|
85
|
+
{ id: 12, title: "Invoices", icon: lucide_react_1.Calendar, url: "invoices" },
|
|
86
|
+
{ id: 13, title: "Payments", icon: lucide_react_1.Calendar, url: "payments" },
|
|
87
|
+
{ id: 14, title: "Leads", icon: lucide_react_1.Calendar, url: "leads" },
|
|
88
|
+
{ id: 15, title: "Opportunities", icon: lucide_react_1.Calendar, url: "opportunities" },
|
|
89
|
+
{ id: 16, title: "Campaigns", icon: lucide_react_1.Calendar, url: "campaigns" },
|
|
90
|
+
{ id: 17, title: "Documents", icon: lucide_react_1.Calendar, url: "documents" },
|
|
91
|
+
{ id: 18, title: "Files", icon: lucide_react_1.Calendar, url: "files" },
|
|
92
|
+
{ id: 19, title: "Support", icon: lucide_react_1.Calendar, url: "support" },
|
|
93
|
+
{ id: 20, title: "Integrations", icon: lucide_react_1.Calendar, url: "integrations" },
|
|
94
|
+
];
|
|
95
|
+
var _b = (0, react_1.useState)(true), toggle = _b[0], changeToggle = _b[1];
|
|
96
|
+
var _c = (0, react_1.useState)(""), activeMenu = _c[0], setActiveMenu = _c[1];
|
|
97
|
+
var handleMenuClick = function (menu) {
|
|
98
|
+
setActiveMenu(menu === null || menu === void 0 ? void 0 : menu.title);
|
|
99
|
+
};
|
|
100
|
+
var navmenus = [
|
|
101
|
+
{ title: "Account Settings", url: "myaccount" },
|
|
102
|
+
{ title: "Resetpassword", url: "resetpassword" },
|
|
103
|
+
];
|
|
104
|
+
var handleNavOnClick = function (title) { };
|
|
105
|
+
var handleLogout = function () { };
|
|
106
|
+
return (react_1.default.createElement("div", { className: "App" },
|
|
107
|
+
react_1.default.createElement(react_2.Box, { minH: "100vh", bg: "gray.100", overflow: "hidden" },
|
|
108
|
+
react_1.default.createElement(Loading_1.default, { text: "PIXELIZE CRM", isLoading: false, onlytext: true }),
|
|
109
|
+
react_1.default.createElement(react_2.Flex, null,
|
|
110
|
+
react_1.default.createElement(react_2.Box, null,
|
|
111
|
+
react_1.default.createElement(SideBar_1.default, { menus: menu, activeMenu: activeMenu, handleMenuClick: handleMenuClick, toggle: toggle, changeToggle: function () { return changeToggle(!toggle); },
|
|
112
|
+
// logo={
|
|
113
|
+
// "https://play-lh.googleusercontent.com/Fro4e_osoDhhrjgiZ_Y2C5FNXBMWvrb4rGpmkM1PDAcUPXeiAlPCq7NeaT4Q6NRUxRqo"
|
|
114
|
+
// }
|
|
115
|
+
companyName: "PIXELIZE" })),
|
|
116
|
+
react_1.default.createElement(react_2.Box, { flex: "1", maxWidth: width, overflow: "hidden" },
|
|
117
|
+
react_1.default.createElement(NavigationBar_1.default, { userAvathar: "https://bit.ly/dan-abramo", userName: "PIXELIZE", navMenu: navmenus, handleNavOnClick: handleNavOnClick, handleLogout: handleLogout, logoutText: "Logout", key: "navbar", navigationBarText: {
|
|
118
|
+
text: "Dashboard",
|
|
119
|
+
onIconClick: function () {
|
|
120
|
+
console.log("Back icon clicked");
|
|
121
|
+
},
|
|
122
|
+
}, moreIcon: react_1.default.createElement(lucide_react_1.Calendar, null) }),
|
|
123
|
+
react_1.default.createElement("br", null),
|
|
124
|
+
react_1.default.createElement(Breadcrumbs_1.default, { separator: react_1.default.createElement(lucide_react_1.ChevronRight, { color: "gray.500" }), items: breadcrumbItems, handleClick: handleClick }),
|
|
125
|
+
react_1.default.createElement(react_2.Box, { p: "50px", height: height - 160, overflowY: "scroll", width: width - 75 },
|
|
126
|
+
react_1.default.createElement(Layout_1.default, null)))))));
|
|
127
|
+
}
|
|
128
|
+
exports.default = App;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 useCustomTheme_1 = require("../Theme/useCustomTheme");
|
|
8
|
+
var DefaultLogo = function () {
|
|
9
|
+
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
10
|
+
return (react_1.default.createElement("svg", { width: "12.09", height: "15.95", viewBox: "0 0 31 29", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
11
|
+
react_1.default.createElement("path", { d: "M30.4999 6.26137V7.81058H15.9761H14.8787V22.8508V28.8862H12.5226C9.6824 28.8862 7.32632 26.4656 7.06812 23.3995C7.06812 23.2381 7.06812 23.0444 7.06812 22.8508V18.3323C7.06812 18.2677 7.06812 18.2032 7.06812 18.1063V15.5889V6.2291C7.06812 2.80793 9.84378 -5.72205e-06 13.2972 -5.72205e-06H24.8517C28.0147 0.355021 30.4676 3.00158 30.4676 6.2291L30.4999 6.26137Z", fill: theme.colors.black }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M7.10053 23.3672H7.03598C5.16402 23.2381 3.48571 22.4635 2.25926 21.3338C0.871428 20.0428 0 18.2677 0 16.3312V15.6211H7.06825V18.1386C7.06825 18.2032 7.06825 18.2677 7.06825 18.3645V22.883C7.06825 23.0767 7.06825 23.2381 7.06825 23.4317L7.10053 23.3672Z", fill: theme.colors.black }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M30.4678 12.0063V15.6211V17.1703C30.4678 20.6238 26.272 23.3994 21.0757 23.3994H14.8789V22.8508V15.6211H22.6572V7.81056C22.6895 7.81056 30.5001 7.81056 30.5001 7.81056V11.5868C30.5001 11.7159 30.5001 11.8772 30.5001 12.0063H30.4678Z", fill: theme.colors.black })));
|
|
14
|
+
};
|
|
15
|
+
exports.default = DefaultLogo;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useCustomTheme } from "../Theme/useCustomTheme";
|
|
3
|
+
|
|
4
|
+
const DefaultLogo = () => {
|
|
5
|
+
const theme = useCustomTheme();
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
width="12.09"
|
|
9
|
+
height="15.95"
|
|
10
|
+
viewBox="0 0 31 29"
|
|
11
|
+
fill="none"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
d="M30.4999 6.26137V7.81058H15.9761H14.8787V22.8508V28.8862H12.5226C9.6824 28.8862 7.32632 26.4656 7.06812 23.3995C7.06812 23.2381 7.06812 23.0444 7.06812 22.8508V18.3323C7.06812 18.2677 7.06812 18.2032 7.06812 18.1063V15.5889V6.2291C7.06812 2.80793 9.84378 -5.72205e-06 13.2972 -5.72205e-06H24.8517C28.0147 0.355021 30.4676 3.00158 30.4676 6.2291L30.4999 6.26137Z"
|
|
16
|
+
fill={theme.colors.black}
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
d="M7.10053 23.3672H7.03598C5.16402 23.2381 3.48571 22.4635 2.25926 21.3338C0.871428 20.0428 0 18.2677 0 16.3312V15.6211H7.06825V18.1386C7.06825 18.2032 7.06825 18.2677 7.06825 18.3645V22.883C7.06825 23.0767 7.06825 23.2381 7.06825 23.4317L7.10053 23.3672Z"
|
|
20
|
+
fill={theme.colors.black}
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
d="M30.4678 12.0063V15.6211V17.1703C30.4678 20.6238 26.272 23.3994 21.0757 23.3994H14.8789V22.8508V15.6211H22.6572V7.81056C22.6895 7.81056 30.5001 7.81056 30.5001 7.81056V11.5868C30.5001 11.7159 30.5001 11.8772 30.5001 12.0063H30.4678Z"
|
|
24
|
+
fill={theme.colors.black}
|
|
25
|
+
/>
|
|
26
|
+
</svg>
|
|
27
|
+
|
|
28
|
+
)
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default DefaultLogo;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var react_2 = require("@chakra-ui/react");
|
|
30
|
+
var Accordion = function (_a) {
|
|
31
|
+
var allowMultiple = _a.allowMultiple, allowToggle = _a.allowToggle, index = _a.index, onChange = _a.onChange, reduceMotion = _a.reduceMotion, items = _a.items, rest = __rest(_a, ["allowMultiple", "allowToggle", "index", "onChange", "reduceMotion", "items"]);
|
|
32
|
+
return (react_1.default.createElement(react_2.Accordion, __assign({ allowMultiple: allowMultiple, allowToggle: allowToggle, index: index, onChange: onChange, reduceMotion: reduceMotion }, rest), items.map(function (item, idx) {
|
|
33
|
+
var _a, _b, _c, _d;
|
|
34
|
+
return (react_1.default.createElement(react_2.AccordionItem, __assign({ key: idx }, item.itemProps, { sx: (_a = item.customStyles) === null || _a === void 0 ? void 0 : _a.itemStyle }),
|
|
35
|
+
react_1.default.createElement("h2", null,
|
|
36
|
+
react_1.default.createElement(react_2.AccordionButton, __assign({}, item.buttonProps, { sx: __assign(__assign({}, (_b = item.customStyles) === null || _b === void 0 ? void 0 : _b.buttonStyle), { '&:hover': __assign({}, (_c = item.customStyles) === null || _c === void 0 ? void 0 : _c.hoverbuttonStyle) }) }), item.header)),
|
|
37
|
+
react_1.default.createElement(react_2.AccordionPanel, __assign({}, item.panelProps, { sx: (_d = item.customStyles) === null || _d === void 0 ? void 0 : _d.panelStyle }), item.content)));
|
|
38
|
+
})));
|
|
39
|
+
};
|
|
40
|
+
exports.default = Accordion;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionProps as ChakraAccordionProps, AccordionItemProps, AccordionButtonProps, AccordionPanelProps } from "@chakra-ui/react";
|
|
3
|
+
export type AccordionProps = ChakraAccordionProps & {
|
|
4
|
+
items: {
|
|
5
|
+
header: React.ReactNode;
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
buttonProps?: AccordionButtonProps;
|
|
8
|
+
panelProps?: AccordionPanelProps;
|
|
9
|
+
itemProps?: AccordionItemProps;
|
|
10
|
+
customStyles?: {
|
|
11
|
+
buttonStyle?: React.CSSProperties;
|
|
12
|
+
hoverbuttonStyle?: React.CSSProperties;
|
|
13
|
+
panelStyle?: React.CSSProperties;
|
|
14
|
+
itemStyle?: React.CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AlertDialogsProps } from "./AlertDialogProps";
|
|
3
|
+
declare const AlertDialog: ({ isOpen, onClose, leastDestructiveRef, content, title, confirmButtonText, cancelButtonText, isConfirmLoading, onConfirm, ContentStyle, headerStyle, bodyStyle, footerStyle, closeButtonStyle, button1Style, button2Style, isCentered, confirmButtonColor, key, }: AlertDialogsProps) => React.JSX.Element;
|
|
4
|
+
export default AlertDialog;
|
|
@@ -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 = require("@chakra-ui/react");
|
|
7
|
+
var react_2 = __importDefault(require("react"));
|
|
8
|
+
var AlertDialog = function (_a) {
|
|
9
|
+
var isOpen = _a.isOpen, onClose = _a.onClose, leastDestructiveRef = _a.leastDestructiveRef, content = _a.content, title = _a.title, _b = _a.confirmButtonText, confirmButtonText = _b === void 0 ? "Yes" : _b, _c = _a.cancelButtonText, cancelButtonText = _c === void 0 ? "No" : _c, isConfirmLoading = _a.isConfirmLoading, onConfirm = _a.onConfirm, ContentStyle = _a.ContentStyle, headerStyle = _a.headerStyle, bodyStyle = _a.bodyStyle, footerStyle = _a.footerStyle, closeButtonStyle = _a.closeButtonStyle, button1Style = _a.button1Style, button2Style = _a.button2Style, isCentered = _a.isCentered, _d = _a.confirmButtonColor, confirmButtonColor = _d === void 0 ? "red" : _d, key = _a.key;
|
|
10
|
+
return (react_2.default.createElement(react_1.AlertDialog, { motionPreset: "slideInBottom", leastDestructiveRef: leastDestructiveRef, onClose: onClose, isOpen: isOpen, isCentered: isCentered, key: key },
|
|
11
|
+
react_2.default.createElement(react_1.AlertDialogOverlay, null),
|
|
12
|
+
react_2.default.createElement(react_1.AlertDialogContent, { sx: ContentStyle },
|
|
13
|
+
react_2.default.createElement(react_1.AlertDialogHeader, { sx: headerStyle }, title),
|
|
14
|
+
react_2.default.createElement(react_1.AlertDialogCloseButton, { sx: closeButtonStyle }),
|
|
15
|
+
react_2.default.createElement(react_1.AlertDialogBody, { sx: bodyStyle }, content),
|
|
16
|
+
react_2.default.createElement(react_1.AlertDialogFooter, { sx: footerStyle },
|
|
17
|
+
react_2.default.createElement(react_1.Button, { ref: null, onClick: onClose, size: "sm", sx: button1Style }, cancelButtonText),
|
|
18
|
+
react_2.default.createElement(react_1.Button, { colorScheme: confirmButtonColor, onClick: onConfirm, isLoading: isConfirmLoading, ml: 3, size: "sm", sx: button2Style }, confirmButtonText)))));
|
|
19
|
+
};
|
|
20
|
+
exports.default = AlertDialog;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AlertDialogProps, AlertProps } from "@chakra-ui/react";
|
|
2
|
+
import { ReactElement } from "react";
|
|
3
|
+
export type AlertDialogsProps = Pick<AlertDialogProps, "isOpen" | "onClose" | "leastDestructiveRef"> & Pick<AlertProps, "addRole" | "colorScheme" | "size" | "status" | "variant"> & {
|
|
4
|
+
title: string;
|
|
5
|
+
content: ReactElement;
|
|
6
|
+
isCentered?: boolean;
|
|
7
|
+
confirmButtonText?: string;
|
|
8
|
+
cancelButtonText?: string;
|
|
9
|
+
isConfirmLoading?: boolean;
|
|
10
|
+
onConfirm: () => void;
|
|
11
|
+
ContentStyle?: React.CSSProperties;
|
|
12
|
+
headerStyle?: React.CSSProperties;
|
|
13
|
+
bodyStyle?: React.CSSProperties;
|
|
14
|
+
footerStyle?: React.CSSProperties;
|
|
15
|
+
closeButtonStyle?: React.CSSProperties;
|
|
16
|
+
button1Style?: React.CSSProperties;
|
|
17
|
+
button2Style?: React.CSSProperties;
|
|
18
|
+
key?: string | number;
|
|
19
|
+
confirmButtonColor?: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
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_apexcharts_1 = __importDefault(require("react-apexcharts"));
|
|
8
|
+
function ApexBarChart(_a) {
|
|
9
|
+
var data = _a.data, labels = _a.labels, title = _a.title, titlePosition = _a.titlePosition, _b = _a.height, height = _b === void 0 ? 400 : _b, _c = _a.width, width = _c === void 0 ? 500 : _c, _d = _a.barColor, barColor = _d === void 0 ? ["#3182ce"] : _d, _e = _a.xAxisStyle, xAxisStyle = _e === void 0 ? {
|
|
10
|
+
color: "#ffffff",
|
|
11
|
+
} : _e, _f = _a.yAxisStyle, yAxisStyle = _f === void 0 ? {
|
|
12
|
+
color: "#ffffff",
|
|
13
|
+
} : _f, _g = _a.titleStyle, titleStyle = _g === void 0 ? {
|
|
14
|
+
color: "#3182ce",
|
|
15
|
+
fontSize: "16px",
|
|
16
|
+
fontWeight: 600,
|
|
17
|
+
fontFamily: "Arial",
|
|
18
|
+
} : _g;
|
|
19
|
+
var options = {
|
|
20
|
+
chart: {
|
|
21
|
+
type: "bar",
|
|
22
|
+
height: 350,
|
|
23
|
+
},
|
|
24
|
+
plotOptions: {
|
|
25
|
+
bar: {
|
|
26
|
+
borderRadius: 4,
|
|
27
|
+
horizontal: false,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
dataLabels: {
|
|
31
|
+
enabled: false,
|
|
32
|
+
style: {
|
|
33
|
+
fontSize: "12px",
|
|
34
|
+
colors: ["#00E396"], //data label color
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
xaxis: {
|
|
38
|
+
categories: labels,
|
|
39
|
+
labels: {
|
|
40
|
+
style: xAxisStyle,
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
yaxis: {
|
|
44
|
+
labels: {
|
|
45
|
+
style: yAxisStyle,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
title: {
|
|
49
|
+
text: title,
|
|
50
|
+
align: titlePosition,
|
|
51
|
+
style: titleStyle,
|
|
52
|
+
},
|
|
53
|
+
colors: barColor, //bar color
|
|
54
|
+
};
|
|
55
|
+
var series = [
|
|
56
|
+
{
|
|
57
|
+
name: "Data",
|
|
58
|
+
data: data,
|
|
59
|
+
},
|
|
60
|
+
];
|
|
61
|
+
return (react_1.default.createElement("div", null,
|
|
62
|
+
react_1.default.createElement(react_apexcharts_1.default, { options: options, series: series, type: "bar", height: height, width: width })));
|
|
63
|
+
}
|
|
64
|
+
exports.default = ApexBarChart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React from 'react';
|
|
3
|
+
// import { StoryFn, Meta } from '@storybook/react';
|
|
4
|
+
// import ApexBarChart from './ApexBarChart';
|
|
5
|
+
// import { ApexBarChartProps } from './ApexBarChartProps';
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type ApexBarChartProps = {
|
|
2
|
+
data: number[];
|
|
3
|
+
labels: string[];
|
|
4
|
+
title?: string;
|
|
5
|
+
titlePosition?: "left" | "center" | "right";
|
|
6
|
+
height?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
barColor?: string[];
|
|
9
|
+
xAxisStyle?: StyleProps;
|
|
10
|
+
yAxisStyle?: StyleProps;
|
|
11
|
+
titleStyle?: StyleProps;
|
|
12
|
+
};
|
|
13
|
+
type StyleProps = {
|
|
14
|
+
fontSize?: string;
|
|
15
|
+
fontFamily?: string;
|
|
16
|
+
fontWeight?: string | number;
|
|
17
|
+
color?: string;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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_apexcharts_1 = __importDefault(require("react-apexcharts"));
|
|
8
|
+
function ApexPieChart(_a) {
|
|
9
|
+
var data = _a.data, labels = _a.labels, title = _a.title, titlePosition = _a.titlePosition, _b = _a.height, height = _b === void 0 ? 400 : _b, _c = _a.width, width = _c === void 0 ? 500 : _c, chartColor = _a.chartColor, _d = _a.titleStyle, titleStyle = _d === void 0 ? {
|
|
10
|
+
color: "#3182ce",
|
|
11
|
+
} : _d;
|
|
12
|
+
var options = {
|
|
13
|
+
chart: {
|
|
14
|
+
type: "pie",
|
|
15
|
+
height: 350,
|
|
16
|
+
},
|
|
17
|
+
labels: labels,
|
|
18
|
+
title: {
|
|
19
|
+
text: title,
|
|
20
|
+
align: titlePosition,
|
|
21
|
+
style: titleStyle,
|
|
22
|
+
},
|
|
23
|
+
colors: chartColor,
|
|
24
|
+
};
|
|
25
|
+
var series = data;
|
|
26
|
+
return (react_1.default.createElement("div", null,
|
|
27
|
+
react_1.default.createElement(react_apexcharts_1.default, { options: options, series: series, type: "pie", height: height, width: width })));
|
|
28
|
+
}
|
|
29
|
+
exports.default = ApexPieChart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React from 'react';
|
|
3
|
+
// import { StoryFn, Meta } from '@storybook/react';
|
|
4
|
+
// import ApexPieChart from './ApexPieChart';
|
|
5
|
+
// import { ApexPieChartProps } from './ApexPieChartProps';
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type ApexPieChartProps = {
|
|
2
|
+
data: number[];
|
|
3
|
+
labels: string[];
|
|
4
|
+
title?: string;
|
|
5
|
+
titlePosition?: "left" | "center" | "right";
|
|
6
|
+
height?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
chartColor?: string[];
|
|
9
|
+
titleStyle?: StyleProps;
|
|
10
|
+
};
|
|
11
|
+
type StyleProps = {
|
|
12
|
+
fontSize?: string;
|
|
13
|
+
fontFamily?: string;
|
|
14
|
+
fontWeight?: string | number;
|
|
15
|
+
color?: string;
|
|
16
|
+
};
|
|
17
|
+
export interface ApexOptions {
|
|
18
|
+
annotations?: ApexAnnotations;
|
|
19
|
+
chart?: ApexChart;
|
|
20
|
+
colors?: any[];
|
|
21
|
+
dataLabels?: ApexDataLabels;
|
|
22
|
+
fill?: ApexFill;
|
|
23
|
+
forecastDataPoints?: ApexForecastDataPoints;
|
|
24
|
+
grid?: ApexGrid;
|
|
25
|
+
labels?: string[];
|
|
26
|
+
legend?: ApexLegend;
|
|
27
|
+
markers?: ApexMarkers;
|
|
28
|
+
noData?: ApexNoData;
|
|
29
|
+
plotOptions?: ApexPlotOptions;
|
|
30
|
+
responsive?: ApexResponsive[];
|
|
31
|
+
series?: ApexAxisChartSeries | ApexNonAxisChartSeries;
|
|
32
|
+
states?: ApexStates;
|
|
33
|
+
stroke?: ApexStroke;
|
|
34
|
+
subtitle?: ApexTitleSubtitle;
|
|
35
|
+
theme?: ApexTheme;
|
|
36
|
+
title?: ApexTitleSubtitle;
|
|
37
|
+
tooltip?: ApexTooltip;
|
|
38
|
+
xaxis?: ApexXAxis;
|
|
39
|
+
yaxis?: ApexYAxis | ApexYAxis[];
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -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
|
+
function Breadcrumbs(_a) {
|
|
9
|
+
var spacing = _a.spacing, separator = _a.separator, fontWeight = _a.fontWeight, fontSize = _a.fontSize, isCurrentPage = _a.isCurrentPage, handleClick = _a.handleClick, items = _a.items;
|
|
10
|
+
var theme = (0, react_2.useTheme)();
|
|
11
|
+
return (react_1.default.createElement(react_2.Breadcrumb, { spacing: spacing, separator: separator, fontWeight: fontWeight, fontSize: fontSize, fontFamily: theme.fonts.body }, items.map(function (item, index) { return (react_1.default.createElement(react_2.BreadcrumbItem, { key: index, isCurrentPage: isCurrentPage && index === items.length - 1 },
|
|
12
|
+
react_1.default.createElement(react_2.BreadcrumbLink, { href: item.path, sx: { "&:hover, &:active": { textDecoration: "none" } }, onClick: function (event) {
|
|
13
|
+
event.preventDefault();
|
|
14
|
+
handleClick(item.path);
|
|
15
|
+
} }, item.label))); })));
|
|
16
|
+
}
|
|
17
|
+
exports.default = Breadcrumbs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React from 'react';
|
|
3
|
+
// import { StoryFn, Meta } from '@storybook/react/types-6-0';
|
|
4
|
+
// import Breadcrumbs from './Breadcrumbs';
|
|
5
|
+
// import { BreadcrumbsProps } from './BreadcrumbsProps';
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BreadcrumbProps } from "@chakra-ui/react";
|
|
2
|
+
export type BreadcrumbsProps = Pick<BreadcrumbProps, "spacing" | "separator" | "fontWeight" | "fontSize"> & {
|
|
3
|
+
isCurrentPage?: boolean;
|
|
4
|
+
isLastChild?: boolean;
|
|
5
|
+
handleClick: (path: string) => void;
|
|
6
|
+
items: BreadcrumbItem[];
|
|
7
|
+
};
|
|
8
|
+
export type BreadcrumbItem = {
|
|
9
|
+
path: string;
|
|
10
|
+
label: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonProps } from "./ButtonProps";
|
|
3
|
+
declare function Button({ label, children, onClick, opacity, variant, leftIcon, rightIcon, size, isDisabled, isLoading, loadingText, type, width, sx, colorScheme, ref, border, borderRadius, }: ButtonProps): React.JSX.Element;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<typeof Button>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
function Button(_a) {
|
|
29
|
+
var label = _a.label, children = _a.children, onClick = _a.onClick, opacity = _a.opacity, _b = _a.variant, variant = _b === void 0 ? "solid" : _b, leftIcon = _a.leftIcon, rightIcon = _a.rightIcon, size = _a.size, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isLoading, isLoading = _d === void 0 ? false : _d, _e = _a.loadingText, loadingText = _e === void 0 ? "Loading" : _e, type = _a.type, width = _a.width, sx = _a.sx, colorScheme = _a.colorScheme, ref = _a.ref, border = _a.border, borderRadius = _a.borderRadius;
|
|
30
|
+
return (react_1.default.createElement(react_2.Button, { type: type, onClick: onClick, width: width || "fit-content", variant: variant, size: size, isLoading: isLoading, isDisabled: isDisabled, loadingText: loadingText, leftIcon: leftIcon, rightIcon: rightIcon, ref: ref, colorScheme: colorScheme, sx: sx, opacity: opacity, border: border, borderRadius: borderRadius }, children !== null && children !== void 0 ? children : label));
|
|
31
|
+
}
|
|
32
|
+
exports.default = (0, react_1.memo)(Button);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|