@lostgradient/cinder 0.1.1 → 0.2.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/CHANGELOG.md +62 -0
- package/README.md +163 -0
- package/components.json +390 -3
- package/dist/_internal/chart/chart-focus-ring.d.ts +57 -0
- package/dist/_internal/chart/chart-utilities.d.ts +2 -0
- package/dist/_internal/chart/heatmap-utilities.d.ts +60 -0
- package/dist/components/accordion/index.js +14 -1
- package/dist/components/alert/alert.schema.js +3 -3
- package/dist/components/alert/alert.types.d.ts +3 -2
- package/dist/components/alert/index.js +3 -2
- package/dist/components/alert-dialog/index.js +11 -2
- package/dist/components/area-chart/area-chart.css +57 -7
- package/dist/components/area-chart/index.js +283 -40
- package/dist/components/avatar-group/avatar-group.css +2 -3
- package/dist/components/badge/badge.css +17 -0
- package/dist/components/badge/badge.schema.js +6 -1
- package/dist/components/badge/badge.types.d.ts +7 -0
- package/dist/components/badge/index.js +4 -2
- package/dist/components/bar-chart/bar-chart.css +57 -7
- package/dist/components/bar-chart/index.js +233 -45
- package/dist/components/button/button.css +5 -3
- package/dist/components/button/index.js +11 -2
- package/dist/components/capability-gate/capability-gate.css +131 -0
- package/dist/components/capability-gate/capability-gate.schema.d.ts +3 -0
- package/dist/components/capability-gate/capability-gate.schema.js +128 -0
- package/dist/components/capability-gate/capability-gate.svelte.d.ts +19 -0
- package/dist/components/capability-gate/capability-gate.types.d.ts +70 -0
- package/dist/components/capability-gate/capability-gate.variables.d.ts +2 -0
- package/dist/components/capability-gate/capability-gate.variables.js +61 -0
- package/dist/components/capability-gate/index.d.ts +5 -0
- package/dist/components/capability-gate/index.js +285 -0
- package/dist/components/card/card.css +4 -0
- package/dist/components/card/card.schema.js +5 -1
- package/dist/components/card/card.svelte.d.ts +1 -1
- package/dist/components/card/card.types.d.ts +4 -0
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +8 -4
- package/dist/components/chat/index.css +2 -2
- package/dist/components/chat/index.js +159 -81
- package/dist/components/choice-grid/choice-grid-context.d.ts +23 -0
- package/dist/components/choice-grid/choice-grid.css +27 -0
- package/dist/components/choice-grid/choice-grid.schema.d.ts +3 -0
- package/dist/components/choice-grid/choice-grid.schema.js +121 -0
- package/dist/components/choice-grid/choice-grid.svelte.d.ts +20 -0
- package/dist/components/choice-grid/choice-grid.types.d.ts +122 -0
- package/dist/components/choice-grid/choice-grid.variables.d.ts +2 -0
- package/dist/components/choice-grid/choice-grid.variables.js +61 -0
- package/dist/components/choice-grid/index.d.ts +13 -0
- package/dist/components/choice-grid/index.js +466 -0
- package/dist/components/choice-grid-item/choice-grid-item.css +139 -0
- package/dist/components/choice-grid-item/choice-grid-item.schema.d.ts +3 -0
- package/dist/components/choice-grid-item/choice-grid-item.schema.js +93 -0
- package/dist/components/choice-grid-item/choice-grid-item.svelte.d.ts +17 -0
- package/dist/components/choice-grid-item/choice-grid-item.types.d.ts +24 -0
- package/dist/components/choice-grid-item/choice-grid-item.variables.d.ts +2 -0
- package/dist/components/choice-grid-item/choice-grid-item.variables.js +61 -0
- package/dist/components/choice-grid-item/index.d.ts +5 -0
- package/dist/components/choice-grid-item/index.js +203 -0
- package/dist/components/color-field/color-field.css +6 -9
- package/dist/components/color-picker/color-picker.css +31 -24
- package/dist/components/color-swatch-picker/color-swatch-picker.css +6 -9
- package/dist/components/confirm-dialog/index.js +11 -2
- package/dist/components/context-menu/index.js +114 -43
- package/dist/components/context-menu-trigger/index.js +6 -4
- package/dist/components/data-table/data-table.css +30 -0
- package/dist/components/data-table/data-table.schema.d.ts +3 -0
- package/dist/components/data-table/data-table.schema.js +103 -0
- package/dist/components/data-table/data-table.svelte.d.ts +39 -0
- package/dist/components/data-table/data-table.types.d.ts +86 -0
- package/dist/components/data-table/data-table.variables.d.ts +2 -0
- package/dist/components/data-table/data-table.variables.js +61 -0
- package/dist/components/data-table/index.d.ts +5 -0
- package/dist/components/data-table/index.js +591 -0
- package/dist/components/diff-viewer/index.js +14 -3
- package/dist/components/dropdown/index.js +115 -46
- package/dist/components/dropdown-item/dropdown-item.schema.js +13 -1
- package/dist/components/dropdown-item/dropdown-item.svelte.d.ts +1 -1
- package/dist/components/dropdown-item/dropdown-item.types.d.ts +46 -2
- package/dist/components/dropdown-item/index.d.ts +1 -1
- package/dist/components/dropdown-item/index.js +97 -28
- package/dist/components/floating-action-button/floating-action-button.css +4 -2
- package/dist/components/json-schema-editor/index.js +29 -4
- package/dist/components/keyboard-shortcuts/index.d.ts +5 -0
- package/dist/components/keyboard-shortcuts/index.js +238 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.css +84 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.schema.d.ts +3 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.schema.js +87 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.svelte.d.ts +17 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.types.d.ts +42 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.variables.d.ts +2 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.variables.js +61 -0
- package/dist/components/line-chart/index.js +283 -40
- package/dist/components/line-chart/line-chart.css +57 -8
- package/dist/components/markdown-editor/index.js +129 -51
- package/dist/components/matrix-chart/index.d.ts +5 -0
- package/dist/components/matrix-chart/index.js +1232 -0
- package/dist/components/matrix-chart/matrix-chart.css +50 -0
- package/dist/components/matrix-chart/matrix-chart.schema.d.ts +3 -0
- package/dist/components/matrix-chart/matrix-chart.schema.js +123 -0
- package/dist/components/matrix-chart/matrix-chart.svelte.d.ts +20 -0
- package/dist/components/matrix-chart/matrix-chart.types.d.ts +52 -0
- package/dist/components/matrix-chart/matrix-chart.variables.d.ts +2 -0
- package/dist/components/matrix-chart/matrix-chart.variables.js +61 -0
- package/dist/components/media-controls/index.d.ts +5 -0
- package/dist/components/media-controls/index.js +338 -0
- package/dist/components/media-controls/media-controls.css +112 -0
- package/dist/components/media-controls/media-controls.schema.d.ts +3 -0
- package/dist/components/media-controls/media-controls.schema.js +125 -0
- package/dist/components/media-controls/media-controls.svelte.d.ts +18 -0
- package/dist/components/media-controls/media-controls.types.d.ts +77 -0
- package/dist/components/media-controls/media-controls.variables.d.ts +2 -0
- package/dist/components/media-controls/media-controls.variables.js +61 -0
- package/dist/components/navigation-bar/navigation-bar.schema.js +5 -5
- package/dist/components/navigation-bar/navigation-bar.types.d.ts +2 -1
- package/dist/components/pricing-card/index.d.ts +5 -0
- package/dist/components/pricing-card/index.js +406 -0
- package/dist/components/pricing-card/pricing-card.css +173 -0
- package/dist/components/pricing-card/pricing-card.schema.d.ts +3 -0
- package/dist/components/pricing-card/pricing-card.schema.js +100 -0
- package/dist/components/pricing-card/pricing-card.svelte.d.ts +18 -0
- package/dist/components/pricing-card/pricing-card.types.d.ts +47 -0
- package/dist/components/pricing-card/pricing-card.variables.d.ts +2 -0
- package/dist/components/pricing-card/pricing-card.variables.js +61 -0
- package/dist/components/review-editor/index.js +212 -132
- package/dist/components/share-card/index.d.ts +5 -0
- package/dist/components/share-card/index.js +446 -0
- package/dist/components/share-card/share-card.css +115 -0
- package/dist/components/share-card/share-card.schema.d.ts +3 -0
- package/dist/components/share-card/share-card.schema.js +113 -0
- package/dist/components/share-card/share-card.svelte.d.ts +18 -0
- package/dist/components/share-card/share-card.types.d.ts +66 -0
- package/dist/components/share-card/share-card.variables.d.ts +2 -0
- package/dist/components/share-card/share-card.variables.js +61 -0
- package/dist/components/shortcut-hint/index.d.ts +5 -0
- package/dist/components/shortcut-hint/index.js +197 -0
- package/dist/components/shortcut-hint/shortcut-hint.css +26 -0
- package/dist/components/shortcut-hint/shortcut-hint.schema.d.ts +3 -0
- package/dist/components/shortcut-hint/shortcut-hint.schema.js +96 -0
- package/dist/components/shortcut-hint/shortcut-hint.svelte.d.ts +17 -0
- package/dist/components/shortcut-hint/shortcut-hint.types.d.ts +33 -0
- package/dist/components/shortcut-hint/shortcut-hint.variables.d.ts +2 -0
- package/dist/components/shortcut-hint/shortcut-hint.variables.js +61 -0
- package/dist/components/skip-link/index.d.ts +4 -0
- package/dist/components/skip-link/index.js +180 -0
- package/dist/components/skip-link/skip-link.schema.d.ts +3 -0
- package/dist/components/skip-link/skip-link.schema.js +76 -0
- package/dist/components/skip-link/skip-link.svelte.d.ts +19 -0
- package/dist/components/skip-link/skip-link.types.d.ts +38 -0
- package/dist/components/skip-link/skip-link.variables.d.ts +2 -0
- package/dist/components/skip-link/skip-link.variables.js +61 -0
- package/dist/components/spectrogram/index.d.ts +5 -0
- package/dist/components/spectrogram/index.js +1156 -0
- package/dist/components/spectrogram/spectrogram.css +43 -0
- package/dist/components/spectrogram/spectrogram.schema.d.ts +3 -0
- package/dist/components/spectrogram/spectrogram.schema.js +103 -0
- package/dist/components/spectrogram/spectrogram.svelte.d.ts +21 -0
- package/dist/components/spectrogram/spectrogram.types.d.ts +60 -0
- package/dist/components/spectrogram/spectrogram.variables.d.ts +2 -0
- package/dist/components/spectrogram/spectrogram.variables.js +61 -0
- package/dist/components/spectrum-chart/index.d.ts +5 -0
- package/dist/components/spectrum-chart/index.js +1056 -0
- package/dist/components/spectrum-chart/spectrum-chart.css +49 -0
- package/dist/components/spectrum-chart/spectrum-chart.schema.d.ts +3 -0
- package/dist/components/spectrum-chart/spectrum-chart.schema.js +97 -0
- package/dist/components/spectrum-chart/spectrum-chart.svelte.d.ts +21 -0
- package/dist/components/spectrum-chart/spectrum-chart.types.d.ts +41 -0
- package/dist/components/spectrum-chart/spectrum-chart.variables.d.ts +2 -0
- package/dist/components/spectrum-chart/spectrum-chart.variables.js +61 -0
- package/dist/components/status-dot/status-dot.css +8 -0
- package/dist/components/status-dot/status-dot.schema.js +3 -3
- package/dist/components/status-dot/status-dot.types.d.ts +5 -2
- package/dist/components/subscription-badge/index.d.ts +5 -0
- package/dist/components/subscription-badge/index.js +383 -0
- package/dist/components/subscription-badge/subscription-badge.css +18 -0
- package/dist/components/subscription-badge/subscription-badge.schema.d.ts +3 -0
- package/dist/components/subscription-badge/subscription-badge.schema.js +77 -0
- package/dist/components/subscription-badge/subscription-badge.svelte.d.ts +19 -0
- package/dist/components/subscription-badge/subscription-badge.types.d.ts +28 -0
- package/dist/components/subscription-badge/subscription-badge.variables.d.ts +2 -0
- package/dist/components/subscription-badge/subscription-badge.variables.js +61 -0
- package/dist/components/tab/index.js +14 -1
- package/dist/components/table/index.js +26 -17
- package/dist/components/table-cell/index.js +18 -9
- package/dist/components/table-cell/table-cell.schema.js +5 -1
- package/dist/components/table-cell/table-cell.types.d.ts +16 -1
- package/dist/components/tabs/index.js +14 -1
- package/dist/components/waveform/index.d.ts +5 -0
- package/dist/components/waveform/index.js +1075 -0
- package/dist/components/waveform/waveform.css +53 -0
- package/dist/components/waveform/waveform.schema.d.ts +3 -0
- package/dist/components/waveform/waveform.schema.js +98 -0
- package/dist/components/waveform/waveform.svelte.d.ts +20 -0
- package/dist/components/waveform/waveform.types.d.ts +42 -0
- package/dist/components/waveform/waveform.variables.d.ts +2 -0
- package/dist/components/waveform/waveform.variables.js +61 -0
- package/dist/index.d.ts +33 -2
- package/dist/index.js +144 -115
- package/dist/server/components/accordion/index.js +14 -1
- package/dist/server/components/alert/alert.schema.js +3 -3
- package/dist/server/components/alert/index.js +3 -2
- package/dist/server/components/alert-dialog/index.js +12 -3
- package/dist/server/components/area-chart/index.css +50 -3
- package/dist/server/components/area-chart/index.js +181 -2
- package/dist/server/components/avatar-group/index.css +1 -1
- package/dist/server/components/badge/badge.schema.js +6 -1
- package/dist/server/components/badge/index.css +4 -0
- package/dist/server/components/badge/index.js +3 -1
- package/dist/server/components/bar-chart/index.css +50 -3
- package/dist/server/components/bar-chart/index.js +166 -2
- package/dist/server/components/button/index.css +1 -1
- package/dist/server/components/button/index.js +12 -3
- package/dist/server/components/capability-gate/capability-gate.schema.js +110 -0
- package/dist/server/components/capability-gate/capability-gate.variables.js +43 -0
- package/dist/server/components/capability-gate/index.css +121 -0
- package/dist/server/components/capability-gate/index.js +168 -0
- package/dist/server/components/card/card.schema.js +5 -1
- package/dist/server/components/card/index.css +9 -1
- package/dist/server/components/card/index.js +3 -2
- package/dist/server/components/chat/index.css +2 -2
- package/dist/server/components/chat/index.js +78 -19
- package/dist/server/components/choice-grid/choice-grid.schema.js +103 -0
- package/dist/server/components/choice-grid/choice-grid.variables.js +43 -0
- package/dist/server/components/choice-grid/index.css +103 -0
- package/dist/server/components/choice-grid/index.js +383 -0
- package/dist/server/components/choice-grid-item/choice-grid-item.schema.js +75 -0
- package/dist/server/components/choice-grid-item/choice-grid-item.variables.js +43 -0
- package/dist/server/components/choice-grid-item/index.css +86 -0
- package/dist/server/components/choice-grid-item/index.js +139 -0
- package/dist/server/components/color-field/index.css +2 -4
- package/dist/server/components/color-picker/index.css +14 -10
- package/dist/server/components/color-swatch-picker/index.css +2 -4
- package/dist/server/components/confirm-dialog/index.js +12 -3
- package/dist/server/components/context-menu/index.js +72 -20
- package/dist/server/components/context-menu-trigger/index.js +6 -4
- package/dist/server/components/data-table/data-table.schema.js +85 -0
- package/dist/server/components/data-table/data-table.variables.js +43 -0
- package/dist/server/components/data-table/index.css +182 -0
- package/dist/server/components/data-table/index.js +469 -0
- package/dist/server/components/diff-viewer/index.js +14 -3
- package/dist/server/components/dropdown/index.js +67 -17
- package/dist/server/components/dropdown-item/dropdown-item.schema.js +13 -1
- package/dist/server/components/dropdown-item/index.js +67 -17
- package/dist/server/components/floating-action-button/index.css +1 -1
- package/dist/server/components/json-schema-editor/index.js +29 -4
- package/dist/server/components/keyboard-shortcuts/index.css +86 -0
- package/dist/server/components/keyboard-shortcuts/index.js +149 -0
- package/dist/server/components/keyboard-shortcuts/keyboard-shortcuts.schema.js +69 -0
- package/dist/server/components/keyboard-shortcuts/keyboard-shortcuts.variables.js +43 -0
- package/dist/server/components/line-chart/index.css +50 -3
- package/dist/server/components/line-chart/index.js +181 -2
- package/dist/server/components/markdown-editor/index.js +78 -19
- package/dist/server/components/matrix-chart/index.css +52 -0
- package/dist/server/components/matrix-chart/index.js +1026 -0
- package/dist/server/components/matrix-chart/matrix-chart.schema.js +105 -0
- package/dist/server/components/matrix-chart/matrix-chart.variables.js +43 -0
- package/dist/server/components/media-controls/index.css +109 -0
- package/dist/server/components/media-controls/index.js +192 -0
- package/dist/server/components/media-controls/media-controls.schema.js +107 -0
- package/dist/server/components/media-controls/media-controls.variables.js +43 -0
- package/dist/server/components/navigation-bar/navigation-bar.schema.js +5 -5
- package/dist/server/components/pricing-card/index.css +131 -0
- package/dist/server/components/pricing-card/index.js +258 -0
- package/dist/server/components/pricing-card/pricing-card.schema.js +82 -0
- package/dist/server/components/pricing-card/pricing-card.variables.js +43 -0
- package/dist/server/components/review-editor/index.css +2 -2
- package/dist/server/components/review-editor/index.js +80 -19
- package/dist/server/components/share-card/index.css +113 -0
- package/dist/server/components/share-card/index.js +270 -0
- package/dist/server/components/share-card/share-card.schema.js +95 -0
- package/dist/server/components/share-card/share-card.variables.js +43 -0
- package/dist/server/components/shortcut-hint/index.css +28 -0
- package/dist/server/components/shortcut-hint/index.js +134 -0
- package/dist/server/components/shortcut-hint/shortcut-hint.schema.js +78 -0
- package/dist/server/components/shortcut-hint/shortcut-hint.variables.js +43 -0
- package/dist/server/components/skip-link/index.js +141 -0
- package/dist/server/components/skip-link/skip-link.schema.js +58 -0
- package/dist/server/components/skip-link/skip-link.variables.js +43 -0
- package/dist/server/components/spectrogram/index.css +45 -0
- package/dist/server/components/spectrogram/index.js +970 -0
- package/dist/server/components/spectrogram/spectrogram.schema.js +85 -0
- package/dist/server/components/spectrogram/spectrogram.variables.js +43 -0
- package/dist/server/components/spectrum-chart/index.css +51 -0
- package/dist/server/components/spectrum-chart/index.js +871 -0
- package/dist/server/components/spectrum-chart/spectrum-chart.schema.js +79 -0
- package/dist/server/components/spectrum-chart/spectrum-chart.variables.js +43 -0
- package/dist/server/components/status-dot/index.css +8 -0
- package/dist/server/components/status-dot/status-dot.schema.js +3 -3
- package/dist/server/components/subscription-badge/index.css +2 -0
- package/dist/server/components/subscription-badge/index.js +339 -0
- package/dist/server/components/subscription-badge/subscription-badge.schema.js +59 -0
- package/dist/server/components/subscription-badge/subscription-badge.variables.js +43 -0
- package/dist/server/components/tab/index.js +14 -1
- package/dist/server/components/table/index.js +13 -8
- package/dist/server/components/table-cell/index.js +13 -8
- package/dist/server/components/table-cell/table-cell.schema.js +5 -1
- package/dist/server/components/tabs/index.js +14 -1
- package/dist/server/components/waveform/index.css +55 -0
- package/dist/server/components/waveform/index.js +907 -0
- package/dist/server/components/waveform/waveform.schema.js +80 -0
- package/dist/server/components/waveform/waveform.variables.js +43 -0
- package/dist/server/index.css +1137 -55
- package/dist/server/index.js +4225 -1750
- package/package.json +380 -2
- package/src/_internal/chart/chart-focus-ring.ts +209 -0
- package/src/_internal/chart/chart-utilities.ts +4 -0
- package/src/_internal/chart/heatmap-utilities.ts +159 -0
- package/src/components/accordion/accordion.examples.json +1 -0
- package/src/components/alert/README.md +5 -5
- package/src/components/alert/alert.schema.json +2 -2
- package/src/components/alert/alert.schema.ts +3 -2
- package/src/components/alert/alert.svelte +5 -1
- package/src/components/alert/alert.types.ts +3 -2
- package/src/components/area-chart/README.md +62 -0
- package/src/components/area-chart/area-chart.css +57 -7
- package/src/components/area-chart/area-chart.svelte +128 -10
- package/src/components/avatar-group/avatar-group.css +2 -3
- package/src/components/avatar-group/avatar-group.examples.json +1 -0
- package/src/components/backdrop/README.md +56 -0
- package/src/components/badge/README.md +6 -5
- package/src/components/badge/badge.css +17 -0
- package/src/components/badge/badge.schema.json +5 -0
- package/src/components/badge/badge.schema.ts +6 -0
- package/src/components/badge/badge.svelte +2 -0
- package/src/components/badge/badge.types.ts +7 -0
- package/src/components/bar-chart/README.md +65 -0
- package/src/components/bar-chart/bar-chart.css +57 -7
- package/src/components/bar-chart/bar-chart.svelte +94 -13
- package/src/components/button/button.css +5 -3
- package/src/components/button/button.examples.json +1 -0
- package/src/components/button/button.svelte +15 -0
- package/src/components/capability-gate/README.md +60 -0
- package/src/components/capability-gate/capability-gate.css +131 -0
- package/src/components/capability-gate/capability-gate.examples.json +19 -0
- package/src/components/capability-gate/capability-gate.schema.json +68 -0
- package/src/components/capability-gate/capability-gate.schema.ts +72 -0
- package/src/components/capability-gate/capability-gate.svelte +186 -0
- package/src/components/capability-gate/capability-gate.types.ts +83 -0
- package/src/components/capability-gate/capability-gate.variables.json +1 -0
- package/src/components/capability-gate/capability-gate.variables.ts +3 -0
- package/src/components/capability-gate/index.ts +10 -0
- package/src/components/card/README.md +1 -0
- package/src/components/card/card.css +4 -0
- package/src/components/card/card.examples.json +6 -0
- package/src/components/card/card.schema.json +4 -0
- package/src/components/card/card.schema.ts +5 -0
- package/src/components/card/card.svelte +9 -2
- package/src/components/card/card.types.ts +4 -0
- package/src/components/card/index.ts +1 -1
- package/src/components/chat/README.md +81 -0
- package/src/components/chat/container/chat-jump-controls.svelte +12 -9
- package/src/components/chat/input/chat-input.svelte +7 -8
- package/src/components/chat/message/chat-message.svelte +15 -20
- package/src/components/chat/message/tool-call-group.svelte +10 -4
- package/src/components/choice-grid/README.md +66 -0
- package/src/components/choice-grid/choice-grid-context.ts +30 -0
- package/src/components/choice-grid/choice-grid.css +27 -0
- package/src/components/choice-grid/choice-grid.examples.json +31 -0
- package/src/components/choice-grid/choice-grid.schema.json +61 -0
- package/src/components/choice-grid/choice-grid.schema.ts +70 -0
- package/src/components/choice-grid/choice-grid.svelte +272 -0
- package/src/components/choice-grid/choice-grid.types.ts +152 -0
- package/src/components/choice-grid/choice-grid.variables.json +1 -0
- package/src/components/choice-grid/choice-grid.variables.ts +3 -0
- package/src/components/choice-grid/index.ts +22 -0
- package/src/components/choice-grid-item/README.md +41 -0
- package/src/components/choice-grid-item/choice-grid-item.css +139 -0
- package/src/components/choice-grid-item/choice-grid-item.schema.json +32 -0
- package/src/components/choice-grid-item/choice-grid-item.schema.ts +38 -0
- package/src/components/choice-grid-item/choice-grid-item.svelte +139 -0
- package/src/components/choice-grid-item/choice-grid-item.types.ts +30 -0
- package/src/components/choice-grid-item/choice-grid-item.variables.json +1 -0
- package/src/components/choice-grid-item/choice-grid-item.variables.ts +3 -0
- package/src/components/choice-grid-item/index.ts +6 -0
- package/src/components/click-away-listener/README.md +50 -0
- package/src/components/color-field/color-field.css +6 -9
- package/src/components/color-picker/color-picker.css +31 -24
- package/src/components/color-swatch-picker/color-swatch-picker.css +6 -9
- package/src/components/command-menu/README.md +61 -0
- package/src/components/confirm-dialog/confirm-dialog.examples.json +6 -0
- package/src/components/context-menu/README.md +55 -0
- package/src/components/context-menu-trigger/README.md +50 -0
- package/src/components/context-menu-trigger/context-menu-trigger.svelte +5 -3
- package/src/components/data-table/README.md +67 -0
- package/src/components/data-table/data-table.css +30 -0
- package/src/components/data-table/data-table.examples.json +19 -0
- package/src/components/data-table/data-table.schema.json +43 -0
- package/src/components/data-table/data-table.schema.ts +50 -0
- package/src/components/data-table/data-table.svelte +106 -0
- package/src/components/data-table/data-table.types.ts +89 -0
- package/src/components/data-table/data-table.variables.json +1 -0
- package/src/components/data-table/data-table.variables.ts +3 -0
- package/src/components/data-table/index.ts +6 -0
- package/src/components/diff-viewer/README.md +59 -0
- package/src/components/diff-viewer/front-matter-header.svelte +20 -4
- package/src/components/dropdown-group/README.md +52 -0
- package/src/components/dropdown-item/README.md +10 -7
- package/src/components/dropdown-item/dropdown-item.schema.json +12 -0
- package/src/components/dropdown-item/dropdown-item.schema.ts +14 -0
- package/src/components/dropdown-item/dropdown-item.svelte +108 -25
- package/src/components/dropdown-item/dropdown-item.types.ts +58 -2
- package/src/components/dropdown-item/index.ts +6 -1
- package/src/components/floating-action-button/README.md +53 -0
- package/src/components/floating-action-button/floating-action-button.css +4 -2
- package/src/components/form-section/form-section.examples.json +6 -0
- package/src/components/hover-card/README.md +60 -0
- package/src/components/json-schema-editor/README.md +59 -0
- package/src/components/kanban-board/README.md +62 -0
- package/src/components/keyboard-shortcuts/README.md +51 -0
- package/src/components/keyboard-shortcuts/index.ts +10 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.css +84 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.examples.json +13 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.schema.json +27 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.schema.ts +31 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.svelte +91 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.types.ts +46 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.variables.json +1 -0
- package/src/components/keyboard-shortcuts/keyboard-shortcuts.variables.ts +3 -0
- package/src/components/line-chart/README.md +61 -0
- package/src/components/line-chart/line-chart.css +57 -8
- package/src/components/line-chart/line-chart.svelte +128 -10
- package/src/components/link/README.md +55 -0
- package/src/components/markdown-editor/README.md +70 -0
- package/src/components/markdown-editor/editor-toolbar/toolbar-button.svelte +9 -4
- package/src/components/markdown-editor/editor-toolbar/toolbar-dropdown.svelte +9 -4
- package/src/components/markdown-editor/prosemirror.css +4 -2
- package/src/components/matrix-chart/README.md +61 -0
- package/src/components/matrix-chart/index.ts +10 -0
- package/src/components/matrix-chart/matrix-chart.css +50 -0
- package/src/components/matrix-chart/matrix-chart.examples.json +19 -0
- package/src/components/matrix-chart/matrix-chart.schema.json +63 -0
- package/src/components/matrix-chart/matrix-chart.schema.ts +67 -0
- package/src/components/matrix-chart/matrix-chart.svelte +336 -0
- package/src/components/matrix-chart/matrix-chart.types.ts +56 -0
- package/src/components/matrix-chart/matrix-chart.variables.json +1 -0
- package/src/components/matrix-chart/matrix-chart.variables.ts +3 -0
- package/src/components/media-controls/README.md +60 -0
- package/src/components/media-controls/index.ts +6 -0
- package/src/components/media-controls/media-controls.css +112 -0
- package/src/components/media-controls/media-controls.examples.json +19 -0
- package/src/components/media-controls/media-controls.schema.json +65 -0
- package/src/components/media-controls/media-controls.schema.ts +69 -0
- package/src/components/media-controls/media-controls.svelte +238 -0
- package/src/components/media-controls/media-controls.types.ts +80 -0
- package/src/components/media-controls/media-controls.variables.json +1 -0
- package/src/components/media-controls/media-controls.variables.ts +3 -0
- package/src/components/menu-bar/README.md +53 -0
- package/src/components/navigation-bar/README.md +1 -1
- package/src/components/navigation-bar/navigation-bar.schema.json +4 -4
- package/src/components/navigation-bar/navigation-bar.schema.ts +4 -4
- package/src/components/navigation-bar/navigation-bar.types.ts +2 -1
- package/src/components/pricing-card/README.md +55 -0
- package/src/components/pricing-card/index.ts +6 -0
- package/src/components/pricing-card/pricing-card.css +173 -0
- package/src/components/pricing-card/pricing-card.examples.json +19 -0
- package/src/components/pricing-card/pricing-card.schema.json +40 -0
- package/src/components/pricing-card/pricing-card.schema.ts +44 -0
- package/src/components/pricing-card/pricing-card.svelte +70 -0
- package/src/components/pricing-card/pricing-card.types.ts +49 -0
- package/src/components/pricing-card/pricing-card.variables.json +1 -0
- package/src/components/pricing-card/pricing-card.variables.ts +3 -0
- package/src/components/review-editor/README.md +64 -0
- package/src/components/review-editor/comment-composer.svelte +8 -8
- package/src/components/review-editor/comment-list.svelte +10 -1
- package/src/components/search-field/search-field.examples.json +13 -0
- package/src/components/segment/README.md +55 -0
- package/src/components/share-card/README.md +58 -0
- package/src/components/share-card/index.ts +6 -0
- package/src/components/share-card/share-card.css +115 -0
- package/src/components/share-card/share-card.examples.json +19 -0
- package/src/components/share-card/share-card.schema.json +53 -0
- package/src/components/share-card/share-card.schema.ts +57 -0
- package/src/components/share-card/share-card.svelte +330 -0
- package/src/components/share-card/share-card.types.ts +69 -0
- package/src/components/share-card/share-card.variables.json +1 -0
- package/src/components/share-card/share-card.variables.ts +3 -0
- package/src/components/shortcut-hint/README.md +52 -0
- package/src/components/shortcut-hint/index.ts +6 -0
- package/src/components/shortcut-hint/shortcut-hint.css +26 -0
- package/src/components/shortcut-hint/shortcut-hint.examples.json +13 -0
- package/src/components/shortcut-hint/shortcut-hint.schema.json +36 -0
- package/src/components/shortcut-hint/shortcut-hint.schema.ts +40 -0
- package/src/components/shortcut-hint/shortcut-hint.svelte +62 -0
- package/src/components/shortcut-hint/shortcut-hint.types.ts +35 -0
- package/src/components/shortcut-hint/shortcut-hint.variables.json +1 -0
- package/src/components/shortcut-hint/shortcut-hint.variables.ts +3 -0
- package/src/components/side-navigation/side-navigation.examples.json +6 -0
- package/src/components/skip-link/README.md +50 -0
- package/src/components/skip-link/index.ts +5 -0
- package/src/components/skip-link/skip-link.examples.json +13 -0
- package/src/components/skip-link/skip-link.schema.json +16 -0
- package/src/components/skip-link/skip-link.schema.ts +20 -0
- package/src/components/skip-link/skip-link.svelte +86 -0
- package/src/components/skip-link/skip-link.types.ts +40 -0
- package/src/components/skip-link/skip-link.variables.json +1 -0
- package/src/components/skip-link/skip-link.variables.ts +3 -0
- package/src/components/spectrogram/README.md +58 -0
- package/src/components/spectrogram/index.ts +10 -0
- package/src/components/spectrogram/spectrogram.css +43 -0
- package/src/components/spectrogram/spectrogram.examples.json +13 -0
- package/src/components/spectrogram/spectrogram.schema.json +43 -0
- package/src/components/spectrogram/spectrogram.schema.ts +47 -0
- package/src/components/spectrogram/spectrogram.svelte +284 -0
- package/src/components/spectrogram/spectrogram.types.ts +63 -0
- package/src/components/spectrogram/spectrogram.variables.json +1 -0
- package/src/components/spectrogram/spectrogram.variables.ts +3 -0
- package/src/components/spectrum-chart/README.md +57 -0
- package/src/components/spectrum-chart/index.ts +10 -0
- package/src/components/spectrum-chart/spectrum-chart.css +49 -0
- package/src/components/spectrum-chart/spectrum-chart.examples.json +13 -0
- package/src/components/spectrum-chart/spectrum-chart.schema.json +37 -0
- package/src/components/spectrum-chart/spectrum-chart.schema.ts +41 -0
- package/src/components/spectrum-chart/spectrum-chart.svelte +247 -0
- package/src/components/spectrum-chart/spectrum-chart.types.ts +44 -0
- package/src/components/spectrum-chart/spectrum-chart.variables.json +1 -0
- package/src/components/spectrum-chart/spectrum-chart.variables.ts +3 -0
- package/src/components/status-dot/README.md +7 -7
- package/src/components/status-dot/status-dot.css +8 -0
- package/src/components/status-dot/status-dot.schema.json +2 -2
- package/src/components/status-dot/status-dot.schema.ts +3 -2
- package/src/components/status-dot/status-dot.types.ts +13 -2
- package/src/components/subscription-badge/README.md +50 -0
- package/src/components/subscription-badge/index.ts +6 -0
- package/src/components/subscription-badge/subscription-badge.css +18 -0
- package/src/components/subscription-badge/subscription-badge.examples.json +19 -0
- package/src/components/subscription-badge/subscription-badge.schema.json +16 -0
- package/src/components/subscription-badge/subscription-badge.schema.ts +21 -0
- package/src/components/subscription-badge/subscription-badge.svelte +69 -0
- package/src/components/subscription-badge/subscription-badge.types.ts +37 -0
- package/src/components/subscription-badge/subscription-badge.variables.json +1 -0
- package/src/components/subscription-badge/subscription-badge.variables.ts +3 -0
- package/src/components/table-cell/README.md +6 -5
- package/src/components/table-cell/table-cell.schema.json +4 -0
- package/src/components/table-cell/table-cell.schema.ts +5 -0
- package/src/components/table-cell/table-cell.svelte +9 -3
- package/src/components/table-cell/table-cell.types.ts +16 -1
- package/src/components/tag-input/README.md +75 -0
- package/src/components/typography/README.md +51 -0
- package/src/components/waveform/README.md +57 -0
- package/src/components/waveform/index.ts +6 -0
- package/src/components/waveform/waveform.css +53 -0
- package/src/components/waveform/waveform.examples.json +19 -0
- package/src/components/waveform/waveform.schema.json +38 -0
- package/src/components/waveform/waveform.schema.ts +42 -0
- package/src/components/waveform/waveform.svelte +286 -0
- package/src/components/waveform/waveform.types.ts +45 -0
- package/src/components/waveform/waveform.variables.json +1 -0
- package/src/components/waveform/waveform.variables.ts +3 -0
- package/src/index.ts +85 -2
- package/src/styles/components.css +13 -0
- package/src/styles/shell.css +3 -0
- package/src/styles/tokens-base.css +59 -22
package/dist/index.js
CHANGED
|
@@ -69,10 +69,13 @@ import"@lostgradient/cinder/breadcrumbs/styles";
|
|
|
69
69
|
import"@lostgradient/cinder/button/styles";
|
|
70
70
|
import"@lostgradient/cinder/button-group/styles";
|
|
71
71
|
import"@lostgradient/cinder/callout/styles";
|
|
72
|
+
import"@lostgradient/cinder/capability-gate/styles";
|
|
72
73
|
import"@lostgradient/cinder/card/styles";
|
|
73
74
|
import"@lostgradient/cinder/checkbox/styles";
|
|
74
75
|
import"@lostgradient/cinder/checkbox-group/styles";
|
|
75
76
|
import"@lostgradient/cinder/chip/styles";
|
|
77
|
+
import"@lostgradient/cinder/choice-grid/styles";
|
|
78
|
+
import"@lostgradient/cinder/choice-grid-item/styles";
|
|
76
79
|
import"@lostgradient/cinder/code-block/styles";
|
|
77
80
|
import"@lostgradient/cinder/collapsible/styles";
|
|
78
81
|
import"@lostgradient/cinder/color-field/styles";
|
|
@@ -88,6 +91,7 @@ import"@lostgradient/cinder/container/styles";
|
|
|
88
91
|
import"@lostgradient/cinder/context-menu/styles";
|
|
89
92
|
import"@lostgradient/cinder/copy-button/styles";
|
|
90
93
|
import"@lostgradient/cinder/data-list/styles";
|
|
94
|
+
import"@lostgradient/cinder/data-table/styles";
|
|
91
95
|
import"@lostgradient/cinder/description-list/styles";
|
|
92
96
|
import"@lostgradient/cinder/diff-statistics/styles";
|
|
93
97
|
import"@lostgradient/cinder/divider/styles";
|
|
@@ -107,10 +111,13 @@ import"@lostgradient/cinder/json-schema-editor/styles";
|
|
|
107
111
|
import"@lostgradient/cinder/json-viewer/styles";
|
|
108
112
|
import"@lostgradient/cinder/kanban-board/styles";
|
|
109
113
|
import"@lostgradient/cinder/kbd/styles";
|
|
114
|
+
import"@lostgradient/cinder/keyboard-shortcuts/styles";
|
|
110
115
|
import"@lostgradient/cinder/label/styles";
|
|
111
116
|
import"@lostgradient/cinder/line-chart/styles";
|
|
112
117
|
import"@lostgradient/cinder/link/styles";
|
|
113
118
|
import"@lostgradient/cinder/load-more/styles";
|
|
119
|
+
import"@lostgradient/cinder/matrix-chart/styles";
|
|
120
|
+
import"@lostgradient/cinder/media-controls/styles";
|
|
114
121
|
import"@lostgradient/cinder/menu-bar/styles";
|
|
115
122
|
import"@lostgradient/cinder/message/styles";
|
|
116
123
|
import"@lostgradient/cinder/modal/styles";
|
|
@@ -121,6 +128,7 @@ import"@lostgradient/cinder/pagination/styles";
|
|
|
121
128
|
import"@lostgradient/cinder/phone-input/styles";
|
|
122
129
|
import"@lostgradient/cinder/pin-input/styles";
|
|
123
130
|
import"@lostgradient/cinder/popover/styles";
|
|
131
|
+
import"@lostgradient/cinder/pricing-card/styles";
|
|
124
132
|
import"@lostgradient/cinder/progress/styles";
|
|
125
133
|
import"@lostgradient/cinder/radio-group/styles";
|
|
126
134
|
import"@lostgradient/cinder/rating/styles";
|
|
@@ -132,19 +140,24 @@ import"@lostgradient/cinder/section-heading/styles";
|
|
|
132
140
|
import"@lostgradient/cinder/segmented-control/styles";
|
|
133
141
|
import"@lostgradient/cinder/select/styles";
|
|
134
142
|
import"@lostgradient/cinder/selection-popover/styles";
|
|
143
|
+
import"@lostgradient/cinder/share-card/styles";
|
|
135
144
|
import"@lostgradient/cinder/sheet/styles";
|
|
145
|
+
import"@lostgradient/cinder/shortcut-hint/styles";
|
|
136
146
|
import"@lostgradient/cinder/side-navigation/styles";
|
|
137
147
|
import"@lostgradient/cinder/side-navigation-group/styles";
|
|
138
148
|
import"@lostgradient/cinder/sidebar/styles";
|
|
139
149
|
import"@lostgradient/cinder/skeleton/styles";
|
|
140
150
|
import"@lostgradient/cinder/slider/styles";
|
|
141
151
|
import"@lostgradient/cinder/sortable-list/styles";
|
|
152
|
+
import"@lostgradient/cinder/spectrogram/styles";
|
|
153
|
+
import"@lostgradient/cinder/spectrum-chart/styles";
|
|
142
154
|
import"@lostgradient/cinder/spinner/styles";
|
|
143
155
|
import"@lostgradient/cinder/stacked-list-item/styles";
|
|
144
156
|
import"@lostgradient/cinder/stat/styles";
|
|
145
157
|
import"@lostgradient/cinder/stat-group/styles";
|
|
146
158
|
import"@lostgradient/cinder/status-dot/styles";
|
|
147
159
|
import"@lostgradient/cinder/steps/styles";
|
|
160
|
+
import"@lostgradient/cinder/subscription-badge/styles";
|
|
148
161
|
import"@lostgradient/cinder/surface/styles";
|
|
149
162
|
import"@lostgradient/cinder/tab/styles";
|
|
150
163
|
import"@lostgradient/cinder/tab-list/styles";
|
|
@@ -166,6 +179,7 @@ import"@lostgradient/cinder/toolbar/styles";
|
|
|
166
179
|
import"@lostgradient/cinder/tooltip/styles";
|
|
167
180
|
import"@lostgradient/cinder/tree/styles";
|
|
168
181
|
import"@lostgradient/cinder/typography/styles";
|
|
182
|
+
import"@lostgradient/cinder/waveform/styles";
|
|
169
183
|
export {
|
|
170
184
|
useToast,
|
|
171
185
|
useResizeObserver,
|
|
@@ -189,122 +203,137 @@ export {
|
|
|
189
203
|
copyToClipboard,
|
|
190
204
|
buildFormDataFromValues,
|
|
191
205
|
buildFormData,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
206
|
+
default149 as Waveform,
|
|
207
|
+
default148 as VisuallyHidden,
|
|
208
|
+
default147 as Typography,
|
|
209
|
+
default145 as TreeItem,
|
|
210
|
+
default144 as Tree,
|
|
211
|
+
default146 as Tooltip,
|
|
212
|
+
default143 as Toolbar,
|
|
213
|
+
default142 as Toggle,
|
|
214
|
+
default139 as ToastRegion,
|
|
215
|
+
default141 as TimelineItem,
|
|
216
|
+
default140 as Timeline,
|
|
217
|
+
default138 as Textarea,
|
|
218
|
+
default133 as TagInput,
|
|
219
|
+
default137 as Tabs,
|
|
220
|
+
default136 as TableRow,
|
|
221
|
+
default135 as TableHeaderCell,
|
|
222
|
+
default134 as TableHeader,
|
|
223
|
+
default132 as TableCell,
|
|
224
|
+
default131 as TableBody,
|
|
225
|
+
default130 as Table,
|
|
226
|
+
default129 as TabPanel,
|
|
227
|
+
default128 as TabList,
|
|
228
|
+
default127 as Tab,
|
|
229
|
+
default126 as Surface,
|
|
230
|
+
default125 as SubscriptionBadge,
|
|
231
|
+
default121 as Steps,
|
|
232
|
+
default124 as StatusDot,
|
|
233
|
+
default123 as StatGroup,
|
|
234
|
+
default122 as Stat,
|
|
235
|
+
default117 as StackedListItem,
|
|
236
|
+
default120 as Spinner,
|
|
237
|
+
default119 as SpectrumChart,
|
|
238
|
+
default118 as Spectrogram,
|
|
239
|
+
default113 as SortableList,
|
|
240
|
+
default116 as Slider,
|
|
241
|
+
default115 as SkipLink,
|
|
242
|
+
default114 as Skeleton,
|
|
243
|
+
default112 as Sidebar,
|
|
244
|
+
default111 as SideNavigationItem,
|
|
245
|
+
default110 as SideNavigationGroup,
|
|
246
|
+
default109 as SideNavigation,
|
|
247
|
+
default108 as ShortcutHint,
|
|
248
|
+
default107 as Sheet,
|
|
249
|
+
default106 as ShareCard,
|
|
250
|
+
default105 as SelectionPopover,
|
|
251
|
+
default104 as Select,
|
|
252
|
+
default103 as SegmentedControl,
|
|
253
|
+
default102 as Segment,
|
|
254
|
+
default101 as SectionHeading,
|
|
255
|
+
default100 as SearchField,
|
|
256
|
+
default99 as ScrollArea,
|
|
257
|
+
default98 as ReviewEditor,
|
|
258
|
+
default97 as ResizablePanels,
|
|
259
|
+
default96 as Rating,
|
|
260
|
+
default95 as RadioGroup,
|
|
261
|
+
default94 as Progress,
|
|
262
|
+
default93 as PricingCard,
|
|
263
|
+
default86 as Portal,
|
|
264
|
+
default92 as Popover,
|
|
265
|
+
default91 as PinInput,
|
|
266
|
+
default90 as PhoneInput,
|
|
267
|
+
default89 as Pagination,
|
|
268
|
+
default88 as NumberInput,
|
|
269
|
+
default87 as NavigationItem,
|
|
270
|
+
default85 as NavigationBar,
|
|
271
|
+
default84 as Modal,
|
|
272
|
+
default82 as Message,
|
|
273
|
+
default81 as MenuBar,
|
|
274
|
+
default79 as MediaControls,
|
|
275
|
+
default83 as MatrixChart,
|
|
276
|
+
default80 as MarkdownEditor,
|
|
277
|
+
default78 as LoadMore,
|
|
278
|
+
default76 as Link,
|
|
279
|
+
default77 as LineChart,
|
|
280
|
+
default75 as Label,
|
|
281
|
+
default74 as KeyboardShortcuts,
|
|
282
|
+
default73 as Kbd,
|
|
283
|
+
default72 as KanbanBoard,
|
|
284
|
+
default70 as JsonViewer,
|
|
285
|
+
default69 as JsonSchemaEditor,
|
|
286
|
+
default68 as Input,
|
|
287
|
+
default67 as Image,
|
|
288
|
+
default66 as HoverCard,
|
|
289
|
+
default65 as GridListItem,
|
|
290
|
+
default64 as GridList,
|
|
291
|
+
default63 as FormSection,
|
|
292
|
+
default62 as FormField,
|
|
293
|
+
default61 as FocusTrap,
|
|
294
|
+
default59 as FloatingActionButton,
|
|
295
|
+
default60 as FileUpload,
|
|
296
|
+
default57 as FeedEvent,
|
|
297
|
+
default58 as Feed,
|
|
298
|
+
default56 as EmptyState,
|
|
299
|
+
default55 as DropdownTrigger,
|
|
300
|
+
default54 as DropdownSeparator,
|
|
301
|
+
default53 as DropdownMenu,
|
|
302
|
+
default52 as DropdownLabel,
|
|
303
|
+
default50 as DropdownItem,
|
|
304
|
+
default51 as DropdownGroup,
|
|
305
|
+
default49 as Dropdown,
|
|
306
|
+
default48 as Drawer,
|
|
307
|
+
default47 as Divider,
|
|
308
|
+
default46 as DiffViewer,
|
|
309
|
+
default45 as DiffStatistics,
|
|
310
|
+
default44 as DescriptionList,
|
|
311
|
+
default43 as DataTable,
|
|
312
|
+
default42 as DataList,
|
|
313
|
+
default41 as CopyButton,
|
|
314
|
+
default40 as ContextMenuTrigger,
|
|
315
|
+
default39 as ContextMenu,
|
|
316
|
+
default38 as Container,
|
|
317
|
+
default37 as ConnectionIndicator,
|
|
318
|
+
default36 as ConfirmDialog,
|
|
319
|
+
default35 as CommandPalette,
|
|
320
|
+
default34 as CommandMenu,
|
|
321
|
+
default33 as CommandItem,
|
|
322
|
+
default32 as Combobox,
|
|
323
|
+
default31 as ColorSwatchPicker,
|
|
324
|
+
default30 as ColorPicker,
|
|
325
|
+
default29 as ColorField,
|
|
326
|
+
default28 as Collapsible,
|
|
327
|
+
default27 as CodeBlock,
|
|
328
|
+
default26 as ClickAwayListener,
|
|
329
|
+
default22 as ChoiceGridItem,
|
|
330
|
+
default21 as ChoiceGrid,
|
|
331
|
+
default23 as Chip,
|
|
332
|
+
default25 as CheckboxGroup,
|
|
333
|
+
default24 as Checkbox,
|
|
306
334
|
default20 as Chat,
|
|
307
335
|
default19 as Card,
|
|
336
|
+
default71 as CapabilityGate,
|
|
308
337
|
default18 as Callout,
|
|
309
338
|
default17 as ButtonGroup,
|
|
310
339
|
default16 as Button,
|
|
@@ -324,4 +353,4 @@ export {
|
|
|
324
353
|
default3 as Accordion
|
|
325
354
|
};
|
|
326
355
|
|
|
327
|
-
//# debugId=
|
|
356
|
+
//# debugId=25CD558D088E9C6E64756E2164756E21
|
|
@@ -76,6 +76,19 @@ function Accordion_item($$renderer, $$props) {
|
|
|
76
76
|
import * as $2 from "svelte/internal/server";
|
|
77
77
|
|
|
78
78
|
// src/_internal/collection.ts
|
|
79
|
+
function createSingleSelection(getValue, setValue) {
|
|
80
|
+
return {
|
|
81
|
+
get value() {
|
|
82
|
+
return getValue();
|
|
83
|
+
},
|
|
84
|
+
select(next) {
|
|
85
|
+
setValue(next);
|
|
86
|
+
},
|
|
87
|
+
isSelected(candidate) {
|
|
88
|
+
return getValue() === candidate;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
79
92
|
function createMultiSelection(getValues, setValues) {
|
|
80
93
|
return {
|
|
81
94
|
get values() {
|
|
@@ -141,4 +154,4 @@ export {
|
|
|
141
154
|
Accordion2 as Accordion
|
|
142
155
|
};
|
|
143
156
|
|
|
144
|
-
//# debugId=
|
|
157
|
+
//# debugId=036A2BE6E473690C64756E2164756E21
|
|
@@ -39,8 +39,8 @@ var schema = {
|
|
|
39
39
|
type: "object",
|
|
40
40
|
properties: {
|
|
41
41
|
variant: {
|
|
42
|
-
enum: ["info", "success", "warning", "error"],
|
|
43
|
-
description: "Visual style.",
|
|
42
|
+
enum: ["info", "success", "warning", "error", "danger"],
|
|
43
|
+
description: "Visual style. `danger` is an accepted alias for `error` — both render identically.",
|
|
44
44
|
default: "info"
|
|
45
45
|
},
|
|
46
46
|
dismissible: {
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
alert_schema_default as default
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
//# debugId=
|
|
63
|
+
//# debugId=CE1DE750ED4618A864756E2164756E21
|
|
@@ -57,6 +57,7 @@ function Alert($$renderer, $$props) {
|
|
|
57
57
|
$$events,
|
|
58
58
|
...rest
|
|
59
59
|
} = $$props;
|
|
60
|
+
const resolvedVariant = $.derived(() => variant === "danger" ? "error" : variant);
|
|
60
61
|
let visible = true;
|
|
61
62
|
let rootElement = undefined;
|
|
62
63
|
async function handleDismiss() {
|
|
@@ -105,7 +106,7 @@ function Alert($$renderer, $$props) {
|
|
|
105
106
|
$$renderer2.push(`<div${$.attributes({
|
|
106
107
|
...restWithoutForbidden(),
|
|
107
108
|
class: $.clsx(classNames("cinder-alert", "cinder-_status-surface", className)),
|
|
108
|
-
"data-cinder-variant":
|
|
109
|
+
"data-cinder-variant": resolvedVariant(),
|
|
109
110
|
role: "alert"
|
|
110
111
|
})}>`);
|
|
111
112
|
if (icon) {
|
|
@@ -140,4 +141,4 @@ export {
|
|
|
140
141
|
Alert
|
|
141
142
|
};
|
|
142
143
|
|
|
143
|
-
//# debugId=
|
|
144
|
+
//# debugId=5617FF8C08E5F1B564756E2164756E21
|
|
@@ -75,6 +75,9 @@ function Button($$renderer, $$props) {
|
|
|
75
75
|
"aria-busy": consumerAriaBusy,
|
|
76
76
|
"aria-label": ariaLabel,
|
|
77
77
|
"aria-labelledby": ariaLabelledBy,
|
|
78
|
+
"aria-expanded": ariaExpanded,
|
|
79
|
+
"aria-controls": ariaControls,
|
|
80
|
+
"aria-haspopup": ariaHaspopup,
|
|
78
81
|
$$slots,
|
|
79
82
|
$$events,
|
|
80
83
|
...rest
|
|
@@ -163,7 +166,10 @@ function Button($$renderer, $$props) {
|
|
|
163
166
|
"aria-disabled": resolvedAriaDisabled(),
|
|
164
167
|
"aria-busy": resolvedAriaBusy(),
|
|
165
168
|
"aria-label": resolvedAriaLabel(),
|
|
166
|
-
"aria-labelledby": resolvedAriaLabelledBy()
|
|
169
|
+
"aria-labelledby": resolvedAriaLabelledBy(),
|
|
170
|
+
"aria-expanded": ariaExpanded,
|
|
171
|
+
"aria-controls": ariaControls,
|
|
172
|
+
"aria-haspopup": ariaHaspopup
|
|
167
173
|
})}>`);
|
|
168
174
|
buttonContent($$renderer2);
|
|
169
175
|
$$renderer2.push(`<!----></a>`);
|
|
@@ -178,7 +184,10 @@ function Button($$renderer, $$props) {
|
|
|
178
184
|
"aria-disabled": resolvedAriaDisabled(),
|
|
179
185
|
"aria-busy": resolvedAriaBusy(),
|
|
180
186
|
"aria-label": resolvedAriaLabel(),
|
|
181
|
-
"aria-labelledby": resolvedAriaLabelledBy()
|
|
187
|
+
"aria-labelledby": resolvedAriaLabelledBy(),
|
|
188
|
+
"aria-expanded": ariaExpanded,
|
|
189
|
+
"aria-controls": ariaControls,
|
|
190
|
+
"aria-haspopup": ariaHaspopup
|
|
182
191
|
})}>`);
|
|
183
192
|
buttonContent($$renderer2);
|
|
184
193
|
$$renderer2.push(`<!----></button>`);
|
|
@@ -582,4 +591,4 @@ export {
|
|
|
582
591
|
Alert_dialog as AlertDialog
|
|
583
592
|
};
|
|
584
593
|
|
|
585
|
-
//# debugId=
|
|
594
|
+
//# debugId=6C3217B1A6541C0A64756E2164756E21
|
|
@@ -83,10 +83,57 @@
|
|
|
83
83
|
pointer-events: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.cinder-area-chart__focus-target:focus-visible {
|
|
87
|
-
|
|
86
|
+
.cinder-area-chart__focus-target:focus-visible:not([data-cinder-focus-ring-active="true"]) {
|
|
87
|
+
fill: transparent;
|
|
88
|
+
stroke: var(--cinder-ring-color);
|
|
89
|
+
stroke-width: var(--cinder-ring-width);
|
|
90
|
+
vector-effect: non-scaling-stroke;
|
|
91
|
+
filter: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cinder-area-chart__focus-ring-layer {
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.cinder-area-chart__focus-ring, .cinder-area-chart__focus-ring-halo, .cinder-area-chart__focus-ring-connector, .cinder-area-chart__focus-ring-dot {
|
|
99
|
+
fill: none;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
vector-effect: non-scaling-stroke;
|
|
102
|
+
stroke-linecap: round;
|
|
103
|
+
stroke-linejoin: round;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cinder-area-chart__focus-ring {
|
|
107
|
+
stroke: var(--cinder-ring-color);
|
|
88
108
|
stroke-width: var(--cinder-ring-width);
|
|
89
|
-
filter:
|
|
109
|
+
filter: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cinder-area-chart__focus-ring-halo {
|
|
113
|
+
stroke: var(--cinder-ring-offset-color);
|
|
114
|
+
stroke-width: calc(var(--cinder-ring-width) + var(--cinder-ring-offset) + var(--cinder-ring-offset));
|
|
115
|
+
filter: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (forced-colors: active) {
|
|
119
|
+
.cinder-area-chart__focus-ring-halo {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.cinder-area-chart__focus-ring, .cinder-area-chart__focus-ring-connector, .cinder-area-chart__focus-ring-dot {
|
|
124
|
+
fill: none;
|
|
125
|
+
stroke: ButtonText;
|
|
126
|
+
stroke-width: var(--cinder-ring-width);
|
|
127
|
+
filter: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.cinder-area-chart__focus-target:focus-visible:not([data-cinder-focus-ring-active="true"]) {
|
|
131
|
+
fill: transparent;
|
|
132
|
+
stroke: ButtonText;
|
|
133
|
+
stroke-width: var(--cinder-ring-width);
|
|
134
|
+
vector-effect: non-scaling-stroke;
|
|
135
|
+
filter: none;
|
|
136
|
+
}
|
|
90
137
|
}
|
|
91
138
|
|
|
92
139
|
.cinder-area-chart__tick-label {
|