@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
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
/* ⚠️ DEPRECATED: These px-based classes are kept for backward compatibility.
|
|
2
|
+
Use <Text variant="..."> component or text-ds-* Tailwind classes instead.
|
|
3
|
+
See src/tokens/typography-semantic.css for the canonical type scale. */
|
|
4
|
+
|
|
5
|
+
/* ═══════════════════════════════════════════════════════════════════
|
|
6
|
+
TYPOGRAPHY — Font faces, type scale utilities, and prose styles
|
|
7
|
+
═══════════════════════════════════════════════════════════════════ */
|
|
8
|
+
|
|
9
|
+
/* ── Font Faces ─────────────────────────────────────────────────── */
|
|
10
|
+
|
|
11
|
+
/* Google Sans (primary UI font) — Variable font: supports weights 100-900 */
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Google Sans';
|
|
14
|
+
src: url('../../fonts/GoogleSans-Variable.ttf') format('truetype');
|
|
15
|
+
font-weight: 100 900;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-display: swap;
|
|
18
|
+
}
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'Google Sans';
|
|
21
|
+
src: url('../../fonts/GoogleSans-Italic-Variable.ttf') format('truetype');
|
|
22
|
+
font-weight: 100 900;
|
|
23
|
+
font-style: italic;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Ranade (accent — brand moments, hero headings, special callouts) */
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: 'Ranade';
|
|
30
|
+
src: url('../../fonts/Ranade-Variable.ttf') format('truetype');
|
|
31
|
+
font-weight: 100 900;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Ranade';
|
|
36
|
+
src: url('../../fonts/Ranade-VariableItalic.ttf') format('truetype');
|
|
37
|
+
font-weight: 100 900;
|
|
38
|
+
font-style: italic;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* ── Title Scale (T1–T7) ───────────────────────────────────────── */
|
|
43
|
+
|
|
44
|
+
.T1-Reg {
|
|
45
|
+
font-family: inherit;
|
|
46
|
+
font-size: 60px;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
line-height: 115%;
|
|
50
|
+
letter-spacing: -1.2px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.T2-Reg {
|
|
54
|
+
font-family: inherit;
|
|
55
|
+
font-size: 48px;
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
line-height: 115%;
|
|
59
|
+
letter-spacing: -0.96px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.T3-Reg {
|
|
63
|
+
font-family: inherit;
|
|
64
|
+
font-size: 36px;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 400;
|
|
67
|
+
line-height: 115%;
|
|
68
|
+
letter-spacing: -0.72px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.T4-Reg {
|
|
72
|
+
font-family: inherit;
|
|
73
|
+
font-size: 32px;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
line-height: 115%;
|
|
77
|
+
letter-spacing: -0.64px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.T5-Reg {
|
|
81
|
+
font-family: inherit;
|
|
82
|
+
font-size: 24px;
|
|
83
|
+
font-style: normal;
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
line-height: 125%;
|
|
86
|
+
letter-spacing: -0.48px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.T6-Reg {
|
|
90
|
+
font-family: inherit;
|
|
91
|
+
font-size: 20px;
|
|
92
|
+
font-style: normal;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
line-height: 125%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.T7-Reg {
|
|
98
|
+
font-family: inherit;
|
|
99
|
+
font-size: 18px;
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
line-height: 125%;
|
|
103
|
+
letter-spacing: -0.48px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* ── Body Scale (B1–B8) ────────────────────────────────────────── */
|
|
107
|
+
|
|
108
|
+
.B1-Reg {
|
|
109
|
+
font-family: inherit;
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
line-height: 150%;
|
|
114
|
+
letter-spacing: -0.32px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.B2-Reg {
|
|
118
|
+
font-family: inherit;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
font-style: normal;
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
line-height: 150%;
|
|
123
|
+
letter-spacing: -0.32px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.B3-Reg {
|
|
127
|
+
font-family: inherit;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
font-style: normal;
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
line-height: 150%;
|
|
132
|
+
letter-spacing: -0.32px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.B4-Reg {
|
|
136
|
+
font-family: inherit;
|
|
137
|
+
font-size: 10px;
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
line-height: 150%;
|
|
141
|
+
letter-spacing: -0.32px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.B5-Reg {
|
|
145
|
+
font-family: inherit;
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
font-style: normal;
|
|
148
|
+
font-weight: 400;
|
|
149
|
+
line-height: 140%;
|
|
150
|
+
letter-spacing: 0.32px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.B6-Reg {
|
|
154
|
+
font-family: inherit;
|
|
155
|
+
font-size: 14px;
|
|
156
|
+
font-style: normal;
|
|
157
|
+
font-weight: 600;
|
|
158
|
+
line-height: 140%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.B7-Reg {
|
|
162
|
+
font-family: inherit;
|
|
163
|
+
font-size: 12px;
|
|
164
|
+
font-style: normal;
|
|
165
|
+
font-weight: 400;
|
|
166
|
+
line-height: 150%;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.B8-Reg {
|
|
170
|
+
font-family: inherit;
|
|
171
|
+
font-size: 14px;
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
line-height: 150%;
|
|
175
|
+
letter-spacing: -0.28px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.B2-Semibold {
|
|
179
|
+
font-family: inherit;
|
|
180
|
+
font-size: 14px;
|
|
181
|
+
font-style: normal;
|
|
182
|
+
font-weight: 600;
|
|
183
|
+
line-height: 150%;
|
|
184
|
+
letter-spacing: -0.32px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* ── Label Scale (L1–L6) ───────────────────────────────────────── */
|
|
188
|
+
|
|
189
|
+
.L1 {
|
|
190
|
+
font-family: inherit;
|
|
191
|
+
font-size: 16px;
|
|
192
|
+
font-style: normal;
|
|
193
|
+
font-weight: 600;
|
|
194
|
+
line-height: 130%;
|
|
195
|
+
letter-spacing: 0.96px;
|
|
196
|
+
text-transform: uppercase;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.L2 {
|
|
200
|
+
font-family: inherit;
|
|
201
|
+
font-size: 14px;
|
|
202
|
+
font-style: normal;
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
line-height: 130%;
|
|
205
|
+
letter-spacing: 0.96px;
|
|
206
|
+
text-transform: uppercase;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.L3 {
|
|
210
|
+
font-family: inherit;
|
|
211
|
+
font-size: 12px;
|
|
212
|
+
font-style: normal;
|
|
213
|
+
font-weight: 600;
|
|
214
|
+
line-height: 130%;
|
|
215
|
+
letter-spacing: 0.72px;
|
|
216
|
+
text-transform: uppercase;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.L4 {
|
|
220
|
+
font-family: inherit;
|
|
221
|
+
font-size: 10px;
|
|
222
|
+
font-style: normal;
|
|
223
|
+
font-weight: 600;
|
|
224
|
+
line-height: 130%;
|
|
225
|
+
letter-spacing: 0.6px;
|
|
226
|
+
text-transform: uppercase;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.L6 {
|
|
230
|
+
font-family: inherit;
|
|
231
|
+
font-size: 14px;
|
|
232
|
+
font-style: normal;
|
|
233
|
+
font-weight: 600;
|
|
234
|
+
line-height: 130%;
|
|
235
|
+
letter-spacing: 0.84px;
|
|
236
|
+
text-transform: uppercase;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* ── Paragraph Scale (P1–P7) ───────────────────────────────────── */
|
|
240
|
+
/* NOTE: P2 (0.36px tracking) and B5-Reg (0.32px tracking) are near-identical
|
|
241
|
+
at 16px/140%. P2 is for paragraph blocks, B5-Reg for inline body text. */
|
|
242
|
+
|
|
243
|
+
.P1 {
|
|
244
|
+
font-family: inherit;
|
|
245
|
+
font-size: 18px;
|
|
246
|
+
font-style: normal;
|
|
247
|
+
font-weight: 400;
|
|
248
|
+
line-height: 140%;
|
|
249
|
+
letter-spacing: 0.36px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.P2 {
|
|
253
|
+
font-family: inherit;
|
|
254
|
+
font-size: 16px;
|
|
255
|
+
font-style: normal;
|
|
256
|
+
font-weight: 400;
|
|
257
|
+
line-height: 140%;
|
|
258
|
+
letter-spacing: 0.36px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.P3 {
|
|
262
|
+
font-family: inherit;
|
|
263
|
+
font-size: 14px;
|
|
264
|
+
font-style: normal;
|
|
265
|
+
font-weight: 400;
|
|
266
|
+
line-height: 140%;
|
|
267
|
+
letter-spacing: 0.36px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.P4 {
|
|
271
|
+
font-family: inherit;
|
|
272
|
+
font-size: 12px;
|
|
273
|
+
font-style: normal;
|
|
274
|
+
font-weight: 400;
|
|
275
|
+
line-height: 140%;
|
|
276
|
+
letter-spacing: 0.36px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.P5 {
|
|
280
|
+
font-family: inherit;
|
|
281
|
+
font-size: 16px;
|
|
282
|
+
font-style: normal;
|
|
283
|
+
font-weight: 400;
|
|
284
|
+
line-height: 140%;
|
|
285
|
+
letter-spacing: 0.16px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.P6 {
|
|
289
|
+
font-family: inherit;
|
|
290
|
+
font-size: 18px;
|
|
291
|
+
font-style: normal;
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
line-height: 140%;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.P7 {
|
|
297
|
+
font-family: inherit;
|
|
298
|
+
font-size: 14px;
|
|
299
|
+
font-style: normal;
|
|
300
|
+
font-weight: 400;
|
|
301
|
+
line-height: 140%;
|
|
302
|
+
letter-spacing: 0.14px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* ── Weight Modifier ────────────────────────────────────────────── */
|
|
306
|
+
|
|
307
|
+
.semibold {
|
|
308
|
+
font-weight: 600;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* ── Responsive Overrides ───────────────────────────────────────── */
|
|
312
|
+
|
|
313
|
+
@media (max-width: 767px) {
|
|
314
|
+
.T5-Reg {
|
|
315
|
+
font-size: 16px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* ── Prose Styles (Devsabha AI Insights) ────────────────────────── */
|
|
320
|
+
|
|
321
|
+
.prose-devsabha {
|
|
322
|
+
font-family: 'Ranade', sans-serif;
|
|
323
|
+
font-size: 14px;
|
|
324
|
+
line-height: 1.6;
|
|
325
|
+
color: var(--color-text-secondary);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.prose-devsabha h1,
|
|
329
|
+
.prose-devsabha h2,
|
|
330
|
+
.prose-devsabha h3,
|
|
331
|
+
.prose-devsabha h4 {
|
|
332
|
+
font-family: 'Ranade', sans-serif;
|
|
333
|
+
font-weight: 600;
|
|
334
|
+
color: var(--color-text-primary);
|
|
335
|
+
margin-top: 1em;
|
|
336
|
+
margin-bottom: 0.5em;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.prose-devsabha h1 { font-size: 18px; }
|
|
340
|
+
.prose-devsabha h2 { font-size: 16px; }
|
|
341
|
+
.prose-devsabha h3 { font-size: 14px; }
|
|
342
|
+
.prose-devsabha h4 { font-size: 14px; }
|
|
343
|
+
|
|
344
|
+
.prose-devsabha p {
|
|
345
|
+
margin-bottom: 0.5em;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.prose-devsabha ul {
|
|
349
|
+
list-style-type: disc;
|
|
350
|
+
padding-left: 1.5em;
|
|
351
|
+
margin-bottom: 0.5em;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.prose-devsabha ol {
|
|
355
|
+
list-style-type: decimal;
|
|
356
|
+
padding-left: 1.5em;
|
|
357
|
+
margin-bottom: 0.5em;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.prose-devsabha li {
|
|
361
|
+
margin-bottom: 0.25em;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.prose-devsabha strong {
|
|
365
|
+
font-weight: 600;
|
|
366
|
+
color: var(--color-text-primary);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.prose-devsabha em {
|
|
370
|
+
font-style: italic;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.prose-devsabha code {
|
|
374
|
+
font-size: 12px;
|
|
375
|
+
background: var(--color-layer-03);
|
|
376
|
+
border-radius: 4px;
|
|
377
|
+
padding: 0.15em 0.4em;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.prose-devsabha blockquote {
|
|
381
|
+
border-left: 3px solid var(--color-border-strong);
|
|
382
|
+
padding-left: 1em;
|
|
383
|
+
margin: 0.5em 0;
|
|
384
|
+
color: var(--color-text-tertiary);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.prose-devsabha *:first-child {
|
|
388
|
+
margin-top: 0;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.prose-devsabha *:last-child {
|
|
392
|
+
margin-bottom: 0;
|
|
393
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@primitives/react-accordion';
|
|
3
|
+
/**
|
|
4
|
+
* Accordion compound component — vertically stacked, collapsible content sections.
|
|
5
|
+
*
|
|
6
|
+
* **Parts (in composition order):**
|
|
7
|
+
* - `Accordion` — root; controls single vs. multiple open panels (this root)
|
|
8
|
+
* - `AccordionItem` — individual collapsible section (requires `value` prop)
|
|
9
|
+
* - `AccordionTrigger` — the clickable header row (chevron icon auto-renders and rotates)
|
|
10
|
+
* - `AccordionContent` — the collapsible body revealed when the item is open
|
|
11
|
+
*
|
|
12
|
+
* **`type` prop (required on root):**
|
|
13
|
+
* - `"single"` — only one panel open at a time; supports `collapsible` prop to re-close the active item
|
|
14
|
+
* - `"multiple"` — multiple panels open simultaneously (value is `string[]`); `collapsible` is NOT valid here
|
|
15
|
+
*
|
|
16
|
+
* @compound
|
|
17
|
+
* @example
|
|
18
|
+
* // Single-open FAQ accordion:
|
|
19
|
+
* <Accordion type="single" defaultValue="item-1" collapsible>
|
|
20
|
+
* <AccordionItem value="item-1">
|
|
21
|
+
* <AccordionTrigger>What is Shilp Sutra?</AccordionTrigger>
|
|
22
|
+
* <AccordionContent>
|
|
23
|
+
* A React design system built for Next.js App Router, with full accessibility baked in.
|
|
24
|
+
* </AccordionContent>
|
|
25
|
+
* </AccordionItem>
|
|
26
|
+
* <AccordionItem value="item-2">
|
|
27
|
+
* <AccordionTrigger>Is dark mode supported?</AccordionTrigger>
|
|
28
|
+
* <AccordionContent>
|
|
29
|
+
* Yes — add the <code>.dark</code> class to the root element to activate it.
|
|
30
|
+
* </AccordionContent>
|
|
31
|
+
* </AccordionItem>
|
|
32
|
+
* </Accordion>
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* // Multiple-open controlled accordion:
|
|
36
|
+
* const [open, setOpen] = useState<string[]>(['billing'])
|
|
37
|
+
* <Accordion type="multiple" value={open} onValueChange={setOpen}>
|
|
38
|
+
* <AccordionItem value="billing">
|
|
39
|
+
* <AccordionTrigger>Billing</AccordionTrigger>
|
|
40
|
+
* <AccordionContent>Your billing details here.</AccordionContent>
|
|
41
|
+
* </AccordionItem>
|
|
42
|
+
* <AccordionItem value="security">
|
|
43
|
+
* <AccordionTrigger>Security</AccordionTrigger>
|
|
44
|
+
* <AccordionContent>Security settings here.</AccordionContent>
|
|
45
|
+
* </AccordionItem>
|
|
46
|
+
* </Accordion>
|
|
47
|
+
*/
|
|
48
|
+
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
51
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
53
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/ui/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,6BAA6B,CAAA;AAKjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC,QAAA,MAAM,aAAa,iKASjB,CAAA;AAGF,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { Root as m, Content as n, Item as l, Header as f, Trigger as d } from "../primitives/react-accordion.js";
|
|
4
|
+
import { IconChevronDown as p } from "@tabler/icons-react";
|
|
5
|
+
import { cn as i } from "./lib/utils.js";
|
|
6
|
+
const h = m, u = s.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
7
|
+
l,
|
|
8
|
+
{
|
|
9
|
+
ref: t,
|
|
10
|
+
className: i("border-b border-border-subtle", e),
|
|
11
|
+
...o
|
|
12
|
+
}
|
|
13
|
+
));
|
|
14
|
+
u.displayName = "AccordionItem";
|
|
15
|
+
const x = s.forwardRef(({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(f, { className: "flex", children: /* @__PURE__ */ c(
|
|
16
|
+
d,
|
|
17
|
+
{
|
|
18
|
+
ref: a,
|
|
19
|
+
className: i(
|
|
20
|
+
"flex flex-1 items-center justify-between py-ds-05 text-left text-ds-md font-medium transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus [&[data-state=open]>svg]:rotate-180",
|
|
21
|
+
e
|
|
22
|
+
),
|
|
23
|
+
...t,
|
|
24
|
+
children: [
|
|
25
|
+
o,
|
|
26
|
+
/* @__PURE__ */ r(p, { className: "h-ico-sm w-ico-sm shrink-0 text-text-secondary transition-transform duration-moderate-02" })
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
) }));
|
|
30
|
+
x.displayName = d.displayName;
|
|
31
|
+
const N = s.forwardRef(({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(
|
|
32
|
+
n,
|
|
33
|
+
{
|
|
34
|
+
ref: a,
|
|
35
|
+
className: "transition-all duration-moderate-02 ease-productive-standard data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down w-full overflow-hidden text-ds-md",
|
|
36
|
+
...t,
|
|
37
|
+
children: /* @__PURE__ */ r("div", { className: i("pb-ds-05 pt-0", e), children: o })
|
|
38
|
+
}
|
|
39
|
+
));
|
|
40
|
+
N.displayName = n.displayName;
|
|
41
|
+
export {
|
|
42
|
+
h as Accordion,
|
|
43
|
+
N as AccordionContent,
|
|
44
|
+
u as AccordionItem,
|
|
45
|
+
x as AccordionTrigger
|
|
46
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AlertDialogPrimitive from '@primitives/react-alert-dialog';
|
|
3
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
4
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
21
|
+
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/ui/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;AAItE,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAetB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,gBAAgB,8KAYpB,CAAA;AAGF,QAAA,MAAM,sBAAsB,wLAS1B,CAAA;AAIF,QAAA,MAAM,iBAAiB,6KAYrB,CAAA;AAGF,QAAA,MAAM,iBAAiB,6KAYrB,CAAA;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { Root as g, Portal as x, Trigger as y, Action as l, Cancel as r, Content as d, Description as n, Overlay as c, Title as m } from "../primitives/react-alert-dialog.js";
|
|
4
|
+
import { cn as s } from "./lib/utils.js";
|
|
5
|
+
const C = g, z = y, b = x, f = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
6
|
+
c,
|
|
7
|
+
{
|
|
8
|
+
ref: a,
|
|
9
|
+
className: s(
|
|
10
|
+
"fixed inset-0 z-modal bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
11
|
+
e
|
|
12
|
+
),
|
|
13
|
+
...t
|
|
14
|
+
}
|
|
15
|
+
));
|
|
16
|
+
f.displayName = c.displayName;
|
|
17
|
+
const u = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ p(b, { children: [
|
|
18
|
+
/* @__PURE__ */ o(f, {}),
|
|
19
|
+
/* @__PURE__ */ o(
|
|
20
|
+
d,
|
|
21
|
+
{
|
|
22
|
+
ref: a,
|
|
23
|
+
className: s(
|
|
24
|
+
"fixed left-[50%] top-[50%] z-modal grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-ds-05 border border-border bg-layer-01 p-ds-06 shadow-04 rounded-ds-xl duration-moderate-02 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
25
|
+
e
|
|
26
|
+
),
|
|
27
|
+
...t
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
] }));
|
|
31
|
+
u.displayName = d.displayName;
|
|
32
|
+
const v = ({
|
|
33
|
+
className: e,
|
|
34
|
+
...t
|
|
35
|
+
}) => /* @__PURE__ */ o(
|
|
36
|
+
"div",
|
|
37
|
+
{
|
|
38
|
+
className: s(
|
|
39
|
+
"flex flex-col space-y-ds-02b text-center sm:text-left",
|
|
40
|
+
e
|
|
41
|
+
),
|
|
42
|
+
...t
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
v.displayName = "AlertDialogHeader";
|
|
46
|
+
const N = ({
|
|
47
|
+
className: e,
|
|
48
|
+
...t
|
|
49
|
+
}) => /* @__PURE__ */ o(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: s(
|
|
53
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03",
|
|
54
|
+
e
|
|
55
|
+
),
|
|
56
|
+
...t
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
N.displayName = "AlertDialogFooter";
|
|
60
|
+
const D = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
61
|
+
m,
|
|
62
|
+
{
|
|
63
|
+
ref: a,
|
|
64
|
+
className: s(
|
|
65
|
+
"text-ds-lg font-semibold",
|
|
66
|
+
e
|
|
67
|
+
),
|
|
68
|
+
...t
|
|
69
|
+
}
|
|
70
|
+
));
|
|
71
|
+
D.displayName = m.displayName;
|
|
72
|
+
const A = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
73
|
+
n,
|
|
74
|
+
{
|
|
75
|
+
ref: a,
|
|
76
|
+
className: s("text-ds-md text-text-secondary", e),
|
|
77
|
+
...t
|
|
78
|
+
}
|
|
79
|
+
));
|
|
80
|
+
A.displayName = n.displayName;
|
|
81
|
+
const w = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
82
|
+
l,
|
|
83
|
+
{
|
|
84
|
+
ref: a,
|
|
85
|
+
className: s(
|
|
86
|
+
"inline-flex h-ds-md items-center justify-center rounded-ds-md px-ds-05 text-ds-md font-semibold transition-colors bg-interactive text-text-on-color hover:bg-interactive-hover active:bg-interactive-active shadow-01 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[0.38]",
|
|
87
|
+
e
|
|
88
|
+
),
|
|
89
|
+
...t
|
|
90
|
+
}
|
|
91
|
+
));
|
|
92
|
+
w.displayName = l.displayName;
|
|
93
|
+
const h = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
94
|
+
r,
|
|
95
|
+
{
|
|
96
|
+
ref: a,
|
|
97
|
+
className: s(
|
|
98
|
+
"inline-flex h-ds-md items-center justify-center rounded-ds-md px-ds-05 text-ds-md font-semibold transition-colors bg-transparent text-text-secondary border border-border hover:bg-layer-02 hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[0.38]",
|
|
99
|
+
e
|
|
100
|
+
),
|
|
101
|
+
...t
|
|
102
|
+
}
|
|
103
|
+
));
|
|
104
|
+
h.displayName = r.displayName;
|
|
105
|
+
export {
|
|
106
|
+
C as AlertDialog,
|
|
107
|
+
w as AlertDialogAction,
|
|
108
|
+
h as AlertDialogCancel,
|
|
109
|
+
u as AlertDialogContent,
|
|
110
|
+
A as AlertDialogDescription,
|
|
111
|
+
N as AlertDialogFooter,
|
|
112
|
+
v as AlertDialogHeader,
|
|
113
|
+
f as AlertDialogOverlay,
|
|
114
|
+
b as AlertDialogPortal,
|
|
115
|
+
D as AlertDialogTitle,
|
|
116
|
+
z as AlertDialogTrigger
|
|
117
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const alertVariants: (props?: ({
|
|
4
|
+
variant?: "error" | "warning" | "success" | "info" | "neutral" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
/**
|
|
7
|
+
* Props for Alert — an inline message block with a colored icon, optional title, optional body,
|
|
8
|
+
* and an optional dismiss button. Renders with `role="alert"` for screen reader announcements.
|
|
9
|
+
*
|
|
10
|
+
* **Variants:** `info` (default, blue tones) | `success` | `warning` | `error` | `neutral`
|
|
11
|
+
* The matching icon (info circle, checkmark, triangle, alert circle) is auto-selected by variant.
|
|
12
|
+
*
|
|
13
|
+
* **Alert vs Banner:** Alert is inline (inside page content). Banner is a full-width notification
|
|
14
|
+
* strip rendered at the top of a page/section (see `<Banner>`).
|
|
15
|
+
*
|
|
16
|
+
* **Dismissible:** Provide `onDismiss` to show an × button. Absence of the prop = non-dismissible.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // Informational tip inside a settings form:
|
|
20
|
+
* <Alert title="Tip" variant="info">
|
|
21
|
+
* Changes take effect after you save and reload the page.
|
|
22
|
+
* </Alert>
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* // Error feedback after a failed API call (dismissible):
|
|
26
|
+
* <Alert variant="error" title="Save failed" onDismiss={() => setError(null)}>
|
|
27
|
+
* Your changes could not be saved. Please try again.
|
|
28
|
+
* </Alert>
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* // Success confirmation after publishing:
|
|
32
|
+
* <Alert variant="success" title="Published!">
|
|
33
|
+
* Your post is now live and visible to all subscribers.
|
|
34
|
+
* </Alert>
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* // Neutral inline note (no colored intent):
|
|
38
|
+
* <Alert variant="neutral">This field is auto-populated from your profile.</Alert>
|
|
39
|
+
* // These are just a few ways — feel free to combine props creatively!
|
|
40
|
+
*/
|
|
41
|
+
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
42
|
+
title?: string;
|
|
43
|
+
onDismiss?: () => void;
|
|
44
|
+
}
|
|
45
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
export { Alert, alertVariants };
|
|
47
|
+
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/ui/alert.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,mFAwBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|