@schandlergarcia/sf-web-components 1.9.28 → 1.9.30
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/.a4drules/features/command-center-dashboard-rule.md +6 -10
- package/.a4drules/skills/command-center-builder/SKILL.md +29 -629
- package/.a4drules/skills/command-center-builder/charts-visualization.md +136 -0
- package/.a4drules/skills/command-center-builder/completion-checklist.md +87 -0
- package/.a4drules/skills/command-center-builder/components-styling.md +97 -0
- package/.a4drules/skills/command-center-builder/data-forms-ai.md +43 -0
- package/.a4drules/skills/command-center-builder/getting-started.md +127 -0
- package/.a4drules/skills/command-center-builder/page-layout.md +143 -0
- package/.a4drules/skills/command-center-guide/SKILL.md +217 -0
- package/.a4drules/skills/command-center-project/SKILL.md +4 -4
- package/.a4drules/skills/component-library/SKILL.md +27 -1000
- package/.a4drules/skills/component-library/card-components.md +253 -0
- package/.a4drules/skills/component-library/charts.md +64 -0
- package/.a4drules/skills/component-library/chat-data.md +184 -0
- package/.a4drules/skills/component-library/common-mistakes.md +25 -0
- package/.a4drules/skills/component-library/forms-filters.md +130 -0
- package/.a4drules/skills/component-library/hero-ui.md +211 -0
- package/.a4drules/skills/component-library/ui-primitives.md +92 -0
- package/.a4drules/skills/component-library/when-to-use.md +39 -0
- package/README.md +80 -507
- package/dist/components/library/cards/ActionList.d.ts +10 -10
- package/dist/components/library/cards/ActionList.js +4 -3
- package/dist/components/library/cards/ActionList.js.map +1 -1
- package/dist/components/library/cards/ActivityCard.d.ts +5 -18
- package/dist/components/library/cards/ActivityCard.js +4 -3
- package/dist/components/library/cards/ActivityCard.js.map +1 -1
- package/dist/components/library/cards/BaseCard.d.ts +24 -30
- package/dist/components/library/cards/BaseCard.js +3 -2
- package/dist/components/library/cards/BaseCard.js.map +1 -1
- package/dist/components/library/cards/CalloutCard.d.ts +9 -11
- package/dist/components/library/cards/CalloutCard.js +3 -2
- package/dist/components/library/cards/CalloutCard.js.map +1 -1
- package/dist/components/library/cards/ChartCard.d.ts +17 -29
- package/dist/components/library/cards/ChartCard.js +14 -13
- package/dist/components/library/cards/ChartCard.js.map +1 -1
- package/dist/components/library/cards/FeedPanel.d.ts +11 -12
- package/dist/components/library/cards/FeedPanel.js +4 -3
- package/dist/components/library/cards/FeedPanel.js.map +1 -1
- package/dist/components/library/cards/ListCard.d.ts +20 -33
- package/dist/components/library/cards/ListCard.js +38 -38
- package/dist/components/library/cards/ListCard.js.map +1 -1
- package/dist/components/library/cards/MetricCard.d.ts +17 -23
- package/dist/components/library/cards/MetricCard.js +11 -10
- package/dist/components/library/cards/MetricCard.js.map +1 -1
- package/dist/components/library/cards/MetricsStrip.d.ts +11 -11
- package/dist/components/library/cards/MetricsStrip.js +1 -1
- package/dist/components/library/cards/MetricsStrip.js.map +1 -1
- package/dist/components/library/cards/SectionCard.d.ts +12 -17
- package/dist/components/library/cards/SectionCard.js +19 -18
- package/dist/components/library/cards/SectionCard.js.map +1 -1
- package/dist/components/library/cards/SemanticMetricCard.d.ts +20 -15
- package/dist/components/library/cards/SemanticMetricCardWithLoading.d.ts +7 -8
- package/dist/components/library/cards/SemanticTableCard.d.ts +18 -13
- package/dist/components/library/cards/SemanticTableCardWithLoading.d.ts +7 -8
- package/dist/components/library/cards/StatusCard.d.ts +15 -29
- package/dist/components/library/cards/StatusCard.js +17 -16
- package/dist/components/library/cards/StatusCard.js.map +1 -1
- package/dist/components/library/cards/TableCard.d.ts +23 -40
- package/dist/components/library/cards/TableCard.js +56 -56
- package/dist/components/library/cards/TableCard.js.map +1 -1
- package/dist/components/library/cards/WidgetCard.d.ts +11 -19
- package/dist/components/library/cards/WidgetCard.js +4 -4
- package/dist/components/library/cards/WidgetCard.js.map +1 -1
- package/dist/components/library/charts/D3Chart.d.ts +16 -23
- package/dist/components/library/charts/D3Chart.js.map +1 -1
- package/dist/components/library/charts/D3ChartTemplates.d.ts +3 -33
- package/dist/components/library/charts/D3ChartTemplates.js +7 -7
- package/dist/components/library/charts/D3ChartTemplates.js.map +1 -1
- package/dist/components/library/charts/GeoMap.d.ts +18 -81
- package/dist/components/library/charts/GeoMap.js +26 -28
- package/dist/components/library/charts/GeoMap.js.map +1 -1
- package/dist/components/library/chat/ChatBar.d.ts +11 -14
- package/dist/components/library/chat/ChatBar.js +3 -2
- package/dist/components/library/chat/ChatBar.js.map +1 -1
- package/dist/components/library/chat/ChatInput.d.ts +8 -9
- package/dist/components/library/chat/ChatInput.js.map +1 -1
- package/dist/components/library/chat/ChatMessage.d.ts +4 -18
- package/dist/components/library/chat/ChatMessage.js.map +1 -1
- package/dist/components/library/chat/ChatMessageList.d.ts +8 -11
- package/dist/components/library/chat/ChatMessageList.js.map +1 -1
- package/dist/components/library/chat/ChatPanel.d.ts +12 -16
- package/dist/components/library/chat/ChatPanel.js +9 -8
- package/dist/components/library/chat/ChatPanel.js.map +1 -1
- package/dist/components/library/chat/ChatSuggestions.d.ts +4 -5
- package/dist/components/library/chat/ChatSuggestions.js +3 -2
- package/dist/components/library/chat/ChatSuggestions.js.map +1 -1
- package/dist/components/library/chat/ChatToolCall.d.ts +3 -11
- package/dist/components/library/chat/ChatToolCall.js.map +1 -1
- package/dist/components/library/chat/ChatTypingIndicator.d.ts +3 -4
- package/dist/components/library/chat/ChatTypingIndicator.js +3 -2
- package/dist/components/library/chat/ChatTypingIndicator.js.map +1 -1
- package/dist/components/library/chat/ChatWelcome.d.ts +7 -9
- package/dist/components/library/chat/ChatWelcome.js +7 -6
- package/dist/components/library/chat/ChatWelcome.js.map +1 -1
- package/dist/components/library/chat/index.d.ts +0 -10
- package/dist/components/library/chat/useChatState.d.ts +11 -37
- package/dist/components/library/chat/useChatState.js +46 -63
- package/dist/components/library/chat/useChatState.js.map +1 -1
- package/dist/components/library/data/DataModeProvider.d.ts +11 -15
- package/dist/components/library/data/DataModeProvider.js +9 -9
- package/dist/components/library/data/DataModeProvider.js.map +1 -1
- package/dist/components/library/data/DataModeToggle.d.ts +3 -4
- package/dist/components/library/data/DataModeToggle.js +5 -4
- package/dist/components/library/data/DataModeToggle.js.map +1 -1
- package/dist/components/library/data/chartDataProvider.d.ts +3 -41
- package/dist/components/library/data/filterUtils.d.ts +9 -38
- package/dist/components/library/data/filterUtils.js.map +1 -1
- package/dist/components/library/data/useDataSource.d.ts +4 -6
- package/dist/components/library/data/useDataSource.js.map +1 -1
- package/dist/components/library/data/usePageFilters.d.ts +5 -31
- package/dist/components/library/data/usePageFilters.js +2 -6
- package/dist/components/library/data/usePageFilters.js.map +1 -1
- package/dist/components/library/filters/FilterBar.d.ts +8 -18
- package/dist/components/library/filters/FilterBar.js +3 -2
- package/dist/components/library/filters/FilterBar.js.map +1 -1
- package/dist/components/library/filters/SearchFilter.d.ts +6 -7
- package/dist/components/library/filters/SearchFilter.js +3 -2
- package/dist/components/library/filters/SearchFilter.js.map +1 -1
- package/dist/components/library/filters/SelectFilter.d.ts +7 -13
- package/dist/components/library/filters/SelectFilter.js +3 -2
- package/dist/components/library/filters/SelectFilter.js.map +1 -1
- package/dist/components/library/filters/ToggleFilter.d.ts +5 -7
- package/dist/components/library/filters/ToggleFilter.js +3 -2
- package/dist/components/library/filters/ToggleFilter.js.map +1 -1
- package/dist/components/library/forms/FormField.d.ts +8 -10
- package/dist/components/library/forms/FormField.js +4 -3
- package/dist/components/library/forms/FormField.js.map +1 -1
- package/dist/components/library/forms/FormModal.d.ts +14 -23
- package/dist/components/library/forms/FormModal.js.map +1 -1
- package/dist/components/library/forms/FormRenderer.d.ts +9 -29
- package/dist/components/library/forms/FormRenderer.js +7 -6
- package/dist/components/library/forms/FormRenderer.js.map +1 -1
- package/dist/components/library/forms/FormSection.d.ts +8 -10
- package/dist/components/library/forms/FormSection.js +3 -2
- package/dist/components/library/forms/FormSection.js.map +1 -1
- package/dist/components/library/forms/index.d.ts +0 -5
- package/dist/components/library/forms/useFormState.d.ts +15 -23
- package/dist/components/library/forms/useFormState.js +47 -53
- package/dist/components/library/forms/useFormState.js.map +1 -1
- package/dist/components/library/heroui/Accordion.d.ts +5 -6
- package/dist/components/library/heroui/Accordion.js +8 -7
- package/dist/components/library/heroui/Accordion.js.map +1 -1
- package/dist/components/library/heroui/Alert.d.ts +5 -6
- package/dist/components/library/heroui/Alert.js +8 -7
- package/dist/components/library/heroui/Alert.js.map +1 -1
- package/dist/components/library/heroui/Badge.d.ts +5 -8
- package/dist/components/library/heroui/Badge.js +3 -2
- package/dist/components/library/heroui/Badge.js.map +1 -1
- package/dist/components/library/heroui/Breadcrumbs.d.ts +2 -5
- package/dist/components/library/heroui/Breadcrumbs.js +5 -4
- package/dist/components/library/heroui/Breadcrumbs.js.map +1 -1
- package/dist/components/library/heroui/Button.d.ts +26 -16
- package/dist/components/library/heroui/Button.js +22 -21
- package/dist/components/library/heroui/Button.js.map +1 -1
- package/dist/components/library/heroui/Card.d.ts +5 -8
- package/dist/components/library/heroui/Card.js +7 -6
- package/dist/components/library/heroui/Card.js.map +1 -1
- package/dist/components/library/heroui/Collapsible.d.ts +30 -19
- package/dist/components/library/heroui/Collapsible.js +17 -13
- package/dist/components/library/heroui/Collapsible.js.map +1 -1
- package/dist/components/library/heroui/DatePicker.d.ts +52 -24
- package/dist/components/library/heroui/DatePicker.js +6 -5
- package/dist/components/library/heroui/DatePicker.js.map +1 -1
- package/dist/components/library/heroui/Dialog.d.ts +32 -18
- package/dist/components/library/heroui/Dialog.js +7 -6
- package/dist/components/library/heroui/Dialog.js.map +1 -1
- package/dist/components/library/heroui/Drawer.d.ts +2 -6
- package/dist/components/library/heroui/Drawer.js +3 -2
- package/dist/components/library/heroui/Drawer.js.map +1 -1
- package/dist/components/library/heroui/Dropdown.d.ts +2 -6
- package/dist/components/library/heroui/Dropdown.js +3 -2
- package/dist/components/library/heroui/Dropdown.js.map +1 -1
- package/dist/components/library/heroui/Field.d.ts +38 -19
- package/dist/components/library/heroui/Field.js +10 -9
- package/dist/components/library/heroui/Field.js.map +1 -1
- package/dist/components/library/heroui/Input.d.ts +1 -5
- package/dist/components/library/heroui/Input.js +1 -0
- package/dist/components/library/heroui/Input.js.map +1 -1
- package/dist/components/library/heroui/Kbd.d.ts +5 -6
- package/dist/components/library/heroui/Kbd.js +5 -4
- package/dist/components/library/heroui/Kbd.js.map +1 -1
- package/dist/components/library/heroui/Meter.d.ts +5 -7
- package/dist/components/library/heroui/Meter.js +5 -4
- package/dist/components/library/heroui/Meter.js.map +1 -1
- package/dist/components/library/heroui/Modal.d.ts +2 -6
- package/dist/components/library/heroui/Modal.js +3 -2
- package/dist/components/library/heroui/Modal.js.map +1 -1
- package/dist/components/library/heroui/Pagination.d.ts +2 -6
- package/dist/components/library/heroui/Pagination.js +5 -4
- package/dist/components/library/heroui/Pagination.js.map +1 -1
- package/dist/components/library/heroui/Popover.d.ts +40 -23
- package/dist/components/library/heroui/Popover.js +20 -20
- package/dist/components/library/heroui/Popover.js.map +1 -1
- package/dist/components/library/heroui/ProgressBar.d.ts +5 -8
- package/dist/components/library/heroui/ProgressBar.js +1 -0
- package/dist/components/library/heroui/ProgressBar.js.map +1 -1
- package/dist/components/library/heroui/ProgressCircle.d.ts +5 -8
- package/dist/components/library/heroui/ProgressCircle.js +1 -0
- package/dist/components/library/heroui/ProgressCircle.js.map +1 -1
- package/dist/components/library/heroui/ScrollShadow.d.ts +5 -8
- package/dist/components/library/heroui/ScrollShadow.js +4 -3
- package/dist/components/library/heroui/ScrollShadow.js.map +1 -1
- package/dist/components/library/heroui/Select.d.ts +37 -31
- package/dist/components/library/heroui/Select.js +11 -8
- package/dist/components/library/heroui/Select.js.map +1 -1
- package/dist/components/library/heroui/Separator.d.ts +2 -6
- package/dist/components/library/heroui/Separator.js +5 -4
- package/dist/components/library/heroui/Separator.js.map +1 -1
- package/dist/components/library/heroui/Skeleton.d.ts +5 -8
- package/dist/components/library/heroui/Skeleton.js +5 -4
- package/dist/components/library/heroui/Skeleton.js.map +1 -1
- package/dist/components/library/heroui/Tabs.d.ts +5 -6
- package/dist/components/library/heroui/Tabs.js +8 -7
- package/dist/components/library/heroui/Tabs.js.map +1 -1
- package/dist/components/library/heroui/Toast.d.ts +3 -6
- package/dist/components/library/heroui/Toast.js +4 -3
- package/dist/components/library/heroui/Toast.js.map +1 -1
- package/dist/components/library/heroui/Toggle.d.ts +4 -5
- package/dist/components/library/heroui/Toggle.js +6 -5
- package/dist/components/library/heroui/Toggle.js.map +1 -1
- package/dist/components/library/heroui/Tooltip.d.ts +2 -6
- package/dist/components/library/heroui/Tooltip.js +3 -2
- package/dist/components/library/heroui/Tooltip.js.map +1 -1
- package/dist/components/library/index.d.ts +98 -129
- package/dist/components/library/index.js +57 -41
- package/dist/components/library/index.js.map +1 -1
- package/dist/components/library/layout/PageContainer.d.ts +4 -6
- package/dist/components/library/layout/PageContainer.js +5 -4
- package/dist/components/library/layout/PageContainer.js.map +1 -1
- package/dist/components/library/skeletons/CardSkeleton.d.ts +4 -5
- package/dist/components/library/skeletons/CardSkeleton.js +3 -2
- package/dist/components/library/skeletons/CardSkeleton.js.map +1 -1
- package/dist/components/library/theme/AppThemeProvider.d.ts +50 -13
- package/dist/components/library/theme/AppThemeProvider.js +4 -4
- package/dist/components/library/theme/AppThemeProvider.js.map +1 -1
- package/dist/components/library/theme/tokens.d.ts +44 -45
- package/dist/components/library/theme/tokens.js.map +1 -1
- package/dist/components/library/ui/Alert.d.ts +21 -0
- package/dist/components/library/ui/{alert.js → Alert.js} +14 -13
- package/dist/components/library/ui/Alert.js.map +1 -0
- package/dist/components/library/ui/Avatar.d.ts +10 -22
- package/dist/components/library/ui/Avatar.js +16 -39
- package/dist/components/library/ui/Avatar.js.map +1 -1
- package/dist/components/library/ui/BreadcrumbExtras.d.ts +2 -1
- package/dist/components/library/ui/Button.d.ts +10 -9
- package/dist/components/library/ui/{UIButton.js → Button.js} +31 -26
- package/dist/components/library/ui/Button.js.map +1 -0
- package/dist/components/library/ui/Card.d.ts +37 -23
- package/dist/components/library/ui/{card.js → Card.js} +26 -24
- package/dist/components/library/ui/Card.js.map +1 -0
- package/dist/components/library/ui/Checkbox.d.ts +4 -0
- package/dist/components/library/ui/{checkbox.js → Checkbox.js} +5 -4
- package/dist/components/library/ui/Checkbox.js.map +1 -0
- package/dist/components/library/ui/Chip.d.ts +7 -18
- package/dist/components/library/ui/Chip.js +12 -11
- package/dist/components/library/ui/Chip.js.map +1 -1
- package/dist/components/library/ui/{collapsible.d.ts → Collapsible.d.ts} +1 -1
- package/dist/components/library/ui/Container.d.ts +13 -12
- package/dist/components/library/ui/Container.js +17 -16
- package/dist/components/library/ui/Container.js.map +1 -1
- package/dist/components/library/ui/{dialog.d.ts → Dialog.d.ts} +1 -1
- package/dist/components/library/ui/EmptyState.d.ts +7 -34
- package/dist/components/library/ui/EmptyState.js +6 -5
- package/dist/components/library/ui/EmptyState.js.map +1 -1
- package/dist/components/library/ui/FieldGroup.d.ts +5 -4
- package/dist/components/library/ui/FieldGroup.js +5 -4
- package/dist/components/library/ui/FieldGroup.js.map +1 -1
- package/dist/components/library/ui/Input.d.ts +5 -3
- package/dist/components/library/ui/{UIInput.js → Input.js} +7 -6
- package/dist/components/library/ui/Input.js.map +1 -0
- package/dist/components/library/ui/Label.d.ts +7 -0
- package/dist/components/library/ui/Label.js +23 -0
- package/dist/components/library/ui/Label.js.map +1 -0
- package/dist/components/library/ui/PaginationExtras.d.ts +2 -1
- package/dist/components/library/ui/{popover.d.ts → Popover.d.ts} +1 -1
- package/dist/components/library/ui/{select.d.ts → Select.d.ts} +1 -1
- package/dist/components/library/ui/Spinner.d.ts +5 -21
- package/dist/components/library/ui/{spinner.js → Spinner.js} +17 -16
- package/dist/components/library/ui/Spinner.js.map +1 -0
- package/dist/components/library/ui/Text.d.ts +10 -24
- package/dist/components/library/ui/Text.js +23 -20
- package/dist/components/library/ui/Text.js.map +1 -1
- package/dist/components/library/ui/Toggle.d.ts +5 -0
- package/dist/components/library/ui/Toggle.js +47 -0
- package/dist/components/library/ui/Toggle.js.map +1 -0
- package/dist/components/workspace/ComponentRegistry.d.ts +140 -116
- package/dist/components/workspace/ComponentRegistry.js +46 -46
- package/dist/components/workspace/ComponentRegistry.js.map +1 -1
- package/dist/index.js +241 -229
- package/dist/index.js.map +1 -1
- package/dist/styles/base.css +0 -8
- package/package.json +14 -21
- package/scripts/reset-command-center.sh +181 -202
- package/scripts/validate-dashboard.sh +21 -30
- package/INSTALL.md +0 -200
- package/dist/components/library/ui/BreadcrumbExtras.js +0 -109
- package/dist/components/library/ui/BreadcrumbExtras.js.map +0 -1
- package/dist/components/library/ui/PaginationExtras.js +0 -138
- package/dist/components/library/ui/PaginationExtras.js.map +0 -1
- package/dist/components/library/ui/UIButton.d.ts +0 -22
- package/dist/components/library/ui/UIButton.js.map +0 -1
- package/dist/components/library/ui/UIInput.d.ts +0 -4
- package/dist/components/library/ui/UIInput.js.map +0 -1
- package/dist/components/library/ui/alert.d.ts +0 -23
- package/dist/components/library/ui/alert.js.map +0 -1
- package/dist/components/library/ui/badge.d.ts +0 -9
- package/dist/components/library/ui/badge.js +0 -43
- package/dist/components/library/ui/badge.js.map +0 -1
- package/dist/components/library/ui/breadcrumb.d.ts +0 -11
- package/dist/components/library/ui/breadcrumb.js +0 -103
- package/dist/components/library/ui/breadcrumb.js.map +0 -1
- package/dist/components/library/ui/button.js +0 -56
- package/dist/components/library/ui/button.js.map +0 -1
- package/dist/components/library/ui/calendar.d.ts +0 -10
- package/dist/components/library/ui/calendar.js +0 -187
- package/dist/components/library/ui/calendar.js.map +0 -1
- package/dist/components/library/ui/card.js.map +0 -1
- package/dist/components/library/ui/checkbox.d.ts +0 -4
- package/dist/components/library/ui/checkbox.js.map +0 -1
- package/dist/components/library/ui/collapsible.js +0 -29
- package/dist/components/library/ui/collapsible.js.map +0 -1
- package/dist/components/library/ui/datePicker.js +0 -25
- package/dist/components/library/ui/datePicker.js.map +0 -1
- package/dist/components/library/ui/dialog.js +0 -137
- package/dist/components/library/ui/dialog.js.map +0 -1
- package/dist/components/library/ui/field.js +0 -78
- package/dist/components/library/ui/field.js.map +0 -1
- package/dist/components/library/ui/input.js +0 -20
- package/dist/components/library/ui/input.js.map +0 -1
- package/dist/components/library/ui/label.d.ts +0 -5
- package/dist/components/library/ui/label.js +0 -22
- package/dist/components/library/ui/label.js.map +0 -1
- package/dist/components/library/ui/pagination.d.ts +0 -17
- package/dist/components/library/ui/pagination.js +0 -126
- package/dist/components/library/ui/pagination.js.map +0 -1
- package/dist/components/library/ui/popover.js +0 -35
- package/dist/components/library/ui/popover.js.map +0 -1
- package/dist/components/library/ui/select.js +0 -106
- package/dist/components/library/ui/select.js.map +0 -1
- package/dist/components/library/ui/separator.d.ts +0 -4
- package/dist/components/library/ui/separator.js +0 -27
- package/dist/components/library/ui/separator.js.map +0 -1
- package/dist/components/library/ui/shadcn-exports.d.ts +0 -22
- package/dist/components/library/ui/skeleton.d.ts +0 -3
- package/dist/components/library/ui/skeleton.js +0 -16
- package/dist/components/library/ui/skeleton.js.map +0 -1
- package/dist/components/library/ui/sonner.d.ts +0 -15
- package/dist/components/library/ui/sonner.js +0 -11
- package/dist/components/library/ui/sonner.js.map +0 -1
- package/dist/components/library/ui/spinner.js.map +0 -1
- package/dist/components/library/ui/table.d.ts +0 -10
- package/dist/components/library/ui/table.js +0 -115
- package/dist/components/library/ui/table.js.map +0 -1
- package/dist/components/library/ui/tabs.d.ts +0 -11
- package/dist/components/library/ui/tabs.js +0 -91
- package/dist/components/library/ui/tabs.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -62
- package/dist/node_modules/@date-fns/tz/date/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -70
- package/dist/node_modules/@date-fns/tz/date/mini.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -12
- package/dist/node_modules/@date-fns/tz/tzName/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -23
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -533
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -404
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -233
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/@radix-ui/number/dist/index.js +0 -7
- package/dist/node_modules/@radix-ui/number/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -25
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -252
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -120
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -51
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -30
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -258
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.js +0 -69
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -11
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -18
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -20
- package/dist/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -240
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -220
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -71
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -184
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -844
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -25
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -164
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-context/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -11
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -53
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -28
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -31
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.js +0 -33
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -53
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -36
- package/dist/node_modules/class-variance-authority/dist/index.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -8
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -549
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -59
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -50
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -12
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -9
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -21
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
- package/dist/node_modules/date-fns/addDays.js +0 -10
- package/dist/node_modules/date-fns/addDays.js.map +0 -1
- package/dist/node_modules/date-fns/addMonths.js +0 -20
- package/dist/node_modules/date-fns/addMonths.js.map +0 -1
- package/dist/node_modules/date-fns/addWeeks.js +0 -8
- package/dist/node_modules/date-fns/addWeeks.js.map +0 -1
- package/dist/node_modules/date-fns/addYears.js +0 -8
- package/dist/node_modules/date-fns/addYears.js.map +0 -1
- package/dist/node_modules/date-fns/constants.js +0 -7
- package/dist/node_modules/date-fns/constants.js.map +0 -1
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/constructFrom.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
- package/dist/node_modules/date-fns/eachMonthOfInterval.js.map +0 -1
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
- package/dist/node_modules/date-fns/eachYearOfInterval.js.map +0 -1
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/endOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfMonth.js +0 -9
- package/dist/node_modules/date-fns/endOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/endOfWeek.js +0 -10
- package/dist/node_modules/date-fns/endOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfYear.js +0 -9
- package/dist/node_modules/date-fns/endOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/format.js +0 -58
- package/dist/node_modules/date-fns/format.js.map +0 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
- package/dist/node_modules/date-fns/getDayOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
- package/dist/node_modules/date-fns/getDaysInMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeek.js +0 -12
- package/dist/node_modules/date-fns/getISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getMonth.js +0 -8
- package/dist/node_modules/date-fns/getMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getWeek.js +0 -12
- package/dist/node_modules/date-fns/getWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getWeekYear.js +0 -16
- package/dist/node_modules/date-fns/getWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getYear.js +0 -8
- package/dist/node_modules/date-fns/getYear.js.map +0 -1
- package/dist/node_modules/date-fns/isAfter.js +0 -8
- package/dist/node_modules/date-fns/isAfter.js.map +0 -1
- package/dist/node_modules/date-fns/isBefore.js +0 -8
- package/dist/node_modules/date-fns/isBefore.js.map +0 -1
- package/dist/node_modules/date-fns/isDate.js +0 -7
- package/dist/node_modules/date-fns/isDate.js.map +0 -1
- package/dist/node_modules/date-fns/isSameDay.js +0 -14
- package/dist/node_modules/date-fns/isSameDay.js.map +0 -1
- package/dist/node_modules/date-fns/isSameMonth.js +0 -13
- package/dist/node_modules/date-fns/isSameMonth.js.map +0 -1
- package/dist/node_modules/date-fns/isSameYear.js +0 -13
- package/dist/node_modules/date-fns/isSameYear.js.map +0 -1
- package/dist/node_modules/date-fns/isValid.js +0 -9
- package/dist/node_modules/date-fns/isValid.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/locale/en-US.js.map +0 -1
- package/dist/node_modules/date-fns/max.js +0 -14
- package/dist/node_modules/date-fns/max.js.map +0 -1
- package/dist/node_modules/date-fns/min.js +0 -14
- package/dist/node_modules/date-fns/min.js.map +0 -1
- package/dist/node_modules/date-fns/setMonth.js +0 -13
- package/dist/node_modules/date-fns/setMonth.js.map +0 -1
- package/dist/node_modules/date-fns/setYear.js +0 -10
- package/dist/node_modules/date-fns/setYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfDay.js +0 -9
- package/dist/node_modules/date-fns/startOfDay.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfMonth.js +0 -9
- package/dist/node_modules/date-fns/startOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeek.js +0 -10
- package/dist/node_modules/date-fns/startOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfYear.js +0 -9
- package/dist/node_modules/date-fns/startOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/date-fns/toDate.js.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -8
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/radix-ui/node_modules/@radix-ui/react-slot/dist/index.js +0 -53
- package/dist/node_modules/radix-ui/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -235
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/UI.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -149
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -55
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -43
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -35
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -25
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -38
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -105
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -57
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -76
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -29
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -12
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -116
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -32
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -17
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -69
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -72
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -8
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -26
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -12
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -16
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -31
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/node_modules/sonner/dist/index.js +0 -265
- package/dist/node_modules/sonner/dist/index.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -28
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -7
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -27
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -19
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -68
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/types/conversation.d.ts +0 -44
- package/scripts/convert-to-typescript.sh +0 -52
- package/scripts/postinstall.mjs +0 -368
- package/scripts/remove-local-components.mjs +0 -78
- package/src/components/library/cards/ActionList.tsx +0 -42
- package/src/components/library/cards/ActivityCard.tsx +0 -85
- package/src/components/library/cards/BaseCard.tsx +0 -136
- package/src/components/library/cards/CalloutCard.tsx +0 -39
- package/src/components/library/cards/ChartCard.tsx +0 -131
- package/src/components/library/cards/FeedPanel.tsx +0 -50
- package/src/components/library/cards/ListCard.tsx +0 -229
- package/src/components/library/cards/MetricCard.tsx +0 -128
- package/src/components/library/cards/MetricsStrip.tsx +0 -88
- package/src/components/library/cards/SectionCard.tsx +0 -102
- package/src/components/library/cards/SemanticMetricCard.tsx +0 -64
- package/src/components/library/cards/SemanticMetricCardWithLoading.tsx +0 -29
- package/src/components/library/cards/SemanticTableCard.tsx +0 -59
- package/src/components/library/cards/SemanticTableCardWithLoading.tsx +0 -26
- package/src/components/library/cards/StatusCard.tsx +0 -269
- package/src/components/library/cards/TableCard.tsx +0 -376
- package/src/components/library/cards/WidgetCard.tsx +0 -113
- package/src/components/library/charts/D3Chart.tsx +0 -129
- package/src/components/library/charts/D3ChartTemplates.tsx +0 -158
- package/src/components/library/charts/GeoMap.tsx +0 -382
- package/src/components/library/chat/ChatBar.tsx +0 -267
- package/src/components/library/chat/ChatInput.tsx +0 -91
- package/src/components/library/chat/ChatMessage.tsx +0 -191
- package/src/components/library/chat/ChatMessageList.tsx +0 -75
- package/src/components/library/chat/ChatPanel.tsx +0 -100
- package/src/components/library/chat/ChatSuggestions.tsx +0 -29
- package/src/components/library/chat/ChatToolCall.tsx +0 -110
- package/src/components/library/chat/ChatTypingIndicator.tsx +0 -26
- package/src/components/library/chat/ChatWelcome.tsx +0 -45
- package/src/components/library/chat/index.tsx +0 -26
- package/src/components/library/chat/useChatState.tsx +0 -182
- package/src/components/library/data/DataModeProvider.tsx +0 -84
- package/src/components/library/data/DataModeToggle.tsx +0 -39
- package/src/components/library/data/chartDataProvider.tsx +0 -105
- package/src/components/library/data/filterUtils.tsx +0 -187
- package/src/components/library/data/useDataSource.tsx +0 -40
- package/src/components/library/data/usePageFilters.tsx +0 -139
- package/src/components/library/filters/FilterBar.tsx +0 -105
- package/src/components/library/filters/SearchFilter.tsx +0 -42
- package/src/components/library/filters/SelectFilter.tsx +0 -62
- package/src/components/library/filters/ToggleFilter.tsx +0 -53
- package/src/components/library/filters/index.ts +0 -4
- package/src/components/library/forms/FormField.tsx +0 -337
- package/src/components/library/forms/FormModal.tsx +0 -202
- package/src/components/library/forms/FormRenderer.tsx +0 -68
- package/src/components/library/forms/FormSection.tsx +0 -75
- package/src/components/library/forms/index.tsx +0 -11
- package/src/components/library/forms/useFormState.tsx +0 -185
- package/src/components/library/heroui/Accordion.tsx +0 -31
- package/src/components/library/heroui/Alert.tsx +0 -13
- package/src/components/library/heroui/Badge.tsx +0 -14
- package/src/components/library/heroui/Breadcrumbs.tsx +0 -25
- package/src/components/library/heroui/Button.tsx +0 -76
- package/src/components/library/heroui/Card.tsx +0 -14
- package/src/components/library/heroui/Collapsible.tsx +0 -62
- package/src/components/library/heroui/DatePicker.tsx +0 -58
- package/src/components/library/heroui/Dialog.tsx +0 -43
- package/src/components/library/heroui/Drawer.tsx +0 -36
- package/src/components/library/heroui/Dropdown.tsx +0 -32
- package/src/components/library/heroui/Field.tsx +0 -68
- package/src/components/library/heroui/Input.tsx +0 -10
- package/src/components/library/heroui/Kbd.tsx +0 -11
- package/src/components/library/heroui/Meter.tsx +0 -13
- package/src/components/library/heroui/Modal.tsx +0 -35
- package/src/components/library/heroui/Pagination.tsx +0 -11
- package/src/components/library/heroui/Popover.tsx +0 -95
- package/src/components/library/heroui/ProgressBar.tsx +0 -14
- package/src/components/library/heroui/ProgressCircle.tsx +0 -14
- package/src/components/library/heroui/ScrollShadow.tsx +0 -14
- package/src/components/library/heroui/Select.tsx +0 -73
- package/src/components/library/heroui/Separator.tsx +0 -11
- package/src/components/library/heroui/Skeleton.tsx +0 -14
- package/src/components/library/heroui/Tabs.tsx +0 -31
- package/src/components/library/heroui/Toast.tsx +0 -28
- package/src/components/library/heroui/Toggle.tsx +0 -18
- package/src/components/library/heroui/Tooltip.tsx +0 -24
- package/src/components/library/index.ts +0 -147
- package/src/components/library/layout/PageContainer.tsx +0 -14
- package/src/components/library/skeletons/CardSkeleton.tsx +0 -31
- package/src/components/library/theme/AppThemeProvider.tsx +0 -80
- package/src/components/library/theme/tokens.tsx +0 -106
- package/src/components/library/ui/Alert.tsx +0 -90
- package/src/components/library/ui/Avatar.tsx +0 -68
- package/src/components/library/ui/BreadcrumbExtras.tsx +0 -119
- package/src/components/library/ui/Card.tsx +0 -131
- package/src/components/library/ui/Checkbox.tsx +0 -19
- package/src/components/library/ui/Chip.tsx +0 -42
- package/src/components/library/ui/Collapsible.tsx +0 -31
- package/src/components/library/ui/Container.tsx +0 -65
- package/src/components/library/ui/DatePicker.tsx +0 -34
- package/src/components/library/ui/Dialog.tsx +0 -141
- package/src/components/library/ui/EmptyState.tsx +0 -49
- package/src/components/library/ui/Field.tsx +0 -82
- package/src/components/library/ui/FieldGroup.tsx +0 -19
- package/src/components/library/ui/Label.tsx +0 -23
- package/src/components/library/ui/PaginationExtras.tsx +0 -143
- package/src/components/library/ui/Popover.tsx +0 -39
- package/src/components/library/ui/Select.tsx +0 -113
- package/src/components/library/ui/Spinner.tsx +0 -66
- package/src/components/library/ui/Text.tsx +0 -53
- package/src/components/library/ui/UIButton.tsx +0 -62
- package/src/components/library/ui/UIInput.tsx +0 -21
- package/src/components/workspace/ComponentRegistry.tsx +0 -402
- package/src/lib/index.ts +0 -1
- package/src/lib/utils.ts +0 -6
- package/src/templates/config/routes.tsx.template +0 -33
- package/src/templates/pages/BlankDashboard.tsx.template +0 -15
- package/src/templates/pages/Home.tsx.template +0 -58
- package/src/templates/pages/NotFound.tsx.template +0 -19
- package/src/templates/pages/Search.tsx.template +0 -13
- package/src/templates/workspace/CommandCenter.tsx.template +0 -15
- package/src/types/conversation.ts +0 -48
- /package/dist/components/library/ui/{datePicker.d.ts → DatePicker.d.ts} +0 -0
- /package/dist/components/library/ui/{field.d.ts → Field.d.ts} +0 -0
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import BaseCard, { BaseCardProps } from "./BaseCard";
|
|
3
|
-
import UIText from "../ui/Text";
|
|
4
|
-
|
|
5
|
-
export interface WidgetSection {
|
|
6
|
-
id?: string | number;
|
|
7
|
-
title?: string;
|
|
8
|
-
actions?: React.ReactNode;
|
|
9
|
-
content: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface SectionProps {
|
|
13
|
-
title?: string;
|
|
14
|
-
actions?: React.ReactNode;
|
|
15
|
-
content: React.ReactNode;
|
|
16
|
-
divided: boolean;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function Section({ title, actions, content, divided }: SectionProps) {
|
|
20
|
-
return (
|
|
21
|
-
<div className={divided ? "border-t border-slate-200 pt-4 dark:border-slate-800" : ""}>
|
|
22
|
-
{(title || actions) ? (
|
|
23
|
-
<div className="mb-3 flex items-start justify-between gap-3">
|
|
24
|
-
{title ? (
|
|
25
|
-
<UIText as="div" size="sm" weight="medium">
|
|
26
|
-
{title}
|
|
27
|
-
</UIText>
|
|
28
|
-
) : (
|
|
29
|
-
<div />
|
|
30
|
-
)}
|
|
31
|
-
{actions ? <div className="shrink-0">{actions}</div> : null}
|
|
32
|
-
</div>
|
|
33
|
-
) : null}
|
|
34
|
-
<div>{content}</div>
|
|
35
|
-
</div>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface WidgetCardProps extends Omit<BaseCardProps, "variant" | "header" | "body"> {
|
|
40
|
-
header: React.ReactNode;
|
|
41
|
-
sections?: WidgetSection[];
|
|
42
|
-
footer?: React.ReactNode;
|
|
43
|
-
divided?: boolean;
|
|
44
|
-
collapsible?: boolean;
|
|
45
|
-
defaultExpanded?: boolean;
|
|
46
|
-
loading?: boolean;
|
|
47
|
-
emptyMessage?: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export default function WidgetCard({
|
|
51
|
-
header,
|
|
52
|
-
sections = [],
|
|
53
|
-
footer,
|
|
54
|
-
divided = false,
|
|
55
|
-
collapsible = false,
|
|
56
|
-
defaultExpanded = true,
|
|
57
|
-
loading = false,
|
|
58
|
-
emptyMessage = "No sections.",
|
|
59
|
-
...cardProps
|
|
60
|
-
}: WidgetCardProps) {
|
|
61
|
-
const [expanded, setExpanded] = React.useState(defaultExpanded);
|
|
62
|
-
|
|
63
|
-
const hdr = (
|
|
64
|
-
<div className="flex items-start justify-between gap-3">
|
|
65
|
-
<div className="min-w-0">{header}</div>
|
|
66
|
-
{collapsible ? (
|
|
67
|
-
<button
|
|
68
|
-
type="button"
|
|
69
|
-
className="rounded-lg border border-slate-200 bg-white px-2 py-1 text-xs font-semibold text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 dark:hover:bg-slate-800"
|
|
70
|
-
onClick={() => setExpanded((e) => !e)}
|
|
71
|
-
aria-expanded={expanded}
|
|
72
|
-
aria-label="Toggle widget"
|
|
73
|
-
>
|
|
74
|
-
{expanded ? "Collapse" : "Expand"}
|
|
75
|
-
</button>
|
|
76
|
-
) : null}
|
|
77
|
-
</div>
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
const body = (
|
|
81
|
-
<div className="mt-4 space-y-4">
|
|
82
|
-
{loading ? (
|
|
83
|
-
<div className="space-y-3">
|
|
84
|
-
<div className="h-4 w-1/3 animate-pulse rounded bg-slate-200 dark:bg-slate-800" />
|
|
85
|
-
<div className="h-4 w-2/3 animate-pulse rounded bg-slate-200 dark:bg-slate-800" />
|
|
86
|
-
<div className="h-4 w-1/2 animate-pulse rounded bg-slate-200 dark:bg-slate-800" />
|
|
87
|
-
</div>
|
|
88
|
-
) : expanded ? (
|
|
89
|
-
sections.length === 0 ? (
|
|
90
|
-
<div className="rounded-xl border border-dashed border-slate-300 bg-slate-50 p-6 text-center text-sm text-slate-600 dark:border-slate-700 dark:bg-slate-950/30 dark:text-slate-300">
|
|
91
|
-
{emptyMessage}
|
|
92
|
-
</div>
|
|
93
|
-
) : (
|
|
94
|
-
sections.map((s, idx) => (
|
|
95
|
-
<Section
|
|
96
|
-
key={s?.id ?? idx}
|
|
97
|
-
title={s?.title}
|
|
98
|
-
actions={s?.actions}
|
|
99
|
-
content={s?.content}
|
|
100
|
-
divided={divided && idx !== 0}
|
|
101
|
-
/>
|
|
102
|
-
))
|
|
103
|
-
)
|
|
104
|
-
) : (
|
|
105
|
-
<div className="text-sm text-slate-600 dark:text-slate-300">Collapsed.</div>
|
|
106
|
-
)}
|
|
107
|
-
|
|
108
|
-
{footer ? <div className={divided ? "border-t border-slate-200 pt-4 dark:border-slate-800" : ""}>{footer}</div> : null}
|
|
109
|
-
</div>
|
|
110
|
-
);
|
|
111
|
-
|
|
112
|
-
return <BaseCard variant="widget" header={hdr} body={body} {...cardProps} />;
|
|
113
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
interface Dimensions {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface D3ChartProps {
|
|
9
|
-
data: unknown;
|
|
10
|
-
renderChart?: (svg: SVGSVGElement, data: unknown, dims: Dimensions, options: Record<string, unknown>) => void;
|
|
11
|
-
options?: Record<string, unknown>;
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
responsive?: boolean;
|
|
15
|
-
aspectRatio?: number;
|
|
16
|
-
className?: string;
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
containerStyle?: React.CSSProperties;
|
|
19
|
-
svgStyle?: React.CSSProperties;
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
error?: string | Error;
|
|
22
|
-
ariaLabel?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Minimal D3 chart host:
|
|
27
|
-
* - Owns the <svg> element
|
|
28
|
-
* - Computes responsive dimensions from container size
|
|
29
|
-
* - Calls renderChart(svgEl, data, dims, options)
|
|
30
|
-
*/
|
|
31
|
-
export default function D3Chart({
|
|
32
|
-
data,
|
|
33
|
-
renderChart,
|
|
34
|
-
options = {},
|
|
35
|
-
width,
|
|
36
|
-
height = 280,
|
|
37
|
-
responsive = false,
|
|
38
|
-
aspectRatio,
|
|
39
|
-
className = "",
|
|
40
|
-
style,
|
|
41
|
-
containerStyle,
|
|
42
|
-
svgStyle,
|
|
43
|
-
loading = false,
|
|
44
|
-
error,
|
|
45
|
-
ariaLabel = "Chart"
|
|
46
|
-
}: D3ChartProps): React.ReactElement {
|
|
47
|
-
const containerRef = React.useRef<HTMLDivElement>(null);
|
|
48
|
-
const svgRef = React.useRef<SVGSVGElement>(null);
|
|
49
|
-
const [containerWidth, setContainerWidth] = React.useState<number | null>(null);
|
|
50
|
-
|
|
51
|
-
React.useEffect(() => {
|
|
52
|
-
if (!responsive) return;
|
|
53
|
-
const el = containerRef.current;
|
|
54
|
-
if (!el) return;
|
|
55
|
-
|
|
56
|
-
const obs = new ResizeObserver((entries) => {
|
|
57
|
-
const w = entries?.[0]?.contentRect?.width;
|
|
58
|
-
if (typeof w === "number" && Number.isFinite(w)) setContainerWidth(w);
|
|
59
|
-
});
|
|
60
|
-
obs.observe(el);
|
|
61
|
-
return () => obs.disconnect();
|
|
62
|
-
}, [responsive]);
|
|
63
|
-
|
|
64
|
-
const computedWidth = responsive ? containerWidth : width;
|
|
65
|
-
const computedHeight = React.useMemo(() => {
|
|
66
|
-
if (!responsive) return height;
|
|
67
|
-
if (!containerWidth) return height;
|
|
68
|
-
if (aspectRatio && Number.isFinite(aspectRatio) && aspectRatio > 0) return containerWidth / aspectRatio;
|
|
69
|
-
return height;
|
|
70
|
-
}, [responsive, containerWidth, height, aspectRatio]);
|
|
71
|
-
|
|
72
|
-
React.useEffect(() => {
|
|
73
|
-
if (loading || error) return;
|
|
74
|
-
if (!renderChart) return;
|
|
75
|
-
const svgEl = svgRef.current;
|
|
76
|
-
if (!svgEl) return;
|
|
77
|
-
|
|
78
|
-
const dims: Dimensions = {
|
|
79
|
-
width: computedWidth ?? 0,
|
|
80
|
-
height: computedHeight ?? 0
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
// Avoid calling renderChart before we have a measurable width in responsive mode
|
|
84
|
-
if (responsive && (!dims.width || dims.width < 10)) return;
|
|
85
|
-
if (!dims.height || dims.height < 10) return;
|
|
86
|
-
|
|
87
|
-
renderChart(svgEl, data, dims, options);
|
|
88
|
-
}, [data, renderChart, options, computedWidth, computedHeight, responsive, loading, error]);
|
|
89
|
-
|
|
90
|
-
if (error) {
|
|
91
|
-
return (
|
|
92
|
-
<div
|
|
93
|
-
ref={containerRef}
|
|
94
|
-
className={["w-full rounded-xl border border-rose-200 bg-rose-50 p-4 text-sm text-rose-900 dark:border-rose-900/40 dark:bg-rose-950/30 dark:text-rose-100", className]
|
|
95
|
-
.filter(Boolean)
|
|
96
|
-
.join(" ")}
|
|
97
|
-
style={containerStyle}
|
|
98
|
-
>
|
|
99
|
-
{String(error)}
|
|
100
|
-
</div>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
return (
|
|
105
|
-
<div
|
|
106
|
-
ref={containerRef}
|
|
107
|
-
className={["w-full", className].filter(Boolean).join(" ")}
|
|
108
|
-
style={{ ...containerStyle, position: "relative" }}
|
|
109
|
-
>
|
|
110
|
-
{loading ? (
|
|
111
|
-
<div className="h-full w-full rounded-xl border border-slate-200 bg-white p-5 shadow-sm dark:border-slate-800 dark:bg-slate-900">
|
|
112
|
-
<div className="space-y-3">
|
|
113
|
-
<div className="h-4 w-1/3 animate-pulse rounded bg-slate-200 dark:bg-slate-800" />
|
|
114
|
-
<div className="h-44 w-full animate-pulse rounded bg-slate-200 dark:bg-slate-800" />
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
) : (
|
|
118
|
-
<svg
|
|
119
|
-
ref={svgRef}
|
|
120
|
-
role="img"
|
|
121
|
-
aria-label={ariaLabel}
|
|
122
|
-
width={computedWidth ?? width ?? "100%"}
|
|
123
|
-
height={computedHeight}
|
|
124
|
-
style={{ ...svgStyle, ...style, display: "block" }}
|
|
125
|
-
/>
|
|
126
|
-
)}
|
|
127
|
-
</div>
|
|
128
|
-
);
|
|
129
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import * as d3 from "d3";
|
|
2
|
-
|
|
3
|
-
interface Dimensions {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface Margin {
|
|
9
|
-
top: number;
|
|
10
|
-
right: number;
|
|
11
|
-
bottom: number;
|
|
12
|
-
left: number;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface LineChartOptions {
|
|
16
|
-
xKey?: string;
|
|
17
|
-
yKey?: string;
|
|
18
|
-
margin?: Margin;
|
|
19
|
-
stroke?: string;
|
|
20
|
-
strokeWidth?: number;
|
|
21
|
-
showAxes?: boolean;
|
|
22
|
-
showGrid?: boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface GroupedBarChartOptions {
|
|
26
|
-
groups?: string[];
|
|
27
|
-
margin?: Margin;
|
|
28
|
-
xKey?: string;
|
|
29
|
-
colors?: string[];
|
|
30
|
-
barRadius?: number;
|
|
31
|
-
yFormat?: string;
|
|
32
|
-
showGrid?: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type DataPoint = Record<string, unknown>;
|
|
36
|
-
|
|
37
|
-
function clear(svg: SVGSVGElement): void {
|
|
38
|
-
d3.select(svg).selectAll("*").remove();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export const D3ChartTemplates = {
|
|
42
|
-
lineChart(svg: SVGSVGElement, data: DataPoint[], dims: Dimensions, opts: LineChartOptions = {}): void {
|
|
43
|
-
const {
|
|
44
|
-
xKey = "x",
|
|
45
|
-
yKey = "y",
|
|
46
|
-
margin = { top: 12, right: 16, bottom: 28, left: 40 },
|
|
47
|
-
stroke = "#6366F1",
|
|
48
|
-
strokeWidth = 2,
|
|
49
|
-
showAxes = true,
|
|
50
|
-
showGrid = true
|
|
51
|
-
} = opts;
|
|
52
|
-
|
|
53
|
-
clear(svg);
|
|
54
|
-
|
|
55
|
-
const width = dims.width;
|
|
56
|
-
const height = dims.height;
|
|
57
|
-
const innerW = Math.max(0, width - margin.left - margin.right);
|
|
58
|
-
const innerH = Math.max(0, height - margin.top - margin.bottom);
|
|
59
|
-
|
|
60
|
-
const g = d3.select(svg).attr("viewBox", `0 0 ${width} ${height}`).append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
61
|
-
|
|
62
|
-
const xs = data.map((d) => d?.[xKey]).filter((v) => v != null) as number[];
|
|
63
|
-
const ys = data.map((d) => d?.[yKey]).filter((v) => v != null) as number[];
|
|
64
|
-
|
|
65
|
-
const xDomain = d3.extent(xs) as [number, number];
|
|
66
|
-
const yDomain = d3.extent(ys) as [number, number];
|
|
67
|
-
|
|
68
|
-
const x = d3.scaleLinear().domain(xDomain).nice().range([0, innerW]);
|
|
69
|
-
const y = d3.scaleLinear().domain(yDomain).nice().range([innerH, 0]);
|
|
70
|
-
|
|
71
|
-
if (showGrid) {
|
|
72
|
-
g.append("g")
|
|
73
|
-
.attr("class", "grid")
|
|
74
|
-
.call(d3.axisLeft(y).ticks(5).tickSize(-innerW).tickFormat(() => ""))
|
|
75
|
-
.call((grid: d3.Selection<SVGGElement, unknown, null, undefined>) => grid.selectAll("line").attr("stroke", "currentColor").attr("opacity", 0.12))
|
|
76
|
-
.call((grid: d3.Selection<SVGGElement, unknown, null, undefined>) => grid.selectAll("path").attr("stroke", "none"));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const line = d3
|
|
80
|
-
.line<DataPoint>()
|
|
81
|
-
.x((d) => x(d[xKey] as number))
|
|
82
|
-
.y((d) => y(d[yKey] as number))
|
|
83
|
-
.defined((d) => d?.[xKey] != null && d?.[yKey] != null);
|
|
84
|
-
|
|
85
|
-
g.append("path")
|
|
86
|
-
.datum(data)
|
|
87
|
-
.attr("fill", "none")
|
|
88
|
-
.attr("stroke", stroke)
|
|
89
|
-
.attr("stroke-width", strokeWidth)
|
|
90
|
-
.attr("d", line);
|
|
91
|
-
|
|
92
|
-
if (showAxes) {
|
|
93
|
-
g.append("g")
|
|
94
|
-
.attr("transform", `translate(0,${innerH})`)
|
|
95
|
-
.call(d3.axisBottom(x).ticks(6))
|
|
96
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.selectAll("text").attr("font-size", 10));
|
|
97
|
-
|
|
98
|
-
g.append("g")
|
|
99
|
-
.call(d3.axisLeft(y).ticks(5))
|
|
100
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.selectAll("text").attr("font-size", 10));
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
groupedBarChart(svg: SVGSVGElement, data: DataPoint[], dims: Dimensions, opts: GroupedBarChartOptions = {}): void {
|
|
105
|
-
const {
|
|
106
|
-
groups = [],
|
|
107
|
-
margin = { top: 20, right: 20, bottom: 40, left: 55 },
|
|
108
|
-
xKey = "x",
|
|
109
|
-
colors = ["#6366F1", "#CBD5E1"],
|
|
110
|
-
barRadius = 4,
|
|
111
|
-
yFormat = ",.0f",
|
|
112
|
-
showGrid = true,
|
|
113
|
-
} = opts;
|
|
114
|
-
|
|
115
|
-
clear(svg);
|
|
116
|
-
|
|
117
|
-
const width = dims.width;
|
|
118
|
-
const height = dims.height;
|
|
119
|
-
const innerW = Math.max(0, width - margin.left - margin.right);
|
|
120
|
-
const innerH = Math.max(0, height - margin.top - margin.bottom);
|
|
121
|
-
|
|
122
|
-
const sel = d3.select(svg).attr("viewBox", `0 0 ${width} ${height}`);
|
|
123
|
-
const g = sel.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
124
|
-
|
|
125
|
-
const groupKeys = groups.length ? groups : Object.keys(data[0] || {}).filter((k) => k !== xKey);
|
|
126
|
-
|
|
127
|
-
const x0 = d3.scaleBand().domain(data.map((d: DataPoint) => String(d[xKey]))).range([0, innerW]).padding(0.3);
|
|
128
|
-
const x1 = d3.scaleBand().domain(groupKeys).range([0, x0.bandwidth()]).padding(0.05);
|
|
129
|
-
const yMax = (d3.max(data, (d: DataPoint) => d3.max(groupKeys, (k: string) => d[k] as number)) ?? 0) * 1.15;
|
|
130
|
-
const y = d3.scaleLinear().domain([0, yMax]).range([innerH, 0]);
|
|
131
|
-
|
|
132
|
-
g.append("g")
|
|
133
|
-
.attr("transform", `translate(0,${innerH})`)
|
|
134
|
-
.call(d3.axisBottom(x0).tickSize(0))
|
|
135
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.selectAll("text").attr("fill", "#94a3b8").attr("font-size", "11px"))
|
|
136
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.select(".domain").remove());
|
|
137
|
-
|
|
138
|
-
g.append("g")
|
|
139
|
-
.call(d3.axisLeft(y).ticks(5).tickFormat(d3.format(yFormat)).tickSize(showGrid ? -innerW : 0))
|
|
140
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.selectAll("text").attr("fill", "#94a3b8").attr("font-size", "10px"))
|
|
141
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.selectAll(".tick line").attr("stroke", "#e2e8f0").attr("stroke-dasharray", "2,2"))
|
|
142
|
-
.call((ax: d3.Selection<SVGGElement, unknown, null, undefined>) => ax.select(".domain").remove());
|
|
143
|
-
|
|
144
|
-
const rows = g.selectAll(".bar-group").data(data).join("g")
|
|
145
|
-
.attr("class", "bar-group")
|
|
146
|
-
.attr("transform", (d: DataPoint) => `translate(${x0(String(d[xKey]))},0)`);
|
|
147
|
-
|
|
148
|
-
groupKeys.forEach((key, i) => {
|
|
149
|
-
rows.append("rect")
|
|
150
|
-
.attr("x", x1(key) ?? 0)
|
|
151
|
-
.attr("y", (d: DataPoint) => y(d[key] as number))
|
|
152
|
-
.attr("width", x1.bandwidth())
|
|
153
|
-
.attr("height", (d: DataPoint) => innerH - y(d[key] as number))
|
|
154
|
-
.attr("rx", barRadius)
|
|
155
|
-
.attr("fill", colors[i % colors.length]);
|
|
156
|
-
});
|
|
157
|
-
},
|
|
158
|
-
};
|