flikkui 0.1.0-beta.2
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/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +3 -0
- package/dist/_virtual/react-jsx-runtime.development.js +3 -0
- package/dist/_virtual/react-jsx-runtime.production.js +3 -0
- package/dist/components/charts/AreaChart/AreaChart.d.ts +3 -0
- package/dist/components/charts/AreaChart/AreaChart.types.d.ts +32 -0
- package/dist/components/charts/AreaChart/index.d.ts +2 -0
- package/dist/components/charts/BarChart/BarChart.d.ts +3 -0
- package/dist/components/charts/BarChart/BarChart.types.d.ts +26 -0
- package/dist/components/charts/BarChart/index.d.ts +2 -0
- package/dist/components/charts/ChartContainer.d.ts +9 -0
- package/dist/components/charts/DonutChart/DonutChart.d.ts +7 -0
- package/dist/components/charts/DonutChart/DonutChart.theme.d.ts +164 -0
- package/dist/components/charts/DonutChart/DonutChart.types.d.ts +113 -0
- package/dist/components/charts/Heatmap/Heatmap.d.ts +7 -0
- package/dist/components/charts/Heatmap/Heatmap.types.d.ts +151 -0
- package/dist/components/charts/Heatmap/HeatmapCell.d.ts +6 -0
- package/dist/components/charts/Heatmap/HeatmapLegend.d.ts +20 -0
- package/dist/components/charts/Heatmap/index.d.ts +6 -0
- package/dist/components/charts/Heatmap/utils/heatmapUtils.d.ts +30 -0
- package/dist/components/charts/LineChart/LineChart.d.ts +3 -0
- package/dist/components/charts/LineChart/LineChart.types.d.ts +27 -0
- package/dist/components/charts/LineChart/index.d.ts +2 -0
- package/dist/components/charts/hooks/index.d.ts +4 -0
- package/dist/components/charts/hooks/useChartAccessibility.d.ts +39 -0
- package/dist/components/charts/hooks/useChartTheme.d.ts +16 -0
- package/dist/components/charts/hooks/useChartValidation.d.ts +74 -0
- package/dist/components/charts/hooks/useTooltipPosition.d.ts +98 -0
- package/dist/components/charts/index.d.ts +35 -0
- package/dist/components/charts/shared/ChartAxis/ChartAxis.types.d.ts +90 -0
- package/dist/components/charts/shared/ChartAxis/XAxis.d.ts +7 -0
- package/dist/components/charts/shared/ChartAxis/YAxis.d.ts +7 -0
- package/dist/components/charts/shared/ChartAxis/index.d.ts +3 -0
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.d.ts +7 -0
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.theme.d.ts +6 -0
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.types.d.ts +35 -0
- package/dist/components/charts/shared/ChartCrosshair/index.d.ts +3 -0
- package/dist/components/charts/shared/ChartErrorBoundary/ChartErrorBoundary.d.ts +34 -0
- package/dist/components/charts/shared/ChartErrorBoundary/index.d.ts +1 -0
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.d.ts +26 -0
- package/dist/components/charts/shared/ChartGrid/index.d.ts +2 -0
- package/dist/components/charts/shared/ChartLegend/ChartLegend.types.d.ts +15 -0
- package/dist/components/charts/shared/ChartLegend/index.d.ts +1 -0
- package/dist/components/charts/shared/ChartMarker/ChartMarker.d.ts +7 -0
- package/dist/components/charts/shared/ChartMarker/ChartMarker.theme.d.ts +6 -0
- package/dist/components/charts/shared/ChartMarker/ChartMarker.types.d.ts +21 -0
- package/dist/components/charts/shared/ChartMarker/index.d.ts +3 -0
- package/dist/components/charts/shared/ChartText/ChartText.d.ts +7 -0
- package/dist/components/charts/shared/ChartText/ChartText.theme.d.ts +6 -0
- package/dist/components/charts/shared/ChartText/ChartText.types.d.ts +21 -0
- package/dist/components/charts/shared/ChartText/index.d.ts +2 -0
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.d.ts +19 -0
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.types.d.ts +48 -0
- package/dist/components/charts/shared/ChartTooltip/ChartTooltipContent.d.ts +3 -0
- package/dist/components/charts/shared/ChartTooltip/index.d.ts +3 -0
- package/dist/components/charts/shared/index.d.ts +7 -0
- package/dist/components/charts/theme/chart.theme.d.ts +6 -0
- package/dist/components/charts/types/chart.types.d.ts +171 -0
- package/dist/components/charts/utils/chart-validation.d.ts +79 -0
- package/dist/components/charts/utils/color-utils.d.ts +78 -0
- package/dist/components/charts/utils/index.d.ts +2 -0
- package/dist/components/core/Accordion/Accordion.animations.d.ts +9 -0
- package/dist/components/core/Accordion/Accordion.d.ts +12 -0
- package/dist/components/core/Accordion/Accordion.theme.d.ts +7 -0
- package/dist/components/core/Accordion/Accordion.types.d.ts +93 -0
- package/dist/components/core/Accordion/AccordionContent.d.ts +3 -0
- package/dist/components/core/Accordion/AccordionItem.d.ts +4 -0
- package/dist/components/core/Accordion/AccordionTrigger.d.ts +3 -0
- package/dist/components/core/Accordion/index.d.ts +5 -0
- package/dist/components/core/Avatar/Avatar.d.ts +4 -0
- package/dist/components/core/Avatar/Avatar.theme.d.ts +14 -0
- package/dist/components/core/Avatar/Avatar.types.d.ts +64 -0
- package/dist/components/core/Avatar/index.d.ts +2 -0
- package/dist/components/core/AvatarGroup/AvatarGroup.animations.d.ts +12 -0
- package/dist/components/core/AvatarGroup/AvatarGroup.d.ts +4 -0
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.d.ts +14 -0
- package/dist/components/core/AvatarGroup/AvatarGroup.types.d.ts +44 -0
- package/dist/components/core/AvatarGroup/index.d.ts +2 -0
- package/dist/components/core/Badge/Badge.animations.d.ts +8 -0
- package/dist/components/core/Badge/Badge.d.ts +14 -0
- package/dist/components/core/Badge/Badge.theme.d.ts +5 -0
- package/dist/components/core/Badge/Badge.types.d.ts +98 -0
- package/dist/components/core/Badge/index.d.ts +2 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +17 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.js +101 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +17 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +34 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +69 -0
- package/dist/components/core/Breadcrumbs/index.d.ts +4 -0
- package/dist/components/core/Button/Button.animations.d.ts +17 -0
- package/dist/components/core/Button/Button.animations.js +35 -0
- package/dist/components/core/Button/Button.d.ts +4 -0
- package/dist/components/core/Button/Button.js +72 -0
- package/dist/components/core/Button/Button.theme.d.ts +24 -0
- package/dist/components/core/Button/Button.theme.js +41 -0
- package/dist/components/core/Button/Button.types.d.ts +29 -0
- package/dist/components/core/Button/index.d.ts +2 -0
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.d.ts +4 -0
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.theme.d.ts +12 -0
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.types.d.ts +24 -0
- package/dist/components/core/Calendar/CalendarEvent/index.d.ts +2 -0
- package/dist/components/core/Calendar/DayView/DayViewCell.d.ts +20 -0
- package/dist/components/core/Calendar/MonthView/MonthView.d.ts +2 -0
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.d.ts +4 -0
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.theme.d.ts +29 -0
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.types.d.ts +41 -0
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/index.d.ts +3 -0
- package/dist/components/core/Calendar/MonthView/components/MontViewHeader/MonthViewHeader.d.ts +2 -0
- package/dist/components/core/Card/Card.d.ts +8 -0
- package/dist/components/core/Card/Card.theme.d.ts +2 -0
- package/dist/components/core/Card/Card.types.d.ts +48 -0
- package/dist/components/core/Card/index.d.ts +2 -0
- package/dist/components/core/Carousel/Carousel.animations.d.ts +33 -0
- package/dist/components/core/Carousel/Carousel.animations.js +353 -0
- package/dist/components/core/Carousel/Carousel.d.ts +3 -0
- package/dist/components/core/Carousel/Carousel.js +94 -0
- package/dist/components/core/Carousel/Carousel.theme.d.ts +2 -0
- package/dist/components/core/Carousel/Carousel.theme.js +16 -0
- package/dist/components/core/Carousel/Carousel.types.d.ts +164 -0
- package/dist/components/core/Carousel/CarouselContext.d.ts +3 -0
- package/dist/components/core/Carousel/CarouselContext.js +12 -0
- package/dist/components/core/Carousel/components/CarouselControlButton.d.ts +4 -0
- package/dist/components/core/Carousel/components/CarouselControlButton.js +26 -0
- package/dist/components/core/Carousel/components/CarouselControls.d.ts +4 -0
- package/dist/components/core/Carousel/components/CarouselControls.js +17 -0
- package/dist/components/core/Carousel/components/CarouselSlide.d.ts +4 -0
- package/dist/components/core/Carousel/components/CarouselSlide.js +74 -0
- package/dist/components/core/Carousel/components/index.d.ts +3 -0
- package/dist/components/core/Carousel/index.d.ts +4 -0
- package/dist/components/core/Carousel/index.js +5 -0
- package/dist/components/core/Divider/Divider.d.ts +3 -0
- package/dist/components/core/Divider/Divider.theme.d.ts +2 -0
- package/dist/components/core/Divider/Divider.types.d.ts +34 -0
- package/dist/components/core/Divider/index.d.ts +2 -0
- package/dist/components/core/Drawer/Drawer.animations.d.ts +10 -0
- package/dist/components/core/Drawer/Drawer.animations.js +104 -0
- package/dist/components/core/Drawer/Drawer.d.ts +21 -0
- package/dist/components/core/Drawer/Drawer.js +80 -0
- package/dist/components/core/Drawer/Drawer.theme.d.ts +30 -0
- package/dist/components/core/Drawer/Drawer.theme.js +37 -0
- package/dist/components/core/Drawer/Drawer.types.d.ts +56 -0
- package/dist/components/core/Drawer/DrawerBody.d.ts +6 -0
- package/dist/components/core/Drawer/DrawerBody.js +13 -0
- package/dist/components/core/Drawer/DrawerFooter.d.ts +6 -0
- package/dist/components/core/Drawer/DrawerFooter.js +13 -0
- package/dist/components/core/Drawer/DrawerHeader.d.ts +6 -0
- package/dist/components/core/Drawer/DrawerHeader.js +18 -0
- package/dist/components/core/Drawer/index.d.ts +2 -0
- package/dist/components/core/Modal/Modal.animations.d.ts +9 -0
- package/dist/components/core/Modal/Modal.animations.js +51 -0
- package/dist/components/core/Modal/Modal.d.ts +21 -0
- package/dist/components/core/Modal/Modal.js +74 -0
- package/dist/components/core/Modal/Modal.theme.d.ts +9 -0
- package/dist/components/core/Modal/Modal.theme.js +19 -0
- package/dist/components/core/Modal/Modal.types.d.ts +53 -0
- package/dist/components/core/Modal/ModalBody.d.ts +6 -0
- package/dist/components/core/Modal/ModalBody.js +13 -0
- package/dist/components/core/Modal/ModalFooter.d.ts +6 -0
- package/dist/components/core/Modal/ModalFooter.js +13 -0
- package/dist/components/core/Modal/ModalHeader.d.ts +6 -0
- package/dist/components/core/Modal/ModalHeader.js +18 -0
- package/dist/components/core/Modal/index.d.ts +2 -0
- package/dist/components/core/Pagination/Pagination.d.ts +7 -0
- package/dist/components/core/Pagination/Pagination.theme.d.ts +23 -0
- package/dist/components/core/Pagination/Pagination.types.d.ts +57 -0
- package/dist/components/core/Pagination/index.d.ts +2 -0
- package/dist/components/core/Popover/Popover.animations.d.ts +5 -0
- package/dist/components/core/Popover/Popover.d.ts +25 -0
- package/dist/components/core/Popover/Popover.js +68 -0
- package/dist/components/core/Popover/Popover.theme.d.ts +12 -0
- package/dist/components/core/Popover/Popover.theme.js +13 -0
- package/dist/components/core/Popover/Popover.types.d.ts +53 -0
- package/dist/components/core/Popover/PopoverContent.d.ts +7 -0
- package/dist/components/core/Popover/PopoverContent.js +190 -0
- package/dist/components/core/Popover/PopoverContext.d.ts +4 -0
- package/dist/components/core/Popover/PopoverContext.js +14 -0
- package/dist/components/core/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/components/core/Popover/PopoverTrigger.js +65 -0
- package/dist/components/core/Popover/index.d.ts +6 -0
- package/dist/components/core/Popover/index.js +6 -0
- package/dist/components/core/Popover/test-popover.d.ts +3 -0
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.d.ts +4 -0
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.js +35 -0
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.theme.d.ts +15 -0
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.theme.js +17 -0
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.types.d.ts +42 -0
- package/dist/components/core/ProgressiveBlur/index.d.ts +2 -0
- package/dist/components/core/Segmented/Segmented.d.ts +6 -0
- package/dist/components/core/Segmented/Segmented.theme.d.ts +30 -0
- package/dist/components/core/Segmented/Segmented.types.d.ts +35 -0
- package/dist/components/core/Segmented/SegmentedContext.d.ts +16 -0
- package/dist/components/core/Segmented/SegmentedItem.d.ts +4 -0
- package/dist/components/core/Segmented/index.d.ts +4 -0
- package/dist/components/core/Stepper/Stepper.animations.d.ts +9 -0
- package/dist/components/core/Stepper/Stepper.d.ts +21 -0
- package/dist/components/core/Stepper/Stepper.theme.d.ts +36 -0
- package/dist/components/core/Stepper/Stepper.types.d.ts +29 -0
- package/dist/components/core/Stepper/components/ConnectorLine.d.ts +21 -0
- package/dist/components/core/Stepper/components/IconCircle.d.ts +19 -0
- package/dist/components/core/Stepper/components/ProgressIndicator.d.ts +7 -0
- package/dist/components/core/Stepper/components/StepContent.d.ts +20 -0
- package/dist/components/core/Stepper/components/StepperItem.d.ts +24 -0
- package/dist/components/core/Stepper/index.d.ts +2 -0
- package/dist/components/core/Tabs/Tabs.d.ts +8 -0
- package/dist/components/core/Tabs/Tabs.js +52 -0
- package/dist/components/core/Tabs/Tabs.theme.d.ts +52 -0
- package/dist/components/core/Tabs/Tabs.theme.js +70 -0
- package/dist/components/core/Tabs/Tabs.types.d.ts +100 -0
- package/dist/components/core/Tabs/TabsContent.d.ts +6 -0
- package/dist/components/core/Tabs/TabsContent.js +29 -0
- package/dist/components/core/Tabs/TabsContext.d.ts +10 -0
- package/dist/components/core/Tabs/TabsContext.js +18 -0
- package/dist/components/core/Tabs/TabsList.d.ts +6 -0
- package/dist/components/core/Tabs/TabsList.js +24 -0
- package/dist/components/core/Tabs/TabsTrigger.d.ts +6 -0
- package/dist/components/core/Tabs/TabsTrigger.js +84 -0
- package/dist/components/core/Tabs/index.d.ts +9 -0
- package/dist/components/core/Tabs/index.js +9 -0
- package/dist/components/core/Tabs/test-tabs.d.ts +3 -0
- package/dist/components/core/Tooltip/Tooltip.animations.d.ts +32 -0
- package/dist/components/core/Tooltip/Tooltip.d.ts +7 -0
- package/dist/components/core/Tooltip/Tooltip.theme.d.ts +8 -0
- package/dist/components/core/Tooltip/Tooltip.types.d.ts +81 -0
- package/dist/components/core/Tooltip/index.d.ts +3 -0
- package/dist/components/core/Tree/Tree.animations.d.ts +5 -0
- package/dist/components/core/Tree/Tree.d.ts +2 -0
- package/dist/components/core/Tree/Tree.theme.d.ts +2 -0
- package/dist/components/core/Tree/Tree.types.d.ts +101 -0
- package/dist/components/core/Tree/TreeIcon.d.ts +3 -0
- package/dist/components/core/Tree/TreeNode.d.ts +6 -0
- package/dist/components/core/Tree/index.d.ts +5 -0
- package/dist/components/data-display/Masonry/Masonry.d.ts +4 -0
- package/dist/components/data-display/Masonry/Masonry.js +184 -0
- package/dist/components/data-display/Masonry/Masonry.theme.d.ts +9 -0
- package/dist/components/data-display/Masonry/Masonry.theme.js +40 -0
- package/dist/components/data-display/Masonry/Masonry.types.d.ts +53 -0
- package/dist/components/data-display/Masonry/index.d.ts +3 -0
- package/dist/components/data-display/Table/Table.d.ts +54 -0
- package/dist/components/data-display/Table/Table.theme.d.ts +2 -0
- package/dist/components/data-display/Table/Table.types.d.ts +254 -0
- package/dist/components/data-display/Table/Table.utils.d.ts +8 -0
- package/dist/components/data-display/Table/components/DeclarativeComponents.d.ts +7 -0
- package/dist/components/data-display/Table/components/TableActions/TableActions.d.ts +8 -0
- package/dist/components/data-display/Table/components/TableActions/TableActions.types.d.ts +40 -0
- package/dist/components/data-display/Table/components/TableActions/TableActionsMenu.d.ts +6 -0
- package/dist/components/data-display/Table/components/TableActions/index.d.ts +3 -0
- package/dist/components/data-display/Table/components/TableActionsMenu.d.ts +6 -0
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.d.ts +3 -0
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.theme.d.ts +4 -0
- package/dist/components/data-display/Table/components/TableColumnManager/index.d.ts +1 -0
- package/dist/components/data-display/Table/components/TableSelectionHeader/TableSelectionHeader.d.ts +16 -0
- package/dist/components/data-display/Table/components/TableSelectionHeader/index.d.ts +3 -0
- package/dist/components/data-display/Table/components/core/TableBody.d.ts +3 -0
- package/dist/components/data-display/Table/components/core/TableCell.d.ts +22 -0
- package/dist/components/data-display/Table/components/core/TableHeader.d.ts +3 -0
- package/dist/components/data-display/Table/components/core/TableRow.d.ts +3 -0
- package/dist/components/data-display/Table/components/core/index.d.ts +4 -0
- package/dist/components/data-display/Table/index.d.ts +18 -0
- package/dist/components/feedback/Alert/Alert.d.ts +3 -0
- package/dist/components/feedback/Alert/Alert.theme.d.ts +2 -0
- package/dist/components/feedback/Alert/Alert.types.d.ts +40 -0
- package/dist/components/feedback/Alert/index.d.ts +3 -0
- package/dist/components/feedback/ChatMessage/ChatMessage.d.ts +3 -0
- package/dist/components/feedback/ChatMessage/ChatMessage.theme.d.ts +2 -0
- package/dist/components/feedback/ChatMessage/ChatMessage.types.d.ts +66 -0
- package/dist/components/feedback/ChatMessage/index.d.ts +2 -0
- package/dist/components/feedback/Empty/Empty.d.ts +4 -0
- package/dist/components/feedback/Empty/Empty.theme.d.ts +22 -0
- package/dist/components/feedback/Empty/Empty.types.d.ts +40 -0
- package/dist/components/feedback/Empty/index.d.ts +3 -0
- package/dist/components/feedback/Notification/Notification.d.ts +3 -0
- package/dist/components/feedback/Notification/Notification.theme.d.ts +2 -0
- package/dist/components/feedback/Notification/Notification.types.d.ts +55 -0
- package/dist/components/feedback/Notification/index.d.ts +3 -0
- package/dist/components/feedback/Spinner/Spinner.d.ts +4 -0
- package/dist/components/feedback/Spinner/Spinner.js +14 -0
- package/dist/components/feedback/Spinner/Spinner.theme.d.ts +15 -0
- package/dist/components/feedback/Spinner/Spinner.theme.js +26 -0
- package/dist/components/feedback/Spinner/Spinner.types.d.ts +31 -0
- package/dist/components/feedback/Spinner/index.d.ts +2 -0
- package/dist/components/feedback/Toast/Toast.d.ts +3 -0
- package/dist/components/feedback/Toast/Toast.theme.d.ts +2 -0
- package/dist/components/feedback/Toast/Toast.types.d.ts +99 -0
- package/dist/components/feedback/Toast/ToastProvider.d.ts +4 -0
- package/dist/components/feedback/Toast/index.d.ts +5 -0
- package/dist/components/feedback/Toast/useToast.d.ts +2 -0
- package/dist/components/feedback/index.d.ts +11 -0
- package/dist/components/forms/Checkbox/Checkbox.d.ts +7 -0
- package/dist/components/forms/Checkbox/Checkbox.js +51 -0
- package/dist/components/forms/Checkbox/Checkbox.theme.d.ts +5 -0
- package/dist/components/forms/Checkbox/Checkbox.theme.js +13 -0
- package/dist/components/forms/Checkbox/Checkbox.types.d.ts +52 -0
- package/dist/components/forms/Checkbox/index.d.ts +3 -0
- package/dist/components/forms/DatePicker/DatePicker.animations.d.ts +34 -0
- package/dist/components/forms/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/forms/DatePicker/DatePicker.theme.d.ts +6 -0
- package/dist/components/forms/DatePicker/DatePicker.types.d.ts +106 -0
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.d.ts +7 -0
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.theme.d.ts +6 -0
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.types.d.ts +42 -0
- package/dist/components/forms/DatePicker/components/CalendarHeader/index.d.ts +3 -0
- package/dist/components/forms/DatePicker/components/DateInput/DateInput.d.ts +7 -0
- package/dist/components/forms/DatePicker/components/DateInput/DateInput.types.d.ts +25 -0
- package/dist/components/forms/DatePicker/components/DateInput/index.d.ts +2 -0
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.d.ts +7 -0
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.theme.d.ts +6 -0
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.types.d.ts +64 -0
- package/dist/components/forms/DatePicker/components/MonthPicker/index.d.ts +3 -0
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.d.ts +7 -0
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.theme.d.ts +6 -0
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.types.d.ts +62 -0
- package/dist/components/forms/DatePicker/components/YearPicker/index.d.ts +3 -0
- package/dist/components/forms/DatePicker/components/index.d.ts +8 -0
- package/dist/components/forms/DatePicker/index.d.ts +5 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.d.ts +7 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.theme.d.ts +6 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.types.d.ts +129 -0
- package/dist/components/forms/DateRangePicker/index.d.ts +3 -0
- package/dist/components/forms/FormLabel/FormLabel.d.ts +7 -0
- package/dist/components/forms/FormLabel/FormLabel.js +23 -0
- package/dist/components/forms/FormLabel/FormLabel.theme.d.ts +6 -0
- package/dist/components/forms/FormLabel/FormLabel.theme.js +17 -0
- package/dist/components/forms/FormLabel/FormLabel.types.d.ts +36 -0
- package/dist/components/forms/FormLabel/index.d.ts +3 -0
- package/dist/components/forms/Input/Input.AdvancedStories.d.ts +13 -0
- package/dist/components/forms/Input/Input.d.ts +4 -0
- package/dist/components/forms/Input/Input.js +346 -0
- package/dist/components/forms/Input/Input.theme.d.ts +7 -0
- package/dist/components/forms/Input/Input.theme.js +82 -0
- package/dist/components/forms/Input/Input.types.d.ts +162 -0
- package/dist/components/forms/Input/index.d.ts +3 -0
- package/dist/components/forms/Input/inputMasks.d.ts +67 -0
- package/dist/components/forms/Input/inputMasks.js +198 -0
- package/dist/components/forms/InputAddress/InputAddress.d.ts +19 -0
- package/dist/components/forms/InputAddress/InputAddress.js +77 -0
- package/dist/components/forms/InputAddress/InputAddress.theme.d.ts +26 -0
- package/dist/components/forms/InputAddress/InputAddress.theme.js +30 -0
- package/dist/components/forms/InputAddress/InputAddress.types.d.ts +93 -0
- package/dist/components/forms/InputAddress/index.d.ts +3 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.animations.d.ts +9 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.d.ts +19 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.theme.d.ts +31 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.types.d.ts +88 -0
- package/dist/components/forms/InputCreditCard/index.d.ts +4 -0
- package/dist/components/forms/InputOTP/InputOTP.d.ts +18 -0
- package/dist/components/forms/InputOTP/InputOTP.js +177 -0
- package/dist/components/forms/InputOTP/InputOTP.theme.d.ts +2 -0
- package/dist/components/forms/InputOTP/InputOTP.theme.js +11 -0
- package/dist/components/forms/InputOTP/InputOTP.types.d.ts +50 -0
- package/dist/components/forms/InputOTP/index.d.ts +3 -0
- package/dist/components/forms/Radio/Radio.d.ts +7 -0
- package/dist/components/forms/Radio/Radio.js +41 -0
- package/dist/components/forms/Radio/Radio.theme.d.ts +21 -0
- package/dist/components/forms/Radio/Radio.theme.js +25 -0
- package/dist/components/forms/Radio/Radio.types.d.ts +51 -0
- package/dist/components/forms/Radio/index.d.ts +3 -0
- package/dist/components/forms/Select/Select.animations.d.ts +5 -0
- package/dist/components/forms/Select/Select.animations.js +30 -0
- package/dist/components/forms/Select/Select.d.ts +22 -0
- package/dist/components/forms/Select/Select.js +277 -0
- package/dist/components/forms/Select/Select.theme.d.ts +6 -0
- package/dist/components/forms/Select/Select.theme.js +55 -0
- package/dist/components/forms/Select/Select.types.d.ts +184 -0
- package/dist/components/forms/Select/index.d.ts +4 -0
- package/dist/components/forms/Signature/Signature.d.ts +3 -0
- package/dist/components/forms/Signature/Signature.js +120 -0
- package/dist/components/forms/Signature/Signature.theme.d.ts +2 -0
- package/dist/components/forms/Signature/Signature.theme.js +8 -0
- package/dist/components/forms/Signature/Signature.types.d.ts +37 -0
- package/dist/components/forms/Signature/index.d.ts +2 -0
- package/dist/components/forms/Slider/Slider.d.ts +4 -0
- package/dist/components/forms/Slider/Slider.theme.d.ts +7 -0
- package/dist/components/forms/Slider/Slider.types.d.ts +131 -0
- package/dist/components/forms/Slider/index.d.ts +3 -0
- package/dist/components/forms/Switch/Switch.d.ts +7 -0
- package/dist/components/forms/Switch/Switch.js +61 -0
- package/dist/components/forms/Switch/Switch.theme.d.ts +34 -0
- package/dist/components/forms/Switch/Switch.theme.js +43 -0
- package/dist/components/forms/Switch/Switch.types.d.ts +66 -0
- package/dist/components/forms/Switch/index.d.ts +3 -0
- package/dist/components/forms/Textarea/Textarea.d.ts +4 -0
- package/dist/components/forms/Textarea/Textarea.js +46 -0
- package/dist/components/forms/Textarea/Textarea.theme.d.ts +7 -0
- package/dist/components/forms/Textarea/Textarea.theme.js +26 -0
- package/dist/components/forms/Textarea/Textarea.types.d.ts +55 -0
- package/dist/components/forms/Textarea/index.d.ts +3 -0
- package/dist/components/forms/TimePicker/TimePicker.animations.d.ts +178 -0
- package/dist/components/forms/TimePicker/TimePicker.animations.js +188 -0
- package/dist/components/forms/TimePicker/TimePicker.d.ts +7 -0
- package/dist/components/forms/TimePicker/TimePicker.js +413 -0
- package/dist/components/forms/TimePicker/TimePicker.theme.d.ts +9 -0
- package/dist/components/forms/TimePicker/TimePicker.theme.js +113 -0
- package/dist/components/forms/TimePicker/TimePicker.types.d.ts +158 -0
- package/dist/components/forms/TimePicker/index.d.ts +4 -0
- package/dist/components/forms/forms.theme.d.ts +49 -0
- package/dist/components/forms/forms.theme.js +61 -0
- package/dist/components/forms/index.d.ts +12 -0
- package/dist/components/layout/DragDrop/DragDrop.d.ts +4 -0
- package/dist/components/layout/DragDrop/DragDrop.theme.d.ts +2 -0
- package/dist/components/layout/DragDrop/DragDrop.types.d.ts +50 -0
- package/dist/components/layout/DragDrop/index.d.ts +2 -0
- package/dist/components/layout/Sortable/Sortable.d.ts +4 -0
- package/dist/components/layout/Sortable/Sortable.theme.d.ts +2 -0
- package/dist/components/layout/Sortable/Sortable.types.d.ts +67 -0
- package/dist/components/layout/Sortable/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/navigation/NavItem/NavItem.d.ts +3 -0
- package/dist/components/navigation/NavItem/NavItem.theme.d.ts +2 -0
- package/dist/components/navigation/NavItem/NavItem.types.d.ts +113 -0
- package/dist/components/navigation/NavItem/index.d.ts +2 -0
- package/dist/components/navigation/Sidebar/Sidebar.d.ts +3 -0
- package/dist/components/navigation/Sidebar/Sidebar.theme.d.ts +2 -0
- package/dist/components/navigation/Sidebar/Sidebar.types.d.ts +129 -0
- package/dist/components/navigation/Sidebar/SidebarContent.d.ts +3 -0
- package/dist/components/navigation/Sidebar/SidebarContext.d.ts +17 -0
- package/dist/components/navigation/Sidebar/SidebarFooter.d.ts +3 -0
- package/dist/components/navigation/Sidebar/SidebarHeader.d.ts +3 -0
- package/dist/components/navigation/Sidebar/SidebarNav.d.ts +3 -0
- package/dist/components/navigation/Sidebar/SidebarNavGroup.d.ts +3 -0
- package/dist/components/navigation/Sidebar/SidebarToggle.d.ts +3 -0
- package/dist/components/navigation/Sidebar/index.d.ts +9 -0
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/icons/Icon.d.ts +17 -0
- package/dist/icons/Icon.js +28 -0
- package/dist/icons/Index.d.ts +16 -0
- package/dist/icons/core/ChevronUpDown.d.ts +1 -0
- package/dist/icons/core/ChevronUpDown.js +10 -0
- package/dist/icons/core/DollarIcon.d.ts +1 -0
- package/dist/icons/core/DollarIcon.js +8 -0
- package/dist/icons/core/LockIcon.d.ts +1 -0
- package/dist/icons/core/LockIcon.js +8 -0
- package/dist/icons/core/MinusIcon.d.ts +1 -0
- package/dist/icons/core/MinusIcon.js +9 -0
- package/dist/icons/core/PlusIcon.d.ts +1 -0
- package/dist/icons/core/PlusIcon.js +10 -0
- package/dist/icons/core/SearchIcon.d.ts +1 -0
- package/dist/icons/core/SearchIcon.js +10 -0
- package/dist/icons/core/TickIcon.d.ts +1 -0
- package/dist/icons/core/TickIcon.js +7 -0
- package/dist/icons/core/User.d.ts +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +40 -0
- package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronRightIcon.js +26 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/CheckIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronUpDownIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/MinusIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/solid/esm/EyeIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/solid/esm/EyeSlashIcon.js +28 -0
- package/dist/node_modules/@heroicons/react/24/solid/esm/LockClosedIcon.js +26 -0
- package/dist/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js +80 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +103 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +87 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +165 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +501 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +129 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +157 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +147 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +72 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +107 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +139 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +79 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +91 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +119 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +54 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +1582 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +112 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +35 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +489 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +357 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +51 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +3 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +47 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-spring.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +176 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +341 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +158 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +87 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +86 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +176 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +131 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +147 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +71 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +81 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +83 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +83 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +79 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +47 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +93 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +325 -0
- package/dist/node_modules/motion-dom/dist/es/value/spring-value.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +91 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +50 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +3 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +3 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +51 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +3 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +41 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +18 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +3 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +40 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +11 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +368 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
- package/dist/node_modules/react/jsx-runtime.js +19 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2956 -0
- package/dist/node_modules/tslib/tslib.es6.js +56 -0
- package/dist/styles.css +2 -0
- package/dist/theme/ThemeContext.d.ts +15 -0
- package/dist/types/button.types.d.ts +28 -0
- package/dist/utils/calendarUtils.d.ts +60 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.js +12 -0
- package/dist/utils/dateUtils.d.ts +58 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/useClickOutside.d.ts +7 -0
- package/dist/utils/useClickOutside.js +26 -0
- package/package.json +87 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ChartTooltipProps {
|
|
3
|
+
content?: ReactNode;
|
|
4
|
+
cursor?: boolean | object;
|
|
5
|
+
wrapperStyle?: React.CSSProperties;
|
|
6
|
+
labelStyle?: React.CSSProperties;
|
|
7
|
+
contentStyle?: React.CSSProperties;
|
|
8
|
+
itemStyle?: React.CSSProperties;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
payload?: any[];
|
|
11
|
+
label?: string | number;
|
|
12
|
+
className?: string;
|
|
13
|
+
position?: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface ChartTooltipContentProps {
|
|
19
|
+
active?: boolean;
|
|
20
|
+
payload?: any[];
|
|
21
|
+
label?: string | number;
|
|
22
|
+
labelKey?: string;
|
|
23
|
+
nameKey?: string;
|
|
24
|
+
indicator?: 'dot' | 'line' | 'dashed';
|
|
25
|
+
hideLabel?: boolean;
|
|
26
|
+
hideIndicator?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface MultiSeriesData {
|
|
30
|
+
category: string;
|
|
31
|
+
series: Array<{
|
|
32
|
+
key: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
value: number | string;
|
|
35
|
+
color?: string;
|
|
36
|
+
}>;
|
|
37
|
+
}
|
|
38
|
+
export interface MultiSeriesChartTooltipProps extends Omit<ChartTooltipProps, 'content'> {
|
|
39
|
+
content?: ReactNode | MultiSeriesData;
|
|
40
|
+
chartType?: 'line' | 'bar' | 'area';
|
|
41
|
+
containerClassName?: string;
|
|
42
|
+
categoryClassName?: string;
|
|
43
|
+
seriesContainerClassName?: string;
|
|
44
|
+
seriesRowClassName?: string;
|
|
45
|
+
dotClassName?: string;
|
|
46
|
+
labelClassName?: string;
|
|
47
|
+
valueClassName?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartTooltipContentProps } from './ChartTooltip.types';
|
|
3
|
+
export declare function ChartTooltipContent({ active, payload, label, labelKey, nameKey, indicator, hideLabel, hideIndicator, className, }: ChartTooltipContentProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ChartErrorBoundary, useChartErrorHandler } from './ChartErrorBoundary';
|
|
2
|
+
export { ChartCrosshair } from './ChartCrosshair';
|
|
3
|
+
export { ChartMarker } from './ChartMarker';
|
|
4
|
+
export { HorizontalGrid } from './ChartGrid';
|
|
5
|
+
export { ChartText } from './ChartText';
|
|
6
|
+
export { XAxis, YAxis } from './ChartAxis';
|
|
7
|
+
export { ChartTooltip } from './ChartTooltip';
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ChartDataPoint {
|
|
3
|
+
[key: string]: string | number | null | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface ChartConfig {
|
|
6
|
+
[key: string]: {
|
|
7
|
+
label?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
theme?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export type ChartVariant = 'default' | 'minimal' | 'gradient';
|
|
13
|
+
export type CurveType = 'linear' | 'monotone';
|
|
14
|
+
export interface ChartThemeOverrides {
|
|
15
|
+
baseStyle?: {
|
|
16
|
+
colors?: Partial<{
|
|
17
|
+
series: string[];
|
|
18
|
+
grid: string;
|
|
19
|
+
axis: string;
|
|
20
|
+
text: string;
|
|
21
|
+
background: string;
|
|
22
|
+
hover: string;
|
|
23
|
+
disabled: string;
|
|
24
|
+
}>;
|
|
25
|
+
opacity?: Partial<{
|
|
26
|
+
default: string;
|
|
27
|
+
hover: string;
|
|
28
|
+
disabled: string;
|
|
29
|
+
}>;
|
|
30
|
+
transitions?: Partial<{
|
|
31
|
+
default: string;
|
|
32
|
+
hover: string;
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
35
|
+
variants?: Partial<Record<ChartVariant, {
|
|
36
|
+
colors: string[];
|
|
37
|
+
}>>;
|
|
38
|
+
}
|
|
39
|
+
export declare const CHART_DEFAULTS: {
|
|
40
|
+
readonly showGrid: true;
|
|
41
|
+
readonly showXAxis: true;
|
|
42
|
+
readonly showYAxis: true;
|
|
43
|
+
readonly showNullValues: true;
|
|
44
|
+
readonly radius: 4;
|
|
45
|
+
readonly strokeWidth: 2;
|
|
46
|
+
readonly gap: 4;
|
|
47
|
+
readonly categoryGap: 16;
|
|
48
|
+
readonly curved: true;
|
|
49
|
+
readonly curveType: CurveType;
|
|
50
|
+
readonly fillOpacity: 0.3;
|
|
51
|
+
readonly showStroke: true;
|
|
52
|
+
readonly showDots: true;
|
|
53
|
+
readonly orientation: "vertical" | "horizontal";
|
|
54
|
+
readonly stacked: false;
|
|
55
|
+
readonly variant: ChartVariant;
|
|
56
|
+
readonly enableKeyboardNavigation: true;
|
|
57
|
+
};
|
|
58
|
+
export interface BaseChartProps {
|
|
59
|
+
data: ChartDataPoint[];
|
|
60
|
+
config: ChartConfig;
|
|
61
|
+
className?: string;
|
|
62
|
+
children?: ReactNode;
|
|
63
|
+
title?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
enableKeyboardNavigation?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export interface StandardChartDisplayProps {
|
|
68
|
+
showGrid?: boolean;
|
|
69
|
+
showXAxis?: boolean;
|
|
70
|
+
showYAxis?: boolean;
|
|
71
|
+
showNullValues?: boolean;
|
|
72
|
+
minValue?: number;
|
|
73
|
+
maxValue?: number;
|
|
74
|
+
variant?: ChartVariant;
|
|
75
|
+
theme?: ChartThemeOverrides;
|
|
76
|
+
}
|
|
77
|
+
export interface StandardVisualProps {
|
|
78
|
+
radius?: number;
|
|
79
|
+
strokeWidth?: number;
|
|
80
|
+
gap?: number;
|
|
81
|
+
curved?: boolean;
|
|
82
|
+
curveType?: CurveType;
|
|
83
|
+
showDots?: boolean;
|
|
84
|
+
fillOpacity?: number;
|
|
85
|
+
showStroke?: boolean;
|
|
86
|
+
stacked?: boolean;
|
|
87
|
+
}
|
|
88
|
+
export interface BarChartSpecificProps {
|
|
89
|
+
orientation?: 'vertical' | 'horizontal';
|
|
90
|
+
categoryGap?: number;
|
|
91
|
+
}
|
|
92
|
+
export interface StandardAxisConfig {
|
|
93
|
+
showXAxis?: boolean;
|
|
94
|
+
showYAxis?: boolean;
|
|
95
|
+
xAxisLabel?: string;
|
|
96
|
+
yAxisLabel?: string;
|
|
97
|
+
tickFormatter?: (value: number) => string;
|
|
98
|
+
labelFormatter?: (item: any, index: number) => string;
|
|
99
|
+
}
|
|
100
|
+
export type LineChartData = ChartDataPoint;
|
|
101
|
+
export type AreaChartData = ChartDataPoint;
|
|
102
|
+
export type BarChartData = ChartDataPoint;
|
|
103
|
+
export interface ChartContainerProps extends Omit<BaseChartProps, 'data' | 'config'> {
|
|
104
|
+
data?: ChartDataPoint[];
|
|
105
|
+
config?: ChartConfig;
|
|
106
|
+
minHeight?: string | number;
|
|
107
|
+
width?: string | number;
|
|
108
|
+
height?: string | number;
|
|
109
|
+
}
|
|
110
|
+
export type ChartSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
111
|
+
export interface ChartAnimationConfig {
|
|
112
|
+
duration?: number;
|
|
113
|
+
easing?: string;
|
|
114
|
+
delay?: number;
|
|
115
|
+
}
|
|
116
|
+
export interface ChartThemeConfig {
|
|
117
|
+
baseStyle: {
|
|
118
|
+
colors: {
|
|
119
|
+
series: string[];
|
|
120
|
+
grid: string;
|
|
121
|
+
axis: string;
|
|
122
|
+
text: string;
|
|
123
|
+
background: string;
|
|
124
|
+
hover: string;
|
|
125
|
+
disabled: string;
|
|
126
|
+
};
|
|
127
|
+
opacity: {
|
|
128
|
+
default: string;
|
|
129
|
+
hover: string;
|
|
130
|
+
disabled: string;
|
|
131
|
+
};
|
|
132
|
+
transitions: {
|
|
133
|
+
default: string;
|
|
134
|
+
hover: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
variants: {
|
|
138
|
+
default: {
|
|
139
|
+
colors: string[];
|
|
140
|
+
};
|
|
141
|
+
minimal: {
|
|
142
|
+
colors: string[];
|
|
143
|
+
};
|
|
144
|
+
gradient: {
|
|
145
|
+
colors: string[];
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
export interface ChartTheme {
|
|
150
|
+
colors: {
|
|
151
|
+
primary: string;
|
|
152
|
+
secondary: string;
|
|
153
|
+
accent: string;
|
|
154
|
+
muted: string;
|
|
155
|
+
background: string;
|
|
156
|
+
foreground: string;
|
|
157
|
+
border: string;
|
|
158
|
+
};
|
|
159
|
+
spacing: {
|
|
160
|
+
xs: string;
|
|
161
|
+
sm: string;
|
|
162
|
+
md: string;
|
|
163
|
+
lg: string;
|
|
164
|
+
xl: string;
|
|
165
|
+
};
|
|
166
|
+
borderRadius: {
|
|
167
|
+
sm: string;
|
|
168
|
+
md: string;
|
|
169
|
+
lg: string;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ChartDataPoint, ChartConfig } from '../types/chart.types';
|
|
2
|
+
/**
|
|
3
|
+
* Validation errors that can occur in chart components
|
|
4
|
+
*/
|
|
5
|
+
export interface ChartValidationError {
|
|
6
|
+
type: 'data' | 'config' | 'props' | 'calculation';
|
|
7
|
+
message: string;
|
|
8
|
+
field?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Result of chart validation
|
|
12
|
+
*/
|
|
13
|
+
export interface ChartValidationResult {
|
|
14
|
+
isValid: boolean;
|
|
15
|
+
errors: ChartValidationError[];
|
|
16
|
+
warnings: ChartValidationError[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Safe math operations to prevent division by zero and other edge cases
|
|
20
|
+
*/
|
|
21
|
+
export declare class SafeMath {
|
|
22
|
+
/**
|
|
23
|
+
* Safe division that returns 0 when dividing by zero
|
|
24
|
+
*/
|
|
25
|
+
static divide(numerator: number, denominator: number, fallback?: number): number;
|
|
26
|
+
/**
|
|
27
|
+
* Safe percentage calculation
|
|
28
|
+
*/
|
|
29
|
+
static percentage(value: number, total: number, fallback?: number): number;
|
|
30
|
+
/**
|
|
31
|
+
* Safe Math.max that handles empty arrays
|
|
32
|
+
*/
|
|
33
|
+
static max(values: number[], fallback?: number): number;
|
|
34
|
+
/**
|
|
35
|
+
* Safe Math.min that handles empty arrays
|
|
36
|
+
*/
|
|
37
|
+
static min(values: number[], fallback?: number): number;
|
|
38
|
+
/**
|
|
39
|
+
* Safe scale calculation for chart positioning
|
|
40
|
+
*/
|
|
41
|
+
static scale(value: number, min: number, max: number, targetMin?: number, targetMax?: number): number;
|
|
42
|
+
/**
|
|
43
|
+
* Clamp a value between min and max
|
|
44
|
+
*/
|
|
45
|
+
static clamp(value: number, min: number, max: number): number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Validates chart data array
|
|
49
|
+
*/
|
|
50
|
+
export declare function validateChartData(data: unknown): ChartValidationResult;
|
|
51
|
+
/**
|
|
52
|
+
* Validates chart configuration
|
|
53
|
+
*/
|
|
54
|
+
export declare function validateChartConfig(config: unknown): ChartValidationResult;
|
|
55
|
+
/**
|
|
56
|
+
* Validates that data and config are compatible
|
|
57
|
+
*/
|
|
58
|
+
export declare function validateDataConfigCompatibility(data: ChartDataPoint[], config: ChartConfig): ChartValidationResult;
|
|
59
|
+
/**
|
|
60
|
+
* Sanitizes chart data by removing invalid entries and normalizing values
|
|
61
|
+
*/
|
|
62
|
+
export declare function sanitizeChartData(data: ChartDataPoint[]): ChartDataPoint[];
|
|
63
|
+
/**
|
|
64
|
+
* Calculates safe min/max values for chart scales
|
|
65
|
+
*/
|
|
66
|
+
export declare function calculateSafeScaleRange(data: ChartDataPoint[], config: ChartConfig, options?: {
|
|
67
|
+
minValue?: number;
|
|
68
|
+
maxValue?: number;
|
|
69
|
+
includeZero?: boolean;
|
|
70
|
+
padding?: number;
|
|
71
|
+
}): {
|
|
72
|
+
min: number;
|
|
73
|
+
max: number;
|
|
74
|
+
hasValidData: boolean;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Comprehensive chart validation that combines all checks
|
|
78
|
+
*/
|
|
79
|
+
export declare function validateChart(data: unknown, config: unknown): ChartValidationResult;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color utilities for chart components
|
|
3
|
+
* Handles color extraction, manipulation, and theme integration
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Extracts the fill color class from a combined class string
|
|
7
|
+
* @param classString - Combined class string like "fill-primary-base stroke-primary-base"
|
|
8
|
+
* @returns The fill class or empty string
|
|
9
|
+
*/
|
|
10
|
+
export declare function extractFillClass(classString: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Extracts the stroke color class from a combined class string
|
|
13
|
+
* @param classString - Combined class string like "fill-primary-base stroke-primary-base"
|
|
14
|
+
* @returns The stroke class or empty string
|
|
15
|
+
*/
|
|
16
|
+
export declare function extractStrokeClass(classString: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a Tailwind color class to a CSS variable
|
|
19
|
+
* @param colorClass - Tailwind color class like "fill-primary-base"
|
|
20
|
+
* @returns CSS variable string like "var(--color-primary-500)"
|
|
21
|
+
*/
|
|
22
|
+
export declare function colorClassToVariable(colorClass: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Combines multiple Tailwind classes into a single class string
|
|
25
|
+
* @param classes - Array of class strings
|
|
26
|
+
* @returns Combined class string
|
|
27
|
+
*/
|
|
28
|
+
export declare function combineClasses(...classes: (string | undefined | null)[]): string;
|
|
29
|
+
/**
|
|
30
|
+
* Creates a color class string for chart elements
|
|
31
|
+
* @param baseColor - Base color (e.g., "primary", "warning")
|
|
32
|
+
* @param type - Type of element ("fill", "stroke", "both")
|
|
33
|
+
* @param shade - Color shade (e.g., "base", "400", "500")
|
|
34
|
+
* @returns Tailwind class string
|
|
35
|
+
*/
|
|
36
|
+
export declare function createColorClass(baseColor: string, type?: 'fill' | 'stroke' | 'both', shade?: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* Generates a series of color classes for multiple data series
|
|
39
|
+
* @param baseColors - Array of base color names
|
|
40
|
+
* @param type - Type of element ("fill", "stroke", "both")
|
|
41
|
+
* @param shade - Color shade
|
|
42
|
+
* @returns Array of color class strings
|
|
43
|
+
*/
|
|
44
|
+
export declare function generateSeriesColors(baseColors: string[], type?: 'fill' | 'stroke' | 'both', shade?: string): string[];
|
|
45
|
+
/**
|
|
46
|
+
* Default color palette for charts
|
|
47
|
+
*/
|
|
48
|
+
export declare const DEFAULT_CHART_COLORS: readonly ["primary", "warning", "success", "danger"];
|
|
49
|
+
/**
|
|
50
|
+
* Extended color palette for charts with more options
|
|
51
|
+
*/
|
|
52
|
+
export declare const EXTENDED_CHART_COLORS: readonly ["primary", "warning", "success", "danger", "info", "purple", "pink", "indigo"];
|
|
53
|
+
/**
|
|
54
|
+
* Minimal color palette for subtle charts
|
|
55
|
+
*/
|
|
56
|
+
export declare const MINIMAL_CHART_COLORS: readonly ["neutral", "slate", "gray", "zinc"];
|
|
57
|
+
/**
|
|
58
|
+
* Generate a color palette for charts
|
|
59
|
+
*/
|
|
60
|
+
export declare function generateColorPalette(count: number, baseHue?: number): string[];
|
|
61
|
+
/**
|
|
62
|
+
* Get contrast color (black or white) based on background color
|
|
63
|
+
*/
|
|
64
|
+
export declare function getContrastColor(backgroundColor: string): string;
|
|
65
|
+
/**
|
|
66
|
+
* Convert HSL to hex color
|
|
67
|
+
*/
|
|
68
|
+
export declare function hslToHex(h: number, s: number, l: number): string;
|
|
69
|
+
/**
|
|
70
|
+
* Lighten or darken a color
|
|
71
|
+
*/
|
|
72
|
+
export declare function adjustColorBrightness(color: string, amount: number): string;
|
|
73
|
+
/**
|
|
74
|
+
* Comprehensive color mapping that handles all chart color class variations
|
|
75
|
+
* Returns CSS variable references to match actual chart element colors
|
|
76
|
+
* Only uses CSS variables that actually exist in the project
|
|
77
|
+
*/
|
|
78
|
+
export declare const getColorValue: (colorClass: string) => string;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { extractFillClass, extractStrokeClass, colorClassToVariable, combineClasses, createColorClass, generateSeriesColors, DEFAULT_CHART_COLORS, EXTENDED_CHART_COLORS, MINIMAL_CHART_COLORS, generateColorPalette, getContrastColor, } from './color-utils';
|
|
2
|
+
export { SafeMath, validateChart, validateChartData, validateChartConfig, validateDataConfigCompatibility, sanitizeChartData, calculateSafeScaleRange, type ChartValidationError, type ChartValidationResult, } from './chart-validation';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Variants } from 'motion/react';
|
|
2
|
+
/**
|
|
3
|
+
* Accordion animation variants for smooth, staggered open/close transitions
|
|
4
|
+
*/
|
|
5
|
+
export declare const accordionAnimations: Variants;
|
|
6
|
+
/**
|
|
7
|
+
* Content animation variants for subtle slide-in effect after container expands
|
|
8
|
+
*/
|
|
9
|
+
export declare const accordionContentAnimations: Variants;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AccordionProps, AccordionContextValue } from "./Accordion.types";
|
|
3
|
+
export declare const useAccordionContext: () => AccordionContextValue;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
({ children, className, type, collapsible, defaultValue, value, onValueChange, theme: themeOverrides, ...props }: AccordionProps): React.JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
Item: React.ForwardRefExoticComponent<import("./Accordion.types").AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Trigger: React.ForwardRefExoticComponent<import("./Accordion.types").AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
Content: React.ForwardRefExoticComponent<import("./Accordion.types").AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Accordion component props
|
|
4
|
+
*/
|
|
5
|
+
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Accordion type - single allows only one item open, multiple allows many
|
|
8
|
+
*/
|
|
9
|
+
type?: "single" | "multiple";
|
|
10
|
+
/**
|
|
11
|
+
* Whether accordion can be collapsed after being opened (for type="single")
|
|
12
|
+
*/
|
|
13
|
+
collapsible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Default value(s) for the opened item(s)
|
|
16
|
+
*/
|
|
17
|
+
defaultValue?: string | string[];
|
|
18
|
+
/**
|
|
19
|
+
* Controlled value(s) for the opened item(s)
|
|
20
|
+
*/
|
|
21
|
+
value?: string | string[];
|
|
22
|
+
/**
|
|
23
|
+
* Callback when open state changes
|
|
24
|
+
*/
|
|
25
|
+
onValueChange?: (value: string | string[]) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Theme overrides
|
|
28
|
+
*/
|
|
29
|
+
theme?: AccordionThemeOverrides;
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Accordion context value
|
|
34
|
+
*/
|
|
35
|
+
export interface AccordionContextValue {
|
|
36
|
+
type: "single" | "multiple";
|
|
37
|
+
collapsible: boolean;
|
|
38
|
+
value: string | string[] | undefined;
|
|
39
|
+
onValueChange: (value: string | string[]) => void;
|
|
40
|
+
theme: AccordionThemeOverrides & {
|
|
41
|
+
baseStyle: string;
|
|
42
|
+
triggerStyle: string;
|
|
43
|
+
contentStyle: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* AccordionItem component props
|
|
48
|
+
*/
|
|
49
|
+
export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
50
|
+
/**
|
|
51
|
+
* Unique value for the accordion item
|
|
52
|
+
*/
|
|
53
|
+
value: string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional className for styling
|
|
56
|
+
*/
|
|
57
|
+
className?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Item content
|
|
60
|
+
*/
|
|
61
|
+
children: React.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* AccordionItem context value - to be used by Trigger and Content
|
|
65
|
+
*/
|
|
66
|
+
export interface AccordionItemContextValue {
|
|
67
|
+
value: string;
|
|
68
|
+
isOpen: boolean;
|
|
69
|
+
toggle: () => void;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Trigger props
|
|
73
|
+
*/
|
|
74
|
+
export interface AccordionTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
75
|
+
children: React.ReactNode;
|
|
76
|
+
className?: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Content props
|
|
80
|
+
*/
|
|
81
|
+
export interface AccordionContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
82
|
+
children: React.ReactNode;
|
|
83
|
+
className?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Theme overrides for Accordion
|
|
87
|
+
*/
|
|
88
|
+
export interface AccordionThemeOverrides {
|
|
89
|
+
baseStyle?: string;
|
|
90
|
+
triggerStyle?: string;
|
|
91
|
+
contentStyle?: string;
|
|
92
|
+
itemStyle?: string;
|
|
93
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AccordionItemProps, AccordionItemContextValue } from "./Accordion.types";
|
|
3
|
+
export declare const useAccordionItemContext: () => AccordionItemContextValue;
|
|
4
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Accordion from "./Accordion";
|
|
2
|
+
import { AccordionProps, AccordionTriggerProps, AccordionContentProps, AccordionItemProps, AccordionContextValue, AccordionItemContextValue, AccordionThemeOverrides } from "./Accordion.types";
|
|
3
|
+
export { Accordion };
|
|
4
|
+
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionContextValue, AccordionItemContextValue, AccordionThemeOverrides, };
|
|
5
|
+
export default Accordion;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AvatarSize, AvatarStatus } from './Avatar.types';
|
|
2
|
+
/**
|
|
3
|
+
* Internal theme structure for the Avatar component
|
|
4
|
+
*/
|
|
5
|
+
interface AvatarTheme {
|
|
6
|
+
baseStyle: string;
|
|
7
|
+
sizes: Record<AvatarSize, string>;
|
|
8
|
+
statuses: Record<AvatarStatus, string>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Default theme for the Avatar component
|
|
12
|
+
*/
|
|
13
|
+
export declare const avatarTheme: AvatarTheme;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'none';
|
|
4
|
+
export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/**
|
|
6
|
+
* The source URL for the avatar image
|
|
7
|
+
*/
|
|
8
|
+
src?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Alternative text for the avatar image.
|
|
11
|
+
* Should describe the person or entity represented by the avatar.
|
|
12
|
+
* @default "Avatar"
|
|
13
|
+
*/
|
|
14
|
+
alt?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The size of the avatar
|
|
17
|
+
* @default "md"
|
|
18
|
+
*/
|
|
19
|
+
size?: AvatarSize;
|
|
20
|
+
/**
|
|
21
|
+
* Optional status indicator
|
|
22
|
+
* @default "none"
|
|
23
|
+
*/
|
|
24
|
+
status?: AvatarStatus;
|
|
25
|
+
/**
|
|
26
|
+
* Fallback content to display when image fails to load or no src is provided
|
|
27
|
+
*/
|
|
28
|
+
fallback?: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* ARIA role for the avatar
|
|
31
|
+
* Use "presentation" for purely decorative avatars
|
|
32
|
+
*/
|
|
33
|
+
role?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to enable lazy loading for the image
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
lazyLoad?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Maximum number of times to retry loading the image if it fails
|
|
41
|
+
* @default 0
|
|
42
|
+
*/
|
|
43
|
+
retryCount?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Delay in milliseconds between retry attempts
|
|
46
|
+
* @default 1000
|
|
47
|
+
*/
|
|
48
|
+
retryDelay?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Additional contextual information about the avatar
|
|
51
|
+
* Useful for avatar groups or when more context is needed
|
|
52
|
+
*/
|
|
53
|
+
contextualLabel?: string;
|
|
54
|
+
/**
|
|
55
|
+
* CSS class for the group positioning
|
|
56
|
+
* e.g. "-mr-3 ring-2 ring-white" for overlapping avatars
|
|
57
|
+
*/
|
|
58
|
+
groupPosition?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Whether to show a tooltip with the person's name on hover
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
showTooltip?: boolean;
|
|
64
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Variants } from "framer-motion";
|
|
2
|
+
import { AvatarGroupDirection } from "./AvatarGroup.types";
|
|
3
|
+
/**
|
|
4
|
+
* Animation variants for AvatarGroup hover effects
|
|
5
|
+
* Creates a creative sliding and focus effect where hovered avatars scale up
|
|
6
|
+
* while non-hovered avatars slide closer together and fade slightly
|
|
7
|
+
*/
|
|
8
|
+
export declare const getAvatarGroupVariants: (direction?: AvatarGroupDirection, shouldReduceMotion?: boolean | null) => Variants;
|
|
9
|
+
/**
|
|
10
|
+
* Determines which animation state to use based on hover index
|
|
11
|
+
*/
|
|
12
|
+
export declare const getAnimationState: (currentIndex: number, hoveredIndex: number | null, enableAnimations: boolean) => string;
|