@leonardaustin/ui 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +183 -2
- package/dist/components/app-shell/AppShell.d.ts +3 -4
- package/dist/components/app-shell/AppShell.js +82 -0
- package/dist/components/app-shell/AuthLayout.d.ts +3 -4
- package/dist/components/app-shell/AuthLayout.js +16 -0
- package/dist/components/app-shell/BackLink.d.ts +3 -4
- package/dist/components/app-shell/BackLink.js +19 -0
- package/dist/components/app-shell/BottomNav.d.ts +3 -3
- package/dist/components/app-shell/BottomNav.js +37 -0
- package/dist/components/app-shell/Breadcrumbs.d.ts +3 -3
- package/dist/components/app-shell/Breadcrumbs.js +46 -0
- package/dist/components/app-shell/CommandPalette.d.ts +3 -3
- package/dist/components/app-shell/CommandPalette.js +119 -0
- package/dist/components/app-shell/MobileDrawer.d.ts +3 -4
- package/dist/components/app-shell/MobileDrawer.js +128 -0
- package/dist/components/app-shell/Sidebar.d.ts +3 -4
- package/dist/components/app-shell/Sidebar.js +355 -0
- package/dist/components/app-shell/ThemeMenu.d.ts +3 -3
- package/dist/components/app-shell/ThemeMenu.js +273 -0
- package/dist/components/app-shell/TopBar.d.ts +3 -4
- package/dist/components/app-shell/TopBar.js +129 -0
- package/dist/components/app-shell/commandPaletteEvents.d.ts +0 -1
- package/dist/components/app-shell/commandPaletteEvents.js +16 -0
- package/dist/components/app-shell/navigation.d.ts +0 -1
- package/dist/components/app-shell/navigation.js +21 -0
- package/dist/components/app-shell/themeMenuEvents.d.ts +0 -1
- package/dist/components/app-shell/themeMenuEvents.js +7 -0
- package/dist/components/app-shell/types.d.ts +0 -1
- package/dist/components/charts/AreaChart.d.ts +4 -4
- package/dist/components/charts/AreaChart.js +217 -0
- package/dist/components/charts/BarChart.d.ts +4 -4
- package/dist/components/charts/BarChart.js +91 -0
- package/dist/components/charts/DonutChart.d.ts +4 -4
- package/dist/components/charts/DonutChart.js +172 -0
- package/dist/components/charts/RadarChart.d.ts +4 -4
- package/dist/components/charts/RadarChart.js +142 -0
- package/dist/components/charts/RadialBarChart.d.ts +4 -4
- package/dist/components/charts/RadialBarChart.js +219 -0
- package/dist/components/charts/SparkLine.d.ts +4 -4
- package/dist/components/charts/SparkLine.js +39 -0
- package/dist/components/charts/StackedBarChart.d.ts +4 -4
- package/dist/components/charts/StackedBarChart.js +249 -0
- package/dist/components/charts/VerticalBarChart.d.ts +4 -4
- package/dist/components/charts/VerticalBarChart.js +143 -0
- package/dist/components/charts/chartUtils.d.ts +0 -1
- package/dist/components/charts/chartUtils.js +68 -0
- package/dist/components/tables/ColumnPicker.d.ts +3 -4
- package/dist/components/tables/ColumnPicker.js +59 -0
- package/dist/components/tables/Pagination.d.ts +3 -5
- package/dist/components/tables/Pagination.js +56 -0
- package/dist/components/tables/ResourceTable.d.ts +3 -4
- package/dist/components/tables/ResourceTable.js +88 -0
- package/dist/components/tables/Table.d.ts +0 -1
- package/dist/components/tables/Table.js +95 -0
- package/dist/components/tables/sortRows.d.ts +0 -1
- package/dist/components/tables/sortRows.js +11 -0
- package/dist/components/ui/Accordion.d.ts +9 -2
- package/dist/components/ui/Accordion.js +35 -0
- package/dist/components/ui/Alert.d.ts +8 -6
- package/dist/components/ui/Alert.js +51 -0
- package/dist/components/ui/AttachmentList.d.ts +5 -6
- package/dist/components/ui/AttachmentList.js +90 -0
- package/dist/components/ui/AudioPlayer.d.ts +7 -4
- package/dist/components/ui/AudioPlayer.js +447 -0
- package/dist/components/ui/AuthCard.d.ts +3 -4
- package/dist/components/ui/AuthCard.js +39 -0
- package/dist/components/ui/AuthorByline.d.ts +5 -6
- package/dist/components/ui/AuthorByline.js +23 -0
- package/dist/components/ui/Avatar.d.ts +5 -4
- package/dist/components/ui/Avatar.js +36 -0
- package/dist/components/ui/Badge.d.ts +3 -3
- package/dist/components/ui/Badge.js +47 -0
- package/dist/components/ui/Button.d.ts +9 -9
- package/dist/components/ui/Button.js +83 -0
- package/dist/components/ui/Calendar.d.ts +3 -4
- package/dist/components/ui/Calendar.js +344 -0
- package/dist/components/ui/CalendarGrid.d.ts +3 -4
- package/dist/components/ui/CalendarGrid.js +136 -0
- package/dist/components/ui/Card.d.ts +6 -6
- package/dist/components/ui/Card.js +53 -0
- package/dist/components/ui/CharacterCount.d.ts +3 -4
- package/dist/components/ui/CharacterCount.js +27 -0
- package/dist/components/ui/Checkbox.d.ts +10 -9
- package/dist/components/ui/Checkbox.js +52 -0
- package/dist/components/ui/CodeInput.d.ts +7 -5
- package/dist/components/ui/CodeInput.js +96 -0
- package/dist/components/ui/Combobox.d.ts +8 -7
- package/dist/components/ui/Combobox.js +213 -0
- package/dist/components/ui/CopyButton.d.ts +6 -2
- package/dist/components/ui/CopyButton.js +57 -0
- package/dist/components/ui/DangerZone.d.ts +3 -5
- package/dist/components/ui/DangerZone.js +23 -0
- package/dist/components/ui/DatePartsInput.d.ts +6 -5
- package/dist/components/ui/DatePartsInput.js +138 -0
- package/dist/components/ui/DatePicker.d.ts +9 -5
- package/dist/components/ui/DatePicker.js +84 -0
- package/dist/components/ui/DateRangePicker.d.ts +7 -6
- package/dist/components/ui/DateRangePicker.js +143 -0
- package/dist/components/ui/DateTimePicker.d.ts +7 -5
- package/dist/components/ui/DateTimePicker.js +267 -0
- package/dist/components/ui/DetailPanel.d.ts +3 -4
- package/dist/components/ui/DetailPanel.js +183 -0
- package/dist/components/ui/Dialog.d.ts +3 -4
- package/dist/components/ui/Dialog.js +411 -0
- package/dist/components/ui/DialogActions.d.ts +3 -4
- package/dist/components/ui/DialogActions.js +35 -0
- package/dist/components/ui/Disclosure.d.ts +7 -4
- package/dist/components/ui/Disclosure.js +45 -0
- package/dist/components/ui/DividerLabel.d.ts +3 -4
- package/dist/components/ui/DividerLabel.js +20 -0
- package/dist/components/ui/DropdownMenu.d.ts +4 -5
- package/dist/components/ui/DropdownMenu.js +229 -0
- package/dist/components/ui/EmptyState.d.ts +3 -5
- package/dist/components/ui/EmptyState.js +31 -0
- package/dist/components/ui/ErrorBoundary.d.ts +3 -3
- package/dist/components/ui/ErrorBoundary.js +46 -0
- package/dist/components/ui/FieldContext.d.ts +0 -1
- package/dist/components/ui/FieldContext.js +8 -0
- package/dist/components/ui/Fieldset.d.ts +2 -3
- package/dist/components/ui/Fieldset.js +39 -0
- package/dist/components/ui/FilterButton.d.ts +4 -9
- package/dist/components/ui/FilterButton.js +17 -0
- package/dist/components/ui/FilterDropdown.d.ts +4 -6
- package/dist/components/ui/FilterDropdown.js +18 -0
- package/dist/components/ui/FormField.d.ts +4 -5
- package/dist/components/ui/FormField.js +68 -0
- package/dist/components/ui/Grid.d.ts +1 -2
- package/dist/components/ui/Grid.js +19 -0
- package/dist/components/ui/GridItem.d.ts +1 -2
- package/dist/components/ui/GridItem.js +16 -0
- package/dist/components/ui/Inline.d.ts +1 -2
- package/dist/components/ui/Inline.js +24 -0
- package/dist/components/ui/Kbd.d.ts +3 -4
- package/dist/components/ui/Kbd.js +13 -0
- package/dist/components/ui/ListItemLink.d.ts +3 -4
- package/dist/components/ui/ListItemLink.js +44 -0
- package/dist/components/ui/LoadingSpinner.d.ts +5 -5
- package/dist/components/ui/LoadingSpinner.js +19 -0
- package/dist/components/ui/MessageBubble.d.ts +5 -3
- package/dist/components/ui/MessageBubble.js +41 -0
- package/dist/components/ui/MetadataGrid.d.ts +5 -4
- package/dist/components/ui/MetadataGrid.js +76 -0
- package/dist/components/ui/MetricCard.d.ts +3 -4
- package/dist/components/ui/MetricCard.js +51 -0
- package/dist/components/ui/NavTabs.d.ts +2 -3
- package/dist/components/ui/NavTabs.js +29 -0
- package/dist/components/ui/OAuthButton.d.ts +2 -3
- package/dist/components/ui/OAuthButton.js +55 -0
- package/dist/components/ui/OverlineLabel.d.ts +3 -4
- package/dist/components/ui/OverlineLabel.js +13 -0
- package/dist/components/ui/PageHeader.d.ts +3 -4
- package/dist/components/ui/PageHeader.js +33 -0
- package/dist/components/ui/PageSection.d.ts +3 -4
- package/dist/components/ui/PageSection.js +31 -0
- package/dist/components/ui/PaginationBar.d.ts +3 -4
- package/dist/components/ui/PaginationBar.js +62 -0
- package/dist/components/ui/PasswordInput.d.ts +3 -5
- package/dist/components/ui/PasswordInput.js +62 -0
- package/dist/components/ui/PasswordRequirements.d.ts +3 -3
- package/dist/components/ui/PasswordRequirements.js +34 -0
- package/dist/components/ui/Popover.d.ts +5 -4
- package/dist/components/ui/Popover.js +53 -0
- package/dist/components/ui/ProfileHeader.d.ts +3 -4
- package/dist/components/ui/ProfileHeader.js +54 -0
- package/dist/components/ui/ProgressBar.d.ts +3 -4
- package/dist/components/ui/ProgressBar.js +42 -0
- package/dist/components/ui/ProseContent.d.ts +3 -4
- package/dist/components/ui/ProseContent.js +13 -0
- package/dist/components/ui/QrCode.d.ts +3 -4
- package/dist/components/ui/QrCode.js +47 -0
- package/dist/components/ui/Radio.d.ts +9 -7
- package/dist/components/ui/Radio.js +58 -0
- package/dist/components/ui/RadioPill.d.ts +10 -8
- package/dist/components/ui/RadioPill.js +53 -0
- package/dist/components/ui/ReorderList.d.ts +3 -4
- package/dist/components/ui/ReorderList.js +123 -0
- package/dist/components/ui/SearchInput.d.ts +7 -6
- package/dist/components/ui/SearchInput.js +49 -0
- package/dist/components/ui/SectionHeader.d.ts +3 -5
- package/dist/components/ui/SectionHeader.js +13 -0
- package/dist/components/ui/Select.d.ts +4 -6
- package/dist/components/ui/Select.js +117 -0
- package/dist/components/ui/SelectDropdown.d.ts +10 -6
- package/dist/components/ui/SelectDropdown.js +206 -0
- package/dist/components/ui/SettingRow.d.ts +5 -7
- package/dist/components/ui/SettingRow.js +25 -0
- package/dist/components/ui/SideSheet.d.ts +3 -4
- package/dist/components/ui/SideSheet.js +164 -0
- package/dist/components/ui/Skeleton.d.ts +3 -4
- package/dist/components/ui/Skeleton.js +18 -0
- package/dist/components/ui/Slider.d.ts +11 -7
- package/dist/components/ui/Slider.js +58 -0
- package/dist/components/ui/SplitPaneLayout.d.ts +6 -6
- package/dist/components/ui/SplitPaneLayout.js +22 -0
- package/dist/components/ui/Stack.d.ts +1 -2
- package/dist/components/ui/Stack.js +18 -0
- package/dist/components/ui/StatusDot.d.ts +3 -3
- package/dist/components/ui/StatusDot.js +24 -0
- package/dist/components/ui/StepProgress.d.ts +3 -3
- package/dist/components/ui/StepProgress.js +33 -0
- package/dist/components/ui/Tabs.d.ts +5 -6
- package/dist/components/ui/Tabs.js +63 -0
- package/dist/components/ui/TextInput.d.ts +3 -5
- package/dist/components/ui/TextInput.js +57 -0
- package/dist/components/ui/Textarea.d.ts +3 -5
- package/dist/components/ui/Textarea.js +59 -0
- package/dist/components/ui/ThemePreview.d.ts +3 -4
- package/dist/components/ui/ThemePreview.js +28 -0
- package/dist/components/ui/TimeInput.d.ts +7 -7
- package/dist/components/ui/TimeInput.js +22 -0
- package/dist/components/ui/Timeline.d.ts +3 -3
- package/dist/components/ui/Timeline.js +29 -0
- package/dist/components/ui/Toast.d.ts +0 -1
- package/dist/components/ui/Toast.js +121 -0
- package/dist/components/ui/Toggle.d.ts +10 -5
- package/dist/components/ui/Toggle.js +34 -0
- package/dist/components/ui/Toolbar.d.ts +3 -4
- package/dist/components/ui/Toolbar.js +70 -0
- package/dist/components/ui/Tooltip.d.ts +0 -1
- package/dist/components/ui/Tooltip.js +91 -0
- package/dist/components/ui/TranscriptLine.d.ts +5 -4
- package/dist/components/ui/TranscriptLine.js +40 -0
- package/dist/components/ui/UploadDropzone.d.ts +3 -6
- package/dist/components/ui/UploadDropzone.js +55 -0
- package/dist/components/ui/badgeColors.d.ts +0 -1
- package/dist/components/ui/badgeColors.js +5 -0
- package/dist/components/ui/calendar/AgendaView.d.ts +0 -1
- package/dist/components/ui/calendar/AgendaView.js +140 -0
- package/dist/components/ui/calendar/MonthView.d.ts +0 -1
- package/dist/components/ui/calendar/MonthView.js +321 -0
- package/dist/components/ui/calendar/TimeGrid.d.ts +0 -1
- package/dist/components/ui/calendar/TimeGrid.js +501 -0
- package/dist/components/ui/calendar/TimelineView.d.ts +0 -1
- package/dist/components/ui/calendar/TimelineView.js +311 -0
- package/dist/components/ui/calendar/context.d.ts +0 -1
- package/dist/components/ui/calendar/context.js +10 -0
- package/dist/components/ui/calendar/items.d.ts +0 -1
- package/dist/components/ui/calendar/items.js +152 -0
- package/dist/components/ui/calendar/types.d.ts +0 -1
- package/dist/components/ui/calendar/types.js +38 -0
- package/dist/components/ui/calendar/useGridInteraction.d.ts +0 -1
- package/dist/components/ui/calendar/useGridInteraction.js +393 -0
- package/dist/components/ui/useFieldControl.d.ts +1 -2
- package/dist/components/ui/useFieldControl.js +17 -0
- package/dist/config/theme.d.ts +0 -1
- package/dist/config/theme.js +219 -0
- package/dist/core.css +2933 -0
- package/dist/hooks/useAnchoredPopup.d.ts +0 -1
- package/dist/hooks/useAnchoredPopup.js +162 -0
- package/dist/hooks/useApplyTheme.d.ts +0 -1
- package/dist/hooks/useApplyTheme.js +16 -0
- package/dist/hooks/useControllableState.d.ts +14 -0
- package/dist/hooks/useControllableState.js +10 -0
- package/dist/hooks/useDismiss.d.ts +0 -1
- package/dist/hooks/useDismiss.js +24 -0
- package/dist/hooks/useFocusTrap.d.ts +0 -1
- package/dist/hooks/useFocusTrap.js +42 -0
- package/dist/hooks/useOverlayStack.d.ts +0 -1
- package/dist/hooks/useOverlayStack.js +23 -0
- package/dist/hooks/usePopover.d.ts +0 -1
- package/dist/hooks/usePopover.js +47 -0
- package/dist/hooks/usePortalContainer.d.ts +0 -1
- package/dist/hooks/usePortalContainer.js +14 -0
- package/dist/hooks/useSettings.d.ts +0 -1
- package/dist/hooks/useSettings.js +8 -0
- package/dist/hooks/useTheme.d.ts +0 -1
- package/dist/hooks/useTheme.js +8 -0
- package/dist/hooks/useTypeahead.d.ts +0 -1
- package/dist/hooks/useTypeahead.js +19 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +133 -12866
- package/dist/lib/anchorPlacement.d.ts +0 -1
- package/dist/lib/anchorPlacement.js +75 -0
- package/dist/lib/calendar.d.ts +0 -1
- package/dist/lib/calendar.js +666 -0
- package/dist/lib/cn.d.ts +0 -1
- package/dist/lib/cn.js +228 -0
- package/dist/lib/codeInput.d.ts +0 -1
- package/dist/lib/codeInput.js +51 -0
- package/dist/lib/dateParts.d.ts +0 -1
- package/dist/lib/dateParts.js +31 -0
- package/dist/lib/dialogDrag.d.ts +0 -1
- package/dist/lib/dialogDrag.js +45 -0
- package/dist/lib/dialogResize.d.ts +0 -1
- package/dist/lib/dialogResize.js +47 -0
- package/dist/lib/formatDate.d.ts +0 -1
- package/dist/lib/formatDate.js +29 -0
- package/dist/lib/formatMediaTime.d.ts +0 -1
- package/dist/lib/formatMediaTime.js +7 -0
- package/dist/lib/keyboardStep.d.ts +0 -1
- package/dist/lib/layout.d.ts +0 -1
- package/dist/lib/layout.js +29 -0
- package/dist/lib/math.d.ts +0 -1
- package/dist/lib/math.js +6 -0
- package/dist/lib/mergeRefs.d.ts +6 -0
- package/dist/lib/mergeRefs.js +17 -0
- package/dist/lib/months.d.ts +0 -1
- package/dist/lib/months.js +30 -0
- package/dist/lib/overlayStack.d.ts +0 -1
- package/dist/lib/overlayStack.js +47 -0
- package/dist/lib/panelResize.d.ts +0 -1
- package/dist/lib/panelResize.js +8 -0
- package/dist/lib/passwordRequirements.d.ts +0 -1
- package/dist/lib/passwordRequirements.js +23 -0
- package/dist/lib/qrCode.d.ts +0 -1
- package/dist/lib/qrCode.js +570 -0
- package/dist/lib/rect.d.ts +0 -1
- package/dist/lib/tones.d.ts +0 -1
- package/dist/lib/tones.js +104 -0
- package/dist/lib/typeahead.d.ts +0 -1
- package/dist/lib/typeahead.js +31 -0
- package/dist/providers/ControlSizeContext.d.ts +0 -1
- package/dist/providers/ControlSizeContext.js +9 -0
- package/dist/providers/ControlSizeProvider.d.ts +0 -1
- package/dist/providers/ControlSizeProvider.js +11 -0
- package/dist/providers/SettingsContext.d.ts +0 -1
- package/dist/providers/SettingsContext.js +53 -0
- package/dist/providers/SettingsProvider.d.ts +0 -1
- package/dist/providers/SettingsProvider.js +249 -0
- package/dist/providers/ThemeContext.d.ts +0 -1
- package/dist/providers/ThemeContext.js +5 -0
- package/dist/providers/ThemeProvider.d.ts +0 -1
- package/dist/providers/ThemeProvider.js +17 -0
- package/dist/providers/accentColors.d.ts +0 -1
- package/dist/providers/accentColors.js +75 -0
- package/dist/providers/themeClasses.d.ts +1 -1
- package/dist/providers/themeClasses.js +20 -0
- package/dist/styles.css +263 -176
- package/dist/themes/cyber-brutal-dark.css +53 -0
- package/dist/themes/cyber-brutal-light.css +75 -0
- package/dist/themes/glass-dark.css +217 -0
- package/dist/themes/glass-light.css +215 -0
- package/dist/themes/hashi.css +66 -0
- package/dist/themes/light-inverted.css +32 -0
- package/dist/themes/light.css +1 -0
- package/dist/themes/monokai.css +51 -0
- package/dist/themes/solarized.css +55 -0
- package/package.json +3 -1
- package/dist/components/app-shell/AppShell.d.ts.map +0 -1
- package/dist/components/app-shell/AuthLayout.d.ts.map +0 -1
- package/dist/components/app-shell/BackLink.d.ts.map +0 -1
- package/dist/components/app-shell/BottomNav.d.ts.map +0 -1
- package/dist/components/app-shell/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/app-shell/CommandPalette.d.ts.map +0 -1
- package/dist/components/app-shell/MobileDrawer.d.ts.map +0 -1
- package/dist/components/app-shell/Sidebar.d.ts.map +0 -1
- package/dist/components/app-shell/ThemeMenu.d.ts.map +0 -1
- package/dist/components/app-shell/TopBar.d.ts.map +0 -1
- package/dist/components/app-shell/commandPaletteEvents.d.ts.map +0 -1
- package/dist/components/app-shell/navigation.d.ts.map +0 -1
- package/dist/components/app-shell/themeMenuEvents.d.ts.map +0 -1
- package/dist/components/app-shell/types.d.ts.map +0 -1
- package/dist/components/charts/AreaChart.d.ts.map +0 -1
- package/dist/components/charts/BarChart.d.ts.map +0 -1
- package/dist/components/charts/DonutChart.d.ts.map +0 -1
- package/dist/components/charts/RadarChart.d.ts.map +0 -1
- package/dist/components/charts/RadialBarChart.d.ts.map +0 -1
- package/dist/components/charts/SparkLine.d.ts.map +0 -1
- package/dist/components/charts/StackedBarChart.d.ts.map +0 -1
- package/dist/components/charts/VerticalBarChart.d.ts.map +0 -1
- package/dist/components/charts/chartUtils.d.ts.map +0 -1
- package/dist/components/tables/ColumnPicker.d.ts.map +0 -1
- package/dist/components/tables/Pagination.d.ts.map +0 -1
- package/dist/components/tables/ResourceTable.d.ts.map +0 -1
- package/dist/components/tables/Table.d.ts.map +0 -1
- package/dist/components/tables/sortRows.d.ts.map +0 -1
- package/dist/components/ui/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Alert.d.ts.map +0 -1
- package/dist/components/ui/AttachmentList.d.ts.map +0 -1
- package/dist/components/ui/AudioPlayer.d.ts.map +0 -1
- package/dist/components/ui/AuthCard.d.ts.map +0 -1
- package/dist/components/ui/AuthorByline.d.ts.map +0 -1
- package/dist/components/ui/Avatar.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/Calendar.d.ts.map +0 -1
- package/dist/components/ui/CalendarGrid.d.ts.map +0 -1
- package/dist/components/ui/Card.d.ts.map +0 -1
- package/dist/components/ui/CharacterCount.d.ts.map +0 -1
- package/dist/components/ui/Checkbox.d.ts.map +0 -1
- package/dist/components/ui/CodeInput.d.ts.map +0 -1
- package/dist/components/ui/Combobox.d.ts.map +0 -1
- package/dist/components/ui/CopyButton.d.ts.map +0 -1
- package/dist/components/ui/DangerZone.d.ts.map +0 -1
- package/dist/components/ui/DatePartsInput.d.ts.map +0 -1
- package/dist/components/ui/DatePicker.d.ts.map +0 -1
- package/dist/components/ui/DateRangePicker.d.ts.map +0 -1
- package/dist/components/ui/DateTimePicker.d.ts.map +0 -1
- package/dist/components/ui/DetailPanel.d.ts.map +0 -1
- package/dist/components/ui/Dialog.d.ts.map +0 -1
- package/dist/components/ui/DialogActions.d.ts.map +0 -1
- package/dist/components/ui/Disclosure.d.ts.map +0 -1
- package/dist/components/ui/DividerLabel.d.ts.map +0 -1
- package/dist/components/ui/DropdownMenu.d.ts.map +0 -1
- package/dist/components/ui/EmptyState.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/FieldContext.d.ts.map +0 -1
- package/dist/components/ui/Fieldset.d.ts.map +0 -1
- package/dist/components/ui/FilterButton.d.ts.map +0 -1
- package/dist/components/ui/FilterDropdown.d.ts.map +0 -1
- package/dist/components/ui/FormField.d.ts.map +0 -1
- package/dist/components/ui/Grid.d.ts.map +0 -1
- package/dist/components/ui/GridItem.d.ts.map +0 -1
- package/dist/components/ui/Inline.d.ts.map +0 -1
- package/dist/components/ui/Kbd.d.ts.map +0 -1
- package/dist/components/ui/ListItemLink.d.ts.map +0 -1
- package/dist/components/ui/LoadingSpinner.d.ts.map +0 -1
- package/dist/components/ui/MessageBubble.d.ts.map +0 -1
- package/dist/components/ui/MetadataGrid.d.ts.map +0 -1
- package/dist/components/ui/MetricCard.d.ts.map +0 -1
- package/dist/components/ui/NavTabs.d.ts.map +0 -1
- package/dist/components/ui/OAuthButton.d.ts.map +0 -1
- package/dist/components/ui/OverlineLabel.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/PageSection.d.ts.map +0 -1
- package/dist/components/ui/PaginationBar.d.ts.map +0 -1
- package/dist/components/ui/PasswordInput.d.ts.map +0 -1
- package/dist/components/ui/PasswordRequirements.d.ts.map +0 -1
- package/dist/components/ui/Popover.d.ts.map +0 -1
- package/dist/components/ui/ProfileHeader.d.ts.map +0 -1
- package/dist/components/ui/ProgressBar.d.ts.map +0 -1
- package/dist/components/ui/ProseContent.d.ts.map +0 -1
- package/dist/components/ui/QrCode.d.ts.map +0 -1
- package/dist/components/ui/Radio.d.ts.map +0 -1
- package/dist/components/ui/RadioPill.d.ts.map +0 -1
- package/dist/components/ui/ReorderList.d.ts.map +0 -1
- package/dist/components/ui/SearchInput.d.ts.map +0 -1
- package/dist/components/ui/SectionHeader.d.ts.map +0 -1
- package/dist/components/ui/Select.d.ts.map +0 -1
- package/dist/components/ui/SelectDropdown.d.ts.map +0 -1
- package/dist/components/ui/SettingRow.d.ts.map +0 -1
- package/dist/components/ui/SideSheet.d.ts.map +0 -1
- package/dist/components/ui/Skeleton.d.ts.map +0 -1
- package/dist/components/ui/Slider.d.ts.map +0 -1
- package/dist/components/ui/SplitPaneLayout.d.ts.map +0 -1
- package/dist/components/ui/Stack.d.ts.map +0 -1
- package/dist/components/ui/StatusDot.d.ts.map +0 -1
- package/dist/components/ui/StepProgress.d.ts.map +0 -1
- package/dist/components/ui/Tabs.d.ts.map +0 -1
- package/dist/components/ui/TextInput.d.ts.map +0 -1
- package/dist/components/ui/Textarea.d.ts.map +0 -1
- package/dist/components/ui/ThemePreview.d.ts.map +0 -1
- package/dist/components/ui/TimeInput.d.ts.map +0 -1
- package/dist/components/ui/Timeline.d.ts.map +0 -1
- package/dist/components/ui/Toast.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/Toolbar.d.ts.map +0 -1
- package/dist/components/ui/Tooltip.d.ts.map +0 -1
- package/dist/components/ui/TranscriptLine.d.ts.map +0 -1
- package/dist/components/ui/UploadDropzone.d.ts.map +0 -1
- package/dist/components/ui/badgeColors.d.ts.map +0 -1
- package/dist/components/ui/calendar/AgendaView.d.ts.map +0 -1
- package/dist/components/ui/calendar/MonthView.d.ts.map +0 -1
- package/dist/components/ui/calendar/TimeGrid.d.ts.map +0 -1
- package/dist/components/ui/calendar/TimelineView.d.ts.map +0 -1
- package/dist/components/ui/calendar/context.d.ts.map +0 -1
- package/dist/components/ui/calendar/items.d.ts.map +0 -1
- package/dist/components/ui/calendar/types.d.ts.map +0 -1
- package/dist/components/ui/calendar/useGridInteraction.d.ts.map +0 -1
- package/dist/components/ui/useFieldControl.d.ts.map +0 -1
- package/dist/config/theme.d.ts.map +0 -1
- package/dist/hooks/useAnchoredPopup.d.ts.map +0 -1
- package/dist/hooks/useApplyTheme.d.ts.map +0 -1
- package/dist/hooks/useDismiss.d.ts.map +0 -1
- package/dist/hooks/useFocusTrap.d.ts.map +0 -1
- package/dist/hooks/useOverlayStack.d.ts.map +0 -1
- package/dist/hooks/usePopover.d.ts.map +0 -1
- package/dist/hooks/usePortalContainer.d.ts.map +0 -1
- package/dist/hooks/useSettings.d.ts.map +0 -1
- package/dist/hooks/useTheme.d.ts.map +0 -1
- package/dist/hooks/useTypeahead.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/anchorPlacement.d.ts.map +0 -1
- package/dist/lib/calendar.d.ts.map +0 -1
- package/dist/lib/cn.d.ts.map +0 -1
- package/dist/lib/codeInput.d.ts.map +0 -1
- package/dist/lib/dateParts.d.ts.map +0 -1
- package/dist/lib/dialogDrag.d.ts.map +0 -1
- package/dist/lib/dialogResize.d.ts.map +0 -1
- package/dist/lib/formatDate.d.ts.map +0 -1
- package/dist/lib/formatMediaTime.d.ts.map +0 -1
- package/dist/lib/keyboardStep.d.ts.map +0 -1
- package/dist/lib/layout.d.ts.map +0 -1
- package/dist/lib/math.d.ts.map +0 -1
- package/dist/lib/months.d.ts.map +0 -1
- package/dist/lib/overlayStack.d.ts.map +0 -1
- package/dist/lib/panelResize.d.ts.map +0 -1
- package/dist/lib/passwordRequirements.d.ts.map +0 -1
- package/dist/lib/qrCode.d.ts.map +0 -1
- package/dist/lib/rect.d.ts.map +0 -1
- package/dist/lib/tones.d.ts.map +0 -1
- package/dist/lib/typeahead.d.ts.map +0 -1
- package/dist/providers/ControlSizeContext.d.ts.map +0 -1
- package/dist/providers/ControlSizeProvider.d.ts.map +0 -1
- package/dist/providers/SettingsContext.d.ts.map +0 -1
- package/dist/providers/SettingsProvider.d.ts.map +0 -1
- package/dist/providers/ThemeContext.d.ts.map +0 -1
- package/dist/providers/ThemeProvider.d.ts.map +0 -1
- package/dist/providers/accentColors.d.ts.map +0 -1
- package/dist/providers/themeClasses.d.ts.map +0 -1
|
@@ -18,8 +18,7 @@ export interface InlineOptions {
|
|
|
18
18
|
stackBelow?: LayoutBreakpoint;
|
|
19
19
|
}
|
|
20
20
|
export type InlineProps<E extends LayoutElement = "div"> = LayoutProps<E, InlineOptions>;
|
|
21
|
-
export declare function Inline<E extends LayoutElement = "div">({ as, gap, gapX, gapY, align, justify, wrap, inline, stackBelow, className, style, ...props }: InlineProps<E>): import("react").DetailedReactHTMLElement<Omit<InlineProps<E>, "inline" | "
|
|
21
|
+
export declare function Inline<E extends LayoutElement = "div">({ as, gap, gapX, gapY, align, justify, wrap, inline, stackBelow, className, style, ...props }: InlineProps<E>): import("react").DetailedReactHTMLElement<Omit<InlineProps<E>, "inline" | "style" | "className" | "gap" | "wrap" | "justify" | "align" | "as" | "gapX" | "gapY" | "stackBelow"> & {
|
|
22
22
|
className: string;
|
|
23
23
|
style: LayoutStyle;
|
|
24
24
|
}, HTMLElement>;
|
|
25
|
-
//# sourceMappingURL=Inline.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { flexAlign as t, flexJustify as n, responsiveStyle as r, spacingStyle as i } from "../../lib/layout.js";
|
|
3
|
+
import { createElement as a } from "react";
|
|
4
|
+
//#region src/components/ui/Inline.tsx
|
|
5
|
+
function o({ as: o, gap: s = 0, gapX: c, gapY: l, align: u = "stretch", justify: d = "start", wrap: f = !1, inline: p = !1, stackBelow: m, className: h, style: g, ..._ }) {
|
|
6
|
+
return a(o ?? "div", {
|
|
7
|
+
..._,
|
|
8
|
+
className: e("ui-inline", h),
|
|
9
|
+
style: {
|
|
10
|
+
...i(s, c, l),
|
|
11
|
+
"--ui-align": t(u),
|
|
12
|
+
"--ui-justify": n(d),
|
|
13
|
+
"--ui-wrap": f ? "wrap" : "nowrap",
|
|
14
|
+
"--ui-display": p ? "inline-flex" : "flex",
|
|
15
|
+
...r("direction", m ? {
|
|
16
|
+
base: "column",
|
|
17
|
+
[m]: "row"
|
|
18
|
+
} : "row", (e) => e, "row"),
|
|
19
|
+
...g
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { o as Inline };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ComponentPropsWithRef } from "react";
|
|
2
|
+
export interface KbdProps extends ComponentPropsWithRef<"kbd"> {
|
|
2
3
|
/** The key or key combination to display. */
|
|
3
4
|
children: React.ReactNode;
|
|
4
5
|
/** Additional utility classes appended to the root element. */
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare function Kbd({ children, className }: KbdProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Kbd.d.ts.map
|
|
8
|
+
export declare function Kbd({ children, className, ref, ...rest }: KbdProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/Kbd.tsx
|
|
4
|
+
function n({ children: n, className: r, ref: i, ...a }) {
|
|
5
|
+
return /* @__PURE__ */ t("kbd", {
|
|
6
|
+
...a,
|
|
7
|
+
ref: i,
|
|
8
|
+
className: e("text-2xs inline-flex items-center px-1.5 py-0.5 font-mono font-medium", "bg-bg-tertiary text-text-secondary border-border rounded border", r),
|
|
9
|
+
children: n
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as Kbd };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from "react";
|
|
2
2
|
interface ListItemLinkBase {
|
|
3
3
|
/** Primary content of the row. */
|
|
4
4
|
title: ReactNode;
|
|
@@ -12,17 +12,16 @@ interface ListItemLinkBase {
|
|
|
12
12
|
active?: boolean;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
type LinkAttributes =
|
|
15
|
+
type LinkAttributes = ComponentPropsWithRef<"a"> & {
|
|
16
16
|
href: string;
|
|
17
17
|
};
|
|
18
18
|
export type ListItemLinkProps = ListItemLinkBase & ((Omit<LinkAttributes, "children" | "title"> & {
|
|
19
19
|
as?: "a";
|
|
20
20
|
/** Router adapters must render an anchor and forward the supplied props. */
|
|
21
21
|
renderLink?: (props: LinkAttributes) => ReactNode;
|
|
22
|
-
}) | (Omit<
|
|
22
|
+
}) | (Omit<ComponentPropsWithRef<"button">, "children" | "title"> & {
|
|
23
23
|
as: "button";
|
|
24
24
|
renderLink?: never;
|
|
25
25
|
}));
|
|
26
26
|
export declare function ListItemLink({ title, icon, meta, trailing, active, className, ...root }: ListItemLinkProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
27
27
|
export {};
|
|
28
|
-
//# sourceMappingURL=ListItemLink.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/ListItemLink.tsx
|
|
4
|
+
function i({ title: i, icon: a, meta: o, trailing: s, active: c, className: l, ...u }) {
|
|
5
|
+
let d = e("group hover:bg-bg-hover flex min-w-0 items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs transition-colors duration-[100ms] focus-visible:outline-accent focus-visible:outline-2 focus-visible:outline-offset-2", c && "bg-accent-muted", l), f = /* @__PURE__ */ r(t, { children: [
|
|
6
|
+
a != null && /* @__PURE__ */ n("span", {
|
|
7
|
+
className: "shrink-0",
|
|
8
|
+
children: a
|
|
9
|
+
}),
|
|
10
|
+
/* @__PURE__ */ r("span", {
|
|
11
|
+
className: e("min-w-0 flex-1", u.as !== "button" && "truncate"),
|
|
12
|
+
children: [/* @__PURE__ */ n("span", {
|
|
13
|
+
className: e("text-text-primary", u.as !== "button" && "group-hover:underline"),
|
|
14
|
+
children: i
|
|
15
|
+
}), o != null && /* @__PURE__ */ n("span", {
|
|
16
|
+
className: e("text-text-disabled text-2xs", u.as !== "button" && "ml-2"),
|
|
17
|
+
children: o
|
|
18
|
+
})]
|
|
19
|
+
}),
|
|
20
|
+
s != null && /* @__PURE__ */ n("span", {
|
|
21
|
+
className: "text-text-tertiary text-2xs shrink-0",
|
|
22
|
+
children: s
|
|
23
|
+
})
|
|
24
|
+
] });
|
|
25
|
+
if (u.as === "button") {
|
|
26
|
+
let { as: e, ...t } = u;
|
|
27
|
+
return /* @__PURE__ */ n(e, {
|
|
28
|
+
type: "button",
|
|
29
|
+
...t,
|
|
30
|
+
"aria-pressed": c ?? t["aria-pressed"],
|
|
31
|
+
className: d,
|
|
32
|
+
children: f
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
let { as: p = "a", renderLink: m, ...h } = u, g = {
|
|
36
|
+
...h,
|
|
37
|
+
"aria-current": c ? "page" : h["aria-current"],
|
|
38
|
+
className: d,
|
|
39
|
+
children: f
|
|
40
|
+
};
|
|
41
|
+
return m ? m(g) : /* @__PURE__ */ n(p, { ...g });
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { i as ListItemLink };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ComponentPropsWithRef } from "react";
|
|
2
|
+
export type LoadingSpinnerSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface LoadingSpinnerProps extends Omit<ComponentPropsWithRef<"div">, "children"> {
|
|
2
4
|
/** Additional utility classes appended to the centering wrapper. */
|
|
3
5
|
className?: string;
|
|
4
6
|
/** Size of the spinner icon. Defaults to `md`. */
|
|
5
|
-
size?:
|
|
7
|
+
size?: LoadingSpinnerSize;
|
|
6
8
|
}
|
|
7
|
-
export declare function LoadingSpinner({ className, size, }: LoadingSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
9
|
+
export declare function LoadingSpinner({ className, size, ref, ...rest }: LoadingSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Loader2 as n } from "lucide-react";
|
|
4
|
+
//#region src/components/ui/LoadingSpinner.tsx
|
|
5
|
+
var r = {
|
|
6
|
+
sm: "w-4 h-4",
|
|
7
|
+
md: "w-6 h-6",
|
|
8
|
+
lg: "w-8 h-8"
|
|
9
|
+
};
|
|
10
|
+
function i({ className: i, size: a = "md", ref: o, ...s }) {
|
|
11
|
+
return /* @__PURE__ */ t("div", {
|
|
12
|
+
...s,
|
|
13
|
+
ref: o,
|
|
14
|
+
className: e("flex min-h-[200px] items-center justify-center", i),
|
|
15
|
+
children: /* @__PURE__ */ t(n, { className: e("text-accent animate-spin", r[a]) })
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { i as LoadingSpinner };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface MessageBubbleProps extends
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from "react";
|
|
2
|
+
export interface MessageBubbleProps extends ComponentPropsWithRef<"div"> {
|
|
3
3
|
/** Which side of the conversation sent the message. */
|
|
4
4
|
direction: "inbound" | "outbound";
|
|
5
|
+
/** Sender name displayed above the message. */
|
|
5
6
|
author?: ReactNode;
|
|
7
|
+
/** Time displayed below the message. */
|
|
6
8
|
timestamp?: ReactNode;
|
|
9
|
+
/** Delivery state or other status displayed below the message. */
|
|
7
10
|
status?: ReactNode;
|
|
8
11
|
/** Optional controls, such as reply or copy buttons. */
|
|
9
12
|
actions?: ReactNode;
|
|
10
13
|
children: ReactNode;
|
|
11
14
|
}
|
|
12
15
|
export declare function MessageBubble({ direction, author, timestamp, status, actions, children, className, ...props }: MessageBubbleProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
//# sourceMappingURL=MessageBubble.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/MessageBubble.tsx
|
|
4
|
+
function r({ direction: r, author: i, timestamp: a, status: o, actions: s, children: c, className: l, ...u }) {
|
|
5
|
+
let d = r === "outbound";
|
|
6
|
+
return /* @__PURE__ */ t("div", {
|
|
7
|
+
role: "group",
|
|
8
|
+
"aria-label": `${d ? "Outbound" : "Inbound"} message`,
|
|
9
|
+
...u,
|
|
10
|
+
"data-direction": r,
|
|
11
|
+
className: e("flex", d && "justify-end", l),
|
|
12
|
+
children: /* @__PURE__ */ n("div", {
|
|
13
|
+
className: e("min-w-0 rounded-md px-4 py-3", d ? "bg-accent text-text-on-accent" : "border-border bg-bg-secondary text-text-primary border"),
|
|
14
|
+
style: { maxWidth: "min(36rem, 85%)" },
|
|
15
|
+
children: [
|
|
16
|
+
i != null && /* @__PURE__ */ t("div", {
|
|
17
|
+
className: "mb-1 text-xs font-medium",
|
|
18
|
+
children: i
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ t("div", {
|
|
21
|
+
className: "text-xs whitespace-pre-wrap",
|
|
22
|
+
style: { overflowWrap: "anywhere" },
|
|
23
|
+
children: c
|
|
24
|
+
}),
|
|
25
|
+
(a != null || o != null || s != null) && /* @__PURE__ */ n("div", {
|
|
26
|
+
className: "mt-2 flex flex-wrap items-center gap-2 text-2xs",
|
|
27
|
+
children: [
|
|
28
|
+
a != null && /* @__PURE__ */ t("span", { children: a }),
|
|
29
|
+
o != null && /* @__PURE__ */ t("span", { children: o }),
|
|
30
|
+
s != null && /* @__PURE__ */ t("span", {
|
|
31
|
+
className: "inline-flex items-center gap-1",
|
|
32
|
+
children: s
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
})
|
|
36
|
+
]
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { r as MessageBubble };
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* <MetadataGrid striped items={items} />
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
import { type ReactNode } from "react";
|
|
29
|
+
import { type HTMLAttributes, type ReactNode, type Ref } from "react";
|
|
30
30
|
import { type LayoutGap, type LayoutResponsive } from "../../lib/layout";
|
|
31
31
|
interface MetadataItem {
|
|
32
32
|
/** The label displayed in the left column. */
|
|
@@ -34,7 +34,9 @@ interface MetadataItem {
|
|
|
34
34
|
/** The value displayed in the right column — can be a string or JSX. */
|
|
35
35
|
value: ReactNode;
|
|
36
36
|
}
|
|
37
|
-
interface MetadataGridProps {
|
|
37
|
+
export interface MetadataGridProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
|
|
38
|
+
/** Ref to the root element: a `dl` when stacked, otherwise a `div`. */
|
|
39
|
+
ref?: Ref<HTMLElement>;
|
|
38
40
|
/** Inline preserves the original two-column markup (unless `striped`); stacked places labels above values. */
|
|
39
41
|
layout?: "inline" | "stacked";
|
|
40
42
|
/** Stacked layout columns at mobile-first breakpoints. */
|
|
@@ -63,6 +65,5 @@ interface MetadataGridProps {
|
|
|
63
65
|
/** Additional utility classes for the root container. */
|
|
64
66
|
className?: string;
|
|
65
67
|
}
|
|
66
|
-
export declare function MetadataGrid({ items, labelWidth, layout, columns, gap, striped, className, }: MetadataGridProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
export declare function MetadataGrid({ items, labelWidth, layout, columns, gap, striped, className, ref, style, ...rest }: MetadataGridProps): import("react/jsx-runtime").JSX.Element;
|
|
67
69
|
export {};
|
|
68
|
-
//# sourceMappingURL=MetadataGrid.d.ts.map
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { columnTemplate as t, responsiveStyle as n, spacingStyle as r } from "../../lib/layout.js";
|
|
3
|
+
import { Fragment as i } from "react";
|
|
4
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/ui/MetadataGrid.tsx
|
|
6
|
+
var s = "ui-metadata-stripe rounded-md px-2 py-1.5";
|
|
7
|
+
function c(e, t) {
|
|
8
|
+
return n("stripe", t, (t) => Math.floor(e / t) % 2 == 0 ? "var(--ui-metadata-stripe-color, var(--bg-tertiary))" : "transparent", 1);
|
|
9
|
+
}
|
|
10
|
+
function l({ items: l, labelWidth: u = "100px", layout: d = "inline", columns: f = 1, gap: p = 3, striped: m = !1, className: h, ref: g, style: _, ...v }) {
|
|
11
|
+
let y = g, b = g;
|
|
12
|
+
return d === "stacked" ? /* @__PURE__ */ a("dl", {
|
|
13
|
+
...v,
|
|
14
|
+
ref: y,
|
|
15
|
+
className: e("ui-grid text-xs", h),
|
|
16
|
+
style: {
|
|
17
|
+
...n("columns", f, t, 1),
|
|
18
|
+
...m ? r(p, void 0, 0) : r(p),
|
|
19
|
+
..._
|
|
20
|
+
},
|
|
21
|
+
children: l.map((t, n) => /* @__PURE__ */ o("div", {
|
|
22
|
+
className: m ? s : void 0,
|
|
23
|
+
style: m ? c(n, f) : void 0,
|
|
24
|
+
children: [/* @__PURE__ */ a("dt", {
|
|
25
|
+
className: "text-text-tertiary font-label",
|
|
26
|
+
children: t.label
|
|
27
|
+
}), /* @__PURE__ */ a("dd", {
|
|
28
|
+
className: e((typeof t.value == "string" || typeof t.value == "number") && "text-text-primary font-data"),
|
|
29
|
+
children: t.value
|
|
30
|
+
})]
|
|
31
|
+
}, t.label))
|
|
32
|
+
}) : m ? /* @__PURE__ */ a("div", {
|
|
33
|
+
...v,
|
|
34
|
+
ref: b,
|
|
35
|
+
className: e("gap-x-3 text-xs", h),
|
|
36
|
+
style: {
|
|
37
|
+
display: "grid",
|
|
38
|
+
gridTemplateColumns: `${u} 1fr`,
|
|
39
|
+
..._
|
|
40
|
+
},
|
|
41
|
+
children: l.map((e, t) => /* @__PURE__ */ o("div", {
|
|
42
|
+
className: s,
|
|
43
|
+
style: {
|
|
44
|
+
...c(t, 1),
|
|
45
|
+
display: "grid",
|
|
46
|
+
gridColumn: "1 / -1",
|
|
47
|
+
gridTemplateColumns: "subgrid"
|
|
48
|
+
},
|
|
49
|
+
children: [/* @__PURE__ */ a("span", {
|
|
50
|
+
className: "text-text-tertiary font-label",
|
|
51
|
+
children: e.label
|
|
52
|
+
}), typeof e.value == "string" || typeof e.value == "number" ? /* @__PURE__ */ a("span", {
|
|
53
|
+
className: "text-text-primary font-data",
|
|
54
|
+
children: e.value
|
|
55
|
+
}) : /* @__PURE__ */ a("span", { children: e.value })]
|
|
56
|
+
}, e.label))
|
|
57
|
+
}) : /* @__PURE__ */ a("div", {
|
|
58
|
+
...v,
|
|
59
|
+
ref: b,
|
|
60
|
+
className: e("gap-x-3 gap-y-2 text-xs", h),
|
|
61
|
+
style: {
|
|
62
|
+
display: "grid",
|
|
63
|
+
gridTemplateColumns: `${u} 1fr`,
|
|
64
|
+
..._
|
|
65
|
+
},
|
|
66
|
+
children: l.map((e) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("span", {
|
|
67
|
+
className: "text-text-tertiary font-label",
|
|
68
|
+
children: e.label
|
|
69
|
+
}), typeof e.value == "string" || typeof e.value == "number" ? /* @__PURE__ */ a("span", {
|
|
70
|
+
className: "text-text-primary font-data",
|
|
71
|
+
children: e.value
|
|
72
|
+
}) : /* @__PURE__ */ a("span", { children: e.value })] }, e.label))
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
export { l as MetadataGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementType } from "react";
|
|
2
|
-
export interface MetricCardProps {
|
|
1
|
+
import type { ComponentPropsWithRef, ElementType } from "react";
|
|
2
|
+
export interface MetricCardProps extends Omit<ComponentPropsWithRef<"div">, "children"> {
|
|
3
3
|
/** Small uppercase caption naming the metric. */
|
|
4
4
|
label: string;
|
|
5
5
|
/** The headline figure. */
|
|
@@ -26,5 +26,4 @@ export interface MetricCardProps {
|
|
|
26
26
|
/** Additional utility classes appended to the root element. */
|
|
27
27
|
className?: string;
|
|
28
28
|
}
|
|
29
|
-
export declare function MetricCard({ label, value, sub, trend, bar, icon: Icon, iconColor, className, }: MetricCardProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
//# sourceMappingURL=MetricCard.d.ts.map
|
|
29
|
+
export declare function MetricCard({ label, value, sub, trend, bar, icon: Icon, iconColor, className, ref, ...rest }: MetricCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { isTone as t, toneClasses as n } from "../../lib/tones.js";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/ui/MetricCard.tsx
|
|
5
|
+
var a = {
|
|
6
|
+
positive: "success",
|
|
7
|
+
negative: "danger",
|
|
8
|
+
neutral: "neutral"
|
|
9
|
+
};
|
|
10
|
+
function o({ label: o, value: s, sub: c, trend: l, bar: u, icon: d, iconColor: f, className: p, ref: m, ...h }) {
|
|
11
|
+
let g = l && a[l.tone], _ = n(t(g) ? g : "neutral").text;
|
|
12
|
+
return /* @__PURE__ */ i("div", {
|
|
13
|
+
...h,
|
|
14
|
+
ref: m,
|
|
15
|
+
className: e("ui-glass bg-bg-card border-border relative overflow-hidden rounded-md border p-3", p),
|
|
16
|
+
children: [
|
|
17
|
+
d && /* @__PURE__ */ r(d, { className: e("absolute -right-9 -bottom-9 h-44 w-44 -rotate-45 opacity-[0.06]", f) }),
|
|
18
|
+
/* @__PURE__ */ r("p", {
|
|
19
|
+
className: "text-2xs-f text-text-tertiary font-label mb-1 font-medium tracking-wider uppercase",
|
|
20
|
+
children: o
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ r("p", {
|
|
23
|
+
className: "text-text-primary font-data text-xl font-bold tabular-nums",
|
|
24
|
+
children: s
|
|
25
|
+
}),
|
|
26
|
+
c && /* @__PURE__ */ r("p", {
|
|
27
|
+
className: "text-2xs text-text-tertiary font-label mt-0.5",
|
|
28
|
+
children: c
|
|
29
|
+
}),
|
|
30
|
+
l && /* @__PURE__ */ i("p", {
|
|
31
|
+
className: "text-2xs font-label mt-1 flex items-center gap-1",
|
|
32
|
+
children: [/* @__PURE__ */ r("span", {
|
|
33
|
+
className: e("font-medium tabular-nums", _),
|
|
34
|
+
children: l.value
|
|
35
|
+
}), /* @__PURE__ */ r("span", {
|
|
36
|
+
className: "text-text-tertiary",
|
|
37
|
+
children: l.label
|
|
38
|
+
})]
|
|
39
|
+
}),
|
|
40
|
+
u !== void 0 && /* @__PURE__ */ r("div", {
|
|
41
|
+
className: "bg-bg-tertiary mt-2 h-[3px] overflow-hidden rounded-md",
|
|
42
|
+
children: /* @__PURE__ */ r("div", {
|
|
43
|
+
className: "bg-accent h-full rounded-md transition-all duration-[250ms] ease-out",
|
|
44
|
+
style: { width: `${Math.min(100, Math.max(0, u))}%` }
|
|
45
|
+
})
|
|
46
|
+
})
|
|
47
|
+
]
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { o as MetricCard };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnchorHTMLAttributes,
|
|
1
|
+
import type { AnchorHTMLAttributes, ComponentPropsWithRef, ReactNode } from "react";
|
|
2
2
|
export interface NavTab extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children"> {
|
|
3
3
|
/** Unique identifier, matched against `activeKey` and used as the list key. */
|
|
4
4
|
key: string;
|
|
@@ -9,7 +9,7 @@ export interface NavTab extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "c
|
|
|
9
9
|
/** Small pill shown after the label, such as a count. */
|
|
10
10
|
badge?: ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export interface NavTabsProps extends
|
|
12
|
+
export interface NavTabsProps extends ComponentPropsWithRef<"nav"> {
|
|
13
13
|
/** The tabs to render, in order. */
|
|
14
14
|
items: NavTab[];
|
|
15
15
|
/** Key of the current tab; it is styled as active and given `aria-current="page"`. */
|
|
@@ -19,4 +19,3 @@ export interface NavTabsProps extends HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
}
|
|
20
20
|
/** Link navigation: route matching and permissions remain application-owned. */
|
|
21
21
|
export declare function NavTabs({ items, activeKey, renderLink, className, "aria-label": label, ...props }: NavTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
//# sourceMappingURL=NavTabs.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { Badge as t } from "./Badge.js";
|
|
3
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/ui/NavTabs.tsx
|
|
5
|
+
function a({ items: a, activeKey: o, renderLink: s, className: c, "aria-label": l = "Sections", ...u }) {
|
|
6
|
+
return /* @__PURE__ */ r("nav", {
|
|
7
|
+
...u,
|
|
8
|
+
"aria-label": l,
|
|
9
|
+
className: e("ui-nav-tabs border-border border-b", c),
|
|
10
|
+
children: /* @__PURE__ */ r("ul", {
|
|
11
|
+
className: "ui-nav-tabs-list",
|
|
12
|
+
children: a.map((a) => {
|
|
13
|
+
let { key: c, label: l, badge: u, ...d } = a, f = {
|
|
14
|
+
...d,
|
|
15
|
+
"aria-current": c === o ? "page" : void 0,
|
|
16
|
+
className: e("ui-nav-tab px-3 py-2 text-xs font-medium", c === o ? "text-accent-fg" : "text-text-secondary", a.className),
|
|
17
|
+
children: /* @__PURE__ */ i(n, { children: [l, u !== void 0 && /* @__PURE__ */ r(t, {
|
|
18
|
+
size: "xs",
|
|
19
|
+
className: "bg-bg-tertiary font-inherit text-inherit",
|
|
20
|
+
children: u
|
|
21
|
+
})] })
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ r("li", { children: s ? s(f, a) : /* @__PURE__ */ r("a", { ...f }) }, c);
|
|
24
|
+
})
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { a as NavTabs };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentPropsWithRef } from "react";
|
|
2
2
|
type OAuthProvider = "github" | "google";
|
|
3
|
-
export interface OAuthButtonProps extends
|
|
3
|
+
export interface OAuthButtonProps extends ComponentPropsWithRef<"button"> {
|
|
4
4
|
/** Identity provider; selects the icon and default label (`github` or `google`). */
|
|
5
5
|
provider: OAuthProvider;
|
|
6
6
|
}
|
|
7
7
|
export declare function OAuthButton({ provider, children, ...props }: OAuthButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=OAuthButton.d.ts.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Button as e } from "./Button.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/OAuthButton.tsx
|
|
4
|
+
function r() {
|
|
5
|
+
return /* @__PURE__ */ n("svg", {
|
|
6
|
+
className: "h-3.5 w-3.5",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
"aria-hidden": "true",
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ t("path", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ t("path", {
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ t("path", {
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ t("path", {
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function i() {
|
|
30
|
+
return /* @__PURE__ */ t("svg", {
|
|
31
|
+
className: "h-3.5 w-3.5",
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: "currentColor",
|
|
34
|
+
"aria-hidden": "true",
|
|
35
|
+
children: /* @__PURE__ */ t("path", { d: "M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" })
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
var a = {
|
|
39
|
+
github: "GitHub",
|
|
40
|
+
google: "Google"
|
|
41
|
+
}, o = {
|
|
42
|
+
github: i,
|
|
43
|
+
google: r
|
|
44
|
+
};
|
|
45
|
+
function s({ provider: r, children: i, ...s }) {
|
|
46
|
+
let c = o[r];
|
|
47
|
+
return /* @__PURE__ */ n(e, {
|
|
48
|
+
variant: "secondary",
|
|
49
|
+
size: "md",
|
|
50
|
+
...s,
|
|
51
|
+
children: [/* @__PURE__ */ t(c, {}), i ?? a[r]]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { s as OAuthButton };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { ElementType, ReactNode } from "react";
|
|
2
|
-
export interface OverlineLabelProps {
|
|
1
|
+
import type { ComponentPropsWithRef, ElementType, ReactNode } from "react";
|
|
2
|
+
export interface OverlineLabelProps extends ComponentPropsWithRef<"span"> {
|
|
3
3
|
/** Short label above a group of related content. */
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** Semantic element; defaults to span. */
|
|
6
6
|
as?: ElementType;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function OverlineLabel({ children, as: Tag, className, }: OverlineLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=OverlineLabel.d.ts.map
|
|
9
|
+
export declare function OverlineLabel({ children, as: Tag, className, ref, ...rest }: OverlineLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/OverlineLabel.tsx
|
|
4
|
+
function n({ children: n, as: r = "span", className: i, ref: a, ...o }) {
|
|
5
|
+
return /* @__PURE__ */ t(r, {
|
|
6
|
+
...o,
|
|
7
|
+
ref: a,
|
|
8
|
+
className: e("text-2xs text-text-tertiary font-label font-medium tracking-wider uppercase", i),
|
|
9
|
+
children: n
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as OverlineLabel };
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
* />
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
import type { ReactNode } from "react";
|
|
28
|
-
export interface PageHeaderProps {
|
|
27
|
+
import type { ComponentPropsWithRef, ReactNode } from "react";
|
|
28
|
+
export interface PageHeaderProps extends Omit<ComponentPropsWithRef<"div">, "title"> {
|
|
29
29
|
/** The page title, rendered as an h1 unless headingLevel changes it. */
|
|
30
30
|
title: ReactNode;
|
|
31
31
|
/** Optional subtitle displayed below the title in a smaller, muted style. */
|
|
@@ -45,5 +45,4 @@ export interface PageHeaderProps {
|
|
|
45
45
|
/** Additional utility classes appended to the root element. */
|
|
46
46
|
className?: string;
|
|
47
47
|
}
|
|
48
|
-
export declare function PageHeader({ title, subtitle, actions, className, eyebrow, headingLevel, wrap, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
//# sourceMappingURL=PageHeader.d.ts.map
|
|
48
|
+
export declare function PageHeader({ title, subtitle, actions, className, eyebrow, headingLevel, wrap, ref, ...rest }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/cn.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/PageHeader.tsx
|
|
4
|
+
function r({ title: r, subtitle: i, actions: a, className: o, eyebrow: s, headingLevel: c = 1, wrap: l = !1, ref: u, ...d }) {
|
|
5
|
+
let f = `h${c}`;
|
|
6
|
+
return /* @__PURE__ */ n("div", {
|
|
7
|
+
...d,
|
|
8
|
+
ref: u,
|
|
9
|
+
className: e("flex items-center justify-between gap-3", l && "flex-wrap", o),
|
|
10
|
+
children: [/* @__PURE__ */ n("div", {
|
|
11
|
+
className: "min-w-0",
|
|
12
|
+
children: [
|
|
13
|
+
s && /* @__PURE__ */ t("p", {
|
|
14
|
+
className: "text-text-tertiary text-2xs",
|
|
15
|
+
children: s
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ t(f, {
|
|
18
|
+
className: "text-text-primary font-heading text-sm font-semibold",
|
|
19
|
+
children: r
|
|
20
|
+
}),
|
|
21
|
+
i && /* @__PURE__ */ t("p", {
|
|
22
|
+
className: "text-text-tertiary text-xs",
|
|
23
|
+
children: i
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
}), a && /* @__PURE__ */ t("div", {
|
|
27
|
+
className: e("flex items-center gap-2", l && "flex-wrap"),
|
|
28
|
+
children: a
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { r as PageHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementType, ReactNode } from "react";
|
|
2
|
-
export interface PageSectionProps {
|
|
1
|
+
import type { ComponentPropsWithRef, ElementType, ReactNode } from "react";
|
|
2
|
+
export interface PageSectionProps extends Omit<ComponentPropsWithRef<"section">, "title"> {
|
|
3
3
|
/** Section heading, rendered with the `as` element. */
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
/** Muted text below the title. */
|
|
@@ -17,5 +17,4 @@ export interface PageSectionProps {
|
|
|
17
17
|
/** Additional utility classes for the wrapper around `children`. */
|
|
18
18
|
contentClassName?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare function PageSection({ title, description, actions, children, as: Tag, className, headerClassName, contentClassName, }: PageSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
//# sourceMappingURL=PageSection.d.ts.map
|
|
20
|
+
export declare function PageSection({ title, description, actions, children, as: Tag, className, headerClassName, contentClassName, ref, ...rest }: PageSectionProps): import("react/jsx-runtime").JSX.Element;
|