@sudobility/components 2.0.33 → 3.0.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 +151 -102
- package/dist/charts/area-chart.d.ts +55 -0
- package/dist/charts/area-chart.d.ts.map +1 -0
- package/dist/charts/bar-chart.d.ts +44 -0
- package/dist/charts/bar-chart.d.ts.map +1 -0
- package/dist/charts/bubble-chart.d.ts +34 -0
- package/dist/charts/bubble-chart.d.ts.map +1 -0
- package/dist/charts/burndown-chart.d.ts +19 -0
- package/dist/charts/burndown-chart.d.ts.map +1 -0
- package/dist/charts/funnel-chart.d.ts +34 -0
- package/dist/charts/funnel-chart.d.ts.map +1 -0
- package/dist/charts/gauge.d.ts +35 -0
- package/dist/charts/gauge.d.ts.map +1 -0
- package/dist/charts/heatmap.d.ts +34 -0
- package/dist/charts/heatmap.d.ts.map +1 -0
- package/dist/charts/index.d.ts +26 -0
- package/dist/charts/index.d.ts.map +1 -0
- package/dist/charts/line-chart.d.ts +55 -0
- package/dist/charts/line-chart.d.ts.map +1 -0
- package/dist/charts/metric-comparison.d.ts +34 -0
- package/dist/charts/metric-comparison.d.ts.map +1 -0
- package/dist/charts/performance-chart.d.ts +34 -0
- package/dist/charts/performance-chart.d.ts.map +1 -0
- package/dist/charts/pie-chart.d.ts +45 -0
- package/dist/charts/pie-chart.d.ts.map +1 -0
- package/dist/charts/progress-bar.d.ts +52 -0
- package/dist/charts/progress-bar.d.ts.map +1 -0
- package/dist/charts/progress-circle.d.ts +49 -0
- package/dist/charts/progress-circle.d.ts.map +1 -0
- package/dist/charts/progress-tracker.d.ts +34 -0
- package/dist/charts/progress-tracker.d.ts.map +1 -0
- package/dist/charts/progress.d.ts +52 -0
- package/dist/charts/progress.d.ts.map +1 -0
- package/dist/charts/radar-chart.d.ts +34 -0
- package/dist/charts/radar-chart.d.ts.map +1 -0
- package/dist/charts/sankey-diagram.d.ts +34 -0
- package/dist/charts/sankey-diagram.d.ts.map +1 -0
- package/dist/charts/scatter-plot.d.ts +34 -0
- package/dist/charts/scatter-plot.d.ts.map +1 -0
- package/dist/charts/sparkline.d.ts +29 -0
- package/dist/charts/sparkline.d.ts.map +1 -0
- package/dist/charts/tree-map.d.ts +34 -0
- package/dist/charts/tree-map.d.ts.map +1 -0
- package/dist/core/Breadcrumb.d.ts +17 -0
- package/dist/core/Breadcrumb.d.ts.map +1 -0
- package/dist/core/BreadcrumbSection.d.ts +14 -0
- package/dist/core/BreadcrumbSection.d.ts.map +1 -0
- package/dist/core/CodeBlock.d.ts +26 -0
- package/dist/core/CodeBlock.d.ts.map +1 -0
- package/dist/core/CollapsibleDocumentationTopic.d.ts +40 -0
- package/dist/core/CollapsibleDocumentationTopic.d.ts.map +1 -0
- package/dist/core/ErrorBoundary.d.ts +19 -0
- package/dist/core/ErrorBoundary.d.ts.map +1 -0
- package/dist/core/ErrorBoundaryLazy.d.ts +57 -0
- package/dist/core/ErrorBoundaryLazy.d.ts.map +1 -0
- package/dist/core/LanguageSelector.d.ts +21 -0
- package/dist/core/LanguageSelector.d.ts.map +1 -0
- package/dist/core/OptimizedImage.d.ts +21 -0
- package/dist/core/OptimizedImage.d.ts.map +1 -0
- package/dist/core/PromotionalBanner.d.ts +36 -0
- package/dist/core/PromotionalBanner.d.ts.map +1 -0
- package/dist/core/SafeAppWrapper.d.ts +7 -0
- package/dist/core/SafeAppWrapper.d.ts.map +1 -0
- package/dist/core/SecurityProvider.d.ts +8 -0
- package/dist/core/SecurityProvider.d.ts.map +1 -0
- package/dist/core/StepList.d.ts +15 -0
- package/dist/core/StepList.d.ts.map +1 -0
- package/dist/core/TrackedButton.d.ts +42 -0
- package/dist/core/TrackedButton.d.ts.map +1 -0
- package/dist/core/TrackedLink.d.ts +47 -0
- package/dist/core/TrackedLink.d.ts.map +1 -0
- package/dist/core/icons/index.d.ts +8 -0
- package/dist/core/icons/index.d.ts.map +1 -0
- package/dist/core/index.d.ts +19 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/optimized/MemoizedComponent.d.ts +57 -0
- package/dist/core/optimized/MemoizedComponent.d.ts.map +1 -0
- package/dist/core/optimized/index.d.ts +6 -0
- package/dist/core/optimized/index.d.ts.map +1 -0
- package/dist/data-display/avatar-group.d.ts +34 -0
- package/dist/data-display/avatar-group.d.ts.map +1 -0
- package/dist/data-display/avatar.d.ts +40 -0
- package/dist/data-display/avatar.d.ts.map +1 -0
- package/dist/data-display/card.d.ts +39 -0
- package/dist/data-display/card.d.ts.map +1 -0
- package/dist/data-display/cell-editor.d.ts +34 -0
- package/dist/data-display/cell-editor.d.ts.map +1 -0
- package/dist/data-display/column-resize.d.ts +34 -0
- package/dist/data-display/column-resize.d.ts.map +1 -0
- package/dist/data-display/dashboard-stat-card.d.ts +37 -0
- package/dist/data-display/dashboard-stat-card.d.ts.map +1 -0
- package/dist/data-display/data-grid.d.ts +34 -0
- package/dist/data-display/data-grid.d.ts.map +1 -0
- package/dist/data-display/data-table.d.ts +47 -0
- package/dist/data-display/data-table.d.ts.map +1 -0
- package/dist/data-display/empty-state.d.ts +11 -0
- package/dist/data-display/empty-state.d.ts.map +1 -0
- package/dist/data-display/index.d.ts +30 -0
- package/dist/data-display/index.d.ts.map +1 -0
- package/dist/data-display/key-value-pair.d.ts +57 -0
- package/dist/data-display/key-value-pair.d.ts.map +1 -0
- package/dist/data-display/list-item-with-action.d.ts +42 -0
- package/dist/data-display/list-item-with-action.d.ts.map +1 -0
- package/dist/data-display/list.d.ts +53 -0
- package/dist/data-display/list.d.ts.map +1 -0
- package/dist/data-display/listing-form.d.ts +34 -0
- package/dist/data-display/listing-form.d.ts.map +1 -0
- package/dist/data-display/no-content.d.ts +9 -0
- package/dist/data-display/no-content.d.ts.map +1 -0
- package/dist/data-display/pivot-table.d.ts +34 -0
- package/dist/data-display/pivot-table.d.ts.map +1 -0
- package/dist/data-display/profile-header.d.ts +34 -0
- package/dist/data-display/profile-header.d.ts.map +1 -0
- package/dist/data-display/spreadsheet-grid.d.ts +34 -0
- package/dist/data-display/spreadsheet-grid.d.ts.map +1 -0
- package/dist/data-display/stat-display.d.ts +53 -0
- package/dist/data-display/stat-display.d.ts.map +1 -0
- package/dist/data-display/table-of-contents.d.ts +19 -0
- package/dist/data-display/table-of-contents.d.ts.map +1 -0
- package/dist/data-display/table-reservation.d.ts +34 -0
- package/dist/data-display/table-reservation.d.ts.map +1 -0
- package/dist/data-display/table.d.ts +70 -0
- package/dist/data-display/table.d.ts.map +1 -0
- package/dist/data-display/transfer-list.d.ts +69 -0
- package/dist/data-display/transfer-list.d.ts.map +1 -0
- package/dist/data-display/tree-view.d.ts +60 -0
- package/dist/data-display/tree-view.d.ts.map +1 -0
- package/dist/data-display/user-table.d.ts +34 -0
- package/dist/data-display/user-table.d.ts.map +1 -0
- package/dist/data-display/virtual-list.d.ts +49 -0
- package/dist/data-display/virtual-list.d.ts.map +1 -0
- package/dist/features/CTASection.d.ts +24 -0
- package/dist/features/CTASection.d.ts.map +1 -0
- package/dist/features/CalloutBox.d.ts +13 -0
- package/dist/features/CalloutBox.d.ts.map +1 -0
- package/dist/features/FeatureGrid.d.ts +32 -0
- package/dist/features/FeatureGrid.d.ts.map +1 -0
- package/dist/features/InfoCard.d.ts +11 -0
- package/dist/features/InfoCard.d.ts.map +1 -0
- package/dist/features/index.d.ts +10 -0
- package/dist/features/index.d.ts.map +1 -0
- package/dist/forms/advanced/calendar.d.ts +45 -0
- package/dist/forms/advanced/calendar.d.ts.map +1 -0
- package/dist/forms/advanced/code-highlighter.d.ts +34 -0
- package/dist/forms/advanced/code-highlighter.d.ts.map +1 -0
- package/dist/forms/advanced/color-picker-advanced.d.ts +9 -0
- package/dist/forms/advanced/color-picker-advanced.d.ts.map +1 -0
- package/dist/forms/advanced/color-picker.d.ts +43 -0
- package/dist/forms/advanced/color-picker.d.ts.map +1 -0
- package/dist/forms/advanced/color-swatch.d.ts +42 -0
- package/dist/forms/advanced/color-swatch.d.ts.map +1 -0
- package/dist/forms/advanced/credit-card-input.d.ts +58 -0
- package/dist/forms/advanced/credit-card-input.d.ts.map +1 -0
- package/dist/forms/advanced/currency-converter.d.ts +34 -0
- package/dist/forms/advanced/currency-converter.d.ts.map +1 -0
- package/dist/forms/advanced/currency-input.d.ts +66 -0
- package/dist/forms/advanced/currency-input.d.ts.map +1 -0
- package/dist/forms/advanced/currency-rates.d.ts +34 -0
- package/dist/forms/advanced/currency-rates.d.ts.map +1 -0
- package/dist/forms/advanced/date-range-picker.d.ts +51 -0
- package/dist/forms/advanced/date-range-picker.d.ts.map +1 -0
- package/dist/forms/advanced/date-time-picker.d.ts +47 -0
- package/dist/forms/advanced/date-time-picker.d.ts.map +1 -0
- package/dist/forms/advanced/image-cropper.d.ts +42 -0
- package/dist/forms/advanced/image-cropper.d.ts.map +1 -0
- package/dist/forms/advanced/index.d.ts +22 -0
- package/dist/forms/advanced/index.d.ts.map +1 -0
- package/dist/forms/advanced/markdown-renderer.d.ts +34 -0
- package/dist/forms/advanced/markdown-renderer.d.ts.map +1 -0
- package/dist/forms/advanced/media-uploader.d.ts +45 -0
- package/dist/forms/advanced/media-uploader.d.ts.map +1 -0
- package/dist/forms/advanced/signature-pad.d.ts +9 -0
- package/dist/forms/advanced/signature-pad.d.ts.map +1 -0
- package/dist/forms/advanced/signature-request.d.ts +19 -0
- package/dist/forms/advanced/signature-request.d.ts.map +1 -0
- package/dist/forms/advanced/time-slot-picker.d.ts +34 -0
- package/dist/forms/advanced/time-slot-picker.d.ts.map +1 -0
- package/dist/forms/advanced/wysiwyg-editor.d.ts +9 -0
- package/dist/forms/advanced/wysiwyg-editor.d.ts.map +1 -0
- package/dist/forms/builders/field-mapper.d.ts +34 -0
- package/dist/forms/builders/field-mapper.d.ts.map +1 -0
- package/dist/forms/builders/form-builder.d.ts +34 -0
- package/dist/forms/builders/form-builder.d.ts.map +1 -0
- package/dist/forms/builders/form-template.d.ts +34 -0
- package/dist/forms/builders/form-template.d.ts.map +1 -0
- package/dist/forms/builders/form-validator.d.ts +34 -0
- package/dist/forms/builders/form-validator.d.ts.map +1 -0
- package/dist/forms/builders/index.d.ts +13 -0
- package/dist/forms/builders/index.d.ts.map +1 -0
- package/dist/forms/builders/quiz-builder.d.ts +19 -0
- package/dist/forms/builders/quiz-builder.d.ts.map +1 -0
- package/dist/forms/builders/schema-validator.d.ts +34 -0
- package/dist/forms/builders/schema-validator.d.ts.map +1 -0
- package/dist/forms/builders/survey-builder.d.ts +34 -0
- package/dist/forms/builders/survey-builder.d.ts.map +1 -0
- package/dist/forms/index.d.ts +9 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/inputs/checkbox.d.ts +64 -0
- package/dist/forms/inputs/checkbox.d.ts.map +1 -0
- package/dist/forms/inputs/combobox.d.ts +60 -0
- package/dist/forms/inputs/combobox.d.ts.map +1 -0
- package/dist/forms/inputs/date-input.d.ts +54 -0
- package/dist/forms/inputs/date-input.d.ts.map +1 -0
- package/dist/forms/inputs/dropdown.d.ts +21 -0
- package/dist/forms/inputs/dropdown.d.ts.map +1 -0
- package/dist/forms/inputs/file-browser.d.ts +34 -0
- package/dist/forms/inputs/file-browser.d.ts.map +1 -0
- package/dist/forms/inputs/file-icon.d.ts +33 -0
- package/dist/forms/inputs/file-icon.d.ts.map +1 -0
- package/dist/forms/inputs/file-input.d.ts +60 -0
- package/dist/forms/inputs/file-input.d.ts.map +1 -0
- package/dist/forms/inputs/file-preview.d.ts +34 -0
- package/dist/forms/inputs/file-preview.d.ts.map +1 -0
- package/dist/forms/inputs/file-tree.d.ts +34 -0
- package/dist/forms/inputs/file-tree.d.ts.map +1 -0
- package/dist/forms/inputs/form-alerts.d.ts +40 -0
- package/dist/forms/inputs/form-alerts.d.ts.map +1 -0
- package/dist/forms/inputs/form-builder.d.ts +34 -0
- package/dist/forms/inputs/form-builder.d.ts.map +1 -0
- package/dist/forms/inputs/form-field-group.d.ts +58 -0
- package/dist/forms/inputs/form-field-group.d.ts.map +1 -0
- package/dist/forms/inputs/form-field.d.ts +53 -0
- package/dist/forms/inputs/form-field.d.ts.map +1 -0
- package/dist/forms/inputs/form-template.d.ts +34 -0
- package/dist/forms/inputs/form-template.d.ts.map +1 -0
- package/dist/forms/inputs/form-validator.d.ts +34 -0
- package/dist/forms/inputs/form-validator.d.ts.map +1 -0
- package/dist/forms/inputs/index.d.ts +43 -0
- package/dist/forms/inputs/index.d.ts.map +1 -0
- package/dist/forms/inputs/input.d.ts +6 -0
- package/dist/forms/inputs/input.d.ts.map +1 -0
- package/dist/forms/inputs/label.d.ts +5 -0
- package/dist/forms/inputs/label.d.ts.map +1 -0
- package/dist/forms/inputs/mention-input.d.ts +56 -0
- package/dist/forms/inputs/mention-input.d.ts.map +1 -0
- package/dist/forms/inputs/multi-select.d.ts +59 -0
- package/dist/forms/inputs/multi-select.d.ts.map +1 -0
- package/dist/forms/inputs/number-input.d.ts +59 -0
- package/dist/forms/inputs/number-input.d.ts.map +1 -0
- package/dist/forms/inputs/otp-input.d.ts +51 -0
- package/dist/forms/inputs/otp-input.d.ts.map +1 -0
- package/dist/forms/inputs/password-input.d.ts +68 -0
- package/dist/forms/inputs/password-input.d.ts.map +1 -0
- package/dist/forms/inputs/password-strength.d.ts +34 -0
- package/dist/forms/inputs/password-strength.d.ts.map +1 -0
- package/dist/forms/inputs/phone-directory.d.ts +19 -0
- package/dist/forms/inputs/phone-directory.d.ts.map +1 -0
- package/dist/forms/inputs/phone-input.d.ts +58 -0
- package/dist/forms/inputs/phone-input.d.ts.map +1 -0
- package/dist/forms/inputs/radio-group.d.ts +76 -0
- package/dist/forms/inputs/radio-group.d.ts.map +1 -0
- package/dist/forms/inputs/search-input.d.ts +52 -0
- package/dist/forms/inputs/search-input.d.ts.map +1 -0
- package/dist/forms/inputs/select.d.ts +14 -0
- package/dist/forms/inputs/select.d.ts.map +1 -0
- package/dist/forms/inputs/slider-input.d.ts +12 -0
- package/dist/forms/inputs/slider-input.d.ts.map +1 -0
- package/dist/forms/inputs/slider.d.ts +67 -0
- package/dist/forms/inputs/slider.d.ts.map +1 -0
- package/dist/forms/inputs/switch.d.ts +4 -0
- package/dist/forms/inputs/switch.d.ts.map +1 -0
- package/dist/forms/inputs/tag-input.d.ts +50 -0
- package/dist/forms/inputs/tag-input.d.ts.map +1 -0
- package/dist/forms/inputs/text-area.d.ts +57 -0
- package/dist/forms/inputs/text-area.d.ts.map +1 -0
- package/dist/forms/inputs/time-picker.d.ts +42 -0
- package/dist/forms/inputs/time-picker.d.ts.map +1 -0
- package/dist/forms/inputs/toggle-group.d.ts +63 -0
- package/dist/forms/inputs/toggle-group.d.ts.map +1 -0
- package/dist/index.d.ts +17 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +18097 -12640
- package/dist/index.umd.js +30 -45
- package/dist/interactive/double-tap.d.ts +34 -0
- package/dist/interactive/double-tap.d.ts.map +1 -0
- package/dist/interactive/drag-drop-list.d.ts +34 -0
- package/dist/interactive/drag-drop-list.d.ts.map +1 -0
- package/dist/interactive/drag-drop.d.ts +49 -0
- package/dist/interactive/drag-drop.d.ts.map +1 -0
- package/dist/interactive/focus-trap.d.ts +42 -0
- package/dist/interactive/focus-trap.d.ts.map +1 -0
- package/dist/interactive/gesture-detector.d.ts +34 -0
- package/dist/interactive/gesture-detector.d.ts.map +1 -0
- package/dist/interactive/hover-tooltip.d.ts +34 -0
- package/dist/interactive/hover-tooltip.d.ts.map +1 -0
- package/dist/interactive/index.d.ts +21 -0
- package/dist/interactive/index.d.ts.map +1 -0
- package/dist/interactive/infinite-scroll.d.ts +59 -0
- package/dist/interactive/infinite-scroll.d.ts.map +1 -0
- package/dist/interactive/long-press.d.ts +34 -0
- package/dist/interactive/long-press.d.ts.map +1 -0
- package/dist/interactive/nested-drag.d.ts +34 -0
- package/dist/interactive/nested-drag.d.ts.map +1 -0
- package/dist/interactive/pinch-zoom.d.ts +34 -0
- package/dist/interactive/pinch-zoom.d.ts.map +1 -0
- package/dist/interactive/pull-to-refresh.d.ts +14 -0
- package/dist/interactive/pull-to-refresh.d.ts.map +1 -0
- package/dist/interactive/radial-menu.d.ts +34 -0
- package/dist/interactive/radial-menu.d.ts.map +1 -0
- package/dist/interactive/scroll-spy.d.ts +59 -0
- package/dist/interactive/scroll-spy.d.ts.map +1 -0
- package/dist/interactive/sortable-grid.d.ts +34 -0
- package/dist/interactive/sortable-grid.d.ts.map +1 -0
- package/dist/interactive/swipe-actions.d.ts +34 -0
- package/dist/interactive/swipe-actions.d.ts.map +1 -0
- package/dist/kyc/KYCLevelCard.d.ts +14 -0
- package/dist/kyc/KYCLevelCard.d.ts.map +1 -0
- package/dist/kyc/KYCStatusBadge.d.ts +11 -0
- package/dist/kyc/KYCStatusBadge.d.ts.map +1 -0
- package/dist/kyc/SumsubWebSDK.d.ts +15 -0
- package/dist/kyc/SumsubWebSDK.d.ts.map +1 -0
- package/dist/kyc/index.d.ts +9 -0
- package/dist/kyc/index.d.ts.map +1 -0
- package/dist/layout/MasterDetailLayout.d.ts +92 -0
- package/dist/layout/MasterDetailLayout.d.ts.map +1 -0
- package/dist/layout/PageHeader.d.ts +18 -0
- package/dist/layout/PageHeader.d.ts.map +1 -0
- package/dist/layout/StandardPageLayout.d.ts +15 -0
- package/dist/layout/StandardPageLayout.d.ts.map +1 -0
- package/dist/layout/index.d.ts +7 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/media/audio-player.d.ts +36 -0
- package/dist/media/audio-player.d.ts.map +1 -0
- package/dist/media/audio-waveform.d.ts +34 -0
- package/dist/media/audio-waveform.d.ts.map +1 -0
- package/dist/media/image-comparison.d.ts +34 -0
- package/dist/media/image-comparison.d.ts.map +1 -0
- package/dist/media/image-cropper.d.ts +42 -0
- package/dist/media/image-cropper.d.ts.map +1 -0
- package/dist/media/image-gallery.d.ts +41 -0
- package/dist/media/image-gallery.d.ts.map +1 -0
- package/dist/media/image.d.ts +60 -0
- package/dist/media/image.d.ts.map +1 -0
- package/dist/media/index.d.ts +25 -0
- package/dist/media/index.d.ts.map +1 -0
- package/dist/media/lightbox.d.ts +64 -0
- package/dist/media/lightbox.d.ts.map +1 -0
- package/dist/media/live-stream.d.ts +19 -0
- package/dist/media/live-stream.d.ts.map +1 -0
- package/dist/media/media-playlist.d.ts +34 -0
- package/dist/media/media-playlist.d.ts.map +1 -0
- package/dist/media/media-uploader.d.ts +45 -0
- package/dist/media/media-uploader.d.ts.map +1 -0
- package/dist/media/playlist-manager.d.ts +19 -0
- package/dist/media/playlist-manager.d.ts.map +1 -0
- package/dist/media/podcast-player.d.ts +19 -0
- package/dist/media/podcast-player.d.ts.map +1 -0
- package/dist/media/qr-code-display.d.ts +47 -0
- package/dist/media/qr-code-display.d.ts.map +1 -0
- package/dist/media/video-call.d.ts +34 -0
- package/dist/media/video-call.d.ts.map +1 -0
- package/dist/media/video-editor.d.ts +19 -0
- package/dist/media/video-editor.d.ts.map +1 -0
- package/dist/media/video-player.d.ts +35 -0
- package/dist/media/video-player.d.ts.map +1 -0
- package/dist/media/video-thumbnail.d.ts +34 -0
- package/dist/media/video-thumbnail.d.ts.map +1 -0
- package/dist/media/voice-recorder.d.ts +34 -0
- package/dist/media/voice-recorder.d.ts.map +1 -0
- package/dist/media/wave-form.d.ts +34 -0
- package/dist/media/wave-form.d.ts.map +1 -0
- package/dist/modals/confirmation-dialog.d.ts +16 -0
- package/dist/modals/confirmation-dialog.d.ts.map +1 -0
- package/dist/modals/dialog.d.ts +50 -0
- package/dist/modals/dialog.d.ts.map +1 -0
- package/dist/modals/drawer.d.ts +51 -0
- package/dist/modals/drawer.d.ts.map +1 -0
- package/dist/modals/hover-card.d.ts +47 -0
- package/dist/modals/hover-card.d.ts.map +1 -0
- package/dist/modals/index.d.ts +15 -0
- package/dist/modals/index.d.ts.map +1 -0
- package/dist/modals/modal.d.ts +38 -0
- package/dist/modals/modal.d.ts.map +1 -0
- package/dist/modals/popover.d.ts +47 -0
- package/dist/modals/popover.d.ts.map +1 -0
- package/dist/modals/sheet.d.ts +59 -0
- package/dist/modals/sheet.d.ts.map +1 -0
- package/dist/modals/text-input-modal.d.ts +20 -0
- package/dist/modals/text-input-modal.d.ts.map +1 -0
- package/dist/modals/tooltip.d.ts +50 -0
- package/dist/modals/tooltip.d.ts.map +1 -0
- package/dist/navigation/breadcrumb-nav.d.ts +14 -0
- package/dist/navigation/breadcrumb-nav.d.ts.map +1 -0
- package/dist/navigation/external-link.d.ts +46 -0
- package/dist/navigation/external-link.d.ts.map +1 -0
- package/dist/navigation/index.d.ts +20 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/link.d.ts +44 -0
- package/dist/navigation/link.d.ts.map +1 -0
- package/dist/navigation/navigation-list.d.ts +60 -0
- package/dist/navigation/navigation-list.d.ts.map +1 -0
- package/dist/navigation/navigation-menu.d.ts +49 -0
- package/dist/navigation/navigation-menu.d.ts.map +1 -0
- package/dist/navigation/pagination-nav.d.ts +11 -0
- package/dist/navigation/pagination-nav.d.ts.map +1 -0
- package/dist/navigation/pagination.d.ts +47 -0
- package/dist/navigation/pagination.d.ts.map +1 -0
- package/dist/navigation/side-nav.d.ts +16 -0
- package/dist/navigation/side-nav.d.ts.map +1 -0
- package/dist/navigation/smart-link.d.ts +23 -0
- package/dist/navigation/smart-link.d.ts.map +1 -0
- package/dist/navigation/stepper-nav.d.ts +16 -0
- package/dist/navigation/stepper-nav.d.ts.map +1 -0
- package/dist/navigation/stepper.d.ts +57 -0
- package/dist/navigation/stepper.d.ts.map +1 -0
- package/dist/navigation/table-of-contents.d.ts +19 -0
- package/dist/navigation/table-of-contents.d.ts.map +1 -0
- package/dist/navigation/tabs.d.ts +7 -0
- package/dist/navigation/tabs.d.ts.map +1 -0
- package/dist/optimization/LoadingOptimizer.d.ts +21 -0
- package/dist/optimization/LoadingOptimizer.d.ts.map +1 -0
- package/dist/optimization/OptimizedRoutePreloader.d.ts +7 -0
- package/dist/optimization/OptimizedRoutePreloader.d.ts.map +1 -0
- package/dist/optimization/PerformanceOptimizer.d.ts +10 -0
- package/dist/optimization/PerformanceOptimizer.d.ts.map +1 -0
- package/dist/optimization/criticalPathOptimizer.d.ts +44 -0
- package/dist/optimization/criticalPathOptimizer.d.ts.map +1 -0
- package/dist/optimization/index.d.ts +11 -0
- package/dist/optimization/index.d.ts.map +1 -0
- package/dist/optimization/optimization/advancedLazyLoading.d.ts +80 -0
- package/dist/optimization/optimization/advancedLazyLoading.d.ts.map +1 -0
- package/dist/optimization/optimization/advancedPreloading.d.ts +36 -0
- package/dist/optimization/optimization/advancedPreloading.d.ts.map +1 -0
- package/dist/optimization/optimization/aiOptimization.d.ts +139 -0
- package/dist/optimization/optimization/aiOptimization.d.ts.map +1 -0
- package/dist/optimization/optimization/apiOptimization.d.ts +199 -0
- package/dist/optimization/optimization/apiOptimization.d.ts.map +1 -0
- package/dist/optimization/optimization/conditionalImports.d.ts +49 -0
- package/dist/optimization/optimization/conditionalImports.d.ts.map +1 -0
- package/dist/optimization/optimization/css-loader.d.ts +24 -0
- package/dist/optimization/optimization/css-loader.d.ts.map +1 -0
- package/dist/optimization/optimization/dynamicImports.d.ts +39 -0
- package/dist/optimization/optimization/dynamicImports.d.ts.map +1 -0
- package/dist/optimization/optimization/environmentDetection.d.ts +9 -0
- package/dist/optimization/optimization/environmentDetection.d.ts.map +1 -0
- package/dist/optimization/optimization/index.d.ts +14 -0
- package/dist/optimization/optimization/index.d.ts.map +1 -0
- package/dist/optimization/optimization/route-preloading.d.ts +87 -0
- package/dist/optimization/optimization/route-preloading.d.ts.map +1 -0
- package/dist/optimization/optimization/securityHeaders.d.ts +87 -0
- package/dist/optimization/optimization/securityHeaders.d.ts.map +1 -0
- package/dist/optimization/optimization/walletLazyLoading.d.ts +57 -0
- package/dist/optimization/optimization/walletLazyLoading.d.ts.map +1 -0
- package/dist/optimization/performance-monitoring.d.ts +63 -0
- package/dist/optimization/performance-monitoring.d.ts.map +1 -0
- package/dist/optimization/performance.d.ts +98 -0
- package/dist/optimization/performance.d.ts.map +1 -0
- package/dist/platforms/index.d.ts +17 -0
- package/dist/platforms/index.d.ts.map +1 -0
- package/dist/platforms/web.d.ts +33 -0
- package/dist/platforms/web.d.ts.map +1 -0
- package/dist/primitives/feedback/alert-banner.d.ts +11 -0
- package/dist/primitives/feedback/alert-banner.d.ts.map +1 -0
- package/dist/primitives/feedback/alert.d.ts +20 -0
- package/dist/primitives/feedback/alert.d.ts.map +1 -0
- package/dist/primitives/feedback/badge-designer.d.ts +34 -0
- package/dist/primitives/feedback/badge-designer.d.ts.map +1 -0
- package/dist/primitives/feedback/badge.d.ts +52 -0
- package/dist/primitives/feedback/badge.d.ts.map +1 -0
- package/dist/primitives/feedback/index.d.ts +20 -0
- package/dist/primitives/feedback/index.d.ts.map +1 -0
- package/dist/primitives/feedback/loading-dots.d.ts +30 -0
- package/dist/primitives/feedback/loading-dots.d.ts.map +1 -0
- package/dist/primitives/feedback/loading-overlay.d.ts +44 -0
- package/dist/primitives/feedback/loading-overlay.d.ts.map +1 -0
- package/dist/primitives/feedback/loading-state.d.ts +11 -0
- package/dist/primitives/feedback/loading-state.d.ts.map +1 -0
- package/dist/primitives/feedback/notification-badge.d.ts +10 -0
- package/dist/primitives/feedback/notification-badge.d.ts.map +1 -0
- package/dist/primitives/feedback/notification-panel.d.ts +16 -0
- package/dist/primitives/feedback/notification-panel.d.ts.map +1 -0
- package/dist/primitives/feedback/skeleton-loader.d.ts +48 -0
- package/dist/primitives/feedback/skeleton-loader.d.ts.map +1 -0
- package/dist/primitives/feedback/spinner.d.ts +11 -0
- package/dist/primitives/feedback/spinner.d.ts.map +1 -0
- package/dist/primitives/feedback/status-badge.d.ts +17 -0
- package/dist/primitives/feedback/status-badge.d.ts.map +1 -0
- package/dist/primitives/feedback/status-indicator.d.ts +10 -0
- package/dist/primitives/feedback/status-indicator.d.ts.map +1 -0
- package/dist/primitives/feedback/status-pipeline.d.ts +34 -0
- package/dist/primitives/feedback/status-pipeline.d.ts.map +1 -0
- package/dist/primitives/feedback/toast-notification.d.ts +10 -0
- package/dist/primitives/feedback/toast-notification.d.ts.map +1 -0
- package/dist/primitives/feedback/toast.d.ts +48 -0
- package/dist/primitives/feedback/toast.d.ts.map +1 -0
- package/dist/primitives/index.d.ts +9 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/primitives/layout/aspect-ratio.d.ts +32 -0
- package/dist/primitives/layout/aspect-ratio.d.ts.map +1 -0
- package/dist/primitives/layout/border-accent.d.ts +42 -0
- package/dist/primitives/layout/border-accent.d.ts.map +1 -0
- package/dist/primitives/layout/box.d.ts +56 -0
- package/dist/primitives/layout/box.d.ts.map +1 -0
- package/dist/primitives/layout/center.d.ts +34 -0
- package/dist/primitives/layout/center.d.ts.map +1 -0
- package/dist/primitives/layout/container.d.ts +36 -0
- package/dist/primitives/layout/container.d.ts.map +1 -0
- package/dist/primitives/layout/divider.d.ts +45 -0
- package/dist/primitives/layout/divider.d.ts.map +1 -0
- package/dist/primitives/layout/flex-container.d.ts +20 -0
- package/dist/primitives/layout/flex-container.d.ts.map +1 -0
- package/dist/primitives/layout/flex.d.ts +43 -0
- package/dist/primitives/layout/flex.d.ts.map +1 -0
- package/dist/primitives/layout/floating-panel.d.ts +39 -0
- package/dist/primitives/layout/floating-panel.d.ts.map +1 -0
- package/dist/primitives/layout/grid.d.ts +59 -0
- package/dist/primitives/layout/grid.d.ts.map +1 -0
- package/dist/primitives/layout/index.d.ts +28 -0
- package/dist/primitives/layout/index.d.ts.map +1 -0
- package/dist/primitives/layout/masonry.d.ts +41 -0
- package/dist/primitives/layout/masonry.d.ts.map +1 -0
- package/dist/primitives/layout/overlay.d.ts +40 -0
- package/dist/primitives/layout/overlay.d.ts.map +1 -0
- package/dist/primitives/layout/page-container.d.ts +13 -0
- package/dist/primitives/layout/page-container.d.ts.map +1 -0
- package/dist/primitives/layout/portal.d.ts +30 -0
- package/dist/primitives/layout/portal.d.ts.map +1 -0
- package/dist/primitives/layout/resizable-panels.d.ts +34 -0
- package/dist/primitives/layout/resizable-panels.d.ts.map +1 -0
- package/dist/primitives/layout/resizable.d.ts +63 -0
- package/dist/primitives/layout/resizable.d.ts.map +1 -0
- package/dist/primitives/layout/scroll-area.d.ts +36 -0
- package/dist/primitives/layout/scroll-area.d.ts.map +1 -0
- package/dist/primitives/layout/section.d.ts +16 -0
- package/dist/primitives/layout/section.d.ts.map +1 -0
- package/dist/primitives/layout/separator.d.ts +38 -0
- package/dist/primitives/layout/separator.d.ts.map +1 -0
- package/dist/primitives/layout/spacer.d.ts +38 -0
- package/dist/primitives/layout/spacer.d.ts.map +1 -0
- package/dist/primitives/layout/split-pane.d.ts +57 -0
- package/dist/primitives/layout/split-pane.d.ts.map +1 -0
- package/dist/primitives/layout/stack.d.ts +60 -0
- package/dist/primitives/layout/stack.d.ts.map +1 -0
- package/dist/primitives/typography/blockquote.d.ts +36 -0
- package/dist/primitives/typography/blockquote.d.ts.map +1 -0
- package/dist/primitives/typography/code-display.d.ts +41 -0
- package/dist/primitives/typography/code-display.d.ts.map +1 -0
- package/dist/primitives/typography/code.d.ts +32 -0
- package/dist/primitives/typography/code.d.ts.map +1 -0
- package/dist/primitives/typography/formatted-number.d.ts +54 -0
- package/dist/primitives/typography/formatted-number.d.ts.map +1 -0
- package/dist/primitives/typography/heading.d.ts +40 -0
- package/dist/primitives/typography/heading.d.ts.map +1 -0
- package/dist/primitives/typography/helper-text.d.ts +36 -0
- package/dist/primitives/typography/helper-text.d.ts.map +1 -0
- package/dist/primitives/typography/index.d.ts +18 -0
- package/dist/primitives/typography/index.d.ts.map +1 -0
- package/dist/primitives/typography/kbd.d.ts +28 -0
- package/dist/primitives/typography/kbd.d.ts.map +1 -0
- package/dist/primitives/typography/relative-time.d.ts +35 -0
- package/dist/primitives/typography/relative-time.d.ts.map +1 -0
- package/dist/primitives/typography/screen-reader-text.d.ts +34 -0
- package/dist/primitives/typography/screen-reader-text.d.ts.map +1 -0
- package/dist/primitives/typography/text.d.ts +46 -0
- package/dist/primitives/typography/text.d.ts.map +1 -0
- package/dist/primitives/typography/truncated-text.d.ts +42 -0
- package/dist/primitives/typography/truncated-text.d.ts.map +1 -0
- package/dist/primitives/typography/typography.d.ts +50 -0
- package/dist/primitives/typography/typography.d.ts.map +1 -0
- package/dist/seo/AIMeta.d.ts +20 -0
- package/dist/seo/AIMeta.d.ts.map +1 -0
- package/dist/seo/AITrainingEnhancer.d.ts +7 -0
- package/dist/seo/AITrainingEnhancer.d.ts.map +1 -0
- package/dist/seo/SemanticHTML.d.ts +89 -0
- package/dist/seo/SemanticHTML.d.ts.map +1 -0
- package/dist/seo/advancedSEO.d.ts +1074 -0
- package/dist/seo/advancedSEO.d.ts.map +1 -0
- package/dist/seo/aiTrainingMetadata.d.ts +181 -0
- package/dist/seo/aiTrainingMetadata.d.ts.map +1 -0
- package/dist/seo/index.d.ts +10 -0
- package/dist/seo/index.d.ts.map +1 -0
- package/dist/seo/seo-headings.d.ts +62 -0
- package/dist/seo/seo-headings.d.ts.map +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/content-container.d.ts +1 -1
- package/dist/ui/design-system-components.d.ts +2 -2
- package/dist/ui/feature-grid.d.ts +1 -1
- package/dist/ui/free-email-banner.d.ts +1 -1
- package/dist/ui/page-container.d.ts +1 -1
- package/dist/ui/section.d.ts +3 -3
- package/dist/ui/smart-link.d.ts +1 -1
- package/dist/ui/typography.d.ts +6 -6
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BoxProps {
|
|
3
|
+
/** Box content */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** HTML element to render */
|
|
6
|
+
as?: 'div' | 'section' | 'article' | 'aside' | 'main' | 'header' | 'footer' | 'nav';
|
|
7
|
+
/** Padding */
|
|
8
|
+
p?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
9
|
+
/** Padding X-axis */
|
|
10
|
+
px?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
11
|
+
/** Padding Y-axis */
|
|
12
|
+
py?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
13
|
+
/** Margin */
|
|
14
|
+
m?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'auto';
|
|
15
|
+
/** Margin X-axis */
|
|
16
|
+
mx?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'auto';
|
|
17
|
+
/** Margin Y-axis */
|
|
18
|
+
my?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'auto';
|
|
19
|
+
/** Background color */
|
|
20
|
+
bg?: 'transparent' | 'white' | 'gray' | 'primary' | 'success' | 'warning' | 'danger';
|
|
21
|
+
/** Border */
|
|
22
|
+
border?: boolean;
|
|
23
|
+
/** Border radius */
|
|
24
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
25
|
+
/** Shadow */
|
|
26
|
+
shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
27
|
+
/** Width */
|
|
28
|
+
w?: 'auto' | 'full' | 'screen' | 'min' | 'max';
|
|
29
|
+
/** Height */
|
|
30
|
+
h?: 'auto' | 'full' | 'screen' | 'min' | 'max';
|
|
31
|
+
/** Additional className */
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Box Component
|
|
36
|
+
*
|
|
37
|
+
* Fundamental layout primitive with spacing, sizing, and styling props.
|
|
38
|
+
* Acts as a building block for creating layouts and containers.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <Box p="md" bg="white" rounded="lg" shadow="md">
|
|
43
|
+
* <h2>Card Content</h2>
|
|
44
|
+
* </Box>
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* <Box as="section" py="xl" px="md">
|
|
50
|
+
* <Text>Section content</Text>
|
|
51
|
+
* </Box>
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare const Box: React.FC<BoxProps>;
|
|
55
|
+
export default Box;
|
|
56
|
+
//# sourceMappingURL=box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,QAAQ;IACvB,kBAAkB;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6BAA6B;IAC7B,EAAE,CAAC,EACC,KAAK,GACL,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,KAAK,CAAC;IACV,cAAc;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACtD,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACvD,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACvD,aAAa;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IAC/D,oBAAoB;IACpB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IAChE,oBAAoB;IACpB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IAChE,uBAAuB;IACvB,EAAE,CAAC,EACC,aAAa,GACb,OAAO,GACP,MAAM,GACN,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACb,aAAa;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACtD,aAAa;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,YAAY;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAC/C,aAAa;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAC/C,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAoHlC,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface CenterProps {
|
|
3
|
+
/** Content to center */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Axis to center on */
|
|
6
|
+
axis?: 'horizontal' | 'vertical' | 'both';
|
|
7
|
+
/** Use inline-flex instead of flex */
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
/** Additional className */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Center Component
|
|
14
|
+
*
|
|
15
|
+
* Centers content horizontally, vertically, or both using flexbox.
|
|
16
|
+
* Useful for centering loading states, empty states, and modal content.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <Center>
|
|
21
|
+
* <Spinner />
|
|
22
|
+
* </Center>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <Center axis="horizontal">
|
|
28
|
+
* <Button>Centered Button</Button>
|
|
29
|
+
* </Center>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare const Center: React.FC<CenterProps>;
|
|
33
|
+
export default Center;
|
|
34
|
+
//# sourceMappingURL=center.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"center.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/center.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,sCAAsC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6BxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ContainerProps {
|
|
3
|
+
/** Container content */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Max width variant */
|
|
6
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
7
|
+
/** Center container horizontally */
|
|
8
|
+
center?: boolean;
|
|
9
|
+
/** Padding */
|
|
10
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
11
|
+
/** Additional className */
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Container Component
|
|
16
|
+
*
|
|
17
|
+
* Responsive container with max-width constraints and horizontal centering.
|
|
18
|
+
* Useful for creating consistent page layouts and content areas.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <Container>
|
|
23
|
+
* <h1>Page Content</h1>
|
|
24
|
+
* </Container>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <Container size="lg" padding="lg">
|
|
30
|
+
* <Text>Centered content with large max-width</Text>
|
|
31
|
+
* </Container>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
35
|
+
export default Container;
|
|
36
|
+
//# sourceMappingURL=container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IAClD,oCAAoC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACtC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsC9C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface DividerProps {
|
|
3
|
+
/** Optional text label */
|
|
4
|
+
label?: string;
|
|
5
|
+
/** Label position */
|
|
6
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
7
|
+
/** Orientation */
|
|
8
|
+
orientation?: 'horizontal' | 'vertical';
|
|
9
|
+
/** Spacing around the divider */
|
|
10
|
+
spacing?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
11
|
+
/** Line thickness */
|
|
12
|
+
thickness?: 'thin' | 'medium' | 'thick';
|
|
13
|
+
/** Color variant */
|
|
14
|
+
variant?: 'light' | 'medium' | 'dark';
|
|
15
|
+
/** Additional className for the container */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** Additional className for the line */
|
|
18
|
+
lineClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Divider Component
|
|
22
|
+
*
|
|
23
|
+
* A visual separator for content sections with optional label support.
|
|
24
|
+
* Can be used horizontally or vertically to divide content areas.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Divider />
|
|
29
|
+
* <Divider label="OR" labelPosition="center" />
|
|
30
|
+
* <Divider spacing="lg" variant="medium" />
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* // Vertical divider
|
|
36
|
+
* <div className="flex gap-4">
|
|
37
|
+
* <div>Content 1</div>
|
|
38
|
+
* <Divider orientation="vertical" />
|
|
39
|
+
* <div>Content 2</div>
|
|
40
|
+
* </div>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const Divider: React.FC<DividerProps>;
|
|
44
|
+
export default Divider;
|
|
45
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAY;IAC3B,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC5C,kBAAkB;IAClB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmI1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use Tailwind flex utilities instead. This component will be removed in v2.0.
|
|
4
|
+
*/
|
|
5
|
+
interface FlexContainerProps {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
direction?: 'row' | 'row-reverse' | 'col' | 'col-reverse';
|
|
8
|
+
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
9
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
10
|
+
wrap?: 'wrap' | 'wrap-reverse' | 'nowrap';
|
|
11
|
+
gap?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12';
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use Tailwind flex utilities instead. This component will be removed in v2.0.
|
|
16
|
+
* See migration guide in file header.
|
|
17
|
+
*/
|
|
18
|
+
export declare const FlexContainer: React.FC<FlexContainerProps>;
|
|
19
|
+
export default FlexContainer;
|
|
20
|
+
//# sourceMappingURL=flex-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex-container.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/flex-container.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;GAEG;AACH,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,KAAK,GAAG,aAAa,CAAC;IAC1D,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5D,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvE,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,QAAQ,CAAC;IAC1C,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6CD;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwBtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from './box';
|
|
3
|
+
export interface FlexProps extends Omit<BoxProps, 'className'> {
|
|
4
|
+
/** Flex direction */
|
|
5
|
+
direction?: 'row' | 'row-reverse' | 'col' | 'col-reverse';
|
|
6
|
+
/** Align items */
|
|
7
|
+
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
8
|
+
/** Justify content */
|
|
9
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
10
|
+
/** Wrap items */
|
|
11
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
12
|
+
/** Gap between items */
|
|
13
|
+
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
14
|
+
/** Inline flex */
|
|
15
|
+
inline?: boolean;
|
|
16
|
+
/** Additional className */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Flex Component
|
|
21
|
+
*
|
|
22
|
+
* Flexbox layout component extending Box with flex-specific properties.
|
|
23
|
+
* Provides convenient props for common flexbox patterns.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <Flex justify="between" align="center" p="md">
|
|
28
|
+
* <Text>Left</Text>
|
|
29
|
+
* <Button>Right</Button>
|
|
30
|
+
* </Flex>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <Flex direction="col" gap="md" p="lg">
|
|
36
|
+
* <Card>Item 1</Card>
|
|
37
|
+
* <Card>Item 2</Card>
|
|
38
|
+
* </Flex>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare const Flex: React.FC<FlexProps>;
|
|
42
|
+
export default Flex;
|
|
43
|
+
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAO,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC5D,qBAAqB;IACrB,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,KAAK,GAAG,aAAa,CAAC;IAC1D,kBAAkB;IAClB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5D,sBAAsB;IACtB,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvE,iBAAiB;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC;IAC1C,wBAAwB;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACxD,kBAAkB;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA2EpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface FloatingPanelProps {
|
|
3
|
+
/** Panel content */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Panel title */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Initial position */
|
|
8
|
+
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
9
|
+
/** Collapsible */
|
|
10
|
+
collapsible?: boolean;
|
|
11
|
+
/** Initially collapsed */
|
|
12
|
+
defaultCollapsed?: boolean;
|
|
13
|
+
/** Close button */
|
|
14
|
+
closeable?: boolean;
|
|
15
|
+
/** Close handler */
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
/** Additional className */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* FloatingPanel Component
|
|
22
|
+
*
|
|
23
|
+
* Floating panel that stays fixed on screen.
|
|
24
|
+
* Useful for chat widgets, help panels, or notifications.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <FloatingPanel
|
|
29
|
+
* title="Help & Support"
|
|
30
|
+
* position="bottom-right"
|
|
31
|
+
* collapsible
|
|
32
|
+
* >
|
|
33
|
+
* <ChatWidget />
|
|
34
|
+
* </FloatingPanel>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare const FloatingPanel: React.FC<FloatingPanelProps>;
|
|
38
|
+
export default FloatingPanel;
|
|
39
|
+
//# sourceMappingURL=floating-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floating-panel.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/floating-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,QAAQ,CAAC,EAAE,cAAc,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;IACrE,kBAAkB;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0BAA0B;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8FtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface GridProps {
|
|
3
|
+
/** Grid content */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Number of columns (responsive object or number) */
|
|
6
|
+
cols?: number | {
|
|
7
|
+
sm?: number;
|
|
8
|
+
md?: number;
|
|
9
|
+
lg?: number;
|
|
10
|
+
xl?: number;
|
|
11
|
+
};
|
|
12
|
+
/** Gap between items */
|
|
13
|
+
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
14
|
+
/** Auto-fit columns with minimum width */
|
|
15
|
+
autoFit?: string;
|
|
16
|
+
/** Auto-fill columns with minimum width */
|
|
17
|
+
autoFill?: string;
|
|
18
|
+
/** Align items */
|
|
19
|
+
alignItems?: 'start' | 'center' | 'end' | 'stretch';
|
|
20
|
+
/** Justify items */
|
|
21
|
+
justifyItems?: 'start' | 'center' | 'end' | 'stretch';
|
|
22
|
+
/** Additional className */
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Grid Component
|
|
27
|
+
*
|
|
28
|
+
* CSS Grid layout component with responsive columns and flexible configurations.
|
|
29
|
+
* Supports auto-fit, auto-fill, and explicit column counts.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <Grid cols={3} gap="md">
|
|
34
|
+
* <Card>Item 1</Card>
|
|
35
|
+
* <Card>Item 2</Card>
|
|
36
|
+
* <Card>Item 3</Card>
|
|
37
|
+
* </Grid>
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <Grid
|
|
43
|
+
* cols={{ sm: 1, md: 2, lg: 3, xl: 4 }}
|
|
44
|
+
* gap="lg"
|
|
45
|
+
* >
|
|
46
|
+
* {items.map(item => <Card key={item.id}>{item.content}</Card>)}
|
|
47
|
+
* </Grid>
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <Grid autoFit="250px" gap="md">
|
|
53
|
+
* <Card>Dynamic Item</Card>
|
|
54
|
+
* </Grid>
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare const Grid: React.FC<GridProps>;
|
|
58
|
+
export default Grid;
|
|
59
|
+
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,SAAS;IACxB,mBAAmB;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,wBAAwB;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACxD,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IACpD,oBAAoB;IACpB,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IACtD,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA2FpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Layout Primitives
|
|
3
|
+
*
|
|
4
|
+
* Basic layout building blocks for structuring UI
|
|
5
|
+
*/
|
|
6
|
+
export * from './box';
|
|
7
|
+
export * from './flex';
|
|
8
|
+
export * from './flex-container';
|
|
9
|
+
export * from './container';
|
|
10
|
+
export * from './grid';
|
|
11
|
+
export * from './stack';
|
|
12
|
+
export * from './center';
|
|
13
|
+
export * from './spacer';
|
|
14
|
+
export * from './section';
|
|
15
|
+
export * from './page-container';
|
|
16
|
+
export * from './aspect-ratio';
|
|
17
|
+
export * from './divider';
|
|
18
|
+
export * from './separator';
|
|
19
|
+
export * from './border-accent';
|
|
20
|
+
export * from './floating-panel';
|
|
21
|
+
export * from './split-pane';
|
|
22
|
+
export * from './resizable';
|
|
23
|
+
export * from './resizable-panels';
|
|
24
|
+
export * from './scroll-area';
|
|
25
|
+
export * from './masonry';
|
|
26
|
+
export * from './portal';
|
|
27
|
+
export * from './overlay';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAGjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface MasonryProps {
|
|
3
|
+
/** Children elements */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Number of columns */
|
|
6
|
+
columns?: number;
|
|
7
|
+
/** Gap between items */
|
|
8
|
+
gap?: number;
|
|
9
|
+
/** Responsive breakpoints */
|
|
10
|
+
breakpoints?: {
|
|
11
|
+
[key: number]: number;
|
|
12
|
+
};
|
|
13
|
+
/** Additional className */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Masonry Component
|
|
18
|
+
*
|
|
19
|
+
* Pinterest-style masonry grid layout.
|
|
20
|
+
* Automatically arranges items in columns with optimal spacing.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* <Masonry columns={3} gap={16}>
|
|
25
|
+
* {items.map(item => <Card key={item.id}>{item.content}</Card>)}
|
|
26
|
+
* </Masonry>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Masonry
|
|
32
|
+
* breakpoints={{ 768: 2, 1024: 3, 1280: 4 }}
|
|
33
|
+
* gap={20}
|
|
34
|
+
* >
|
|
35
|
+
* {photos.map(photo => <Image key={photo.id} src={photo.url} />)}
|
|
36
|
+
* </Masonry>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare const Masonry: React.FC<MasonryProps>;
|
|
40
|
+
export default Masonry;
|
|
41
|
+
//# sourceMappingURL=masonry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"masonry.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/masonry.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACxC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+D1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface OverlayProps {
|
|
3
|
+
/** Whether overlay is visible */
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
/** Click handler for overlay backdrop */
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
/** Overlay content */
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
/** Blur backdrop */
|
|
10
|
+
blur?: boolean;
|
|
11
|
+
/** Opacity level */
|
|
12
|
+
opacity?: 'light' | 'medium' | 'dark';
|
|
13
|
+
/** Z-index level */
|
|
14
|
+
zIndex?: number;
|
|
15
|
+
/** Prevent body scroll when open */
|
|
16
|
+
lockScroll?: boolean;
|
|
17
|
+
/** Additional className */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Overlay Component
|
|
22
|
+
*
|
|
23
|
+
* Full-screen backdrop overlay with optional blur and click-to-close.
|
|
24
|
+
* Typically used with modals, drawers, and popups.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Overlay isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>
|
|
29
|
+
* <Modal>Content</Modal>
|
|
30
|
+
* </Overlay>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <Overlay isOpen={true} blur opacity="dark" />
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const Overlay: React.FC<OverlayProps>;
|
|
39
|
+
export default Overlay;
|
|
40
|
+
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAY;IAC3B,iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,oBAAoB;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgE1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const pageContainerVariants: (props?: ({
|
|
4
|
+
background?: "transparent" | "default" | "surface" | "gradient" | null | undefined;
|
|
5
|
+
overflow?: "hidden" | "visible" | "scroll" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
interface PageContainerProps extends VariantProps<typeof pageContainerVariants> {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const PageContainer: React.FC<PageContainerProps>;
|
|
12
|
+
export default PageContainer;
|
|
13
|
+
//# sourceMappingURL=page-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-container.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/page-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,qBAAqB;;;8EAmBzB,CAAC;AAEH,UAAU,kBACR,SAAQ,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAClD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAatD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface PortalProps {
|
|
3
|
+
/** Content to portal */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** Target container (defaults to document.body) */
|
|
6
|
+
container?: Element | null;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Portal Component
|
|
10
|
+
*
|
|
11
|
+
* Renders children into a DOM node outside the parent component's hierarchy.
|
|
12
|
+
* Useful for modals, tooltips, and overlays that need to break out of z-index stacking.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Portal>
|
|
17
|
+
* <Modal>Content</Modal>
|
|
18
|
+
* </Portal>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <Portal container={customElement}>
|
|
24
|
+
* <Tooltip>Tooltip content</Tooltip>
|
|
25
|
+
* </Portal>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const Portal: React.FC<PortalProps>;
|
|
29
|
+
export default Portal;
|
|
30
|
+
//# sourceMappingURL=portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mDAAmD;IACnD,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAaxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UresizableUpanels Component
|
|
3
|
+
*
|
|
4
|
+
* A reusable UresizableUpanels component with full dark mode support.
|
|
5
|
+
* Optimized for accessibility and AI-assisted development.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <UresizableUpanels className="custom-class" />
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* This component supports:
|
|
15
|
+
* - Light and dark themes automatically
|
|
16
|
+
* - Responsive design
|
|
17
|
+
* - Accessibility features
|
|
18
|
+
* - TypeScript type safety
|
|
19
|
+
*
|
|
20
|
+
* @see {@link https://docs.example.com/components/resizable-panels}
|
|
21
|
+
*/
|
|
22
|
+
export interface UresizableUpanelsProps {
|
|
23
|
+
/** Additional CSS classes */
|
|
24
|
+
className?: string;
|
|
25
|
+
/** Component children */
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
/** Disabled state */
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/** Callback when component is interacted with */
|
|
30
|
+
onClick?: () => void;
|
|
31
|
+
}
|
|
32
|
+
export declare const UresizableUpanels: ({ className, children, disabled, onClick, }: UresizableUpanelsProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export default UresizableUpanels;
|
|
34
|
+
//# sourceMappingURL=resizable-panels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable-panels.d.ts","sourceRoot":"","sources":["../../../src/primitives/layout/resizable-panels.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,iBAAiB,GAAI,6CAK/B,sBAAsB,4CAmBxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ResizeDirection = 'top' | 'right' | 'bottom' | 'left' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export interface ResizableProps {
|
|
4
|
+
/** Children content */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** Initial width */
|
|
7
|
+
defaultWidth?: number;
|
|
8
|
+
/** Initial height */
|
|
9
|
+
defaultHeight?: number;
|
|
10
|
+
/** Minimum width */
|
|
11
|
+
minWidth?: number;
|
|
12
|
+
/** Minimum height */
|
|
13
|
+
minHeight?: number;
|
|
14
|
+
/** Maximum width */
|
|
15
|
+
maxWidth?: number;
|
|
16
|
+
/** Maximum height */
|
|
17
|
+
maxHeight?: number;
|
|
18
|
+
/** Enabled resize directions */
|
|
19
|
+
directions?: ResizeDirection[];
|
|
20
|
+
/** Resize callback */
|
|
21
|
+
onResize?: (width: number, height: number) => void;
|
|
22
|
+
/** Resize end callback */
|
|
23
|
+
onResizeEnd?: (width: number, height: number) => void;
|
|
24
|
+
/** Show resize handles */
|
|
25
|
+
showHandles?: boolean;
|
|
26
|
+
/** Additional className */
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Resizable Component
|
|
31
|
+
*
|
|
32
|
+
* Resizable container with draggable handles.
|
|
33
|
+
* Supports all 8 resize directions with constraints.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <Resizable
|
|
38
|
+
* defaultWidth={400}
|
|
39
|
+
* defaultHeight={300}
|
|
40
|
+
* minWidth={200}
|
|
41
|
+
* minHeight={150}
|
|
42
|
+
* directions={['right', 'bottom', 'bottom-right']}
|
|
43
|
+
* onResize={(w, h) => console.log(w, h)}
|
|
44
|
+
* >
|
|
45
|
+
* <div>Resizable content</div>
|
|
46
|
+
* </Resizable>
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```tsx
|
|
51
|
+
* <Resizable
|
|
52
|
+
* defaultWidth={600}
|
|
53
|
+
* defaultHeight={400}
|
|
54
|
+
* maxWidth={800}
|
|
55
|
+
* maxHeight={600}
|
|
56
|
+
* >
|
|
57
|
+
* <Panel />
|
|
58
|
+
* </Resizable>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare const Resizable: React.FC<ResizableProps>;
|
|
62
|
+
export default Resizable;
|
|
63
|
+
//# sourceMappingURL=resizable.d.ts.map
|