@dynamic-labs-sdk/droplet 0.0.0 → 0.27.2
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 +292 -0
- package/dist/components/ask-ai-sheet/ask-ai-sheet.d.ts +11 -0
- package/dist/components/ask-ai-sheet/ask-ai-sheet.d.ts.map +1 -0
- package/dist/components/ask-ai-sheet/index.d.ts +2 -0
- package/dist/components/ask-ai-sheet/index.d.ts.map +1 -0
- package/dist/components/asset-icon/asset-icon.d.ts +7 -0
- package/dist/components/asset-icon/asset-icon.d.ts.map +1 -0
- package/dist/components/asset-icon/index.d.ts +2 -0
- package/dist/components/asset-icon/index.d.ts.map +1 -0
- package/dist/components/code-block/code-block.d.ts +24 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/code-block.stories.d.ts +38 -0
- package/dist/components/code-block/code-block.stories.d.ts.map +1 -0
- package/dist/components/code-block/index.d.ts +3 -0
- package/dist/components/code-block/index.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.d.ts +9 -0
- package/dist/components/copy-button/copy-button.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.stories.d.ts +33 -0
- package/dist/components/copy-button/copy-button.stories.d.ts.map +1 -0
- package/dist/components/copy-button/index.d.ts +2 -0
- package/dist/components/copy-button/index.d.ts.map +1 -0
- package/dist/components/danger-zone/danger-zone.d.ts +11 -0
- package/dist/components/danger-zone/danger-zone.d.ts.map +1 -0
- package/dist/components/danger-zone/danger-zone.stories.d.ts +20 -0
- package/dist/components/danger-zone/danger-zone.stories.d.ts.map +1 -0
- package/dist/components/danger-zone/index.d.ts +2 -0
- package/dist/components/danger-zone/index.d.ts.map +1 -0
- package/dist/components/domain-list/domain-list.d.ts +10 -0
- package/dist/components/domain-list/domain-list.d.ts.map +1 -0
- package/dist/components/domain-list/domain-list.stories.d.ts +14 -0
- package/dist/components/domain-list/domain-list.stories.d.ts.map +1 -0
- package/dist/components/domain-list/index.d.ts +2 -0
- package/dist/components/domain-list/index.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +13 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.stories.d.ts +15 -0
- package/dist/components/empty-state/empty-state.stories.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/icon-config/icon-config.d.ts +11 -0
- package/dist/components/icon-config/icon-config.d.ts.map +1 -0
- package/dist/components/icon-config/index.d.ts +2 -0
- package/dist/components/icon-config/index.d.ts.map +1 -0
- package/dist/components/icons/animated-icon/animated-icon.d.ts +26 -0
- package/dist/components/icons/animated-icon/animated-icon.d.ts.map +1 -0
- package/dist/components/icons/animated-icon/index.d.ts +3 -0
- package/dist/components/icons/animated-icon/index.d.ts.map +1 -0
- package/dist/components/icons/arrow-up-right/arrow-up-right.d.ts +6 -0
- package/dist/components/icons/arrow-up-right/arrow-up-right.d.ts.map +1 -0
- package/dist/components/icons/arrow-up-right/index.d.ts +3 -0
- package/dist/components/icons/arrow-up-right/index.d.ts.map +1 -0
- package/dist/components/icons/chart-bar-increasing/chart-bar-increasing.d.ts +11 -0
- package/dist/components/icons/chart-bar-increasing/chart-bar-increasing.d.ts.map +1 -0
- package/dist/components/icons/chart-bar-increasing/index.d.ts +3 -0
- package/dist/components/icons/chart-bar-increasing/index.d.ts.map +1 -0
- package/dist/components/icons/chevron-down/chevron-down.d.ts +6 -0
- package/dist/components/icons/chevron-down/chevron-down.d.ts.map +1 -0
- package/dist/components/icons/chevron-down/index.d.ts +3 -0
- package/dist/components/icons/chevron-down/index.d.ts.map +1 -0
- package/dist/components/icons/chevron-right/chevron-right.d.ts +6 -0
- package/dist/components/icons/chevron-right/chevron-right.d.ts.map +1 -0
- package/dist/components/icons/chevron-right/index.d.ts +3 -0
- package/dist/components/icons/chevron-right/index.d.ts.map +1 -0
- package/dist/components/icons/copy/copy.d.ts +6 -0
- package/dist/components/icons/copy/copy.d.ts.map +1 -0
- package/dist/components/icons/copy/index.d.ts +3 -0
- package/dist/components/icons/copy/index.d.ts.map +1 -0
- package/dist/components/icons/copy-check/copy-check.d.ts +12 -0
- package/dist/components/icons/copy-check/copy-check.d.ts.map +1 -0
- package/dist/components/icons/copy-check/index.d.ts +3 -0
- package/dist/components/icons/copy-check/index.d.ts.map +1 -0
- package/dist/components/icons/dollar-sign/dollar-sign.d.ts +6 -0
- package/dist/components/icons/dollar-sign/dollar-sign.d.ts.map +1 -0
- package/dist/components/icons/dollar-sign/index.d.ts +3 -0
- package/dist/components/icons/dollar-sign/index.d.ts.map +1 -0
- package/dist/components/icons/download/download.d.ts +6 -0
- package/dist/components/icons/download/download.d.ts.map +1 -0
- package/dist/components/icons/download/index.d.ts +3 -0
- package/dist/components/icons/download/index.d.ts.map +1 -0
- package/dist/components/icons/fingerprint/fingerprint.d.ts +6 -0
- package/dist/components/icons/fingerprint/fingerprint.d.ts.map +1 -0
- package/dist/components/icons/fingerprint/index.d.ts +3 -0
- package/dist/components/icons/fingerprint/index.d.ts.map +1 -0
- package/dist/components/icons/home/home.d.ts +6 -0
- package/dist/components/icons/home/home.d.ts.map +1 -0
- package/dist/components/icons/home/index.d.ts +3 -0
- package/dist/components/icons/home/index.d.ts.map +1 -0
- package/dist/components/icons/key/index.d.ts +3 -0
- package/dist/components/icons/key/index.d.ts.map +1 -0
- package/dist/components/icons/key/key.d.ts +6 -0
- package/dist/components/icons/key/key.d.ts.map +1 -0
- package/dist/components/icons/layout-panel-top/index.d.ts +3 -0
- package/dist/components/icons/layout-panel-top/index.d.ts.map +1 -0
- package/dist/components/icons/layout-panel-top/layout-panel-top.d.ts +6 -0
- package/dist/components/icons/layout-panel-top/layout-panel-top.d.ts.map +1 -0
- package/dist/components/icons/link/index.d.ts +3 -0
- package/dist/components/icons/link/index.d.ts.map +1 -0
- package/dist/components/icons/link/link.d.ts +6 -0
- package/dist/components/icons/link/link.d.ts.map +1 -0
- package/dist/components/icons/mcp-tools/index.d.ts +2 -0
- package/dist/components/icons/mcp-tools/index.d.ts.map +1 -0
- package/dist/components/icons/mcp-tools/mcp-tools.d.ts +11 -0
- package/dist/components/icons/mcp-tools/mcp-tools.d.ts.map +1 -0
- package/dist/components/icons/moon/index.d.ts +3 -0
- package/dist/components/icons/moon/index.d.ts.map +1 -0
- package/dist/components/icons/moon/moon.d.ts +6 -0
- package/dist/components/icons/moon/moon.d.ts.map +1 -0
- package/dist/components/icons/panel-left-close/index.d.ts +3 -0
- package/dist/components/icons/panel-left-close/index.d.ts.map +1 -0
- package/dist/components/icons/panel-left-close/panel-left-close.d.ts +6 -0
- package/dist/components/icons/panel-left-close/panel-left-close.d.ts.map +1 -0
- package/dist/components/icons/panel-left-open/index.d.ts +3 -0
- package/dist/components/icons/panel-left-open/index.d.ts.map +1 -0
- package/dist/components/icons/panel-left-open/panel-left-open.d.ts +6 -0
- package/dist/components/icons/panel-left-open/panel-left-open.d.ts.map +1 -0
- package/dist/components/icons/plus/index.d.ts +3 -0
- package/dist/components/icons/plus/index.d.ts.map +1 -0
- package/dist/components/icons/plus/plus.d.ts +6 -0
- package/dist/components/icons/plus/plus.d.ts.map +1 -0
- package/dist/components/icons/refresh-cw/index.d.ts +3 -0
- package/dist/components/icons/refresh-cw/index.d.ts.map +1 -0
- package/dist/components/icons/refresh-cw/refresh-cw.d.ts +6 -0
- package/dist/components/icons/refresh-cw/refresh-cw.d.ts.map +1 -0
- package/dist/components/icons/search/index.d.ts +3 -0
- package/dist/components/icons/search/index.d.ts.map +1 -0
- package/dist/components/icons/search/search.d.ts +6 -0
- package/dist/components/icons/search/search.d.ts.map +1 -0
- package/dist/components/icons/settings/index.d.ts +3 -0
- package/dist/components/icons/settings/index.d.ts.map +1 -0
- package/dist/components/icons/settings/settings.d.ts +6 -0
- package/dist/components/icons/settings/settings.d.ts.map +1 -0
- package/dist/components/icons/shield-check/index.d.ts +3 -0
- package/dist/components/icons/shield-check/index.d.ts.map +1 -0
- package/dist/components/icons/shield-check/shield-check.d.ts +6 -0
- package/dist/components/icons/shield-check/shield-check.d.ts.map +1 -0
- package/dist/components/icons/sun/index.d.ts +3 -0
- package/dist/components/icons/sun/index.d.ts.map +1 -0
- package/dist/components/icons/sun/sun.d.ts +6 -0
- package/dist/components/icons/sun/sun.d.ts.map +1 -0
- package/dist/components/icons/terminal/index.d.ts +3 -0
- package/dist/components/icons/terminal/index.d.ts.map +1 -0
- package/dist/components/icons/terminal/terminal.d.ts +6 -0
- package/dist/components/icons/terminal/terminal.d.ts.map +1 -0
- package/dist/components/icons/users/index.d.ts +3 -0
- package/dist/components/icons/users/index.d.ts.map +1 -0
- package/dist/components/icons/users/users.d.ts +6 -0
- package/dist/components/icons/users/users.d.ts.map +1 -0
- package/dist/components/info-banner/index.d.ts +2 -0
- package/dist/components/info-banner/index.d.ts.map +1 -0
- package/dist/components/info-banner/info-banner.d.ts +9 -0
- package/dist/components/info-banner/info-banner.d.ts.map +1 -0
- package/dist/components/info-banner/info-banner.stories.d.ts +23 -0
- package/dist/components/info-banner/info-banner.stories.d.ts.map +1 -0
- package/dist/components/loading-skeleton/index.d.ts +2 -0
- package/dist/components/loading-skeleton/index.d.ts.map +1 -0
- package/dist/components/loading-skeleton/loading-skeleton.d.ts +19 -0
- package/dist/components/loading-skeleton/loading-skeleton.d.ts.map +1 -0
- package/dist/components/metric-card/index.d.ts +2 -0
- package/dist/components/metric-card/index.d.ts.map +1 -0
- package/dist/components/metric-card/metric-card.d.ts +31 -0
- package/dist/components/metric-card/metric-card.d.ts.map +1 -0
- package/dist/components/metric-card/metric-card.stories.d.ts +16 -0
- package/dist/components/metric-card/metric-card.stories.d.ts.map +1 -0
- package/dist/components/migration/banner/banner.d.ts +24 -0
- package/dist/components/migration/banner/banner.d.ts.map +1 -0
- package/dist/components/migration/banner/banner.stories.d.ts +39 -0
- package/dist/components/migration/banner/banner.stories.d.ts.map +1 -0
- package/dist/components/migration/banner/index.d.ts +2 -0
- package/dist/components/migration/banner/index.d.ts.map +1 -0
- package/dist/components/migration/double-section/double-section.d.ts +29 -0
- package/dist/components/migration/double-section/double-section.d.ts.map +1 -0
- package/dist/components/migration/double-section/double-section.stories.d.ts +32 -0
- package/dist/components/migration/double-section/double-section.stories.d.ts.map +1 -0
- package/dist/components/migration/double-section/index.d.ts +2 -0
- package/dist/components/migration/double-section/index.d.ts.map +1 -0
- package/dist/components/migration/field/field.d.ts +19 -0
- package/dist/components/migration/field/field.d.ts.map +1 -0
- package/dist/components/migration/field/field.stories.d.ts +43 -0
- package/dist/components/migration/field/field.stories.d.ts.map +1 -0
- package/dist/components/migration/field/index.d.ts +2 -0
- package/dist/components/migration/field/index.d.ts.map +1 -0
- package/dist/components/migration/index.d.ts +16 -0
- package/dist/components/migration/index.d.ts.map +1 -0
- package/dist/components/migration/settings-section-v2/index.d.ts +2 -0
- package/dist/components/migration/settings-section-v2/index.d.ts.map +1 -0
- package/dist/components/migration/settings-section-v2/settings-section-v2.d.ts +45 -0
- package/dist/components/migration/settings-section-v2/settings-section-v2.d.ts.map +1 -0
- package/dist/components/migration/settings-section-v2/settings-section-v2.stories.d.ts +40 -0
- package/dist/components/migration/settings-section-v2/settings-section-v2.stories.d.ts.map +1 -0
- package/dist/components/migration/sub-section/index.d.ts +2 -0
- package/dist/components/migration/sub-section/index.d.ts.map +1 -0
- package/dist/components/migration/sub-section/sub-section.d.ts +26 -0
- package/dist/components/migration/sub-section/sub-section.d.ts.map +1 -0
- package/dist/components/migration/sub-section/sub-section.stories.d.ts +33 -0
- package/dist/components/migration/sub-section/sub-section.stories.d.ts.map +1 -0
- package/dist/components/migration/toggle-group/index.d.ts +2 -0
- package/dist/components/migration/toggle-group/index.d.ts.map +1 -0
- package/dist/components/migration/toggle-group/toggle-group.d.ts +22 -0
- package/dist/components/migration/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/migration/toggle-group/toggle-group.stories.d.ts +21 -0
- package/dist/components/migration/toggle-group/toggle-group.stories.d.ts.map +1 -0
- package/dist/components/page-actions/index.d.ts +2 -0
- package/dist/components/page-actions/index.d.ts.map +1 -0
- package/dist/components/page-actions/page-actions.d.ts +5 -0
- package/dist/components/page-actions/page-actions.d.ts.map +1 -0
- package/dist/components/patterns/config-tab-with-pill/config-tab-with-pill.stories.d.ts +17 -0
- package/dist/components/patterns/config-tab-with-pill/config-tab-with-pill.stories.d.ts.map +1 -0
- package/dist/components/patterns/cors-list/cors-list.stories.d.ts +17 -0
- package/dist/components/patterns/cors-list/cors-list.stories.d.ts.map +1 -0
- package/dist/components/patterns/rounded-row-list/rounded-row-list.stories.d.ts +17 -0
- package/dist/components/patterns/rounded-row-list/rounded-row-list.stories.d.ts.map +1 -0
- package/dist/components/patterns/save-in-modal/save-in-modal.stories.d.ts +18 -0
- package/dist/components/patterns/save-in-modal/save-in-modal.stories.d.ts.map +1 -0
- package/dist/components/patterns/stat-card-grid/stat-card-grid.stories.d.ts +17 -0
- package/dist/components/patterns/stat-card-grid/stat-card-grid.stories.d.ts.map +1 -0
- package/dist/components/product-page-layout/index.d.ts +2 -0
- package/dist/components/product-page-layout/index.d.ts.map +1 -0
- package/dist/components/product-page-layout/product-page-layout.d.ts +20 -0
- package/dist/components/product-page-layout/product-page-layout.d.ts.map +1 -0
- package/dist/components/product-page-layout/product-page-layout.stories.d.ts +14 -0
- package/dist/components/product-page-layout/product-page-layout.stories.d.ts.map +1 -0
- package/dist/components/settings-section/index.d.ts +2 -0
- package/dist/components/settings-section/index.d.ts.map +1 -0
- package/dist/components/settings-section/settings-section.d.ts +10 -0
- package/dist/components/settings-section/settings-section.d.ts.map +1 -0
- package/dist/components/settings-section/settings-section.stories.d.ts +26 -0
- package/dist/components/settings-section/settings-section.stories.d.ts.map +1 -0
- package/dist/components/status-badge/index.d.ts +2 -0
- package/dist/components/status-badge/index.d.ts.map +1 -0
- package/dist/components/status-badge/status-badge.d.ts +9 -0
- package/dist/components/status-badge/status-badge.d.ts.map +1 -0
- package/dist/components/status-badge/status-badge.stories.d.ts +24 -0
- package/dist/components/status-badge/status-badge.stories.d.ts.map +1 -0
- package/dist/components/toggle-card/index.d.ts +2 -0
- package/dist/components/toggle-card/index.d.ts.map +1 -0
- package/dist/components/toggle-card/toggle-card.d.ts +113 -0
- package/dist/components/toggle-card/toggle-card.d.ts.map +1 -0
- package/dist/components/toggle-card/toggle-card.stories.d.ts +45 -0
- package/dist/components/toggle-card/toggle-card.stories.d.ts.map +1 -0
- package/dist/components/toggle-row/index.d.ts +2 -0
- package/dist/components/toggle-row/index.d.ts.map +1 -0
- package/dist/components/toggle-row/toggle-row.d.ts +16 -0
- package/dist/components/toggle-row/toggle-row.d.ts.map +1 -0
- package/dist/components/toggle-row/toggle-row.stories.d.ts +33 -0
- package/dist/components/toggle-row/toggle-row.stories.d.ts.map +1 -0
- package/dist/components/tokens/colors/colors.stories.d.ts +22 -0
- package/dist/components/tokens/colors/colors.stories.d.ts.map +1 -0
- package/dist/components/tokens/radius/radius.stories.d.ts +18 -0
- package/dist/components/tokens/radius/radius.stories.d.ts.map +1 -0
- package/dist/components/tokens/shadows/shadows.stories.d.ts +18 -0
- package/dist/components/tokens/shadows/shadows.stories.d.ts.map +1 -0
- package/dist/components/tokens/spacing/spacing.stories.d.ts +17 -0
- package/dist/components/tokens/spacing/spacing.stories.d.ts.map +1 -0
- package/dist/components/tokens/typography/typography.stories.d.ts +17 -0
- package/dist/components/tokens/typography/typography.stories.d.ts.map +1 -0
- package/dist/components/ui/accordion/accordion.d.ts +8 -0
- package/dist/components/ui/accordion/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion/index.d.ts +2 -0
- package/dist/components/ui/accordion/index.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +19 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.stories.d.ts +13 -0
- package/dist/components/ui/alert-dialog/alert-dialog.stories.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog/index.d.ts +2 -0
- package/dist/components/ui/alert-dialog/index.d.ts.map +1 -0
- package/dist/components/ui/avatar/avatar.d.ts +12 -0
- package/dist/components/ui/avatar/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar/avatar.stories.d.ts +17 -0
- package/dist/components/ui/avatar/avatar.stories.d.ts.map +1 -0
- package/dist/components/ui/avatar/index.d.ts +2 -0
- package/dist/components/ui/avatar/index.d.ts.map +1 -0
- package/dist/components/ui/badge/badge.d.ts +10 -0
- package/dist/components/ui/badge/badge.d.ts.map +1 -0
- package/dist/components/ui/badge/badge.stories.d.ts +29 -0
- package/dist/components/ui/badge/badge.stories.d.ts.map +1 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/badge/index.d.ts.map +1 -0
- package/dist/components/ui/button/button.d.ts +11 -0
- package/dist/components/ui/button/button.d.ts.map +1 -0
- package/dist/components/ui/button/button.stories.d.ts +42 -0
- package/dist/components/ui/button/button.stories.d.ts.map +1 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button/index.d.ts.map +1 -0
- package/dist/components/ui/card/card.d.ts +10 -0
- package/dist/components/ui/card/card.d.ts.map +1 -0
- package/dist/components/ui/card/card.stories.d.ts +14 -0
- package/dist/components/ui/card/card.stories.d.ts.map +1 -0
- package/dist/components/ui/card/index.d.ts +2 -0
- package/dist/components/ui/card/index.d.ts.map +1 -0
- package/dist/components/ui/check-icon/check-icon.d.ts +7 -0
- package/dist/components/ui/check-icon/check-icon.d.ts.map +1 -0
- package/dist/components/ui/check-icon/index.d.ts +2 -0
- package/dist/components/ui/check-icon/index.d.ts.map +1 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox/checkbox.stories.d.ts +18 -0
- package/dist/components/ui/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/components/ui/checkbox/index.d.ts +2 -0
- package/dist/components/ui/checkbox/index.d.ts.map +1 -0
- package/dist/components/ui/collapsible/collapsible.d.ts +7 -0
- package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible/collapsible.stories.d.ts +14 -0
- package/dist/components/ui/collapsible/collapsible.stories.d.ts.map +1 -0
- package/dist/components/ui/collapsible/index.d.ts +2 -0
- package/dist/components/ui/collapsible/index.d.ts.map +1 -0
- package/dist/components/ui/command/command.d.ts +18 -0
- package/dist/components/ui/command/command.d.ts.map +1 -0
- package/dist/components/ui/command/index.d.ts +2 -0
- package/dist/components/ui/command/index.d.ts.map +1 -0
- package/dist/components/ui/dialog/dialog.d.ts +19 -0
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog/dialog.stories.d.ts +15 -0
- package/dist/components/ui/dialog/dialog.stories.d.ts.map +1 -0
- package/dist/components/ui/dialog/index.d.ts +2 -0
- package/dist/components/ui/dialog/index.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.stories.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/ui/flush-card-detach/flush-card-detach.stories.d.ts +17 -0
- package/dist/components/ui/flush-card-detach/flush-card-detach.stories.d.ts.map +1 -0
- package/dist/components/ui/icon/icon.d.ts +4 -0
- package/dist/components/ui/icon/icon.d.ts.map +1 -0
- package/dist/components/ui/icon/index.d.ts +2 -0
- package/dist/components/ui/icon/index.d.ts.map +1 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts.map +1 -0
- package/dist/components/ui/input/input.d.ts +24 -0
- package/dist/components/ui/input/input.d.ts.map +1 -0
- package/dist/components/ui/input/input.stories.d.ts +36 -0
- package/dist/components/ui/input/input.stories.d.ts.map +1 -0
- package/dist/components/ui/kbd/index.d.ts +2 -0
- package/dist/components/ui/kbd/index.d.ts.map +1 -0
- package/dist/components/ui/kbd/kbd.d.ts +5 -0
- package/dist/components/ui/kbd/kbd.d.ts.map +1 -0
- package/dist/components/ui/label/index.d.ts +2 -0
- package/dist/components/ui/label/index.d.ts.map +1 -0
- package/dist/components/ui/label/label.d.ts +4 -0
- package/dist/components/ui/label/label.d.ts.map +1 -0
- package/dist/components/ui/label/label.stories.d.ts +14 -0
- package/dist/components/ui/label/label.stories.d.ts.map +1 -0
- package/dist/components/ui/popover/index.d.ts +2 -0
- package/dist/components/ui/popover/index.d.ts.map +1 -0
- package/dist/components/ui/popover/popover.d.ts +11 -0
- package/dist/components/ui/popover/popover.d.ts.map +1 -0
- package/dist/components/ui/popover/popover.stories.d.ts +13 -0
- package/dist/components/ui/popover/popover.stories.d.ts.map +1 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.d.ts.map +1 -0
- package/dist/components/ui/progress/progress.d.ts +12 -0
- package/dist/components/ui/progress/progress.d.ts.map +1 -0
- package/dist/components/ui/progress/progress.stories.d.ts +17 -0
- package/dist/components/ui/progress/progress.stories.d.ts.map +1 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/radio-group/index.d.ts.map +1 -0
- package/dist/components/ui/radio-group/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group/radio-group.stories.d.ts +14 -0
- package/dist/components/ui/radio-group/radio-group.stories.d.ts.map +1 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/scroll-area/index.d.ts.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/search-input/index.d.ts +2 -0
- package/dist/components/ui/search-input/index.d.ts.map +1 -0
- package/dist/components/ui/search-input/search-input.d.ts +7 -0
- package/dist/components/ui/search-input/search-input.d.ts.map +1 -0
- package/dist/components/ui/select/index.d.ts +2 -0
- package/dist/components/ui/select/index.d.ts.map +1 -0
- package/dist/components/ui/select/select.d.ts +16 -0
- package/dist/components/ui/select/select.d.ts.map +1 -0
- package/dist/components/ui/select/select.stories.d.ts +16 -0
- package/dist/components/ui/select/select.stories.d.ts.map +1 -0
- package/dist/components/ui/selectable-card/index.d.ts +2 -0
- package/dist/components/ui/selectable-card/index.d.ts.map +1 -0
- package/dist/components/ui/selectable-card/selectable-card.d.ts +14 -0
- package/dist/components/ui/selectable-card/selectable-card.d.ts.map +1 -0
- package/dist/components/ui/selectable-card/selectable-card.stories.d.ts +20 -0
- package/dist/components/ui/selectable-card/selectable-card.stories.d.ts.map +1 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.d.ts.map +1 -0
- package/dist/components/ui/separator/separator.d.ts +3 -0
- package/dist/components/ui/separator/separator.d.ts.map +1 -0
- package/dist/components/ui/separator/separator.stories.d.ts +14 -0
- package/dist/components/ui/separator/separator.stories.d.ts.map +1 -0
- package/dist/components/ui/sheet/index.d.ts +2 -0
- package/dist/components/ui/sheet/index.d.ts.map +1 -0
- package/dist/components/ui/sheet/sheet.d.ts +16 -0
- package/dist/components/ui/sheet/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet/sheet.stories.d.ts +14 -0
- package/dist/components/ui/sheet/sheet.stories.d.ts.map +1 -0
- package/dist/components/ui/skeleton/index.d.ts +2 -0
- package/dist/components/ui/skeleton/index.d.ts.map +1 -0
- package/dist/components/ui/skeleton/skeleton.d.ts +4 -0
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton/skeleton.stories.d.ts +15 -0
- package/dist/components/ui/skeleton/skeleton.stories.d.ts.map +1 -0
- package/dist/components/ui/sonner/index.d.ts +2 -0
- package/dist/components/ui/sonner/index.d.ts.map +1 -0
- package/dist/components/ui/sonner/sonner.d.ts +4 -0
- package/dist/components/ui/sonner/sonner.d.ts.map +1 -0
- package/dist/components/ui/spinner/index.d.ts +2 -0
- package/dist/components/ui/spinner/index.d.ts.map +1 -0
- package/dist/components/ui/spinner/spinner.d.ts +5 -0
- package/dist/components/ui/spinner/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner/spinner.stories.d.ts +17 -0
- package/dist/components/ui/spinner/spinner.stories.d.ts.map +1 -0
- package/dist/components/ui/switch/index.d.ts +2 -0
- package/dist/components/ui/switch/index.d.ts.map +1 -0
- package/dist/components/ui/switch/switch.d.ts +5 -0
- package/dist/components/ui/switch/switch.d.ts.map +1 -0
- package/dist/components/ui/switch/switch.stories.d.ts +29 -0
- package/dist/components/ui/switch/switch.stories.d.ts.map +1 -0
- package/dist/components/ui/table/index.d.ts +2 -0
- package/dist/components/ui/table/index.d.ts.map +1 -0
- package/dist/components/ui/table/table.d.ts +11 -0
- package/dist/components/ui/table/table.d.ts.map +1 -0
- package/dist/components/ui/table/table.stories.d.ts +13 -0
- package/dist/components/ui/table/table.stories.d.ts.map +1 -0
- package/dist/components/ui/tabs/index.d.ts +2 -0
- package/dist/components/ui/tabs/index.d.ts.map +1 -0
- package/dist/components/ui/tabs/tabs.d.ts +12 -0
- package/dist/components/ui/tabs/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs/tabs.stories.d.ts +13 -0
- package/dist/components/ui/tabs/tabs.stories.d.ts.map +1 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/index.d.ts.map +1 -0
- package/dist/components/ui/textarea/textarea.d.ts +4 -0
- package/dist/components/ui/textarea/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea/textarea.stories.d.ts +14 -0
- package/dist/components/ui/textarea/textarea.stories.d.ts.map +1 -0
- package/dist/components/ui/tooltip/index.d.ts +2 -0
- package/dist/components/ui/tooltip/index.d.ts.map +1 -0
- package/dist/components/ui/tooltip/tooltip.d.ts +6 -0
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip/tooltip.stories.d.ts +14 -0
- package/dist/components/ui/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/components/ui/well/index.d.ts +2 -0
- package/dist/components/ui/well/index.d.ts.map +1 -0
- package/dist/components/ui/well/well.d.ts +15 -0
- package/dist/components/ui/well/well.d.ts.map +1 -0
- package/dist/components/ui/well/well.stories.d.ts +39 -0
- package/dist/components/ui/well/well.stories.d.ts.map +1 -0
- package/dist/components/unsaved-changes-bar/index.d.ts +2 -0
- package/dist/components/unsaved-changes-bar/index.d.ts.map +1 -0
- package/dist/components/unsaved-changes-bar/unsaved-changes-bar.d.ts +22 -0
- package/dist/components/unsaved-changes-bar/unsaved-changes-bar.d.ts.map +1 -0
- package/dist/components/unsaved-changes-bar/unsaved-changes-bar.stories.d.ts +15 -0
- package/dist/components/unsaved-changes-bar/unsaved-changes-bar.stories.d.ts.map +1 -0
- package/dist/index.cjs +4064 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +3851 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/migration.cjs +328 -0
- package/dist/migration.cjs.map +1 -0
- package/dist/migration.esm.js +322 -0
- package/dist/migration.esm.js.map +1 -0
- package/dist/toggle-row-7lfPUutt.cjs +320 -0
- package/dist/toggle-row-7lfPUutt.cjs.map +1 -0
- package/dist/toggle-row-B5iXNWCJ.esm.js +278 -0
- package/dist/toggle-row-B5iXNWCJ.esm.js.map +1 -0
- package/package.json +91 -1
- package/src/styles/globals.css +615 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/terminal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type AnimatedIconHandle, type AnimatedIconProps } from '../animated-icon';
|
|
2
|
+
export type TerminalIconHandle = AnimatedIconHandle;
|
|
3
|
+
type TerminalIconProps = Omit<AnimatedIconProps, 'children'>;
|
|
4
|
+
declare const TerminalIcon: import("react").ForwardRefExoticComponent<TerminalIconProps & import("react").RefAttributes<AnimatedIconHandle>>;
|
|
5
|
+
export { TerminalIcon };
|
|
6
|
+
//# sourceMappingURL=terminal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/terminal/terminal.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAEpD,KAAK,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;AAU7D,QAAA,MAAM,YAAY,kHA6BjB,CAAC;AAIF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type AnimatedIconHandle, type AnimatedIconProps } from '../animated-icon';
|
|
2
|
+
export type UsersIconHandle = AnimatedIconHandle;
|
|
3
|
+
type UsersIconProps = Omit<AnimatedIconProps, 'children'>;
|
|
4
|
+
declare const UsersIcon: import("react").ForwardRefExoticComponent<UsersIconProps & import("react").RefAttributes<AnimatedIconHandle>>;
|
|
5
|
+
export { UsersIcon };
|
|
6
|
+
//# sourceMappingURL=users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/users/users.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAEjD,KAAK,cAAc,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;AAa1D,QAAA,MAAM,SAAS,+GA6Bb,CAAC;AAIH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/info-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface InfoBannerProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
dismissible?: boolean;
|
|
6
|
+
onDismiss?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const InfoBanner: ({ children, dismissible, onDismiss, className, }: InfoBannerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
//# sourceMappingURL=info-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-banner.d.ts","sourceRoot":"","sources":["../../../src/components/info-banner/info-banner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAShD,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,eAAO,MAAM,UAAU,qDAKpB,eAAe,mDA4BjB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
args: {
|
|
4
|
+
children: string;
|
|
5
|
+
dismissible: false;
|
|
6
|
+
};
|
|
7
|
+
argTypes: {
|
|
8
|
+
dismissible: {
|
|
9
|
+
control: "boolean";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
component: ({ children, dismissible, onDismiss, className, }: import("./info-banner").InfoBannerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
parameters: {
|
|
14
|
+
layout: string;
|
|
15
|
+
};
|
|
16
|
+
tags: string[];
|
|
17
|
+
title: string;
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof meta>;
|
|
21
|
+
export declare const Default: Story;
|
|
22
|
+
export declare const Dismissible: Story;
|
|
23
|
+
//# sourceMappingURL=info-banner.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-banner.stories.d.ts","sourceRoot":"","sources":["../../../src/components/info-banner/info-banner.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;CAayB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loading-skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Full-page skeleton with header and content area */
|
|
2
|
+
export declare const PageSkeleton: ({ className }: {
|
|
3
|
+
className?: string;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
/** Stat/metric card skeleton */
|
|
6
|
+
export declare const StatCardSkeleton: ({ className }: {
|
|
7
|
+
className?: string;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/** Table skeleton with configurable rows */
|
|
10
|
+
export declare const TableSkeleton: ({ rows, columns, className, }: {
|
|
11
|
+
className?: string;
|
|
12
|
+
columns?: number;
|
|
13
|
+
rows?: number;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
/** Card skeleton */
|
|
16
|
+
export declare const CardSkeleton: ({ className }: {
|
|
17
|
+
className?: string;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=loading-skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/loading-skeleton/loading-skeleton.tsx"],"names":[],"mappings":"AAQA,sDAAsD;AACtD,eAAO,MAAM,YAAY,kBAAmB;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4CAejE,CAAA;AAED,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,kBAAmB;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4CAWrE,CAAA;AAED,4CAA4C;AAC5C,eAAO,MAAM,aAAa,kCAIvB;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,4CAoCA,CAAA;AAED,oBAAoB;AACpB,eAAO,MAAM,YAAY,kBAAmB;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4CAcjE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/metric-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
|
+
type Trend = 'up' | 'down' | 'neutral';
|
|
3
|
+
type IconComponent = ComponentType<{
|
|
4
|
+
className?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
}>;
|
|
7
|
+
interface MetricCardBaseProps {
|
|
8
|
+
className?: string;
|
|
9
|
+
icon?: IconComponent;
|
|
10
|
+
label: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface MetricCardActiveProps extends MetricCardBaseProps {
|
|
14
|
+
inactive?: false;
|
|
15
|
+
trend?: Trend;
|
|
16
|
+
trendValue?: string;
|
|
17
|
+
value: string | number;
|
|
18
|
+
}
|
|
19
|
+
export interface MetricCardInactiveProps extends MetricCardBaseProps {
|
|
20
|
+
inactive: true;
|
|
21
|
+
onSetup: () => void;
|
|
22
|
+
setupDescription?: string;
|
|
23
|
+
setupLabel: string;
|
|
24
|
+
trend?: never;
|
|
25
|
+
trendValue?: never;
|
|
26
|
+
value?: never;
|
|
27
|
+
}
|
|
28
|
+
type MetricCardProps = MetricCardActiveProps | MetricCardInactiveProps;
|
|
29
|
+
export declare const MetricCard: (props: MetricCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=metric-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-card.d.ts","sourceRoot":"","sources":["../../../src/components/metric-card/metric-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAA;AAK1C,KAAK,KAAK,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;AAEtC,KAAK,aAAa,GAAG,aAAa,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAEzE,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,QAAQ,EAAE,IAAI,CAAA;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED,KAAK,eAAe,GAAG,qBAAqB,GAAG,uBAAuB,CAAA;AAQtE,eAAO,MAAM,UAAU,UAAW,eAAe,4CA0ChD,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
args: any;
|
|
4
|
+
component: (props: import("./metric-card").MetricCardActiveProps | import("./metric-card").MetricCardInactiveProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Loading: Story;
|
|
15
|
+
export declare const Inactive: Story;
|
|
16
|
+
//# sourceMappingURL=metric-card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/metric-card/metric-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAevD,QAAA,MAAM,IAAI;UACI,GAAG;;;;;;;CAKkB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type BannerVariant = 'info' | 'warning' | 'error' | 'success' | 'advance';
|
|
3
|
+
export type BannerProps = {
|
|
4
|
+
action?: {
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
text: string;
|
|
7
|
+
};
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
dismissible?: boolean;
|
|
11
|
+
onDismiss?: () => void;
|
|
12
|
+
variant?: BannerVariant;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 5-variant banner: `info` | `warning` | `error` | `success` | `advance`.
|
|
16
|
+
* Inline icon + text + optional action button + optional close.
|
|
17
|
+
*
|
|
18
|
+
* Distinct from the canonical single-variant `InfoBanner`. The canonical
|
|
19
|
+
* replacement may simply extend `InfoBanner` with semantic variants.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated Migration-aid only. Replace with canonical version when available.
|
|
22
|
+
*/
|
|
23
|
+
export declare const Banner: ({ action, children, className, dismissible, onDismiss, variant, }: BannerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
//# sourceMappingURL=banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/banner/banner.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAYjD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAwCF;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,sEAOhB,WAAW,mDAsDb,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version.
|
|
5
|
+
*
|
|
6
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
7
|
+
*/
|
|
8
|
+
import type { StoryObj } from '@storybook/react';
|
|
9
|
+
declare const meta: {
|
|
10
|
+
args: {
|
|
11
|
+
children: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
dismissible: {
|
|
15
|
+
control: "boolean";
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
control: "inline-radio";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
component: ({ action, children, className, dismissible, onDismiss, variant, }: import("./banner").BannerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
+
parameters: {
|
|
24
|
+
layout: string;
|
|
25
|
+
};
|
|
26
|
+
tags: string[];
|
|
27
|
+
title: string;
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Info: Story;
|
|
32
|
+
export declare const Warning: Story;
|
|
33
|
+
export declare const Error: Story;
|
|
34
|
+
export declare const Success: Story;
|
|
35
|
+
export declare const Advance: Story;
|
|
36
|
+
export declare const WithAction: Story;
|
|
37
|
+
export declare const Dismissible: Story;
|
|
38
|
+
export declare const AllFiveStacked: Story;
|
|
39
|
+
//# sourceMappingURL=banner.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/banner/banner.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;CAeqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version. Do not adopt for new droplet
|
|
5
|
+
* projects; use the canonical droplet primitives directly instead.
|
|
6
|
+
*
|
|
7
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
8
|
+
*/
|
|
9
|
+
import { type ReactNode } from 'react';
|
|
10
|
+
type SectionItem = {
|
|
11
|
+
badge?: ReactNode;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
description?: string;
|
|
14
|
+
id: string;
|
|
15
|
+
title: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export type DoubleSectionProps = {
|
|
18
|
+
className?: string;
|
|
19
|
+
sections: [SectionItem, SectionItem];
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Two `SettingsSection`-like blocks side by side with a divider between them.
|
|
23
|
+
* Common use case: "Live mode | Sandbox mode" pairs.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Migration-aid only. Replace with canonical version when available.
|
|
26
|
+
*/
|
|
27
|
+
export declare const DoubleSection: ({ className, sections }: DoubleSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=double-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"double-section.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/double-section/double-section.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;CACtC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,4BAA6B,kBAAkB,4CAyBxE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version.
|
|
5
|
+
*
|
|
6
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
7
|
+
*/
|
|
8
|
+
import type { StoryObj } from '@storybook/react';
|
|
9
|
+
declare const meta: {
|
|
10
|
+
args: {
|
|
11
|
+
sections: [{
|
|
12
|
+
children: null;
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}, {
|
|
16
|
+
children: null;
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}];
|
|
20
|
+
};
|
|
21
|
+
component: ({ className, sections }: import("./double-section").DoubleSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
parameters: {
|
|
23
|
+
layout: string;
|
|
24
|
+
};
|
|
25
|
+
tags: string[];
|
|
26
|
+
title: string;
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof meta>;
|
|
30
|
+
export declare const LiveAndSandbox: Story;
|
|
31
|
+
export declare const NoBadgesNoDescriptions: Story;
|
|
32
|
+
//# sourceMappingURL=double-section.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"double-section.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/double-section/double-section.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CAW4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,cAAc,EAAE,KAqC5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAmBpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/double-section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
|
+
export type FieldProps = Omit<ComponentProps<'input'>, 'children'> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
helper?: ReactNode;
|
|
6
|
+
label: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* `Label` + `Input` + helper/error composite. Wires up `htmlFor`,
|
|
11
|
+
* `aria-describedby`, and `aria-invalid` so call sites don't repeat the layout.
|
|
12
|
+
*
|
|
13
|
+
* The canonical version may differ in form-validation integration (RHF,
|
|
14
|
+
* formik, native form, etc.) — keep this composite focused on layout only.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated Migration-aid only. Replace with canonical version when available.
|
|
17
|
+
*/
|
|
18
|
+
export declare const Field: ({ className, error, helper, label, required, id: idProp, ...inputProps }: FieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/field/field.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAMnE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,6EAQf,UAAU,4CA6CZ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version.
|
|
5
|
+
*
|
|
6
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
7
|
+
*/
|
|
8
|
+
import type { StoryObj } from '@storybook/react';
|
|
9
|
+
declare const meta: {
|
|
10
|
+
args: {
|
|
11
|
+
label: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
type: "email";
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
disabled: {
|
|
17
|
+
control: "boolean";
|
|
18
|
+
};
|
|
19
|
+
error: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
helper: {
|
|
23
|
+
control: "text";
|
|
24
|
+
};
|
|
25
|
+
required: {
|
|
26
|
+
control: "boolean";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
component: ({ className, error, helper, label, required, id: idProp, ...inputProps }: import("./field").FieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
parameters: {
|
|
31
|
+
layout: string;
|
|
32
|
+
};
|
|
33
|
+
tags: string[];
|
|
34
|
+
title: string;
|
|
35
|
+
};
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof meta>;
|
|
38
|
+
export declare const Default: Story;
|
|
39
|
+
export declare const WithHelper: Story;
|
|
40
|
+
export declare const WithError: Story;
|
|
41
|
+
export declare const Required: Story;
|
|
42
|
+
export declare const Disabled: Story;
|
|
43
|
+
//# sourceMappingURL=field.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/field/field.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID barrel — entry point for the `@dynamic-labs-sdk/droplet/migration` sub-path.
|
|
3
|
+
*
|
|
4
|
+
* The components re-exported below are TEMPORARY — they unblock the redcoast
|
|
5
|
+
* Northstar→droplet dashboard migration and will be replaced by the design team's
|
|
6
|
+
* canonical versions. See ./README.md for the lifecycle.
|
|
7
|
+
*
|
|
8
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
9
|
+
*/
|
|
10
|
+
export { Banner, type BannerProps, type BannerVariant } from './banner';
|
|
11
|
+
export { DoubleSection, type DoubleSectionProps } from './double-section';
|
|
12
|
+
export { Field, type FieldProps } from './field';
|
|
13
|
+
export { SettingsSectionV2, type SettingsSectionV2Props, } from './settings-section-v2';
|
|
14
|
+
export { SubSection, type SubSectionProps } from './sub-section';
|
|
15
|
+
export { ToggleGroup, type ToggleGroupProps } from './toggle-group';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/migration/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/settings-section-v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version. Do not adopt for new droplet
|
|
5
|
+
* projects; use the canonical droplet `SettingsSection` directly instead.
|
|
6
|
+
*
|
|
7
|
+
* This is the redcoast-flavored variant of `SettingsSection` extended with
|
|
8
|
+
* - `helpLink` (deep-link to docs)
|
|
9
|
+
* - `alert` (inline alert slot in the header)
|
|
10
|
+
* - `layout='split'` (opt-in 2-column variant matching Northstar's layout)
|
|
11
|
+
*
|
|
12
|
+
* The canonical `SettingsSection` at `../../settings-section` remains untouched
|
|
13
|
+
* so its consumers don't pick up Northstar-flavored API.
|
|
14
|
+
*
|
|
15
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
16
|
+
*/
|
|
17
|
+
import { type ReactNode } from 'react';
|
|
18
|
+
export type SettingsSectionV2Props = {
|
|
19
|
+
alert?: ReactNode;
|
|
20
|
+
children: ReactNode;
|
|
21
|
+
className?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
helpLink?: {
|
|
24
|
+
text: string;
|
|
25
|
+
url: string;
|
|
26
|
+
};
|
|
27
|
+
layout?: 'stacked' | 'split';
|
|
28
|
+
title: string;
|
|
29
|
+
variant?: 'default' | 'danger';
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Card-shaped settings section with a header (title + optional description +
|
|
33
|
+
* optional helpLink + optional alert) and a content area.
|
|
34
|
+
*
|
|
35
|
+
* `layout='split'` renders header on the left and content on the right (1fr
|
|
36
|
+
* 2fr grid on `md+`). Default `'stacked'` matches the canonical
|
|
37
|
+
* `SettingsSection`.
|
|
38
|
+
*
|
|
39
|
+
* `variant='danger'` tints the title red and adds a red border.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated Migration-aid only. Replace with canonical `SettingsSection` once
|
|
42
|
+
* the design team's finalized version supports `helpLink` / `alert` / split layout.
|
|
43
|
+
*/
|
|
44
|
+
export declare const SettingsSectionV2: ({ alert, children, className, description, helpLink, layout, title, variant, }: SettingsSectionV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=settings-section-v2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-section-v2.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/settings-section-v2/settings-section-v2.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAChC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,mFAS3B,sBAAsB,4CA0DxB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version.
|
|
5
|
+
*
|
|
6
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
7
|
+
*/
|
|
8
|
+
import type { StoryObj } from '@storybook/react';
|
|
9
|
+
declare const meta: {
|
|
10
|
+
args: {
|
|
11
|
+
children: null;
|
|
12
|
+
description: string;
|
|
13
|
+
title: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
layout: {
|
|
17
|
+
control: "inline-radio";
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
control: "inline-radio";
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
component: ({ alert, children, className, description, helpLink, layout, title, variant, }: import("./settings-section-v2").SettingsSectionV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
parameters: {
|
|
27
|
+
layout: string;
|
|
28
|
+
};
|
|
29
|
+
tags: string[];
|
|
30
|
+
title: string;
|
|
31
|
+
};
|
|
32
|
+
export default meta;
|
|
33
|
+
type Story = StoryObj<typeof meta>;
|
|
34
|
+
export declare const Stacked: Story;
|
|
35
|
+
export declare const Split: Story;
|
|
36
|
+
export declare const WithHelpLink: Story;
|
|
37
|
+
export declare const WithAlert: Story;
|
|
38
|
+
export declare const Danger: Story;
|
|
39
|
+
export declare const SplitWithHelpLinkAndAlert: Story;
|
|
40
|
+
//# sourceMappingURL=settings-section-v2.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-section-v2.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/settings-section-v2/settings-section-v2.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAcgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAenC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAS1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAepB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAYvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/sub-section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version. Do not adopt for new droplet
|
|
5
|
+
* projects; use the canonical droplet primitives directly instead.
|
|
6
|
+
*
|
|
7
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
8
|
+
*/
|
|
9
|
+
import { type ReactNode } from 'react';
|
|
10
|
+
export type SubSectionProps = {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
title: string;
|
|
15
|
+
variant?: 'plain' | 'boxed';
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Heading + content stack, used inside an outer SettingsSection to group
|
|
19
|
+
* sub-fields. Two variants:
|
|
20
|
+
* - 'plain' (default): unboxed.
|
|
21
|
+
* - 'boxed': thin-bordered card-within-a-card.
|
|
22
|
+
*
|
|
23
|
+
* @deprecated Migration-aid only. Replace with canonical version when available.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SubSection: ({ children, className, description, title, variant, }: SubSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=sub-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-section.d.ts","sourceRoot":"","sources":["../../../../src/components/migration/sub-section/sub-section.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC7B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,0DAMpB,eAAe,4CAmCjB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIGRATION-AID — temporary composite added to unblock the redcoast
|
|
3
|
+
* Northstar→droplet dashboard migration. NOT canonical. Will be replaced
|
|
4
|
+
* by the design team's finalized version.
|
|
5
|
+
*
|
|
6
|
+
* Tracking: https://github.com/dynamic-labs/redcoast/blob/main/MIGRATION-PLAN.md
|
|
7
|
+
*/
|
|
8
|
+
import type { StoryObj } from '@storybook/react';
|
|
9
|
+
declare const meta: {
|
|
10
|
+
args: {
|
|
11
|
+
children: null;
|
|
12
|
+
description: string;
|
|
13
|
+
title: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
variant: {
|
|
17
|
+
control: "inline-radio";
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
component: ({ children, className, description, title, variant, }: import("./sub-section").SubSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
parameters: {
|
|
23
|
+
layout: string;
|
|
24
|
+
};
|
|
25
|
+
tags: string[];
|
|
26
|
+
title: string;
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof meta>;
|
|
30
|
+
export declare const Plain: Story;
|
|
31
|
+
export declare const Boxed: Story;
|
|
32
|
+
export declare const NoDescription: Story;
|
|
33
|
+
//# sourceMappingURL=sub-section.stories.d.ts.map
|