@memobit/libs 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2834
- package/dist/index.esm.js +1203 -1203
- package/dist/src/components/Accordion/Accordion.d.ts +17 -0
- package/dist/src/components/Accordion/index.d.ts +2 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +10 -0
- package/dist/src/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/components/AppHeader/AppHeader.d.ts +13 -0
- package/dist/src/components/AppHeader/index.d.ts +2 -0
- package/dist/src/components/Auth/ChangePasswordModal/ChangePasswordModal.d.ts +7 -0
- package/dist/src/components/Auth/ChangePasswordModal/index.d.ts +1 -0
- package/dist/src/components/Auth/Login/Login.d.ts +5 -0
- package/dist/src/components/Auth/Login/index.d.ts +1 -0
- package/dist/src/components/Auth/index.d.ts +3 -0
- package/dist/src/components/AvatarInitials/AvatarInitials.d.ts +11 -0
- package/dist/src/components/AvatarInitials/index.d.ts +1 -0
- package/dist/src/components/BMI/BMI.d.ts +12 -0
- package/dist/src/components/BMI/bmiUtils.d.ts +15 -0
- package/dist/src/components/BMI/index.d.ts +2 -0
- package/dist/src/components/Badge/Badge.d.ts +14 -0
- package/dist/src/components/Badge/index.d.ts +1 -0
- package/dist/src/components/Banner/Banner.d.ts +17 -0
- package/dist/src/components/Banner/index.d.ts +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +13 -0
- package/dist/src/components/Breadcrumb/index.d.ts +2 -0
- package/dist/src/components/BulkActionBar/BulkActionBar.d.ts +29 -0
- package/dist/src/components/BulkActionBar/index.d.ts +1 -0
- package/dist/src/components/Button/Button.d.ts +26 -0
- package/dist/src/components/Button/index.d.ts +1 -0
- package/dist/src/components/Calendar/Calendar.d.ts +25 -0
- package/dist/src/components/Calendar/index.d.ts +2 -0
- package/dist/src/components/CalendarHeatmap/CalendarHeatmap.d.ts +13 -0
- package/dist/src/components/CalendarHeatmap/index.d.ts +1 -0
- package/dist/src/components/Card/Card.d.ts +24 -0
- package/dist/src/components/Card/index.d.ts +2 -0
- package/dist/src/components/ChatBot/ChatBot.d.ts +5 -0
- package/dist/src/components/ChatBot/index.d.ts +1 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +13 -0
- package/dist/src/components/Checkbox/index.d.ts +1 -0
- package/dist/src/components/Chip/Chip.d.ts +17 -0
- package/dist/src/components/Chip/index.d.ts +1 -0
- package/dist/src/components/CollapsibleSection/CollapsibleSection.d.ts +23 -0
- package/dist/src/components/CollapsibleSection/index.d.ts +1 -0
- package/dist/src/components/ColorPicker/ColorPicker.d.ts +6 -0
- package/dist/src/components/ColorPicker/index.d.ts +1 -0
- package/dist/src/components/CommandPalette/CommandPalette.d.ts +18 -0
- package/dist/src/components/CommandPalette/index.d.ts +1 -0
- package/dist/src/components/Confetti/Confetti.d.ts +15 -0
- package/dist/src/components/Confetti/index.d.ts +2 -0
- package/dist/src/components/ConfirmDialog/ConfirmDialog.d.ts +12 -0
- package/dist/src/components/ConfirmDialog/index.d.ts +1 -0
- package/dist/src/components/ConfirmPopover/ConfirmPopover.d.ts +24 -0
- package/dist/src/components/ConfirmPopover/index.d.ts +1 -0
- package/dist/src/components/ContextMenu/ContextMenu.d.ts +9 -0
- package/dist/src/components/ContextMenu/index.d.ts +1 -0
- package/dist/src/components/ContextToast/ContextToast.d.ts +30 -0
- package/dist/src/components/ContextToast/index.d.ts +1 -0
- package/dist/src/components/ControlPanel/ControlPanel.d.ts +4 -0
- package/dist/src/components/ControlPanel/ControlPanel.types.d.ts +206 -0
- package/dist/src/components/ControlPanel/ControlPanelContext.d.ts +15 -0
- package/dist/src/components/ControlPanel/ControlPanelFilter.d.ts +8 -0
- package/dist/src/components/ControlPanel/ControlPanelNav.d.ts +7 -0
- package/dist/src/components/ControlPanel/ControlPanelOptions.d.ts +11 -0
- package/dist/src/components/ControlPanel/index.d.ts +2 -0
- package/dist/src/components/CopyButton/CopyButton.d.ts +20 -0
- package/dist/src/components/CopyButton/index.d.ts +1 -0
- package/dist/src/components/CountryWithFlag/CountryWithFlag.d.ts +9 -0
- package/dist/src/components/CountryWithFlag/index.d.ts +1 -0
- package/dist/src/components/DataView/DataView.CardView.d.ts +29 -0
- package/dist/src/components/DataView/DataView.MiniSort.d.ts +10 -0
- package/dist/src/components/DataView/DataView.d.ts +2 -0
- package/dist/src/components/DataView/DataView.types.d.ts +133 -0
- package/dist/src/components/DataView/index.d.ts +2 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +16 -0
- package/dist/src/components/DatePicker/index.d.ts +2 -0
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts +21 -0
- package/dist/src/components/DateRangePicker/index.d.ts +1 -0
- package/dist/src/components/DiffViewer/DiffViewer.d.ts +15 -0
- package/dist/src/components/DiffViewer/index.d.ts +2 -0
- package/dist/src/components/Drawer/Drawer.d.ts +45 -0
- package/dist/src/components/Drawer/index.d.ts +2 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +37 -0
- package/dist/src/components/Dropdown/index.d.ts +1 -0
- package/dist/src/components/EmojiPicker/EmojiPicker.d.ts +6 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/activities.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/animals.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/food.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/index.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/objects.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/people.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/smileys.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/symbols.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/travel.d.ts +1 -0
- package/dist/src/components/EmojiPicker/index.d.ts +1 -0
- package/dist/src/components/EmptyState/EmptyState.d.ts +13 -0
- package/dist/src/components/EmptyState/index.d.ts +1 -0
- package/dist/src/components/ErrorBoundary/ErrorBoundary.d.ts +30 -0
- package/dist/src/components/ErrorBoundary/index.d.ts +1 -0
- package/dist/src/components/FileDropzone/FileDropzone.d.ts +9 -0
- package/dist/src/components/FileDropzone/index.d.ts +1 -0
- package/dist/src/components/Flag/Flag.d.ts +8 -0
- package/dist/src/components/Flag/index.d.ts +1 -0
- package/dist/src/components/FloatButton/FloatButton.d.ts +12 -0
- package/dist/src/components/FloatButton/index.d.ts +2 -0
- package/dist/src/components/FolderBrowserModal/FolderBrowserModal.d.ts +26 -0
- package/dist/src/components/FolderBrowserModal/index.d.ts +2 -0
- package/dist/src/components/Icon/Icon.d.ts +18 -0
- package/dist/src/components/Icon/iconMap.d.ts +3 -0
- package/dist/src/components/Icon/iconNames.d.ts +1 -0
- package/dist/src/components/Icon/index.d.ts +2 -0
- package/dist/src/components/InfiniteScroll/InfiniteScroll.d.ts +23 -0
- package/dist/src/components/InfiniteScroll/index.d.ts +2 -0
- package/dist/src/components/InputDate/InputDate.d.ts +25 -0
- package/dist/src/components/InputDate/index.d.ts +1 -0
- package/dist/src/components/InputEmail/InputEmail.d.ts +26 -0
- package/dist/src/components/InputEmail/index.d.ts +2 -0
- package/dist/src/components/InputFile/InputFile.d.ts +18 -0
- package/dist/src/components/InputFile/index.d.ts +1 -0
- package/dist/src/components/InputMask/InputMask.d.ts +59 -0
- package/dist/src/components/InputMask/index.d.ts +1 -0
- package/dist/src/components/InputNumber/InputNumber.d.ts +23 -0
- package/dist/src/components/InputNumber/index.d.ts +1 -0
- package/dist/src/components/InputPassword/InputPassword.d.ts +23 -0
- package/dist/src/components/InputPassword/index.d.ts +1 -0
- package/dist/src/components/InputPhone/InputPhone.d.ts +21 -0
- package/dist/src/components/InputPhone/index.d.ts +1 -0
- package/dist/src/components/InputSearch/InputSearch.d.ts +19 -0
- package/dist/src/components/InputSearch/index.d.ts +2 -0
- package/dist/src/components/InputText/InputText.d.ts +23 -0
- package/dist/src/components/InputText/index.d.ts +1 -0
- package/dist/src/components/InputTextarea/InputTextarea.d.ts +23 -0
- package/dist/src/components/InputTextarea/index.d.ts +1 -0
- package/dist/src/components/InputTime/InputTime.d.ts +22 -0
- package/dist/src/components/InputTime/index.d.ts +1 -0
- package/dist/src/components/InputUrl/InputUrl.d.ts +24 -0
- package/dist/src/components/InputUrl/index.d.ts +1 -0
- package/dist/src/components/JourneyWizard/JourneyWizard.d.ts +23 -0
- package/dist/src/components/JourneyWizard/index.d.ts +1 -0
- package/dist/src/components/List/List.d.ts +16 -0
- package/dist/src/components/List/index.d.ts +1 -0
- package/dist/src/components/Loading/Loading.d.ts +2 -0
- package/dist/src/components/Loading/index.d.ts +1 -0
- package/dist/src/components/MenuHamburger/MenuHamburger.d.ts +19 -0
- package/dist/src/components/MenuHamburger/index.d.ts +2 -0
- package/dist/src/components/MiniSort/MiniSort.d.ts +23 -0
- package/dist/src/components/MiniSort/index.d.ts +2 -0
- package/dist/src/components/MiniStatsCard/MiniStatsCard.d.ts +34 -0
- package/dist/src/components/MiniStatsCard/index.d.ts +2 -0
- package/dist/src/components/Minimap/Minimap.d.ts +24 -0
- package/dist/src/components/Minimap/index.d.ts +2 -0
- package/dist/src/components/Modal/Modal.d.ts +20 -0
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/NavBar/NavBar.d.ts +22 -0
- package/dist/src/components/NavBar/index.d.ts +1 -0
- package/dist/src/components/NotificationPanel/NotificationPanel.d.ts +14 -0
- package/dist/src/components/NotificationPanel/index.d.ts +2 -0
- package/dist/src/components/Pagination/Pagination.d.ts +15 -0
- package/dist/src/components/Pagination/index.d.ts +1 -0
- package/dist/src/components/PieChart/PieChart.d.ts +19 -0
- package/dist/src/components/PieChart/index.d.ts +1 -0
- package/dist/src/components/Popover/Popover.d.ts +18 -0
- package/dist/src/components/Popover/hooks/Popover.hook.d.ts +11 -0
- package/dist/src/components/Popover/index.d.ts +2 -0
- package/dist/src/components/ProgressBar/ProgressBar.d.ts +20 -0
- package/dist/src/components/ProgressBar/index.d.ts +1 -0
- package/dist/src/components/ProgressRing/ProgressRing.d.ts +16 -0
- package/dist/src/components/ProgressRing/index.d.ts +1 -0
- package/dist/src/components/QuantitySelector/QuantitySelector.d.ts +17 -0
- package/dist/src/components/QuantitySelector/index.d.ts +1 -0
- package/dist/src/components/QuickAdd/QuickAdd.d.ts +14 -0
- package/dist/src/components/QuickAdd/index.d.ts +1 -0
- package/dist/src/components/QuickNumberUpdate/QuickNumberUpdate.d.ts +14 -0
- package/dist/src/components/QuickNumberUpdate/index.d.ts +1 -0
- package/dist/src/components/QuickOptionUpdate/QuickOptionUpdate.d.ts +16 -0
- package/dist/src/components/QuickOptionUpdate/index.d.ts +1 -0
- package/dist/src/components/Radio/Radio.d.ts +12 -0
- package/dist/src/components/Radio/index.d.ts +1 -0
- package/dist/src/components/Rating/Rating.d.ts +17 -0
- package/dist/src/components/Rating/RatingIcon.d.ts +12 -0
- package/dist/src/components/Rating/index.d.ts +1 -0
- package/dist/src/components/RichTextEditor/RichTextEditor.d.ts +16 -0
- package/dist/src/components/RichTextEditor/RteLinkPrompt.d.ts +12 -0
- package/dist/src/components/RichTextEditor/RteTableToolbar.d.ts +15 -0
- package/dist/src/components/RichTextEditor/RteToolbar.d.ts +14 -0
- package/dist/src/components/RichTextEditor/helpers.d.ts +17 -0
- package/dist/src/components/RichTextEditor/hooks/useEditorHistory.d.ts +6 -0
- package/dist/src/components/RichTextEditor/hooks/useLinkPrompt.d.ts +18 -0
- package/dist/src/components/RichTextEditor/hooks/useTableOps.d.ts +24 -0
- package/dist/src/components/RichTextEditor/index.d.ts +1 -0
- package/dist/src/components/ScrollToTop/ScrollToTop.d.ts +8 -0
- package/dist/src/components/ScrollToTop/index.d.ts +1 -0
- package/dist/src/components/Separator/Separator.d.ts +14 -0
- package/dist/src/components/Separator/index.d.ts +2 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +39 -0
- package/dist/src/components/Sidebar/SidebarContext.d.ts +15 -0
- package/dist/src/components/Sidebar/index.d.ts +2 -0
- package/dist/src/components/SignalStrength/SignalStrength.d.ts +13 -0
- package/dist/src/components/SignalStrength/index.d.ts +1 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/Slider/Slider.d.ts +25 -0
- package/dist/src/components/Slider/index.d.ts +1 -0
- package/dist/src/components/SplitPanel/SplitPanel.d.ts +20 -0
- package/dist/src/components/SplitPanel/index.d.ts +1 -0
- package/dist/src/components/StackedBar/StackedBar.d.ts +22 -0
- package/dist/src/components/StackedBar/index.d.ts +1 -0
- package/dist/src/components/Stats/Stats.d.ts +20 -0
- package/dist/src/components/Stats/index.d.ts +2 -0
- package/dist/src/components/StickyBar/StickyBar.d.ts +19 -0
- package/dist/src/components/StickyBar/index.d.ts +2 -0
- package/dist/src/components/SuggestionsList/SuggestionsList.d.ts +15 -0
- package/dist/src/components/SuggestionsList/index.d.ts +1 -0
- package/dist/src/components/ThemeSettings/ThemeContext.d.ts +10 -0
- package/dist/src/components/ThemeSettings/ThemeContextValue.d.ts +19 -0
- package/dist/src/components/ThemeSettings/ThemeSettings.d.ts +12 -0
- package/dist/src/components/ThemeSettings/index.d.ts +5 -0
- package/dist/src/components/ThemeSettings/themeConfig.d.ts +14 -0
- package/dist/src/components/ThemeSettings/useTheme.d.ts +2 -0
- package/dist/src/components/Timeline/Timeline.d.ts +28 -0
- package/dist/src/components/Timeline/index.d.ts +1 -0
- package/dist/src/components/TimelineMarkers/TimelineMarkers.d.ts +26 -0
- package/dist/src/components/TimelineMarkers/index.d.ts +1 -0
- package/dist/src/components/TipsOfTheDay/TipsOfTheDay.d.ts +6 -0
- package/dist/src/components/TipsOfTheDay/index.d.ts +1 -0
- package/dist/src/components/Toast/Toast.d.ts +19 -0
- package/dist/src/components/Toast/index.d.ts +1 -0
- package/dist/src/components/ToggleButtons/ToggleButtons.d.ts +19 -0
- package/dist/src/components/ToggleButtons/index.d.ts +1 -0
- package/dist/src/components/ToggleSwitch/ToggleSwitch.d.ts +14 -0
- package/dist/src/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/src/components/Toolbar/Toolbar.d.ts +70 -0
- package/dist/src/components/Toolbar/index.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +14 -0
- package/dist/src/components/Tooltip/index.d.ts +2 -0
- package/dist/src/components/TourHud/TourHud.d.ts +22 -0
- package/dist/src/components/TourHud/index.d.ts +2 -0
- package/dist/src/components/Tree/Tree.d.ts +28 -0
- package/dist/src/components/Tree/index.d.ts +1 -0
- package/dist/src/components/WHtR/WHtR.d.ts +10 -0
- package/dist/src/components/WHtR/index.d.ts +1 -0
- package/dist/src/contexts/AuthContext/AuthContext.d.ts +9 -0
- package/dist/src/contexts/AuthContext/index.d.ts +1 -0
- package/dist/src/helpers/AppPersistenceStorage.d.ts +12 -0
- package/dist/src/helpers/Datetime.d.ts +61 -0
- package/dist/src/helpers/Format.d.ts +3 -0
- package/dist/src/helpers/Highlight.d.ts +2 -0
- package/dist/src/helpers/HtmlContent.d.ts +24 -0
- package/dist/src/helpers/LogicalOperators.d.ts +2 -0
- package/dist/src/helpers/Numbers.d.ts +6 -0
- package/dist/src/helpers/Pagination.d.ts +1 -0
- package/dist/src/helpers/Search.d.ts +2 -0
- package/dist/src/helpers/Strings.d.ts +6 -0
- package/dist/src/helpers/Urls.d.ts +3 -0
- package/dist/src/helpers/VersionInfo.d.ts +18 -0
- package/dist/src/hooks/useAppPersistence.d.ts +13 -0
- package/dist/src/hooks/useAuth/index.d.ts +1 -0
- package/dist/src/hooks/useAuth/useAuth.d.ts +2 -0
- package/dist/src/hooks/useBodyScrollLock.d.ts +1 -0
- package/dist/src/hooks/useBreakpoint.d.ts +32 -0
- package/dist/src/hooks/useComponentEffect.d.ts +1 -0
- package/dist/src/icons/active.d.ts +1 -0
- package/dist/src/icons/afternoon.d.ts +1 -0
- package/dist/src/icons/ajax.d.ts +1 -0
- package/dist/src/icons/alarm.d.ts +1 -0
- package/dist/src/icons/analysis.d.ts +1 -0
- package/dist/src/icons/angular.d.ts +1 -0
- package/dist/src/icons/announcement.d.ts +1 -0
- package/dist/src/icons/anomaly.d.ts +1 -0
- package/dist/src/icons/ant.d.ts +1 -0
- package/dist/src/icons/antenna.d.ts +1 -0
- package/dist/src/icons/api.d.ts +1 -0
- package/dist/src/icons/appliances.d.ts +1 -0
- package/dist/src/icons/archive.d.ts +1 -0
- package/dist/src/icons/arrow-bidirectional-horizontal.d.ts +1 -0
- package/dist/src/icons/arrow-bidirectional-vertical.d.ts +1 -0
- package/dist/src/icons/arrow-down.d.ts +1 -0
- package/dist/src/icons/arrow-left.d.ts +1 -0
- package/dist/src/icons/arrow-right.d.ts +1 -0
- package/dist/src/icons/arrow-up.d.ts +1 -0
- package/dist/src/icons/atom.d.ts +1 -0
- package/dist/src/icons/avocado.d.ts +1 -0
- package/dist/src/icons/badge.d.ts +1 -0
- package/dist/src/icons/ball.d.ts +1 -0
- package/dist/src/icons/balloon.d.ts +1 -0
- package/dist/src/icons/banana.d.ts +1 -0
- package/dist/src/icons/bank.d.ts +1 -0
- package/dist/src/icons/bat.d.ts +1 -0
- package/dist/src/icons/bath.d.ts +1 -0
- package/dist/src/icons/battery-charging.d.ts +1 -0
- package/dist/src/icons/battery-empty.d.ts +1 -0
- package/dist/src/icons/battery-full.d.ts +1 -0
- package/dist/src/icons/battery-half.d.ts +1 -0
- package/dist/src/icons/beans.d.ts +1 -0
- package/dist/src/icons/bear.d.ts +1 -0
- package/dist/src/icons/bed.d.ts +1 -0
- package/dist/src/icons/bee.d.ts +1 -0
- package/dist/src/icons/beer.d.ts +1 -0
- package/dist/src/icons/bell.d.ts +1 -0
- package/dist/src/icons/benefit.d.ts +1 -0
- package/dist/src/icons/birthday-cake.d.ts +1 -0
- package/dist/src/icons/blood.d.ts +1 -0
- package/dist/src/icons/blueberries.d.ts +1 -0
- package/dist/src/icons/bones.d.ts +1 -0
- package/dist/src/icons/book.d.ts +1 -0
- package/dist/src/icons/bow.d.ts +1 -0
- package/dist/src/icons/brain.d.ts +1 -0
- package/dist/src/icons/bread.d.ts +1 -0
- package/dist/src/icons/breakfast.d.ts +1 -0
- package/dist/src/icons/briefcase.d.ts +1 -0
- package/dist/src/icons/brightness.d.ts +1 -0
- package/dist/src/icons/broken-heart.d.ts +1 -0
- package/dist/src/icons/broom.d.ts +1 -0
- package/dist/src/icons/bug.d.ts +1 -0
- package/dist/src/icons/building.d.ts +1 -0
- package/dist/src/icons/bullet.d.ts +1 -0
- package/dist/src/icons/bunny.d.ts +1 -0
- package/dist/src/icons/burst.d.ts +1 -0
- package/dist/src/icons/bus.d.ts +1 -0
- package/dist/src/icons/butterfly.d.ts +1 -0
- package/dist/src/icons/button-device.d.ts +1 -0
- package/dist/src/icons/cake.d.ts +1 -0
- package/dist/src/icons/calculator.d.ts +1 -0
- package/dist/src/icons/calendar-day.d.ts +1 -0
- package/dist/src/icons/calendar-month.d.ts +1 -0
- package/dist/src/icons/calendar-week.d.ts +1 -0
- package/dist/src/icons/calendar-year.d.ts +1 -0
- package/dist/src/icons/calendar.d.ts +1 -0
- package/dist/src/icons/calibrate.d.ts +1 -0
- package/dist/src/icons/camera.d.ts +1 -0
- package/dist/src/icons/candy.d.ts +1 -0
- package/dist/src/icons/car.d.ts +1 -0
- package/dist/src/icons/carbs.d.ts +1 -0
- package/dist/src/icons/caret-down.d.ts +1 -0
- package/dist/src/icons/caret-left.d.ts +1 -0
- package/dist/src/icons/caret-right.d.ts +1 -0
- package/dist/src/icons/caret-up.d.ts +1 -0
- package/dist/src/icons/carrot.d.ts +1 -0
- package/dist/src/icons/cat.d.ts +1 -0
- package/dist/src/icons/categories.d.ts +1 -0
- package/dist/src/icons/caterpillar.d.ts +1 -0
- package/dist/src/icons/cd-dvd.d.ts +1 -0
- package/dist/src/icons/certificate.d.ts +1 -0
- package/dist/src/icons/chart.d.ts +1 -0
- package/dist/src/icons/checkmark.d.ts +1 -0
- package/dist/src/icons/cheese.d.ts +1 -0
- package/dist/src/icons/cherries.d.ts +1 -0
- package/dist/src/icons/chestnut.d.ts +1 -0
- package/dist/src/icons/chicken.d.ts +1 -0
- package/dist/src/icons/chocolate.d.ts +1 -0
- package/dist/src/icons/christmas-tree.d.ts +1 -0
- package/dist/src/icons/cigarette.d.ts +1 -0
- package/dist/src/icons/clear.d.ts +1 -0
- package/dist/src/icons/clipboard.d.ts +1 -0
- package/dist/src/icons/cloud.d.ts +1 -0
- package/dist/src/icons/coffee.d.ts +1 -0
- package/dist/src/icons/comment.d.ts +1 -0
- package/dist/src/icons/compass.d.ts +1 -0
- package/dist/src/icons/confetti.d.ts +1 -0
- package/dist/src/icons/connected.d.ts +1 -0
- package/dist/src/icons/context.d.ts +1 -0
- package/dist/src/icons/cook.d.ts +1 -0
- package/dist/src/icons/cookies.d.ts +1 -0
- package/dist/src/icons/cooling.d.ts +1 -0
- package/dist/src/icons/corn.d.ts +1 -0
- package/dist/src/icons/correlation.d.ts +1 -0
- package/dist/src/icons/cow.d.ts +1 -0
- package/dist/src/icons/cpu.d.ts +1 -0
- package/dist/src/icons/credit-card.d.ts +1 -0
- package/dist/src/icons/crystal-globe.d.ts +1 -0
- package/dist/src/icons/cube.d.ts +1 -0
- package/dist/src/icons/cucumber.d.ts +1 -0
- package/dist/src/icons/dashboard.d.ts +1 -0
- package/dist/src/icons/death.d.ts +1 -0
- package/dist/src/icons/defect.d.ts +1 -0
- package/dist/src/icons/delete.d.ts +1 -0
- package/dist/src/icons/dental.d.ts +1 -0
- package/dist/src/icons/deselect-all.d.ts +1 -0
- package/dist/src/icons/dessert.d.ts +1 -0
- package/dist/src/icons/detach.d.ts +1 -0
- package/dist/src/icons/devices.d.ts +1 -0
- package/dist/src/icons/digestive.d.ts +1 -0
- package/dist/src/icons/dinner.d.ts +1 -0
- package/dist/src/icons/dinosaur.d.ts +1 -0
- package/dist/src/icons/dishwasher.d.ts +1 -0
- package/dist/src/icons/dns.d.ts +1 -0
- package/dist/src/icons/doctor.d.ts +1 -0
- package/dist/src/icons/document.d.ts +1 -0
- package/dist/src/icons/documents.d.ts +1 -0
- package/dist/src/icons/dog.d.ts +1 -0
- package/dist/src/icons/dolphin.d.ts +1 -0
- package/dist/src/icons/door.d.ts +1 -0
- package/dist/src/icons/dot.d.ts +1 -0
- package/dist/src/icons/download.d.ts +1 -0
- package/dist/src/icons/dragon.d.ts +1 -0
- package/dist/src/icons/drying-machine.d.ts +1 -0
- package/dist/src/icons/duck.d.ts +1 -0
- package/dist/src/icons/duplicates.d.ts +1 -0
- package/dist/src/icons/ears.d.ts +1 -0
- package/dist/src/icons/earth.d.ts +1 -0
- package/dist/src/icons/edit.d.ts +1 -0
- package/dist/src/icons/egg.d.ts +1 -0
- package/dist/src/icons/eggplant.d.ts +1 -0
- package/dist/src/icons/elephant.d.ts +1 -0
- package/dist/src/icons/empty.d.ts +1 -0
- package/dist/src/icons/endocrine.d.ts +1 -0
- package/dist/src/icons/enlarge.d.ts +1 -0
- package/dist/src/icons/equalizer.d.ts +1 -0
- package/dist/src/icons/evening.d.ts +1 -0
- package/dist/src/icons/expense.d.ts +1 -0
- package/dist/src/icons/export.d.ts +1 -0
- package/dist/src/icons/external-link.d.ts +1 -0
- package/dist/src/icons/fan.d.ts +1 -0
- package/dist/src/icons/favorite.d.ts +1 -0
- package/dist/src/icons/fibers.d.ts +1 -0
- package/dist/src/icons/file.d.ts +1 -0
- package/dist/src/icons/filetype-avi.d.ts +1 -0
- package/dist/src/icons/filetype-bat.d.ts +1 -0
- package/dist/src/icons/filetype-c.d.ts +1 -0
- package/dist/src/icons/filetype-css.d.ts +1 -0
- package/dist/src/icons/filetype-csv.d.ts +1 -0
- package/dist/src/icons/filetype-doc.d.ts +1 -0
- package/dist/src/icons/filetype-docx.d.ts +1 -0
- package/dist/src/icons/filetype-gif.d.ts +1 -0
- package/dist/src/icons/filetype-html.d.ts +1 -0
- package/dist/src/icons/filetype-ico.d.ts +1 -0
- package/dist/src/icons/filetype-ini.d.ts +1 -0
- package/dist/src/icons/filetype-javascript.d.ts +1 -0
- package/dist/src/icons/filetype-jpeg.d.ts +1 -0
- package/dist/src/icons/filetype-jpg.d.ts +1 -0
- package/dist/src/icons/filetype-json.d.ts +1 -0
- package/dist/src/icons/filetype-less.d.ts +1 -0
- package/dist/src/icons/filetype-mp3.d.ts +1 -0
- package/dist/src/icons/filetype-mp4.d.ts +1 -0
- package/dist/src/icons/filetype-mpg.d.ts +1 -0
- package/dist/src/icons/filetype-pdf.d.ts +1 -0
- package/dist/src/icons/filetype-php.d.ts +1 -0
- package/dist/src/icons/filetype-png.d.ts +1 -0
- package/dist/src/icons/filetype-ppt.d.ts +1 -0
- package/dist/src/icons/filetype-psd.d.ts +1 -0
- package/dist/src/icons/filetype-rar.d.ts +1 -0
- package/dist/src/icons/filetype-sass.d.ts +1 -0
- package/dist/src/icons/filetype-sql.d.ts +1 -0
- package/dist/src/icons/filetype-tiff.d.ts +1 -0
- package/dist/src/icons/filetype-txt.d.ts +1 -0
- package/dist/src/icons/filetype-typescript.d.ts +1 -0
- package/dist/src/icons/filetype-wav.d.ts +1 -0
- package/dist/src/icons/filetype-xls.d.ts +1 -0
- package/dist/src/icons/filetype-xlsx.d.ts +1 -0
- package/dist/src/icons/filetype-xml.d.ts +1 -0
- package/dist/src/icons/filetype-zip.d.ts +1 -0
- package/dist/src/icons/filters.d.ts +1 -0
- package/dist/src/icons/fire.d.ts +1 -0
- package/dist/src/icons/firewall.d.ts +1 -0
- package/dist/src/icons/fireworks.d.ts +1 -0
- package/dist/src/icons/fish.d.ts +1 -0
- package/dist/src/icons/fishing-rod.d.ts +1 -0
- package/dist/src/icons/fog.d.ts +1 -0
- package/dist/src/icons/folder-open.d.ts +1 -0
- package/dist/src/icons/folder.d.ts +1 -0
- package/dist/src/icons/fondue.d.ts +1 -0
- package/dist/src/icons/food.d.ts +1 -0
- package/dist/src/icons/french-fries.d.ts +1 -0
- package/dist/src/icons/fridge.d.ts +1 -0
- package/dist/src/icons/fruits.d.ts +1 -0
- package/dist/src/icons/gallery.d.ts +1 -0
- package/dist/src/icons/gas-detector.d.ts +1 -0
- package/dist/src/icons/gateway.d.ts +1 -0
- package/dist/src/icons/gauge-high.d.ts +1 -0
- package/dist/src/icons/gauge-low.d.ts +1 -0
- package/dist/src/icons/gauge-medium.d.ts +1 -0
- package/dist/src/icons/gift-box.d.ts +1 -0
- package/dist/src/icons/girl.d.ts +1 -0
- package/dist/src/icons/github.d.ts +1 -0
- package/dist/src/icons/glass.d.ts +1 -0
- package/dist/src/icons/gloves.d.ts +1 -0
- package/dist/src/icons/glycemic-index.d.ts +1 -0
- package/dist/src/icons/goat.d.ts +1 -0
- package/dist/src/icons/graduation.d.ts +1 -0
- package/dist/src/icons/grid.d.ts +1 -0
- package/dist/src/icons/group.d.ts +1 -0
- package/dist/src/icons/gun.d.ts +1 -0
- package/dist/src/icons/hammer.d.ts +1 -0
- package/dist/src/icons/handshake.d.ts +1 -0
- package/dist/src/icons/hd.d.ts +1 -0
- package/dist/src/icons/headphones.d.ts +1 -0
- package/dist/src/icons/heart.d.ts +1 -0
- package/dist/src/icons/heating.d.ts +1 -0
- package/dist/src/icons/help.d.ts +1 -0
- package/dist/src/icons/hiking.d.ts +1 -0
- package/dist/src/icons/history.d.ts +1 -0
- package/dist/src/icons/home.d.ts +1 -0
- package/dist/src/icons/hospital.d.ts +1 -0
- package/dist/src/icons/humidity.d.ts +1 -0
- package/dist/src/icons/ice-cream.d.ts +1 -0
- package/dist/src/icons/identity.d.ts +1 -0
- package/dist/src/icons/image.d.ts +1 -0
- package/dist/src/icons/import.d.ts +1 -0
- package/dist/src/icons/inactive.d.ts +1 -0
- package/dist/src/icons/incognito.d.ts +1 -0
- package/dist/src/icons/information.d.ts +1 -0
- package/dist/src/icons/ingredients.d.ts +1 -0
- package/dist/src/icons/ink-cartridge.d.ts +1 -0
- package/dist/src/icons/ir-emitter.d.ts +1 -0
- package/dist/src/icons/joystick.d.ts +1 -0
- package/dist/src/icons/jupiter.d.ts +1 -0
- package/dist/src/icons/key.d.ts +1 -0
- package/dist/src/icons/knife.d.ts +1 -0
- package/dist/src/icons/laboratory.d.ts +1 -0
- package/dist/src/icons/language.d.ts +1 -0
- package/dist/src/icons/lantern.d.ts +1 -0
- package/dist/src/icons/layers.d.ts +1 -0
- package/dist/src/icons/leaf.d.ts +1 -0
- package/dist/src/icons/lemon.d.ts +1 -0
- package/dist/src/icons/light-bulb.d.ts +1 -0
- package/dist/src/icons/light-switch.d.ts +1 -0
- package/dist/src/icons/lightning.d.ts +1 -0
- package/dist/src/icons/link.d.ts +1 -0
- package/dist/src/icons/linkedin.d.ts +1 -0
- package/dist/src/icons/lipids.d.ts +1 -0
- package/dist/src/icons/list.d.ts +1 -0
- package/dist/src/icons/liver.d.ts +1 -0
- package/dist/src/icons/location.d.ts +1 -0
- package/dist/src/icons/lock-open.d.ts +1 -0
- package/dist/src/icons/lock.d.ts +1 -0
- package/dist/src/icons/logout.d.ts +1 -0
- package/dist/src/icons/lollipop.d.ts +1 -0
- package/dist/src/icons/lunch.d.ts +1 -0
- package/dist/src/icons/lungs.d.ts +1 -0
- package/dist/src/icons/magnet.d.ts +1 -0
- package/dist/src/icons/mail.d.ts +1 -0
- package/dist/src/icons/manage.d.ts +1 -0
- package/dist/src/icons/map.d.ts +1 -0
- package/dist/src/icons/mapping.d.ts +1 -0
- package/dist/src/icons/mars.d.ts +1 -0
- package/dist/src/icons/meat.d.ts +1 -0
- package/dist/src/icons/melon.d.ts +1 -0
- package/dist/src/icons/memory.d.ts +1 -0
- package/dist/src/icons/mental.d.ts +1 -0
- package/dist/src/icons/menu-hamburger.d.ts +1 -0
- package/dist/src/icons/mercury.d.ts +1 -0
- package/dist/src/icons/microphone.d.ts +1 -0
- package/dist/src/icons/microscope.d.ts +1 -0
- package/dist/src/icons/microwave.d.ts +1 -0
- package/dist/src/icons/milk.d.ts +1 -0
- package/dist/src/icons/minimum.d.ts +1 -0
- package/dist/src/icons/minus.d.ts +1 -0
- package/dist/src/icons/money.d.ts +1 -0
- package/dist/src/icons/monitor.d.ts +1 -0
- package/dist/src/icons/monkey.d.ts +1 -0
- package/dist/src/icons/moon.d.ts +1 -0
- package/dist/src/icons/morning.d.ts +1 -0
- package/dist/src/icons/motion.d.ts +1 -0
- package/dist/src/icons/mouse.d.ts +1 -0
- package/dist/src/icons/movie.d.ts +1 -0
- package/dist/src/icons/mushroom.d.ts +1 -0
- package/dist/src/icons/musical-note.d.ts +1 -0
- package/dist/src/icons/mute.d.ts +1 -0
- package/dist/src/icons/nas.d.ts +1 -0
- package/dist/src/icons/neptune.d.ts +1 -0
- package/dist/src/icons/nervous.d.ts +1 -0
- package/dist/src/icons/network.d.ts +1 -0
- package/dist/src/icons/next.d.ts +1 -0
- package/dist/src/icons/night.d.ts +1 -0
- package/dist/src/icons/ninja.d.ts +1 -0
- package/dist/src/icons/noon.d.ts +1 -0
- package/dist/src/icons/nose.d.ts +1 -0
- package/dist/src/icons/not-found.d.ts +1 -0
- package/dist/src/icons/notes.d.ts +1 -0
- package/dist/src/icons/notice.d.ts +1 -0
- package/dist/src/icons/offline.d.ts +1 -0
- package/dist/src/icons/olives.d.ts +1 -0
- package/dist/src/icons/online.d.ts +1 -0
- package/dist/src/icons/optimization.d.ts +1 -0
- package/dist/src/icons/other.d.ts +1 -0
- package/dist/src/icons/outdoor.d.ts +1 -0
- package/dist/src/icons/ownership.d.ts +1 -0
- package/dist/src/icons/pause.d.ts +1 -0
- package/dist/src/icons/pawn.d.ts +1 -0
- package/dist/src/icons/peanut.d.ts +1 -0
- package/dist/src/icons/pear.d.ts +1 -0
- package/dist/src/icons/penguin.d.ts +1 -0
- package/dist/src/icons/pepper.d.ts +1 -0
- package/dist/src/icons/pharmacy.d.ts +1 -0
- package/dist/src/icons/phone.d.ts +1 -0
- package/dist/src/icons/pig.d.ts +1 -0
- package/dist/src/icons/pill.d.ts +1 -0
- package/dist/src/icons/pin.d.ts +1 -0
- package/dist/src/icons/pizza.d.ts +1 -0
- package/dist/src/icons/plane.d.ts +1 -0
- package/dist/src/icons/play.d.ts +1 -0
- package/dist/src/icons/plug.d.ts +1 -0
- package/dist/src/icons/plus.d.ts +1 -0
- package/dist/src/icons/pluto.d.ts +1 -0
- package/dist/src/icons/polenta.d.ts +1 -0
- package/dist/src/icons/police-man.d.ts +1 -0
- package/dist/src/icons/police.d.ts +1 -0
- package/dist/src/icons/popcorn.d.ts +1 -0
- package/dist/src/icons/portions.d.ts +1 -0
- package/dist/src/icons/potato.d.ts +1 -0
- package/dist/src/icons/power.d.ts +1 -0
- package/dist/src/icons/predictions.d.ts +1 -0
- package/dist/src/icons/prescription.d.ts +1 -0
- package/dist/src/icons/previous.d.ts +1 -0
- package/dist/src/icons/printer.d.ts +1 -0
- package/dist/src/icons/proteins.d.ts +1 -0
- package/dist/src/icons/pudding.d.ts +1 -0
- package/dist/src/icons/pumpkin.d.ts +1 -0
- package/dist/src/icons/purifier.d.ts +1 -0
- package/dist/src/icons/puzzle.d.ts +1 -0
- package/dist/src/icons/radio.d.ts +1 -0
- package/dist/src/icons/rain.d.ts +1 -0
- package/dist/src/icons/rainbow.d.ts +1 -0
- package/dist/src/icons/raspberry.d.ts +1 -0
- package/dist/src/icons/reading.d.ts +1 -0
- package/dist/src/icons/referral.d.ts +1 -0
- package/dist/src/icons/reload.d.ts +1 -0
- package/dist/src/icons/repeat.d.ts +1 -0
- package/dist/src/icons/report.d.ts +1 -0
- package/dist/src/icons/reproductive.d.ts +1 -0
- package/dist/src/icons/return.d.ts +1 -0
- package/dist/src/icons/rice.d.ts +1 -0
- package/dist/src/icons/robot.d.ts +1 -0
- package/dist/src/icons/rocket.d.ts +1 -0
- package/dist/src/icons/romania-flag.d.ts +1 -0
- package/dist/src/icons/rooms.d.ts +1 -0
- package/dist/src/icons/router.d.ts +1 -0
- package/dist/src/icons/ruler.d.ts +1 -0
- package/dist/src/icons/running.d.ts +1 -0
- package/dist/src/icons/salad.d.ts +1 -0
- package/dist/src/icons/salt.d.ts +1 -0
- package/dist/src/icons/santa.d.ts +1 -0
- package/dist/src/icons/satellite.d.ts +1 -0
- package/dist/src/icons/saturn.d.ts +1 -0
- package/dist/src/icons/save.d.ts +1 -0
- package/dist/src/icons/scales.d.ts +1 -0
- package/dist/src/icons/scan.d.ts +1 -0
- package/dist/src/icons/school.d.ts +1 -0
- package/dist/src/icons/scissors.d.ts +1 -0
- package/dist/src/icons/score.d.ts +1 -0
- package/dist/src/icons/scss.d.ts +1 -0
- package/dist/src/icons/sd.d.ts +1 -0
- package/dist/src/icons/search.d.ts +1 -0
- package/dist/src/icons/security.d.ts +1 -0
- package/dist/src/icons/seeds.d.ts +1 -0
- package/dist/src/icons/sequence.d.ts +1 -0
- package/dist/src/icons/settings.d.ts +1 -0
- package/dist/src/icons/shield.d.ts +1 -0
- package/dist/src/icons/ship.d.ts +1 -0
- package/dist/src/icons/shopping-cart.d.ts +1 -0
- package/dist/src/icons/shrink.d.ts +1 -0
- package/dist/src/icons/signal-full.d.ts +1 -0
- package/dist/src/icons/signal-low.d.ts +1 -0
- package/dist/src/icons/signal-medium.d.ts +1 -0
- package/dist/src/icons/skin.d.ts +1 -0
- package/dist/src/icons/skull.d.ts +1 -0
- package/dist/src/icons/smartphone.d.ts +1 -0
- package/dist/src/icons/smb.d.ts +1 -0
- package/dist/src/icons/smoke-detector.d.ts +1 -0
- package/dist/src/icons/snake.d.ts +1 -0
- package/dist/src/icons/snow.d.ts +1 -0
- package/dist/src/icons/snowman.d.ts +1 -0
- package/dist/src/icons/soft-drink.d.ts +1 -0
- package/dist/src/icons/soup.d.ts +1 -0
- package/dist/src/icons/sources.d.ts +1 -0
- package/dist/src/icons/sparkle.d.ts +1 -0
- package/dist/src/icons/speaker.d.ts +1 -0
- package/dist/src/icons/speedometer.d.ts +1 -0
- package/dist/src/icons/square.d.ts +1 -0
- package/dist/src/icons/ssl.d.ts +1 -0
- package/dist/src/icons/staple.d.ts +1 -0
- package/dist/src/icons/star.d.ts +1 -0
- package/dist/src/icons/status.d.ts +1 -0
- package/dist/src/icons/stethoscope.d.ts +1 -0
- package/dist/src/icons/stop-sign.d.ts +1 -0
- package/dist/src/icons/stop.d.ts +1 -0
- package/dist/src/icons/storm.d.ts +1 -0
- package/dist/src/icons/strawberry.d.ts +1 -0
- package/dist/src/icons/streaming.d.ts +1 -0
- package/dist/src/icons/strength.d.ts +1 -0
- package/dist/src/icons/sugar.d.ts +1 -0
- package/dist/src/icons/sun.d.ts +1 -0
- package/dist/src/icons/surgery.d.ts +1 -0
- package/dist/src/icons/synchronize.d.ts +1 -0
- package/dist/src/icons/table.d.ts +1 -0
- package/dist/src/icons/target.d.ts +1 -0
- package/dist/src/icons/taxi.d.ts +1 -0
- package/dist/src/icons/technical.d.ts +1 -0
- package/dist/src/icons/teeth.d.ts +1 -0
- package/dist/src/icons/telescope.d.ts +1 -0
- package/dist/src/icons/theater.d.ts +1 -0
- package/dist/src/icons/theme-picker.d.ts +1 -0
- package/dist/src/icons/thermometer.d.ts +1 -0
- package/dist/src/icons/threshold.d.ts +1 -0
- package/dist/src/icons/time.d.ts +1 -0
- package/dist/src/icons/toggle-off.d.ts +1 -0
- package/dist/src/icons/toggle-on.d.ts +1 -0
- package/dist/src/icons/tomato.d.ts +1 -0
- package/dist/src/icons/toolbox.d.ts +1 -0
- package/dist/src/icons/train.d.ts +1 -0
- package/dist/src/icons/transactions.d.ts +1 -0
- package/dist/src/icons/transport-box.d.ts +1 -0
- package/dist/src/icons/tree.d.ts +1 -0
- package/dist/src/icons/trend-down.d.ts +1 -0
- package/dist/src/icons/trend-up.d.ts +1 -0
- package/dist/src/icons/trip.d.ts +1 -0
- package/dist/src/icons/trophy.d.ts +1 -0
- package/dist/src/icons/turkey.d.ts +1 -0
- package/dist/src/icons/turtle.d.ts +1 -0
- package/dist/src/icons/tv.d.ts +1 -0
- package/dist/src/icons/unarchive.d.ts +1 -0
- package/dist/src/icons/unassociated.d.ts +1 -0
- package/dist/src/icons/ungroup.d.ts +1 -0
- package/dist/src/icons/unmute.d.ts +1 -0
- package/dist/src/icons/upload.d.ts +1 -0
- package/dist/src/icons/upnp.d.ts +1 -0
- package/dist/src/icons/uranus.d.ts +1 -0
- package/dist/src/icons/user.d.ts +1 -0
- package/dist/src/icons/users.d.ts +1 -0
- package/dist/src/icons/vacuum.d.ts +1 -0
- package/dist/src/icons/vegetables.d.ts +1 -0
- package/dist/src/icons/venus.d.ts +1 -0
- package/dist/src/icons/vertical-dots.d.ts +1 -0
- package/dist/src/icons/video.d.ts +1 -0
- package/dist/src/icons/view.d.ts +1 -0
- package/dist/src/icons/virus.d.ts +1 -0
- package/dist/src/icons/wait.d.ts +1 -0
- package/dist/src/icons/wan.d.ts +1 -0
- package/dist/src/icons/warning.d.ts +1 -0
- package/dist/src/icons/washing-machine.d.ts +1 -0
- package/dist/src/icons/water-leak.d.ts +1 -0
- package/dist/src/icons/web.d.ts +1 -0
- package/dist/src/icons/website-crawl.d.ts +1 -0
- package/dist/src/icons/wifi.d.ts +1 -0
- package/dist/src/icons/wind.d.ts +1 -0
- package/dist/src/icons/workout.d.ts +1 -0
- package/dist/src/icons/wrench.d.ts +1 -0
- package/dist/src/icons/yoga.d.ts +1 -0
- package/dist/src/icons/youtube.d.ts +1 -0
- package/dist/src/index.d.ts +123 -0
- package/dist/src/types/auth.types.d.ts +37 -0
- package/dist/src/validators/Vin.d.ts +5 -0
- package/dist/src/version.d.ts +5 -0
- package/dist/version.json +4 -4
- package/package.json +14 -3
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
import { DropdownOption } from '../Dropdown';
|
|
4
|
+
import { IconName } from '../Icon';
|
|
5
|
+
export interface ControlPanelHeader {
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
emoji?: string;
|
|
8
|
+
svg?: ReactNode;
|
|
9
|
+
appName?: string;
|
|
10
|
+
siteName?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export interface ControlPanelActionConfirmButton {
|
|
15
|
+
text?: string;
|
|
16
|
+
icon?: IconName;
|
|
17
|
+
variant?: ButtonProps['variant'];
|
|
18
|
+
}
|
|
19
|
+
export interface ControlPanelActionConfirm {
|
|
20
|
+
/** Short heading shown above the message. Defaults to the action's label. */
|
|
21
|
+
title?: string;
|
|
22
|
+
/** Optional explanatory body. */
|
|
23
|
+
message?: string;
|
|
24
|
+
/** Optional leading icon next to the title. */
|
|
25
|
+
icon?: IconName;
|
|
26
|
+
/** Popover placement relative to the action button. Defaults to 'right'
|
|
27
|
+
* so the popover floats out into the main content area instead of
|
|
28
|
+
* obscuring the rest of the sidebar. */
|
|
29
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
30
|
+
/** Overrides for the confirm (primary) button label/icon/variant.
|
|
31
|
+
* The click handler always comes from the parent `ControlPanelAction.onClick`. */
|
|
32
|
+
confirm?: ControlPanelActionConfirmButton;
|
|
33
|
+
/** Overrides for the cancel (secondary) button. */
|
|
34
|
+
cancel?: ControlPanelActionConfirmButton;
|
|
35
|
+
}
|
|
36
|
+
export interface ControlPanelAction {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
onClick?: ButtonProps['onClick'];
|
|
40
|
+
icon?: IconName;
|
|
41
|
+
suffixIcon?: string;
|
|
42
|
+
variant?: ButtonProps['variant'];
|
|
43
|
+
size?: ButtonProps['size'];
|
|
44
|
+
fullWidth?: boolean;
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
/** When set, clicking the action opens a small confirmation popover anchored
|
|
47
|
+
* to the button instead of firing onClick directly. onClick fires only after
|
|
48
|
+
* the user picks the confirm option inside the popover. */
|
|
49
|
+
confirm?: ControlPanelActionConfirm;
|
|
50
|
+
}
|
|
51
|
+
export interface ControlPanelFilterOption extends DropdownOption {
|
|
52
|
+
color?: string;
|
|
53
|
+
count?: number | string;
|
|
54
|
+
/** Optional image URL rendered as a small round avatar before the option label.
|
|
55
|
+
* Used by the `chips` filter to show a face crop / product thumbnail / etc. */
|
|
56
|
+
imageUrl?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface ControlPanelDateRangePreset {
|
|
59
|
+
label: string;
|
|
60
|
+
days: number;
|
|
61
|
+
}
|
|
62
|
+
export type ControlPanelFilterType = 'radio' | 'chips' | 'dropdown' | 'text' | 'number' | 'rating' | 'range' | 'date-range' | 'search' | 'date' | 'checkbox';
|
|
63
|
+
export type ControlPanelFilterValue = string | number | boolean | string[] | number[] | null;
|
|
64
|
+
export interface ControlPanelFilter {
|
|
65
|
+
id: string;
|
|
66
|
+
label: string;
|
|
67
|
+
icon?: IconName;
|
|
68
|
+
type: ControlPanelFilterType;
|
|
69
|
+
options?: ControlPanelFilterOption[];
|
|
70
|
+
value?: ControlPanelFilterValue;
|
|
71
|
+
count?: number | string;
|
|
72
|
+
placeholder?: string;
|
|
73
|
+
multiple?: boolean;
|
|
74
|
+
searchable?: boolean;
|
|
75
|
+
min?: number;
|
|
76
|
+
max?: number;
|
|
77
|
+
step?: number;
|
|
78
|
+
maxRate?: number;
|
|
79
|
+
ratingIcon?: 'star' | 'bullet';
|
|
80
|
+
ratingVariant?: 'success' | 'info' | 'warning' | 'danger';
|
|
81
|
+
minDate?: string;
|
|
82
|
+
maxDate?: string;
|
|
83
|
+
presets?: ControlPanelDateRangePreset[];
|
|
84
|
+
isActive?: boolean;
|
|
85
|
+
/** Optional cap on the rendered options area. When set, the chip/option
|
|
86
|
+
* list becomes vertically scrollable past this height. Number is taken as
|
|
87
|
+
* px; string is passed through (`'40vh'`, `'320px'`, etc.). Omit to let
|
|
88
|
+
* the list expand freely. Honored by the `chips` filter today. */
|
|
89
|
+
maxHeight?: string | number;
|
|
90
|
+
}
|
|
91
|
+
export interface ControlPanelFilterChangeEvent {
|
|
92
|
+
filterId: string;
|
|
93
|
+
type: ControlPanelFilterType;
|
|
94
|
+
value: ControlPanelFilterValue;
|
|
95
|
+
option?: ControlPanelFilterOption | null;
|
|
96
|
+
options?: ControlPanelFilterOption[];
|
|
97
|
+
}
|
|
98
|
+
export interface ControlPanelClearFiltersEvent {
|
|
99
|
+
source: 'control-panel';
|
|
100
|
+
}
|
|
101
|
+
export interface ControlPanelOptionItem {
|
|
102
|
+
value: string | number;
|
|
103
|
+
label: string;
|
|
104
|
+
/** Optional hover tooltip describing the option. */
|
|
105
|
+
title?: string;
|
|
106
|
+
}
|
|
107
|
+
export type ControlPanelOption = {
|
|
108
|
+
id: string;
|
|
109
|
+
label: string;
|
|
110
|
+
type: 'checkbox';
|
|
111
|
+
value?: boolean;
|
|
112
|
+
} | {
|
|
113
|
+
id: string;
|
|
114
|
+
label?: string;
|
|
115
|
+
type: 'radio';
|
|
116
|
+
value?: string | number;
|
|
117
|
+
options: ControlPanelOptionItem[];
|
|
118
|
+
} | {
|
|
119
|
+
id: string;
|
|
120
|
+
label?: string;
|
|
121
|
+
type: 'chips';
|
|
122
|
+
value: Array<string | number>;
|
|
123
|
+
options: ControlPanelOptionItem[];
|
|
124
|
+
};
|
|
125
|
+
export interface ControlPanelOptionGroup {
|
|
126
|
+
id?: string;
|
|
127
|
+
label?: string;
|
|
128
|
+
options: ControlPanelOption[];
|
|
129
|
+
}
|
|
130
|
+
export interface ControlPanelOptionChangeEvent {
|
|
131
|
+
optionId: string;
|
|
132
|
+
value: boolean | string | number | Array<string | number>;
|
|
133
|
+
}
|
|
134
|
+
export type ControlPanelViewMode = 'table' | 'cards' | 'gallery';
|
|
135
|
+
export interface ControlPanelViewToggleOption {
|
|
136
|
+
value: ControlPanelViewMode;
|
|
137
|
+
label: string;
|
|
138
|
+
icon: IconName;
|
|
139
|
+
}
|
|
140
|
+
export interface ControlPanelViewToggleConfig {
|
|
141
|
+
value: string;
|
|
142
|
+
showGallery?: boolean;
|
|
143
|
+
/** Override the default Grid/Table/Gallery buttons with custom labels and icons. */
|
|
144
|
+
options?: ControlPanelViewToggleOption[];
|
|
145
|
+
onChange: (value: ControlPanelViewMode) => void;
|
|
146
|
+
}
|
|
147
|
+
export interface ControlPanelGroupByConfig {
|
|
148
|
+
value: string | null;
|
|
149
|
+
options: Array<{
|
|
150
|
+
value: string;
|
|
151
|
+
label: string;
|
|
152
|
+
}>;
|
|
153
|
+
onChange: (value: string | null) => void;
|
|
154
|
+
}
|
|
155
|
+
export interface ControlPanelVisibleColumnsConfig {
|
|
156
|
+
value: string[];
|
|
157
|
+
options: Array<{
|
|
158
|
+
value: string;
|
|
159
|
+
label: string;
|
|
160
|
+
}>;
|
|
161
|
+
onChange: (next: string[]) => void;
|
|
162
|
+
}
|
|
163
|
+
export interface ControlPanelNavItemBadge {
|
|
164
|
+
count: number;
|
|
165
|
+
variant: 'danger' | 'warning';
|
|
166
|
+
}
|
|
167
|
+
export interface ControlPanelNavItem {
|
|
168
|
+
id: string;
|
|
169
|
+
label: string;
|
|
170
|
+
isActive: boolean;
|
|
171
|
+
/** Visually fades the item (e.g. a toggled-off entry) while keeping it clickable. */
|
|
172
|
+
dimmed?: boolean;
|
|
173
|
+
onClick?: () => void;
|
|
174
|
+
icon?: IconName;
|
|
175
|
+
color?: string;
|
|
176
|
+
count?: number | string;
|
|
177
|
+
badges?: ControlPanelNavItemBadge[];
|
|
178
|
+
children?: ControlPanelNavItem[];
|
|
179
|
+
isOpen?: boolean;
|
|
180
|
+
onOpenChange?: (isOpen: boolean, item: ControlPanelNavItem) => void;
|
|
181
|
+
}
|
|
182
|
+
export interface ControlPanelProps {
|
|
183
|
+
width?: string;
|
|
184
|
+
className?: string;
|
|
185
|
+
isOpen?: boolean;
|
|
186
|
+
onClose?: () => void;
|
|
187
|
+
isMobile?: boolean;
|
|
188
|
+
showOverlay?: boolean;
|
|
189
|
+
contained?: boolean;
|
|
190
|
+
/** Removes the desktop margin and border-radius so the panel sits flush against content. */
|
|
191
|
+
flush?: boolean;
|
|
192
|
+
shadow?: string;
|
|
193
|
+
header?: ControlPanelHeader;
|
|
194
|
+
navigation?: ControlPanelNavItem[];
|
|
195
|
+
actions?: ControlPanelAction[];
|
|
196
|
+
filters?: ControlPanelFilter[];
|
|
197
|
+
filtersCount?: number;
|
|
198
|
+
onFilterChange?: (event: ControlPanelFilterChangeEvent) => void;
|
|
199
|
+
onClearFilters?: (event: ControlPanelClearFiltersEvent) => void;
|
|
200
|
+
options?: ControlPanelOption[] | ControlPanelOptionGroup[];
|
|
201
|
+
onOptionChange?: (event: ControlPanelOptionChangeEvent) => void;
|
|
202
|
+
viewToggle?: ControlPanelViewToggleConfig;
|
|
203
|
+
groupBy?: ControlPanelGroupByConfig;
|
|
204
|
+
visibleColumns?: ControlPanelVisibleColumnsConfig;
|
|
205
|
+
}
|
|
206
|
+
export declare const DEFAULT_DATE_RANGE_PRESETS: ControlPanelDateRangePreset[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ControlPanelContextValue {
|
|
3
|
+
isMobile: boolean;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
toggle: () => void;
|
|
6
|
+
open: () => void;
|
|
7
|
+
close: () => void;
|
|
8
|
+
}
|
|
9
|
+
interface ControlPanelProviderProps {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const useControlPanelContext: () => ControlPanelContextValue | null;
|
|
13
|
+
export declare const useControlPanel: () => ControlPanelContextValue;
|
|
14
|
+
export declare const ControlPanelProvider: React.FC<ControlPanelProviderProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ControlPanelFilter, ControlPanelFilterChangeEvent } from './ControlPanel.types';
|
|
3
|
+
interface ControlPanelFilterItemProps {
|
|
4
|
+
filter: ControlPanelFilter;
|
|
5
|
+
onChange: (event: ControlPanelFilterChangeEvent) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ControlPanelFilterItem: React.FC<ControlPanelFilterItemProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ControlPanelGroupByConfig, ControlPanelOptionChangeEvent, ControlPanelOptionGroup, ControlPanelViewToggleConfig, ControlPanelVisibleColumnsConfig } from './ControlPanel.types';
|
|
3
|
+
interface ControlPanelOptionsProps {
|
|
4
|
+
normalizedOptionGroups: ControlPanelOptionGroup[];
|
|
5
|
+
onOptionChange?: (event: ControlPanelOptionChangeEvent) => void;
|
|
6
|
+
viewToggle?: ControlPanelViewToggleConfig;
|
|
7
|
+
groupBy?: ControlPanelGroupByConfig;
|
|
8
|
+
visibleColumns?: ControlPanelVisibleColumnsConfig;
|
|
9
|
+
}
|
|
10
|
+
export declare const ControlPanelOptions: React.FC<ControlPanelOptionsProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ControlPanelProvider, useControlPanel, useControlPanelContext } from './ControlPanelContext';
|
|
2
|
+
export { ControlPanel, type ControlPanelProps, type ControlPanelHeader, type ControlPanelNavItem, type ControlPanelNavItemBadge, type ControlPanelAction, type ControlPanelFilter, type ControlPanelFilterOption, type ControlPanelFilterType, type ControlPanelFilterValue, type ControlPanelFilterChangeEvent, type ControlPanelClearFiltersEvent, type ControlPanelOption, type ControlPanelOptionGroup, type ControlPanelOptionItem, type ControlPanelOptionChangeEvent, type ControlPanelViewMode, type ControlPanelViewToggleConfig, type ControlPanelViewToggleOption, type ControlPanelGroupByConfig, type ControlPanelVisibleColumnsConfig, } from './ControlPanel';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonVariant } from '../Button';
|
|
3
|
+
export type CopyButtonStatus = 'idle' | 'copied' | 'error';
|
|
4
|
+
export interface CopyButtonProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
copiedLabel?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
errorLabel?: string;
|
|
10
|
+
iconOnly?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
onCopy?: (value: string) => void;
|
|
13
|
+
onError?: (error: unknown) => void;
|
|
14
|
+
resetDelay?: number;
|
|
15
|
+
size?: 'small' | 'medium' | 'large';
|
|
16
|
+
title?: string;
|
|
17
|
+
value: string;
|
|
18
|
+
variant?: ButtonVariant;
|
|
19
|
+
}
|
|
20
|
+
export declare const CopyButton: React.FC<CopyButtonProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CopyButton, type CopyButtonProps, type CopyButtonStatus } from './CopyButton';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface CountryWithFlagProps {
|
|
3
|
+
code: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const CountryWithFlag: React.FC<CountryWithFlagProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CountryWithFlag } from './CountryWithFlag';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DataViewCardConfig, DataViewColumn, DataViewEmptyConfig, DataViewGroup, DataViewGroupKey, DataViewTimelineConfig } from './DataView.types';
|
|
3
|
+
export declare const DEFAULT_PAGE_SIZES: number[];
|
|
4
|
+
export declare const getColumnLabel: <T>(column: DataViewColumn<T>) => string;
|
|
5
|
+
export declare const renderColumnLabel: <T>(column: DataViewColumn<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const renderCellContent: <T>(column: DataViewColumn<T>, row: T) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
7
|
+
export interface CardViewProps<T> {
|
|
8
|
+
data: T[];
|
|
9
|
+
columns: DataViewColumn<T>[];
|
|
10
|
+
rowKey: (row: T, index: number) => string | number;
|
|
11
|
+
card?: DataViewCardConfig<T>;
|
|
12
|
+
actions?: (row: T) => React.ReactNode;
|
|
13
|
+
timeline?: DataViewTimelineConfig<T>;
|
|
14
|
+
onRowClick?: (row: T) => void;
|
|
15
|
+
rowHref?: (row: T) => string | undefined;
|
|
16
|
+
rowClassName?: (row: T) => string;
|
|
17
|
+
empty?: DataViewEmptyConfig;
|
|
18
|
+
selectable?: boolean;
|
|
19
|
+
selectedIds?: Array<string | number>;
|
|
20
|
+
onToggleSelect?: (rowId: string | number, checked: boolean) => void;
|
|
21
|
+
cardMaxWidth?: number | string;
|
|
22
|
+
isMobile?: boolean;
|
|
23
|
+
groups?: DataViewGroup<T>[];
|
|
24
|
+
showGroupCount?: boolean;
|
|
25
|
+
collapsible?: boolean;
|
|
26
|
+
collapsedGroups?: Set<DataViewGroupKey>;
|
|
27
|
+
onToggleGroup?: (key: DataViewGroupKey) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function CardView<T>({ data, columns, rowKey, card, actions, timeline, onRowClick, rowHref, rowClassName, empty, selectable, selectedIds, onToggleSelect, cardMaxWidth, isMobile, groups, showGroupCount, collapsible, collapsedGroups, onToggleGroup, }: CardViewProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataViewColumn, DataViewMiniSortConfig, SortDirection } from './DataView.types';
|
|
2
|
+
interface DataViewMiniSortProps<T> {
|
|
3
|
+
columns: DataViewColumn<T>[];
|
|
4
|
+
config?: DataViewMiniSortConfig;
|
|
5
|
+
sortDirection: SortDirection;
|
|
6
|
+
sortKey: string | null;
|
|
7
|
+
onSort: (column: string, direction: SortDirection) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function DataViewMiniSort<T>({ columns, config, sortDirection, sortKey, onSort }: DataViewMiniSortProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DataViewProps } from './DataView.types';
|
|
2
|
+
export declare function DataView<T>({ columns, data, rowKey, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, }: DataViewProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ExternalButtonConfig } from '../Button';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
export type SortDirection = 'asc' | 'desc';
|
|
5
|
+
export type DataViewDisplayMode = 'table' | 'cards';
|
|
6
|
+
export interface DataViewColumn<T> {
|
|
7
|
+
key: string;
|
|
8
|
+
header: React.ReactNode;
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
/** Optional per-row icon rendered before the cell value. */
|
|
11
|
+
cellIcon?: (row: T) => IconName | undefined;
|
|
12
|
+
/** Optional filter input rendered below the column header (table) or in the filter bar (card) */
|
|
13
|
+
filter?: React.ReactNode;
|
|
14
|
+
accessor?: (row: T) => React.ReactNode;
|
|
15
|
+
sortAccessor?: (row: T) => string | number;
|
|
16
|
+
sortable?: boolean;
|
|
17
|
+
width?: number;
|
|
18
|
+
minWidth?: number;
|
|
19
|
+
hideInCard?: boolean;
|
|
20
|
+
hideInTable?: boolean;
|
|
21
|
+
/** Hide this column only on mobile breakpoint (not when cards are used on desktop). */
|
|
22
|
+
hideInMobile?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface DataViewCardConfig<T> {
|
|
25
|
+
icon?: (row: T) => IconName | undefined;
|
|
26
|
+
/** Renders above the card header. Use for thumbnails / hero images. */
|
|
27
|
+
media?: (row: T) => React.ReactNode;
|
|
28
|
+
title: (row: T) => React.ReactNode;
|
|
29
|
+
subtitle?: (row: T) => React.ReactNode;
|
|
30
|
+
badges?: (row: T) => React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface DataViewTimelineConfig<T> {
|
|
33
|
+
dateAccessor: (row: T) => string;
|
|
34
|
+
idAccessor: (row: T) => string | number;
|
|
35
|
+
granularity?: 'day' | 'month';
|
|
36
|
+
}
|
|
37
|
+
export interface DataViewEmptyConfig {
|
|
38
|
+
title: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
icon?: React.ReactNode;
|
|
41
|
+
primary?: ExternalButtonConfig;
|
|
42
|
+
secondary?: ExternalButtonConfig;
|
|
43
|
+
}
|
|
44
|
+
export interface DataViewMiniSortItem {
|
|
45
|
+
column: string;
|
|
46
|
+
direction?: SortDirection;
|
|
47
|
+
icon?: IconName;
|
|
48
|
+
label?: React.ReactNode;
|
|
49
|
+
}
|
|
50
|
+
export interface DataViewMiniSortConfig {
|
|
51
|
+
align?: 'left' | 'center' | 'right';
|
|
52
|
+
columns?: DataViewMiniSortItem[];
|
|
53
|
+
/** Alias for `columns`, supported for concise configs like `{ column: [...] }`. */
|
|
54
|
+
column?: DataViewMiniSortItem[];
|
|
55
|
+
}
|
|
56
|
+
export type DataViewGroupKey = string | number | null;
|
|
57
|
+
export interface DataViewGroup<T> {
|
|
58
|
+
key: DataViewGroupKey;
|
|
59
|
+
label: React.ReactNode;
|
|
60
|
+
items: T[];
|
|
61
|
+
totalCount: number;
|
|
62
|
+
}
|
|
63
|
+
export interface DataViewGroupConfig<T> {
|
|
64
|
+
/** Extract group key from row. Return null for ungrouped/uncategorized items. */
|
|
65
|
+
groupBy: (row: T) => DataViewGroupKey;
|
|
66
|
+
/** Display label for a group header. */
|
|
67
|
+
groupLabel: (groupKey: DataViewGroupKey) => React.ReactNode;
|
|
68
|
+
/** Optional comparator to order groups; default keeps first-encountered order with null last. */
|
|
69
|
+
sortGroups?: (a: DataViewGroup<T>, b: DataViewGroup<T>) => number;
|
|
70
|
+
/** Show item count badge next to group label. Default: true. */
|
|
71
|
+
showCount?: boolean;
|
|
72
|
+
/** Allow users to collapse/expand individual groups by clicking the header. */
|
|
73
|
+
collapsible?: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface DataViewProps<T> {
|
|
76
|
+
columns: DataViewColumn<T>[];
|
|
77
|
+
data: T[];
|
|
78
|
+
rowKey?: (row: T, index: number) => string | number;
|
|
79
|
+
selectable?: boolean;
|
|
80
|
+
onSelectionChange?: (rows: T[]) => void;
|
|
81
|
+
/** Controlled selection. When provided, DataView reflects this array of row keys instead of its internal state. */
|
|
82
|
+
selectedIds?: Array<string | number>;
|
|
83
|
+
pageSizeOptions?: number[];
|
|
84
|
+
initialPageSize?: number;
|
|
85
|
+
showPageSize?: boolean;
|
|
86
|
+
card?: DataViewCardConfig<T>;
|
|
87
|
+
actions?: (row: T) => React.ReactNode;
|
|
88
|
+
actionsWidth?: number;
|
|
89
|
+
timeline?: DataViewTimelineConfig<T>;
|
|
90
|
+
onRowClick?: (row: T) => void;
|
|
91
|
+
/** When provided, each row/card renders as a real link so middle-click,
|
|
92
|
+
* Ctrl/Cmd-click, and the browser's "Open in new tab" all work natively.
|
|
93
|
+
* Plain left-click still calls `onRowClick` (or follows the href if no
|
|
94
|
+
* click handler is set). Return `undefined` to opt a specific row out. */
|
|
95
|
+
rowHref?: (row: T) => string | undefined;
|
|
96
|
+
rowClassName?: (row: T) => string;
|
|
97
|
+
empty?: DataViewEmptyConfig;
|
|
98
|
+
/** Initial sorted column key for uncontrolled sorting. */
|
|
99
|
+
initialSortKey?: string | null;
|
|
100
|
+
/** Initial sort direction for uncontrolled sorting. */
|
|
101
|
+
initialSortDirection?: SortDirection;
|
|
102
|
+
/** Controlled sorted column key. */
|
|
103
|
+
sortKey?: string | null;
|
|
104
|
+
/** Controlled sort direction. */
|
|
105
|
+
sortDirection?: SortDirection;
|
|
106
|
+
onSortChange?: (sort: {
|
|
107
|
+
key: string | null;
|
|
108
|
+
direction: SortDirection;
|
|
109
|
+
}) => void;
|
|
110
|
+
/** Optional desktop quick-sort nav. Hidden by default. */
|
|
111
|
+
miniSort?: DataViewMiniSortConfig;
|
|
112
|
+
/** Show the built-in sort controls above cards. */
|
|
113
|
+
showCardSortControls?: boolean;
|
|
114
|
+
/** Selected layout mode. */
|
|
115
|
+
desktopView?: DataViewDisplayMode;
|
|
116
|
+
/** Maximum width for each card. Number values are treated as px. */
|
|
117
|
+
cardMaxWidth?: number | string;
|
|
118
|
+
className?: string;
|
|
119
|
+
onPageChange?: (page: number) => void;
|
|
120
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
121
|
+
/** Controlled current page (1-indexed). When provided, DataView uses this instead of its internal state. */
|
|
122
|
+
currentPage?: number;
|
|
123
|
+
/** When set, DataView assumes `data` is already a server-paged slice and uses this for the pagination total. */
|
|
124
|
+
totalItems?: number;
|
|
125
|
+
/** Group rows by a key. Rows render in group sections within the paginated slice. */
|
|
126
|
+
group?: DataViewGroupConfig<T>;
|
|
127
|
+
/** Display the "Showing X-Y of Z" results-count label above the data. Default: true. */
|
|
128
|
+
showResultsCount?: boolean;
|
|
129
|
+
/** Unfiltered total used to render the "filtered (... total)" form when smaller than this value. Defaults to `data.length`. */
|
|
130
|
+
totalCount?: number;
|
|
131
|
+
/** Noun appended to the results-count label, e.g. "books". */
|
|
132
|
+
itemNoun?: string;
|
|
133
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { DataView } from './DataView';
|
|
2
|
+
export type { DataViewCardConfig, DataViewColumn, DataViewDisplayMode, DataViewEmptyConfig, DataViewGroup, DataViewGroupConfig, DataViewGroupKey, DataViewMiniSortConfig, DataViewMiniSortItem, DataViewProps, DataViewTimelineConfig, SortDirection, } from './DataView.types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CalendarProps, CalendarDateRange } from '../Calendar';
|
|
3
|
+
export interface DatePickerProps extends Omit<CalendarProps, 'onChange' | 'value'> {
|
|
4
|
+
value?: Date | CalendarDateRange | Date[];
|
|
5
|
+
onChange?: (value: Date | CalendarDateRange | Date[] | undefined) => void;
|
|
6
|
+
withTime?: boolean;
|
|
7
|
+
timeFormat?: '12h' | '24h';
|
|
8
|
+
withSeconds?: boolean;
|
|
9
|
+
dateFormat?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
clearable?: boolean;
|
|
13
|
+
autoClose?: boolean;
|
|
14
|
+
alwaysOpen?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DateRange {
|
|
3
|
+
start?: string;
|
|
4
|
+
end?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DateRangePreset {
|
|
7
|
+
label: string;
|
|
8
|
+
days: number;
|
|
9
|
+
}
|
|
10
|
+
export interface DateRangePickerProps {
|
|
11
|
+
label?: string;
|
|
12
|
+
value?: DateRange;
|
|
13
|
+
onChange?: (range: DateRange) => void;
|
|
14
|
+
min?: string;
|
|
15
|
+
max?: string;
|
|
16
|
+
alwaysOpen?: boolean;
|
|
17
|
+
autoClose?: boolean;
|
|
18
|
+
presets?: DateRangePreset[];
|
|
19
|
+
}
|
|
20
|
+
export declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DateRangePicker, type DateRangePickerProps, type DateRangePreset } from './DateRangePicker';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type DiffMode = 'split' | 'inline';
|
|
2
|
+
export type DiffType = 'text' | 'code';
|
|
3
|
+
export type DiffLang = 'javascript' | 'typescript' | 'jsx' | 'tsx' | 'css' | 'scss' | 'html' | 'json' | 'python' | 'bash' | 'plaintext';
|
|
4
|
+
interface DiffViewerProps {
|
|
5
|
+
oldValue: string;
|
|
6
|
+
newValue: string;
|
|
7
|
+
mode?: DiffMode;
|
|
8
|
+
type?: DiffType;
|
|
9
|
+
language?: DiffLang;
|
|
10
|
+
oldTitle?: string;
|
|
11
|
+
newTitle?: string;
|
|
12
|
+
showLineNumbers?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const DiffViewer: ({ oldValue, newValue, mode, type, oldTitle, newTitle, showLineNumbers, }: DiffViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps, ExternalButtonConfig } from '../Button';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
export type DrawerPosition = 'left' | 'right';
|
|
5
|
+
export interface DrawerHeaderAction {
|
|
6
|
+
id: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
icon?: IconName;
|
|
9
|
+
emojiIcon?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
variant?: ButtonProps['variant'];
|
|
12
|
+
size?: ButtonProps['size'];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onClick?: ButtonProps['onClick'];
|
|
15
|
+
}
|
|
16
|
+
export interface DrawerProps {
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
position?: DrawerPosition;
|
|
20
|
+
/** CSS width for the drawer. Accepts any CSS length or expression. */
|
|
21
|
+
width?: string;
|
|
22
|
+
/** Optional CSS max-width for responsive drawers. */
|
|
23
|
+
maxWidth?: string | number;
|
|
24
|
+
margin?: string | number;
|
|
25
|
+
borderRadius?: string | number;
|
|
26
|
+
shadow?: string;
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
title?: string;
|
|
29
|
+
icon?: IconName;
|
|
30
|
+
className?: string;
|
|
31
|
+
showOverlay?: boolean;
|
|
32
|
+
/** When false, the drawer does not lock body scroll — use for persistent side panels. */
|
|
33
|
+
lockScroll?: boolean;
|
|
34
|
+
/** When true, the header close (×) button is not rendered — use for persistent panels. */
|
|
35
|
+
hideClose?: boolean;
|
|
36
|
+
actions?: DrawerHeaderAction[];
|
|
37
|
+
/** Optional back action rendered on the LEFT side of the header — typically a navigation affordance. */
|
|
38
|
+
onBack?: () => void;
|
|
39
|
+
/** Tooltip for the back button. */
|
|
40
|
+
backLabel?: string;
|
|
41
|
+
primary?: ExternalButtonConfig;
|
|
42
|
+
secondary?: ExternalButtonConfig;
|
|
43
|
+
footer?: React.ReactNode;
|
|
44
|
+
}
|
|
45
|
+
export declare const Drawer: React.FC<DrawerProps>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export interface DropdownOption {
|
|
4
|
+
className?: string;
|
|
5
|
+
details?: React.ReactNode;
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
label: string;
|
|
8
|
+
/** Custom node rendered before the icon/label (e.g. an avatar). */
|
|
9
|
+
prefix?: React.ReactNode;
|
|
10
|
+
suffixIcon?: IconName;
|
|
11
|
+
value: string | number;
|
|
12
|
+
}
|
|
13
|
+
export type DropdownSelectedCountDisplay = 'inline' | 'floating' | 'none';
|
|
14
|
+
export interface DropdownProps {
|
|
15
|
+
allowCustomValue?: boolean;
|
|
16
|
+
autofocus?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
error?: string;
|
|
20
|
+
highlighted?: boolean;
|
|
21
|
+
id?: string;
|
|
22
|
+
label?: string;
|
|
23
|
+
multiple?: boolean;
|
|
24
|
+
name: string;
|
|
25
|
+
onChange: (option: DropdownOption | DropdownOption[] | null, name: string) => void;
|
|
26
|
+
onSearchChange?: (search: string) => void;
|
|
27
|
+
options: DropdownOption[];
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
searchable?: boolean;
|
|
30
|
+
searchValue?: string;
|
|
31
|
+
selectedCountDisplay?: DropdownSelectedCountDisplay;
|
|
32
|
+
success?: string;
|
|
33
|
+
usePortal?: boolean;
|
|
34
|
+
value?: number | number[] | string | string[] | null;
|
|
35
|
+
valueAsChip?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare const Dropdown: React.FC<DropdownProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dropdown, type DropdownOption, type DropdownSelectedCountDisplay } from './Dropdown';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const activitiesKeywords: Record<string, string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const animalsKeywords: Record<string, string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const foodKeywords: Record<string, string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EMOJI_KEYWORDS: Record<string, string[]>;
|