@devalok/shilp-sutra 0.1.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/dist/composed/avatar-group.d.ts +17 -0
- package/dist/composed/avatar-group.d.ts.map +1 -0
- package/dist/composed/avatar-group.js +103 -0
- package/dist/composed/command-palette.d.ts +29 -0
- package/dist/composed/command-palette.d.ts.map +1 -0
- package/dist/composed/command-palette.js +215 -0
- package/dist/composed/content-card.d.ts +15 -0
- package/dist/composed/content-card.d.ts.map +1 -0
- package/dist/composed/content-card.js +108 -0
- package/dist/composed/date-picker/calendar-grid.d.ts +21 -0
- package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -0
- package/dist/composed/date-picker/calendar-grid.js +173 -0
- package/dist/composed/date-picker/date-picker.d.ts +14 -0
- package/dist/composed/date-picker/date-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/date-picker.js +123 -0
- package/dist/composed/date-picker/date-range-picker.d.ts +23 -0
- package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/date-range-picker.js +166 -0
- package/dist/composed/date-picker/date-time-picker.d.ts +24 -0
- package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/date-time-picker.js +192 -0
- package/dist/composed/date-picker/index.d.ts +18 -0
- package/dist/composed/date-picker/index.d.ts.map +1 -0
- package/dist/composed/date-picker/month-picker.d.ts +10 -0
- package/dist/composed/date-picker/month-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/month-picker.js +52 -0
- package/dist/composed/date-picker/presets.d.ts +9 -0
- package/dist/composed/date-picker/presets.d.ts.map +1 -0
- package/dist/composed/date-picker/presets.js +83 -0
- package/dist/composed/date-picker/time-picker.d.ts +24 -0
- package/dist/composed/date-picker/time-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/time-picker.js +180 -0
- package/dist/composed/date-picker/use-calendar.d.ts +9 -0
- package/dist/composed/date-picker/use-calendar.d.ts.map +1 -0
- package/dist/composed/date-picker/use-calendar.js +16 -0
- package/dist/composed/date-picker/year-picker.d.ts +10 -0
- package/dist/composed/date-picker/year-picker.d.ts.map +1 -0
- package/dist/composed/date-picker/year-picker.js +44 -0
- package/dist/composed/empty-state.d.ts +12 -0
- package/dist/composed/empty-state.d.ts.map +1 -0
- package/dist/composed/empty-state.js +74 -0
- package/dist/composed/error-boundary.d.ts +8 -0
- package/dist/composed/error-boundary.d.ts.map +1 -0
- package/dist/composed/error-boundary.js +114 -0
- package/dist/composed/global-loading.d.ts +7 -0
- package/dist/composed/global-loading.d.ts.map +1 -0
- package/dist/composed/global-loading.js +43 -0
- package/dist/composed/index.d.ts +28 -0
- package/dist/composed/index.d.ts.map +1 -0
- package/dist/composed/index.js +54 -0
- package/dist/composed/lib/string-utils.d.ts +6 -0
- package/dist/composed/lib/string-utils.d.ts.map +1 -0
- package/dist/composed/lib/string-utils.js +7 -0
- package/dist/composed/loading-skeleton.d.ts +22 -0
- package/dist/composed/loading-skeleton.d.ts.map +1 -0
- package/dist/composed/loading-skeleton.js +164 -0
- package/dist/composed/member-picker.d.ts +17 -0
- package/dist/composed/member-picker.d.ts.map +1 -0
- package/dist/composed/member-picker.js +81 -0
- package/dist/composed/page-header.d.ts +15 -0
- package/dist/composed/page-header.d.ts.map +1 -0
- package/dist/composed/page-header.js +65 -0
- package/dist/composed/page-skeletons.d.ts +6 -0
- package/dist/composed/page-skeletons.d.ts.map +1 -0
- package/dist/composed/page-skeletons.js +128 -0
- package/dist/composed/priority-indicator.d.ts +12 -0
- package/dist/composed/priority-indicator.d.ts.map +1 -0
- package/dist/composed/priority-indicator.js +86 -0
- package/dist/composed/rich-text-editor.d.ts +16 -0
- package/dist/composed/rich-text-editor.d.ts.map +1 -0
- package/dist/composed/rich-text-editor.js +222 -0
- package/dist/composed/status-badge.d.ts +13 -0
- package/dist/composed/status-badge.d.ts.map +1 -0
- package/dist/composed/status-badge.js +69 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/use-color-mode.d.ts +7 -0
- package/dist/hooks/use-color-mode.d.ts.map +1 -0
- package/dist/hooks/use-color-mode.js +23 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +14 -0
- package/dist/hooks/use-toast.d.ts +46 -0
- package/dist/hooks/use-toast.d.ts.map +1 -0
- package/dist/hooks/use-toast.js +97 -0
- package/dist/primitives/_internal/number.d.ts +7 -0
- package/dist/primitives/_internal/number.d.ts.map +1 -0
- package/dist/primitives/_internal/number.js +6 -0
- package/dist/primitives/_internal/primitive.d.ts +17 -0
- package/dist/primitives/_internal/primitive.d.ts.map +1 -0
- package/dist/primitives/_internal/primitive.js +9 -0
- package/dist/primitives/_internal/react-arrow.d.ts +14 -0
- package/dist/primitives/_internal/react-arrow.d.ts.map +1 -0
- package/dist/primitives/_internal/react-arrow.js +24 -0
- package/dist/primitives/_internal/react-collection.d.ts +22 -0
- package/dist/primitives/_internal/react-collection.d.ts.map +1 -0
- package/dist/primitives/_internal/react-collection.js +48 -0
- package/dist/primitives/_internal/react-compose-refs.d.ts +10 -0
- package/dist/primitives/_internal/react-compose-refs.d.ts.map +1 -0
- package/dist/primitives/_internal/react-compose-refs.js +29 -0
- package/dist/primitives/_internal/react-context.d.ts +25 -0
- package/dist/primitives/_internal/react-context.d.ts.map +1 -0
- package/dist/primitives/_internal/react-context.js +74 -0
- package/dist/primitives/_internal/react-direction.d.ts +16 -0
- package/dist/primitives/_internal/react-direction.d.ts.map +1 -0
- package/dist/primitives/_internal/react-direction.js +10 -0
- package/dist/primitives/_internal/react-dismissable-layer.d.ts +30 -0
- package/dist/primitives/_internal/react-dismissable-layer.d.ts.map +1 -0
- package/dist/primitives/_internal/react-dismissable-layer.js +131 -0
- package/dist/primitives/_internal/react-focus-guards.d.ts +12 -0
- package/dist/primitives/_internal/react-focus-guards.d.ts.map +1 -0
- package/dist/primitives/_internal/react-focus-guards.js +17 -0
- package/dist/primitives/_internal/react-focus-scope.d.ts +18 -0
- package/dist/primitives/_internal/react-focus-scope.d.ts.map +1 -0
- package/dist/primitives/_internal/react-focus-scope.js +137 -0
- package/dist/primitives/_internal/react-id.d.ts +7 -0
- package/dist/primitives/_internal/react-id.d.ts.map +1 -0
- package/dist/primitives/_internal/react-id.js +14 -0
- package/dist/primitives/_internal/react-popper.d.ts +50 -0
- package/dist/primitives/_internal/react-popper.d.ts.map +1 -0
- package/dist/primitives/_internal/react-popper.js +199 -0
- package/dist/primitives/_internal/react-portal.d.ts +15 -0
- package/dist/primitives/_internal/react-portal.d.ts.map +1 -0
- package/dist/primitives/_internal/react-portal.js +16 -0
- package/dist/primitives/_internal/react-presence.d.ts +16 -0
- package/dist/primitives/_internal/react-presence.d.ts.map +1 -0
- package/dist/primitives/_internal/react-presence.js +71 -0
- package/dist/primitives/_internal/react-primitive.d.ts +20 -0
- package/dist/primitives/_internal/react-primitive.d.ts.map +1 -0
- package/dist/primitives/_internal/react-primitive.js +36 -0
- package/dist/primitives/_internal/react-use-callback-ref.d.ts +7 -0
- package/dist/primitives/_internal/react-use-callback-ref.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-callback-ref.js +13 -0
- package/dist/primitives/_internal/react-use-controllable-state.d.ts +16 -0
- package/dist/primitives/_internal/react-use-controllable-state.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-controllable-state.js +44 -0
- package/dist/primitives/_internal/react-use-effect-event.d.ts +8 -0
- package/dist/primitives/_internal/react-use-effect-event.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-escape-keydown.d.ts +7 -0
- package/dist/primitives/_internal/react-use-escape-keydown.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-escape-keydown.js +14 -0
- package/dist/primitives/_internal/react-use-is-hydrated.d.ts +7 -0
- package/dist/primitives/_internal/react-use-is-hydrated.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-is-hydrated.js +15 -0
- package/dist/primitives/_internal/react-use-layout-effect.d.ts +8 -0
- package/dist/primitives/_internal/react-use-layout-effect.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-layout-effect.js +6 -0
- package/dist/primitives/_internal/react-use-previous.d.ts +7 -0
- package/dist/primitives/_internal/react-use-previous.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-previous.js +8 -0
- package/dist/primitives/_internal/react-use-rect.d.ts +4 -0
- package/dist/primitives/_internal/react-use-rect.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-size.d.ts +10 -0
- package/dist/primitives/_internal/react-use-size.d.ts.map +1 -0
- package/dist/primitives/_internal/react-use-size.js +27 -0
- package/dist/primitives/_internal/rect.d.ts +12 -0
- package/dist/primitives/_internal/rect.d.ts.map +1 -0
- package/dist/primitives/react-accordion.js +239 -0
- package/dist/primitives/react-alert-dialog.js +127 -0
- package/dist/primitives/react-aspect-ratio.js +43 -0
- package/dist/primitives/react-avatar.js +75 -0
- package/dist/primitives/react-checkbox.js +251 -0
- package/dist/primitives/react-collapsible.js +120 -0
- package/dist/primitives/react-context-menu.js +240 -0
- package/dist/primitives/react-dialog.js +262 -0
- package/dist/primitives/react-dropdown-menu.js +227 -0
- package/dist/primitives/react-hover-card.js +187 -0
- package/dist/primitives/react-label.js +20 -0
- package/dist/primitives/react-menu.js +652 -0
- package/dist/primitives/react-menubar.js +355 -0
- package/dist/primitives/react-navigation-menu.js +607 -0
- package/dist/primitives/react-popover.js +243 -0
- package/dist/primitives/react-progress.js +84 -0
- package/dist/primitives/react-radio-group.js +238 -0
- package/dist/primitives/react-roving-focus.js +183 -0
- package/dist/primitives/react-select.js +862 -0
- package/dist/primitives/react-separator.js +24 -0
- package/dist/primitives/react-slider.js +437 -0
- package/dist/primitives/react-slot.d.ts +27 -0
- package/dist/primitives/react-slot.d.ts.map +1 -0
- package/dist/primitives/react-slot.js +70 -0
- package/dist/primitives/react-switch.js +132 -0
- package/dist/primitives/react-tabs.js +163 -0
- package/dist/primitives/react-toast.js +446 -0
- package/dist/primitives/react-toggle-group.js +137 -0
- package/dist/primitives/react-toggle.js +33 -0
- package/dist/primitives/react-tooltip.js +338 -0
- package/dist/primitives/react-visually-hidden.js +32 -0
- package/dist/shell/app-command-palette.d.ts +35 -0
- package/dist/shell/app-command-palette.d.ts.map +1 -0
- package/dist/shell/app-command-palette.js +196 -0
- package/dist/shell/bottom-navbar.d.ts +35 -0
- package/dist/shell/bottom-navbar.d.ts.map +1 -0
- package/dist/shell/bottom-navbar.js +160 -0
- package/dist/shell/index.d.ts +7 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +14 -0
- package/dist/shell/notification-center.d.ts +50 -0
- package/dist/shell/notification-center.d.ts.map +1 -0
- package/dist/shell/notification-center.js +221 -0
- package/dist/shell/notification-preferences.d.ts +41 -0
- package/dist/shell/notification-preferences.d.ts.map +1 -0
- package/dist/shell/notification-preferences.js +183 -0
- package/dist/shell/sidebar.d.ts +51 -0
- package/dist/shell/sidebar.d.ts.map +1 -0
- package/dist/shell/sidebar.js +101 -0
- package/dist/shell/top-bar.d.ts +33 -0
- package/dist/shell/top-bar.d.ts.map +1 -0
- package/dist/shell/top-bar.js +140 -0
- package/dist/tailwind/index.d.ts +2 -0
- package/dist/tailwind/index.d.ts.map +1 -0
- package/dist/tailwind/index.js +4 -0
- package/dist/tailwind/preset.d.ts +4 -0
- package/dist/tailwind/preset.d.ts.map +1 -0
- package/dist/tailwind/preset.js +310 -0
- package/dist/tokens/index.css +3 -0
- package/dist/tokens/primitives.css +189 -0
- package/dist/tokens/semantic.css +426 -0
- package/dist/tokens/typography-semantic.css +100 -0
- package/dist/tokens/typography.css +393 -0
- package/dist/ui/accordion.d.ts +53 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/accordion.js +46 -0
- package/dist/ui/alert-dialog.d.ts +21 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert-dialog.js +117 -0
- package/dist/ui/alert.d.ts +47 -0
- package/dist/ui/alert.d.ts.map +1 -0
- package/dist/ui/alert.js +52 -0
- package/dist/ui/aspect-ratio.d.ts +4 -0
- package/dist/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/ui/aspect-ratio.js +6 -0
- package/dist/ui/autocomplete.d.ts +49 -0
- package/dist/ui/autocomplete.d.ts.map +1 -0
- package/dist/ui/autocomplete.js +124 -0
- package/dist/ui/avatar.d.ts +51 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/avatar.js +91 -0
- package/dist/ui/badge.d.ts +43 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/badge.js +64 -0
- package/dist/ui/banner.d.ts +43 -0
- package/dist/ui/banner.d.ts.map +1 -0
- package/dist/ui/banner.js +50 -0
- package/dist/ui/breadcrumb.d.ts +20 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -0
- package/dist/ui/breadcrumb.js +83 -0
- package/dist/ui/button-group.d.ts +51 -0
- package/dist/ui/button-group.d.ts.map +1 -0
- package/dist/ui/button-group.js +41 -0
- package/dist/ui/button.d.ts +63 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/button.js +105 -0
- package/dist/ui/card.d.ts +64 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/card.js +79 -0
- package/dist/ui/charts/_internal/animation.d.ts +5 -0
- package/dist/ui/charts/_internal/animation.d.ts.map +1 -0
- package/dist/ui/charts/_internal/animation.js +17 -0
- package/dist/ui/charts/_internal/axes.d.ts +17 -0
- package/dist/ui/charts/_internal/axes.d.ts.map +1 -0
- package/dist/ui/charts/_internal/axes.js +41 -0
- package/dist/ui/charts/_internal/colors.d.ts +8 -0
- package/dist/ui/charts/_internal/colors.d.ts.map +1 -0
- package/dist/ui/charts/_internal/colors.js +20 -0
- package/dist/ui/charts/_internal/grid-lines.d.ts +16 -0
- package/dist/ui/charts/_internal/grid-lines.d.ts.map +1 -0
- package/dist/ui/charts/_internal/grid-lines.js +42 -0
- package/dist/ui/charts/_internal/legend.d.ts +15 -0
- package/dist/ui/charts/_internal/legend.d.ts.map +1 -0
- package/dist/ui/charts/_internal/legend.js +28 -0
- package/dist/ui/charts/_internal/scales.d.ts +5 -0
- package/dist/ui/charts/_internal/scales.d.ts.map +1 -0
- package/dist/ui/charts/_internal/tooltip.d.ts +23 -0
- package/dist/ui/charts/_internal/tooltip.d.ts.map +1 -0
- package/dist/ui/charts/_internal/tooltip.js +38 -0
- package/dist/ui/charts/_internal/types.d.ts +17 -0
- package/dist/ui/charts/_internal/types.d.ts.map +1 -0
- package/dist/ui/charts/_internal/types.js +9 -0
- package/dist/ui/charts/area-chart.d.ts +39 -0
- package/dist/ui/charts/area-chart.d.ts.map +1 -0
- package/dist/ui/charts/area-chart.js +244 -0
- package/dist/ui/charts/bar-chart.d.ts +41 -0
- package/dist/ui/charts/bar-chart.d.ts.map +1 -0
- package/dist/ui/charts/bar-chart.js +152 -0
- package/dist/ui/charts/chart-container.d.ts +20 -0
- package/dist/ui/charts/chart-container.d.ts.map +1 -0
- package/dist/ui/charts/chart-container.js +26 -0
- package/dist/ui/charts/gauge-chart.d.ts +32 -0
- package/dist/ui/charts/gauge-chart.d.ts.map +1 -0
- package/dist/ui/charts/gauge-chart.js +71 -0
- package/dist/ui/charts/index.d.ts +10 -0
- package/dist/ui/charts/index.d.ts.map +1 -0
- package/dist/ui/charts/line-chart.d.ts +37 -0
- package/dist/ui/charts/line-chart.d.ts.map +1 -0
- package/dist/ui/charts/line-chart.js +162 -0
- package/dist/ui/charts/pie-chart.d.ts +37 -0
- package/dist/ui/charts/pie-chart.d.ts.map +1 -0
- package/dist/ui/charts/pie-chart.js +131 -0
- package/dist/ui/charts/radar-chart.d.ts +34 -0
- package/dist/ui/charts/radar-chart.d.ts.map +1 -0
- package/dist/ui/charts/radar-chart.js +222 -0
- package/dist/ui/charts/sparkline.d.ts +22 -0
- package/dist/ui/charts/sparkline.d.ts.map +1 -0
- package/dist/ui/charts/sparkline.js +123 -0
- package/dist/ui/checkbox.d.ts +36 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/checkbox.js +33 -0
- package/dist/ui/chip.d.ts +66 -0
- package/dist/ui/chip.d.ts.map +1 -0
- package/dist/ui/chip.js +105 -0
- package/dist/ui/code.d.ts +30 -0
- package/dist/ui/code.d.ts.map +1 -0
- package/dist/ui/code.js +32 -0
- package/dist/ui/collapsible.d.ts +7 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/collapsible.js +21 -0
- package/dist/ui/combobox.d.ts +76 -0
- package/dist/ui/combobox.d.ts.map +1 -0
- package/dist/ui/combobox.js +286 -0
- package/dist/ui/container.d.ts +10 -0
- package/dist/ui/container.d.ts.map +1 -0
- package/dist/ui/container.js +24 -0
- package/dist/ui/context-menu.d.ts +28 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/context-menu.js +145 -0
- package/dist/ui/data-table-toolbar.d.ts +16 -0
- package/dist/ui/data-table-toolbar.d.ts.map +1 -0
- package/dist/ui/data-table-toolbar.js +136 -0
- package/dist/ui/data-table.d.ts +111 -0
- package/dist/ui/data-table.d.ts.map +1 -0
- package/dist/ui/data-table.js +491 -0
- package/dist/ui/dialog.d.ts +74 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dialog.js +110 -0
- package/dist/ui/dropdown-menu.d.ts +88 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.js +144 -0
- package/dist/ui/file-upload.d.ts +67 -0
- package/dist/ui/file-upload.d.ts.map +1 -0
- package/dist/ui/file-upload.js +226 -0
- package/dist/ui/form.d.ts +56 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/form.js +46 -0
- package/dist/ui/hover-card.d.ts +7 -0
- package/dist/ui/hover-card.d.ts.map +1 -0
- package/dist/ui/hover-card.js +23 -0
- package/dist/ui/icon-button.d.ts +46 -0
- package/dist/ui/icon-button.d.ts.map +1 -0
- package/dist/ui/icon-button.js +26 -0
- package/dist/ui/index.d.ts +68 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +344 -0
- package/dist/ui/input-otp.d.ts +35 -0
- package/dist/ui/input-otp.d.ts.map +1 -0
- package/dist/ui/input-otp.js +48 -0
- package/dist/ui/input.d.ts +44 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/input.js +58 -0
- package/dist/ui/label.d.ts +8 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/label.js +23 -0
- package/dist/ui/lib/motion.d.ts +10 -0
- package/dist/ui/lib/motion.d.ts.map +1 -0
- package/dist/ui/lib/motion.js +32 -0
- package/dist/ui/lib/slot.d.ts +8 -0
- package/dist/ui/lib/slot.d.ts.map +1 -0
- package/dist/ui/lib/use-reduced-motion.d.ts +3 -0
- package/dist/ui/lib/use-reduced-motion.d.ts.map +1 -0
- package/dist/ui/lib/use-reduced-motion.js +14 -0
- package/dist/ui/lib/use-ripple.d.ts +13 -0
- package/dist/ui/lib/use-ripple.d.ts.map +1 -0
- package/dist/ui/lib/use-ripple.js +13 -0
- package/dist/ui/lib/utils.d.ts +3 -0
- package/dist/ui/lib/utils.d.ts.map +1 -0
- package/dist/ui/lib/utils.js +15 -0
- package/dist/ui/link.d.ts +8 -0
- package/dist/ui/link.d.ts.map +1 -0
- package/dist/ui/link.js +24 -0
- package/dist/ui/menubar.d.ts +29 -0
- package/dist/ui/menubar.d.ts.map +1 -0
- package/dist/ui/menubar.js +176 -0
- package/dist/ui/navigation-menu.d.ts +12 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -0
- package/dist/ui/navigation-menu.js +103 -0
- package/dist/ui/number-input.d.ts +40 -0
- package/dist/ui/number-input.d.ts.map +1 -0
- package/dist/ui/number-input.js +80 -0
- package/dist/ui/pagination.d.ts +74 -0
- package/dist/ui/pagination.d.ts.map +1 -0
- package/dist/ui/pagination.js +159 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.js +24 -0
- package/dist/ui/progress.d.ts +49 -0
- package/dist/ui/progress.d.ts.map +1 -0
- package/dist/ui/progress.js +75 -0
- package/dist/ui/radio.d.ts +6 -0
- package/dist/ui/radio.d.ts.map +1 -0
- package/dist/ui/radio.js +29 -0
- package/dist/ui/search-input.d.ts +44 -0
- package/dist/ui/search-input.d.ts.map +1 -0
- package/dist/ui/search-input.js +63 -0
- package/dist/ui/segmented-control.d.ts +122 -0
- package/dist/ui/segmented-control.d.ts.map +1 -0
- package/dist/ui/segmented-control.js +270 -0
- package/dist/ui/select.d.ts +49 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/select.js +132 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/separator.js +24 -0
- package/dist/ui/sheet.d.ts +108 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sheet.js +110 -0
- package/dist/ui/sidebar.d.ts +67 -0
- package/dist/ui/sidebar.d.ts.map +1 -0
- package/dist/ui/sidebar.js +562 -0
- package/dist/ui/skeleton.d.ts +40 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton.js +36 -0
- package/dist/ui/slider.d.ts +5 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/slider.js +29 -0
- package/dist/ui/spinner.d.ts +38 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +47 -0
- package/dist/ui/stack.d.ts +15 -0
- package/dist/ui/stack.d.ts.map +1 -0
- package/dist/ui/stack.js +41 -0
- package/dist/ui/stat-card.d.ts +54 -0
- package/dist/ui/stat-card.d.ts.map +1 -0
- package/dist/ui/stat-card.js +52 -0
- package/dist/ui/stepper.d.ts +57 -0
- package/dist/ui/stepper.d.ts.map +1 -0
- package/dist/ui/stepper.js +90 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/switch.js +27 -0
- package/dist/ui/table.d.ts +11 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +91 -0
- package/dist/ui/tabs.d.ts +81 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/tabs.js +74 -0
- package/dist/ui/text.d.ts +47 -0
- package/dist/ui/text.d.ts.map +1 -0
- package/dist/ui/text.js +59 -0
- package/dist/ui/textarea.d.ts +40 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/textarea.js +47 -0
- package/dist/ui/toast.d.ts +32 -0
- package/dist/ui/toast.d.ts.map +1 -0
- package/dist/ui/toast.js +98 -0
- package/dist/ui/toaster.d.ts +42 -0
- package/dist/ui/toaster.d.ts.map +1 -0
- package/dist/ui/toaster.js +23 -0
- package/dist/ui/toggle-group.d.ts +13 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle-group.js +40 -0
- package/dist/ui/toggle.d.ts +13 -0
- package/dist/ui/toggle.d.ts.map +1 -0
- package/dist/ui/toggle.js +37 -0
- package/dist/ui/tooltip.d.ts +8 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui/tooltip.js +23 -0
- package/dist/ui/transitions.d.ts +16 -0
- package/dist/ui/transitions.d.ts.map +1 -0
- package/dist/ui/transitions.js +100 -0
- package/dist/ui/tree-view/index.d.ts +4 -0
- package/dist/ui/tree-view/index.d.ts.map +1 -0
- package/dist/ui/tree-view/tree-item.d.ts +22 -0
- package/dist/ui/tree-view/tree-item.d.ts.map +1 -0
- package/dist/ui/tree-view/tree-item.js +136 -0
- package/dist/ui/tree-view/tree-view.d.ts +29 -0
- package/dist/ui/tree-view/tree-view.d.ts.map +1 -0
- package/dist/ui/tree-view/tree-view.js +139 -0
- package/dist/ui/tree-view/use-tree.d.ts +26 -0
- package/dist/ui/tree-view/use-tree.d.ts.map +1 -0
- package/dist/ui/tree-view/use-tree.js +37 -0
- package/dist/ui/visually-hidden.d.ts +6 -0
- package/dist/ui/visually-hidden.d.ts.map +1 -0
- package/dist/ui/visually-hidden.js +10 -0
- package/fonts/GoogleSans-Italic-Variable.ttf +0 -0
- package/fonts/GoogleSans-Variable.ttf +0 -0
- package/fonts/Ranade-Variable.ttf +0 -0
- package/fonts/Ranade-VariableItalic.ttf +0 -0
- package/package.json +83 -0
package/dist/ui/alert.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { IconInfoCircle as i, IconAlertCircle as m, IconAlertTriangle as f, IconCircleCheck as b, IconX as u } from "@tabler/icons-react";
|
|
3
|
+
import * as x from "react";
|
|
4
|
+
import { cva as g } from "class-variance-authority";
|
|
5
|
+
import { cn as p } from "./lib/utils.js";
|
|
6
|
+
const v = g(
|
|
7
|
+
"relative flex gap-ds-04 rounded-ds-lg border p-ds-05",
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
info: "bg-info-surface border-info-border text-info-text",
|
|
12
|
+
success: "bg-success-surface border-success-border text-success-text",
|
|
13
|
+
warning: "bg-warning-surface border-warning-border text-warning-text",
|
|
14
|
+
error: "bg-error-surface border-error-border text-error-text",
|
|
15
|
+
neutral: "bg-layer-02 border-border text-text-primary [&>svg]:text-text-secondary"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: { variant: "info" }
|
|
19
|
+
}
|
|
20
|
+
), h = {
|
|
21
|
+
info: i,
|
|
22
|
+
success: b,
|
|
23
|
+
warning: f,
|
|
24
|
+
error: m,
|
|
25
|
+
neutral: i
|
|
26
|
+
}, w = x.forwardRef(
|
|
27
|
+
({ className: n, variant: e = "info", title: o, onDismiss: s, children: a, ...c }, d) => {
|
|
28
|
+
const l = h[e ?? "info"];
|
|
29
|
+
return /* @__PURE__ */ t("div", { ref: d, className: p(v({ variant: e }), n), role: "alert", ...c, children: [
|
|
30
|
+
/* @__PURE__ */ r(l, { className: "mt-ds-01 h-ico-md w-ico-md shrink-0", "aria-hidden": "true" }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: "flex-1 min-w-0", children: [
|
|
32
|
+
o && /* @__PURE__ */ r("p", { className: "text-ds-md font-semibold mb-ds-01", children: o }),
|
|
33
|
+
/* @__PURE__ */ r("div", { className: "text-ds-md opacity-90", children: a })
|
|
34
|
+
] }),
|
|
35
|
+
s && /* @__PURE__ */ r(
|
|
36
|
+
"button",
|
|
37
|
+
{
|
|
38
|
+
type: "button",
|
|
39
|
+
onClick: s,
|
|
40
|
+
className: "shrink-0 rounded-ds-sm text-icon-secondary transition-colors hover:text-icon-primary hover:bg-field focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus",
|
|
41
|
+
"aria-label": "Dismiss",
|
|
42
|
+
children: /* @__PURE__ */ r(u, { className: "h-ico-sm w-ico-sm" })
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] });
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
w.displayName = "Alert";
|
|
49
|
+
export {
|
|
50
|
+
w as Alert,
|
|
51
|
+
v as alertVariants
|
|
52
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as AspectRatioPrimitive from '@primitives/react-aspect-ratio';
|
|
2
|
+
declare const AspectRatio: import('react').ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export { AspectRatio };
|
|
4
|
+
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../src/ui/aspect-ratio.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;AAEtE,QAAA,MAAM,WAAW,kIAA4B,CAAA;AAG7C,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type AutocompleteOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Props for Autocomplete — a free-text input with a live-filtered dropdown list, keyboard
|
|
8
|
+
* navigation, and ARIA combobox semantics. Suitable for "type to search" fields where the
|
|
9
|
+
* full list is known ahead of time (client-side filtering only).
|
|
10
|
+
*
|
|
11
|
+
* **Key distinction from Combobox:** Autocomplete allows free-text input (no forced selection),
|
|
12
|
+
* while `<Combobox>` enforces selection from the list. Use Autocomplete for search-as-you-type
|
|
13
|
+
* with suggestions; use Combobox for structured single or multi-select dropdowns.
|
|
14
|
+
*
|
|
15
|
+
* **`value`:** A full `AutocompleteOption` object (or null), not just the string value.
|
|
16
|
+
* The input's text is synced to `value.label` on mount.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // City search autocomplete:
|
|
20
|
+
* <Autocomplete
|
|
21
|
+
* options={[{ value: 'mumbai', label: 'Mumbai' }, { value: 'delhi', label: 'Delhi' }]}
|
|
22
|
+
* value={selectedCity}
|
|
23
|
+
* onChange={(opt) => setSelectedCity(opt)}
|
|
24
|
+
* placeholder="Search cities..."
|
|
25
|
+
* />
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* // Employee name lookup with custom empty text:
|
|
29
|
+
* <Autocomplete
|
|
30
|
+
* options={employees.map(e => ({ value: e.id, label: e.fullName }))}
|
|
31
|
+
* onChange={(opt) => setAssignee(opt.value)}
|
|
32
|
+
* emptyText="No employees found"
|
|
33
|
+
* placeholder="Search employees..."
|
|
34
|
+
* />
|
|
35
|
+
* // These are just a few ways — feel free to combine props creatively!
|
|
36
|
+
*/
|
|
37
|
+
type AutocompleteProps = {
|
|
38
|
+
options: AutocompleteOption[];
|
|
39
|
+
value?: AutocompleteOption | null;
|
|
40
|
+
onChange?: (option: AutocompleteOption) => void;
|
|
41
|
+
placeholder?: string;
|
|
42
|
+
emptyText?: string;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
className?: string;
|
|
45
|
+
id?: string;
|
|
46
|
+
};
|
|
47
|
+
declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<HTMLInputElement>>;
|
|
48
|
+
export { Autocomplete, type AutocompleteProps, type AutocompleteOption };
|
|
49
|
+
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../src/ui/autocomplete.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,QAAA,MAAM,YAAY,4FAyKjB,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { jsxs as K, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { cn as b } from "./lib/utils.js";
|
|
4
|
+
const O = t.forwardRef(
|
|
5
|
+
({
|
|
6
|
+
options: x,
|
|
7
|
+
value: s,
|
|
8
|
+
onChange: u,
|
|
9
|
+
placeholder: D,
|
|
10
|
+
emptyText: I = "No options",
|
|
11
|
+
disabled: y,
|
|
12
|
+
className: R,
|
|
13
|
+
id: N
|
|
14
|
+
}, i) => {
|
|
15
|
+
const E = t.useId(), w = N || E, g = `${w}-listbox`, v = `${w}-option`, [f, k] = t.useState((s == null ? void 0 : s.label) ?? ""), [c, a] = t.useState(!1), [r, l] = t.useState(-1), $ = t.useRef(null), A = t.useRef(null), h = t.useRef(), M = t.useCallback(
|
|
16
|
+
(e) => {
|
|
17
|
+
$.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
18
|
+
},
|
|
19
|
+
[i]
|
|
20
|
+
);
|
|
21
|
+
t.useEffect(() => () => {
|
|
22
|
+
h.current && clearTimeout(h.current);
|
|
23
|
+
}, []);
|
|
24
|
+
const n = t.useMemo(
|
|
25
|
+
() => f ? x.filter((e) => e.label.toLowerCase().includes(f.toLowerCase())) : x,
|
|
26
|
+
[x, f]
|
|
27
|
+
), m = t.useCallback(
|
|
28
|
+
(e) => {
|
|
29
|
+
k(e.label), a(!1), l(-1), u == null || u(e);
|
|
30
|
+
},
|
|
31
|
+
[u]
|
|
32
|
+
), z = t.useCallback(
|
|
33
|
+
(e) => {
|
|
34
|
+
if (!c) {
|
|
35
|
+
(e.key === "ArrowDown" || e.key === "Enter") && a(!0);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
switch (e.key) {
|
|
39
|
+
case "ArrowDown":
|
|
40
|
+
e.preventDefault(), l((o) => Math.min(o + 1, n.length - 1));
|
|
41
|
+
break;
|
|
42
|
+
case "ArrowUp":
|
|
43
|
+
e.preventDefault(), l((o) => Math.max(o - 1, 0));
|
|
44
|
+
break;
|
|
45
|
+
case "Enter":
|
|
46
|
+
e.preventDefault(), r >= 0 && n[r] && m(n[r]);
|
|
47
|
+
break;
|
|
48
|
+
case "Escape":
|
|
49
|
+
a(!1), l(-1);
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
[c, n, r, m]
|
|
54
|
+
), S = r >= 0 ? `${v}-${r}` : void 0;
|
|
55
|
+
return /* @__PURE__ */ K("div", { className: b("relative", R), children: [
|
|
56
|
+
/* @__PURE__ */ p(
|
|
57
|
+
"input",
|
|
58
|
+
{
|
|
59
|
+
ref: M,
|
|
60
|
+
type: "text",
|
|
61
|
+
role: "combobox",
|
|
62
|
+
"aria-expanded": c,
|
|
63
|
+
"aria-autocomplete": "list",
|
|
64
|
+
"aria-controls": c ? g : void 0,
|
|
65
|
+
"aria-activedescendant": S,
|
|
66
|
+
value: f,
|
|
67
|
+
placeholder: D,
|
|
68
|
+
disabled: y,
|
|
69
|
+
className: b(
|
|
70
|
+
"flex h-ds-md w-full rounded-ds-md border border-border bg-field px-ds-04 py-ds-03 font-sans text-[length:var(--font-size-md)] text-text-primary placeholder:text-text-placeholder",
|
|
71
|
+
"outline-none focus:ring-2 focus:ring-focus focus:ring-offset-[var(--border-focus-offset)]",
|
|
72
|
+
"transition-colors duration-fast-01",
|
|
73
|
+
y && "opacity-[var(--action-disabled-opacity,0.38)] cursor-not-allowed"
|
|
74
|
+
),
|
|
75
|
+
onChange: (e) => {
|
|
76
|
+
k(e.target.value), a(!0), l(-1);
|
|
77
|
+
},
|
|
78
|
+
onFocus: () => a(!0),
|
|
79
|
+
onBlur: () => {
|
|
80
|
+
h.current = setTimeout(() => a(!1), 150);
|
|
81
|
+
},
|
|
82
|
+
onKeyDown: z
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
c && /* @__PURE__ */ p(
|
|
86
|
+
"ul",
|
|
87
|
+
{
|
|
88
|
+
id: g,
|
|
89
|
+
ref: A,
|
|
90
|
+
role: "listbox",
|
|
91
|
+
className: b(
|
|
92
|
+
"absolute z-dropdown mt-ds-02 w-full overflow-auto rounded-ds-md border border-border bg-layer-01 shadow-02",
|
|
93
|
+
"max-h-60"
|
|
94
|
+
),
|
|
95
|
+
children: n.length === 0 ? /* @__PURE__ */ p("li", { className: "px-ds-04 py-ds-03 text-[length:var(--font-size-md)] text-text-secondary", children: I }) : n.map((e, o) => /* @__PURE__ */ p(
|
|
96
|
+
"li",
|
|
97
|
+
{
|
|
98
|
+
id: `${v}-${o}`,
|
|
99
|
+
role: "option",
|
|
100
|
+
"aria-selected": r === o,
|
|
101
|
+
className: b(
|
|
102
|
+
"cursor-pointer px-ds-04 py-ds-03 text-[length:var(--font-size-md)] text-text-primary transition-colors duration-fast-01",
|
|
103
|
+
r === o && "bg-interactive-selected",
|
|
104
|
+
(s == null ? void 0 : s.value) === e.value && "font-[number:var(--font-weight-semibold)]"
|
|
105
|
+
),
|
|
106
|
+
onMouseDown: (d) => d.preventDefault(),
|
|
107
|
+
onClick: () => m(e),
|
|
108
|
+
onKeyDown: (d) => {
|
|
109
|
+
(d.key === "Enter" || d.key === " ") && (d.preventDefault(), m(e));
|
|
110
|
+
},
|
|
111
|
+
onMouseEnter: () => l(o),
|
|
112
|
+
children: e.label
|
|
113
|
+
},
|
|
114
|
+
e.value
|
|
115
|
+
))
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] });
|
|
119
|
+
}
|
|
120
|
+
);
|
|
121
|
+
O.displayName = "Autocomplete";
|
|
122
|
+
export {
|
|
123
|
+
O as Autocomplete
|
|
124
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as AvatarPrimitive from "@primitives/react-avatar";
|
|
4
|
+
export declare const avatarVariants: (props?: ({
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
shape?: "rounded" | "square" | "circle" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export type AvatarStatus = 'online' | 'offline' | 'busy' | 'away';
|
|
9
|
+
/**
|
|
10
|
+
* Props for Avatar — a user/entity image container with size, shape, and presence-status variants.
|
|
11
|
+
*
|
|
12
|
+
* **Sizes:** `xs` | `sm` | `md` (default) | `lg` | `xl` — the status dot scales with the avatar size.
|
|
13
|
+
*
|
|
14
|
+
* **Shapes:** `circle` (default, round) | `square` (sharp corners) | `rounded` (rounded corners, for bots/apps)
|
|
15
|
+
*
|
|
16
|
+
* **Status dot:** `status="online"` (green) | `"offline"` (muted) | `"busy"` (red) | `"away"` (amber).
|
|
17
|
+
* The dot renders with `role="img"` and an accessible `aria-label` — it is not purely decorative.
|
|
18
|
+
*
|
|
19
|
+
* **Children:** Use `<AvatarImage>` for the photo and `<AvatarFallback>` for initials when the image fails.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // User avatar with photo and fallback initials:
|
|
23
|
+
* <Avatar size="md">
|
|
24
|
+
* <AvatarImage src={user.avatarUrl} alt={user.name} />
|
|
25
|
+
* <AvatarFallback>JD</AvatarFallback>
|
|
26
|
+
* </Avatar>
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // Online presence indicator in a team roster:
|
|
30
|
+
* <Avatar size="lg" status="online">
|
|
31
|
+
* <AvatarImage src={user.photoUrl} alt={user.name} />
|
|
32
|
+
* <AvatarFallback>{user.initials}</AvatarFallback>
|
|
33
|
+
* </Avatar>
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* // Square shape for a bot/integration logo:
|
|
37
|
+
* <Avatar shape="square" size="xl">
|
|
38
|
+
* <AvatarImage src="/logos/github.png" alt="GitHub" />
|
|
39
|
+
* </Avatar>
|
|
40
|
+
* // These are just a few ways — feel free to combine props creatively!
|
|
41
|
+
*/
|
|
42
|
+
export interface AvatarProps extends Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, 'children'>, VariantProps<typeof avatarVariants> {
|
|
43
|
+
/** Optional status indicator displayed as a dot at the bottom-right corner */
|
|
44
|
+
status?: AvatarStatus;
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
}
|
|
47
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
49
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
50
|
+
export { Avatar, AvatarImage, AvatarFallback };
|
|
51
|
+
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/ui/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,eAAO,MAAM,cAAc;;;8EAmB1B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;AA4BjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,EACnF,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,8EAA8E;IAC9E,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,MAAM,qFAwBV,CAAA;AAGF,QAAA,MAAM,WAAW,gKASf,CAAA;AAGF,QAAA,MAAM,cAAc,iKAYlB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsxs as u, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { Root as n, Fallback as o, Image as t } from "../primitives/react-avatar.js";
|
|
4
|
+
import { cva as p } from "class-variance-authority";
|
|
5
|
+
import { cn as r } from "./lib/utils.js";
|
|
6
|
+
const w = p(
|
|
7
|
+
"relative flex shrink-0 overflow-hidden",
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
xs: "h-ds-xs w-ds-xs",
|
|
12
|
+
sm: "h-ds-sm w-ds-sm",
|
|
13
|
+
md: "h-ds-md w-ds-md",
|
|
14
|
+
lg: "h-ds-lg w-ds-lg",
|
|
15
|
+
xl: "h-ds-xl w-ds-xl"
|
|
16
|
+
},
|
|
17
|
+
shape: {
|
|
18
|
+
circle: "rounded-ds-full",
|
|
19
|
+
square: "rounded-ds-none",
|
|
20
|
+
rounded: "rounded-ds-md"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
defaultVariants: { size: "md", shape: "circle" }
|
|
24
|
+
}
|
|
25
|
+
), h = {
|
|
26
|
+
online: "bg-success",
|
|
27
|
+
offline: "bg-layer-03",
|
|
28
|
+
busy: "bg-error",
|
|
29
|
+
away: "bg-warning"
|
|
30
|
+
}, b = {
|
|
31
|
+
online: "Online",
|
|
32
|
+
offline: "Offline",
|
|
33
|
+
busy: "Busy",
|
|
34
|
+
away: "Away"
|
|
35
|
+
}, g = {
|
|
36
|
+
xs: "h-ds-02b w-ds-02b",
|
|
37
|
+
sm: "h-2 w-2",
|
|
38
|
+
md: "h-ds-03 w-ds-03",
|
|
39
|
+
lg: "h-3 w-3",
|
|
40
|
+
xl: "h-ds-04 w-ds-04"
|
|
41
|
+
}, x = i.forwardRef(({ className: a, size: s, shape: e, status: d, children: m, ...f }, c) => /* @__PURE__ */ u("span", { className: "relative inline-flex shrink-0", children: [
|
|
42
|
+
/* @__PURE__ */ l(
|
|
43
|
+
n,
|
|
44
|
+
{
|
|
45
|
+
ref: c,
|
|
46
|
+
className: r(w({ size: s, shape: e }), a),
|
|
47
|
+
...f,
|
|
48
|
+
children: m
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
d && /* @__PURE__ */ l(
|
|
52
|
+
"span",
|
|
53
|
+
{
|
|
54
|
+
className: r(
|
|
55
|
+
"absolute bottom-0 right-0 rounded-ds-full ring-2 ring-layer-01",
|
|
56
|
+
h[d],
|
|
57
|
+
g[s ?? "md"]
|
|
58
|
+
),
|
|
59
|
+
role: "img",
|
|
60
|
+
"aria-label": b[d]
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
] }));
|
|
64
|
+
x.displayName = n.displayName;
|
|
65
|
+
const y = i.forwardRef(({ className: a, ...s }, e) => /* @__PURE__ */ l(
|
|
66
|
+
t,
|
|
67
|
+
{
|
|
68
|
+
ref: e,
|
|
69
|
+
className: r("aspect-square h-full w-full", a),
|
|
70
|
+
...s
|
|
71
|
+
}
|
|
72
|
+
));
|
|
73
|
+
y.displayName = t.displayName;
|
|
74
|
+
const v = i.forwardRef(({ className: a, ...s }, e) => /* @__PURE__ */ l(
|
|
75
|
+
o,
|
|
76
|
+
{
|
|
77
|
+
ref: e,
|
|
78
|
+
className: r(
|
|
79
|
+
"flex h-full w-full items-center justify-center rounded-ds-full bg-interactive-subtle text-interactive",
|
|
80
|
+
a
|
|
81
|
+
),
|
|
82
|
+
...s
|
|
83
|
+
}
|
|
84
|
+
));
|
|
85
|
+
v.displayName = o.displayName;
|
|
86
|
+
export {
|
|
87
|
+
x as Avatar,
|
|
88
|
+
v as AvatarFallback,
|
|
89
|
+
y as AvatarImage,
|
|
90
|
+
w as avatarVariants
|
|
91
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "accent" | "error" | "warning" | "success" | "cyan" | "indigo" | "orange" | "teal" | "solid" | "info" | "neutral" | "brand" | "amber" | "slate" | "emerald" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Props for Badge — a compact inline label with 15 semantic + categorical variants, an optional
|
|
9
|
+
* leading dot indicator, and a dismissible close button.
|
|
10
|
+
*
|
|
11
|
+
* **15 variants:** `neutral` (default) | `solid` (brand fill) | `info` | `success` | `error` |
|
|
12
|
+
* `warning` | `brand` | `accent` | `teal` | `amber` | `slate` | `indigo` | `cyan` | `orange` | `emerald`
|
|
13
|
+
*
|
|
14
|
+
* **Comparison with Chip:** Badge is a pure display label (no onClick, no delete handler).
|
|
15
|
+
* Chip (`<Chip>`) is interactive — use Chip when users can click or dismiss the tag.
|
|
16
|
+
*
|
|
17
|
+
* **Dismissible:** Provide `onDismiss` to show an × button. Badge does NOT include a `dismissible`
|
|
18
|
+
* boolean prop — the presence of `onDismiss` is the signal.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* // Status badge in a table cell:
|
|
22
|
+
* <Badge variant="success">Active</Badge>
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* // Notification count with dot indicator (solid fill for high contrast):
|
|
26
|
+
* <Badge variant="solid" size="sm" dot>3 new</Badge>
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // Dismissible category filter (e.g. in a filter bar):
|
|
30
|
+
* <Badge variant="teal" onDismiss={() => removeFilter('teal')}>Teal team</Badge>
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // Error badge for a failed job in a pipeline view:
|
|
34
|
+
* <Badge variant="error" size="lg">Build failed</Badge>
|
|
35
|
+
* // These are just a few ways — feel free to combine props creatively!
|
|
36
|
+
*/
|
|
37
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
38
|
+
dot?: boolean;
|
|
39
|
+
onDismiss?: () => void;
|
|
40
|
+
}
|
|
41
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
42
|
+
export { Badge, badgeVariants };
|
|
43
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;;8EA+ClB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAC3C,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,oFAwBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/ui/badge.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { IconX as b } from "@tabler/icons-react";
|
|
3
|
+
import * as g from "react";
|
|
4
|
+
import { cva as l } from "class-variance-authority";
|
|
5
|
+
import { cn as x } from "./lib/utils.js";
|
|
6
|
+
const u = l(
|
|
7
|
+
"inline-flex items-center gap-ds-02b font-sans font-medium rounded-ds-full border",
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
neutral: "bg-field text-text-secondary border-border",
|
|
12
|
+
solid: "bg-interactive text-text-on-interactive border-transparent",
|
|
13
|
+
info: "bg-info-surface text-info-text border-info-border",
|
|
14
|
+
success: "bg-success-surface text-success-text border-success-border",
|
|
15
|
+
error: "bg-error-surface text-error-text border-error-border",
|
|
16
|
+
warning: "bg-warning-surface text-warning-text border-warning-border",
|
|
17
|
+
brand: "bg-interactive-subtle text-text-brand border-interactive",
|
|
18
|
+
accent: "bg-accent-subtle text-accent border-accent",
|
|
19
|
+
teal: "bg-category-teal-surface text-category-teal-text border-category-teal-border",
|
|
20
|
+
amber: "bg-category-amber-surface text-category-amber-text border-category-amber-border",
|
|
21
|
+
slate: "bg-category-slate-surface text-category-slate-text border-category-slate-border",
|
|
22
|
+
indigo: "bg-category-indigo-surface text-category-indigo-text border-category-indigo-border",
|
|
23
|
+
cyan: "bg-category-cyan-surface text-category-cyan-text border-category-cyan-border",
|
|
24
|
+
orange: "bg-category-orange-surface text-category-orange-text border-category-orange-border",
|
|
25
|
+
emerald: "bg-category-emerald-surface text-category-emerald-text border-category-emerald-border"
|
|
26
|
+
},
|
|
27
|
+
size: {
|
|
28
|
+
sm: "h-5 px-ds-03 text-ds-xs",
|
|
29
|
+
md: "h-ds-xs px-ds-03 text-ds-sm",
|
|
30
|
+
lg: "h-ds-xs-plus px-ds-04 text-ds-md"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
defaultVariants: {
|
|
34
|
+
variant: "neutral",
|
|
35
|
+
size: "md"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
), f = g.forwardRef(
|
|
39
|
+
({ className: t, variant: a, size: o, dot: s, onDismiss: r, children: c, ...d }, n) => /* @__PURE__ */ i("span", { ref: n, className: x(u({ variant: a, size: o }), t), ...d, children: [
|
|
40
|
+
s && /* @__PURE__ */ e(
|
|
41
|
+
"span",
|
|
42
|
+
{
|
|
43
|
+
className: "h-ds-02b w-ds-02b rounded-ds-full bg-current opacity-70 shrink-0",
|
|
44
|
+
"aria-hidden": "true"
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
c,
|
|
48
|
+
r && /* @__PURE__ */ e(
|
|
49
|
+
"button",
|
|
50
|
+
{
|
|
51
|
+
type: "button",
|
|
52
|
+
onClick: r,
|
|
53
|
+
className: "ml-ds-01 rounded-ds-full text-icon-secondary transition-colors hover:text-icon-primary hover:bg-field focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus",
|
|
54
|
+
"aria-label": "Remove",
|
|
55
|
+
children: /* @__PURE__ */ e(b, { className: "h-3 w-3" })
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] })
|
|
59
|
+
);
|
|
60
|
+
f.displayName = "Badge";
|
|
61
|
+
export {
|
|
62
|
+
f as Badge,
|
|
63
|
+
u as badgeVariants
|
|
64
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const bannerVariants: (props?: ({
|
|
4
|
+
variant?: "error" | "warning" | "success" | "info" | "neutral" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
/**
|
|
7
|
+
* Props for Banner — a full-width notification strip with a colored icon, message, optional
|
|
8
|
+
* action slot, and an optional dismiss button. Renders with `role="alert"`.
|
|
9
|
+
*
|
|
10
|
+
* **Variants:** `info` (default) | `success` | `warning` | `error` | `neutral`
|
|
11
|
+
*
|
|
12
|
+
* **Banner vs Alert:** Banner spans the full width of its container (e.g., top of a page or section).
|
|
13
|
+
* Alert is an inline block inside page content. Use Banner for system-level announcements.
|
|
14
|
+
*
|
|
15
|
+
* **`action` slot:** Accepts any React node — typically a `<Button variant="ghost" size="sm">` or a link.
|
|
16
|
+
* **Dismissible:** Provide `onDismiss` to show an × button.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // Maintenance warning at top of the dashboard:
|
|
20
|
+
* <Banner variant="warning">
|
|
21
|
+
* Scheduled maintenance on Sunday 2am–4am UTC. Expect brief downtime.
|
|
22
|
+
* </Banner>
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* // Success banner with a CTA action button:
|
|
26
|
+
* <Banner variant="success" action={<Button variant="ghost" size="sm">View report</Button>}>
|
|
27
|
+
* Your export is ready.
|
|
28
|
+
* </Banner>
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* // Dismissible info banner for a new feature announcement:
|
|
32
|
+
* <Banner variant="info" onDismiss={() => markAsSeen('feature-x')}>
|
|
33
|
+
* New: You can now assign tasks directly from the calendar view.
|
|
34
|
+
* </Banner>
|
|
35
|
+
* // These are just a few ways — feel free to combine props creatively!
|
|
36
|
+
*/
|
|
37
|
+
export interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bannerVariants> {
|
|
38
|
+
action?: React.ReactNode;
|
|
39
|
+
onDismiss?: () => void;
|
|
40
|
+
}
|
|
41
|
+
declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
export { Banner, bannerVariants };
|
|
43
|
+
//# sourceMappingURL=banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../src/ui/banner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,cAAc;;8EAmBnB,CAAA;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,MAAM,oFAsBX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { IconInfoCircle as n, IconAlertCircle as f, IconAlertTriangle as m, IconCircleCheck as b, IconX as u } from "@tabler/icons-react";
|
|
3
|
+
import * as x from "react";
|
|
4
|
+
import { cva as g } from "class-variance-authority";
|
|
5
|
+
import { cn as p } from "./lib/utils.js";
|
|
6
|
+
const h = g(
|
|
7
|
+
"flex items-center gap-ds-04 px-ds-06 py-ds-04 text-ds-md font-medium border-b",
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
info: "bg-info-surface border-info-border text-info-text",
|
|
12
|
+
success: "bg-success-surface border-success-border text-success-text",
|
|
13
|
+
warning: "bg-warning-surface border-warning-border text-warning-text",
|
|
14
|
+
error: "bg-error-surface border-error-border text-error-text",
|
|
15
|
+
neutral: "bg-layer-02 border-border text-text-primary [&>svg]:text-text-secondary"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: { variant: "info" }
|
|
19
|
+
}
|
|
20
|
+
), v = {
|
|
21
|
+
info: n,
|
|
22
|
+
success: b,
|
|
23
|
+
warning: m,
|
|
24
|
+
error: f,
|
|
25
|
+
neutral: n
|
|
26
|
+
}, N = x.forwardRef(
|
|
27
|
+
({ className: t, variant: e = "info", action: o, onDismiss: s, children: i, ...a }, c) => {
|
|
28
|
+
const d = v[e ?? "info"];
|
|
29
|
+
return /* @__PURE__ */ l("div", { ref: c, className: p(h({ variant: e }), t), role: "alert", ...a, children: [
|
|
30
|
+
/* @__PURE__ */ r(d, { className: "h-ico-md w-ico-md shrink-0", "aria-hidden": "true" }),
|
|
31
|
+
/* @__PURE__ */ r("span", { className: "flex-1", children: i }),
|
|
32
|
+
o && /* @__PURE__ */ r("span", { className: "shrink-0", children: o }),
|
|
33
|
+
s && /* @__PURE__ */ r(
|
|
34
|
+
"button",
|
|
35
|
+
{
|
|
36
|
+
type: "button",
|
|
37
|
+
onClick: s,
|
|
38
|
+
className: "shrink-0 rounded-ds-sm text-icon-secondary transition-colors hover:text-icon-primary hover:bg-field focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus",
|
|
39
|
+
"aria-label": "Dismiss",
|
|
40
|
+
children: /* @__PURE__ */ r(u, { className: "h-ico-sm w-ico-sm" })
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] });
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
N.displayName = "Banner";
|
|
47
|
+
export {
|
|
48
|
+
N as Banner,
|
|
49
|
+
h as bannerVariants
|
|
50
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: React.ReactNode;
|
|
4
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
20
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../src/ui/breadcrumb.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,UAAU;gBAEwC,KAAK,CAAC,SAAS;qCACO,CAAA;AAG9E,QAAA,MAAM,cAAc,2KAWnB,CAAA;AAGD,QAAA,MAAM,cAAc,kKAInB,CAAA;AAGD,QAAA,MAAM,cAAc;cAEgC,OAAO;2CAczD,CAAA;AAGF,QAAA,MAAM,cAAc,sKASnB,CAAA;AAGD,QAAA,MAAM,mBAAmB;wCAAuC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;;CASzF,CAAA;AAGD,QAAA,MAAM,kBAAkB;8BAA6B,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAUhF,CAAA;AAGD,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
|