@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,844 +0,0 @@
|
|
|
1
|
-
import * as t from "react";
|
|
2
|
-
import * as be from "react-dom";
|
|
3
|
-
import { clamp as Re } from "../../number/dist/index.js";
|
|
4
|
-
import { composeEventHandlers as R } from "../../primitive/dist/index.js";
|
|
5
|
-
import { createCollection as et } from "../../react-collection/dist/index.js";
|
|
6
|
-
import { useComposedRefs as k } from "../../react-compose-refs/dist/index.js";
|
|
7
|
-
import { createContextScope as tt } from "../node_modules/@radix-ui/react-context/dist/index.js";
|
|
8
|
-
import { useDirection as ot } from "../../react-direction/dist/index.js";
|
|
9
|
-
import { DismissableLayer as nt } from "../../react-dismissable-layer/dist/index.js";
|
|
10
|
-
import { useFocusGuards as rt } from "../../react-focus-guards/dist/index.js";
|
|
11
|
-
import { FocusScope as st } from "../../react-focus-scope/dist/index.js";
|
|
12
|
-
import { useId as Ie } from "../../react-id/dist/index.js";
|
|
13
|
-
import { Root as lt, Anchor as ct, createPopperScope as _e, Content as it, Arrow as at } from "../../react-popper/dist/index.js";
|
|
14
|
-
import { Portal as dt } from "../../react-portal/dist/index.js";
|
|
15
|
-
import { Primitive as M } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
|
|
16
|
-
import { createSlot as ut } from "../node_modules/@radix-ui/react-slot/dist/index.js";
|
|
17
|
-
import { useCallbackRef as pt } from "../../react-use-callback-ref/dist/index.js";
|
|
18
|
-
import { useControllableState as Ee } from "../../react-use-controllable-state/dist/index.js";
|
|
19
|
-
import { useLayoutEffect as Y } from "../../react-use-layout-effect/dist/index.js";
|
|
20
|
-
import { usePrevious as ft } from "../../react-use-previous/dist/index.js";
|
|
21
|
-
import { VISUALLY_HIDDEN_STYLES as mt } from "../../react-visually-hidden/dist/index.js";
|
|
22
|
-
import { hideOthers as ht } from "../../../aria-hidden/dist/es2015/index.js";
|
|
23
|
-
import vt from "../../../react-remove-scroll/dist/es2015/Combination.js";
|
|
24
|
-
import { jsx as p, jsxs as ce, Fragment as Te } from "react/jsx-runtime";
|
|
25
|
-
var gt = [" ", "Enter", "ArrowUp", "ArrowDown"], St = [" ", "Enter"], J = "Select", [ae, de, wt] = et(J), [te] = tt(J, [
|
|
26
|
-
wt,
|
|
27
|
-
_e
|
|
28
|
-
]), ue = _e(), [Ct, j] = te(J), [xt, yt] = te(J), Ne = (o) => {
|
|
29
|
-
const {
|
|
30
|
-
__scopeSelect: c,
|
|
31
|
-
children: e,
|
|
32
|
-
open: i,
|
|
33
|
-
defaultOpen: s,
|
|
34
|
-
onOpenChange: d,
|
|
35
|
-
value: n,
|
|
36
|
-
defaultValue: r,
|
|
37
|
-
onValueChange: l,
|
|
38
|
-
dir: f,
|
|
39
|
-
name: g,
|
|
40
|
-
autoComplete: C,
|
|
41
|
-
disabled: E,
|
|
42
|
-
required: T,
|
|
43
|
-
form: y
|
|
44
|
-
} = o, a = ue(c), [h, S] = t.useState(null), [m, v] = t.useState(null), [U, A] = t.useState(!1), oe = ot(f), [b, D] = Ee({
|
|
45
|
-
prop: i,
|
|
46
|
-
defaultProp: s ?? !1,
|
|
47
|
-
onChange: d,
|
|
48
|
-
caller: J
|
|
49
|
-
}), [K, X] = Ee({
|
|
50
|
-
prop: n,
|
|
51
|
-
defaultProp: r,
|
|
52
|
-
onChange: l,
|
|
53
|
-
caller: J
|
|
54
|
-
}), V = t.useRef(null), B = h ? y || !!h.closest("form") : !0, [G, H] = t.useState(/* @__PURE__ */ new Set()), W = Array.from(G).map((_) => _.props.value).join(";");
|
|
55
|
-
return /* @__PURE__ */ p(lt, { ...a, children: /* @__PURE__ */ ce(
|
|
56
|
-
Ct,
|
|
57
|
-
{
|
|
58
|
-
required: T,
|
|
59
|
-
scope: c,
|
|
60
|
-
trigger: h,
|
|
61
|
-
onTriggerChange: S,
|
|
62
|
-
valueNode: m,
|
|
63
|
-
onValueNodeChange: v,
|
|
64
|
-
valueNodeHasChildren: U,
|
|
65
|
-
onValueNodeHasChildrenChange: A,
|
|
66
|
-
contentId: Ie(),
|
|
67
|
-
value: K,
|
|
68
|
-
onValueChange: X,
|
|
69
|
-
open: b,
|
|
70
|
-
onOpenChange: D,
|
|
71
|
-
dir: oe,
|
|
72
|
-
triggerPointerDownPosRef: V,
|
|
73
|
-
disabled: E,
|
|
74
|
-
children: [
|
|
75
|
-
/* @__PURE__ */ p(ae.Provider, { scope: c, children: /* @__PURE__ */ p(
|
|
76
|
-
xt,
|
|
77
|
-
{
|
|
78
|
-
scope: o.__scopeSelect,
|
|
79
|
-
onNativeOptionAdd: t.useCallback((_) => {
|
|
80
|
-
H((L) => new Set(L).add(_));
|
|
81
|
-
}, []),
|
|
82
|
-
onNativeOptionRemove: t.useCallback((_) => {
|
|
83
|
-
H((L) => {
|
|
84
|
-
const F = new Set(L);
|
|
85
|
-
return F.delete(_), F;
|
|
86
|
-
});
|
|
87
|
-
}, []),
|
|
88
|
-
children: e
|
|
89
|
-
}
|
|
90
|
-
) }),
|
|
91
|
-
B ? /* @__PURE__ */ ce(
|
|
92
|
-
Ze,
|
|
93
|
-
{
|
|
94
|
-
"aria-hidden": !0,
|
|
95
|
-
required: T,
|
|
96
|
-
tabIndex: -1,
|
|
97
|
-
name: g,
|
|
98
|
-
autoComplete: C,
|
|
99
|
-
value: K,
|
|
100
|
-
onChange: (_) => X(_.target.value),
|
|
101
|
-
disabled: E,
|
|
102
|
-
form: y,
|
|
103
|
-
children: [
|
|
104
|
-
K === void 0 ? /* @__PURE__ */ p("option", { value: "" }) : null,
|
|
105
|
-
Array.from(G)
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
W
|
|
109
|
-
) : null
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
) });
|
|
113
|
-
};
|
|
114
|
-
Ne.displayName = J;
|
|
115
|
-
var Me = "SelectTrigger", Ae = t.forwardRef(
|
|
116
|
-
(o, c) => {
|
|
117
|
-
const { __scopeSelect: e, disabled: i = !1, ...s } = o, d = ue(e), n = j(Me, e), r = n.disabled || i, l = k(c, n.onTriggerChange), f = de(e), g = t.useRef("touch"), [C, E, T] = Je((a) => {
|
|
118
|
-
const h = f().filter((v) => !v.disabled), S = h.find((v) => v.value === n.value), m = Qe(h, a, S);
|
|
119
|
-
m !== void 0 && n.onValueChange(m.value);
|
|
120
|
-
}), y = (a) => {
|
|
121
|
-
r || (n.onOpenChange(!0), T()), a && (n.triggerPointerDownPosRef.current = {
|
|
122
|
-
x: Math.round(a.pageX),
|
|
123
|
-
y: Math.round(a.pageY)
|
|
124
|
-
});
|
|
125
|
-
};
|
|
126
|
-
return /* @__PURE__ */ p(ct, { asChild: !0, ...d, children: /* @__PURE__ */ p(
|
|
127
|
-
M.button,
|
|
128
|
-
{
|
|
129
|
-
type: "button",
|
|
130
|
-
role: "combobox",
|
|
131
|
-
"aria-controls": n.contentId,
|
|
132
|
-
"aria-expanded": n.open,
|
|
133
|
-
"aria-required": n.required,
|
|
134
|
-
"aria-autocomplete": "none",
|
|
135
|
-
dir: n.dir,
|
|
136
|
-
"data-state": n.open ? "open" : "closed",
|
|
137
|
-
disabled: r,
|
|
138
|
-
"data-disabled": r ? "" : void 0,
|
|
139
|
-
"data-placeholder": $e(n.value) ? "" : void 0,
|
|
140
|
-
...s,
|
|
141
|
-
ref: l,
|
|
142
|
-
onClick: R(s.onClick, (a) => {
|
|
143
|
-
a.currentTarget.focus(), g.current !== "mouse" && y(a);
|
|
144
|
-
}),
|
|
145
|
-
onPointerDown: R(s.onPointerDown, (a) => {
|
|
146
|
-
g.current = a.pointerType;
|
|
147
|
-
const h = a.target;
|
|
148
|
-
h.hasPointerCapture(a.pointerId) && h.releasePointerCapture(a.pointerId), a.button === 0 && a.ctrlKey === !1 && a.pointerType === "mouse" && (y(a), a.preventDefault());
|
|
149
|
-
}),
|
|
150
|
-
onKeyDown: R(s.onKeyDown, (a) => {
|
|
151
|
-
const h = C.current !== "";
|
|
152
|
-
!(a.ctrlKey || a.altKey || a.metaKey) && a.key.length === 1 && E(a.key), !(h && a.key === " ") && gt.includes(a.key) && (y(), a.preventDefault());
|
|
153
|
-
})
|
|
154
|
-
}
|
|
155
|
-
) });
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
Ae.displayName = Me;
|
|
159
|
-
var Oe = "SelectValue", De = t.forwardRef(
|
|
160
|
-
(o, c) => {
|
|
161
|
-
const { __scopeSelect: e, className: i, style: s, children: d, placeholder: n = "", ...r } = o, l = j(Oe, e), { onValueNodeHasChildrenChange: f } = l, g = d !== void 0, C = k(c, l.onValueNodeChange);
|
|
162
|
-
return Y(() => {
|
|
163
|
-
f(g);
|
|
164
|
-
}, [f, g]), /* @__PURE__ */ p(
|
|
165
|
-
M.span,
|
|
166
|
-
{
|
|
167
|
-
...r,
|
|
168
|
-
ref: C,
|
|
169
|
-
style: { pointerEvents: "none" },
|
|
170
|
-
children: $e(l.value) ? /* @__PURE__ */ p(Te, { children: n }) : d
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
);
|
|
175
|
-
De.displayName = Oe;
|
|
176
|
-
var It = "SelectIcon", Le = t.forwardRef(
|
|
177
|
-
(o, c) => {
|
|
178
|
-
const { __scopeSelect: e, children: i, ...s } = o;
|
|
179
|
-
return /* @__PURE__ */ p(M.span, { "aria-hidden": !0, ...s, ref: c, children: i || "▼" });
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
Le.displayName = It;
|
|
183
|
-
var Tt = "SelectPortal", ke = (o) => /* @__PURE__ */ p(dt, { asChild: !0, ...o });
|
|
184
|
-
ke.displayName = Tt;
|
|
185
|
-
var Q = "SelectContent", Ve = t.forwardRef(
|
|
186
|
-
(o, c) => {
|
|
187
|
-
const e = j(Q, o.__scopeSelect), [i, s] = t.useState();
|
|
188
|
-
if (Y(() => {
|
|
189
|
-
s(new DocumentFragment());
|
|
190
|
-
}, []), !e.open) {
|
|
191
|
-
const d = i;
|
|
192
|
-
return d ? be.createPortal(
|
|
193
|
-
/* @__PURE__ */ p(Be, { scope: o.__scopeSelect, children: /* @__PURE__ */ p(ae.Slot, { scope: o.__scopeSelect, children: /* @__PURE__ */ p("div", { children: o.children }) }) }),
|
|
194
|
-
d
|
|
195
|
-
) : null;
|
|
196
|
-
}
|
|
197
|
-
return /* @__PURE__ */ p(He, { ...o, ref: c });
|
|
198
|
-
}
|
|
199
|
-
);
|
|
200
|
-
Ve.displayName = Q;
|
|
201
|
-
var O = 10, [Be, q] = te(Q), Pt = "SelectContentImpl", Rt = ut("SelectContent.RemoveScroll"), He = t.forwardRef(
|
|
202
|
-
(o, c) => {
|
|
203
|
-
const {
|
|
204
|
-
__scopeSelect: e,
|
|
205
|
-
position: i = "item-aligned",
|
|
206
|
-
onCloseAutoFocus: s,
|
|
207
|
-
onEscapeKeyDown: d,
|
|
208
|
-
onPointerDownOutside: n,
|
|
209
|
-
//
|
|
210
|
-
// PopperContent props
|
|
211
|
-
side: r,
|
|
212
|
-
sideOffset: l,
|
|
213
|
-
align: f,
|
|
214
|
-
alignOffset: g,
|
|
215
|
-
arrowPadding: C,
|
|
216
|
-
collisionBoundary: E,
|
|
217
|
-
collisionPadding: T,
|
|
218
|
-
sticky: y,
|
|
219
|
-
hideWhenDetached: a,
|
|
220
|
-
avoidCollisions: h,
|
|
221
|
-
//
|
|
222
|
-
...S
|
|
223
|
-
} = o, m = j(Q, e), [v, U] = t.useState(null), [A, oe] = t.useState(null), b = k(c, (u) => U(u)), [D, K] = t.useState(null), [X, V] = t.useState(
|
|
224
|
-
null
|
|
225
|
-
), B = de(e), [G, H] = t.useState(!1), W = t.useRef(!1);
|
|
226
|
-
t.useEffect(() => {
|
|
227
|
-
if (v) return ht(v);
|
|
228
|
-
}, [v]), rt();
|
|
229
|
-
const _ = t.useCallback(
|
|
230
|
-
(u) => {
|
|
231
|
-
const [I, ...N] = B().map((P) => P.ref.current), [w] = N.slice(-1), x = document.activeElement;
|
|
232
|
-
for (const P of u)
|
|
233
|
-
if (P === x || (P?.scrollIntoView({ block: "nearest" }), P === I && A && (A.scrollTop = 0), P === w && A && (A.scrollTop = A.scrollHeight), P?.focus(), document.activeElement !== x)) return;
|
|
234
|
-
},
|
|
235
|
-
[B, A]
|
|
236
|
-
), L = t.useCallback(
|
|
237
|
-
() => _([D, v]),
|
|
238
|
-
[_, D, v]
|
|
239
|
-
);
|
|
240
|
-
t.useEffect(() => {
|
|
241
|
-
G && L();
|
|
242
|
-
}, [G, L]);
|
|
243
|
-
const { onOpenChange: F, triggerPointerDownPosRef: z } = m;
|
|
244
|
-
t.useEffect(() => {
|
|
245
|
-
if (v) {
|
|
246
|
-
let u = { x: 0, y: 0 };
|
|
247
|
-
const I = (w) => {
|
|
248
|
-
u = {
|
|
249
|
-
x: Math.abs(Math.round(w.pageX) - (z.current?.x ?? 0)),
|
|
250
|
-
y: Math.abs(Math.round(w.pageY) - (z.current?.y ?? 0))
|
|
251
|
-
};
|
|
252
|
-
}, N = (w) => {
|
|
253
|
-
u.x <= 10 && u.y <= 10 ? w.preventDefault() : v.contains(w.target) || F(!1), document.removeEventListener("pointermove", I), z.current = null;
|
|
254
|
-
};
|
|
255
|
-
return z.current !== null && (document.addEventListener("pointermove", I), document.addEventListener("pointerup", N, { capture: !0, once: !0 })), () => {
|
|
256
|
-
document.removeEventListener("pointermove", I), document.removeEventListener("pointerup", N, { capture: !0 });
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
}, [v, F, z]), t.useEffect(() => {
|
|
260
|
-
const u = () => F(!1);
|
|
261
|
-
return window.addEventListener("blur", u), window.addEventListener("resize", u), () => {
|
|
262
|
-
window.removeEventListener("blur", u), window.removeEventListener("resize", u);
|
|
263
|
-
};
|
|
264
|
-
}, [F]);
|
|
265
|
-
const [pe, se] = Je((u) => {
|
|
266
|
-
const I = B().filter((x) => !x.disabled), N = I.find((x) => x.ref.current === document.activeElement), w = Qe(I, u, N);
|
|
267
|
-
w && setTimeout(() => w.ref.current.focus());
|
|
268
|
-
}), fe = t.useCallback(
|
|
269
|
-
(u, I, N) => {
|
|
270
|
-
const w = !W.current && !N;
|
|
271
|
-
(m.value !== void 0 && m.value === I || w) && (K(u), w && (W.current = !0));
|
|
272
|
-
},
|
|
273
|
-
[m.value]
|
|
274
|
-
), me = t.useCallback(() => v?.focus(), [v]), ee = t.useCallback(
|
|
275
|
-
(u, I, N) => {
|
|
276
|
-
const w = !W.current && !N;
|
|
277
|
-
(m.value !== void 0 && m.value === I || w) && V(u);
|
|
278
|
-
},
|
|
279
|
-
[m.value]
|
|
280
|
-
), le = i === "popper" ? Se : We, ne = le === Se ? {
|
|
281
|
-
side: r,
|
|
282
|
-
sideOffset: l,
|
|
283
|
-
align: f,
|
|
284
|
-
alignOffset: g,
|
|
285
|
-
arrowPadding: C,
|
|
286
|
-
collisionBoundary: E,
|
|
287
|
-
collisionPadding: T,
|
|
288
|
-
sticky: y,
|
|
289
|
-
hideWhenDetached: a,
|
|
290
|
-
avoidCollisions: h
|
|
291
|
-
} : {};
|
|
292
|
-
return /* @__PURE__ */ p(
|
|
293
|
-
Be,
|
|
294
|
-
{
|
|
295
|
-
scope: e,
|
|
296
|
-
content: v,
|
|
297
|
-
viewport: A,
|
|
298
|
-
onViewportChange: oe,
|
|
299
|
-
itemRefCallback: fe,
|
|
300
|
-
selectedItem: D,
|
|
301
|
-
onItemLeave: me,
|
|
302
|
-
itemTextRefCallback: ee,
|
|
303
|
-
focusSelectedItem: L,
|
|
304
|
-
selectedItemText: X,
|
|
305
|
-
position: i,
|
|
306
|
-
isPositioned: G,
|
|
307
|
-
searchRef: pe,
|
|
308
|
-
children: /* @__PURE__ */ p(vt, { as: Rt, allowPinchZoom: !0, children: /* @__PURE__ */ p(
|
|
309
|
-
st,
|
|
310
|
-
{
|
|
311
|
-
asChild: !0,
|
|
312
|
-
trapped: m.open,
|
|
313
|
-
onMountAutoFocus: (u) => {
|
|
314
|
-
u.preventDefault();
|
|
315
|
-
},
|
|
316
|
-
onUnmountAutoFocus: R(s, (u) => {
|
|
317
|
-
m.trigger?.focus({ preventScroll: !0 }), u.preventDefault();
|
|
318
|
-
}),
|
|
319
|
-
children: /* @__PURE__ */ p(
|
|
320
|
-
nt,
|
|
321
|
-
{
|
|
322
|
-
asChild: !0,
|
|
323
|
-
disableOutsidePointerEvents: !0,
|
|
324
|
-
onEscapeKeyDown: d,
|
|
325
|
-
onPointerDownOutside: n,
|
|
326
|
-
onFocusOutside: (u) => u.preventDefault(),
|
|
327
|
-
onDismiss: () => m.onOpenChange(!1),
|
|
328
|
-
children: /* @__PURE__ */ p(
|
|
329
|
-
le,
|
|
330
|
-
{
|
|
331
|
-
role: "listbox",
|
|
332
|
-
id: m.contentId,
|
|
333
|
-
"data-state": m.open ? "open" : "closed",
|
|
334
|
-
dir: m.dir,
|
|
335
|
-
onContextMenu: (u) => u.preventDefault(),
|
|
336
|
-
...S,
|
|
337
|
-
...ne,
|
|
338
|
-
onPlaced: () => H(!0),
|
|
339
|
-
ref: b,
|
|
340
|
-
style: {
|
|
341
|
-
// flex layout so we can place the scroll buttons properly
|
|
342
|
-
display: "flex",
|
|
343
|
-
flexDirection: "column",
|
|
344
|
-
// reset the outline by default as the content MAY get focused
|
|
345
|
-
outline: "none",
|
|
346
|
-
...S.style
|
|
347
|
-
},
|
|
348
|
-
onKeyDown: R(S.onKeyDown, (u) => {
|
|
349
|
-
const I = u.ctrlKey || u.altKey || u.metaKey;
|
|
350
|
-
if (u.key === "Tab" && u.preventDefault(), !I && u.key.length === 1 && se(u.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(u.key)) {
|
|
351
|
-
let w = B().filter((x) => !x.disabled).map((x) => x.ref.current);
|
|
352
|
-
if (["ArrowUp", "End"].includes(u.key) && (w = w.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(u.key)) {
|
|
353
|
-
const x = u.target, P = w.indexOf(x);
|
|
354
|
-
w = w.slice(P + 1);
|
|
355
|
-
}
|
|
356
|
-
setTimeout(() => _(w)), u.preventDefault();
|
|
357
|
-
}
|
|
358
|
-
})
|
|
359
|
-
}
|
|
360
|
-
)
|
|
361
|
-
}
|
|
362
|
-
)
|
|
363
|
-
}
|
|
364
|
-
) })
|
|
365
|
-
}
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
);
|
|
369
|
-
He.displayName = Pt;
|
|
370
|
-
var Et = "SelectItemAlignedPosition", We = t.forwardRef((o, c) => {
|
|
371
|
-
const { __scopeSelect: e, onPlaced: i, ...s } = o, d = j(Q, e), n = q(Q, e), [r, l] = t.useState(null), [f, g] = t.useState(null), C = k(c, (b) => g(b)), E = de(e), T = t.useRef(!1), y = t.useRef(!0), { viewport: a, selectedItem: h, selectedItemText: S, focusSelectedItem: m } = n, v = t.useCallback(() => {
|
|
372
|
-
if (d.trigger && d.valueNode && r && f && a && h && S) {
|
|
373
|
-
const b = d.trigger.getBoundingClientRect(), D = f.getBoundingClientRect(), K = d.valueNode.getBoundingClientRect(), X = S.getBoundingClientRect();
|
|
374
|
-
if (d.dir !== "rtl") {
|
|
375
|
-
const x = X.left - D.left, P = K.left - x, Z = b.left - P, $ = b.width + Z, he = Math.max($, D.width), ve = window.innerWidth - O, ge = Re(P, [
|
|
376
|
-
O,
|
|
377
|
-
// Prevents the content from going off the starting edge of the
|
|
378
|
-
// viewport. It may still go off the ending edge, but this can be
|
|
379
|
-
// controlled by the user since they may want to manage overflow in a
|
|
380
|
-
// specific way.
|
|
381
|
-
// https://github.com/radix-ui/primitives/issues/2049
|
|
382
|
-
Math.max(O, ve - he)
|
|
383
|
-
]);
|
|
384
|
-
r.style.minWidth = $ + "px", r.style.left = ge + "px";
|
|
385
|
-
} else {
|
|
386
|
-
const x = D.right - X.right, P = window.innerWidth - K.right - x, Z = window.innerWidth - b.right - P, $ = b.width + Z, he = Math.max($, D.width), ve = window.innerWidth - O, ge = Re(P, [
|
|
387
|
-
O,
|
|
388
|
-
Math.max(O, ve - he)
|
|
389
|
-
]);
|
|
390
|
-
r.style.minWidth = $ + "px", r.style.right = ge + "px";
|
|
391
|
-
}
|
|
392
|
-
const V = E(), B = window.innerHeight - O * 2, G = a.scrollHeight, H = window.getComputedStyle(f), W = parseInt(H.borderTopWidth, 10), _ = parseInt(H.paddingTop, 10), L = parseInt(H.borderBottomWidth, 10), F = parseInt(H.paddingBottom, 10), z = W + _ + G + F + L, pe = Math.min(h.offsetHeight * 5, z), se = window.getComputedStyle(a), fe = parseInt(se.paddingTop, 10), me = parseInt(se.paddingBottom, 10), ee = b.top + b.height / 2 - O, le = B - ee, ne = h.offsetHeight / 2, u = h.offsetTop + ne, I = W + _ + u, N = z - I;
|
|
393
|
-
if (I <= ee) {
|
|
394
|
-
const x = V.length > 0 && h === V[V.length - 1].ref.current;
|
|
395
|
-
r.style.bottom = "0px";
|
|
396
|
-
const P = f.clientHeight - a.offsetTop - a.offsetHeight, Z = Math.max(
|
|
397
|
-
le,
|
|
398
|
-
ne + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
399
|
-
(x ? me : 0) + P + L
|
|
400
|
-
), $ = I + Z;
|
|
401
|
-
r.style.height = $ + "px";
|
|
402
|
-
} else {
|
|
403
|
-
const x = V.length > 0 && h === V[0].ref.current;
|
|
404
|
-
r.style.top = "0px";
|
|
405
|
-
const Z = Math.max(
|
|
406
|
-
ee,
|
|
407
|
-
W + a.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
|
408
|
-
(x ? fe : 0) + ne
|
|
409
|
-
) + N;
|
|
410
|
-
r.style.height = Z + "px", a.scrollTop = I - ee + a.offsetTop;
|
|
411
|
-
}
|
|
412
|
-
r.style.margin = `${O}px 0`, r.style.minHeight = pe + "px", r.style.maxHeight = B + "px", i?.(), requestAnimationFrame(() => T.current = !0);
|
|
413
|
-
}
|
|
414
|
-
}, [
|
|
415
|
-
E,
|
|
416
|
-
d.trigger,
|
|
417
|
-
d.valueNode,
|
|
418
|
-
r,
|
|
419
|
-
f,
|
|
420
|
-
a,
|
|
421
|
-
h,
|
|
422
|
-
S,
|
|
423
|
-
d.dir,
|
|
424
|
-
i
|
|
425
|
-
]);
|
|
426
|
-
Y(() => v(), [v]);
|
|
427
|
-
const [U, A] = t.useState();
|
|
428
|
-
Y(() => {
|
|
429
|
-
f && A(window.getComputedStyle(f).zIndex);
|
|
430
|
-
}, [f]);
|
|
431
|
-
const oe = t.useCallback(
|
|
432
|
-
(b) => {
|
|
433
|
-
b && y.current === !0 && (v(), m?.(), y.current = !1);
|
|
434
|
-
},
|
|
435
|
-
[v, m]
|
|
436
|
-
);
|
|
437
|
-
return /* @__PURE__ */ p(
|
|
438
|
-
_t,
|
|
439
|
-
{
|
|
440
|
-
scope: e,
|
|
441
|
-
contentWrapper: r,
|
|
442
|
-
shouldExpandOnScrollRef: T,
|
|
443
|
-
onScrollButtonChange: oe,
|
|
444
|
-
children: /* @__PURE__ */ p(
|
|
445
|
-
"div",
|
|
446
|
-
{
|
|
447
|
-
ref: l,
|
|
448
|
-
style: {
|
|
449
|
-
display: "flex",
|
|
450
|
-
flexDirection: "column",
|
|
451
|
-
position: "fixed",
|
|
452
|
-
zIndex: U
|
|
453
|
-
},
|
|
454
|
-
children: /* @__PURE__ */ p(
|
|
455
|
-
M.div,
|
|
456
|
-
{
|
|
457
|
-
...s,
|
|
458
|
-
ref: C,
|
|
459
|
-
style: {
|
|
460
|
-
// When we get the height of the content, it includes borders. If we were to set
|
|
461
|
-
// the height without having `boxSizing: 'border-box'` it would be too big.
|
|
462
|
-
boxSizing: "border-box",
|
|
463
|
-
// We need to ensure the content doesn't get taller than the wrapper
|
|
464
|
-
maxHeight: "100%",
|
|
465
|
-
...s.style
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
)
|
|
469
|
-
}
|
|
470
|
-
)
|
|
471
|
-
}
|
|
472
|
-
);
|
|
473
|
-
});
|
|
474
|
-
We.displayName = Et;
|
|
475
|
-
var bt = "SelectPopperPosition", Se = t.forwardRef((o, c) => {
|
|
476
|
-
const {
|
|
477
|
-
__scopeSelect: e,
|
|
478
|
-
align: i = "start",
|
|
479
|
-
collisionPadding: s = O,
|
|
480
|
-
...d
|
|
481
|
-
} = o, n = ue(e);
|
|
482
|
-
return /* @__PURE__ */ p(
|
|
483
|
-
it,
|
|
484
|
-
{
|
|
485
|
-
...n,
|
|
486
|
-
...d,
|
|
487
|
-
ref: c,
|
|
488
|
-
align: i,
|
|
489
|
-
collisionPadding: s,
|
|
490
|
-
style: {
|
|
491
|
-
// Ensure border-box for floating-ui calculations
|
|
492
|
-
boxSizing: "border-box",
|
|
493
|
-
...d.style,
|
|
494
|
-
"--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
495
|
-
"--radix-select-content-available-width": "var(--radix-popper-available-width)",
|
|
496
|
-
"--radix-select-content-available-height": "var(--radix-popper-available-height)",
|
|
497
|
-
"--radix-select-trigger-width": "var(--radix-popper-anchor-width)",
|
|
498
|
-
"--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
);
|
|
502
|
-
});
|
|
503
|
-
Se.displayName = bt;
|
|
504
|
-
var [_t, Pe] = te(Q, {}), we = "SelectViewport", Fe = t.forwardRef(
|
|
505
|
-
(o, c) => {
|
|
506
|
-
const { __scopeSelect: e, nonce: i, ...s } = o, d = q(we, e), n = Pe(we, e), r = k(c, d.onViewportChange), l = t.useRef(0);
|
|
507
|
-
return /* @__PURE__ */ ce(Te, { children: [
|
|
508
|
-
/* @__PURE__ */ p(
|
|
509
|
-
"style",
|
|
510
|
-
{
|
|
511
|
-
dangerouslySetInnerHTML: {
|
|
512
|
-
__html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"
|
|
513
|
-
},
|
|
514
|
-
nonce: i
|
|
515
|
-
}
|
|
516
|
-
),
|
|
517
|
-
/* @__PURE__ */ p(ae.Slot, { scope: e, children: /* @__PURE__ */ p(
|
|
518
|
-
M.div,
|
|
519
|
-
{
|
|
520
|
-
"data-radix-select-viewport": "",
|
|
521
|
-
role: "presentation",
|
|
522
|
-
...s,
|
|
523
|
-
ref: r,
|
|
524
|
-
style: {
|
|
525
|
-
// we use position: 'relative' here on the `viewport` so that when we call
|
|
526
|
-
// `selectedItem.offsetTop` in calculations, the offset is relative to the viewport
|
|
527
|
-
// (independent of the scrollUpButton).
|
|
528
|
-
position: "relative",
|
|
529
|
-
flex: 1,
|
|
530
|
-
// Viewport should only be scrollable in the vertical direction.
|
|
531
|
-
// This won't work in vertical writing modes, so we'll need to
|
|
532
|
-
// revisit this if/when that is supported
|
|
533
|
-
// https://developer.chrome.com/blog/vertical-form-controls
|
|
534
|
-
overflow: "hidden auto",
|
|
535
|
-
...s.style
|
|
536
|
-
},
|
|
537
|
-
onScroll: R(s.onScroll, (f) => {
|
|
538
|
-
const g = f.currentTarget, { contentWrapper: C, shouldExpandOnScrollRef: E } = n;
|
|
539
|
-
if (E?.current && C) {
|
|
540
|
-
const T = Math.abs(l.current - g.scrollTop);
|
|
541
|
-
if (T > 0) {
|
|
542
|
-
const y = window.innerHeight - O * 2, a = parseFloat(C.style.minHeight), h = parseFloat(C.style.height), S = Math.max(a, h);
|
|
543
|
-
if (S < y) {
|
|
544
|
-
const m = S + T, v = Math.min(y, m), U = m - v;
|
|
545
|
-
C.style.height = v + "px", C.style.bottom === "0px" && (g.scrollTop = U > 0 ? U : 0, C.style.justifyContent = "flex-end");
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
l.current = g.scrollTop;
|
|
550
|
-
})
|
|
551
|
-
}
|
|
552
|
-
) })
|
|
553
|
-
] });
|
|
554
|
-
}
|
|
555
|
-
);
|
|
556
|
-
Fe.displayName = we;
|
|
557
|
-
var Ue = "SelectGroup", [Nt, Mt] = te(Ue), At = t.forwardRef(
|
|
558
|
-
(o, c) => {
|
|
559
|
-
const { __scopeSelect: e, ...i } = o, s = Ie();
|
|
560
|
-
return /* @__PURE__ */ p(Nt, { scope: e, id: s, children: /* @__PURE__ */ p(M.div, { role: "group", "aria-labelledby": s, ...i, ref: c }) });
|
|
561
|
-
}
|
|
562
|
-
);
|
|
563
|
-
At.displayName = Ue;
|
|
564
|
-
var Ke = "SelectLabel", Ot = t.forwardRef(
|
|
565
|
-
(o, c) => {
|
|
566
|
-
const { __scopeSelect: e, ...i } = o, s = Mt(Ke, e);
|
|
567
|
-
return /* @__PURE__ */ p(M.div, { id: s.id, ...i, ref: c });
|
|
568
|
-
}
|
|
569
|
-
);
|
|
570
|
-
Ot.displayName = Ke;
|
|
571
|
-
var ie = "SelectItem", [Dt, Ge] = te(ie), ze = t.forwardRef(
|
|
572
|
-
(o, c) => {
|
|
573
|
-
const {
|
|
574
|
-
__scopeSelect: e,
|
|
575
|
-
value: i,
|
|
576
|
-
disabled: s = !1,
|
|
577
|
-
textValue: d,
|
|
578
|
-
...n
|
|
579
|
-
} = o, r = j(ie, e), l = q(ie, e), f = r.value === i, [g, C] = t.useState(d ?? ""), [E, T] = t.useState(!1), y = k(
|
|
580
|
-
c,
|
|
581
|
-
(m) => l.itemRefCallback?.(m, i, s)
|
|
582
|
-
), a = Ie(), h = t.useRef("touch"), S = () => {
|
|
583
|
-
s || (r.onValueChange(i), r.onOpenChange(!1));
|
|
584
|
-
};
|
|
585
|
-
if (i === "")
|
|
586
|
-
throw new Error(
|
|
587
|
-
"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
|
|
588
|
-
);
|
|
589
|
-
return /* @__PURE__ */ p(
|
|
590
|
-
Dt,
|
|
591
|
-
{
|
|
592
|
-
scope: e,
|
|
593
|
-
value: i,
|
|
594
|
-
disabled: s,
|
|
595
|
-
textId: a,
|
|
596
|
-
isSelected: f,
|
|
597
|
-
onItemTextChange: t.useCallback((m) => {
|
|
598
|
-
C((v) => v || (m?.textContent ?? "").trim());
|
|
599
|
-
}, []),
|
|
600
|
-
children: /* @__PURE__ */ p(
|
|
601
|
-
ae.ItemSlot,
|
|
602
|
-
{
|
|
603
|
-
scope: e,
|
|
604
|
-
value: i,
|
|
605
|
-
disabled: s,
|
|
606
|
-
textValue: g,
|
|
607
|
-
children: /* @__PURE__ */ p(
|
|
608
|
-
M.div,
|
|
609
|
-
{
|
|
610
|
-
role: "option",
|
|
611
|
-
"aria-labelledby": a,
|
|
612
|
-
"data-highlighted": E ? "" : void 0,
|
|
613
|
-
"aria-selected": f && E,
|
|
614
|
-
"data-state": f ? "checked" : "unchecked",
|
|
615
|
-
"aria-disabled": s || void 0,
|
|
616
|
-
"data-disabled": s ? "" : void 0,
|
|
617
|
-
tabIndex: s ? void 0 : -1,
|
|
618
|
-
...n,
|
|
619
|
-
ref: y,
|
|
620
|
-
onFocus: R(n.onFocus, () => T(!0)),
|
|
621
|
-
onBlur: R(n.onBlur, () => T(!1)),
|
|
622
|
-
onClick: R(n.onClick, () => {
|
|
623
|
-
h.current !== "mouse" && S();
|
|
624
|
-
}),
|
|
625
|
-
onPointerUp: R(n.onPointerUp, () => {
|
|
626
|
-
h.current === "mouse" && S();
|
|
627
|
-
}),
|
|
628
|
-
onPointerDown: R(n.onPointerDown, (m) => {
|
|
629
|
-
h.current = m.pointerType;
|
|
630
|
-
}),
|
|
631
|
-
onPointerMove: R(n.onPointerMove, (m) => {
|
|
632
|
-
h.current = m.pointerType, s ? l.onItemLeave?.() : h.current === "mouse" && m.currentTarget.focus({ preventScroll: !0 });
|
|
633
|
-
}),
|
|
634
|
-
onPointerLeave: R(n.onPointerLeave, (m) => {
|
|
635
|
-
m.currentTarget === document.activeElement && l.onItemLeave?.();
|
|
636
|
-
}),
|
|
637
|
-
onKeyDown: R(n.onKeyDown, (m) => {
|
|
638
|
-
l.searchRef?.current !== "" && m.key === " " || (St.includes(m.key) && S(), m.key === " " && m.preventDefault());
|
|
639
|
-
})
|
|
640
|
-
}
|
|
641
|
-
)
|
|
642
|
-
}
|
|
643
|
-
)
|
|
644
|
-
}
|
|
645
|
-
);
|
|
646
|
-
}
|
|
647
|
-
);
|
|
648
|
-
ze.displayName = ie;
|
|
649
|
-
var re = "SelectItemText", Ye = t.forwardRef(
|
|
650
|
-
(o, c) => {
|
|
651
|
-
const { __scopeSelect: e, className: i, style: s, ...d } = o, n = j(re, e), r = q(re, e), l = Ge(re, e), f = yt(re, e), [g, C] = t.useState(null), E = k(
|
|
652
|
-
c,
|
|
653
|
-
(S) => C(S),
|
|
654
|
-
l.onItemTextChange,
|
|
655
|
-
(S) => r.itemTextRefCallback?.(S, l.value, l.disabled)
|
|
656
|
-
), T = g?.textContent, y = t.useMemo(
|
|
657
|
-
() => /* @__PURE__ */ p("option", { value: l.value, disabled: l.disabled, children: T }, l.value),
|
|
658
|
-
[l.disabled, l.value, T]
|
|
659
|
-
), { onNativeOptionAdd: a, onNativeOptionRemove: h } = f;
|
|
660
|
-
return Y(() => (a(y), () => h(y)), [a, h, y]), /* @__PURE__ */ ce(Te, { children: [
|
|
661
|
-
/* @__PURE__ */ p(M.span, { id: l.textId, ...d, ref: E }),
|
|
662
|
-
l.isSelected && n.valueNode && !n.valueNodeHasChildren ? be.createPortal(d.children, n.valueNode) : null
|
|
663
|
-
] });
|
|
664
|
-
}
|
|
665
|
-
);
|
|
666
|
-
Ye.displayName = re;
|
|
667
|
-
var je = "SelectItemIndicator", qe = t.forwardRef(
|
|
668
|
-
(o, c) => {
|
|
669
|
-
const { __scopeSelect: e, ...i } = o;
|
|
670
|
-
return Ge(je, e).isSelected ? /* @__PURE__ */ p(M.span, { "aria-hidden": !0, ...i, ref: c }) : null;
|
|
671
|
-
}
|
|
672
|
-
);
|
|
673
|
-
qe.displayName = je;
|
|
674
|
-
var Ce = "SelectScrollUpButton", Lt = t.forwardRef((o, c) => {
|
|
675
|
-
const e = q(Ce, o.__scopeSelect), i = Pe(Ce, o.__scopeSelect), [s, d] = t.useState(!1), n = k(c, i.onScrollButtonChange);
|
|
676
|
-
return Y(() => {
|
|
677
|
-
if (e.viewport && e.isPositioned) {
|
|
678
|
-
let r = function() {
|
|
679
|
-
const f = l.scrollTop > 0;
|
|
680
|
-
d(f);
|
|
681
|
-
};
|
|
682
|
-
const l = e.viewport;
|
|
683
|
-
return r(), l.addEventListener("scroll", r), () => l.removeEventListener("scroll", r);
|
|
684
|
-
}
|
|
685
|
-
}, [e.viewport, e.isPositioned]), s ? /* @__PURE__ */ p(
|
|
686
|
-
Xe,
|
|
687
|
-
{
|
|
688
|
-
...o,
|
|
689
|
-
ref: n,
|
|
690
|
-
onAutoScroll: () => {
|
|
691
|
-
const { viewport: r, selectedItem: l } = e;
|
|
692
|
-
r && l && (r.scrollTop = r.scrollTop - l.offsetHeight);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
) : null;
|
|
696
|
-
});
|
|
697
|
-
Lt.displayName = Ce;
|
|
698
|
-
var xe = "SelectScrollDownButton", kt = t.forwardRef((o, c) => {
|
|
699
|
-
const e = q(xe, o.__scopeSelect), i = Pe(xe, o.__scopeSelect), [s, d] = t.useState(!1), n = k(c, i.onScrollButtonChange);
|
|
700
|
-
return Y(() => {
|
|
701
|
-
if (e.viewport && e.isPositioned) {
|
|
702
|
-
let r = function() {
|
|
703
|
-
const f = l.scrollHeight - l.clientHeight, g = Math.ceil(l.scrollTop) < f;
|
|
704
|
-
d(g);
|
|
705
|
-
};
|
|
706
|
-
const l = e.viewport;
|
|
707
|
-
return r(), l.addEventListener("scroll", r), () => l.removeEventListener("scroll", r);
|
|
708
|
-
}
|
|
709
|
-
}, [e.viewport, e.isPositioned]), s ? /* @__PURE__ */ p(
|
|
710
|
-
Xe,
|
|
711
|
-
{
|
|
712
|
-
...o,
|
|
713
|
-
ref: n,
|
|
714
|
-
onAutoScroll: () => {
|
|
715
|
-
const { viewport: r, selectedItem: l } = e;
|
|
716
|
-
r && l && (r.scrollTop = r.scrollTop + l.offsetHeight);
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
) : null;
|
|
720
|
-
});
|
|
721
|
-
kt.displayName = xe;
|
|
722
|
-
var Xe = t.forwardRef((o, c) => {
|
|
723
|
-
const { __scopeSelect: e, onAutoScroll: i, ...s } = o, d = q("SelectScrollButton", e), n = t.useRef(null), r = de(e), l = t.useCallback(() => {
|
|
724
|
-
n.current !== null && (window.clearInterval(n.current), n.current = null);
|
|
725
|
-
}, []);
|
|
726
|
-
return t.useEffect(() => () => l(), [l]), Y(() => {
|
|
727
|
-
r().find((g) => g.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
|
|
728
|
-
}, [r]), /* @__PURE__ */ p(
|
|
729
|
-
M.div,
|
|
730
|
-
{
|
|
731
|
-
"aria-hidden": !0,
|
|
732
|
-
...s,
|
|
733
|
-
ref: c,
|
|
734
|
-
style: { flexShrink: 0, ...s.style },
|
|
735
|
-
onPointerDown: R(s.onPointerDown, () => {
|
|
736
|
-
n.current === null && (n.current = window.setInterval(i, 50));
|
|
737
|
-
}),
|
|
738
|
-
onPointerMove: R(s.onPointerMove, () => {
|
|
739
|
-
d.onItemLeave?.(), n.current === null && (n.current = window.setInterval(i, 50));
|
|
740
|
-
}),
|
|
741
|
-
onPointerLeave: R(s.onPointerLeave, () => {
|
|
742
|
-
l();
|
|
743
|
-
})
|
|
744
|
-
}
|
|
745
|
-
);
|
|
746
|
-
}), Vt = "SelectSeparator", Bt = t.forwardRef(
|
|
747
|
-
(o, c) => {
|
|
748
|
-
const { __scopeSelect: e, ...i } = o;
|
|
749
|
-
return /* @__PURE__ */ p(M.div, { "aria-hidden": !0, ...i, ref: c });
|
|
750
|
-
}
|
|
751
|
-
);
|
|
752
|
-
Bt.displayName = Vt;
|
|
753
|
-
var ye = "SelectArrow", Ht = t.forwardRef(
|
|
754
|
-
(o, c) => {
|
|
755
|
-
const { __scopeSelect: e, ...i } = o, s = ue(e), d = j(ye, e), n = q(ye, e);
|
|
756
|
-
return d.open && n.position === "popper" ? /* @__PURE__ */ p(at, { ...s, ...i, ref: c }) : null;
|
|
757
|
-
}
|
|
758
|
-
);
|
|
759
|
-
Ht.displayName = ye;
|
|
760
|
-
var Wt = "SelectBubbleInput", Ze = t.forwardRef(
|
|
761
|
-
({ __scopeSelect: o, value: c, ...e }, i) => {
|
|
762
|
-
const s = t.useRef(null), d = k(i, s), n = ft(c);
|
|
763
|
-
return t.useEffect(() => {
|
|
764
|
-
const r = s.current;
|
|
765
|
-
if (!r) return;
|
|
766
|
-
const l = window.HTMLSelectElement.prototype, g = Object.getOwnPropertyDescriptor(
|
|
767
|
-
l,
|
|
768
|
-
"value"
|
|
769
|
-
).set;
|
|
770
|
-
if (n !== c && g) {
|
|
771
|
-
const C = new Event("change", { bubbles: !0 });
|
|
772
|
-
g.call(r, c), r.dispatchEvent(C);
|
|
773
|
-
}
|
|
774
|
-
}, [n, c]), /* @__PURE__ */ p(
|
|
775
|
-
M.select,
|
|
776
|
-
{
|
|
777
|
-
...e,
|
|
778
|
-
style: { ...mt, ...e.style },
|
|
779
|
-
ref: d,
|
|
780
|
-
defaultValue: c
|
|
781
|
-
}
|
|
782
|
-
);
|
|
783
|
-
}
|
|
784
|
-
);
|
|
785
|
-
Ze.displayName = Wt;
|
|
786
|
-
function $e(o) {
|
|
787
|
-
return o === "" || o === void 0;
|
|
788
|
-
}
|
|
789
|
-
function Je(o) {
|
|
790
|
-
const c = pt(o), e = t.useRef(""), i = t.useRef(0), s = t.useCallback(
|
|
791
|
-
(n) => {
|
|
792
|
-
const r = e.current + n;
|
|
793
|
-
c(r), (function l(f) {
|
|
794
|
-
e.current = f, window.clearTimeout(i.current), f !== "" && (i.current = window.setTimeout(() => l(""), 1e3));
|
|
795
|
-
})(r);
|
|
796
|
-
},
|
|
797
|
-
[c]
|
|
798
|
-
), d = t.useCallback(() => {
|
|
799
|
-
e.current = "", window.clearTimeout(i.current);
|
|
800
|
-
}, []);
|
|
801
|
-
return t.useEffect(() => () => window.clearTimeout(i.current), []), [e, s, d];
|
|
802
|
-
}
|
|
803
|
-
function Qe(o, c, e) {
|
|
804
|
-
const s = c.length > 1 && Array.from(c).every((f) => f === c[0]) ? c[0] : c, d = e ? o.indexOf(e) : -1;
|
|
805
|
-
let n = Ft(o, Math.max(d, 0));
|
|
806
|
-
s.length === 1 && (n = n.filter((f) => f !== e));
|
|
807
|
-
const l = n.find(
|
|
808
|
-
(f) => f.textValue.toLowerCase().startsWith(s.toLowerCase())
|
|
809
|
-
);
|
|
810
|
-
return l !== e ? l : void 0;
|
|
811
|
-
}
|
|
812
|
-
function Ft(o, c) {
|
|
813
|
-
return o.map((e, i) => o[(c + i) % o.length]);
|
|
814
|
-
}
|
|
815
|
-
var uo = Ne, po = Ae, fo = De, mo = Le, ho = ke, vo = Ve, go = Fe, So = ze, wo = Ye, Co = qe;
|
|
816
|
-
export {
|
|
817
|
-
vo as Content,
|
|
818
|
-
mo as Icon,
|
|
819
|
-
So as Item,
|
|
820
|
-
Co as ItemIndicator,
|
|
821
|
-
wo as ItemText,
|
|
822
|
-
ho as Portal,
|
|
823
|
-
uo as Root,
|
|
824
|
-
Ne as Select,
|
|
825
|
-
Ht as SelectArrow,
|
|
826
|
-
Ve as SelectContent,
|
|
827
|
-
At as SelectGroup,
|
|
828
|
-
Le as SelectIcon,
|
|
829
|
-
ze as SelectItem,
|
|
830
|
-
qe as SelectItemIndicator,
|
|
831
|
-
Ye as SelectItemText,
|
|
832
|
-
Ot as SelectLabel,
|
|
833
|
-
ke as SelectPortal,
|
|
834
|
-
kt as SelectScrollDownButton,
|
|
835
|
-
Lt as SelectScrollUpButton,
|
|
836
|
-
Bt as SelectSeparator,
|
|
837
|
-
Ae as SelectTrigger,
|
|
838
|
-
De as SelectValue,
|
|
839
|
-
Fe as SelectViewport,
|
|
840
|
-
po as Trigger,
|
|
841
|
-
fo as Value,
|
|
842
|
-
go as Viewport
|
|
843
|
-
};
|
|
844
|
-
//# sourceMappingURL=index.js.map
|