pixelize-design-library 2.4.1 → 2.4.2-beta.0
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/README.md +74 -10
- package/dist/Assets/defaultLogo.d.ts +0 -1
- package/dist/Assets/defaultLogo.js +1 -3
- package/dist/Assets/defaultLogo.tsx +4 -8
- package/dist/Components/Accordion/Accordion.d.ts +0 -1
- package/dist/Components/Accordion/Accordion.js +4 -4
- package/dist/Components/Accordion/AccordionProps.d.ts +0 -1
- package/dist/Components/Accordion/accordionColors.d.ts +0 -1
- package/dist/Components/Accordion/accordionColors.js +17 -3
- package/dist/Components/AlertDialog/AlertDialog.d.ts +0 -1
- package/dist/Components/AlertDialog/AlertDialog.js +1 -1
- package/dist/Components/AlertDialog/AlertDialogProps.d.ts +0 -1
- package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChart.d.ts +3 -0
- package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChart.js +71 -0
- package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChartProps.d.ts +19 -0
- package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChartProps.js +2 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts +1 -2
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.js +32 -41
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts +13 -4
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.d.ts +0 -1
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.js +23 -19
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChartProps.d.ts +0 -1
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts +1 -2
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.js +93 -72
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts +8 -3
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.d.ts +0 -1
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.js +19 -10
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.d.ts +2 -3
- package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChart.d.ts +3 -0
- package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChart.js +62 -0
- package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChartProps.d.ts +14 -0
- package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChartProps.js +2 -0
- package/dist/Components/Apexcharts/chartBase.d.ts +20 -0
- package/dist/Components/Apexcharts/chartBase.js +77 -0
- package/dist/Components/AppearanceSettings/AppearanceSettings.d.ts +3 -0
- package/dist/Components/AppearanceSettings/AppearanceSettings.js +43 -0
- package/dist/Components/AppearanceSettings/AppearanceSettingsProps.d.ts +18 -0
- package/dist/Components/AppearanceSettings/AppearanceSettingsProps.js +2 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts +0 -1
- package/dist/Components/Button/Button.d.ts +1 -2
- package/dist/Components/Button/Button.js +2 -2
- package/dist/Components/Button/Button.styles.d.ts +0 -1
- package/dist/Components/Button/Button.styles.js +1 -1
- package/dist/Components/Button/ButtonProps.d.ts +1 -2
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +9 -6
- package/dist/Components/Buttons/Buttons.d.ts +0 -1
- package/dist/Components/Buttons/ButtonsProps.d.ts +0 -1
- package/dist/Components/Card/Card.d.ts +0 -1
- package/dist/Components/Card/CardProps.d.ts +0 -1
- package/dist/Components/Card/PaymentCard/PaymentCard.d.ts +0 -1
- package/dist/Components/Card/PaymentCard/PaymentCardProps.d.ts +0 -1
- package/dist/Components/Checkbox/Checkbox.d.ts +1 -2
- package/dist/Components/Checkbox/Checkbox.js +2 -2
- package/dist/Components/Checkbox/Checkbox.styles.d.ts +0 -1
- package/dist/Components/Checkbox/Checkbox.styles.js +14 -3
- package/dist/Components/Checkbox/CheckboxProps.d.ts +1 -2
- package/dist/Components/Common/ErrorComponent.d.ts +0 -1
- package/dist/Components/Common/ErrorComponent.js +1 -1
- package/dist/Components/Common/ErrorMessage.d.ts +2 -2
- package/dist/Components/Common/ErrorMessage.js +4 -2
- package/dist/Components/Common/FormLabel.d.ts +1 -2
- package/dist/Components/Common/FormLabel.js +15 -2
- package/dist/Components/Common/FormattedDescription.d.ts +0 -1
- package/dist/Components/Common/HelperText.d.ts +2 -2
- package/dist/Components/Common/HelperText.js +11 -2
- package/dist/Components/Common/Label.d.ts +3 -2
- package/dist/Components/Common/Label.js +3 -3
- package/dist/Components/Common/fieldStyles.d.ts +1 -2
- package/dist/Components/Common/fieldStyles.js +1 -1
- package/dist/Components/ContactForm/ContactForm.d.ts +0 -1
- package/dist/Components/ContactForm/ContactFormProps.d.ts +0 -1
- package/dist/Components/CopyButton/CopyButton.d.ts +0 -1
- package/dist/Components/CopyButton/CopyButton.js +2 -2
- package/dist/Components/CustomModulesTable/CustomModulesTable.d.ts +0 -1
- package/dist/Components/CustomModulesTable/CustomModulesTable.js +8 -8
- package/dist/Components/CustomModulesTable/CustomModulesTableProps.d.ts +0 -1
- package/dist/Components/CustomModulesTable/DeleteModuleModal.d.ts +0 -1
- package/dist/Components/CustomModulesTable/DeleteModuleModal.js +2 -2
- package/dist/Components/CustomModulesTable/EditModuleModal.d.ts +0 -1
- package/dist/Components/CustomModulesTable/EditModuleModal.js +5 -1
- package/dist/Components/DatePicker/CalendarPanel.d.ts +0 -1
- package/dist/Components/DatePicker/CalendarPanel.js +15 -4
- package/dist/Components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/Components/DatePicker/DatePickerProps.d.ts +0 -1
- package/dist/Components/DatePicker/RangeDatePicker.d.ts +0 -1
- package/dist/Components/DatePicker/RangeDatePicker.js +1 -1
- package/dist/Components/DatePicker/SingleDatePicker.d.ts +0 -1
- package/dist/Components/DatePicker/SingleDatePicker.js +11 -9
- package/dist/Components/DatePicker/ThemeDatePicker.d.ts +0 -1
- package/dist/Components/DatePicker/TimeOnlyPicker.d.ts +0 -1
- package/dist/Components/DatePicker/TimeOnlyPicker.js +2 -2
- package/dist/Components/DatePicker/TimePicker.d.ts +0 -1
- package/dist/Components/DatePicker/TimePicker.js +14 -2
- package/dist/Components/DatePicker/TimePickerInput.d.ts +0 -1
- package/dist/Components/DatePicker/TimePickerInput.js +9 -1
- package/dist/Components/Divider/Divider.d.ts +0 -1
- package/dist/Components/Drawer/Drawer.d.ts +0 -1
- package/dist/Components/Drawer/DrawerProps.d.ts +0 -1
- package/dist/Components/Dropdown/DropDown.d.ts +0 -1
- package/dist/Components/Dropdown/DropDown.js +137 -19
- package/dist/Components/Dropdown/DropdownProps.d.ts +2 -1
- package/dist/Components/Editor/Editor.d.ts +0 -1
- package/dist/Components/Editor/Editor.js +10 -7
- package/dist/Components/Editor/EditorProps.d.ts +1 -2
- package/dist/Components/Editor/joditThemeVars.d.ts +0 -1
- package/dist/Components/Editor/joditThemeVars.js +9 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts +0 -1
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts +0 -1
- package/dist/Components/EmptyState/EmptyState.d.ts +0 -1
- package/dist/Components/EmptyState/EmptyState.js +2 -2
- package/dist/Components/EmptyState/EmptyStateProps.d.ts +0 -1
- package/dist/Components/FeedbackForm/FeedbackForm.d.ts +0 -1
- package/dist/Components/FieldSelectModal/FieldSelectModal.d.ts +0 -1
- package/dist/Components/FieldSelectModal/FieldSelectModal.js +2 -2
- package/dist/Components/FilePreview/FilePreview.d.ts +0 -1
- package/dist/Components/FilePreview/FilePreview.js +6 -7
- package/dist/Components/FilePreview/FilePreviewProps.d.ts +0 -1
- package/dist/Components/FileUpload/FileUpload.d.ts +0 -1
- package/dist/Components/FileUpload/FileUpload.js +3 -3
- package/dist/Components/FileUpload/FileUploadProps.d.ts +0 -1
- package/dist/Components/FileUpload/constants.d.ts +0 -1
- package/dist/Components/FileUploader/FileUploader.d.ts +0 -1
- package/dist/Components/FileUploader/FileUploader.js +3 -3
- package/dist/Components/FileUploader/FileUploaderProps.d.ts +0 -1
- package/dist/Components/FilterSidebar/FilterSidebar.d.ts +0 -1
- package/dist/Components/FilterSidebar/FilterSidebar.js +4 -4
- package/dist/Components/FilterSidebar/filterHoverStyle.d.ts +0 -1
- package/dist/Components/Form/FormWrapper.d.ts +0 -1
- package/dist/Components/Form/FormWrapper.js +1 -1
- package/dist/Components/Header/Header.d.ts +0 -1
- package/dist/Components/Header/HeaderActions.d.ts +0 -1
- package/dist/Components/Header/HeaderProps.d.ts +0 -1
- package/dist/Components/Header/components/desktopMenu.d.ts +0 -1
- package/dist/Components/Header/components/desktopMenu.js +1 -1
- package/dist/Components/Header/components/mobileMenu.d.ts +0 -1
- package/dist/Components/Input/Input/Input.d.ts +0 -1
- package/dist/Components/Input/Input/InputProps.d.ts +0 -1
- package/dist/Components/Input/PhoneNumberInput.d.ts +0 -1
- package/dist/Components/Input/PhoneNumberInputProps.d.ts +0 -1
- package/dist/Components/Input/Switch/InputSwitch.d.ts +0 -1
- package/dist/Components/Input/TextInput.d.ts +0 -1
- package/dist/Components/Input/TextInput.styles.d.ts +0 -1
- package/dist/Components/Input/TextInput.styles.js +1 -1
- package/dist/Components/Input/TextInputProps.d.ts +0 -1
- package/dist/Components/Input/textInputIconSize.d.ts +0 -1
- package/dist/Components/InputTextArea/InputTextArea.d.ts +12 -3
- package/dist/Components/InputTextArea/InputTextArea.js +6 -5
- package/dist/Components/InputTextArea/InputTextArea.style.d.ts +0 -1
- package/dist/Components/InputTextArea/InputTextArea.style.js +1 -1
- package/dist/Components/InputTextArea/InputTextAreaProps.d.ts +1 -2
- package/dist/Components/KanbanBoard/AccountCard.d.ts +0 -1
- package/dist/Components/KanbanBoard/AccountCard.js +5 -5
- package/dist/Components/KanbanBoard/AccountRow.d.ts +0 -1
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts +0 -1
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts +0 -1
- package/dist/Components/KanbanBoard/KanbanBoard.js +14 -11
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +0 -1
- package/dist/Components/KanbanBoard/MeasuredItem.d.ts +0 -1
- package/dist/Components/KanbanBoard/MeasuredItem.js +4 -2
- package/dist/Components/LazyWrapper/LazyWrapper.d.ts +0 -1
- package/dist/Components/LimitReachedModal/LimitReachedModal.d.ts +4 -0
- package/dist/Components/LimitReachedModal/LimitReachedModal.js +45 -0
- package/dist/Components/LimitReachedModal/LimitReachedModalProps.d.ts +15 -0
- package/dist/Components/LimitReachedModal/LimitReachedModalProps.js +2 -0
- package/dist/Components/LimitReachedModal/limitReachedCopy.d.ts +6 -0
- package/dist/Components/LimitReachedModal/limitReachedCopy.js +54 -0
- package/dist/Components/Loading/Loading.d.ts +1 -2
- package/dist/Components/Loading/Loading.js +2 -2
- package/dist/Components/Loading/LoadingProps.d.ts +2 -1
- package/dist/Components/Modal/Modal.d.ts +0 -1
- package/dist/Components/Modal/Modal.js +1 -4
- package/dist/Components/Modal/ModalProps.d.ts +0 -1
- package/dist/Components/MoreItems/MoreItems.d.ts +0 -1
- package/dist/Components/MoreItems/MoreItems.js +2 -2
- package/dist/Components/MoreItems/MoreItemsProps.d.ts +0 -1
- package/dist/Components/MultiSelect/MultiSelect.d.ts +0 -1
- package/dist/Components/MultiSelect/MultiSelect.js +1 -1
- package/dist/Components/MultiSelect/MultiSelectProps.d.ts +0 -1
- package/dist/Components/NavigationBar/NavigationBar.d.ts +0 -1
- package/dist/Components/NavigationBar/NavigationBar.js +20 -10
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts +1 -2
- package/dist/Components/NoteTextArea/NoteTextArea.d.ts +0 -1
- package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts +0 -1
- package/dist/Components/Notification/Notification.d.ts +0 -1
- package/dist/Components/Notification/NotificationProps.d.ts +0 -1
- package/dist/Components/NumberInput/NumberInput.d.ts +17 -3
- package/dist/Components/NumberInput/NumberInput.js +5 -4
- package/dist/Components/NumberInput/NumberInput.styles.d.ts +0 -1
- package/dist/Components/NumberInput/NumberInput.styles.js +1 -1
- package/dist/Components/NumberInput/NumberInputProps.d.ts +1 -2
- package/dist/Components/OrgSwitcher/OrgSwitcher.d.ts +0 -1
- package/dist/Components/OrgSwitcher/OrgSwitcher.js +60 -5
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.d.ts +11 -4
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.js +24 -15
- package/dist/Components/OrganizationDetails/CreateOrgModal.d.ts +0 -1
- package/dist/Components/OrganizationDetails/CreateOrgModal.js +6 -4
- package/dist/Components/OrganizationDetails/DeleteOrgModal.d.ts +0 -1
- package/dist/Components/OrganizationDetails/DeleteOrgModal.js +2 -2
- package/dist/Components/OrganizationDetails/OrganizationDetails.d.ts +0 -1
- package/dist/Components/OrganizationDetails/OrganizationDetails.js +82 -25
- package/dist/Components/OrganizationDetails/OrganizationDetailsProps.d.ts +47 -15
- package/dist/Components/PdfViewer/PdfViewer.d.ts +0 -1
- package/dist/Components/PdfViewer/PdfViewer.js +2 -2
- package/dist/Components/PinInput/PinInput.d.ts +0 -1
- package/dist/Components/PinInput/PinInputProps.d.ts +0 -1
- package/dist/Components/PinInputs/PinInputs.d.ts +0 -1
- package/dist/Components/PinInputs/PinInputsProps.d.ts +0 -1
- package/dist/Components/PlanBadge/PlanBadge.d.ts +11 -0
- package/dist/Components/PlanBadge/PlanBadge.js +22 -0
- package/dist/Components/PlanBadge/PlanBadgeProps.d.ts +10 -0
- package/dist/Components/PlanBadge/PlanBadgeProps.js +2 -0
- package/dist/Components/PlanPill/PlanPill.d.ts +4 -0
- package/dist/Components/PlanPill/PlanPill.js +42 -0
- package/dist/Components/PlanPill/PlanPillProps.d.ts +27 -0
- package/dist/Components/PlanPill/PlanPillProps.js +2 -0
- package/dist/Components/PlanPill/planPillGradient.d.ts +21 -0
- package/dist/Components/PlanPill/planPillGradient.js +20 -0
- package/dist/Components/ProductCard/ProductCard.d.ts +0 -1
- package/dist/Components/ProductCard/ProductCardProps.d.ts +0 -1
- package/dist/Components/ProductCard/ProductLabel.d.ts +0 -1
- package/dist/Components/ProductCard/ProductPrice.d.ts +0 -1
- package/dist/Components/ProductCard/ProductPrice.js +13 -7
- package/dist/Components/ProductCard/ProductReview.d.ts +0 -1
- package/dist/Components/ProductCard/ProductTags.d.ts +0 -1
- package/dist/Components/ProductDetails/ProductDetails.d.ts +0 -1
- package/dist/Components/ProductDetails/ProductDetailsProps.d.ts +0 -1
- package/dist/Components/ProductDetails/ProductDtlPrice.d.ts +0 -1
- package/dist/Components/ProductDetails/ProductImageSlider.d.ts +0 -1
- package/dist/Components/ProfileCard/ProfileCard.d.ts +0 -1
- package/dist/Components/ProfileCard/ProfileCardProps.d.ts +4 -2
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +0 -1
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +3 -2
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts +0 -1
- package/dist/Components/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/Components/ProgressBar/ProgressBar.js +2 -2
- package/dist/Components/ProgressBar/ProgressBarProps.d.ts +1 -2
- package/dist/Components/RadioButton/RadioButton.d.ts +0 -1
- package/dist/Components/RadioButton/RadioButtonProps.d.ts +0 -1
- package/dist/Components/Reorder/Reorder.d.ts +0 -1
- package/dist/Components/Reorder/ReorderProps.d.ts +0 -1
- package/dist/Components/RolesPermission/DeleteRoleModal.d.ts +0 -1
- package/dist/Components/RolesPermission/DeleteRoleModal.js +2 -2
- package/dist/Components/RolesPermission/RolesPermission.d.ts +0 -1
- package/dist/Components/RolesPermission/RolesPermission.js +12 -12
- package/dist/Components/RolesPermission/RolesPermissionProps.d.ts +0 -1
- package/dist/Components/ScrollToTop/ScrollToTop.d.ts +0 -1
- package/dist/Components/ScrollToTop/ScrollToTop.js +9 -4
- package/dist/Components/Search/Search.d.ts +0 -1
- package/dist/Components/Search/Search.js +4 -2
- package/dist/Components/Search/SearchProps.d.ts +0 -1
- package/dist/Components/SearchSelect/SearchSelect.d.ts +0 -1
- package/dist/Components/SearchSelect/SearchSelect.js +216 -21
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts +0 -1
- package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts +0 -1
- package/dist/Components/SearchSelect/searchSelectSize.d.ts +0 -1
- package/dist/Components/Select/Select.d.ts +0 -1
- package/dist/Components/Select/Select.styles.d.ts +0 -1
- package/dist/Components/Select/Select.styles.js +29 -20
- package/dist/Components/Select/SelectProps.d.ts +0 -1
- package/dist/Components/SelectSearch/SelectSearch.d.ts +0 -1
- package/dist/Components/SelectSearch/SelectSearch.js +89 -4
- package/dist/Components/SelectSearch/SelectSearchProps.d.ts +0 -1
- package/dist/Components/SelectV2/SelectV2.d.ts +2 -0
- package/dist/Components/SelectV2/SelectV2.js +270 -0
- package/dist/Components/SelectV2/SelectV2Props.d.ts +66 -0
- package/dist/Components/SelectV2/SelectV2Props.js +2 -0
- package/dist/Components/SideBar/SecondaryBar.d.ts +0 -1
- package/dist/Components/SideBar/SecondaryBar.js +24 -8
- package/dist/Components/SideBar/SideBar.d.ts +0 -1
- package/dist/Components/SideBar/SideBar.js +44 -13
- package/dist/Components/SideBar/SideBarProps.d.ts +0 -1
- package/dist/Components/SideBar/components/MenuItemBox.d.ts +0 -1
- package/dist/Components/SideBar/components/MenuItemBox.js +53 -23
- package/dist/Components/SideBar/components/MenuItems.d.ts +0 -1
- package/dist/Components/SideBar/components/MenuPopoverContent.d.ts +0 -1
- package/dist/Components/SideBar/components/MenuPopoverContent.js +10 -4
- package/dist/Components/SideBar/components/OtherApps.d.ts +0 -1
- package/dist/Components/SideBar/components/OtherApps.js +2 -2
- package/dist/Components/SideBar/components/OverflowTooltipText.d.ts +0 -1
- package/dist/Components/SideBar/components/TextTruncation.d.ts +0 -1
- package/dist/Components/SideBar/sidebarAccentColors.d.ts +0 -1
- package/dist/Components/SideBar/sidebarAccentColors.js +6 -6
- package/dist/Components/SignInActivityTable/SignInActivityTable.d.ts +0 -1
- package/dist/Components/SignInActivityTable/SignInActivityTable.js +7 -7
- package/dist/Components/SignInActivityTable/SignInActivityTableProps.d.ts +0 -1
- package/dist/Components/Skeletons/SkeletonProps.d.ts +0 -1
- package/dist/Components/Skeletons/Skeletons.d.ts +0 -1
- package/dist/Components/Slider/Slider.d.ts +0 -1
- package/dist/Components/StageProgress/StageItem.d.ts +0 -1
- package/dist/Components/StageProgress/StageItem.js +7 -6
- package/dist/Components/StageProgress/StageProgress.d.ts +0 -1
- package/dist/Components/StageProgress/StageProgress.js +2 -2
- package/dist/Components/StageProgress/StageProgressProps.d.ts +0 -1
- package/dist/Components/StageProgress/StageProgressProps.js +9 -9
- package/dist/Components/StageProgress/StepperStage.d.ts +0 -1
- package/dist/Components/StageProgress/StepperStage.js +1 -1
- package/dist/Components/Switch/Switch.d.ts +0 -1
- package/dist/Components/Switch/SwitchProps.d.ts +0 -1
- package/dist/Components/Table/Table.d.ts +0 -1
- package/dist/Components/Table/Table.js +4 -4
- package/dist/Components/Table/TableProps.d.ts +0 -1
- package/dist/Components/Table/components/HeaderActions.d.ts +0 -1
- package/dist/Components/Table/components/HeaderActions.js +3 -1
- package/dist/Components/Table/components/Pagination.d.ts +0 -1
- package/dist/Components/Table/components/Pagination.js +1 -1
- package/dist/Components/Table/components/TableActions.d.ts +0 -1
- package/dist/Components/Table/components/TableActions.js +3 -3
- package/dist/Components/Table/components/TableBody.d.ts +0 -1
- package/dist/Components/Table/components/TableBody.js +75 -49
- package/dist/Components/Table/components/TableGroupRow.d.ts +1 -1
- package/dist/Components/Table/components/TableGroupRow.js +2 -2
- package/dist/Components/Table/components/TableHeader.d.ts +0 -1
- package/dist/Components/Table/components/TableHeader.js +35 -42
- package/dist/Components/Table/components/TableLoading.d.ts +0 -1
- package/dist/Components/Table/components/TableSearch.d.ts +0 -1
- package/dist/Components/Table/components/TableSearch.js +1 -1
- package/dist/Components/Table/components/tableRowHoverStyle.d.ts +9 -9
- package/dist/Components/Table/components/tableRowHoverStyle.js +12 -12
- package/dist/Components/Table/filterTypes.d.ts +0 -1
- package/dist/Components/Table/filters/ActiveFilters.d.ts +0 -1
- package/dist/Components/Table/filters/ActiveFilters.js +2 -2
- package/dist/Components/Table/filters/CompactSelect.d.ts +0 -1
- package/dist/Components/Table/filters/CompactSelect.js +33 -1
- package/dist/Components/Table/filters/LeftFilterPane.d.ts +0 -1
- package/dist/Components/Table/filters/LeftFilterPane.js +1 -1
- package/dist/Components/Table/filters/SelectOperationControls.d.ts +0 -1
- package/dist/Components/Table/filters/TableFilters.d.ts +0 -1
- package/dist/Components/Table/filters/TextOperationControls.d.ts +0 -1
- package/dist/Components/Table/hooks/useDebounce.d.ts +0 -1
- package/dist/Components/Table/hooks/useTable.d.ts +0 -1
- package/dist/Components/Table/hooks/useTable.js +6 -2
- package/dist/Components/Table/settings/ManageColumns.d.ts +0 -1
- package/dist/Components/Table/settings/ManageColumns.js +16 -7
- package/dist/Components/Table/settings/TableSettings.d.ts +0 -1
- package/dist/Components/Table/settings/TableSettings.js +6 -6
- package/dist/Components/Tag/Tag.d.ts +0 -1
- package/dist/Components/Tag/Tag.js +5 -8
- package/dist/Components/Tag/Tag.styles.d.ts +0 -1
- package/dist/Components/Tag/Tag.styles.js +3 -3
- package/dist/Components/Tag/TagProps.d.ts +0 -1
- package/dist/Components/Timeline/Timeline.d.ts +0 -1
- package/dist/Components/Timeline/Timeline.js +205 -205
- package/dist/Components/Timeline/TimelineProps.d.ts +0 -1
- package/dist/Components/Toaster/Toaster.d.ts +0 -1
- package/dist/Components/Toaster/Toaster.js +28 -20
- package/dist/Components/Toaster/ToasterProps.d.ts +0 -1
- package/dist/Components/Toggle/TableToggle.d.ts +0 -1
- package/dist/Components/Toggle/TableToggle.js +2 -2
- package/dist/Components/Toggle/TableToggleProps.d.ts +0 -1
- package/dist/Components/ToolTip/OverflowToolTip.d.ts +0 -1
- package/dist/Components/ToolTip/ToolTip.d.ts +0 -1
- package/dist/Components/ToolTip/ToolTip.js +1 -1
- package/dist/Components/ToolTip/ToolTipProps.d.ts +0 -1
- package/dist/Components/Trail/EditableCell.d.ts +0 -1
- package/dist/Components/Trail/SelectAllCheckbox.d.ts +0 -1
- package/dist/Components/Trail/TrailWorks.d.ts +0 -1
- package/dist/Components/Trail/data.d.ts +0 -1
- package/dist/Components/UpgradeButton/UpgradeButton.d.ts +0 -1
- package/dist/Components/UpgradeButton/UpgradeButton.js +27 -9
- package/dist/Components/UpgradeButton/UpgradeButtonProps.d.ts +0 -1
- package/dist/Components/UserDetails/AddUserModal.d.ts +0 -1
- package/dist/Components/UserDetails/ChangeRoleModal.d.ts +0 -1
- package/dist/Components/UserDetails/DeactivateConfirmModal.d.ts +0 -1
- package/dist/Components/UserDetails/DeactivateConfirmModal.js +2 -2
- package/dist/Components/UserDetails/UserDetails.d.ts +0 -1
- package/dist/Components/UserDetails/UserDetails.js +19 -18
- package/dist/Components/UserDetails/UserDetailsProps.d.ts +0 -1
- package/dist/Components/WorkspaceWindow/WorkspaceTrayPreview.d.ts +0 -1
- package/dist/Components/WorkspaceWindow/WorkspaceTrayPreview.js +2 -1
- package/dist/Components/WorkspaceWindow/WorkspaceWindow.d.ts +2 -3
- package/dist/Components/WorkspaceWindow/WorkspaceWindow.js +25 -4
- package/dist/Components/WorkspaceWindow/WorkspaceWindowProps.d.ts +18 -1
- package/dist/Constants/Sidebar.d.ts +0 -1
- package/dist/Hooks/useIsTruncated.d.ts +0 -1
- package/dist/Hooks/usePreferences.d.ts +0 -1
- package/dist/Hooks/usePreferences.js +6 -1
- package/dist/Hooks/useSidebarPrefs.d.ts +0 -1
- package/dist/Theme/chakra/Avatar.styles.d.ts +32 -0
- package/dist/Theme/chakra/Avatar.styles.js +28 -0
- package/dist/Theme/chakra/Drawer.styles.d.ts +31 -0
- package/dist/Theme/chakra/Drawer.styles.js +26 -0
- package/dist/Theme/chakra/Menu.styles.d.ts +69 -0
- package/dist/Theme/chakra/Menu.styles.js +50 -0
- package/dist/Theme/chakra/Modal.styles.d.ts +31 -0
- package/dist/Theme/chakra/Modal.styles.js +26 -0
- package/dist/Theme/chakra/Popover.styles.d.ts +36 -0
- package/dist/Theme/chakra/Popover.styles.js +30 -0
- package/dist/Theme/chakra/Slider.styles.d.ts +30 -0
- package/dist/Theme/chakra/Slider.styles.js +25 -0
- package/dist/Theme/chakra/Switch.styles.d.ts +30 -0
- package/dist/Theme/chakra/Switch.styles.js +24 -0
- package/dist/Theme/chakra/Tabs.styles.d.ts +42 -0
- package/dist/Theme/chakra/Tabs.styles.js +41 -0
- package/dist/Theme/chakra/common.web.d.ts +0 -1
- package/dist/Theme/chakra/common.web.js +4 -1
- package/dist/Theme/chakra/componentStyles.d.ts +230 -2
- package/dist/Theme/chakra/componentStyles.js +136 -0
- package/dist/Theme/chakra/createBrandTheme.d.ts +0 -1
- package/dist/Theme/chakra/createBrandTheme.js +47 -0
- package/dist/Theme/chakra/fonts.web.d.ts +0 -1
- package/dist/Theme/index.d.ts +0 -1
- package/dist/Theme/index.js +25 -9
- package/dist/Theme/provider/PixelizeThemeProvider.d.ts +22 -4
- package/dist/Theme/provider/PixelizeThemeProvider.js +130 -10
- package/dist/Theme/provider/ThemeSwitcher.d.ts +0 -1
- package/dist/Theme/provider/ThemeSwitcher.js +23 -11
- package/dist/Theme/provider/colorModeStorage.d.ts +0 -1
- package/dist/Theme/provider/fontSize.d.ts +9 -0
- package/dist/Theme/provider/fontSize.js +24 -0
- package/dist/Theme/provider/index.d.ts +2 -1
- package/dist/Theme/provider/index.js +7 -1
- package/dist/Theme/provider/useThemeMode.d.ts +0 -1
- package/dist/Theme/themeProps.d.ts +0 -1
- package/dist/Theme/tokens/brands/emerald/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/emerald/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/index.d.ts +0 -1
- package/dist/Theme/tokens/brands/index.js +20 -18
- package/dist/Theme/tokens/brands/lavender/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/lavender/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/lavender/palette.light.js +22 -15
- package/dist/Theme/tokens/brands/meadow/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/meadow/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/radiant/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/radiant/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/rosewood/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/rosewood/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/skyline/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/skyline/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/slate/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/slate/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/storefront/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/storefront/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/brands/zinc/palette.dark.d.ts +0 -1
- package/dist/Theme/tokens/brands/zinc/palette.dark.js +5 -2
- package/dist/Theme/tokens/brands/zinc/palette.light.d.ts +0 -1
- package/dist/Theme/tokens/builders/accentText.d.ts +5 -1
- package/dist/Theme/tokens/builders/accentText.js +6 -1
- package/dist/Theme/tokens/builders/buildBrandTokens.d.ts +0 -1
- package/dist/Theme/tokens/builders/buildDarkPalette.d.ts +0 -1
- package/dist/Theme/tokens/builders/buildDarkPalette.js +19 -4
- package/dist/Theme/tokens/builders/chartColorsFromTheme.d.ts +23 -2
- package/dist/Theme/tokens/builders/chartColorsFromTheme.js +41 -11
- package/dist/Theme/tokens/builders/color.d.ts +0 -1
- package/dist/Theme/tokens/builders/index.d.ts +0 -1
- package/dist/Theme/tokens/builders/outlineRung.d.ts +34 -0
- package/dist/Theme/tokens/builders/outlineRung.js +69 -0
- package/dist/Theme/tokens/builders/statusTone.d.ts +34 -0
- package/dist/Theme/tokens/builders/statusTone.js +63 -0
- package/dist/Theme/tokens/index.d.ts +0 -1
- package/dist/Theme/tokens/primitives/breakpoints.d.ts +0 -1
- package/dist/Theme/tokens/primitives/index.d.ts +0 -1
- package/dist/Theme/tokens/primitives/letterSpacings.d.ts +0 -1
- package/dist/Theme/tokens/primitives/lineHeights.d.ts +0 -1
- package/dist/Theme/tokens/primitives/radii.d.ts +0 -1
- package/dist/Theme/tokens/primitives/shadows.d.ts +0 -1
- package/dist/Theme/tokens/primitives/sizes.d.ts +0 -1
- package/dist/Theme/tokens/primitives/space.d.ts +0 -1
- package/dist/Theme/tokens/primitives/typography.d.ts +0 -1
- package/dist/Theme/tokens/primitives/zIndices.d.ts +0 -1
- package/dist/Theme/tokens/types.d.ts +0 -1
- package/dist/Theme/useCustomTheme.d.ts +0 -1
- package/dist/Utils/accountHandoff.d.ts +53 -0
- package/dist/Utils/accountHandoff.js +144 -0
- package/dist/Utils/functions.d.ts +0 -1
- package/dist/Utils/mergeRefs.d.ts +0 -1
- package/dist/Utils/planBadge.d.ts +38 -0
- package/dist/Utils/planBadge.js +108 -0
- package/dist/Utils/planExpiry.d.ts +34 -0
- package/dist/Utils/planExpiry.js +115 -0
- package/dist/Utils/rafThrottle.d.ts +14 -0
- package/dist/Utils/rafThrottle.js +34 -0
- package/dist/Utils/table.d.ts +0 -1
- package/dist/Utils/table.js +16 -5
- package/dist/esm/Assets/defaultLogo.js +5 -0
- package/dist/esm/Components/Accordion/Accordion.js +34 -0
- package/dist/esm/Components/Accordion/AccordionProps.js +1 -0
- package/dist/esm/Components/Accordion/accordionColors.js +30 -0
- package/dist/esm/Components/AlertDialog/AlertDialog.js +9 -0
- package/dist/esm/Components/AlertDialog/AlertDialogProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexAreaChart/ApexAreaChart.js +66 -0
- package/dist/esm/Components/Apexcharts/ApexAreaChart/ApexAreaChartProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexBarChart/ApexBarChart.js +62 -0
- package/dist/esm/Components/Apexcharts/ApexBarChart/ApexBarChartProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexLineChart/ApexLineChart.js +153 -0
- package/dist/esm/Components/Apexcharts/ApexLineChart/ApexLineChartProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexPieChart/ApexPieChart.js +182 -0
- package/dist/esm/Components/Apexcharts/ApexPieChart/ApexPieChartProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.js +88 -0
- package/dist/esm/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.js +1 -0
- package/dist/esm/Components/Apexcharts/ApexRadialChart/ApexRadialChart.js +57 -0
- package/dist/esm/Components/Apexcharts/ApexRadialChart/ApexRadialChartProps.js +1 -0
- package/dist/esm/Components/Apexcharts/chartBase.js +69 -0
- package/dist/esm/Components/AppearanceSettings/AppearanceSettings.js +36 -0
- package/dist/esm/Components/AppearanceSettings/AppearanceSettingsProps.js +1 -0
- package/dist/esm/Components/Breadcrumbs/Breadcrumbs.js +9 -0
- package/dist/esm/Components/Breadcrumbs/BreadcrumbsProps.js +1 -0
- package/dist/esm/Components/Button/Button.js +7 -0
- package/dist/esm/Components/Button/Button.styles.js +204 -0
- package/dist/esm/Components/Button/ButtonProps.js +1 -0
- package/dist/esm/Components/ButtonGroupIcon/ButtonGoupIconProps.js +1 -0
- package/dist/esm/Components/ButtonGroupIcon/ButtonGroupIcon.js +98 -0
- package/dist/esm/Components/Buttons/Buttons.js +5 -0
- package/dist/esm/Components/Buttons/ButtonsProps.js +1 -0
- package/dist/esm/Components/Card/Card.js +5 -0
- package/dist/esm/Components/Card/CardProps.js +1 -0
- package/dist/esm/Components/Card/PaymentCard/PaymentCard.js +65 -0
- package/dist/esm/Components/Card/PaymentCard/PaymentCardProps.js +1 -0
- package/dist/esm/Components/Checkbox/Checkbox.js +28 -0
- package/dist/esm/Components/Checkbox/Checkbox.styles.js +69 -0
- package/dist/esm/Components/Checkbox/CheckboxProps.js +1 -0
- package/dist/esm/Components/Common/ErrorComponent.js +15 -0
- package/dist/esm/Components/Common/ErrorMessage.js +17 -0
- package/dist/esm/Components/Common/FormLabel.js +32 -0
- package/dist/esm/Components/Common/FormattedDescription.js +57 -0
- package/dist/esm/Components/Common/HelperText.js +17 -0
- package/dist/esm/Components/Common/Label.js +13 -0
- package/dist/esm/Components/Common/fieldStyles.js +34 -0
- package/dist/esm/Components/ContactForm/ContactForm.js +112 -0
- package/dist/esm/Components/ContactForm/ContactFormProps.js +1 -0
- package/dist/esm/Components/CopyButton/CopyButton.js +44 -0
- package/dist/esm/Components/CustomModulesTable/CustomModulesTable.js +63 -0
- package/dist/esm/Components/CustomModulesTable/CustomModulesTableProps.js +1 -0
- package/dist/esm/Components/CustomModulesTable/DeleteModuleModal.js +11 -0
- package/dist/esm/Components/CustomModulesTable/EditModuleModal.js +20 -0
- package/dist/esm/Components/DatePicker/CalendarPanel.js +133 -0
- package/dist/esm/Components/DatePicker/DatePicker.js +252 -0
- package/dist/esm/Components/DatePicker/DatePickerProps.js +1 -0
- package/dist/esm/Components/DatePicker/RangeDatePicker.js +206 -0
- package/dist/esm/Components/DatePicker/SingleDatePicker.js +972 -0
- package/dist/esm/Components/DatePicker/ThemeDatePicker.js +27 -0
- package/dist/esm/Components/DatePicker/TimeOnlyPicker.js +78 -0
- package/dist/esm/Components/DatePicker/TimePicker.js +70 -0
- package/dist/esm/Components/DatePicker/TimePickerInput.js +412 -0
- package/dist/esm/Components/Divider/Divider.js +9 -0
- package/dist/esm/Components/Drawer/Drawer.js +24 -0
- package/dist/esm/Components/Drawer/DrawerProps.js +1 -0
- package/dist/esm/Components/Dropdown/DropDown.js +249 -0
- package/dist/esm/Components/Dropdown/DropdownProps.js +1 -0
- package/dist/esm/Components/Editor/Editor.js +44 -0
- package/dist/esm/Components/Editor/EditorProps.js +1 -0
- package/dist/esm/Components/Editor/joditThemeVars.js +75 -0
- package/dist/esm/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +15 -0
- package/dist/esm/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.js +1 -0
- package/dist/esm/Components/EmptyState/EmptyState.js +40 -0
- package/dist/esm/Components/EmptyState/EmptyStateProps.js +1 -0
- package/dist/esm/Components/FeedbackForm/FeedbackForm.js +65 -0
- package/dist/esm/Components/FieldSelectModal/FieldSelectModal.js +33 -0
- package/dist/esm/Components/FilePreview/FilePreview.js +76 -0
- package/dist/esm/Components/FilePreview/FilePreviewProps.js +1 -0
- package/dist/esm/Components/FileUpload/FileUpload.js +82 -0
- package/dist/esm/Components/FileUpload/FileUploadProps.js +1 -0
- package/dist/esm/Components/FileUpload/constants.js +24 -0
- package/dist/esm/Components/FileUploader/FileUploader.js +78 -0
- package/dist/esm/Components/FileUploader/FileUploaderProps.js +1 -0
- package/dist/esm/Components/FilterSidebar/FilterSidebar.js +258 -0
- package/dist/esm/Components/FilterSidebar/filterHoverStyle.js +10 -0
- package/dist/esm/Components/Form/FormWrapper.js +9 -0
- package/dist/esm/Components/Header/Header.js +55 -0
- package/dist/esm/Components/Header/HeaderActions.js +24 -0
- package/dist/esm/Components/Header/HeaderProps.js +1 -0
- package/dist/esm/Components/Header/components/desktopMenu.js +43 -0
- package/dist/esm/Components/Header/components/mobileMenu.js +37 -0
- package/dist/esm/Components/Input/Input/Input.js +40 -0
- package/dist/esm/Components/Input/Input/InputProps.js +1 -0
- package/dist/esm/Components/Input/PhoneNumberInput.js +62 -0
- package/dist/esm/Components/Input/PhoneNumberInputProps.js +1 -0
- package/dist/esm/Components/Input/Switch/InputSwitch.js +21 -0
- package/dist/esm/Components/Input/TextInput.js +16 -0
- package/dist/esm/Components/Input/TextInput.styles.js +101 -0
- package/dist/esm/Components/Input/TextInputProps.js +1 -0
- package/dist/esm/Components/Input/textInputIconSize.js +36 -0
- package/dist/esm/Components/InputTextArea/InputTextArea.js +10 -0
- package/dist/esm/Components/InputTextArea/InputTextArea.style.js +77 -0
- package/dist/esm/Components/InputTextArea/InputTextAreaProps.js +1 -0
- package/dist/esm/Components/KanbanBoard/AccountCard.js +22 -0
- package/dist/esm/Components/KanbanBoard/AccountRow.js +10 -0
- package/dist/esm/Components/KanbanBoard/KanbanActions/KanbanActions.js +13 -0
- package/dist/esm/Components/KanbanBoard/KanbanBoard.js +453 -0
- package/dist/esm/Components/KanbanBoard/KanbanBoardProps.js +1 -0
- package/dist/esm/Components/KanbanBoard/MeasuredItem.js +54 -0
- package/dist/esm/Components/LazyWrapper/LazyWrapper.js +10 -0
- package/dist/esm/Components/LimitReachedModal/LimitReachedModal.js +40 -0
- package/dist/esm/Components/LimitReachedModal/LimitReachedModalProps.js +1 -0
- package/dist/esm/Components/LimitReachedModal/limitReachedCopy.js +50 -0
- package/dist/esm/Components/Loading/Loading.js +24 -0
- package/dist/esm/Components/Loading/LoadingProps.js +1 -0
- package/dist/esm/Components/Modal/Modal.js +30 -0
- package/dist/esm/Components/Modal/ModalProps.js +1 -0
- package/dist/esm/Components/MoreItems/MoreItems.js +22 -0
- package/dist/esm/Components/MoreItems/MoreItemsProps.js +1 -0
- package/dist/esm/Components/MultiSelect/MultiSelect.js +70 -0
- package/dist/esm/Components/MultiSelect/MultiSelectProps.js +1 -0
- package/dist/esm/Components/NavigationBar/NavigationBar.js +61 -0
- package/dist/esm/Components/NavigationBar/NavigationBarProps.js +1 -0
- package/dist/esm/Components/NoteTextArea/NoteTextArea.js +142 -0
- package/dist/esm/Components/NoteTextArea/NoteTextAreaProps.js +1 -0
- package/dist/esm/Components/Notification/Notification.js +106 -0
- package/dist/esm/Components/Notification/NotificationProps.js +1 -0
- package/dist/esm/Components/NumberInput/NumberInput.js +8 -0
- package/dist/esm/Components/NumberInput/NumberInput.styles.js +85 -0
- package/dist/esm/Components/NumberInput/NumberInputProps.js +1 -0
- package/dist/esm/Components/OrgSwitcher/OrgSwitcher.js +115 -0
- package/dist/esm/Components/OrgSwitcher/OrgSwitcherProps.js +29 -0
- package/dist/esm/Components/OrganizationDetails/CreateOrgModal.js +57 -0
- package/dist/esm/Components/OrganizationDetails/DeleteOrgModal.js +11 -0
- package/dist/esm/Components/OrganizationDetails/OrganizationDetails.js +165 -0
- package/dist/esm/Components/OrganizationDetails/OrganizationDetailsProps.js +1 -0
- package/dist/esm/Components/PdfViewer/PdfViewer.js +10 -0
- package/dist/esm/Components/PinInput/PinInput.js +15 -0
- package/dist/esm/Components/PinInput/PinInputProps.js +1 -0
- package/dist/esm/Components/PinInputs/PinInputs.js +48 -0
- package/dist/esm/Components/PinInputs/PinInputsProps.js +1 -0
- package/dist/esm/Components/PlanBadge/PlanBadge.js +17 -0
- package/dist/esm/Components/PlanBadge/PlanBadgeProps.js +1 -0
- package/dist/esm/Components/PlanPill/PlanPill.js +40 -0
- package/dist/esm/Components/PlanPill/PlanPillProps.js +1 -0
- package/dist/esm/Components/PlanPill/planPillGradient.js +17 -0
- package/dist/esm/Components/ProductCard/ProductCard.js +62 -0
- package/dist/esm/Components/ProductCard/ProductCardProps.js +1 -0
- package/dist/esm/Components/ProductCard/ProductLabel.js +18 -0
- package/dist/esm/Components/ProductCard/ProductPrice.js +110 -0
- package/dist/esm/Components/ProductCard/ProductReview.js +19 -0
- package/dist/esm/Components/ProductCard/ProductTags.js +48 -0
- package/dist/esm/Components/ProductDetails/ProductDetails.js +40 -0
- package/dist/esm/Components/ProductDetails/ProductDetailsProps.js +1 -0
- package/dist/esm/Components/ProductDetails/ProductDtlPrice.js +22 -0
- package/dist/esm/Components/ProductDetails/ProductImageSlider.js +188 -0
- package/dist/esm/Components/ProfileCard/ProfileCard.js +34 -0
- package/dist/esm/Components/ProfileCard/ProfileCardProps.js +1 -0
- package/dist/esm/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +71 -0
- package/dist/esm/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.js +1 -0
- package/dist/esm/Components/ProgressBar/ProgressBar.js +6 -0
- package/dist/esm/Components/ProgressBar/ProgressBarProps.js +1 -0
- package/dist/esm/Components/RadioButton/RadioButton.js +25 -0
- package/dist/esm/Components/RadioButton/RadioButtonProps.js +1 -0
- package/dist/esm/Components/Reorder/Reorder.js +22 -0
- package/dist/esm/Components/Reorder/ReorderProps.js +1 -0
- package/dist/esm/Components/RolesPermission/DeleteRoleModal.js +13 -0
- package/dist/esm/Components/RolesPermission/RolesPermission.js +121 -0
- package/dist/esm/Components/RolesPermission/RolesPermissionProps.js +1 -0
- package/dist/esm/Components/ScrollToTop/ScrollToTop.js +67 -0
- package/dist/esm/Components/Search/Search.js +29 -0
- package/dist/esm/Components/Search/SearchProps.js +1 -0
- package/dist/esm/Components/SearchSelect/SearchSelect.js +518 -0
- package/dist/esm/Components/SearchSelect/SearchSelectProps.js +1 -0
- package/dist/esm/Components/SearchSelect/SelectTruncatedLabel.js +17 -0
- package/dist/esm/Components/SearchSelect/searchSelectSize.js +93 -0
- package/dist/esm/Components/Select/Select.js +24 -0
- package/dist/esm/Components/Select/Select.styles.js +108 -0
- package/dist/esm/Components/Select/SelectProps.js +1 -0
- package/dist/esm/Components/SelectSearch/SelectSearch.js +270 -0
- package/dist/esm/Components/SelectSearch/SelectSearchProps.js +1 -0
- package/dist/esm/Components/SelectV2/SelectV2.js +231 -0
- package/dist/esm/Components/SelectV2/SelectV2Props.js +1 -0
- package/dist/esm/Components/SideBar/SecondaryBar.js +67 -0
- package/dist/esm/Components/SideBar/SideBar.js +237 -0
- package/dist/esm/Components/SideBar/SideBarProps.js +1 -0
- package/dist/esm/Components/SideBar/components/MenuItemBox.js +132 -0
- package/dist/esm/Components/SideBar/components/MenuItems.js +114 -0
- package/dist/esm/Components/SideBar/components/MenuPopoverContent.js +54 -0
- package/dist/esm/Components/SideBar/components/OtherApps.js +20 -0
- package/dist/esm/Components/SideBar/components/OverflowTooltipText.js +29 -0
- package/dist/esm/Components/SideBar/components/TextTruncation.js +27 -0
- package/dist/esm/Components/SideBar/sidebarAccentColors.js +31 -0
- package/dist/esm/Components/SignInActivityTable/SignInActivityTable.js +34 -0
- package/dist/esm/Components/SignInActivityTable/SignInActivityTableProps.js +1 -0
- package/dist/esm/Components/Skeletons/SkeletonProps.js +1 -0
- package/dist/esm/Components/Skeletons/Skeletons.js +5 -0
- package/dist/esm/Components/Slider/Slider.js +41 -0
- package/dist/esm/Components/StageProgress/StageItem.js +86 -0
- package/dist/esm/Components/StageProgress/StageProgress.js +47 -0
- package/dist/esm/Components/StageProgress/StageProgressProps.js +29 -0
- package/dist/esm/Components/StageProgress/StepperStage.js +38 -0
- package/dist/esm/Components/Switch/Switch.js +11 -0
- package/dist/esm/Components/Switch/SwitchProps.js +1 -0
- package/dist/esm/Components/Table/Table.js +430 -0
- package/dist/esm/Components/Table/TableProps.js +1 -0
- package/dist/esm/Components/Table/components/HeaderActions.js +47 -0
- package/dist/esm/Components/Table/components/Pagination.js +19 -0
- package/dist/esm/Components/Table/components/TableActions.js +55 -0
- package/dist/esm/Components/Table/components/TableBody.js +337 -0
- package/dist/esm/Components/Table/components/TableGroupRow.js +11 -0
- package/dist/esm/Components/Table/components/TableHeader.js +100 -0
- package/dist/esm/Components/Table/components/TableLoading.js +11 -0
- package/dist/esm/Components/Table/components/TableSearch.js +31 -0
- package/dist/esm/Components/Table/components/tableRowHoverStyle.js +22 -0
- package/dist/esm/Components/Table/filterTypes.js +1 -0
- package/dist/esm/Components/Table/filters/ActiveFilters.js +63 -0
- package/dist/esm/Components/Table/filters/CompactSelect.js +55 -0
- package/dist/esm/Components/Table/filters/LeftFilterPane.js +174 -0
- package/dist/esm/Components/Table/filters/SelectOperationControls.js +5 -0
- package/dist/esm/Components/Table/filters/TableFilters.js +45 -0
- package/dist/esm/Components/Table/filters/TextOperationControls.js +16 -0
- package/dist/esm/Components/Table/hooks/useDebounce.js +22 -0
- package/dist/esm/Components/Table/hooks/useTable.js +227 -0
- package/dist/esm/Components/Table/settings/ManageColumns.js +105 -0
- package/dist/esm/Components/Table/settings/TableSettings.js +82 -0
- package/dist/esm/Components/Tag/Tag.js +18 -0
- package/dist/esm/Components/Tag/Tag.styles.js +91 -0
- package/dist/esm/Components/Tag/TagProps.js +1 -0
- package/dist/esm/Components/Timeline/Timeline.js +250 -0
- package/dist/esm/Components/Timeline/TimelineProps.js +1 -0
- package/dist/esm/Components/Toaster/Toaster.js +120 -0
- package/dist/esm/Components/Toaster/ToasterProps.js +1 -0
- package/dist/esm/Components/Toggle/TableToggle.js +39 -0
- package/dist/esm/Components/Toggle/TableToggleProps.js +1 -0
- package/dist/esm/Components/ToolTip/OverflowToolTip.js +20 -0
- package/dist/esm/Components/ToolTip/ToolTip.js +35 -0
- package/dist/esm/Components/ToolTip/ToolTipProps.js +1 -0
- package/dist/esm/Components/Trail/EditableCell.js +27 -0
- package/dist/esm/Components/Trail/SelectAllCheckbox.js +5 -0
- package/dist/esm/Components/Trail/TrailWorks.js +54 -0
- package/dist/esm/Components/Trail/data.js +26 -0
- package/dist/esm/Components/UpgradeButton/UpgradeButton.js +79 -0
- package/dist/esm/Components/UpgradeButton/UpgradeButtonProps.js +1 -0
- package/dist/esm/Components/UserDetails/AddUserModal.js +101 -0
- package/dist/esm/Components/UserDetails/ChangeRoleModal.js +56 -0
- package/dist/esm/Components/UserDetails/DeactivateConfirmModal.js +14 -0
- package/dist/esm/Components/UserDetails/UserDetails.js +107 -0
- package/dist/esm/Components/UserDetails/UserDetailsProps.js +1 -0
- package/dist/esm/Components/WorkspaceWindow/WorkspaceTrayPreview.js +83 -0
- package/dist/esm/Components/WorkspaceWindow/WorkspaceWindow.js +61 -0
- package/dist/esm/Components/WorkspaceWindow/WorkspaceWindowProps.js +1 -0
- package/dist/esm/Constants/Sidebar.js +39 -0
- package/dist/esm/Hooks/useIsTruncated.js +54 -0
- package/dist/esm/Hooks/usePreferences.js +74 -0
- package/dist/esm/Hooks/useSidebarPrefs.js +68 -0
- package/dist/esm/Theme/chakra/Avatar.styles.js +25 -0
- package/dist/esm/Theme/chakra/Drawer.styles.js +23 -0
- package/dist/esm/Theme/chakra/Menu.styles.js +47 -0
- package/dist/esm/Theme/chakra/Modal.styles.js +23 -0
- package/dist/esm/Theme/chakra/Popover.styles.js +27 -0
- package/dist/esm/Theme/chakra/Slider.styles.js +22 -0
- package/dist/esm/Theme/chakra/Switch.styles.js +21 -0
- package/dist/esm/Theme/chakra/Tabs.styles.js +38 -0
- package/dist/esm/Theme/chakra/common.web.js +22 -0
- package/dist/esm/Theme/chakra/componentStyles.js +221 -0
- package/dist/esm/Theme/chakra/createBrandTheme.js +118 -0
- package/dist/esm/Theme/chakra/fonts.web.js +10 -0
- package/dist/esm/Theme/index.js +63 -0
- package/dist/esm/Theme/provider/PixelizeThemeProvider.js +204 -0
- package/dist/esm/Theme/provider/ThemeSwitcher.js +107 -0
- package/dist/esm/Theme/provider/colorModeStorage.js +99 -0
- package/dist/esm/Theme/provider/fontSize.js +18 -0
- package/dist/esm/Theme/provider/index.js +4 -0
- package/dist/esm/Theme/provider/useThemeMode.js +9 -0
- package/dist/esm/Theme/themeProps.js +1 -0
- package/dist/esm/Theme/tokens/brands/emerald/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/emerald/palette.light.js +130 -0
- package/dist/esm/Theme/tokens/brands/index.js +73 -0
- package/dist/esm/Theme/tokens/brands/lavender/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/lavender/palette.light.js +321 -0
- package/dist/esm/Theme/tokens/brands/meadow/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/meadow/palette.light.js +128 -0
- package/dist/esm/Theme/tokens/brands/radiant/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/radiant/palette.light.js +130 -0
- package/dist/esm/Theme/tokens/brands/rosewood/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/rosewood/palette.light.js +134 -0
- package/dist/esm/Theme/tokens/brands/skyline/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/skyline/palette.light.js +128 -0
- package/dist/esm/Theme/tokens/brands/slate/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/slate/palette.light.js +132 -0
- package/dist/esm/Theme/tokens/brands/storefront/palette.dark.js +8 -0
- package/dist/esm/Theme/tokens/brands/storefront/palette.light.js +122 -0
- package/dist/esm/Theme/tokens/brands/zinc/palette.dark.js +202 -0
- package/dist/esm/Theme/tokens/brands/zinc/palette.light.js +381 -0
- package/dist/esm/Theme/tokens/builders/accentText.js +88 -0
- package/dist/esm/Theme/tokens/builders/buildBrandTokens.js +28 -0
- package/dist/esm/Theme/tokens/builders/buildDarkPalette.js +289 -0
- package/dist/esm/Theme/tokens/builders/chartColorsFromTheme.js +46 -0
- package/dist/esm/Theme/tokens/builders/color.js +141 -0
- package/dist/esm/Theme/tokens/builders/index.js +5 -0
- package/dist/esm/Theme/tokens/builders/outlineRung.js +63 -0
- package/dist/esm/Theme/tokens/builders/statusTone.js +56 -0
- package/dist/esm/Theme/tokens/index.js +14 -0
- package/dist/esm/Theme/tokens/primitives/breakpoints.js +8 -0
- package/dist/esm/Theme/tokens/primitives/index.js +9 -0
- package/dist/esm/Theme/tokens/primitives/letterSpacings.js +9 -0
- package/dist/esm/Theme/tokens/primitives/lineHeights.js +18 -0
- package/dist/esm/Theme/tokens/primitives/radii.js +12 -0
- package/dist/esm/Theme/tokens/primitives/shadows.js +15 -0
- package/dist/esm/Theme/tokens/primitives/sizes.js +34 -0
- package/dist/esm/Theme/tokens/primitives/space.js +33 -0
- package/dist/esm/Theme/tokens/primitives/typography.js +40 -0
- package/dist/esm/Theme/tokens/primitives/zIndices.js +16 -0
- package/dist/esm/Theme/tokens/types.js +7 -0
- package/dist/esm/Theme/useCustomTheme.js +4 -0
- package/dist/esm/Utils/accountHandoff.js +139 -0
- package/dist/esm/Utils/functions.js +7 -0
- package/dist/esm/Utils/mergeRefs.js +16 -0
- package/dist/esm/Utils/planBadge.js +105 -0
- package/dist/esm/Utils/planExpiry.js +109 -0
- package/dist/esm/Utils/rafThrottle.js +30 -0
- package/dist/esm/Utils/table.js +321 -0
- package/dist/esm/index.js +136 -0
- package/dist/esm/package.json +7 -0
- package/dist/esm/services/feedback.js +15 -0
- package/dist/esm/withTheme.js +9 -0
- package/dist/index.d.ts +57 -4
- package/dist/index.js +48 -3
- package/dist/services/feedback.d.ts +0 -1
- package/dist/withTheme.d.ts +0 -1
- package/package.json +41 -7
- package/.claude/settings.local.json +0 -51
- package/.cursor/TASK-SETUP.md +0 -43
- package/.cursor/agents/be-impl.md +0 -37
- package/.cursor/agents/fe-impl.md +0 -39
- package/.cursor/agents/task-plan.md +0 -56
- package/.cursor/agents/test-create.md +0 -31
- package/.cursor/agents/test-exec.md +0 -26
- package/.cursor/hooks/task-hint.env +0 -1
- package/.cursor/hooks/task-skill-nudge.sh +0 -71
- package/.cursor/hooks/task-slash-guard.sh +0 -31
- package/.cursor/hooks.json +0 -13
- package/.cursor/modules/account-management/MODULE.md +0 -34
- package/.cursor/modules/buttons/MODULE.md +0 -47
- package/.cursor/modules/cards/MODULE.md +0 -55
- package/.cursor/modules/charts/MODULE.md +0 -40
- package/.cursor/modules/common/MODULE.md +0 -36
- package/.cursor/modules/contact-auth/MODULE.md +0 -19
- package/.cursor/modules/data-display/MODULE.md +0 -42
- package/.cursor/modules/feedback/MODULE.md +0 -32
- package/.cursor/modules/form/MODULE.md +0 -13
- package/.cursor/modules/inputs-basic/MODULE.md +0 -42
- package/.cursor/modules/inputs-date-file/MODULE.md +0 -56
- package/.cursor/modules/inputs-select/MODULE.md +0 -27
- package/.cursor/modules/inputs-toggle/MODULE.md +0 -18
- package/.cursor/modules/kanban/MODULE.md +0 -22
- package/.cursor/modules/layout-navigation/MODULE.md +0 -269
- package/.cursor/modules/overlays/MODULE.md +0 -69
- package/.cursor/modules/playground/MODULE.md +0 -28
- package/.cursor/modules/table/MODULE.md +0 -78
- package/.cursor/modules/theme/MODULE.md +0 -314
- package/.cursor/modules/types-exports/MODULE.md +0 -17
- package/.cursor/modules/utility-ui/MODULE.md +0 -50
- package/.cursor/modules/utils-hooks/MODULE.md +0 -35
- package/.cursor/pixelize-task-statusline.sh +0 -64
- package/.cursor/plans/blocked/.gitkeep +0 -0
- package/.cursor/plans/current.md +0 -12
- package/.cursor/plans/current.theme-tokens-dark-mode.md +0 -77
- package/.cursor/plans/current.theme-tokens-dark.md +0 -155
- package/.cursor/plans/done/.gitkeep +0 -0
- package/.cursor/rules +0 -31
- package/.cursor/skills/task/SKILL.md +0 -167
- package/CLAUDE.md +0 -148
- package/__mocks__/styleMock.js +0 -8
- package/coverage/clover.xml +0 -405
- package/coverage/coverage-final.json +0 -16
- package/coverage/coverage-summary.json +0 -50
- package/coverage/lcov-report/Button/Button.tsx.html +0 -244
- package/coverage/lcov-report/Button/index.html +0 -116
- package/coverage/lcov-report/Checkbox/Checkbox.tsx.html +0 -433
- package/coverage/lcov-report/Checkbox/index.html +0 -116
- package/coverage/lcov-report/Common/ErrorMessage.tsx.html +0 -148
- package/coverage/lcov-report/Common/FormLabel.tsx.html +0 -331
- package/coverage/lcov-report/Common/HelperText.tsx.html +0 -124
- package/coverage/lcov-report/Common/index.html +0 -146
- package/coverage/lcov-report/Components/Button/Button.tsx.html +0 -244
- package/coverage/lcov-report/Components/Button/index.html +0 -116
- package/coverage/lcov-report/Components/Checkbox/Checkbox.tsx.html +0 -433
- package/coverage/lcov-report/Components/Checkbox/index.html +0 -116
- package/coverage/lcov-report/Components/Common/ErrorMessage.tsx.html +0 -148
- package/coverage/lcov-report/Components/Common/FormLabel.tsx.html +0 -331
- package/coverage/lcov-report/Components/Common/HelperText.tsx.html +0 -124
- package/coverage/lcov-report/Components/Common/index.html +0 -146
- package/coverage/lcov-report/Components/CustomModulesTable/CustomModulesTable.tsx.html +0 -712
- package/coverage/lcov-report/Components/CustomModulesTable/DeleteModuleModal.tsx.html +0 -343
- package/coverage/lcov-report/Components/CustomModulesTable/EditModuleModal.tsx.html +0 -313
- package/coverage/lcov-report/Components/CustomModulesTable/index.html +0 -146
- package/coverage/lcov-report/Components/Divider/Divider.tsx.html +0 -133
- package/coverage/lcov-report/Components/Divider/index.html +0 -116
- package/coverage/lcov-report/Components/Dropdown/DropDown.tsx.html +0 -994
- package/coverage/lcov-report/Components/Dropdown/index.html +0 -116
- package/coverage/lcov-report/Components/EmptyState/EmptyState.tsx.html +0 -466
- package/coverage/lcov-report/Components/EmptyState/index.html +0 -116
- package/coverage/lcov-report/Components/Header/HeaderActions.tsx.html +0 -373
- package/coverage/lcov-report/Components/Header/index.html +0 -116
- package/coverage/lcov-report/Components/Input/TextInput.tsx.html +0 -487
- package/coverage/lcov-report/Components/Input/index.html +0 -116
- package/coverage/lcov-report/Components/Input/textInputIconSize.ts.html +0 -205
- package/coverage/lcov-report/Components/KanbanBoard/AccountCard.tsx.html +0 -547
- package/coverage/lcov-report/Components/KanbanBoard/AccountRow.tsx.html +0 -190
- package/coverage/lcov-report/Components/KanbanBoard/KanbanActions/KanbanActions.tsx.html +0 -247
- package/coverage/lcov-report/Components/KanbanBoard/KanbanActions/index.html +0 -116
- package/coverage/lcov-report/Components/KanbanBoard/KanbanBoard.tsx.html +0 -3598
- package/coverage/lcov-report/Components/KanbanBoard/MeasuredItem.tsx.html +0 -283
- package/coverage/lcov-report/Components/KanbanBoard/index.html +0 -161
- package/coverage/lcov-report/Components/OrganizationDetails/CreateOrgModal.tsx.html +0 -511
- package/coverage/lcov-report/Components/OrganizationDetails/DeleteOrgModal.tsx.html +0 -334
- package/coverage/lcov-report/Components/OrganizationDetails/OrganizationDetails.tsx.html +0 -1519
- package/coverage/lcov-report/Components/OrganizationDetails/index.html +0 -146
- package/coverage/lcov-report/Components/RolesPermission/DeleteRoleModal.tsx.html +0 -328
- package/coverage/lcov-report/Components/RolesPermission/RolesPermission.tsx.html +0 -1732
- package/coverage/lcov-report/Components/RolesPermission/index.html +0 -131
- package/coverage/lcov-report/Components/SearchSelect/SearchSelect.tsx.html +0 -2575
- package/coverage/lcov-report/Components/SearchSelect/SelectTruncatedLabel.tsx.html +0 -202
- package/coverage/lcov-report/Components/SearchSelect/index.html +0 -146
- package/coverage/lcov-report/Components/SearchSelect/searchSelectSize.ts.html +0 -496
- package/coverage/lcov-report/Components/Select/Select.tsx.html +0 -361
- package/coverage/lcov-report/Components/Select/index.html +0 -116
- package/coverage/lcov-report/Components/SideBar/components/OtherApps.tsx.html +0 -562
- package/coverage/lcov-report/Components/SideBar/components/OverflowTooltipText.tsx.html +0 -346
- package/coverage/lcov-report/Components/SideBar/components/index.html +0 -116
- package/coverage/lcov-report/Components/SignInActivityTable/SignInActivityTable.tsx.html +0 -490
- package/coverage/lcov-report/Components/SignInActivityTable/index.html +0 -116
- package/coverage/lcov-report/Components/Table/components/TableActions.tsx.html +0 -595
- package/coverage/lcov-report/Components/Table/components/TableBody.tsx.html +0 -2212
- package/coverage/lcov-report/Components/Table/components/TableGroupRow.tsx.html +0 -358
- package/coverage/lcov-report/Components/Table/components/TableLoading.tsx.html +0 -358
- package/coverage/lcov-report/Components/Table/components/index.html +0 -161
- package/coverage/lcov-report/Components/Table/settings/ManageColumns.tsx.html +0 -856
- package/coverage/lcov-report/Components/Table/settings/index.html +0 -116
- package/coverage/lcov-report/Components/Tag/Tag.styles.tsx.html +0 -331
- package/coverage/lcov-report/Components/Tag/Tag.tsx.html +0 -256
- package/coverage/lcov-report/Components/Tag/index.html +0 -131
- package/coverage/lcov-report/Components/ToolTip/ToolTip.tsx.html +0 -286
- package/coverage/lcov-report/Components/ToolTip/index.html +0 -116
- package/coverage/lcov-report/Components/UserDetails/AddUserModal.tsx.html +0 -709
- package/coverage/lcov-report/Components/UserDetails/ChangeRoleModal.tsx.html +0 -505
- package/coverage/lcov-report/Components/UserDetails/DeactivateConfirmModal.tsx.html +0 -379
- package/coverage/lcov-report/Components/UserDetails/UserDetails.tsx.html +0 -1900
- package/coverage/lcov-report/Components/UserDetails/index.html +0 -161
- package/coverage/lcov-report/EmptyState/EmptyState.tsx.html +0 -466
- package/coverage/lcov-report/EmptyState/index.html +0 -116
- package/coverage/lcov-report/Hooks/index.html +0 -116
- package/coverage/lcov-report/Hooks/usePreferences.ts.html +0 -421
- package/coverage/lcov-report/Input/TextInput.tsx.html +0 -487
- package/coverage/lcov-report/Input/index.html +0 -131
- package/coverage/lcov-report/Input/textInputIconSize.ts.html +0 -205
- package/coverage/lcov-report/KanbanBoard.tsx.html +0 -3481
- package/coverage/lcov-report/OrganizationDetails/CreateOrgModal.tsx.html +0 -511
- package/coverage/lcov-report/OrganizationDetails/DeleteOrgModal.tsx.html +0 -334
- package/coverage/lcov-report/OrganizationDetails/OrganizationDetails.tsx.html +0 -1519
- package/coverage/lcov-report/OrganizationDetails/index.html +0 -146
- package/coverage/lcov-report/RolesPermission/DeleteRoleModal.tsx.html +0 -328
- package/coverage/lcov-report/RolesPermission/RolesPermission.tsx.html +0 -1732
- package/coverage/lcov-report/RolesPermission/index.html +0 -116
- package/coverage/lcov-report/SearchSelect/SearchSelect.tsx.html +0 -2575
- package/coverage/lcov-report/SearchSelect/SelectTruncatedLabel.tsx.html +0 -202
- package/coverage/lcov-report/SearchSelect/index.html +0 -146
- package/coverage/lcov-report/SearchSelect/searchSelectSize.ts.html +0 -496
- package/coverage/lcov-report/Table/CompactSelect.tsx.html +0 -379
- package/coverage/lcov-report/Table/Components/ActiveFilters.tsx.html +0 -514
- package/coverage/lcov-report/Table/Components/HeaderActions.tsx.html +0 -373
- package/coverage/lcov-report/Table/Components/Pagination.tsx.html +0 -574
- package/coverage/lcov-report/Table/Components/TableActions.tsx.html +0 -574
- package/coverage/lcov-report/Table/Components/TableBody.tsx.html +0 -1027
- package/coverage/lcov-report/Table/Components/TableFilters.tsx.html +0 -397
- package/coverage/lcov-report/Table/Components/TableHeader.tsx.html +0 -1060
- package/coverage/lcov-report/Table/Components/TableLoading.tsx.html +0 -361
- package/coverage/lcov-report/Table/Components/TableSearch.tsx.html +0 -337
- package/coverage/lcov-report/Table/Components/index.html +0 -266
- package/coverage/lcov-report/Table/Components/useDebounce.ts.html +0 -178
- package/coverage/lcov-report/Table/Components/useTable.ts.html +0 -778
- package/coverage/lcov-report/Table/LeftFilterPane.tsx.html +0 -1810
- package/coverage/lcov-report/Table/SelectOperationControls.tsx.html +0 -178
- package/coverage/lcov-report/Table/Table.tsx.html +0 -1567
- package/coverage/lcov-report/Table/TableProps.tsx.html +0 -658
- package/coverage/lcov-report/Table/TableSettings/ManageColumns.tsx.html +0 -619
- package/coverage/lcov-report/Table/TableSettings/TableFilters.tsx.html +0 -229
- package/coverage/lcov-report/Table/TableSettings/TableSettings.tsx.html +0 -532
- package/coverage/lcov-report/Table/TableSettings/index.html +0 -146
- package/coverage/lcov-report/Table/TableToDo.tsx.html +0 -973
- package/coverage/lcov-report/Table/TextOperationControls.tsx.html +0 -271
- package/coverage/lcov-report/Table/filterTypes.ts.html +0 -97
- package/coverage/lcov-report/Table/index.html +0 -176
- package/coverage/lcov-report/Table/settings/ManageColumns.tsx.html +0 -856
- package/coverage/lcov-report/Table/settings/index.html +0 -116
- package/coverage/lcov-report/Tag/Tag.tsx.html +0 -256
- package/coverage/lcov-report/Tag/index.html +0 -116
- package/coverage/lcov-report/Theme/buildBrandTokens.ts.html +0 -175
- package/coverage/lcov-report/Theme/chartColorsFromTheme.ts.html +0 -214
- package/coverage/lcov-report/Theme/index.html +0 -131
- package/coverage/lcov-report/Theme/useCustomTheme.ts.html +0 -100
- package/coverage/lcov-report/ToolTip/ToolTip.tsx.html +0 -286
- package/coverage/lcov-report/ToolTip/index.html +0 -116
- package/coverage/lcov-report/UserDetails/AddUserModal.tsx.html +0 -709
- package/coverage/lcov-report/UserDetails/ChangeRoleModal.tsx.html +0 -505
- package/coverage/lcov-report/UserDetails/index.html +0 -116
- package/coverage/lcov-report/Utils/functions.ts.html +0 -106
- package/coverage/lcov-report/Utils/index.html +0 -116
- package/coverage/lcov-report/Utils/table.ts.html +0 -1189
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -251
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov.info +0 -981
- package/dist/App.d.ts.map +0 -1
- package/dist/Assets/defaultLogo.d.ts.map +0 -1
- package/dist/Components/Accordion/Accordion.d.ts.map +0 -1
- package/dist/Components/Accordion/AccordionProps.d.ts.map +0 -1
- package/dist/Components/Accordion/accordionColors.d.ts.map +0 -1
- package/dist/Components/AlertDialog/AlertDialog.d.ts.map +0 -1
- package/dist/Components/AlertDialog/AlertDialogProps.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChartProps.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.d.ts.map +0 -1
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.d.ts.map +0 -1
- package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -2
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.js +0 -6
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts.map +0 -1
- package/dist/Components/Button/Button.d.ts.map +0 -1
- package/dist/Components/Button/Button.stories.d.ts +0 -2
- package/dist/Components/Button/Button.stories.d.ts.map +0 -1
- package/dist/Components/Button/Button.stories.js +0 -6
- package/dist/Components/Button/Button.styles.d.ts.map +0 -1
- package/dist/Components/Button/ButtonProps.d.ts.map +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts.map +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts.map +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts +0 -2
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts.map +0 -1
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.js +0 -6
- package/dist/Components/Buttons/Buttons.d.ts.map +0 -1
- package/dist/Components/Buttons/ButtonsProps.d.ts.map +0 -1
- package/dist/Components/Card/Card.d.ts.map +0 -1
- package/dist/Components/Card/CardProps.d.ts.map +0 -1
- package/dist/Components/Card/PaymentCard/PaymentCard.d.ts.map +0 -1
- package/dist/Components/Card/PaymentCard/PaymentCardProps.d.ts.map +0 -1
- package/dist/Components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/Components/Checkbox/Checkbox.stories.d.ts +0 -2
- package/dist/Components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/dist/Components/Checkbox/Checkbox.stories.js +0 -7
- package/dist/Components/Checkbox/Checkbox.styles.d.ts.map +0 -1
- package/dist/Components/Checkbox/CheckboxProps.d.ts.map +0 -1
- package/dist/Components/Common/ErrorComponent.d.ts.map +0 -1
- package/dist/Components/Common/ErrorMessage.d.ts.map +0 -1
- package/dist/Components/Common/FormLabel.d.ts.map +0 -1
- package/dist/Components/Common/FormattedDescription.d.ts.map +0 -1
- package/dist/Components/Common/HelperText.d.ts.map +0 -1
- package/dist/Components/Common/Label.d.ts.map +0 -1
- package/dist/Components/Common/fieldStyles.d.ts.map +0 -1
- package/dist/Components/ContactForm/ContactForm.d.ts.map +0 -1
- package/dist/Components/ContactForm/ContactFormProps.d.ts.map +0 -1
- package/dist/Components/CopyButton/CopyButton.d.ts.map +0 -1
- package/dist/Components/CustomModulesTable/CustomModulesTable.d.ts.map +0 -1
- package/dist/Components/CustomModulesTable/CustomModulesTableProps.d.ts.map +0 -1
- package/dist/Components/CustomModulesTable/DeleteModuleModal.d.ts.map +0 -1
- package/dist/Components/CustomModulesTable/EditModuleModal.d.ts.map +0 -1
- package/dist/Components/DatePicker/CalendarPanel.d.ts.map +0 -1
- package/dist/Components/DatePicker/DatePicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/DatePickerProps.d.ts.map +0 -1
- package/dist/Components/DatePicker/RangeDatePicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/SingleDatePicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/ThemeDatePicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/TimeOnlyPicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/TimePicker.d.ts.map +0 -1
- package/dist/Components/DatePicker/TimePickerInput.d.ts.map +0 -1
- package/dist/Components/Divider/Divider.d.ts.map +0 -1
- package/dist/Components/Drawer/Drawer.d.ts.map +0 -1
- package/dist/Components/Drawer/DrawerProps.d.ts.map +0 -1
- package/dist/Components/Dropdown/DropDown.d.ts.map +0 -1
- package/dist/Components/Dropdown/DropdownProps.d.ts.map +0 -1
- package/dist/Components/Editor/Editor.d.ts.map +0 -1
- package/dist/Components/Editor/EditorProps.d.ts.map +0 -1
- package/dist/Components/Editor/joditThemeVars.d.ts.map +0 -1
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts.map +0 -1
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts.map +0 -1
- package/dist/Components/EmptyState/EmptyState.d.ts.map +0 -1
- package/dist/Components/EmptyState/EmptyStateProps.d.ts.map +0 -1
- package/dist/Components/FeedbackForm/FeedbackForm.d.ts.map +0 -1
- package/dist/Components/FieldSelectModal/FieldSelectModal.d.ts.map +0 -1
- package/dist/Components/FilePreview/FilePreview.d.ts.map +0 -1
- package/dist/Components/FilePreview/FilePreviewProps.d.ts.map +0 -1
- package/dist/Components/FileUpload/FileUpload.d.ts.map +0 -1
- package/dist/Components/FileUpload/FileUploadProps.d.ts.map +0 -1
- package/dist/Components/FileUpload/constants.d.ts.map +0 -1
- package/dist/Components/FileUploader/FileUploader.d.ts.map +0 -1
- package/dist/Components/FileUploader/FileUploaderProps.d.ts.map +0 -1
- package/dist/Components/FilterSidebar/FilterSidebar.d.ts.map +0 -1
- package/dist/Components/FilterSidebar/filterHoverStyle.d.ts.map +0 -1
- package/dist/Components/Form/FormWrapper.d.ts.map +0 -1
- package/dist/Components/Header/Header.d.ts.map +0 -1
- package/dist/Components/Header/HeaderActions.d.ts.map +0 -1
- package/dist/Components/Header/HeaderProps.d.ts.map +0 -1
- package/dist/Components/Header/components/desktopMenu.d.ts.map +0 -1
- package/dist/Components/Header/components/mobileMenu.d.ts.map +0 -1
- package/dist/Components/Input/Input/Input.d.ts.map +0 -1
- package/dist/Components/Input/Input/InputProps.d.ts.map +0 -1
- package/dist/Components/Input/PhoneNumberInput.d.ts.map +0 -1
- package/dist/Components/Input/PhoneNumberInputProps.d.ts.map +0 -1
- package/dist/Components/Input/Switch/InputSwitch.d.ts.map +0 -1
- package/dist/Components/Input/TextInput.d.ts.map +0 -1
- package/dist/Components/Input/TextInput.stories.d.ts +0 -2
- package/dist/Components/Input/TextInput.stories.d.ts.map +0 -1
- package/dist/Components/Input/TextInput.stories.js +0 -8
- package/dist/Components/Input/TextInput.styles.d.ts.map +0 -1
- package/dist/Components/Input/TextInputProps.d.ts.map +0 -1
- package/dist/Components/Input/textInputIconSize.d.ts.map +0 -1
- package/dist/Components/InputTextArea/InputTextArea.d.ts.map +0 -1
- package/dist/Components/InputTextArea/InputTextArea.style.d.ts.map +0 -1
- package/dist/Components/InputTextArea/InputTextAreaProps.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/AccountCard.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/AccountRow.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts.map +0 -1
- package/dist/Components/KanbanBoard/MeasuredItem.d.ts.map +0 -1
- package/dist/Components/LazyWrapper/LazyWrapper.d.ts.map +0 -1
- package/dist/Components/Loading/Loading.d.ts.map +0 -1
- package/dist/Components/Loading/Loading.stories.d.ts +0 -2
- package/dist/Components/Loading/Loading.stories.d.ts.map +0 -1
- package/dist/Components/Loading/Loading.stories.js +0 -7
- package/dist/Components/Loading/LoadingProps.d.ts.map +0 -1
- package/dist/Components/Modal/Modal.d.ts.map +0 -1
- package/dist/Components/Modal/Modal.stories.d.ts +0 -2
- package/dist/Components/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/Components/Modal/Modal.stories.js +0 -7
- package/dist/Components/Modal/ModalProps.d.ts.map +0 -1
- package/dist/Components/MoreItems/MoreItems.d.ts.map +0 -1
- package/dist/Components/MoreItems/MoreItemsProps.d.ts.map +0 -1
- package/dist/Components/MultiSelect/MultiSelect.d.ts.map +0 -1
- package/dist/Components/MultiSelect/MultiSelectProps.d.ts.map +0 -1
- package/dist/Components/NavigationBar/NavBar.stories.d.ts +0 -2
- package/dist/Components/NavigationBar/NavBar.stories.d.ts.map +0 -1
- package/dist/Components/NavigationBar/NavBar.stories.js +0 -3
- package/dist/Components/NavigationBar/NavigationBar.d.ts.map +0 -1
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts.map +0 -1
- package/dist/Components/NoteTextArea/NoteTextArea.d.ts.map +0 -1
- package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts.map +0 -1
- package/dist/Components/Notification/Notification.d.ts.map +0 -1
- package/dist/Components/Notification/NotificationProps.d.ts.map +0 -1
- package/dist/Components/NumberInput/NumberInput.d.ts.map +0 -1
- package/dist/Components/NumberInput/NumberInput.styles.d.ts.map +0 -1
- package/dist/Components/NumberInput/NumberInputProps.d.ts.map +0 -1
- package/dist/Components/OrgSwitcher/OrgSwitcher.d.ts.map +0 -1
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.d.ts.map +0 -1
- package/dist/Components/OrganizationDetails/CreateOrgModal.d.ts.map +0 -1
- package/dist/Components/OrganizationDetails/DeleteOrgModal.d.ts.map +0 -1
- package/dist/Components/OrganizationDetails/OrganizationDetails.d.ts.map +0 -1
- package/dist/Components/OrganizationDetails/OrganizationDetailsProps.d.ts.map +0 -1
- package/dist/Components/PdfViewer/PdfViewer.d.ts.map +0 -1
- package/dist/Components/PinInput/PinInput.d.ts.map +0 -1
- package/dist/Components/PinInput/PinInput.stories.d.ts +0 -2
- package/dist/Components/PinInput/PinInput.stories.d.ts.map +0 -1
- package/dist/Components/PinInput/PinInput.stories.js +0 -6
- package/dist/Components/PinInput/PinInputProps.d.ts.map +0 -1
- package/dist/Components/PinInputs/PinInputs.d.ts.map +0 -1
- package/dist/Components/PinInputs/PinInputsProps.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductCard.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductCardProps.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductLabel.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductPrice.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductReview.d.ts.map +0 -1
- package/dist/Components/ProductCard/ProductTags.d.ts.map +0 -1
- package/dist/Components/ProductDetails/ProductDetails.d.ts.map +0 -1
- package/dist/Components/ProductDetails/ProductDetailsProps.d.ts.map +0 -1
- package/dist/Components/ProductDetails/ProductDtlPrice.d.ts.map +0 -1
- package/dist/Components/ProductDetails/ProductImageSlider.d.ts.map +0 -1
- package/dist/Components/ProfileCard/ProfileCard.d.ts.map +0 -1
- package/dist/Components/ProfileCard/ProfileCard.stories.d.ts +0 -2
- package/dist/Components/ProfileCard/ProfileCard.stories.d.ts.map +0 -1
- package/dist/Components/ProfileCard/ProfileCard.stories.js +0 -6
- package/dist/Components/ProfileCard/ProfileCardProps.d.ts.map +0 -1
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts.map +0 -1
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts +0 -2
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts.map +0 -1
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.js +0 -6
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts.map +0 -1
- package/dist/Components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/Components/ProgressBar/ProgressBar.stories.d.ts +0 -2
- package/dist/Components/ProgressBar/ProgressBar.stories.d.ts.map +0 -1
- package/dist/Components/ProgressBar/ProgressBar.stories.js +0 -7
- package/dist/Components/ProgressBar/ProgressBarProps.d.ts.map +0 -1
- package/dist/Components/RadioButton/RadioButton.d.ts.map +0 -1
- package/dist/Components/RadioButton/RadioButton.stories.d.ts +0 -2
- package/dist/Components/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/dist/Components/RadioButton/RadioButton.stories.js +0 -7
- package/dist/Components/RadioButton/RadioButtonProps.d.ts.map +0 -1
- package/dist/Components/Reorder/Reorder.d.ts.map +0 -1
- package/dist/Components/Reorder/ReorderProps.d.ts.map +0 -1
- package/dist/Components/RolesPermission/DeleteRoleModal.d.ts.map +0 -1
- package/dist/Components/RolesPermission/RolesPermission.d.ts.map +0 -1
- package/dist/Components/RolesPermission/RolesPermissionProps.d.ts.map +0 -1
- package/dist/Components/ScrollToTop/ScrollToTop.d.ts.map +0 -1
- package/dist/Components/Search/Search.d.ts.map +0 -1
- package/dist/Components/Search/SearchProps.d.ts.map +0 -1
- package/dist/Components/SearchSelect/SearchSelect.d.ts.map +0 -1
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts.map +0 -1
- package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts.map +0 -1
- package/dist/Components/SearchSelect/searchSelectSize.d.ts.map +0 -1
- package/dist/Components/Select/Select.d.ts.map +0 -1
- package/dist/Components/Select/Select.stories.d.ts +0 -2
- package/dist/Components/Select/Select.stories.d.ts.map +0 -1
- package/dist/Components/Select/Select.stories.js +0 -8
- package/dist/Components/Select/Select.styles.d.ts.map +0 -1
- package/dist/Components/Select/SelectProps.d.ts.map +0 -1
- package/dist/Components/SelectSearch/SelectSearch.d.ts.map +0 -1
- package/dist/Components/SelectSearch/SelectSearchProps.d.ts.map +0 -1
- package/dist/Components/SideBar/SecondaryBar.d.ts.map +0 -1
- package/dist/Components/SideBar/SideBar.d.ts.map +0 -1
- package/dist/Components/SideBar/SideBarProps.d.ts.map +0 -1
- package/dist/Components/SideBar/Sidebar.stories.d.ts +0 -2
- package/dist/Components/SideBar/Sidebar.stories.d.ts.map +0 -1
- package/dist/Components/SideBar/Sidebar.stories.js +0 -7
- package/dist/Components/SideBar/components/MenuItemBox.d.ts.map +0 -1
- package/dist/Components/SideBar/components/MenuItems.d.ts.map +0 -1
- package/dist/Components/SideBar/components/MenuPopoverContent.d.ts.map +0 -1
- package/dist/Components/SideBar/components/OtherApps.d.ts.map +0 -1
- package/dist/Components/SideBar/components/OverflowTooltipText.d.ts.map +0 -1
- package/dist/Components/SideBar/components/TextTruncation.d.ts.map +0 -1
- package/dist/Components/SideBar/sidebarAccentColors.d.ts.map +0 -1
- package/dist/Components/SignInActivityTable/SignInActivityTable.d.ts.map +0 -1
- package/dist/Components/SignInActivityTable/SignInActivityTableProps.d.ts.map +0 -1
- package/dist/Components/Skeletons/Skeleton.stories.d.ts +0 -2
- package/dist/Components/Skeletons/Skeleton.stories.d.ts.map +0 -1
- package/dist/Components/Skeletons/Skeleton.stories.js +0 -7
- package/dist/Components/Skeletons/SkeletonProps.d.ts.map +0 -1
- package/dist/Components/Skeletons/Skeletons.d.ts.map +0 -1
- package/dist/Components/Slider/Slider.d.ts.map +0 -1
- package/dist/Components/StageProgress/StageItem.d.ts.map +0 -1
- package/dist/Components/StageProgress/StageProgress.d.ts.map +0 -1
- package/dist/Components/StageProgress/StageProgressProps.d.ts.map +0 -1
- package/dist/Components/StageProgress/StepperStage.d.ts.map +0 -1
- package/dist/Components/Switch/Switch.d.ts.map +0 -1
- package/dist/Components/Switch/SwitchProps.d.ts.map +0 -1
- package/dist/Components/Table/Table.d.ts.map +0 -1
- package/dist/Components/Table/Table.stories.d.ts +0 -2
- package/dist/Components/Table/Table.stories.d.ts.map +0 -1
- package/dist/Components/Table/Table.stories.js +0 -9
- package/dist/Components/Table/TableProps.d.ts.map +0 -1
- package/dist/Components/Table/components/HeaderActions.d.ts.map +0 -1
- package/dist/Components/Table/components/Pagination.d.ts.map +0 -1
- package/dist/Components/Table/components/TableActions.d.ts.map +0 -1
- package/dist/Components/Table/components/TableBody.d.ts.map +0 -1
- package/dist/Components/Table/components/TableGroupRow.d.ts.map +0 -1
- package/dist/Components/Table/components/TableHeader.d.ts.map +0 -1
- package/dist/Components/Table/components/TableLoading.d.ts.map +0 -1
- package/dist/Components/Table/components/TableSearch.d.ts.map +0 -1
- package/dist/Components/Table/components/tableRowHoverStyle.d.ts.map +0 -1
- package/dist/Components/Table/filterTypes.d.ts.map +0 -1
- package/dist/Components/Table/filters/ActiveFilters.d.ts.map +0 -1
- package/dist/Components/Table/filters/CompactSelect.d.ts.map +0 -1
- package/dist/Components/Table/filters/LeftFilterPane.d.ts.map +0 -1
- package/dist/Components/Table/filters/SelectOperationControls.d.ts.map +0 -1
- package/dist/Components/Table/filters/TableFilters.d.ts.map +0 -1
- package/dist/Components/Table/filters/TextOperationControls.d.ts.map +0 -1
- package/dist/Components/Table/hooks/useDebounce.d.ts.map +0 -1
- package/dist/Components/Table/hooks/useTable.d.ts.map +0 -1
- package/dist/Components/Table/settings/ManageColumns.d.ts.map +0 -1
- package/dist/Components/Table/settings/TableSettings.d.ts.map +0 -1
- package/dist/Components/Tag/Tag.d.ts.map +0 -1
- package/dist/Components/Tag/Tag.styles.d.ts.map +0 -1
- package/dist/Components/Tag/TagProps.d.ts.map +0 -1
- package/dist/Components/Timeline/Timeline.d.ts.map +0 -1
- package/dist/Components/Timeline/TimelineProps.d.ts.map +0 -1
- package/dist/Components/Toaster/Toaster.d.ts.map +0 -1
- package/dist/Components/Toaster/Toaster.stories.d.ts +0 -2
- package/dist/Components/Toaster/Toaster.stories.d.ts.map +0 -1
- package/dist/Components/Toaster/Toaster.stories.js +0 -8
- package/dist/Components/Toaster/ToasterProps.d.ts.map +0 -1
- package/dist/Components/Toggle/TableToggle.d.ts.map +0 -1
- package/dist/Components/Toggle/TableToggleProps.d.ts.map +0 -1
- package/dist/Components/ToolTip/OverflowToolTip.d.ts.map +0 -1
- package/dist/Components/ToolTip/ToolTip.d.ts.map +0 -1
- package/dist/Components/ToolTip/ToolTip.stories.d.ts +0 -2
- package/dist/Components/ToolTip/ToolTip.stories.d.ts.map +0 -1
- package/dist/Components/ToolTip/ToolTip.stories.js +0 -7
- package/dist/Components/ToolTip/ToolTipProps.d.ts.map +0 -1
- package/dist/Components/Trail/EditableCell.d.ts.map +0 -1
- package/dist/Components/Trail/SelectAllCheckbox.d.ts.map +0 -1
- package/dist/Components/Trail/TrailWorks.d.ts.map +0 -1
- package/dist/Components/Trail/data.d.ts.map +0 -1
- package/dist/Components/UpgradeButton/UpgradeButton.d.ts.map +0 -1
- package/dist/Components/UpgradeButton/UpgradeButtonProps.d.ts.map +0 -1
- package/dist/Components/UserDetails/AddUserModal.d.ts.map +0 -1
- package/dist/Components/UserDetails/ChangeRoleModal.d.ts.map +0 -1
- package/dist/Components/UserDetails/DeactivateConfirmModal.d.ts.map +0 -1
- package/dist/Components/UserDetails/UserDetails.d.ts.map +0 -1
- package/dist/Components/UserDetails/UserDetailsProps.d.ts.map +0 -1
- package/dist/Components/WorkspaceWindow/WorkspaceTrayPreview.d.ts.map +0 -1
- package/dist/Components/WorkspaceWindow/WorkspaceWindow.d.ts.map +0 -1
- package/dist/Components/WorkspaceWindow/WorkspaceWindowProps.d.ts.map +0 -1
- package/dist/Constants/Sidebar.d.ts.map +0 -1
- package/dist/Hooks/useIsTruncated.d.ts.map +0 -1
- package/dist/Hooks/usePreferences.d.ts.map +0 -1
- package/dist/Hooks/useSidebarPrefs.d.ts.map +0 -1
- package/dist/Layout.d.ts.map +0 -1
- package/dist/Theme/Dark/theme.d.ts +0 -3
- package/dist/Theme/Dark/theme.d.ts.map +0 -1
- package/dist/Theme/Dark/theme.js +0 -277
- package/dist/Theme/Default/palette.d.ts +0 -375
- package/dist/Theme/Default/palette.d.ts.map +0 -1
- package/dist/Theme/Default/palette.js +0 -306
- package/dist/Theme/Default/theme.d.ts +0 -3
- package/dist/Theme/Default/theme.d.ts.map +0 -1
- package/dist/Theme/Default/theme.js +0 -19
- package/dist/Theme/Emerald/palette.d.ts +0 -375
- package/dist/Theme/Emerald/palette.d.ts.map +0 -1
- package/dist/Theme/Emerald/palette.js +0 -125
- package/dist/Theme/Emerald/theme.d.ts +0 -3
- package/dist/Theme/Emerald/theme.d.ts.map +0 -1
- package/dist/Theme/Emerald/theme.js +0 -19
- package/dist/Theme/Meadow/palette.d.ts +0 -375
- package/dist/Theme/Meadow/palette.d.ts.map +0 -1
- package/dist/Theme/Meadow/palette.js +0 -123
- package/dist/Theme/Meadow/theme.d.ts +0 -3
- package/dist/Theme/Meadow/theme.d.ts.map +0 -1
- package/dist/Theme/Meadow/theme.js +0 -19
- package/dist/Theme/Radiant/palette.d.ts +0 -375
- package/dist/Theme/Radiant/palette.d.ts.map +0 -1
- package/dist/Theme/Radiant/palette.js +0 -125
- package/dist/Theme/Radiant/theme.d.ts +0 -3
- package/dist/Theme/Radiant/theme.d.ts.map +0 -1
- package/dist/Theme/Radiant/theme.js +0 -19
- package/dist/Theme/Rosewood/palette.d.ts +0 -375
- package/dist/Theme/Rosewood/palette.d.ts.map +0 -1
- package/dist/Theme/Rosewood/palette.js +0 -125
- package/dist/Theme/Rosewood/theme.d.ts +0 -3
- package/dist/Theme/Rosewood/theme.d.ts.map +0 -1
- package/dist/Theme/Rosewood/theme.js +0 -19
- package/dist/Theme/Skyline/palette.d.ts +0 -375
- package/dist/Theme/Skyline/palette.d.ts.map +0 -1
- package/dist/Theme/Skyline/palette.js +0 -123
- package/dist/Theme/Skyline/theme.d.ts +0 -3
- package/dist/Theme/Skyline/theme.d.ts.map +0 -1
- package/dist/Theme/Skyline/theme.js +0 -19
- package/dist/Theme/Slate/palette.d.ts +0 -375
- package/dist/Theme/Slate/palette.d.ts.map +0 -1
- package/dist/Theme/Slate/palette.js +0 -123
- package/dist/Theme/Slate/theme.d.ts +0 -3
- package/dist/Theme/Slate/theme.d.ts.map +0 -1
- package/dist/Theme/Slate/theme.js +0 -19
- package/dist/Theme/buildBrandTokens.d.ts +0 -16
- package/dist/Theme/buildBrandTokens.d.ts.map +0 -1
- package/dist/Theme/buildBrandTokens.js +0 -33
- package/dist/Theme/chakra/common.web.d.ts.map +0 -1
- package/dist/Theme/chakra/componentStyles.d.ts.map +0 -1
- package/dist/Theme/chakra/createBrandTheme.d.ts.map +0 -1
- package/dist/Theme/chakra/fonts.web.d.ts.map +0 -1
- package/dist/Theme/chartColorsFromTheme.d.ts +0 -19
- package/dist/Theme/chartColorsFromTheme.d.ts.map +0 -1
- package/dist/Theme/chartColorsFromTheme.js +0 -34
- package/dist/Theme/common.d.ts +0 -167
- package/dist/Theme/common.d.ts.map +0 -1
- package/dist/Theme/common.js +0 -112
- package/dist/Theme/componentStyles.d.ts +0 -10
- package/dist/Theme/componentStyles.d.ts.map +0 -1
- package/dist/Theme/componentStyles.js +0 -19
- package/dist/Theme/fonts.d.ts +0 -37
- package/dist/Theme/fonts.d.ts.map +0 -1
- package/dist/Theme/fonts.js +0 -41
- package/dist/Theme/index.d.ts.map +0 -1
- package/dist/Theme/provider/PixelizeThemeProvider.d.ts.map +0 -1
- package/dist/Theme/provider/ThemeSwitcher.d.ts.map +0 -1
- package/dist/Theme/provider/colorModeStorage.d.ts.map +0 -1
- package/dist/Theme/provider/index.d.ts.map +0 -1
- package/dist/Theme/provider/useThemeMode.d.ts.map +0 -1
- package/dist/Theme/space.d.ts +0 -34
- package/dist/Theme/space.d.ts.map +0 -1
- package/dist/Theme/space.js +0 -35
- package/dist/Theme/theme.d.ts +0 -3
- package/dist/Theme/theme.d.ts.map +0 -1
- package/dist/Theme/theme.js +0 -12
- package/dist/Theme/themeProps.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/emerald/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/emerald/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/index.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/lavender/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/lavender/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/meadow/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/meadow/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/radiant/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/radiant/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/rosewood/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/rosewood/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/skyline/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/skyline/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/slate/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/slate/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/storefront/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/storefront/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/zinc/palette.dark.d.ts.map +0 -1
- package/dist/Theme/tokens/brands/zinc/palette.light.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/accentText.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/buildBrandTokens.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/buildDarkPalette.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/chartColorsFromTheme.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/color.d.ts.map +0 -1
- package/dist/Theme/tokens/builders/index.d.ts.map +0 -1
- package/dist/Theme/tokens/index.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/breakpoints.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/index.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/letterSpacings.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/lineHeights.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/radii.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/shadows.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/sizes.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/space.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/typography.d.ts.map +0 -1
- package/dist/Theme/tokens/primitives/zIndices.d.ts.map +0 -1
- package/dist/Theme/tokens/types.d.ts.map +0 -1
- package/dist/Theme/useCustomTheme.d.ts.map +0 -1
- package/dist/Utils/functions.d.ts.map +0 -1
- package/dist/Utils/mergeRefs.d.ts.map +0 -1
- package/dist/Utils/table.d.ts.map +0 -1
- package/dist/bootstrap.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/services/feedback.d.ts.map +0 -1
- package/dist/withTheme.d.ts.map +0 -1
- package/eslint.config.js +0 -48
- package/index.html +0 -13
- package/vite.config.ts +0 -13
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Cross-app "Account handoff": deep-link from a product app (CRM, Tickets, HRMS)
|
|
4
|
+
* into the Account app carrying the token, so the user lands signed in. Consuming
|
|
5
|
+
* apps once copy-pasted this per repo; it lives here so they share one contract.
|
|
6
|
+
*
|
|
7
|
+
* Query-param contract (must stay in sync across every caller):
|
|
8
|
+
* `sourceApp`, `returnUrl`, `orgId`, `api_key` (+ `userId` on the users page).
|
|
9
|
+
*
|
|
10
|
+
* The library is pre-bundled, so it must not read `import.meta.env` — that would
|
|
11
|
+
* bake in the library's own build env. Env-derived values are injected as config.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.isAllowedReturnUrl = isAllowedReturnUrl;
|
|
15
|
+
exports.resolveReturnUrl = resolveReturnUrl;
|
|
16
|
+
exports.createAccountHandoff = createAccountHandoff;
|
|
17
|
+
const ALLOWED_RETURN_HOST_PATTERNS = [
|
|
18
|
+
/^localhost$/,
|
|
19
|
+
/^127\.0\.0\.1$/,
|
|
20
|
+
/\.pixelizetech\.com$/i,
|
|
21
|
+
];
|
|
22
|
+
const DEFAULT_ACCOUNT_PORT = "3000";
|
|
23
|
+
function isAllowedReturnUrl(url) {
|
|
24
|
+
try {
|
|
25
|
+
const parsed = new URL(url);
|
|
26
|
+
if (parsed.protocol !== "https:" && parsed.protocol !== "http:") {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return ALLOWED_RETURN_HOST_PATTERNS.some((pattern) => pattern.test(parsed.hostname));
|
|
30
|
+
}
|
|
31
|
+
catch {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Receiver side (Account). Returns the `returnUrl` param only when it passes the
|
|
37
|
+
* allowlist, else the caller's `defaultReturnUrl` when that is allowed, else null.
|
|
38
|
+
* `fallbackOrgId` is accepted for caller symmetry; the app owns any org-derived
|
|
39
|
+
* fallback via `opts.defaultReturnUrl`.
|
|
40
|
+
*/
|
|
41
|
+
function resolveReturnUrl(searchParams, fallbackOrgId, opts) {
|
|
42
|
+
void fallbackOrgId;
|
|
43
|
+
const returnUrl = searchParams.get("returnUrl");
|
|
44
|
+
if (returnUrl && isAllowedReturnUrl(returnUrl)) {
|
|
45
|
+
return returnUrl;
|
|
46
|
+
}
|
|
47
|
+
const fallback = opts === null || opts === void 0 ? void 0 : opts.defaultReturnUrl;
|
|
48
|
+
if (fallback && isAllowedReturnUrl(fallback)) {
|
|
49
|
+
return fallback;
|
|
50
|
+
}
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
function isLocalDevHost(hostname) {
|
|
54
|
+
return /^(localhost|127\.0\.0\.1)$/i.test(hostname);
|
|
55
|
+
}
|
|
56
|
+
function currentPagePort() {
|
|
57
|
+
return (window.location.port ||
|
|
58
|
+
(window.location.protocol === "https:" ? "443" : "80"));
|
|
59
|
+
}
|
|
60
|
+
function createAccountHandoff(config) {
|
|
61
|
+
var _a;
|
|
62
|
+
/** Account origin for local dev. Never this app's own port — a same-origin URL would keep the user here. */
|
|
63
|
+
function localAccountBase(hostname) {
|
|
64
|
+
const pagePort = currentPagePort();
|
|
65
|
+
let port = String(config.accountLocalPort || DEFAULT_ACCOUNT_PORT).trim() ||
|
|
66
|
+
DEFAULT_ACCOUNT_PORT;
|
|
67
|
+
if (port === pagePort || port === config.appLocalPort) {
|
|
68
|
+
port = DEFAULT_ACCOUNT_PORT;
|
|
69
|
+
}
|
|
70
|
+
if (port === pagePort) {
|
|
71
|
+
port = pagePort === "3000" ? "3001" : DEFAULT_ACCOUNT_PORT;
|
|
72
|
+
}
|
|
73
|
+
return `http://${hostname}:${port}`;
|
|
74
|
+
}
|
|
75
|
+
function resolveAccountUiBase() {
|
|
76
|
+
const hostname = window.location.hostname;
|
|
77
|
+
const configured = String(config.accountUiBase || "")
|
|
78
|
+
.trim()
|
|
79
|
+
.replace(/\/$/, "");
|
|
80
|
+
if (!config.forceRemote && isLocalDevHost(hostname)) {
|
|
81
|
+
return localAccountBase(hostname);
|
|
82
|
+
}
|
|
83
|
+
if (!configured) {
|
|
84
|
+
return localAccountBase(hostname);
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
if (new URL(configured).origin === window.location.origin) {
|
|
88
|
+
return localAccountBase(hostname);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch {
|
|
92
|
+
return localAccountBase(hostname);
|
|
93
|
+
}
|
|
94
|
+
return configured;
|
|
95
|
+
}
|
|
96
|
+
const buildReturnUrl = (_a = config.buildReturnUrl) !== null && _a !== void 0 ? _a : (() => window.location.origin.replace(/\/$/, ""));
|
|
97
|
+
function buildParams(options) {
|
|
98
|
+
var _a, _b;
|
|
99
|
+
const params = new URLSearchParams();
|
|
100
|
+
params.set("sourceApp", (_a = options.sourceApp) !== null && _a !== void 0 ? _a : config.sourceApp);
|
|
101
|
+
const returnUrl = (_b = options.returnUrl) !== null && _b !== void 0 ? _b : buildReturnUrl(options.orgId);
|
|
102
|
+
if (returnUrl && isAllowedReturnUrl(returnUrl)) {
|
|
103
|
+
params.set("returnUrl", returnUrl);
|
|
104
|
+
}
|
|
105
|
+
if (options.orgId) {
|
|
106
|
+
params.set("orgId", String(options.orgId));
|
|
107
|
+
}
|
|
108
|
+
if (options.token) {
|
|
109
|
+
params.set("api_key", options.token);
|
|
110
|
+
}
|
|
111
|
+
return params;
|
|
112
|
+
}
|
|
113
|
+
function buildUsersPageUrl(options = {}) {
|
|
114
|
+
const params = buildParams(options);
|
|
115
|
+
if (options.userId != null && options.userId !== "") {
|
|
116
|
+
params.set("userId", String(options.userId));
|
|
117
|
+
}
|
|
118
|
+
return `${resolveAccountUiBase()}/users?${params.toString()}`;
|
|
119
|
+
}
|
|
120
|
+
function navigateToUsersPage(options = {}) {
|
|
121
|
+
const url = buildUsersPageUrl(options);
|
|
122
|
+
if (!/^https?:\/\//i.test(url)) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
window.location.assign(url);
|
|
126
|
+
}
|
|
127
|
+
function buildOrganizationPageUrl(options = {}) {
|
|
128
|
+
return `${resolveAccountUiBase()}/organization?${buildParams(options).toString()}`;
|
|
129
|
+
}
|
|
130
|
+
function navigateToOrganizationPage(options = {}) {
|
|
131
|
+
const url = buildOrganizationPageUrl(options);
|
|
132
|
+
if (!/^https?:\/\//i.test(url)) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
window.location.assign(url);
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
resolveAccountUiBase,
|
|
139
|
+
buildUsersPageUrl,
|
|
140
|
+
navigateToUsersPage,
|
|
141
|
+
buildOrganizationPageUrl,
|
|
142
|
+
navigateToOrganizationPage,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PlanPillTone } from "../Components/PlanPill/PlanPillProps";
|
|
2
|
+
import { PlanExpiryInput } from "./planExpiry";
|
|
3
|
+
export type PlanBadgeInput = {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the org is on any plan at all. Defaults to true, so a caller that
|
|
6
|
+
* only knows the plan's name/code can omit it.
|
|
7
|
+
*/
|
|
8
|
+
hasPlan?: boolean;
|
|
9
|
+
planName?: string | null;
|
|
10
|
+
/** Plan code, e.g. `"free"`. Used to detect the free plan when `isFreePlan` is omitted. */
|
|
11
|
+
planCode?: string | null;
|
|
12
|
+
/** Legacy numeric plan id, where `1` is the free plan. */
|
|
13
|
+
planId?: number | null;
|
|
14
|
+
/** Explicit free-plan flag. Overrides detection from `planCode`/`planId`/`planName`. */
|
|
15
|
+
isFreePlan?: boolean;
|
|
16
|
+
isTrial?: boolean;
|
|
17
|
+
isExpired?: boolean;
|
|
18
|
+
expiryDate?: PlanExpiryInput;
|
|
19
|
+
/** The badge is hidden entirely for anyone who cannot act on it. */
|
|
20
|
+
canManageBilling?: boolean;
|
|
21
|
+
/** Injectable clock, for tests. */
|
|
22
|
+
now?: Date;
|
|
23
|
+
};
|
|
24
|
+
export type PlanBadgeResult = {
|
|
25
|
+
visible: boolean;
|
|
26
|
+
label: string;
|
|
27
|
+
mobileLabel: string;
|
|
28
|
+
subtitle: string;
|
|
29
|
+
tone: PlanPillTone;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Turns an org's plan state into the label, urgency tone and inset-chip text for
|
|
33
|
+
* a `PlanPill` — the "Upgrade your plan" badge in an app's top bar.
|
|
34
|
+
*
|
|
35
|
+
* Copy and thresholds are centralized here so every app shows the same badge for
|
|
36
|
+
* the same org.
|
|
37
|
+
*/
|
|
38
|
+
export declare function resolvePlanBadge(input: PlanBadgeInput): PlanBadgeResult;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolvePlanBadge = resolvePlanBadge;
|
|
4
|
+
const planExpiry_1 = require("./planExpiry");
|
|
5
|
+
const UPGRADE_LABEL = "Upgrade your plan";
|
|
6
|
+
const UPGRADE_MOBILE_LABEL = "Upgrade";
|
|
7
|
+
const EXPIRED_MOBILE_LABEL = "Expired";
|
|
8
|
+
const TRIAL_LABEL = "Trial";
|
|
9
|
+
const GENERIC_PLAN_NAME = "Plan";
|
|
10
|
+
const LEGACY_FREE_PLAN_ID = 1;
|
|
11
|
+
const TRIAL_DANGER_DAYS = 3;
|
|
12
|
+
const ACTIVE_WARNING_DAYS = 15;
|
|
13
|
+
const HIDDEN = {
|
|
14
|
+
visible: false,
|
|
15
|
+
label: "",
|
|
16
|
+
mobileLabel: "",
|
|
17
|
+
subtitle: "",
|
|
18
|
+
tone: "normal",
|
|
19
|
+
};
|
|
20
|
+
const upgrade = (subtitle, tone = "normal") => ({
|
|
21
|
+
visible: true,
|
|
22
|
+
label: UPGRADE_LABEL,
|
|
23
|
+
mobileLabel: UPGRADE_MOBILE_LABEL,
|
|
24
|
+
subtitle,
|
|
25
|
+
tone,
|
|
26
|
+
});
|
|
27
|
+
const normalize = (value) => String(value !== null && value !== void 0 ? value : "")
|
|
28
|
+
.trim()
|
|
29
|
+
.toLowerCase();
|
|
30
|
+
function isFreePlan(input, planName) {
|
|
31
|
+
if (input.isFreePlan !== undefined)
|
|
32
|
+
return input.isFreePlan;
|
|
33
|
+
if (normalize(input.planCode) === "free")
|
|
34
|
+
return true;
|
|
35
|
+
if (input.planId !== null && input.planId !== undefined) {
|
|
36
|
+
return Number(input.planId) === LEGACY_FREE_PLAN_ID;
|
|
37
|
+
}
|
|
38
|
+
return normalize(planName) === "free";
|
|
39
|
+
}
|
|
40
|
+
/** Whole days from today to the expiry day; null when there is no usable date. */
|
|
41
|
+
function daysUntil(expiryDate, now) {
|
|
42
|
+
if (expiryDate === null || expiryDate === undefined || expiryDate === "") {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
const expiry = expiryDate instanceof Date ? expiryDate : new Date(expiryDate);
|
|
46
|
+
if (isNaN(expiry.getTime()))
|
|
47
|
+
return null;
|
|
48
|
+
const startOfDay = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate());
|
|
49
|
+
return Math.round((startOfDay(expiry).getTime() - startOfDay(now).getTime()) / 86400000);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Turns an org's plan state into the label, urgency tone and inset-chip text for
|
|
53
|
+
* a `PlanPill` — the "Upgrade your plan" badge in an app's top bar.
|
|
54
|
+
*
|
|
55
|
+
* Copy and thresholds are centralized here so every app shows the same badge for
|
|
56
|
+
* the same org.
|
|
57
|
+
*/
|
|
58
|
+
function resolvePlanBadge(input) {
|
|
59
|
+
var _a, _b;
|
|
60
|
+
if (!input.canManageBilling)
|
|
61
|
+
return HIDDEN;
|
|
62
|
+
const now = (_a = input.now) !== null && _a !== void 0 ? _a : new Date();
|
|
63
|
+
const planName = ((_b = input.planName) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
64
|
+
const daysLeft = daysUntil(input.expiryDate, now);
|
|
65
|
+
const remaining = (0, planExpiry_1.formatPlanRemaining)(input.expiryDate, now);
|
|
66
|
+
const elapsed = (0, planExpiry_1.formatPlanElapsed)(input.expiryDate, now);
|
|
67
|
+
// Checked before the expiry branch: a lapsed org is downgraded to free, and
|
|
68
|
+
// "Free expired" is not a state worth shouting about.
|
|
69
|
+
if (isFreePlan(input, planName))
|
|
70
|
+
return upgrade("");
|
|
71
|
+
if (input.isExpired || elapsed !== "") {
|
|
72
|
+
// "<plan> expired" as the label with the elapsed time in the inset chip —
|
|
73
|
+
// folding both behind "Upgrade your plan" made the pill wide enough to
|
|
74
|
+
// crowd the header.
|
|
75
|
+
return {
|
|
76
|
+
visible: true,
|
|
77
|
+
label: `${planName || GENERIC_PLAN_NAME} expired`,
|
|
78
|
+
mobileLabel: EXPIRED_MOBILE_LABEL,
|
|
79
|
+
subtitle: elapsed,
|
|
80
|
+
tone: "danger",
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
if (input.hasPlan === false)
|
|
84
|
+
return upgrade("");
|
|
85
|
+
if (input.isTrial) {
|
|
86
|
+
return {
|
|
87
|
+
visible: true,
|
|
88
|
+
label: TRIAL_LABEL,
|
|
89
|
+
mobileLabel: TRIAL_LABEL,
|
|
90
|
+
subtitle: remaining,
|
|
91
|
+
tone: daysLeft !== null && daysLeft <= TRIAL_DANGER_DAYS
|
|
92
|
+
? "danger"
|
|
93
|
+
: "warning",
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const tone = daysLeft !== null && daysLeft < ACTIVE_WARNING_DAYS ? "warning" : "normal";
|
|
97
|
+
// An active paid plan names itself — falling through to "Upgrade your plan"
|
|
98
|
+
// told users with years remaining that they were on nothing.
|
|
99
|
+
if (!planName)
|
|
100
|
+
return upgrade(remaining, tone);
|
|
101
|
+
return {
|
|
102
|
+
visible: true,
|
|
103
|
+
label: planName,
|
|
104
|
+
mobileLabel: planName,
|
|
105
|
+
subtitle: remaining,
|
|
106
|
+
tone,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type PlanExpiryInput = string | number | Date | null | undefined;
|
|
2
|
+
/**
|
|
3
|
+
* Calendar months + leftover days between two dates.
|
|
4
|
+
* Anchoring on a real month boundary keeps "1 month" honest across 28/30/31-day
|
|
5
|
+
* months, so Jan 31 → Feb 28 reads as 28 days rather than a whole month.
|
|
6
|
+
*/
|
|
7
|
+
export declare function splitMonthsAndDays(from: Date, to: Date): {
|
|
8
|
+
months: number;
|
|
9
|
+
days: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Time left on a plan, compactly: `"3mo left"` once a whole month remains,
|
|
13
|
+
* `"18d left"` below that. Intended for `UpgradeButton`'s `subtitle`, so it
|
|
14
|
+
* stays one short line. Returns `""` when there is no usable date or the plan
|
|
15
|
+
* has already lapsed — an expired plan is a different message, which the
|
|
16
|
+
* consuming app owns.
|
|
17
|
+
*/
|
|
18
|
+
export declare function formatPlanExpiry(expiryDate: PlanExpiryInput, now?: Date): string;
|
|
19
|
+
/**
|
|
20
|
+
* Time left on a plan, to the minute in the final day: `"3mo left"`, `"18d left"`,
|
|
21
|
+
* then `"23h 45m left"` down to `"1m left"`. `""` once lapsed.
|
|
22
|
+
*
|
|
23
|
+
* Differs from `formatPlanExpiry` only in that last day: a calendar-day count
|
|
24
|
+
* reads as "Expires today" for the whole day, which goes stale next to a live
|
|
25
|
+
* countdown. Prefer this for a badge that sits on screen; `formatPlanExpiry`
|
|
26
|
+
* stays the cheaper day-granular option.
|
|
27
|
+
*/
|
|
28
|
+
export declare function formatPlanRemaining(expiryDate: PlanExpiryInput, now?: Date): string;
|
|
29
|
+
/**
|
|
30
|
+
* How long ago a plan lapsed: `"1h 10m ago"` under a day, `"2d ago"` / `"1mo ago"`
|
|
31
|
+
* beyond it. `""` while the plan is still live — so a badge can say how stale a
|
|
32
|
+
* lapse is rather than a bare "expired".
|
|
33
|
+
*/
|
|
34
|
+
export declare function formatPlanElapsed(expiryDate: PlanExpiryInput, now?: Date): string;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.splitMonthsAndDays = splitMonthsAndDays;
|
|
4
|
+
exports.formatPlanExpiry = formatPlanExpiry;
|
|
5
|
+
exports.formatPlanRemaining = formatPlanRemaining;
|
|
6
|
+
exports.formatPlanElapsed = formatPlanElapsed;
|
|
7
|
+
const MS_PER_DAY = 24 * 60 * 60 * 1000;
|
|
8
|
+
function toDate(value) {
|
|
9
|
+
if (value === null || value === undefined || value === "")
|
|
10
|
+
return null;
|
|
11
|
+
const date = value instanceof Date ? new Date(value.getTime()) : new Date(value);
|
|
12
|
+
return isNaN(date.getTime()) ? null : date;
|
|
13
|
+
}
|
|
14
|
+
function startOfDay(date) {
|
|
15
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate());
|
|
16
|
+
}
|
|
17
|
+
function addCalendarMonths(date, months) {
|
|
18
|
+
const lastDayOfTarget = new Date(date.getFullYear(), date.getMonth() + months + 1, 0).getDate();
|
|
19
|
+
return new Date(date.getFullYear(), date.getMonth() + months, Math.min(date.getDate(), lastDayOfTarget));
|
|
20
|
+
}
|
|
21
|
+
function daysBetween(from, to) {
|
|
22
|
+
return Math.round((to.getTime() - from.getTime()) / MS_PER_DAY);
|
|
23
|
+
}
|
|
24
|
+
/** Compact units (`2mo`, `5d`) — this reads inside a badge subtitle, where
|
|
25
|
+
* "2 months 5 days left" wraps. */
|
|
26
|
+
function unit(count, suffix) {
|
|
27
|
+
return `${count}${suffix}`;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Calendar months + leftover days between two dates.
|
|
31
|
+
* Anchoring on a real month boundary keeps "1 month" honest across 28/30/31-day
|
|
32
|
+
* months, so Jan 31 → Feb 28 reads as 28 days rather than a whole month.
|
|
33
|
+
*/
|
|
34
|
+
function splitMonthsAndDays(from, to) {
|
|
35
|
+
let months = (to.getFullYear() - from.getFullYear()) * 12 +
|
|
36
|
+
(to.getMonth() - from.getMonth());
|
|
37
|
+
if (to.getDate() < from.getDate())
|
|
38
|
+
months -= 1;
|
|
39
|
+
if (months < 0)
|
|
40
|
+
months = 0;
|
|
41
|
+
return { months, days: daysBetween(addCalendarMonths(from, months), to) };
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Time left on a plan, compactly: `"3mo left"` once a whole month remains,
|
|
45
|
+
* `"18d left"` below that. Intended for `UpgradeButton`'s `subtitle`, so it
|
|
46
|
+
* stays one short line. Returns `""` when there is no usable date or the plan
|
|
47
|
+
* has already lapsed — an expired plan is a different message, which the
|
|
48
|
+
* consuming app owns.
|
|
49
|
+
*/
|
|
50
|
+
function formatPlanExpiry(expiryDate, now) {
|
|
51
|
+
const expiry = toDate(expiryDate);
|
|
52
|
+
if (!expiry)
|
|
53
|
+
return "";
|
|
54
|
+
const expiryDay = startOfDay(expiry);
|
|
55
|
+
const today = startOfDay(now !== null && now !== void 0 ? now : new Date());
|
|
56
|
+
const daysLeft = daysBetween(today, expiryDay);
|
|
57
|
+
if (daysLeft < 0)
|
|
58
|
+
return "";
|
|
59
|
+
if (daysLeft === 0)
|
|
60
|
+
return "Expires today";
|
|
61
|
+
const { months, days } = splitMonthsAndDays(today, expiryDay);
|
|
62
|
+
return months > 0 ? `${unit(months, "mo")} left` : `${unit(days, "d")} left`;
|
|
63
|
+
}
|
|
64
|
+
/** Never reports `0m`; the final stretch reads `1m`. */
|
|
65
|
+
function formatHoursMinutes(ms, suffix) {
|
|
66
|
+
const totalMinutes = Math.floor(ms / 60000);
|
|
67
|
+
const hours = Math.floor(totalMinutes / 60);
|
|
68
|
+
const minutes = totalMinutes % 60;
|
|
69
|
+
return hours > 0
|
|
70
|
+
? `${unit(hours, "h")} ${unit(minutes, "m")} ${suffix}`
|
|
71
|
+
: `${unit(Math.max(minutes, 1), "m")} ${suffix}`;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Time left on a plan, to the minute in the final day: `"3mo left"`, `"18d left"`,
|
|
75
|
+
* then `"23h 45m left"` down to `"1m left"`. `""` once lapsed.
|
|
76
|
+
*
|
|
77
|
+
* Differs from `formatPlanExpiry` only in that last day: a calendar-day count
|
|
78
|
+
* reads as "Expires today" for the whole day, which goes stale next to a live
|
|
79
|
+
* countdown. Prefer this for a badge that sits on screen; `formatPlanExpiry`
|
|
80
|
+
* stays the cheaper day-granular option.
|
|
81
|
+
*/
|
|
82
|
+
function formatPlanRemaining(expiryDate, now) {
|
|
83
|
+
const expiry = toDate(expiryDate);
|
|
84
|
+
if (!expiry)
|
|
85
|
+
return "";
|
|
86
|
+
const referenceNow = now !== null && now !== void 0 ? now : new Date();
|
|
87
|
+
const msLeft = expiry.getTime() - referenceNow.getTime();
|
|
88
|
+
if (msLeft < 0)
|
|
89
|
+
return "";
|
|
90
|
+
if (msLeft < MS_PER_DAY) {
|
|
91
|
+
return msLeft === 0 ? "Expires today" : formatHoursMinutes(msLeft, "left");
|
|
92
|
+
}
|
|
93
|
+
const { months, days } = splitMonthsAndDays(startOfDay(referenceNow), startOfDay(expiry));
|
|
94
|
+
return months > 0 ? `${unit(months, "mo")} left` : `${unit(days, "d")} left`;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* How long ago a plan lapsed: `"1h 10m ago"` under a day, `"2d ago"` / `"1mo ago"`
|
|
98
|
+
* beyond it. `""` while the plan is still live — so a badge can say how stale a
|
|
99
|
+
* lapse is rather than a bare "expired".
|
|
100
|
+
*/
|
|
101
|
+
function formatPlanElapsed(expiryDate, now) {
|
|
102
|
+
const expiry = toDate(expiryDate);
|
|
103
|
+
if (!expiry)
|
|
104
|
+
return "";
|
|
105
|
+
const referenceNow = now !== null && now !== void 0 ? now : new Date();
|
|
106
|
+
const msAgo = referenceNow.getTime() - expiry.getTime();
|
|
107
|
+
if (msAgo <= 0)
|
|
108
|
+
return "";
|
|
109
|
+
if (msAgo < MS_PER_DAY)
|
|
110
|
+
return formatHoursMinutes(msAgo, "ago");
|
|
111
|
+
const { months, days } = splitMonthsAndDays(startOfDay(expiry), startOfDay(referenceNow));
|
|
112
|
+
return months > 0
|
|
113
|
+
? `${unit(months, "mo")} ago`
|
|
114
|
+
: `${unit(Math.max(days, 1), "d")} ago`;
|
|
115
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coalesces bursts of calls into one per animation frame.
|
|
3
|
+
*
|
|
4
|
+
* Every use in this library is a listener that reads layout (`getBoundingClientRect`) and then
|
|
5
|
+
* writes position state. Unthrottled, a capture-phase `scroll` listener runs once per scrollable
|
|
6
|
+
* ancestor per scroll event — on a low-end device that is a forced reflow several times per frame,
|
|
7
|
+
* which is what makes menus judder while the page moves. One frame is also the fastest rate the
|
|
8
|
+
* screen can show a change, so nothing is lost by dropping the rest.
|
|
9
|
+
*
|
|
10
|
+
* The trailing call wins: the last arguments before the frame fires are the current ones.
|
|
11
|
+
*/
|
|
12
|
+
export declare const rafThrottle: <A extends unknown[]>(fn: (...args: A) => void) => ((...args: A) => void) & {
|
|
13
|
+
cancel: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rafThrottle = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Coalesces bursts of calls into one per animation frame.
|
|
6
|
+
*
|
|
7
|
+
* Every use in this library is a listener that reads layout (`getBoundingClientRect`) and then
|
|
8
|
+
* writes position state. Unthrottled, a capture-phase `scroll` listener runs once per scrollable
|
|
9
|
+
* ancestor per scroll event — on a low-end device that is a forced reflow several times per frame,
|
|
10
|
+
* which is what makes menus judder while the page moves. One frame is also the fastest rate the
|
|
11
|
+
* screen can show a change, so nothing is lost by dropping the rest.
|
|
12
|
+
*
|
|
13
|
+
* The trailing call wins: the last arguments before the frame fires are the current ones.
|
|
14
|
+
*/
|
|
15
|
+
const rafThrottle = (fn) => {
|
|
16
|
+
let frame = null;
|
|
17
|
+
let latest;
|
|
18
|
+
const throttled = (...args) => {
|
|
19
|
+
latest = args;
|
|
20
|
+
if (frame !== null)
|
|
21
|
+
return;
|
|
22
|
+
frame = requestAnimationFrame(() => {
|
|
23
|
+
frame = null;
|
|
24
|
+
fn(...latest);
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
throttled.cancel = () => {
|
|
28
|
+
if (frame !== null)
|
|
29
|
+
cancelAnimationFrame(frame);
|
|
30
|
+
frame = null;
|
|
31
|
+
};
|
|
32
|
+
return throttled;
|
|
33
|
+
};
|
|
34
|
+
exports.rafThrottle = rafThrottle;
|
package/dist/Utils/table.d.ts
CHANGED
package/dist/Utils/table.js
CHANGED
|
@@ -45,6 +45,13 @@ exports.useDebounce = useDebounce;
|
|
|
45
45
|
exports.globalSearchFilter = globalSearchFilter;
|
|
46
46
|
const react_1 = __importStar(require("react"));
|
|
47
47
|
const accentText_1 = require("../Theme/tokens/builders/accentText");
|
|
48
|
+
// Built once, not per comparison: sorting 10k rows runs this ~130k times, and constructing a
|
|
49
|
+
// collator is orders of magnitude dearer than using one.
|
|
50
|
+
const COLLATOR = new Intl.Collator(undefined, {
|
|
51
|
+
numeric: true,
|
|
52
|
+
sensitivity: "base",
|
|
53
|
+
});
|
|
54
|
+
const HAS_DIGIT = /\d/;
|
|
48
55
|
/**
|
|
49
56
|
* Type-aware, null-safe comparison. Detects numbers and dates; otherwise falls
|
|
50
57
|
* back to a numeric-aware locale string compare. Empty/null values sort last.
|
|
@@ -67,11 +74,15 @@ function compareValues(aRaw, bRaw, direction) {
|
|
|
67
74
|
const bn = Number(b);
|
|
68
75
|
if (!Number.isNaN(an) && !Number.isNaN(bn))
|
|
69
76
|
return (an - bn) * dir;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
// No digit means no date, so this skips two Date.parse calls per comparison on the common
|
|
78
|
+
// text columns (names, emails, statuses) without changing which strings parse as dates.
|
|
79
|
+
if (HAS_DIGIT.test(a) && HAS_DIGIT.test(b)) {
|
|
80
|
+
const ad = Date.parse(a);
|
|
81
|
+
const bd = Date.parse(b);
|
|
82
|
+
if (!Number.isNaN(ad) && !Number.isNaN(bd))
|
|
83
|
+
return (ad - bd) * dir;
|
|
84
|
+
}
|
|
85
|
+
return COLLATOR.compare(a, b) * dir;
|
|
75
86
|
}
|
|
76
87
|
function SortMultiColumnData(data, sortConfig) {
|
|
77
88
|
const active = sortConfig.filter((s) => s.direction !== "none");
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const DefaultLogo = () => {
|
|
3
|
+
return (_jsxs("svg", { width: "12.09", height: "15.95", viewBox: "0 0 31 29", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("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: "currentColor" }), _jsx("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: "currentColor" }), _jsx("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: "currentColor" })] }));
|
|
4
|
+
};
|
|
5
|
+
export default DefaultLogo;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { Accordion as ChakraAccordian, AccordionItem, AccordionButton, AccordionPanel, Box, Flex, } from "@chakra-ui/react";
|
|
4
|
+
import { ChevronDown } from "lucide-react";
|
|
5
|
+
import { useCustomTheme } from "../../Theme/useCustomTheme.js";
|
|
6
|
+
import { DEFAULT_CANVAS, isDarkCanvas } from "../../Theme/tokens/builders/accentText.js";
|
|
7
|
+
import { getAccordionHoverColors } from "./accordionColors.js";
|
|
8
|
+
const Accordion = ({ allowMultiple, allowToggle, index, onChange, reduceMotion, items, ...rest }) => {
|
|
9
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
10
|
+
const theme = useCustomTheme();
|
|
11
|
+
const c = (_a = theme.colors) !== null && _a !== void 0 ? _a : {};
|
|
12
|
+
const isDark = isDarkCanvas((_c = (_b = c.backgroundColor) === null || _b === void 0 ? void 0 : _b.main) !== null && _c !== void 0 ? _c : DEFAULT_CANVAS);
|
|
13
|
+
const border = (_e = (_d = c.boxborder) === null || _d === void 0 ? void 0 : _d[300]) !== null && _e !== void 0 ? _e : (_f = c.gray) === null || _f === void 0 ? void 0 : _f[200];
|
|
14
|
+
const headingColor = (_h = (_g = c.text) === null || _g === void 0 ? void 0 : _g[800]) !== null && _h !== void 0 ? _h : (_j = c.gray) === null || _j === void 0 ? void 0 : _j[800];
|
|
15
|
+
const bodyColor = (_l = (_k = c.text) === null || _k === void 0 ? void 0 : _k[600]) !== null && _l !== void 0 ? _l : (_m = c.gray) === null || _m === void 0 ? void 0 : _m[600];
|
|
16
|
+
const { expandedBg, softHover } = useMemo(() => { var _a; return getAccordionHoverColors((_a = theme.colors) !== null && _a !== void 0 ? _a : {}, isDark); }, [theme.colors, isDark]);
|
|
17
|
+
return (_jsx(ChakraAccordian, { allowMultiple: allowMultiple, allowToggle: allowToggle, index: index, onChange: onChange, reduceMotion: reduceMotion, ...rest, children: items.map((item, idx) => {
|
|
18
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
19
|
+
return (_jsx(AccordionItem, { border: `0.063rem solid ${border}`, borderRadius: "xl", bg: (_b = (_a = c.background) === null || _a === void 0 ? void 0 : _a[50]) !== null && _b !== void 0 ? _b : (_c = c.backgroundColor) === null || _c === void 0 ? void 0 : _c.light, mb: 3, overflow: "hidden", transition: "border-color 0.15s ease, box-shadow 0.15s ease", _last: { mb: 0 }, _hover: { borderColor: (_e = (_d = c.boxborder) === null || _d === void 0 ? void 0 : _d[400]) !== null && _e !== void 0 ? _e : (_f = c.gray) === null || _f === void 0 ? void 0 : _f[300] }, ...item.itemProps, sx: (_g = item.customStyles) === null || _g === void 0 ? void 0 : _g.itemStyle, children: ({ isExpanded }) => {
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
21
|
+
return (_jsxs(_Fragment, { children: [_jsx("h2", { children: _jsxs(AccordionButton, { px: 4, py: 3, gap: 3, fontSize: "0.875rem", fontWeight: 600, color: headingColor, bg: isExpanded ? expandedBg : "transparent", transition: "background 0.15s ease", _hover: { bg: isExpanded ? expandedBg : softHover }, _focusVisible: {
|
|
22
|
+
boxShadow: "none",
|
|
23
|
+
outline: `0.125rem solid ${(_b = (_a = c.primary) === null || _a === void 0 ? void 0 : _a[300]) !== null && _b !== void 0 ? _b : (_c = c.gray) === null || _c === void 0 ? void 0 : _c[300]}`,
|
|
24
|
+
outlineOffset: "-0.125rem",
|
|
25
|
+
}, ...item.buttonProps, sx: {
|
|
26
|
+
...(_d = item.customStyles) === null || _d === void 0 ? void 0 : _d.buttonStyle,
|
|
27
|
+
"&:hover": {
|
|
28
|
+
...(_e = item.customStyles) === null || _e === void 0 ? void 0 : _e.hoverbuttonStyle,
|
|
29
|
+
},
|
|
30
|
+
}, children: [_jsx(Box, { as: "span", flex: "1", textAlign: "left", children: item.header }), _jsx(Flex, { align: "center", justify: "center", boxSize: "1.5rem", flexShrink: 0, borderRadius: "md", color: isExpanded ? ((_g = (_f = c.primary) === null || _f === void 0 ? void 0 : _f[600]) !== null && _g !== void 0 ? _g : headingColor) : (_h = c.gray) === null || _h === void 0 ? void 0 : _h[500], bg: isExpanded ? ((_l = (_k = (_j = c.primary) === null || _j === void 0 ? void 0 : _j.opacity) === null || _k === void 0 ? void 0 : _k[16]) !== null && _l !== void 0 ? _l : "transparent") : "transparent", transform: isExpanded ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s ease, color 0.2s ease, background 0.2s ease", children: _jsx(ChevronDown, { size: 16 }) })] }) }), _jsx(AccordionPanel, { px: 4, pt: 1, pb: 4, fontSize: "0.875rem", lineHeight: "1.5", color: bodyColor, ...item.panelProps, sx: (_m = item.customStyles) === null || _m === void 0 ? void 0 : _m.panelStyle, children: item.content })] }));
|
|
31
|
+
} }, idx));
|
|
32
|
+
}) }));
|
|
33
|
+
};
|
|
34
|
+
export default Accordion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { compositeOver } from "../../Theme/tokens/builders/color.js";
|
|
2
|
+
import { liftToContrast } from "../../Theme/tokens/builders/outlineRung.js";
|
|
3
|
+
/**
|
|
4
|
+
* Same perceptibility floor the SideBar ladder uses — a state a user cannot see is not a state.
|
|
5
|
+
* Light mode `softHover` measured 1.042-1.105 across all 9 brands (invisible) while dark sat at
|
|
6
|
+
* 1.58-1.85; `expandedBg` (`primary.opacity[8]`, an 8%-alpha tint) is the same bug class — an
|
|
7
|
+
* 8% tint composited over a near-white canvas is itself near-white. Both are resolved against
|
|
8
|
+
* the rest surface so light and dark actually agree on "you can see this".
|
|
9
|
+
*/
|
|
10
|
+
const MIN_HOVER_STEP = 1.15;
|
|
11
|
+
export const getAccordionHoverColors = (colors, isDark) => {
|
|
12
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
13
|
+
if (isDark) {
|
|
14
|
+
// primary.opacity[8] composited over the dark canvas collapses to ~1.07:1 (near-black on
|
|
15
|
+
// near-black) — gray[200] is an opaque rung that stays visibly above canvas (~1.6:1) without
|
|
16
|
+
// being as loud as the gray[300] hover fill FilterSidebar/Table already use.
|
|
17
|
+
return {
|
|
18
|
+
expandedBg: (_d = (_b = (_a = colors.gray) === null || _a === void 0 ? void 0 : _a[200]) !== null && _b !== void 0 ? _b : (_c = colors.gray) === null || _c === void 0 ? void 0 : _c[300]) !== null && _d !== void 0 ? _d : (_e = colors.gray) === null || _e === void 0 ? void 0 : _e[50],
|
|
19
|
+
softHover: (_j = (_g = (_f = colors.gray) === null || _f === void 0 ? void 0 : _f[200]) !== null && _g !== void 0 ? _g : (_h = colors.gray) === null || _h === void 0 ? void 0 : _h[300]) !== null && _j !== void 0 ? _j : (_k = colors.gray) === null || _k === void 0 ? void 0 : _k[50],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const rest = (_m = (_l = colors.background) === null || _l === void 0 ? void 0 : _l[50]) !== null && _m !== void 0 ? _m : (_o = colors.backgroundColor) === null || _o === void 0 ? void 0 : _o.light;
|
|
23
|
+
const expandedTint = ((_q = (_p = colors.primary) === null || _p === void 0 ? void 0 : _p.opacity) === null || _q === void 0 ? void 0 : _q[8])
|
|
24
|
+
? compositeOver(colors.primary.opacity[8], rest)
|
|
25
|
+
: ((_s = (_r = colors.gray) === null || _r === void 0 ? void 0 : _r[50]) !== null && _s !== void 0 ? _s : rest);
|
|
26
|
+
return {
|
|
27
|
+
expandedBg: liftToContrast(expandedTint, rest, "light", MIN_HOVER_STEP),
|
|
28
|
+
softHover: liftToContrast((_v = (_u = (_t = colors.table) === null || _t === void 0 ? void 0 : _t.hover) === null || _u === void 0 ? void 0 : _u[100]) !== null && _v !== void 0 ? _v : (_w = colors.gray) === null || _w === void 0 ? void 0 : _w[50], rest, "light", MIN_HOVER_STEP),
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { AlertDialog as ChakraAlertDialog, AlertDialogBody, AlertDialogCloseButton, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, Button, } from "@chakra-ui/react";
|
|
3
|
+
import { useCustomTheme } from "../../Theme/useCustomTheme.js";
|
|
4
|
+
const AlertDialog = ({ isOpen, onClose, leastDestructiveRef, content, title, confirmButtonText = "Yes", cancelButtonText = "No", isConfirmLoading, onConfirm, ContentStyle, headerStyle, bodyStyle, footerStyle, closeButtonStyle, button1Style, button2Style, isCentered, key, }) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const { colors } = useCustomTheme();
|
|
7
|
+
return (_jsxs(ChakraAlertDialog, { motionPreset: "slideInBottom", leastDestructiveRef: leastDestructiveRef, onClose: onClose, isOpen: isOpen, isCentered: isCentered, children: [_jsx(AlertDialogOverlay, {}), _jsxs(AlertDialogContent, { bg: (_a = colors === null || colors === void 0 ? void 0 : colors.background) === null || _a === void 0 ? void 0 : _a[50], sx: ContentStyle, children: [_jsx(AlertDialogHeader, { sx: headerStyle, children: title }), _jsx(AlertDialogCloseButton, { sx: closeButtonStyle }), _jsx(AlertDialogBody, { sx: bodyStyle, children: content }), _jsxs(AlertDialogFooter, { sx: footerStyle, children: [_jsx(Button, { ref: leastDestructiveRef, onClick: onClose, variant: "outline", colorScheme: "red", size: "sm", sx: button1Style, children: cancelButtonText }), _jsx(Button, { colorScheme: "primary", onClick: onConfirm, isLoading: isConfirmLoading, ml: 3, size: "sm", sx: button2Style, children: confirmButtonText })] })] })] }, key));
|
|
8
|
+
};
|
|
9
|
+
export default AlertDialog;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|