@nqlib/nqui 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -3
- package/dist/button-CYFTFDKe.cjs +1 -0
- package/dist/button-nJvDl3w8.js +44 -0
- package/dist/calendar.cjs.js +1 -0
- package/dist/calendar.es.js +6 -0
- package/dist/carousel-DEyyJi49.js +179 -0
- package/dist/carousel-Dhhz8m5V.cjs +1 -0
- package/dist/carousel.cjs.js +1 -0
- package/dist/carousel.es.js +8 -0
- package/dist/command-palette-UHk8zZOg.cjs +45 -0
- package/dist/command-palette-d-TrdBsM.js +1778 -0
- package/dist/command.cjs.js +1 -0
- package/dist/command.es.js +13 -0
- package/dist/components/custom/color-picker.d.ts.map +1 -1
- package/dist/components/custom/command-palette.d.ts.map +1 -1
- package/dist/components/custom/enhanced-checkbox.d.ts +1 -1
- package/dist/components/custom/enhanced-checkbox.d.ts.map +1 -1
- package/dist/components/custom/enhanced-combobox.d.ts +1 -1
- package/dist/components/custom/enhanced-combobox.d.ts.map +1 -1
- package/dist/components/custom/enhanced-radio-group.d.ts.map +1 -1
- package/dist/components/custom/enhanced-scroll-area.d.ts +12 -0
- package/dist/components/custom/enhanced-scroll-area.d.ts.map +1 -1
- package/dist/components/custom/enhanced-tabs.d.ts.map +1 -1
- package/dist/components/debug/debug-panel.d.ts.map +1 -1
- package/dist/components/debug/magnifier.d.ts.map +1 -1
- package/dist/components/debug/ui-tester.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button-group.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/combobox.d.ts +1 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +1 -1
- package/dist/components/ui/separator.d.ts +34 -1
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sidebar.d.ts +1 -1
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +8 -2
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/drawer-BcIxWRN8.cjs +1 -0
- package/dist/drawer-CU4lkcz7.js +119 -0
- package/dist/drawer.cjs.js +1 -0
- package/dist/drawer.es.js +13 -0
- package/dist/enhanced-calendar-5PA8CeF7.cjs +61 -0
- package/dist/enhanced-calendar-BENbxw7_.js +375 -0
- package/dist/entries/calendar.d.ts +9 -0
- package/dist/entries/calendar.d.ts.map +1 -0
- package/dist/entries/carousel.d.ts +7 -0
- package/dist/entries/carousel.d.ts.map +1 -0
- package/dist/entries/command.d.ts +9 -0
- package/dist/entries/command.d.ts.map +1 -0
- package/dist/entries/drawer.d.ts +7 -0
- package/dist/entries/drawer.d.ts.map +1 -0
- package/dist/entries/sonner.d.ts +8 -0
- package/dist/entries/sonner.d.ts.map +1 -0
- package/dist/entries/sortable.d.ts +7 -0
- package/dist/entries/sortable.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +2 -3
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-as-ref.d.ts +1 -1
- package/dist/hooks/use-as-ref.d.ts.map +1 -1
- package/dist/hooks/use-intersection-observer.d.ts +13 -0
- package/dist/hooks/use-intersection-observer.d.ts.map +1 -0
- package/dist/index.d.ts +13 -37
- package/dist/index.d.ts.map +1 -1
- package/dist/keyboard-BapbM2wb.cjs +1 -0
- package/dist/keyboard-pkY42Y3a.js +39 -0
- package/dist/nqui.cjs.js +171 -802
- package/dist/nqui.es.js +15299 -72452
- package/dist/sonner-Co6YpYVs.js +546 -0
- package/dist/sonner-DbQhVp8m.cjs +330 -0
- package/dist/sonner.cjs.js +1 -0
- package/dist/sonner.es.js +6 -0
- package/dist/sortable-Cj3cdxGc.cjs +5 -0
- package/dist/sortable-wG_cXiUk.js +366 -0
- package/dist/sortable.cjs.js +1 -0
- package/dist/sortable.es.js +8 -0
- package/dist/styles.css +21 -17
- package/dist/utils-B6yFEsav.js +8 -0
- package/dist/utils-IjLH3w2e.cjs +1 -0
- package/docs/components/README.md +309 -0
- package/docs/components/nqui-accordion.md +20 -0
- package/docs/components/nqui-alert-dialog.md +31 -0
- package/docs/components/nqui-alert.md +19 -0
- package/docs/components/nqui-aspect-ratio.md +17 -0
- package/docs/components/nqui-avatar.md +18 -0
- package/docs/components/nqui-badge.md +42 -0
- package/docs/components/nqui-breadcrumb.md +24 -0
- package/docs/components/nqui-button-group.md +50 -0
- package/docs/components/nqui-button.md +56 -0
- package/docs/components/nqui-calendar.md +46 -0
- package/docs/components/nqui-card.md +31 -0
- package/docs/components/nqui-carousel.md +22 -0
- package/docs/components/nqui-checkbox.md +34 -0
- package/docs/components/nqui-code-block.md +41 -0
- package/docs/components/nqui-code-editor.md +21 -0
- package/docs/components/nqui-collapsible.md +18 -0
- package/docs/components/nqui-color-picker.md +38 -0
- package/docs/components/nqui-color-slider.md +23 -0
- package/docs/components/nqui-combobox.md +73 -0
- package/docs/components/nqui-command-palette.md +29 -0
- package/docs/components/nqui-command.md +39 -0
- package/docs/components/nqui-context-menu.md +33 -0
- package/docs/components/nqui-data-table.md +46 -0
- package/docs/components/nqui-dialog.md +36 -0
- package/docs/components/nqui-drawer.md +27 -0
- package/docs/components/nqui-dropdown-menu.md +56 -0
- package/docs/components/nqui-empty.md +22 -0
- package/docs/components/nqui-field.md +42 -0
- package/docs/components/nqui-frosted-glass.md +19 -0
- package/docs/components/nqui-hover-card.md +18 -0
- package/docs/components/nqui-input-group.md +30 -0
- package/docs/components/nqui-input-otp.md +23 -0
- package/docs/components/nqui-input.md +25 -0
- package/docs/components/nqui-item.md +25 -0
- package/docs/components/nqui-kbd.md +25 -0
- package/docs/components/nqui-label.md +16 -0
- package/docs/components/nqui-logo.md +16 -0
- package/docs/components/nqui-menubar.md +22 -0
- package/docs/components/nqui-native-select.md +28 -0
- package/docs/components/nqui-navigation-menu.md +25 -0
- package/docs/components/nqui-pagination.md +25 -0
- package/docs/components/nqui-popover.md +34 -0
- package/docs/components/nqui-progress.md +22 -0
- package/docs/components/nqui-radio-group.md +42 -0
- package/docs/components/nqui-rating.md +35 -0
- package/docs/components/nqui-resizable.md +23 -0
- package/docs/components/nqui-sandbox.md +27 -0
- package/docs/components/nqui-scroll-area.md +32 -0
- package/docs/components/nqui-select.md +53 -0
- package/docs/components/nqui-separator.md +48 -0
- package/docs/components/nqui-sheet.md +27 -0
- package/docs/components/nqui-sidebar.md +45 -0
- package/docs/components/nqui-skeleton.md +15 -0
- package/docs/components/nqui-slider.md +16 -0
- package/docs/components/nqui-snippet.md +28 -0
- package/docs/components/nqui-sortable.md +46 -0
- package/docs/components/nqui-spinner.md +16 -0
- package/docs/components/nqui-switch.md +15 -0
- package/docs/components/nqui-table-of-contents.md +37 -0
- package/docs/components/nqui-table.md +43 -0
- package/docs/components/nqui-tabs.md +35 -0
- package/docs/components/nqui-textarea.md +15 -0
- package/docs/components/nqui-toaster.md +44 -0
- package/docs/components/nqui-toggle-group.md +65 -0
- package/docs/components/nqui-toggle.md +38 -0
- package/docs/components/nqui-tooltip.md +24 -0
- package/docs/components/nqui-tracker.md +38 -0
- package/docs/internal-notes/APP_BUILDER_PACKAGE.md +86 -0
- package/docs/internal-notes/BUILD_VERIFICATION.md +174 -0
- package/docs/internal-notes/DASHBOARD_LAYOUT_DESIGN.md +1429 -0
- package/docs/internal-notes/FROSTED_GLASS_FIX.md +50 -0
- package/docs/internal-notes/INSTALLATION.md +274 -0
- package/docs/internal-notes/PEER_DEPENDENCIES.md +105 -0
- package/docs/internal-notes/PUBLISHING.md +411 -0
- package/docs/internal-notes/SKILLS-ARCHITECTURE.md +105 -0
- package/docs/internal-notes/layoutdesign.md +616 -0
- package/docs/internal-notes/progress.md +348 -0
- package/docs/internal-notes/stacked-avatar-implementation.md +38 -0
- package/package.json +104 -17
- package/scripts/cli.js +44 -0
- package/scripts/help.js +1 -0
- package/scripts/init-css.js +15 -0
- package/scripts/init-cursor.js +169 -0
- package/scripts/install-peers.js +43 -0
- package/scripts/peer-deps.js +27 -0
- package/scripts/post-install.js +73 -0
- package/scripts/publish-npmjs.js +17 -3
- package/scripts/resolve-target-dir.js +99 -0
- package/scripts/skill-templates.js +109 -0
- package/INSTALLATION.md +0 -221
- package/dist/App.d.ts +0 -3
- package/dist/App.d.ts.map +0 -1
- package/dist/assets/svg/auth-lines.d.ts +0 -4
- package/dist/assets/svg/auth-lines.d.ts.map +0 -1
- package/dist/assets/svg/logo.d.ts +0 -4
- package/dist/assets/svg/logo.d.ts.map +0 -1
- package/dist/components/AppLayout.d.ts +0 -5
- package/dist/components/AppLayout.d.ts.map +0 -1
- package/dist/components/app-builder/AppBuilder.d.ts +0 -15
- package/dist/components/app-builder/AppBuilder.d.ts.map +0 -1
- package/dist/components/app-builder/context/app-builder-context.d.ts +0 -31
- package/dist/components/app-builder/context/app-builder-context.d.ts.map +0 -1
- package/dist/components/app-builder/core/AlignmentToolbar.d.ts +0 -5
- package/dist/components/app-builder/core/AlignmentToolbar.d.ts.map +0 -1
- package/dist/components/app-builder/core/AppCanvas.d.ts +0 -9
- package/dist/components/app-builder/core/AppCanvas.d.ts.map +0 -1
- package/dist/components/app-builder/core/CanvasToolbar.d.ts +0 -7
- package/dist/components/app-builder/core/CanvasToolbar.d.ts.map +0 -1
- package/dist/components/app-builder/core/DraggableWidget.d.ts +0 -12
- package/dist/components/app-builder/core/DraggableWidget.d.ts.map +0 -1
- package/dist/components/app-builder/core/WidgetConfigurator.d.ts +0 -6
- package/dist/components/app-builder/core/WidgetConfigurator.d.ts.map +0 -1
- package/dist/components/app-builder/core/WidgetPalette.d.ts +0 -6
- package/dist/components/app-builder/core/WidgetPalette.d.ts.map +0 -1
- package/dist/components/app-builder/core/WidgetRenderer.d.ts +0 -3
- package/dist/components/app-builder/core/WidgetRenderer.d.ts.map +0 -1
- package/dist/components/app-builder/core/index.d.ts +0 -8
- package/dist/components/app-builder/core/index.d.ts.map +0 -1
- package/dist/components/app-builder/essentials/button.d.ts +0 -3
- package/dist/components/app-builder/essentials/button.d.ts.map +0 -1
- package/dist/components/app-builder/essentials/container.d.ts +0 -3
- package/dist/components/app-builder/essentials/container.d.ts.map +0 -1
- package/dist/components/app-builder/essentials/index.d.ts +0 -3
- package/dist/components/app-builder/essentials/index.d.ts.map +0 -1
- package/dist/components/app-builder/hooks/index.d.ts +0 -3
- package/dist/components/app-builder/hooks/index.d.ts.map +0 -1
- package/dist/components/app-builder/hooks/use-app-builder.d.ts +0 -3
- package/dist/components/app-builder/hooks/use-app-builder.d.ts.map +0 -1
- package/dist/components/app-builder/hooks/use-canvas-state.d.ts +0 -24
- package/dist/components/app-builder/hooks/use-canvas-state.d.ts.map +0 -1
- package/dist/components/app-builder/index.d.ts +0 -19
- package/dist/components/app-builder/index.d.ts.map +0 -1
- package/dist/components/app-builder/registry/create-registry.d.ts +0 -10
- package/dist/components/app-builder/registry/create-registry.d.ts.map +0 -1
- package/dist/components/app-builder/registry/default-registry.d.ts +0 -6
- package/dist/components/app-builder/registry/default-registry.d.ts.map +0 -1
- package/dist/components/app-builder/registry/index.d.ts +0 -4
- package/dist/components/app-builder/registry/index.d.ts.map +0 -1
- package/dist/components/app-builder/registry/registry-helpers.d.ts +0 -22
- package/dist/components/app-builder/registry/registry-helpers.d.ts.map +0 -1
- package/dist/components/app-builder/types.d.ts +0 -64
- package/dist/components/app-builder/types.d.ts.map +0 -1
- package/dist/components/app-builder/utils/collision-detection.d.ts +0 -26
- package/dist/components/app-builder/utils/collision-detection.d.ts.map +0 -1
- package/dist/components/app-builder/utils/index.d.ts +0 -2
- package/dist/components/app-builder/utils/index.d.ts.map +0 -1
- package/dist/components/app-sidebar.d.ts +0 -4
- package/dist/components/app-sidebar.d.ts.map +0 -1
- package/dist/components/blocks/chart-compositions/chart-composition-01.d.ts +0 -2
- package/dist/components/blocks/chart-compositions/chart-composition-01.d.ts.map +0 -1
- package/dist/components/blocks/chart-compositions/chart-composition-02.d.ts +0 -2
- package/dist/components/blocks/chart-compositions/chart-composition-02.d.ts.map +0 -1
- package/dist/components/blocks/chart-compositions/chart-composition-03.d.ts +0 -2
- package/dist/components/blocks/chart-compositions/chart-composition-03.d.ts.map +0 -1
- package/dist/components/blocks/chart-compositions/index.d.ts +0 -4
- package/dist/components/blocks/chart-compositions/index.d.ts.map +0 -1
- package/dist/components/blocks/index.d.ts +0 -3
- package/dist/components/blocks/index.d.ts.map +0 -1
- package/dist/components/blocks/tables/index.d.ts +0 -4
- package/dist/components/blocks/tables/index.d.ts.map +0 -1
- package/dist/components/blocks/tables/table-01.d.ts +0 -2
- package/dist/components/blocks/tables/table-01.d.ts.map +0 -1
- package/dist/components/blocks/tables/table-02.d.ts +0 -2
- package/dist/components/blocks/tables/table-02.d.ts.map +0 -1
- package/dist/components/blocks/tables/table-03.d.ts +0 -2
- package/dist/components/blocks/tables/table-03.d.ts.map +0 -1
- package/dist/components/chart/area-chart/AreaChart.d.ts +0 -57
- package/dist/components/chart/area-chart/AreaChart.d.ts.map +0 -1
- package/dist/components/chart/area-chart/index.d.ts +0 -3
- package/dist/components/chart/area-chart/index.d.ts.map +0 -1
- package/dist/components/chart/bar-chart/BarChart.d.ts +0 -62
- package/dist/components/chart/bar-chart/BarChart.d.ts.map +0 -1
- package/dist/components/chart/bar-chart/index.d.ts +0 -3
- package/dist/components/chart/bar-chart/index.d.ts.map +0 -1
- package/dist/components/chart/bar-list/BarList.d.ts +0 -23
- package/dist/components/chart/bar-list/BarList.d.ts.map +0 -1
- package/dist/components/chart/bar-list/index.d.ts +0 -3
- package/dist/components/chart/bar-list/index.d.ts.map +0 -1
- package/dist/components/chart/category-bar/CategoryBar.d.ts +0 -15
- package/dist/components/chart/category-bar/CategoryBar.d.ts.map +0 -1
- package/dist/components/chart/category-bar/index.d.ts +0 -3
- package/dist/components/chart/category-bar/index.d.ts.map +0 -1
- package/dist/components/chart/combo-chart/ComboChart.d.ts +0 -67
- package/dist/components/chart/combo-chart/ComboChart.d.ts.map +0 -1
- package/dist/components/chart/combo-chart/index.d.ts +0 -3
- package/dist/components/chart/combo-chart/index.d.ts.map +0 -1
- package/dist/components/chart/donut-chart/DonutChart.d.ts +0 -37
- package/dist/components/chart/donut-chart/DonutChart.d.ts.map +0 -1
- package/dist/components/chart/donut-chart/index.d.ts +0 -3
- package/dist/components/chart/donut-chart/index.d.ts.map +0 -1
- package/dist/components/chart/index.d.ts +0 -19
- package/dist/components/chart/index.d.ts.map +0 -1
- package/dist/components/chart/line-chart/LineChart.d.ts +0 -55
- package/dist/components/chart/line-chart/LineChart.d.ts.map +0 -1
- package/dist/components/chart/line-chart/index.d.ts +0 -3
- package/dist/components/chart/line-chart/index.d.ts.map +0 -1
- package/dist/components/chart/progress-circle/ProgressCircle.d.ts +0 -92
- package/dist/components/chart/progress-circle/ProgressCircle.d.ts.map +0 -1
- package/dist/components/chart/progress-circle/index.d.ts +0 -3
- package/dist/components/chart/progress-circle/index.d.ts.map +0 -1
- package/dist/components/chart/spark-chart/SparkChart.d.ts +0 -40
- package/dist/components/chart/spark-chart/SparkChart.d.ts.map +0 -1
- package/dist/components/chart/spark-chart/index.d.ts +0 -3
- package/dist/components/chart/spark-chart/index.d.ts.map +0 -1
- package/dist/components/component-example.d.ts +0 -2
- package/dist/components/component-example.d.ts.map +0 -1
- package/dist/components/custom/enhanced-separator.d.ts +0 -36
- package/dist/components/custom/enhanced-separator.d.ts.map +0 -1
- package/dist/components/custom/segmented-control.d.ts +0 -48
- package/dist/components/custom/segmented-control.d.ts.map +0 -1
- package/dist/components/example.d.ts +0 -7
- package/dist/components/example.d.ts.map +0 -1
- package/dist/components/login-form.d.ts +0 -2
- package/dist/components/login-form.d.ts.map +0 -1
- package/dist/components/nav-user.d.ts +0 -8
- package/dist/components/nav-user.d.ts.map +0 -1
- package/dist/components/pm/gantt/contexts.d.ts +0 -13
- package/dist/components/pm/gantt/contexts.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-columns.d.ts +0 -7
- package/dist/components/pm/gantt/gantt-columns.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-demo.d.ts +0 -2
- package/dist/components/pm/gantt/gantt-demo.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-dependencies.d.ts +0 -23
- package/dist/components/pm/gantt/gantt-dependencies.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-features.d.ts +0 -9
- package/dist/components/pm/gantt/gantt-features.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-header.d.ts +0 -5
- package/dist/components/pm/gantt/gantt-header.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-markers.d.ts +0 -11
- package/dist/components/pm/gantt/gantt-markers.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-modals.d.ts +0 -5
- package/dist/components/pm/gantt/gantt-modals.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-provider.d.ts +0 -5
- package/dist/components/pm/gantt/gantt-provider.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-setting-modal.d.ts +0 -4
- package/dist/components/pm/gantt/gantt-setting-modal.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-sidebar.d.ts +0 -7
- package/dist/components/pm/gantt/gantt-sidebar.d.ts.map +0 -1
- package/dist/components/pm/gantt/gantt-toolbar.d.ts +0 -29
- package/dist/components/pm/gantt/gantt-toolbar.d.ts.map +0 -1
- package/dist/components/pm/gantt/index.d.ts +0 -16
- package/dist/components/pm/gantt/index.d.ts.map +0 -1
- package/dist/components/pm/gantt/types.d.ts +0 -299
- package/dist/components/pm/gantt/types.d.ts.map +0 -1
- package/dist/components/pm/gantt/utils.d.ts +0 -29
- package/dist/components/pm/gantt/utils.d.ts.map +0 -1
- package/dist/components/pm/index.d.ts +0 -13
- package/dist/components/pm/index.d.ts.map +0 -1
- package/dist/components/pm/mockdata.d.ts +0 -13
- package/dist/components/pm/mockdata.d.ts.map +0 -1
- package/dist/components/pm/pm-column-templates.d.ts +0 -30
- package/dist/components/pm/pm-column-templates.d.ts.map +0 -1
- package/dist/components/pm/pm-data-utils.d.ts +0 -82
- package/dist/components/pm/pm-data-utils.d.ts.map +0 -1
- package/dist/components/pm/pm-definition.d.ts +0 -75
- package/dist/components/pm/pm-definition.d.ts.map +0 -1
- package/dist/components/pm/pm-theme-context.d.ts +0 -17
- package/dist/components/pm/pm-theme-context.d.ts.map +0 -1
- package/dist/components/pm/pm-types.d.ts +0 -81
- package/dist/components/pm/pm-types.d.ts.map +0 -1
- package/dist/components/pm/project-table-view.d.ts +0 -17
- package/dist/components/pm/project-table-view.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-cell-variants.d.ts +0 -14
- package/dist/components/pm/table/data-grid-cell-variants.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-cell-wrapper.d.ts +0 -9
- package/dist/components/pm/table/data-grid-cell-wrapper.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-cell.d.ts +0 -5
- package/dist/components/pm/table/data-grid-cell.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-column-header.d.ts +0 -10
- package/dist/components/pm/table/data-grid-column-header.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-context-menu.d.ts +0 -10
- package/dist/components/pm/table/data-grid-context-menu.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-filter-menu.d.ts +0 -10
- package/dist/components/pm/table/data-grid-filter-menu.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-keyboard-shortcuts.d.ts +0 -12
- package/dist/components/pm/table/data-grid-keyboard-shortcuts.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-paste-dialog.d.ts +0 -9
- package/dist/components/pm/table/data-grid-paste-dialog.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-row-height-menu.d.ts +0 -10
- package/dist/components/pm/table/data-grid-row-height-menu.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-row.d.ts +0 -27
- package/dist/components/pm/table/data-grid-row.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-search.d.ts +0 -8
- package/dist/components/pm/table/data-grid-search.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-select-column.d.ts +0 -11
- package/dist/components/pm/table/data-grid-select-column.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-skeleton.d.ts +0 -12
- package/dist/components/pm/table/data-grid-skeleton.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-sort-menu.d.ts +0 -10
- package/dist/components/pm/table/data-grid-sort-menu.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid-view-menu.d.ts +0 -10
- package/dist/components/pm/table/data-grid-view-menu.d.ts.map +0 -1
- package/dist/components/pm/table/data-grid.d.ts +0 -11
- package/dist/components/pm/table/data-grid.d.ts.map +0 -1
- package/dist/components/shadcn-studio/blocks/login-page-05/login-form.d.ts +0 -3
- package/dist/components/shadcn-studio/blocks/login-page-05/login-form.d.ts.map +0 -1
- package/dist/components/shadcn-studio/blocks/login-page-05/login-page-05.d.ts +0 -3
- package/dist/components/shadcn-studio/blocks/login-page-05/login-page-05.d.ts.map +0 -1
- package/dist/components/shadcn-studio/logo.d.ts +0 -5
- package/dist/components/shadcn-studio/logo.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/app-builder-context.d.ts +0 -16
- package/dist/components/showcase/app-builder/app-builder-context.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/app-canvas.d.ts +0 -11
- package/dist/components/showcase/app-builder/app-canvas.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/widget-configurator.d.ts +0 -10
- package/dist/components/showcase/app-builder/widget-configurator.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/widget-palette.d.ts +0 -6
- package/dist/components/showcase/app-builder/widget-palette.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/widget-registry.d.ts +0 -29
- package/dist/components/showcase/app-builder/widget-registry.d.ts.map +0 -1
- package/dist/components/showcase/app-builder/widget-renderer.d.ts +0 -7
- package/dist/components/showcase/app-builder/widget-renderer.d.ts.map +0 -1
- package/dist/components/table/DataTable.d.ts +0 -71
- package/dist/components/table/DataTable.d.ts.map +0 -1
- package/dist/components/table/Table.d.ts +0 -12
- package/dist/components/table/Table.d.ts.map +0 -1
- package/dist/components/table/data-table-helpers.d.ts +0 -49
- package/dist/components/table/data-table-helpers.d.ts.map +0 -1
- package/dist/components/table/index.d.ts +0 -5
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/theme-toggle.d.ts +0 -2
- package/dist/components/theme-toggle.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -41
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/shadcn-io/code-block/index.d.ts +0 -67
- package/dist/components/ui/shadcn-io/code-block/index.d.ts.map +0 -1
- package/dist/components/ui/shadcn-io/code-block/server.d.ts +0 -10
- package/dist/components/ui/shadcn-io/code-block/server.d.ts.map +0 -1
- package/dist/components/ui/shadcn-io/code-editor/index.d.ts +0 -35
- package/dist/components/ui/shadcn-io/code-editor/index.d.ts.map +0 -1
- package/dist/components/ui/shadcn-io/sandbox/index.d.ts +0 -38
- package/dist/components/ui/shadcn-io/sandbox/index.d.ts.map +0 -1
- package/dist/components/ui/shadcn-io/snippet/index.d.ts +0 -21
- package/dist/components/ui/shadcn-io/snippet/index.d.ts.map +0 -1
- package/dist/hooks/use-chart-highlight.d.ts +0 -43
- package/dist/hooks/use-chart-highlight.d.ts.map +0 -1
- package/dist/hooks/use-data-grid.d.ts +0 -59
- package/dist/hooks/use-data-grid.d.ts.map +0 -1
- package/dist/hooks/use-on-window-resize.d.ts +0 -2
- package/dist/hooks/use-on-window-resize.d.ts.map +0 -1
- package/dist/lib/data-grid-filters.d.ts +0 -29
- package/dist/lib/data-grid-filters.d.ts.map +0 -1
- package/dist/lib/data-grid.d.ts +0 -47
- package/dist/lib/data-grid.d.ts.map +0 -1
- package/dist/main.d.ts +0 -3
- package/dist/main.d.ts.map +0 -1
- package/dist/mockdata/chartData.d.ts +0 -71
- package/dist/mockdata/chartData.d.ts.map +0 -1
- package/dist/mockdata/toc.d.ts +0 -23
- package/dist/mockdata/toc.d.ts.map +0 -1
- package/dist/pages/AppBuilder.d.ts +0 -2
- package/dist/pages/AppBuilder.d.ts.map +0 -1
- package/dist/pages/ChartShowcase.d.ts +0 -2
- package/dist/pages/ChartShowcase.d.ts.map +0 -1
- package/dist/pages/ComponentShowcase.d.ts +0 -2
- package/dist/pages/ComponentShowcase.d.ts.map +0 -1
- package/dist/pages/DataTableShowcase.d.ts +0 -2
- package/dist/pages/DataTableShowcase.d.ts.map +0 -1
- package/dist/pages/Drafts.d.ts +0 -2
- package/dist/pages/Drafts.d.ts.map +0 -1
- package/dist/pages/GanttShowcase.d.ts +0 -2
- package/dist/pages/GanttShowcase.d.ts.map +0 -1
- package/dist/pages/Inbox.d.ts +0 -2
- package/dist/pages/Inbox.d.ts.map +0 -1
- package/dist/pages/Junk.d.ts +0 -2
- package/dist/pages/Junk.d.ts.map +0 -1
- package/dist/pages/Sent.d.ts +0 -2
- package/dist/pages/Sent.d.ts.map +0 -1
- package/dist/pages/Settings.d.ts +0 -2
- package/dist/pages/Settings.d.ts.map +0 -1
- package/dist/pages/Trash.d.ts +0 -2
- package/dist/pages/Trash.d.ts.map +0 -1
- package/dist/pages/gantt-data.d.ts +0 -16
- package/dist/pages/gantt-data.d.ts.map +0 -1
- package/dist/stories/mockData.d.ts +0 -157
- package/dist/stories/mockData.d.ts.map +0 -1
- package/dist/types/data-grid.d.ts +0 -179
- package/dist/types/data-grid.d.ts.map +0 -1
- package/dist/utils/chart-colors.d.ts +0 -62
- package/dist/utils/chart-colors.d.ts.map +0 -1
- package/dist/utils/chart-highlight.d.ts +0 -34
- package/dist/utils/chart-highlight.d.ts.map +0 -1
- package/dist/utils/chart-utils.d.ts +0 -2
- package/dist/utils/chart-utils.d.ts.map +0 -1
- package/dist/utils/focus-ring.d.ts +0 -2
- package/dist/utils/focus-ring.d.ts.map +0 -1
- package/dist/utils/get-y-axis-domain.d.ts +0 -2
- package/dist/utils/get-y-axis-domain.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/index.d.ts.map +0 -1
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useSensors as X, useSensor as O, MouseSensor as Z, TouchSensor as tt, KeyboardSensor as et, closestCorners as ot, closestCenter as L, DndContext as rt, DragOverlay as nt, defaultDropAnimationSideEffects as at } from "@dnd-kit/core";
|
|
3
|
+
import { restrictToParentElement as k, restrictToHorizontalAxis as st, restrictToVerticalAxis as it } from "@dnd-kit/modifiers";
|
|
4
|
+
import { sortableKeyboardCoordinates as ct, horizontalListSortingStrategy as lt, verticalListSortingStrategy as dt, arrayMove as ut, SortableContext as ft, useSortable as mt } from "@dnd-kit/sortable";
|
|
5
|
+
import { CSS as gt } from "@dnd-kit/utilities";
|
|
6
|
+
import { Slot as H } from "@radix-ui/react-slot";
|
|
7
|
+
import * as r from "react";
|
|
8
|
+
import * as bt from "react-dom";
|
|
9
|
+
import { c as _ } from "./utils-B6yFEsav.js";
|
|
10
|
+
function j(o, t) {
|
|
11
|
+
if (typeof o == "function")
|
|
12
|
+
return o(t);
|
|
13
|
+
o != null && typeof o == "object" && (o.current = t);
|
|
14
|
+
}
|
|
15
|
+
function pt(...o) {
|
|
16
|
+
return (t) => {
|
|
17
|
+
let i = !1;
|
|
18
|
+
const c = o.map((a) => {
|
|
19
|
+
const n = j(a, t);
|
|
20
|
+
return !i && typeof n == "function" && (i = !0), n;
|
|
21
|
+
});
|
|
22
|
+
if (i)
|
|
23
|
+
return () => {
|
|
24
|
+
for (let a = 0; a < c.length; a++) {
|
|
25
|
+
const n = c[a];
|
|
26
|
+
typeof n == "function" ? n() : j(o[a], null);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function G(...o) {
|
|
32
|
+
return r.useCallback(pt(...o), o);
|
|
33
|
+
}
|
|
34
|
+
const vt = {
|
|
35
|
+
vertical: {
|
|
36
|
+
modifiers: [it, k],
|
|
37
|
+
strategy: dt,
|
|
38
|
+
collisionDetection: L
|
|
39
|
+
},
|
|
40
|
+
horizontal: {
|
|
41
|
+
modifiers: [st, k],
|
|
42
|
+
strategy: lt,
|
|
43
|
+
collisionDetection: L
|
|
44
|
+
},
|
|
45
|
+
mixed: {
|
|
46
|
+
modifiers: [k],
|
|
47
|
+
strategy: void 0,
|
|
48
|
+
collisionDetection: ot
|
|
49
|
+
}
|
|
50
|
+
}, St = "Sortable", K = "SortableContent", V = "SortableItem", z = "SortableItemHandle", q = "SortableOverlay", U = r.createContext(null);
|
|
51
|
+
function R(o) {
|
|
52
|
+
const t = r.useContext(U);
|
|
53
|
+
if (!t)
|
|
54
|
+
throw new Error(`\`${o}\` must be used within \`${St}\``);
|
|
55
|
+
return t;
|
|
56
|
+
}
|
|
57
|
+
function wt(o) {
|
|
58
|
+
const {
|
|
59
|
+
value: t,
|
|
60
|
+
onValueChange: i,
|
|
61
|
+
collisionDetection: c,
|
|
62
|
+
modifiers: a,
|
|
63
|
+
strategy: n,
|
|
64
|
+
onMove: m,
|
|
65
|
+
orientation: s = "vertical",
|
|
66
|
+
flatCursor: u = !1,
|
|
67
|
+
getItemValue: p,
|
|
68
|
+
accessibility: E,
|
|
69
|
+
onDragStart: v,
|
|
70
|
+
onDragEnd: x,
|
|
71
|
+
onDragCancel: y,
|
|
72
|
+
...I
|
|
73
|
+
} = o, P = r.useId(), [h, C] = r.useState(null), w = X(
|
|
74
|
+
O(Z),
|
|
75
|
+
O(tt),
|
|
76
|
+
O(et, {
|
|
77
|
+
coordinateGetter: ct
|
|
78
|
+
})
|
|
79
|
+
), f = r.useMemo(
|
|
80
|
+
() => vt[s],
|
|
81
|
+
[s]
|
|
82
|
+
), b = r.useCallback(
|
|
83
|
+
(e) => {
|
|
84
|
+
if (typeof e == "object" && !p)
|
|
85
|
+
throw new Error("getItemValue is required when using array of objects");
|
|
86
|
+
return p ? p(e) : e;
|
|
87
|
+
},
|
|
88
|
+
[p]
|
|
89
|
+
), M = r.useMemo(() => t.map((e) => b(e)), [t, b]), A = r.useCallback(
|
|
90
|
+
(e) => {
|
|
91
|
+
v?.(e), !e.activatorEvent.defaultPrevented && C(e.active.id);
|
|
92
|
+
},
|
|
93
|
+
[v]
|
|
94
|
+
), T = r.useCallback(
|
|
95
|
+
(e) => {
|
|
96
|
+
if (x?.(e), e.activatorEvent.defaultPrevented) return;
|
|
97
|
+
const { active: l, over: d } = e;
|
|
98
|
+
if (d && l.id !== d?.id) {
|
|
99
|
+
const S = t.findIndex(
|
|
100
|
+
($) => b($) === l.id
|
|
101
|
+
), D = t.findIndex(
|
|
102
|
+
($) => b($) === d.id
|
|
103
|
+
);
|
|
104
|
+
m ? m({ ...e, activeIndex: S, overIndex: D }) : i?.(ut(t, S, D));
|
|
105
|
+
}
|
|
106
|
+
C(null);
|
|
107
|
+
},
|
|
108
|
+
[t, i, m, b, x]
|
|
109
|
+
), N = r.useCallback(
|
|
110
|
+
(e) => {
|
|
111
|
+
y?.(e), !e.activatorEvent.defaultPrevented && C(null);
|
|
112
|
+
},
|
|
113
|
+
[y]
|
|
114
|
+
), F = r.useMemo(
|
|
115
|
+
() => ({
|
|
116
|
+
onDragStart({ active: e }) {
|
|
117
|
+
return `Grabbed sortable item "${e.id.toString()}". Current position is ${e.data.current?.sortable.index + 1} of ${t.length}. Use arrow keys to move, space to drop.`;
|
|
118
|
+
},
|
|
119
|
+
onDragOver({ active: e, over: l }) {
|
|
120
|
+
if (l) {
|
|
121
|
+
const d = l.data.current?.sortable.index ?? 0, S = e.data.current?.sortable.index ?? 0, D = d > S ? "down" : "up";
|
|
122
|
+
return `Sortable item "${e.id.toString()}" moved ${D} to position ${d + 1} of ${t.length}.`;
|
|
123
|
+
}
|
|
124
|
+
return "Sortable item is no longer over a droppable area. Press escape to cancel.";
|
|
125
|
+
},
|
|
126
|
+
onDragEnd({ active: e, over: l }) {
|
|
127
|
+
const d = e.id.toString();
|
|
128
|
+
if (l) {
|
|
129
|
+
const S = l.data.current?.sortable.index ?? 0;
|
|
130
|
+
return `Sortable item "${d}" dropped at position ${S + 1} of ${t.length}.`;
|
|
131
|
+
}
|
|
132
|
+
return `Sortable item "${d}" dropped. No changes were made.`;
|
|
133
|
+
},
|
|
134
|
+
onDragCancel({ active: e }) {
|
|
135
|
+
const l = e.data.current?.sortable.index ?? 0;
|
|
136
|
+
return `Sorting cancelled. Sortable item "${e.id.toString()}" returned to position ${l + 1} of ${t.length}.`;
|
|
137
|
+
},
|
|
138
|
+
onDragMove({ active: e, over: l }) {
|
|
139
|
+
if (l) {
|
|
140
|
+
const d = l.data.current?.sortable.index ?? 0, S = e.data.current?.sortable.index ?? 0, D = d > S ? "down" : "up";
|
|
141
|
+
return `Sortable item "${e.id.toString()}" is moving ${D} to position ${d + 1} of ${t.length}.`;
|
|
142
|
+
}
|
|
143
|
+
return "Sortable item is no longer over a droppable area. Press escape to cancel.";
|
|
144
|
+
}
|
|
145
|
+
}),
|
|
146
|
+
[t]
|
|
147
|
+
), J = r.useMemo(
|
|
148
|
+
() => ({
|
|
149
|
+
draggable: `
|
|
150
|
+
To pick up a sortable item, press space or enter.
|
|
151
|
+
While dragging, use the ${s === "vertical" ? "up and down" : s === "horizontal" ? "left and right" : "arrow"} keys to move the item.
|
|
152
|
+
Press space or enter again to drop the item in its new position, or press escape to cancel.
|
|
153
|
+
`
|
|
154
|
+
}),
|
|
155
|
+
[s]
|
|
156
|
+
), Q = r.useMemo(
|
|
157
|
+
() => ({
|
|
158
|
+
id: P,
|
|
159
|
+
items: M,
|
|
160
|
+
modifiers: a ?? f.modifiers,
|
|
161
|
+
strategy: n ?? f.strategy,
|
|
162
|
+
activeId: h,
|
|
163
|
+
setActiveId: C,
|
|
164
|
+
getItemValue: b,
|
|
165
|
+
flatCursor: u
|
|
166
|
+
}),
|
|
167
|
+
[
|
|
168
|
+
P,
|
|
169
|
+
M,
|
|
170
|
+
a,
|
|
171
|
+
n,
|
|
172
|
+
f.modifiers,
|
|
173
|
+
f.strategy,
|
|
174
|
+
h,
|
|
175
|
+
b,
|
|
176
|
+
u
|
|
177
|
+
]
|
|
178
|
+
);
|
|
179
|
+
return /* @__PURE__ */ g(
|
|
180
|
+
U.Provider,
|
|
181
|
+
{
|
|
182
|
+
value: Q,
|
|
183
|
+
children: /* @__PURE__ */ g(
|
|
184
|
+
rt,
|
|
185
|
+
{
|
|
186
|
+
collisionDetection: c ?? f.collisionDetection,
|
|
187
|
+
modifiers: a ?? f.modifiers,
|
|
188
|
+
sensors: w,
|
|
189
|
+
...I,
|
|
190
|
+
id: P,
|
|
191
|
+
onDragStart: A,
|
|
192
|
+
onDragEnd: T,
|
|
193
|
+
onDragCancel: N,
|
|
194
|
+
accessibility: {
|
|
195
|
+
announcements: F,
|
|
196
|
+
screenReaderInstructions: J,
|
|
197
|
+
...E
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
)
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
const W = r.createContext(!1);
|
|
205
|
+
function Mt(o) {
|
|
206
|
+
const {
|
|
207
|
+
strategy: t,
|
|
208
|
+
asChild: i,
|
|
209
|
+
withoutSlot: c,
|
|
210
|
+
children: a,
|
|
211
|
+
ref: n,
|
|
212
|
+
...m
|
|
213
|
+
} = o, s = R(K), u = i ? H : "div";
|
|
214
|
+
return /* @__PURE__ */ g(W.Provider, { value: !0, children: /* @__PURE__ */ g(
|
|
215
|
+
ft,
|
|
216
|
+
{
|
|
217
|
+
items: s.items,
|
|
218
|
+
strategy: t ?? s.strategy,
|
|
219
|
+
children: c ? a : /* @__PURE__ */ g(
|
|
220
|
+
u,
|
|
221
|
+
{
|
|
222
|
+
"data-slot": "sortable-content",
|
|
223
|
+
...m,
|
|
224
|
+
ref: n,
|
|
225
|
+
children: a
|
|
226
|
+
}
|
|
227
|
+
)
|
|
228
|
+
}
|
|
229
|
+
) });
|
|
230
|
+
}
|
|
231
|
+
const Y = r.createContext(null);
|
|
232
|
+
function Ct(o) {
|
|
233
|
+
const t = r.useContext(Y);
|
|
234
|
+
if (!t)
|
|
235
|
+
throw new Error(`\`${o}\` must be used within \`${V}\``);
|
|
236
|
+
return t;
|
|
237
|
+
}
|
|
238
|
+
function Nt(o) {
|
|
239
|
+
const {
|
|
240
|
+
value: t,
|
|
241
|
+
style: i,
|
|
242
|
+
asHandle: c,
|
|
243
|
+
asChild: a,
|
|
244
|
+
disabled: n,
|
|
245
|
+
className: m,
|
|
246
|
+
ref: s,
|
|
247
|
+
...u
|
|
248
|
+
} = o, p = r.useContext(W), E = r.useContext(B);
|
|
249
|
+
if (!p && !E)
|
|
250
|
+
throw new Error(
|
|
251
|
+
`\`${V}\` must be used within \`${K}\` or \`${q}\``
|
|
252
|
+
);
|
|
253
|
+
if (t === "")
|
|
254
|
+
throw new Error(`\`${V}\` value cannot be an empty string`);
|
|
255
|
+
const v = R(V), x = r.useId(), {
|
|
256
|
+
attributes: y,
|
|
257
|
+
listeners: I,
|
|
258
|
+
setNodeRef: P,
|
|
259
|
+
setActivatorNodeRef: h,
|
|
260
|
+
transform: C,
|
|
261
|
+
transition: w,
|
|
262
|
+
isDragging: f
|
|
263
|
+
} = mt({ id: t, disabled: n }), b = G(s, (N) => {
|
|
264
|
+
n || (P(N), c && h(N));
|
|
265
|
+
}), M = r.useMemo(() => ({
|
|
266
|
+
transform: gt.Translate.toString(C),
|
|
267
|
+
transition: w,
|
|
268
|
+
...i
|
|
269
|
+
}), [C, w, i]), A = r.useMemo(
|
|
270
|
+
() => ({
|
|
271
|
+
id: x,
|
|
272
|
+
attributes: y,
|
|
273
|
+
listeners: I,
|
|
274
|
+
setActivatorNodeRef: h,
|
|
275
|
+
isDragging: f,
|
|
276
|
+
disabled: n
|
|
277
|
+
}),
|
|
278
|
+
[x, y, I, h, f, n]
|
|
279
|
+
), T = a ? H : "div";
|
|
280
|
+
return /* @__PURE__ */ g(Y.Provider, { value: A, children: /* @__PURE__ */ g(
|
|
281
|
+
T,
|
|
282
|
+
{
|
|
283
|
+
id: x,
|
|
284
|
+
"data-disabled": n,
|
|
285
|
+
"data-dragging": f ? "" : void 0,
|
|
286
|
+
"data-slot": "sortable-item",
|
|
287
|
+
...u,
|
|
288
|
+
...c && !n ? y : {},
|
|
289
|
+
...c && !n ? I : {},
|
|
290
|
+
ref: b,
|
|
291
|
+
style: M,
|
|
292
|
+
className: _(
|
|
293
|
+
"focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
294
|
+
{
|
|
295
|
+
"touch-none select-none": c,
|
|
296
|
+
"cursor-default": v.flatCursor,
|
|
297
|
+
"data-dragging:cursor-grabbing": !v.flatCursor,
|
|
298
|
+
"cursor-grab": !f && c && !v.flatCursor,
|
|
299
|
+
"opacity-50": f,
|
|
300
|
+
"pointer-events-none opacity-50": n
|
|
301
|
+
},
|
|
302
|
+
m
|
|
303
|
+
)
|
|
304
|
+
}
|
|
305
|
+
) });
|
|
306
|
+
}
|
|
307
|
+
function Vt(o) {
|
|
308
|
+
const { asChild: t, disabled: i, className: c, ref: a, ...n } = o, m = R(z), s = Ct(z), u = i ?? s.disabled, p = G(a, (v) => {
|
|
309
|
+
u && s.setActivatorNodeRef(v);
|
|
310
|
+
});
|
|
311
|
+
return /* @__PURE__ */ g(
|
|
312
|
+
t ? H : "button",
|
|
313
|
+
{
|
|
314
|
+
type: "button",
|
|
315
|
+
"aria-controls": s.id,
|
|
316
|
+
"data-disabled": u,
|
|
317
|
+
"data-dragging": s.isDragging ? "" : void 0,
|
|
318
|
+
"data-slot": "sortable-item-handle",
|
|
319
|
+
...n,
|
|
320
|
+
...u ? {} : s.attributes,
|
|
321
|
+
...u ? {} : s.listeners,
|
|
322
|
+
ref: p,
|
|
323
|
+
className: _(
|
|
324
|
+
"select-none disabled:pointer-events-none disabled:opacity-50",
|
|
325
|
+
m.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
|
|
326
|
+
c
|
|
327
|
+
),
|
|
328
|
+
disabled: u
|
|
329
|
+
}
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
const B = r.createContext(!1), xt = {
|
|
333
|
+
sideEffects: at({
|
|
334
|
+
styles: {
|
|
335
|
+
active: {
|
|
336
|
+
opacity: "0.4"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
};
|
|
341
|
+
function Rt(o) {
|
|
342
|
+
const { container: t, children: i, ...c } = o, a = R(q), [n, m] = r.useState(!1);
|
|
343
|
+
r.useLayoutEffect(() => m(!0), []);
|
|
344
|
+
const s = t ?? (n ? globalThis.document?.body : null);
|
|
345
|
+
return s ? bt.createPortal(
|
|
346
|
+
/* @__PURE__ */ g(
|
|
347
|
+
nt,
|
|
348
|
+
{
|
|
349
|
+
dropAnimation: xt,
|
|
350
|
+
modifiers: a.modifiers,
|
|
351
|
+
className: _(!a.flatCursor && "cursor-grabbing"),
|
|
352
|
+
...c,
|
|
353
|
+
children: /* @__PURE__ */ g(B.Provider, { value: !0, children: a.activeId ? typeof i == "function" ? i({ value: a.activeId }) : i : null })
|
|
354
|
+
}
|
|
355
|
+
),
|
|
356
|
+
s
|
|
357
|
+
) : null;
|
|
358
|
+
}
|
|
359
|
+
export {
|
|
360
|
+
wt as S,
|
|
361
|
+
Mt as a,
|
|
362
|
+
Nt as b,
|
|
363
|
+
Vt as c,
|
|
364
|
+
Rt as d,
|
|
365
|
+
G as u
|
|
366
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./sortable-Cj3cdxGc.cjs");exports.Sortable=e.SortableRoot;exports.SortableContent=e.SortableContent;exports.SortableItem=e.SortableItem;exports.SortableItemHandle=e.SortableItemHandle;exports.SortableOverlay=e.SortableOverlay;
|
package/dist/styles.css
CHANGED
|
@@ -179,14 +179,6 @@
|
|
|
179
179
|
@apply border-border outline-ring/50;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
/* Viewport lock - all scroll managed by individual containers, not body */
|
|
183
|
-
html,
|
|
184
|
-
body,
|
|
185
|
-
#root {
|
|
186
|
-
height: 100%;
|
|
187
|
-
overflow: hidden;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
182
|
body {
|
|
191
183
|
@apply font-sans bg-background text-foreground;
|
|
192
184
|
}
|
|
@@ -525,13 +517,24 @@
|
|
|
525
517
|
}
|
|
526
518
|
|
|
527
519
|
/* Button enhanced styling classes - replaces arbitrary property values */
|
|
520
|
+
/* Buttons/badges: always apply. Toggles: only when [data-state=on]. */
|
|
528
521
|
.nqui-button-gradient {
|
|
522
|
+
background-origin: border-box;
|
|
523
|
+
background-clip: border-box;
|
|
524
|
+
}
|
|
525
|
+
.nqui-button-gradient:not([data-state=off]) {
|
|
529
526
|
background-image: var(--button-gradient);
|
|
530
527
|
}
|
|
528
|
+
.nqui-button-gradient[data-state=off] {
|
|
529
|
+
background-image: none;
|
|
530
|
+
}
|
|
531
531
|
|
|
532
|
-
.nqui-button-shadow {
|
|
532
|
+
.nqui-button-shadow:not([data-state=off]) {
|
|
533
533
|
box-shadow: var(--button-shadow);
|
|
534
534
|
}
|
|
535
|
+
.nqui-button-shadow[data-state=off] {
|
|
536
|
+
box-shadow: none;
|
|
537
|
+
}
|
|
535
538
|
|
|
536
539
|
/* Sliding indicator styles for enhanced tabs */
|
|
537
540
|
.sliding-indicator {
|
|
@@ -943,19 +946,20 @@
|
|
|
943
946
|
--info-foreground: oklch(0.98 0 0);
|
|
944
947
|
|
|
945
948
|
/* Additional variables from index.css */
|
|
946
|
-
/* System UI colors for dark mode (unique to index.css)
|
|
949
|
+
/* System UI colors for dark mode (unique to index.css)
|
|
950
|
+
Softened foreground (oklch 0.92 ≈ #e6e6e6) for reduced eye strain vs near-pure white */
|
|
947
951
|
--background: oklch(0.145 0 0);
|
|
948
|
-
--foreground: oklch(0.
|
|
952
|
+
--foreground: oklch(0.92 0 0);
|
|
949
953
|
--card: oklch(0.205 0 0);
|
|
950
|
-
--card-foreground: oklch(0.
|
|
954
|
+
--card-foreground: oklch(0.92 0 0);
|
|
951
955
|
--popover: oklch(0.205 0 0);
|
|
952
|
-
--popover-foreground: oklch(0.
|
|
956
|
+
--popover-foreground: oklch(0.92 0 0);
|
|
953
957
|
--secondary: oklch(0.274 0.006 286.033);
|
|
954
|
-
--secondary-foreground: oklch(0.
|
|
958
|
+
--secondary-foreground: oklch(0.92 0 0);
|
|
955
959
|
--muted: oklch(0.269 0 0);
|
|
956
960
|
--muted-foreground: oklch(0.708 0 0);
|
|
957
961
|
--accent: oklch(0.371 0 0);
|
|
958
|
-
--accent-foreground: oklch(0.
|
|
962
|
+
--accent-foreground: oklch(0.92 0 0);
|
|
959
963
|
--border: oklch(1 0 0 / 10%);
|
|
960
964
|
--input: oklch(1 0 0 / 15%);
|
|
961
965
|
|
|
@@ -968,11 +972,11 @@
|
|
|
968
972
|
|
|
969
973
|
/* Sidebar for dark mode */
|
|
970
974
|
--sidebar: oklch(0.205 0 0);
|
|
971
|
-
--sidebar-foreground: oklch(0.
|
|
975
|
+
--sidebar-foreground: oklch(0.92 0 0);
|
|
972
976
|
--sidebar-primary: var(--primary);
|
|
973
977
|
--sidebar-primary-foreground: var(--primary-foreground);
|
|
974
978
|
--sidebar-accent: oklch(0.269 0 0);
|
|
975
|
-
--sidebar-accent-foreground: oklch(0.
|
|
979
|
+
--sidebar-accent-foreground: oklch(0.92 0 0);
|
|
976
980
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
977
981
|
--sidebar-ring: oklch(0.556 0 0);
|
|
978
982
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("clsx"),c=require("tailwind-merge");function n(...e){return c.twMerge(r.clsx(e))}exports.cn=n;
|