@esportsplus/ui 0.56.3 → 0.57.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/NOTICE +232 -0
- package/README.md +129 -138
- package/build/components/accordion/index.d.ts +23 -9
- package/build/components/accordion/index.js +95 -11
- package/build/components/accordion/scss/index.scss +1 -1
- package/build/components/announcement/index.d.ts +2167 -0
- package/build/components/announcement/index.js +35 -0
- package/build/components/announcement/scss/index.scss +2 -0
- package/build/components/banner/scss/index.scss +1 -1
- package/build/components/breadcrumb/index.d.ts +25 -25
- package/build/components/breadcrumb/index.js +189 -17
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/copy.js +6 -6
- package/build/components/button/faces.js +4 -4
- package/build/components/button/fan.js +85 -84
- package/build/components/button/hold.js +8 -10
- package/build/components/button/icons.js +33 -10
- package/build/components/button/index.d.ts +6 -0
- package/build/components/button/index.js +4 -1
- package/build/components/button/kbd.js +25 -25
- package/build/components/button/loading.js +7 -7
- package/build/components/button/morph.d.ts +22 -0
- package/build/components/button/morph.js +115 -0
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/sidebar.d.ts +18 -0
- package/build/components/button/sidebar.js +19 -0
- package/build/components/button/split.d.ts +23 -0
- package/build/components/button/split.js +41 -0
- package/build/components/capslock/index.d.ts +19 -0
- package/build/components/capslock/index.js +39 -0
- package/build/components/capslock/scss/index.scss +2 -0
- package/build/components/card/expand.d.ts +22 -0
- package/build/components/card/expand.js +118 -0
- package/build/components/card/index.d.ts +6 -0
- package/build/components/card/index.js +4 -0
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/cc/index.d.ts +30 -0
- package/build/components/cc/index.js +569 -0
- package/build/components/cc/scss/index.scss +2 -0
- package/build/components/chat-minimap/index.d.ts +28 -0
- package/build/components/chat-minimap/index.js +223 -0
- package/build/components/chat-minimap/range.d.ts +9 -0
- package/build/components/chat-minimap/range.js +30 -0
- package/build/components/chat-minimap/scss/index.scss +2 -0
- package/build/components/chat-minimap/spy.d.ts +14 -0
- package/build/components/chat-minimap/spy.js +107 -0
- package/build/components/checkbox/group.d.ts +33 -0
- package/build/components/checkbox/group.js +156 -0
- package/build/components/checkbox/index.d.ts +3 -1456
- package/build/components/checkbox/index.js +3 -69
- package/build/components/checkbox/options.d.ts +6513 -0
- package/build/components/checkbox/options.js +79 -0
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/clipboard/copy.js +5 -5
- package/build/components/clipboard/index.d.ts +15 -3
- package/build/components/color-picker/index.d.ts +5 -7
- package/build/components/color-picker/index.js +175 -222
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/index.d.ts +83 -17
- package/build/components/command/index.js +556 -143
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/container/scss/index.scss +1 -1
- package/build/components/copy/index.d.ts +23 -0
- package/build/components/copy/index.js +61 -0
- package/build/components/copy/scss/index.scss +2 -0
- package/build/components/counter/index.d.ts +3 -2
- package/build/components/counter/index.js +41 -73
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/datalist/index.d.ts +5 -0
- package/build/components/datalist/index.js +76 -49
- package/build/components/datalist/scss/index.scss +1 -1
- package/build/components/dock/index.d.ts +5 -4
- package/build/components/dock/index.js +62 -171
- package/build/components/dock/scss/index.scss +1 -1
- package/build/components/editor/code/changes.d.ts +15 -0
- package/build/components/editor/code/changes.js +60 -0
- package/build/components/editor/code/clipboard.d.ts +6 -0
- package/build/components/editor/code/clipboard.js +50 -0
- package/build/components/editor/code/colors.d.ts +11 -0
- package/build/components/editor/code/colors.js +172 -0
- package/build/components/editor/code/commands.d.ts +22 -0
- package/build/components/editor/code/commands.js +556 -0
- package/build/components/editor/code/composition.d.ts +23 -0
- package/build/components/editor/code/composition.js +67 -0
- package/build/components/editor/code/conflicts.d.ts +21 -0
- package/build/components/editor/code/conflicts.js +91 -0
- package/build/components/editor/code/document.d.ts +127 -0
- package/build/components/editor/code/document.js +477 -0
- package/build/components/editor/code/editor.d.ts +21 -0
- package/build/components/editor/code/editor.js +30 -0
- package/build/components/editor/code/features.d.ts +77 -0
- package/build/components/editor/code/features.js +833 -0
- package/build/components/editor/code/field.d.ts +14 -0
- package/build/components/editor/code/field.js +57 -0
- package/build/components/editor/code/find.d.ts +83 -0
- package/build/components/editor/code/find.js +312 -0
- package/build/components/editor/code/folding.d.ts +34 -0
- package/build/components/editor/code/folding.js +433 -0
- package/build/components/editor/code/goto.d.ts +22 -0
- package/build/components/editor/code/goto.js +91 -0
- package/build/components/editor/code/gutter.d.ts +5 -0
- package/build/components/editor/code/gutter.js +22 -0
- package/build/components/editor/code/index.d.ts +17 -0
- package/build/components/editor/code/index.js +7 -0
- package/build/components/editor/code/keymap.d.ts +30 -0
- package/build/components/editor/code/keymap.js +356 -0
- package/build/components/editor/code/layout.d.ts +67 -0
- package/build/components/editor/code/layout.js +350 -0
- package/build/components/editor/code/links.d.ts +8 -0
- package/build/components/editor/code/links.js +32 -0
- package/build/components/editor/code/minimap.d.ts +46 -0
- package/build/components/editor/code/minimap.js +172 -0
- package/build/components/editor/code/navigation.d.ts +17 -0
- package/build/components/editor/code/navigation.js +49 -0
- package/build/components/editor/code/pointer.d.ts +40 -0
- package/build/components/editor/code/pointer.js +134 -0
- package/build/components/editor/code/projection.d.ts +43 -0
- package/build/components/editor/code/projection.js +200 -0
- package/build/components/editor/code/rows.d.ts +50 -0
- package/build/components/editor/code/rows.js +296 -0
- package/build/components/editor/code/search.d.ts +24 -0
- package/build/components/editor/code/search.js +231 -0
- package/build/components/editor/code/selection.d.ts +2 -0
- package/build/components/editor/code/selection.js +53 -0
- package/build/components/editor/code/services/completion.d.ts +27 -0
- package/build/components/editor/code/services/completion.js +90 -0
- package/build/components/editor/code/services/diagnostics.d.ts +28 -0
- package/build/components/editor/code/services/diagnostics.js +98 -0
- package/build/components/editor/code/services/hover.d.ts +14 -0
- package/build/components/editor/code/services/hover.js +66 -0
- package/build/components/editor/code/services/index.d.ts +27 -0
- package/build/components/editor/code/services/index.js +64 -0
- package/build/components/editor/code/services/model.d.ts +35 -0
- package/build/components/editor/code/services/model.js +167 -0
- package/build/components/editor/code/services/protocol.d.ts +68 -0
- package/build/components/editor/code/services/protocol.js +1 -0
- package/build/components/editor/code/services/session.d.ts +54 -0
- package/build/components/editor/code/services/session.js +496 -0
- package/build/components/editor/code/services/transport.d.ts +12 -0
- package/build/components/editor/code/services/transport.js +18 -0
- package/build/components/editor/code/syntax.d.ts +83 -0
- package/build/components/editor/code/syntax.js +1106 -0
- package/build/components/editor/code/unicode.d.ts +10 -0
- package/build/components/editor/code/unicode.js +117 -0
- package/build/components/editor/code/view.d.ts +122 -0
- package/build/components/editor/code/view.js +1560 -0
- package/build/components/editor/diffs/diff3.d.ts +25 -0
- package/build/components/editor/diffs/diff3.js +152 -0
- package/build/components/editor/diffs/engine.d.ts +18 -0
- package/build/components/editor/diffs/engine.js +110 -0
- package/build/components/editor/diffs/hunks.d.ts +41 -0
- package/build/components/editor/diffs/hunks.js +96 -0
- package/build/components/editor/diffs/index.d.ts +18 -0
- package/build/components/editor/diffs/index.js +10 -0
- package/build/components/editor/diffs/merge.d.ts +23 -0
- package/build/components/editor/diffs/merge.js +324 -0
- package/build/components/editor/diffs/render.d.ts +6 -0
- package/build/components/editor/diffs/render.js +56 -0
- package/build/components/editor/diffs/view.d.ts +44 -0
- package/build/components/editor/diffs/view.js +363 -0
- package/build/components/editor/diffs/words.d.ts +8 -0
- package/build/components/editor/diffs/words.js +47 -0
- package/build/components/editor/index.d.ts +21 -0
- package/build/components/editor/index.js +11 -0
- package/build/components/editor/markdown/editing.d.ts +7 -0
- package/build/components/editor/markdown/editing.js +55 -0
- package/build/components/editor/markdown/html.d.ts +24 -0
- package/build/components/editor/markdown/html.js +108 -0
- package/build/components/editor/markdown/index.d.ts +25 -0
- package/build/components/editor/markdown/index.js +33 -0
- package/build/components/editor/markdown/inline.d.ts +16 -0
- package/build/components/editor/markdown/inline.js +259 -0
- package/build/components/editor/markdown/layout.d.ts +63 -0
- package/build/components/editor/markdown/layout.js +252 -0
- package/build/components/editor/markdown/model.d.ts +53 -0
- package/build/components/editor/markdown/model.js +463 -0
- package/build/components/editor/markdown/render.d.ts +29 -0
- package/build/components/editor/markdown/render.js +561 -0
- package/build/components/editor/markdown/structure.d.ts +7 -0
- package/build/components/editor/markdown/structure.js +87 -0
- package/build/components/editor/markdown/view.d.ts +18 -0
- package/build/components/editor/markdown/view.js +1841 -0
- package/build/components/editor/tree/clipboard.d.ts +12 -0
- package/build/components/editor/tree/clipboard.js +48 -0
- package/build/components/editor/tree/compact.d.ts +23 -0
- package/build/components/editor/tree/compact.js +57 -0
- package/build/components/editor/tree/decorations.d.ts +39 -0
- package/build/components/editor/tree/decorations.js +126 -0
- package/build/components/editor/tree/drag.d.ts +45 -0
- package/build/components/editor/tree/drag.js +462 -0
- package/build/components/editor/tree/edit.d.ts +43 -0
- package/build/components/editor/tree/edit.js +134 -0
- package/build/components/editor/tree/filter.d.ts +7 -0
- package/build/components/editor/tree/filter.js +47 -0
- package/build/components/editor/tree/find.d.ts +55 -0
- package/build/components/editor/tree/find.js +291 -0
- package/build/components/editor/tree/glob.d.ts +2 -0
- package/build/components/editor/tree/glob.js +57 -0
- package/build/components/editor/tree/glyph.d.ts +6 -0
- package/build/components/editor/tree/glyph.js +31 -0
- package/build/components/editor/tree/history.d.ts +61 -0
- package/build/components/editor/tree/history.js +172 -0
- package/build/components/editor/tree/icons.d.ts +29 -0
- package/build/components/editor/tree/icons.js +417 -0
- package/build/components/editor/tree/index.d.ts +118 -0
- package/build/components/editor/tree/index.js +2227 -0
- package/build/components/editor/tree/jump.d.ts +8 -0
- package/build/components/editor/tree/jump.js +45 -0
- package/build/components/editor/tree/lazy.d.ts +24 -0
- package/build/components/editor/tree/lazy.js +71 -0
- package/build/components/editor/tree/model.d.ts +33 -0
- package/build/components/editor/tree/model.js +128 -0
- package/build/components/editor/tree/selection.d.ts +13 -0
- package/build/components/editor/tree/selection.js +55 -0
- package/build/components/editor/tree/shortcuts.d.ts +6 -0
- package/build/components/editor/tree/shortcuts.js +44 -0
- package/build/components/editor/tree/sort.d.ts +13 -0
- package/build/components/editor/tree/sort.js +53 -0
- package/build/components/editor/tree/spoken.d.ts +9 -0
- package/build/components/editor/tree/spoken.js +38 -0
- package/build/components/editor/tree/sprites.d.ts +4 -0
- package/build/components/editor/tree/sprites.js +152 -0
- package/build/components/editor/tree/sticky.d.ts +11 -0
- package/build/components/editor/tree/sticky.js +102 -0
- package/build/components/editor/tree/transfer.d.ts +15 -0
- package/build/components/editor/tree/transfer.js +75 -0
- package/build/components/editor/workspace/index.d.ts +64 -0
- package/build/components/editor/workspace/index.js +1125 -0
- package/build/components/editor/workspace/model.d.ts +161 -0
- package/build/components/editor/workspace/model.js +690 -0
- package/build/components/error/index.d.ts +31 -0
- package/build/components/error/index.js +150 -0
- package/build/components/error/scss/index.scss +2 -0
- package/build/components/filter/index.d.ts +38 -0
- package/build/components/filter/index.js +307 -0
- package/build/components/filter/scss/index.scss +2 -0
- package/build/components/form/action.js +1 -2
- package/build/components/form/index.d.ts +10 -1
- package/build/components/form/input.d.ts +12 -2
- package/build/components/form/input.js +12 -7
- package/build/components/form/scss/index.scss +1 -1
- package/build/components/frame/scss/index.scss +2 -0
- package/build/components/grid/scss/index.scss +1 -1
- package/build/components/heatmap/index.d.ts +32 -0
- package/build/components/heatmap/index.js +209 -0
- package/build/components/heatmap/scss/index.scss +2 -0
- package/build/components/highlight/easing.d.ts +2 -0
- package/build/components/highlight/easing.js +19 -0
- package/build/components/highlight/index.d.ts +6 -0
- package/build/components/highlight/index.js +334 -112
- package/build/components/highlight/scss/index.scss +1 -1
- package/build/components/icon/index.js +1 -1
- package/build/components/icon/scss/index.scss +1 -1
- package/build/components/image/index.d.ts +17 -12
- package/build/components/image/index.js +3 -61
- package/build/components/image/lazyload.d.ts +15 -0
- package/build/components/image/lazyload.js +72 -0
- package/build/components/image/scss/index.scss +1 -1
- package/build/components/index.d.ts +15 -77
- package/build/components/index.js +15 -77
- package/build/components/inline-edit/format.d.ts +29 -0
- package/build/components/inline-edit/format.js +112 -0
- package/build/components/inline-edit/history.d.ts +14 -0
- package/build/components/inline-edit/history.js +40 -0
- package/build/components/inline-edit/index.d.ts +13 -7
- package/build/components/inline-edit/index.js +44 -38
- package/build/components/inline-edit/markdown.d.ts +7 -0
- package/build/components/inline-edit/markdown.js +314 -0
- package/build/components/inline-edit/model.d.ts +61 -0
- package/build/components/inline-edit/model.js +192 -0
- package/build/components/inline-edit/rich.d.ts +39 -0
- package/build/components/inline-edit/rich.js +1236 -0
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/inline-edit/selection.d.ts +7 -0
- package/build/components/inline-edit/selection.js +114 -0
- package/build/components/inline-edit/status.d.ts +24 -0
- package/build/components/inline-edit/status.js +196 -0
- package/build/components/inline-edit/utilities.d.ts +4 -0
- package/build/components/inline-edit/utilities.js +12 -0
- package/build/components/input/field.d.ts +14 -0
- package/build/components/input/field.js +34 -0
- package/build/components/input/index.d.ts +7 -14
- package/build/components/input/index.js +5 -41
- package/build/components/input/scrub.d.ts +30 -0
- package/build/components/input/scrub.js +221 -0
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/input/tag.d.ts +24 -0
- package/build/components/input/tag.js +288 -0
- package/build/components/json/download.js +4 -3
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/loading/index.d.ts +1 -1
- package/build/components/loading/scss/index.scss +1 -1
- package/build/components/marquee/index.d.ts +10 -1
- package/build/components/marquee/index.js +240 -174
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/marquee/velocity.d.ts +17 -0
- package/build/components/marquee/velocity.js +78 -0
- package/build/components/metric/flash.d.ts +11 -0
- package/build/components/metric/flash.js +116 -0
- package/build/components/metric/index.d.ts +33 -0
- package/build/components/metric/index.js +271 -0
- package/build/components/metric/scss/index.scss +2 -0
- package/build/components/nav/index.d.ts +13 -0
- package/build/components/nav/index.js +6 -0
- package/build/components/nav/scss/index.scss +2 -0
- package/build/components/nav/spy.d.ts +9 -0
- package/build/components/nav/spy.js +157 -0
- package/build/components/nav/toc.d.ts +26 -0
- package/build/components/nav/toc.js +22 -0
- package/build/components/nav/tree.d.ts +39 -0
- package/build/components/nav/tree.js +123 -0
- package/build/components/notification/index.d.ts +15 -0
- package/build/components/notification/index.js +98 -0
- package/build/components/notification/scss/index.scss +2 -0
- package/build/components/overlay/index.d.ts +28 -9
- package/build/components/overlay/index.js +346 -8
- package/build/components/overlay/popup.d.ts +31 -0
- package/build/components/overlay/popup.js +150 -0
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/page/scss/index.scss +1 -1
- package/build/components/pagination/dots.d.ts +21 -0
- package/build/components/pagination/dots.js +110 -0
- package/build/components/pagination/index.d.ts +8 -3
- package/build/components/pagination/index.js +36 -59
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/progress/index.d.ts +7 -2
- package/build/components/progress/index.js +14 -10
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/progress/text.d.ts +12 -0
- package/build/components/progress/text.js +124 -0
- package/build/components/pull-to-refresh/index.d.ts +3 -11
- package/build/components/pull-to-refresh/index.js +127 -165
- package/build/components/pull-to-refresh/scss/index.scss +1 -1
- package/build/components/radio/index.d.ts +2 -2
- package/build/components/radio/index.js +2 -2
- package/build/components/range/filter.d.ts +22 -0
- package/build/components/range/filter.js +322 -0
- package/build/components/range/index.d.ts +9 -2
- package/build/components/range/index.js +13 -9
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/relative-time/index.d.ts +15 -8
- package/build/components/relative-time/index.js +206 -193
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/select/index.d.ts +35 -16
- package/build/components/select/index.js +358 -92
- package/build/components/select/placement.d.ts +15 -0
- package/build/components/select/placement.js +31 -0
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/shortcut-recorder/index.d.ts +7 -2
- package/build/components/shortcut-recorder/index.js +107 -99
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/index.d.ts +722 -4
- package/build/components/sortable/index.js +329 -213
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/sticky-header/index.d.ts +22 -15
- package/build/components/sticky-header/index.js +41 -81
- package/build/components/sticky-header/scss/index.scss +1 -1
- package/build/components/story/index.d.ts +21 -0
- package/build/components/story/index.js +253 -0
- package/build/components/story/scss/index.scss +2 -0
- package/build/components/surface-field/engine.d.ts +65 -0
- package/build/components/surface-field/engine.js +970 -0
- package/build/components/surface-field/index.d.ts +2247 -1470
- package/build/components/surface-field/index.js +394 -371
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/surface-field/surface.d.ts +39 -0
- package/build/components/surface-field/surface.js +159 -0
- package/build/components/surface-field/worker/index.d.ts +9 -0
- package/build/components/surface-field/worker/index.js +19 -0
- package/build/components/switch/index.d.ts +2 -2
- package/build/components/switch/index.js +2 -2
- package/build/components/tasklist/index.d.ts +25 -717
- package/build/components/tasklist/index.js +151 -97
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/text/scss/index.scss +1 -1
- package/build/components/textarea/index.d.ts +15 -3
- package/build/components/textarea/index.js +124 -32
- package/build/components/textarea/scss/index.scss +1 -1
- package/build/components/toast/index.d.ts +40 -7
- package/build/components/toast/index.js +192 -145
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/tooltip/index.d.ts +3 -4
- package/build/components/tooltip/index.js +3 -4
- package/build/components/tooltip/menu.d.ts +47 -21
- package/build/components/tooltip/menu.js +525 -18
- package/build/components/tooltip/onclick.d.ts +1 -0
- package/build/components/tooltip/onclick.js +50 -33
- package/build/components/tooltip/onhover.d.ts +721 -10
- package/build/components/tooltip/onhover.js +129 -43
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/tooltip/shared.d.ts +34 -0
- package/build/components/tooltip/shared.js +569 -0
- package/build/components/tooltip/utilities.d.ts +23 -3
- package/build/components/tooltip/utilities.js +46 -21
- package/build/components/typewriter/index.d.ts +1439 -10
- package/build/components/typewriter/index.js +7 -2
- package/build/components/typewriter/retype.d.ts +7 -0
- package/build/components/typewriter/retype.js +83 -0
- package/build/components/typewriter/rotate.d.ts +13 -0
- package/build/components/typewriter/rotate.js +186 -0
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/index.js +61 -61
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/index.d.ts +15 -3
- package/build/components/usage-meter/index.js +19 -19
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/css-utilities/background/scss/index.scss +1 -1
- package/build/css-utilities/border/scss/index.scss +1 -1
- package/build/css-utilities/color/scss/index.scss +1 -1
- package/build/css-utilities/flex/scss/index.scss +1 -1
- package/build/css-utilities/font/geist/scss/index.scss +1 -1
- package/build/css-utilities/font/montserrat/scss/index.scss +1 -1
- package/build/css-utilities/glass/index.d.ts +10 -0
- package/build/css-utilities/glass/index.js +26 -0
- package/build/css-utilities/glass/scss/index.scss +1 -1
- package/build/css-utilities/index.d.ts +3 -0
- package/build/css-utilities/index.js +3 -0
- package/build/css-utilities/index.scss +1 -1
- package/build/css-utilities/inline/scss/index.scss +1 -1
- package/build/css-utilities/scrollbar/index.d.ts +42 -0
- package/build/css-utilities/scrollbar/index.js +155 -0
- package/build/css-utilities/scrollbar/scss/index.scss +1 -1
- package/build/css-utilities/skeleton/scss/index.scss +1 -1
- package/build/css-utilities/text/scss/index.scss +1 -1
- package/build/css-utilities/theme/index.d.ts +16 -0
- package/build/css-utilities/theme/index.js +60 -0
- package/build/normalize/scss/index.scss +3 -0
- package/build/shared/anchor.d.ts +7 -0
- package/build/shared/anchor.js +18 -0
- package/build/shared/animation.d.ts +6 -0
- package/build/shared/animation.js +57 -0
- package/build/shared/clamp.d.ts +2 -0
- package/build/shared/clamp.js +4 -0
- package/build/shared/deadline.d.ts +2 -0
- package/build/shared/deadline.js +94 -0
- package/build/shared/dismiss.d.ts +2 -0
- package/build/shared/dismiss.js +5 -0
- package/build/shared/drag.d.ts +47 -0
- package/build/shared/drag.js +189 -0
- package/build/shared/fuzzy.d.ts +6 -0
- package/build/shared/fuzzy.js +153 -0
- package/build/shared/keystep.d.ts +2 -0
- package/build/shared/keystep.js +21 -0
- package/build/shared/platform.d.ts +2 -0
- package/build/shared/platform.js +3 -0
- package/build/shared/press.d.ts +15 -0
- package/build/shared/press.js +83 -0
- package/build/shared/resize.d.ts +18 -0
- package/build/shared/resize.js +137 -0
- package/build/shared/subscribe.d.ts +3 -0
- package/build/shared/subscribe.js +12 -0
- package/build/shared/ticker.d.ts +3 -0
- package/build/shared/ticker.js +34 -0
- package/build/shared/transition.d.ts +11 -0
- package/build/shared/transition.js +49 -0
- package/build/shared/viewport.d.ts +7 -0
- package/build/shared/viewport.js +11 -0
- package/build/shared/visible.d.ts +8 -0
- package/build/shared/visible.js +79 -0
- package/build/themes/dark/input.d.ts +3 -721
- package/build/themes/dark/input.js +4 -2
- package/build/themes/dark/select.js +2 -1
- package/build/themes/dark/textarea.d.ts +15 -3
- package/build/themes/dark/textarea.js +1 -0
- package/package.json +11 -4
- package/pnpm-workspace.yaml +3 -18
- package/scripts/animation.test.mjs +45 -0
- package/scripts/chat-minimap.test.mjs +53 -0
- package/scripts/code-editor-features.test.mjs +287 -0
- package/scripts/code-editor-markdown.test.mjs +527 -0
- package/scripts/code-editor-services.test.mjs +361 -0
- package/scripts/code-editor-workspace.test.mjs +398 -0
- package/scripts/code-editor.test.mjs +1615 -0
- package/scripts/css-variables.test.mjs +1 -1
- package/scripts/deadline.test.mjs +191 -0
- package/scripts/diffs.test.mjs +189 -0
- package/scripts/file-tree-features.test.mjs +137 -0
- package/scripts/file-tree-icons.test.mjs +234 -0
- package/scripts/highlight.test.mjs +52 -0
- package/scripts/resize.test.mjs +247 -0
- package/scripts/resolve.mjs +52 -0
- package/scripts/slides.test.mjs +126 -0
- package/scripts/subscribe.test.mjs +49 -0
- package/scripts/ticker.test.mjs +126 -0
- package/scripts/transition.test.mjs +83 -0
- package/scripts/viewport.test.mjs +82 -0
- package/scripts/visible.test.mjs +186 -0
- package/shared.scss +2 -0
- package/src/components/accordion/index.ts +71 -12
- package/src/components/accordion/scss/index.scss +32 -129
- package/src/components/accordion/scss/variables.scss +7 -0
- package/src/components/announcement/index.ts +26 -0
- package/src/components/announcement/scss/index.scss +47 -0
- package/src/components/announcement/scss/variables.scss +23 -0
- package/src/components/banner/scss/index.scss +4 -8
- package/src/components/banner/scss/variables.scss +6 -0
- package/src/components/breadcrumb/index.ts +222 -25
- package/src/components/breadcrumb/scss/index.scss +217 -34
- package/src/components/breadcrumb/scss/variables.scss +73 -8
- package/src/components/button/copy.ts +1 -1
- package/src/components/button/faces.ts +1 -2
- package/src/components/button/fan.ts +111 -114
- package/src/components/button/hold.ts +9 -9
- package/src/components/button/icons.ts +15 -32
- package/src/components/button/index.ts +13 -1
- package/src/components/button/kbd.ts +6 -6
- package/src/components/button/loading.ts +1 -1
- package/src/components/button/morph.ts +153 -0
- package/src/components/button/scss/_kbd.scss +2 -1
- package/src/components/button/scss/_morph.scss +119 -0
- package/src/components/button/scss/_sidebar.scss +50 -0
- package/src/components/button/scss/_split.scss +53 -0
- package/src/components/button/scss/index.scss +45 -31
- package/src/components/button/scss/variables.scss +85 -34
- package/src/components/button/sidebar.ts +60 -0
- package/src/components/button/split.ts +60 -0
- package/src/components/capslock/index.ts +54 -0
- package/src/components/capslock/scss/index.scss +55 -0
- package/src/components/capslock/scss/variables.scss +26 -0
- package/src/components/card/expand.ts +141 -0
- package/src/components/card/index.ts +8 -0
- package/src/components/card/scss/_expand.scss +240 -0
- package/src/components/card/scss/index.scss +52 -9
- package/src/components/card/scss/variables.scss +85 -19
- package/src/components/cc/index.ts +558 -0
- package/src/components/cc/scss/index.scss +429 -0
- package/src/components/cc/scss/variables.scss +68 -0
- package/src/components/chat-minimap/index.ts +265 -0
- package/src/components/chat-minimap/range.ts +59 -0
- package/src/components/chat-minimap/scss/index.scss +140 -0
- package/src/components/chat-minimap/scss/variables.scss +97 -0
- package/src/components/chat-minimap/spy.ts +151 -0
- package/src/components/checkbox/group.ts +216 -0
- package/src/components/checkbox/index.ts +3 -41
- package/src/components/checkbox/options.ts +55 -0
- package/src/components/checkbox/scss/index.scss +69 -17
- package/src/components/checkbox/scss/variables.scss +28 -7
- package/src/components/clipboard/copy.ts +5 -5
- package/src/components/color-picker/index.ts +160 -233
- package/src/components/color-picker/scss/index.scss +51 -93
- package/src/components/color-picker/scss/variables.scss +68 -10
- package/src/components/command/index.ts +788 -206
- package/src/components/command/scss/index.scss +168 -158
- package/src/components/command/scss/variables.scss +118 -25
- package/src/components/copy/index.ts +69 -0
- package/src/components/copy/scss/index.scss +52 -0
- package/src/components/copy/scss/variables.scss +22 -0
- package/src/components/counter/index.ts +69 -94
- package/src/components/counter/scss/index.scss +20 -48
- package/src/components/counter/scss/variables.scss +24 -35
- package/src/components/datalist/index.ts +49 -29
- package/src/components/datalist/scss/index.scss +43 -24
- package/src/components/datalist/scss/variables.scss +7 -4
- package/src/components/dock/index.ts +61 -231
- package/src/components/dock/scss/index.scss +73 -39
- package/src/components/dock/scss/variables.scss +77 -16
- package/src/components/editor/code/changes.ts +111 -0
- package/src/components/editor/code/clipboard.ts +81 -0
- package/src/components/editor/code/colors.ts +278 -0
- package/src/components/editor/code/commands.ts +879 -0
- package/src/components/editor/code/composition.ts +85 -0
- package/src/components/editor/code/conflicts.ts +160 -0
- package/src/components/editor/code/document.ts +789 -0
- package/src/components/editor/code/editor.ts +68 -0
- package/src/components/editor/code/features.ts +1144 -0
- package/src/components/editor/code/field.ts +96 -0
- package/src/components/editor/code/find.ts +340 -0
- package/src/components/editor/code/folding.ts +689 -0
- package/src/components/editor/code/goto.ts +89 -0
- package/src/components/editor/code/gutter.ts +47 -0
- package/src/components/editor/code/index.ts +29 -0
- package/src/components/editor/code/keymap.ts +518 -0
- package/src/components/editor/code/layout.ts +565 -0
- package/src/components/editor/code/links.ts +55 -0
- package/src/components/editor/code/minimap.ts +260 -0
- package/src/components/editor/code/navigation.ts +95 -0
- package/src/components/editor/code/pointer.ts +199 -0
- package/src/components/editor/code/projection.ts +342 -0
- package/src/components/editor/code/rows.ts +412 -0
- package/src/components/editor/code/scss/_editor.scss +432 -0
- package/src/components/editor/code/scss/_features.scss +311 -0
- package/src/components/editor/code/scss/_services.scss +154 -0
- package/src/components/editor/code/scss/index.scss +6 -0
- package/src/components/editor/code/scss/variables.scss +194 -0
- package/src/components/editor/code/search.ts +391 -0
- package/src/components/editor/code/selection.ts +83 -0
- package/src/components/editor/code/services/completion.ts +114 -0
- package/src/components/editor/code/services/diagnostics.ts +168 -0
- package/src/components/editor/code/services/hover.ts +74 -0
- package/src/components/editor/code/services/index.ts +118 -0
- package/src/components/editor/code/services/model.ts +270 -0
- package/src/components/editor/code/services/protocol.ts +55 -0
- package/src/components/editor/code/services/session.ts +721 -0
- package/src/components/editor/code/services/transport.ts +36 -0
- package/src/components/editor/code/syntax.ts +1673 -0
- package/src/components/editor/code/unicode.ts +156 -0
- package/src/components/editor/code/view.ts +2139 -0
- package/src/components/editor/diffs/diff3.ts +280 -0
- package/src/components/editor/diffs/engine.ts +192 -0
- package/src/components/editor/diffs/hunks.ts +196 -0
- package/src/components/editor/diffs/index.ts +20 -0
- package/src/components/editor/diffs/merge.ts +377 -0
- package/src/components/editor/diffs/render.ts +95 -0
- package/src/components/editor/diffs/scss/_diffs.scss +352 -0
- package/src/components/editor/diffs/scss/_merge.scss +121 -0
- package/src/components/editor/diffs/scss/index.scss +5 -0
- package/src/components/editor/diffs/scss/variables.scss +70 -0
- package/src/components/editor/diffs/view.ts +464 -0
- package/src/components/editor/diffs/words.ts +85 -0
- package/src/components/editor/index.ts +59 -0
- package/src/components/editor/markdown/editing.ts +92 -0
- package/src/components/editor/markdown/html.ts +192 -0
- package/src/components/editor/markdown/index.ts +72 -0
- package/src/components/editor/markdown/inline.ts +399 -0
- package/src/components/editor/markdown/layout.ts +446 -0
- package/src/components/editor/markdown/model.ts +737 -0
- package/src/components/editor/markdown/render.ts +461 -0
- package/src/components/editor/markdown/scss/index.scss +456 -0
- package/src/components/editor/markdown/scss/variables.scss +109 -0
- package/src/components/editor/markdown/structure.ts +136 -0
- package/src/components/editor/markdown/view.ts +2417 -0
- package/src/components/editor/tree/clipboard.ts +80 -0
- package/src/components/editor/tree/compact.ts +93 -0
- package/src/components/editor/tree/decorations.ts +210 -0
- package/src/components/editor/tree/drag.ts +652 -0
- package/src/components/editor/tree/edit.ts +234 -0
- package/src/components/editor/tree/filter.ts +81 -0
- package/src/components/editor/tree/find.ts +500 -0
- package/src/components/editor/tree/glob.ts +76 -0
- package/src/components/editor/tree/glyph.ts +49 -0
- package/src/components/editor/tree/history.ts +282 -0
- package/src/components/editor/tree/icons.ts +507 -0
- package/src/components/editor/tree/index.ts +3438 -0
- package/src/components/editor/tree/jump.ts +78 -0
- package/src/components/editor/tree/lazy.ts +111 -0
- package/src/components/editor/tree/model.ts +235 -0
- package/src/components/editor/tree/scss/index.scss +732 -0
- package/src/components/editor/tree/scss/variables.scss +260 -0
- package/src/components/editor/tree/selection.ts +85 -0
- package/src/components/editor/tree/shortcuts.ts +64 -0
- package/src/components/editor/tree/sort.ts +104 -0
- package/src/components/editor/tree/spoken.ts +67 -0
- package/src/components/editor/tree/sprites.ts +159 -0
- package/src/components/editor/tree/sticky.ts +154 -0
- package/src/components/editor/tree/transfer.ts +134 -0
- package/src/components/editor/workspace/index.ts +1357 -0
- package/src/components/editor/workspace/model.ts +1023 -0
- package/src/components/editor/workspace/scss/index.scss +547 -0
- package/src/components/error/index.ts +189 -0
- package/src/components/error/scss/index.scss +89 -0
- package/src/components/error/scss/variables.scss +13 -0
- package/src/components/filter/index.ts +420 -0
- package/src/components/filter/scss/index.scss +6 -0
- package/src/components/filter/scss/variables.scss +17 -0
- package/src/components/form/action.ts +4 -4
- package/src/components/form/input.ts +13 -7
- package/src/components/frame/scss/index.scss +107 -0
- package/src/components/frame/scss/variables.scss +27 -0
- package/src/components/heatmap/index.ts +281 -0
- package/src/components/heatmap/scss/index.scss +131 -0
- package/src/components/heatmap/scss/variables.scss +58 -0
- package/src/components/highlight/easing.ts +33 -0
- package/src/components/highlight/index.ts +580 -77
- package/src/components/highlight/scss/index.scss +49 -9
- package/src/components/highlight/scss/variables.scss +62 -3
- package/src/components/icon/scss/index.scss +0 -1
- package/src/components/image/index.ts +3 -76
- package/src/components/image/lazyload.ts +95 -0
- package/src/components/image/scss/index.scss +71 -57
- package/src/components/image/scss/variables.scss +39 -14
- package/src/components/index.ts +27 -77
- package/src/components/inline-edit/format.ts +183 -0
- package/src/components/inline-edit/history.ts +71 -0
- package/src/components/inline-edit/index.ts +44 -38
- package/src/components/inline-edit/markdown.ts +485 -0
- package/src/components/inline-edit/model.ts +366 -0
- package/src/components/inline-edit/rich.ts +1518 -0
- package/src/components/inline-edit/scss/index.scss +431 -41
- package/src/components/inline-edit/scss/variables.scss +105 -0
- package/src/components/inline-edit/selection.ts +188 -0
- package/src/components/inline-edit/status.ts +194 -0
- package/src/components/inline-edit/utilities.ts +18 -0
- package/src/components/input/field.ts +32 -0
- package/src/components/input/index.ts +5 -38
- package/src/components/input/scrub.ts +338 -0
- package/src/components/input/scss/_field.scss +53 -0
- package/src/components/input/scss/_scrub.scss +91 -0
- package/src/components/input/scss/_tag.scss +162 -0
- package/src/components/input/scss/index.scss +5 -18
- package/src/components/input/scss/variables.scss +108 -38
- package/src/components/input/tag.ts +403 -0
- package/src/components/json/download.ts +9 -6
- package/src/components/link/scss/index.scss +9 -4
- package/src/components/link/scss/variables.scss +1 -31
- package/src/components/loading/index.ts +1 -1
- package/src/components/loading/scss/index.scss +3 -6
- package/src/components/marquee/index.ts +246 -169
- package/src/components/marquee/scss/index.scss +21 -28
- package/src/components/marquee/scss/variables.scss +16 -0
- package/src/components/marquee/velocity.ts +144 -0
- package/src/components/metric/flash.ts +128 -0
- package/src/components/metric/index.ts +315 -0
- package/src/components/metric/scss/_flash.scss +163 -0
- package/src/components/metric/scss/index.scss +163 -0
- package/src/components/metric/scss/variables.scss +133 -0
- package/src/components/nav/index.ts +13 -0
- package/src/components/nav/scss/index.scss +123 -0
- package/src/components/nav/scss/variables.scss +60 -0
- package/src/components/nav/spy.ts +203 -0
- package/src/components/nav/toc.ts +48 -0
- package/src/components/nav/tree.ts +181 -0
- package/src/components/notification/index.ts +111 -0
- package/src/components/notification/scss/index.scss +123 -0
- package/src/components/notification/scss/variables.scss +54 -0
- package/src/components/overlay/index.ts +487 -5
- package/src/components/overlay/popup.ts +214 -0
- package/src/components/overlay/scss/index.scss +379 -7
- package/src/components/overlay/scss/variables.scss +117 -0
- package/src/components/pagination/dots.ts +132 -0
- package/src/components/pagination/index.ts +34 -45
- package/src/components/pagination/scss/_dots.scss +67 -0
- package/src/components/pagination/scss/index.scss +15 -8
- package/src/components/pagination/scss/variables.scss +59 -0
- package/src/components/progress/index.ts +18 -8
- package/src/components/progress/scss/_text.scss +132 -0
- package/src/components/progress/scss/index.scss +1 -0
- package/src/components/progress/scss/variables.scss +42 -0
- package/src/components/progress/text.ts +158 -0
- package/src/components/pull-to-refresh/index.ts +126 -248
- package/src/components/pull-to-refresh/scss/index.scss +65 -29
- package/src/components/pull-to-refresh/scss/variables.scss +24 -1
- package/src/components/radio/index.ts +3 -3
- package/src/components/range/filter.ts +398 -0
- package/src/components/range/index.ts +27 -16
- package/src/components/range/scss/_filter.scss +374 -0
- package/src/components/range/scss/_slider.scss +140 -0
- package/src/components/range/scss/_vertical.scss +22 -0
- package/src/components/range/scss/index.scss +26 -14
- package/src/components/range/scss/variables.scss +78 -13
- package/src/components/relative-time/index.ts +218 -233
- package/src/components/relative-time/scss/index.scss +42 -18
- package/src/components/relative-time/scss/variables.scss +25 -0
- package/src/components/root/scss/index.scss +7 -3
- package/src/components/root/scss/variables.scss +21 -12
- package/src/components/select/index.ts +506 -153
- package/src/components/select/placement.ts +75 -0
- package/src/components/select/scss/index.scss +182 -45
- package/src/components/select/scss/variables.scss +58 -44
- package/src/components/shortcut-recorder/index.ts +145 -106
- package/src/components/shortcut-recorder/scss/index.scss +34 -121
- package/src/components/shortcut-recorder/scss/variables.scss +27 -39
- package/src/components/sortable/index.ts +380 -272
- package/src/components/sortable/scss/index.scss +107 -38
- package/src/components/sortable/scss/variables.scss +12 -1
- package/src/components/sticky-header/index.ts +43 -92
- package/src/components/sticky-header/scss/index.scss +76 -86
- package/src/components/sticky-header/scss/variables.scss +36 -12
- package/src/components/story/index.ts +305 -0
- package/src/components/story/scss/index.scss +189 -0
- package/src/components/story/scss/variables.scss +28 -0
- package/src/components/surface-field/engine.ts +1631 -0
- package/src/components/surface-field/index.ts +574 -608
- package/src/components/surface-field/scss/index.scss +74 -17
- package/src/components/surface-field/scss/variables.scss +23 -0
- package/src/components/surface-field/surface.ts +260 -0
- package/src/components/surface-field/worker/index.ts +41 -0
- package/src/components/switch/index.ts +3 -3
- package/src/components/tasklist/index.ts +197 -119
- package/src/components/tasklist/scss/index.scss +45 -128
- package/src/components/tasklist/scss/variables.scss +97 -70
- package/src/components/text/scss/index.scss +2 -15
- package/src/components/textarea/index.ts +142 -39
- package/src/components/textarea/scss/index.scss +41 -18
- package/src/components/textarea/scss/variables.scss +5 -46
- package/src/components/toast/index.ts +270 -157
- package/src/components/toast/scss/index.scss +244 -225
- package/src/components/toast/scss/variables.scss +68 -9
- package/src/components/tooltip/index.ts +9 -4
- package/src/components/tooltip/menu.ts +599 -37
- package/src/components/tooltip/onclick.ts +28 -22
- package/src/components/tooltip/onhover.ts +155 -73
- package/src/components/tooltip/scss/_menu.scss +352 -0
- package/src/components/tooltip/scss/_shared.scss +109 -0
- package/src/components/tooltip/scss/_south.scss +0 -1
- package/src/components/tooltip/scss/index.scss +16 -97
- package/src/components/tooltip/scss/variables.scss +103 -59
- package/src/components/tooltip/shared.ts +819 -0
- package/src/components/tooltip/utilities.ts +78 -23
- package/src/components/typewriter/index.ts +8 -1
- package/src/components/typewriter/retype.ts +99 -0
- package/src/components/typewriter/rotate.ts +279 -0
- package/src/components/typewriter/scss/_caret.scss +34 -0
- package/src/components/typewriter/scss/_retype.scss +67 -0
- package/src/components/typewriter/scss/_rotate.scss +28 -0
- package/src/components/typewriter/scss/index.scss +3 -33
- package/src/components/typewriter/scss/variables.scss +60 -10
- package/src/components/uptime/index.ts +50 -49
- package/src/components/uptime/scss/index.scss +67 -47
- package/src/components/uptime/scss/variables.scss +32 -4
- package/src/components/usage-meter/index.ts +17 -17
- package/src/components/usage-meter/scss/index.scss +19 -31
- package/src/components/usage-meter/scss/variables.scss +15 -7
- package/src/css-utilities/background/scss/index.scss +1 -1
- package/src/css-utilities/background/scss/variables.scss +2 -17
- package/src/css-utilities/border/scss/index.scss +1 -1
- package/src/css-utilities/border/scss/variables.scss +7 -23
- package/src/css-utilities/color/scss/index.scss +1 -1
- package/src/css-utilities/color/scss/variables.scss +2 -17
- package/src/css-utilities/flex/scss/variables.scss +0 -1
- package/src/css-utilities/font/geist/scss/index.scss +2 -2
- package/src/css-utilities/font/montserrat/scss/index.scss +2 -2
- package/src/css-utilities/glass/index.ts +42 -0
- package/src/css-utilities/glass/scss/index.scss +65 -1
- package/src/css-utilities/glass/scss/variables.scss +6 -1
- package/src/css-utilities/index.scss +0 -5
- package/src/css-utilities/index.ts +3 -0
- package/src/css-utilities/scrollbar/index.ts +200 -0
- package/src/css-utilities/scrollbar/scss/index.scss +300 -36
- package/src/css-utilities/scrollbar/scss/variables.scss +38 -3
- package/src/css-utilities/text/scss/index.scss +97 -6
- package/src/css-utilities/text/scss/variables.scss +22 -0
- package/src/css-utilities/theme/index.ts +71 -0
- package/src/normalize/scss/index.scss +42 -0
- package/src/shared/anchor.ts +34 -0
- package/src/shared/animation.ts +106 -0
- package/src/shared/clamp.ts +6 -0
- package/src/shared/deadline.ts +153 -0
- package/src/shared/dismiss.ts +6 -0
- package/src/shared/drag.ts +348 -0
- package/src/shared/fuzzy.ts +263 -0
- package/src/shared/keystep.ts +28 -0
- package/src/shared/platform.ts +10 -0
- package/src/shared/press.ts +144 -0
- package/src/shared/resize.ts +232 -0
- package/src/shared/scss/absolute.scss +28 -0
- package/src/shared/scss/anchor.scss +63 -0
- package/src/shared/scss/background.scss +21 -0
- package/src/shared/scss/border.scss +21 -0
- package/src/shared/scss/color.scss +21 -0
- package/src/shared/scss/drag.scss +7 -0
- package/src/shared/scss/hidden.scss +22 -0
- package/src/shared/scss/icon.scss +36 -0
- package/src/shared/scss/index.scss +16 -0
- package/src/shared/scss/layer.scss +20 -0
- package/src/shared/scss/list.scss +64 -0
- package/src/shared/scss/reset.scss +21 -0
- package/src/shared/scss/string.scss +18 -0
- package/src/shared/scss/text.scss +31 -0
- package/src/shared/subscribe.ts +20 -0
- package/src/shared/ticker.ts +56 -0
- package/src/shared/transition.ts +61 -0
- package/src/shared/viewport.ts +23 -0
- package/src/shared/visible.ts +127 -0
- package/src/themes/dark/input.ts +6 -2
- package/src/themes/dark/select.ts +3 -2
- package/src/themes/dark/textarea.ts +1 -0
- package/src/tokens/scss/box-shadow.scss +12 -16
- package/src/tokens/scss/color.scss +3 -2
- package/src/tokens/scss/font-family.scss +5 -0
- package/src/tokens/scss/index.scss +10 -0
- package/src/tokens/scss/state.scss +10 -8
- package/storage/code.md +180 -0
- package/storage/editor-features.md +227 -0
- package/storage/svg/amex.svg +1 -0
- package/storage/svg/arrow-down.svg +1 -0
- package/storage/svg/arrow-up.svg +1 -0
- package/storage/svg/bold.svg +1 -0
- package/storage/svg/caps-lock.svg +1 -0
- package/storage/svg/card.svg +1 -0
- package/storage/svg/chevron-down.svg +1 -0
- package/storage/svg/chevron-left.svg +1 -0
- package/storage/svg/chevron-right.svg +1 -0
- package/storage/svg/chevron-up.svg +1 -0
- package/storage/svg/chevrons-up-down.svg +1 -0
- package/storage/svg/chip.svg +1 -0
- package/storage/svg/circle.svg +1 -0
- package/storage/svg/clear-format.svg +1 -0
- package/storage/svg/close.svg +1 -0
- package/storage/svg/code.svg +1 -0
- package/storage/svg/command.svg +1 -0
- package/storage/svg/contrast.svg +1 -0
- package/storage/svg/copy.svg +1 -0
- package/storage/svg/corner-down-right.svg +1 -0
- package/storage/svg/credit-card.svg +1 -0
- package/storage/svg/dash.svg +1 -0
- package/storage/svg/discover.svg +1 -0
- package/storage/svg/document.svg +1 -0
- package/storage/svg/dots.svg +1 -0
- package/storage/svg/download.svg +1 -0
- package/storage/svg/enter.svg +1 -0
- package/storage/svg/expand.svg +1 -0
- package/storage/svg/external-link.svg +1 -0
- package/storage/svg/eye-off.svg +1 -0
- package/storage/svg/eye.svg +1 -0
- package/storage/svg/file-agents.svg +1 -0
- package/storage/svg/file-astro.svg +1 -0
- package/storage/svg/file-babel.svg +1 -0
- package/storage/svg/file-bash.svg +1 -0
- package/storage/svg/file-biome.svg +1 -0
- package/storage/svg/file-bootstrap.svg +1 -0
- package/storage/svg/file-browserslist.svg +1 -0
- package/storage/svg/file-bun.svg +1 -0
- package/storage/svg/file-c.svg +1 -0
- package/storage/svg/file-claude.svg +1 -0
- package/storage/svg/file-css.svg +1 -0
- package/storage/svg/file-database.svg +1 -0
- package/storage/svg/file-docker.svg +1 -0
- package/storage/svg/file-eslint.svg +1 -0
- package/storage/svg/file-font.svg +1 -0
- package/storage/svg/file-git.svg +1 -0
- package/storage/svg/file-go.svg +1 -0
- package/storage/svg/file-graphql.svg +1 -0
- package/storage/svg/file-html.svg +1 -0
- package/storage/svg/file-image.svg +1 -0
- package/storage/svg/file-javascript.svg +1 -0
- package/storage/svg/file-json.svg +1 -0
- package/storage/svg/file-markdown.svg +1 -0
- package/storage/svg/file-mcp.svg +1 -0
- package/storage/svg/file-nextjs.svg +1 -0
- package/storage/svg/file-npm.svg +1 -0
- package/storage/svg/file-oxc.svg +1 -0
- package/storage/svg/file-package.svg +1 -0
- package/storage/svg/file-pnpm.svg +1 -0
- package/storage/svg/file-postcss.svg +1 -0
- package/storage/svg/file-prettier.svg +1 -0
- package/storage/svg/file-python.svg +1 -0
- package/storage/svg/file-react.svg +1 -0
- package/storage/svg/file-readme.svg +1 -0
- package/storage/svg/file-ruby.svg +1 -0
- package/storage/svg/file-rust.svg +1 -0
- package/storage/svg/file-sass.svg +1 -0
- package/storage/svg/file-stylelint.svg +1 -0
- package/storage/svg/file-svelte.svg +1 -0
- package/storage/svg/file-svg.svg +1 -0
- package/storage/svg/file-svgo.svg +1 -0
- package/storage/svg/file-swift.svg +1 -0
- package/storage/svg/file-table.svg +1 -0
- package/storage/svg/file-tailwind.svg +1 -0
- package/storage/svg/file-terraform.svg +1 -0
- package/storage/svg/file-text.svg +1 -0
- package/storage/svg/file-tsconfig.svg +1 -0
- package/storage/svg/file-typescript.svg +1 -0
- package/storage/svg/file-vite.svg +1 -0
- package/storage/svg/file-vscode.svg +1 -0
- package/storage/svg/file-vue.svg +1 -0
- package/storage/svg/file-wasm.svg +1 -0
- package/storage/svg/file-webpack.svg +1 -0
- package/storage/svg/file-yml.svg +1 -0
- package/storage/svg/file-zig.svg +1 -0
- package/storage/svg/file-zip.svg +1 -0
- package/storage/svg/file.svg +1 -0
- package/storage/svg/folder-assets-open.svg +1 -0
- package/storage/svg/folder-assets.svg +1 -0
- package/storage/svg/folder-components-open.svg +1 -0
- package/storage/svg/folder-components.svg +1 -0
- package/storage/svg/folder-docs-open.svg +1 -0
- package/storage/svg/folder-docs.svg +1 -0
- package/storage/svg/folder-git-open.svg +1 -0
- package/storage/svg/folder-git.svg +1 -0
- package/storage/svg/folder-open.svg +1 -0
- package/storage/svg/folder-output-open.svg +1 -0
- package/storage/svg/folder-output.svg +1 -0
- package/storage/svg/folder-packages-open.svg +1 -0
- package/storage/svg/folder-packages.svg +1 -0
- package/storage/svg/folder-public-open.svg +1 -0
- package/storage/svg/folder-public.svg +1 -0
- package/storage/svg/folder-scripts-open.svg +1 -0
- package/storage/svg/folder-scripts.svg +1 -0
- package/storage/svg/folder-src-open.svg +1 -0
- package/storage/svg/folder-src.svg +1 -0
- package/storage/svg/folder-test-open.svg +1 -0
- package/storage/svg/folder-test.svg +1 -0
- package/storage/svg/folder.svg +1 -0
- package/storage/svg/gear.svg +1 -0
- package/storage/svg/help.svg +1 -0
- package/storage/svg/highlight.svg +1 -0
- package/storage/svg/home.svg +1 -0
- package/storage/svg/inbox.svg +1 -0
- package/storage/svg/italic.svg +1 -0
- package/storage/svg/keyboard.svg +1 -0
- package/storage/svg/link.svg +1 -0
- package/storage/svg/list-checks.svg +1 -0
- package/storage/svg/lock.svg +1 -0
- package/storage/svg/log-out.svg +1 -0
- package/storage/svg/map.svg +1 -0
- package/storage/svg/mastercard.svg +1 -0
- package/storage/svg/pause.svg +1 -0
- package/storage/svg/pencil.svg +1 -0
- package/storage/svg/play.svg +1 -0
- package/storage/svg/plus.svg +1 -0
- package/storage/svg/redo.svg +1 -0
- package/storage/svg/save.svg +1 -0
- package/storage/svg/sidebar-filled.svg +1 -0
- package/storage/svg/sidebar.svg +1 -0
- package/storage/svg/slash.svg +1 -0
- package/storage/svg/sliders.svg +1 -0
- package/storage/svg/strikethrough.svg +1 -0
- package/storage/svg/trash.svg +1 -0
- package/storage/svg/triangle.svg +1 -0
- package/storage/svg/undo.svg +1 -0
- package/storage/svg/unlink.svg +1 -0
- package/storage/svg/user.svg +1 -0
- package/storage/svg/visa.svg +1 -0
- package/storage/svg/zoom-in.svg +1 -0
- package/storage/svg/zoom-out.svg +1 -0
- package/tokens.scss +1 -1
- package/vite.config.ts +47 -46
- package/build/components/accordion/more.d.ts +0 -20
- package/build/components/accordion/more.js +0 -76
- package/build/components/anchor/scss/index.scss +0 -2
- package/build/components/announcement-banner/index.d.ts +0 -33
- package/build/components/announcement-banner/index.js +0 -61
- package/build/components/announcement-banner/scss/index.scss +0 -2
- package/build/components/autosave/index.d.ts +0 -12
- package/build/components/autosave/index.js +0 -140
- package/build/components/autosave/scss/index.scss +0 -2
- package/build/components/back-to-top/index.d.ts +0 -16
- package/build/components/back-to-top/index.js +0 -182
- package/build/components/back-to-top/scss/index.scss +0 -2
- package/build/components/bento-grid/index.d.ts +0 -25
- package/build/components/bento-grid/index.js +0 -38
- package/build/components/bento-grid/scss/index.scss +0 -2
- package/build/components/bento-grid-spotlight/index.d.ts +0 -35
- package/build/components/bento-grid-spotlight/index.js +0 -108
- package/build/components/bento-grid-spotlight/scss/index.scss +0 -2
- package/build/components/bookmark-button/index.d.ts +0 -23
- package/build/components/bookmark-button/index.js +0 -120
- package/build/components/bookmark-button/scss/index.scss +0 -2
- package/build/components/breadcrumb/ellipsis.d.ts +0 -12
- package/build/components/breadcrumb/ellipsis.js +0 -11
- package/build/components/breadcrumb/item.d.ts +0 -12
- package/build/components/breadcrumb/item.js +0 -9
- package/build/components/breadcrumb/link.d.ts +0 -15
- package/build/components/breadcrumb/link.js +0 -14
- package/build/components/breadcrumb/list.d.ts +0 -12
- package/build/components/breadcrumb/list.js +0 -9
- package/build/components/breadcrumb/menu.d.ts +0 -13
- package/build/components/breadcrumb/menu.js +0 -16
- package/build/components/breadcrumb/page.d.ts +0 -12
- package/build/components/breadcrumb/page.js +0 -9
- package/build/components/breadcrumb/separator.d.ts +0 -12
- package/build/components/breadcrumb/separator.js +0 -11
- package/build/components/breadcrumb/svg/caret.svg +0 -1
- package/build/components/breadcrumb/svg/chevron.svg +0 -1
- package/build/components/breadcrumb/svg/more.svg +0 -1
- package/build/components/breadcrumbs/index.d.ts +0 -27
- package/build/components/breadcrumbs/index.js +0 -324
- package/build/components/breadcrumbs/scss/index.scss +0 -2
- package/build/components/button/svg/plus.svg +0 -1
- package/build/components/card-input/index.d.ts +0 -31
- package/build/components/card-input/index.js +0 -562
- package/build/components/card-input/scss/index.scss +0 -2
- package/build/components/carousel-3d/index.d.ts +0 -27
- package/build/components/carousel-3d/index.js +0 -248
- package/build/components/carousel-3d/scss/index.scss +0 -2
- package/build/components/checkbox-group/index.d.ts +0 -30
- package/build/components/checkbox-group/index.js +0 -101
- package/build/components/checkbox-group/scss/index.scss +0 -2
- package/build/components/code-morph/index.d.ts +0 -25
- package/build/components/code-morph/index.js +0 -401
- package/build/components/code-morph/scss/index.scss +0 -2
- package/build/components/collapsible-sidebar/index.d.ts +0 -41
- package/build/components/collapsible-sidebar/index.js +0 -105
- package/build/components/collapsible-sidebar/scss/index.scss +0 -2
- package/build/components/command/constants.d.ts +0 -3
- package/build/components/command/constants.js +0 -3
- package/build/components/command-palette/index.d.ts +0 -51
- package/build/components/command-palette/index.js +0 -319
- package/build/components/command-palette/scss/index.scss +0 -2
- package/build/components/composer/index.d.ts +0 -29
- package/build/components/composer/index.js +0 -79
- package/build/components/composer/scss/index.scss +0 -2
- package/build/components/composer/svg/arrow-up.svg +0 -1
- package/build/components/contribution-heatmap/index.d.ts +0 -30
- package/build/components/contribution-heatmap/index.js +0 -236
- package/build/components/contribution-heatmap/scss/index.scss +0 -2
- package/build/components/date-range-picker/index.d.ts +0 -28
- package/build/components/date-range-picker/index.js +0 -443
- package/build/components/date-range-picker/scss/index.scss +0 -2
- package/build/components/dynamic-island/index.d.ts +0 -23
- package/build/components/dynamic-island/index.js +0 -179
- package/build/components/dynamic-island/scss/index.scss +0 -2
- package/build/components/email-typo-fix/index.d.ts +0 -28
- package/build/components/email-typo-fix/index.js +0 -416
- package/build/components/email-typo-fix/scss/index.scss +0 -2
- package/build/components/expanding-card/index.d.ts +0 -26
- package/build/components/expanding-card/index.js +0 -265
- package/build/components/expanding-card/scss/index.scss +0 -2
- package/build/components/feature-spotlight/index.d.ts +0 -37
- package/build/components/feature-spotlight/index.js +0 -248
- package/build/components/feature-spotlight/scss/index.scss +0 -2
- package/build/components/file-tree/index.d.ts +0 -31
- package/build/components/file-tree/index.js +0 -208
- package/build/components/file-tree/scss/index.scss +0 -2
- package/build/components/filter-grid/index.d.ts +0 -23
- package/build/components/filter-grid/index.js +0 -240
- package/build/components/filter-grid/scss/index.scss +0 -2
- package/build/components/gradient-text/index.d.ts +0 -19
- package/build/components/gradient-text/index.js +0 -14
- package/build/components/gradient-text/scss/index.scss +0 -2
- package/build/components/header/index.d.ts +0 -41
- package/build/components/header/index.js +0 -281
- package/build/components/header/scss/index.scss +0 -2
- package/build/components/hover-card/index.d.ts +0 -47
- package/build/components/hover-card/index.js +0 -197
- package/build/components/hover-card/scss/index.scss +0 -2
- package/build/components/kanban-board/index.d.ts +0 -23
- package/build/components/kanban-board/index.js +0 -235
- package/build/components/kanban-board/scss/index.scss +0 -2
- package/build/components/lightbox/index.d.ts +0 -32
- package/build/components/lightbox/index.js +0 -396
- package/build/components/lightbox/scss/index.scss +0 -2
- package/build/components/lightbox/spring.d.ts +0 -16
- package/build/components/lightbox/spring.js +0 -71
- package/build/components/line-shadow-text/index.d.ts +0 -17
- package/build/components/line-shadow-text/index.js +0 -15
- package/build/components/line-shadow-text/scss/index.scss +0 -2
- package/build/components/log/index.d.ts +0 -20
- package/build/components/log/index.js +0 -125
- package/build/components/log/scss/index.scss +0 -2
- package/build/components/long-press/bind.d.ts +0 -21
- package/build/components/long-press/bind.js +0 -136
- package/build/components/long-press/button.d.ts +0 -21
- package/build/components/long-press/button.js +0 -25
- package/build/components/long-press/index.d.ts +0 -2181
- package/build/components/long-press/index.js +0 -4
- package/build/components/long-press/scss/index.scss +0 -2
- package/build/components/modal/index.d.ts +0 -24
- package/build/components/modal/index.js +0 -75
- package/build/components/modal/scss/index.scss +0 -2
- package/build/components/morphing-button/index.d.ts +0 -24
- package/build/components/morphing-button/index.js +0 -127
- package/build/components/morphing-button/scss/index.scss +0 -2
- package/build/components/morphing-nav/index.d.ts +0 -38
- package/build/components/morphing-nav/index.js +0 -342
- package/build/components/morphing-nav/scss/index.scss +0 -2
- package/build/components/multi-step-form/index.d.ts +0 -32
- package/build/components/multi-step-form/index.js +0 -305
- package/build/components/multi-step-form/scss/index.scss +0 -2
- package/build/components/nested-menu/index.d.ts +0 -27
- package/build/components/nested-menu/index.js +0 -374
- package/build/components/nested-menu/scss/index.scss +0 -2
- package/build/components/normalize/scss/index.scss +0 -3
- package/build/components/notification-bell/index.d.ts +0 -13
- package/build/components/notification-bell/index.js +0 -87
- package/build/components/notification-bell/scss/index.scss +0 -2
- package/build/components/onboarding-checklist/index.d.ts +0 -29
- package/build/components/onboarding-checklist/index.js +0 -196
- package/build/components/onboarding-checklist/scss/index.scss +0 -2
- package/build/components/page-dots/index.d.ts +0 -24
- package/build/components/page-dots/index.js +0 -116
- package/build/components/page-dots/scss/index.scss +0 -2
- package/build/components/pagination/svg/arrow-left.svg +0 -1
- package/build/components/pagination/svg/arrow-right.svg +0 -1
- package/build/components/password/constants.d.ts +0 -2
- package/build/components/password/constants.js +0 -2
- package/build/components/password/index.d.ts +0 -22
- package/build/components/password/index.js +0 -74
- package/build/components/password/scss/index.scss +0 -2
- package/build/components/radio-cards/index.d.ts +0 -36
- package/build/components/radio-cards/index.js +0 -106
- package/build/components/radio-cards/scss/index.scss +0 -2
- package/build/components/range-filter/index.d.ts +0 -20
- package/build/components/range-filter/index.js +0 -216
- package/build/components/range-filter/scss/index.scss +0 -2
- package/build/components/range-slider/index.d.ts +0 -30
- package/build/components/range-slider/index.js +0 -287
- package/build/components/range-slider/scss/index.scss +0 -2
- package/build/components/reading-progress/index.d.ts +0 -13
- package/build/components/reading-progress/index.js +0 -106
- package/build/components/reading-progress/scss/index.scss +0 -2
- package/build/components/scroll-fade/index.d.ts +0 -39
- package/build/components/scroll-fade/index.js +0 -104
- package/build/components/scroll-fade/scss/index.scss +0 -2
- package/build/components/scroll-spine/index.d.ts +0 -26
- package/build/components/scroll-spine/index.js +0 -204
- package/build/components/scroll-spine/scss/index.scss +0 -2
- package/build/components/scroll-velocity/index.d.ts +0 -22
- package/build/components/scroll-velocity/index.js +0 -160
- package/build/components/scroll-velocity/scss/index.scss +0 -2
- package/build/components/scrub-input/index.d.ts +0 -39
- package/build/components/scrub-input/index.js +0 -221
- package/build/components/scrub-input/scss/index.scss +0 -2
- package/build/components/select-menu/index.d.ts +0 -34
- package/build/components/select-menu/index.js +0 -329
- package/build/components/select-menu/scss/index.scss +0 -2
- package/build/components/selection-toolbar/index.d.ts +0 -36
- package/build/components/selection-toolbar/index.js +0 -442
- package/build/components/selection-toolbar/scss/index.scss +0 -2
- package/build/components/settings/index.d.ts +0 -43
- package/build/components/settings/index.js +0 -147
- package/build/components/settings/scss/index.scss +0 -2
- package/build/components/settings/svg/close.svg +0 -1
- package/build/components/settings/svg/saved.svg +0 -1
- package/build/components/share-button/index.d.ts +0 -29
- package/build/components/share-button/index.js +0 -191
- package/build/components/share-button/scss/index.scss +0 -2
- package/build/components/sheet/index.d.ts +0 -33
- package/build/components/sheet/index.js +0 -110
- package/build/components/sheet/scss/index.scss +0 -2
- package/build/components/shiny-text/index.d.ts +0 -17
- package/build/components/shiny-text/index.js +0 -14
- package/build/components/shiny-text/scss/index.scss +0 -2
- package/build/components/shortcut-sheet/index.d.ts +0 -48
- package/build/components/shortcut-sheet/index.js +0 -304
- package/build/components/shortcut-sheet/scss/index.scss +0 -2
- package/build/components/sidebar/index.d.ts +0 -13
- package/build/components/sidebar/index.js +0 -13
- package/build/components/sidebar/scss/index.scss +0 -2
- package/build/components/slider/index.d.ts +0 -25
- package/build/components/slider/index.js +0 -188
- package/build/components/slider/scss/index.scss +0 -2
- package/build/components/sliding-tabs/index.d.ts +0 -28
- package/build/components/sliding-tabs/index.js +0 -188
- package/build/components/sliding-tabs/scss/index.scss +0 -2
- package/build/components/snap-carousel/index.d.ts +0 -30
- package/build/components/snap-carousel/index.js +0 -233
- package/build/components/snap-carousel/scss/index.scss +0 -2
- package/build/components/sparkline/index.d.ts +0 -26
- package/build/components/sparkline/index.js +0 -173
- package/build/components/sparkline/scss/index.scss +0 -2
- package/build/components/stacked-drawer/index.d.ts +0 -24
- package/build/components/stacked-drawer/index.js +0 -211
- package/build/components/stacked-drawer/scss/index.scss +0 -2
- package/build/components/stat-counter/index.d.ts +0 -32
- package/build/components/stat-counter/index.js +0 -216
- package/build/components/stat-counter/scss/index.scss +0 -2
- package/build/components/status-picker/index.d.ts +0 -32
- package/build/components/status-picker/index.js +0 -198
- package/build/components/status-picker/scss/index.scss +0 -2
- package/build/components/sticky-stack/index.d.ts +0 -33
- package/build/components/sticky-stack/index.js +0 -184
- package/build/components/sticky-stack/scss/index.scss +0 -2
- package/build/components/story-progress/index.d.ts +0 -26
- package/build/components/story-progress/index.js +0 -196
- package/build/components/story-progress/scss/index.scss +0 -2
- package/build/components/swipe-deck/index.d.ts +0 -19
- package/build/components/swipe-deck/index.js +0 -300
- package/build/components/swipe-deck/scss/index.scss +0 -2
- package/build/components/tabs/scss/index.scss +0 -2
- package/build/components/tag-input/index.d.ts +0 -27
- package/build/components/tag-input/index.js +0 -309
- package/build/components/tag-input/scss/index.scss +0 -2
- package/build/components/task-list/index.d.ts +0 -28
- package/build/components/task-list/index.js +0 -107
- package/build/components/task-list/scss/index.scss +0 -2
- package/build/components/tasklist/constants.d.ts +0 -2
- package/build/components/tasklist/constants.js +0 -2
- package/build/components/text-animate/index.d.ts +0 -30
- package/build/components/text-animate/index.js +0 -97
- package/build/components/text-animate/scss/index.scss +0 -2
- package/build/components/text-progress/index.d.ts +0 -13
- package/build/components/text-progress/index.js +0 -114
- package/build/components/text-progress/scss/index.scss +0 -2
- package/build/components/thumbnail/scss/index.scss +0 -2
- package/build/components/toast/manager.d.ts +0 -64
- package/build/components/toast/manager.js +0 -221
- package/build/components/toast/svg/check.svg +0 -1
- package/build/components/toast/svg/chevron.svg +0 -1
- package/build/components/toast/svg/close.svg +0 -1
- package/build/components/toast/svg/copy.svg +0 -1
- package/build/components/toast/svg/info.svg +0 -1
- package/build/components/tooltip/context.d.ts +0 -22
- package/build/components/tooltip/context.js +0 -66
- package/build/components/tooltip/group.d.ts +0 -29
- package/build/components/tooltip/group.js +0 -128
- package/build/components/tooltip/options.d.ts +0 -7
- package/build/components/tooltip/options.js +0 -21
- package/build/components/tree/index.d.ts +0 -28
- package/build/components/tree/index.js +0 -182
- package/build/components/tree/scss/index.scss +0 -2
- package/build/components/tree-view/index.d.ts +0 -25
- package/build/components/tree-view/index.js +0 -205
- package/build/components/tree-view/scss/index.scss +0 -2
- package/build/components/typewriter-retype/index.d.ts +0 -8
- package/build/components/typewriter-retype/index.js +0 -122
- package/build/components/typewriter-retype/scss/index.scss +0 -2
- package/build/components/undo-toast/index.d.ts +0 -30
- package/build/components/undo-toast/index.js +0 -262
- package/build/components/undo-toast/scss/index.scss +0 -2
- package/build/components/value-flash/index.d.ts +0 -12
- package/build/components/value-flash/index.js +0 -106
- package/build/components/value-flash/scss/index.scss +0 -2
- package/build/components/waitlist-join/index.d.ts +0 -34
- package/build/components/waitlist-join/index.js +0 -402
- package/build/components/waitlist-join/scss/index.scss +0 -2
- package/build/components/web-search/brands.d.ts +0 -121
- package/build/components/web-search/brands.js +0 -138
- package/build/components/web-search/index.d.ts +0 -31
- package/build/components/web-search/index.js +0 -245
- package/build/components/web-search/scss/index.scss +0 -2
- package/build/components/word-rotator/index.d.ts +0 -14
- package/build/components/word-rotator/index.js +0 -196
- package/build/components/word-rotator/scss/index.scss +0 -2
- package/build/css-utilities/absolute/scss/index.scss +0 -2
- package/build/css-utilities/disabled/scss/index.scss +0 -2
- package/build/css-utilities/hidden/scss/index.scss +0 -2
- package/build/css-utilities/not-allowed/scss/index.scss +0 -2
- package/build/css-utilities/tabular/scss/index.scss +0 -2
- package/lib.scss +0 -2
- package/src/components/accordion/more.ts +0 -97
- package/src/components/anchor/scss/index.scss +0 -56
- package/src/components/anchor/scss/variables.scss +0 -4
- package/src/components/announcement-banner/index.ts +0 -81
- package/src/components/announcement-banner/scss/index.scss +0 -183
- package/src/components/announcement-banner/scss/variables.scss +0 -18
- package/src/components/autosave/index.ts +0 -113
- package/src/components/autosave/scss/index.scss +0 -155
- package/src/components/autosave/scss/variables.scss +0 -22
- package/src/components/back-to-top/index.ts +0 -293
- package/src/components/back-to-top/scss/index.scss +0 -111
- package/src/components/back-to-top/scss/variables.scss +0 -30
- package/src/components/bento-grid/index.ts +0 -63
- package/src/components/bento-grid/scss/index.scss +0 -174
- package/src/components/bento-grid/scss/variables.scss +0 -19
- package/src/components/bento-grid-spotlight/index.ts +0 -133
- package/src/components/bento-grid-spotlight/scss/index.scss +0 -226
- package/src/components/bento-grid-spotlight/scss/variables.scss +0 -36
- package/src/components/bookmark-button/index.ts +0 -174
- package/src/components/bookmark-button/scss/index.scss +0 -162
- package/src/components/bookmark-button/scss/variables.scss +0 -28
- package/src/components/breadcrumb/ellipsis.ts +0 -17
- package/src/components/breadcrumb/item.ts +0 -10
- package/src/components/breadcrumb/link.ts +0 -21
- package/src/components/breadcrumb/list.ts +0 -10
- package/src/components/breadcrumb/menu.ts +0 -20
- package/src/components/breadcrumb/page.ts +0 -16
- package/src/components/breadcrumb/separator.ts +0 -17
- package/src/components/breadcrumb/svg/caret.svg +0 -1
- package/src/components/breadcrumb/svg/chevron.svg +0 -1
- package/src/components/breadcrumb/svg/more.svg +0 -1
- package/src/components/breadcrumbs/index.ts +0 -479
- package/src/components/breadcrumbs/scss/index.scss +0 -235
- package/src/components/breadcrumbs/scss/variables.scss +0 -30
- package/src/components/button/svg/plus.svg +0 -1
- package/src/components/card-input/index.ts +0 -594
- package/src/components/card-input/scss/index.scss +0 -512
- package/src/components/card-input/scss/variables.scss +0 -29
- package/src/components/carousel-3d/index.ts +0 -405
- package/src/components/carousel-3d/scss/index.scss +0 -155
- package/src/components/carousel-3d/scss/variables.scss +0 -25
- package/src/components/checkbox/svg/check.svg +0 -1
- package/src/components/checkbox-group/index.ts +0 -171
- package/src/components/checkbox-group/scss/index.scss +0 -229
- package/src/components/checkbox-group/scss/variables.scss +0 -28
- package/src/components/code-morph/index.ts +0 -459
- package/src/components/code-morph/scss/index.scss +0 -384
- package/src/components/code-morph/scss/variables.scss +0 -33
- package/src/components/collapsible-sidebar/index.ts +0 -193
- package/src/components/collapsible-sidebar/scss/index.scss +0 -220
- package/src/components/collapsible-sidebar/scss/variables.scss +0 -42
- package/src/components/command/constants.ts +0 -6
- package/src/components/command-palette/index.ts +0 -456
- package/src/components/command-palette/scss/index.scss +0 -235
- package/src/components/command-palette/scss/variables.scss +0 -42
- package/src/components/composer/index.ts +0 -117
- package/src/components/composer/scss/index.scss +0 -105
- package/src/components/composer/scss/variables.scss +0 -82
- package/src/components/composer/svg/arrow-up.svg +0 -1
- package/src/components/contribution-heatmap/index.ts +0 -348
- package/src/components/contribution-heatmap/scss/index.scss +0 -151
- package/src/components/contribution-heatmap/scss/variables.scss +0 -39
- package/src/components/date-range-picker/index.ts +0 -641
- package/src/components/date-range-picker/scss/index.scss +0 -380
- package/src/components/date-range-picker/scss/variables.scss +0 -22
- package/src/components/dynamic-island/index.ts +0 -161
- package/src/components/dynamic-island/scss/index.scss +0 -278
- package/src/components/dynamic-island/scss/variables.scss +0 -39
- package/src/components/email-typo-fix/index.ts +0 -615
- package/src/components/email-typo-fix/scss/index.scss +0 -213
- package/src/components/email-typo-fix/scss/variables.scss +0 -18
- package/src/components/expanding-card/index.ts +0 -377
- package/src/components/expanding-card/scss/index.scss +0 -232
- package/src/components/expanding-card/scss/variables.scss +0 -22
- package/src/components/feature-spotlight/index.ts +0 -437
- package/src/components/feature-spotlight/scss/index.scss +0 -254
- package/src/components/feature-spotlight/scss/variables.scss +0 -36
- package/src/components/file-tree/index.ts +0 -319
- package/src/components/file-tree/scss/index.scss +0 -138
- package/src/components/file-tree/scss/variables.scss +0 -18
- package/src/components/filter-grid/index.ts +0 -344
- package/src/components/filter-grid/scss/index.scss +0 -142
- package/src/components/filter-grid/scss/variables.scss +0 -41
- package/src/components/gradient-text/index.ts +0 -26
- package/src/components/gradient-text/scss/index.scss +0 -20
- package/src/components/gradient-text/scss/variables.scss +0 -6
- package/src/components/header/index.ts +0 -318
- package/src/components/header/scss/index.scss +0 -508
- package/src/components/header/scss/variables.scss +0 -21
- package/src/components/hover-card/index.ts +0 -319
- package/src/components/hover-card/scss/index.scss +0 -117
- package/src/components/hover-card/scss/variables.scss +0 -25
- package/src/components/kanban-board/index.ts +0 -326
- package/src/components/kanban-board/scss/index.scss +0 -126
- package/src/components/kanban-board/scss/variables.scss +0 -39
- package/src/components/lightbox/index.ts +0 -594
- package/src/components/lightbox/scss/index.scss +0 -194
- package/src/components/lightbox/scss/variables.scss +0 -24
- package/src/components/lightbox/spring.ts +0 -118
- package/src/components/line-shadow-text/index.ts +0 -24
- package/src/components/line-shadow-text/scss/index.scss +0 -45
- package/src/components/line-shadow-text/scss/variables.scss +0 -6
- package/src/components/log/index.ts +0 -156
- package/src/components/log/scss/index.scss +0 -269
- package/src/components/log/scss/variables.scss +0 -19
- package/src/components/long-press/bind.ts +0 -159
- package/src/components/long-press/button.ts +0 -46
- package/src/components/long-press/index.ts +0 -6
- package/src/components/long-press/scss/index.scss +0 -60
- package/src/components/long-press/scss/variables.scss +0 -9
- package/src/components/modal/index.ts +0 -91
- package/src/components/modal/scss/index.scss +0 -81
- package/src/components/modal/scss/variables.scss +0 -42
- package/src/components/morphing-button/index.ts +0 -188
- package/src/components/morphing-button/scss/index.scss +0 -154
- package/src/components/morphing-button/scss/variables.scss +0 -21
- package/src/components/morphing-nav/index.ts +0 -496
- package/src/components/morphing-nav/scss/index.scss +0 -284
- package/src/components/morphing-nav/scss/variables.scss +0 -36
- package/src/components/multi-step-form/index.ts +0 -368
- package/src/components/multi-step-form/scss/index.scss +0 -397
- package/src/components/multi-step-form/scss/variables.scss +0 -22
- package/src/components/nested-menu/index.ts +0 -446
- package/src/components/nested-menu/scss/index.scss +0 -219
- package/src/components/nested-menu/scss/variables.scss +0 -26
- package/src/components/normalize/scss/index.scss +0 -35
- package/src/components/notification-bell/index.ts +0 -102
- package/src/components/notification-bell/scss/index.scss +0 -132
- package/src/components/notification-bell/scss/variables.scss +0 -41
- package/src/components/notification-bell/svg/bell.svg +0 -1
- package/src/components/onboarding-checklist/index.ts +0 -252
- package/src/components/onboarding-checklist/scss/index.scss +0 -414
- package/src/components/onboarding-checklist/scss/variables.scss +0 -17
- package/src/components/page-dots/index.ts +0 -137
- package/src/components/page-dots/scss/index.scss +0 -95
- package/src/components/page-dots/scss/variables.scss +0 -26
- package/src/components/pagination/svg/arrow-left.svg +0 -1
- package/src/components/pagination/svg/arrow-right.svg +0 -1
- package/src/components/password/constants.ts +0 -4
- package/src/components/password/index.ts +0 -97
- package/src/components/password/scss/index.scss +0 -188
- package/src/components/password/scss/variables.scss +0 -50
- package/src/components/radio-cards/index.ts +0 -145
- package/src/components/radio-cards/scss/index.scss +0 -232
- package/src/components/radio-cards/scss/variables.scss +0 -32
- package/src/components/range-filter/index.ts +0 -295
- package/src/components/range-filter/scss/index.scss +0 -257
- package/src/components/range-filter/scss/variables.scss +0 -20
- package/src/components/range-slider/index.ts +0 -277
- package/src/components/range-slider/scss/index.scss +0 -234
- package/src/components/range-slider/scss/variables.scss +0 -26
- package/src/components/reading-progress/index.ts +0 -160
- package/src/components/reading-progress/scss/index.scss +0 -115
- package/src/components/reading-progress/scss/variables.scss +0 -31
- package/src/components/scroll-fade/index.ts +0 -131
- package/src/components/scroll-fade/scss/index.scss +0 -104
- package/src/components/scroll-fade/scss/variables.scss +0 -10
- package/src/components/scroll-spine/index.ts +0 -355
- package/src/components/scroll-spine/scss/index.scss +0 -209
- package/src/components/scroll-spine/scss/variables.scss +0 -22
- package/src/components/scroll-velocity/index.ts +0 -269
- package/src/components/scroll-velocity/scss/index.scss +0 -29
- package/src/components/scroll-velocity/scss/variables.scss +0 -3
- package/src/components/scrub-input/index.ts +0 -339
- package/src/components/scrub-input/scss/index.scss +0 -105
- package/src/components/scrub-input/scss/variables.scss +0 -23
- package/src/components/select-menu/index.ts +0 -499
- package/src/components/select-menu/scss/index.scss +0 -192
- package/src/components/select-menu/scss/variables.scss +0 -41
- package/src/components/selection-toolbar/index.ts +0 -510
- package/src/components/selection-toolbar/scss/index.scss +0 -221
- package/src/components/selection-toolbar/scss/variables.scss +0 -24
- package/src/components/settings/index.ts +0 -184
- package/src/components/settings/scss/index.scss +0 -327
- package/src/components/settings/scss/variables.scss +0 -50
- package/src/components/settings/svg/close.svg +0 -1
- package/src/components/settings/svg/saved.svg +0 -1
- package/src/components/share-button/index.ts +0 -328
- package/src/components/share-button/scss/index.scss +0 -191
- package/src/components/share-button/scss/variables.scss +0 -24
- package/src/components/sheet/index.ts +0 -170
- package/src/components/sheet/scss/index.scss +0 -65
- package/src/components/sheet/scss/variables.scss +0 -27
- package/src/components/shiny-text/index.ts +0 -19
- package/src/components/shiny-text/scss/index.scss +0 -32
- package/src/components/shiny-text/scss/variables.scss +0 -7
- package/src/components/shortcut-sheet/index.ts +0 -454
- package/src/components/shortcut-sheet/scss/index.scss +0 -306
- package/src/components/shortcut-sheet/scss/variables.scss +0 -36
- package/src/components/sidebar/index.ts +0 -13
- package/src/components/sidebar/scss/index.scss +0 -49
- package/src/components/sidebar/scss/variables.scss +0 -20
- package/src/components/slider/index.ts +0 -232
- package/src/components/slider/scss/index.scss +0 -182
- package/src/components/slider/scss/variables.scss +0 -15
- package/src/components/sliding-tabs/index.ts +0 -291
- package/src/components/sliding-tabs/scss/index.scss +0 -174
- package/src/components/sliding-tabs/scss/variables.scss +0 -34
- package/src/components/snap-carousel/index.ts +0 -324
- package/src/components/snap-carousel/scss/index.scss +0 -174
- package/src/components/snap-carousel/scss/variables.scss +0 -31
- package/src/components/sparkline/index.ts +0 -234
- package/src/components/sparkline/scss/index.scss +0 -169
- package/src/components/sparkline/scss/variables.scss +0 -30
- package/src/components/stacked-drawer/index.ts +0 -272
- package/src/components/stacked-drawer/scss/index.scss +0 -122
- package/src/components/stacked-drawer/scss/variables.scss +0 -20
- package/src/components/stat-counter/index.ts +0 -337
- package/src/components/stat-counter/scss/index.scss +0 -246
- package/src/components/stat-counter/scss/variables.scss +0 -24
- package/src/components/status-picker/index.ts +0 -323
- package/src/components/status-picker/scss/index.scss +0 -290
- package/src/components/status-picker/scss/variables.scss +0 -29
- package/src/components/sticky-stack/index.ts +0 -313
- package/src/components/sticky-stack/scss/index.scss +0 -167
- package/src/components/sticky-stack/scss/variables.scss +0 -50
- package/src/components/story-progress/index.ts +0 -247
- package/src/components/story-progress/scss/index.scss +0 -205
- package/src/components/story-progress/scss/variables.scss +0 -21
- package/src/components/swipe-deck/index.ts +0 -438
- package/src/components/swipe-deck/scss/index.scss +0 -275
- package/src/components/swipe-deck/scss/variables.scss +0 -24
- package/src/components/tabs/scss/index.scss +0 -62
- package/src/components/tabs/scss/variables.scss +0 -4
- package/src/components/tag-input/index.ts +0 -415
- package/src/components/tag-input/scss/index.scss +0 -186
- package/src/components/tag-input/scss/variables.scss +0 -30
- package/src/components/task-list/index.ts +0 -137
- package/src/components/task-list/scss/index.scss +0 -171
- package/src/components/task-list/scss/variables.scss +0 -8
- package/src/components/tasklist/constants.ts +0 -4
- package/src/components/text/scss/variables.scss +0 -9
- package/src/components/text-animate/index.ts +0 -142
- package/src/components/text-animate/scss/index.scss +0 -106
- package/src/components/text-animate/scss/variables.scss +0 -17
- package/src/components/text-progress/index.ts +0 -170
- package/src/components/text-progress/scss/index.scss +0 -148
- package/src/components/text-progress/scss/variables.scss +0 -26
- package/src/components/thumbnail/scss/index.scss +0 -62
- package/src/components/thumbnail/scss/variables.scss +0 -19
- package/src/components/toast/manager.ts +0 -342
- package/src/components/toast/svg/check.svg +0 -1
- package/src/components/toast/svg/chevron.svg +0 -1
- package/src/components/toast/svg/close.svg +0 -1
- package/src/components/toast/svg/copy.svg +0 -1
- package/src/components/toast/svg/error.svg +0 -1
- package/src/components/toast/svg/info.svg +0 -1
- package/src/components/toast/svg/loading.svg +0 -1
- package/src/components/toast/svg/success.svg +0 -1
- package/src/components/toast/svg/warning.svg +0 -1
- package/src/components/tooltip/context.ts +0 -96
- package/src/components/tooltip/group.ts +0 -162
- package/src/components/tooltip/options.ts +0 -33
- package/src/components/tooltip/scss/_group.scss +0 -164
- package/src/components/tree/index.ts +0 -259
- package/src/components/tree/scss/index.scss +0 -105
- package/src/components/tree/scss/variables.scss +0 -48
- package/src/components/tree-view/index.ts +0 -285
- package/src/components/tree-view/scss/index.scss +0 -169
- package/src/components/tree-view/scss/variables.scss +0 -18
- package/src/components/typewriter-retype/index.ts +0 -164
- package/src/components/typewriter-retype/scss/index.scss +0 -142
- package/src/components/typewriter-retype/scss/variables.scss +0 -46
- package/src/components/undo-toast/index.ts +0 -359
- package/src/components/undo-toast/scss/index.scss +0 -216
- package/src/components/undo-toast/scss/variables.scss +0 -20
- package/src/components/value-flash/index.ts +0 -121
- package/src/components/value-flash/scss/index.scss +0 -193
- package/src/components/value-flash/scss/variables.scss +0 -47
- package/src/components/waitlist-join/index.ts +0 -545
- package/src/components/waitlist-join/scss/index.scss +0 -401
- package/src/components/waitlist-join/scss/variables.scss +0 -23
- package/src/components/web-search/brands.ts +0 -155
- package/src/components/web-search/index.ts +0 -316
- package/src/components/web-search/scss/index.scss +0 -270
- package/src/components/web-search/scss/variables.scss +0 -8
- package/src/components/word-rotator/index.ts +0 -296
- package/src/components/word-rotator/scss/index.scss +0 -33
- package/src/components/word-rotator/scss/variables.scss +0 -7
- package/src/css-utilities/absolute/scss/index.scss +0 -36
- package/src/css-utilities/disabled/scss/index.scss +0 -4
- package/src/css-utilities/hidden/scss/index.scss +0 -28
- package/src/css-utilities/not-allowed/scss/index.scss +0 -7
- package/src/css-utilities/tabular/scss/index.scss +0 -3
- package/src/lib/index.scss +0 -7
- package/src/lib/scss/breakpoint.scss +0 -41
- package/src/lib/scss/color.scss +0 -1
- package/src/lib/scss/list.scss +0 -77
- package/src/lib/scss/string.scss +0 -34
- package/src/tokens/index.scss +0 -9
- package/storage/psd/Color Palette.psd +0 -0
- /package/src/{lib → shared}/scss/css-variables.scss +0 -0
- /package/src/{lib → shared}/scss/map.scss +0 -0
- /package/src/{lib → shared}/scss/position.scss +0 -0
- /package/{build/components/notification-bell → storage}/svg/bell.svg +0 -0
- /package/{build/components/checkbox → storage}/svg/check.svg +0 -0
- /package/{build/components/toast/svg/error.svg → storage/svg/circle-alert.svg} +0 -0
- /package/{build/components/toast/svg/success.svg → storage/svg/circle-check.svg} +0 -0
- /package/{build/components/toast/svg/loading.svg → storage/svg/spinner.svg} +0 -0
- /package/{build/components/toast → storage}/svg/warning.svg +0 -0
package/README.md
CHANGED
|
@@ -52,106 +52,68 @@ html`
|
|
|
52
52
|
### Form Controls
|
|
53
53
|
| Component | Description | Variants |
|
|
54
54
|
|-----------|-------------|----------|
|
|
55
|
-
| `input` | Text input with validation state |
|
|
56
|
-
| `textarea` | Multi-line text input | - |
|
|
57
|
-
| `checkbox` | Checkbox with label
|
|
58
|
-
| `composer` | Chat input with toolbar actions, send button and footer | - |
|
|
55
|
+
| `input` | Text input with validation state; `input.scrub` is a numeric `input` whose label scrubs the value on drag (Shift ×10, Alt ×0.1, optional pointer lock) over a tape measure; arrows step, Escape restores; `input.tag` is a chip field turning typed or pasted text into tags that form in place, nudge on duplicates, and go on a double Backspace; `name` submits `name[]` | `input.scrub`, `input.scrub.field`, `input.scrub.label`, `input.tag`, `input.tag.field` |
|
|
56
|
+
| `textarea` | Multi-line text input; `autoresize` animates height between its minimum and maximum, respecting reduced motion | - |
|
|
57
|
+
| `checkbox` | Checkbox with label; `checkbox.group` builds a checklist with a select-all header (mixed state), optional counter, and Shift-click ranges | `checkbox.group` |
|
|
59
58
|
| `radio` | Radio button group | - |
|
|
60
|
-
| `range` | Range slider
|
|
59
|
+
| `range` | Range slider; add `class: 'range--slider'` to `range` or `range.filter` for the compact slider appearance (replaces the standalone `slider` component); `orientation: 'vertical'` supports vertical single and dual thumbs, with height set by `--vertical-size` (default `176px`); `range.filter` is a range filter with rolling-digit values, a Clear button, a ghost preview of where a click would stretch the selection, and scale ticks; a number `value` gives one thumb, a pair gives two that stop at each other; `fields` adds editable min/max `input` fields, `disabled`; `state.low`/`state.high`, `format`, `prefix`, `step`, `ticks` | `range.filter` |
|
|
61
60
|
| `datalist` | Inertial wheel picker (scroll-snapped listbox) | - |
|
|
62
|
-
| `select` | Dropdown with custom options
|
|
63
|
-
| `switch` | Toggle switch
|
|
64
|
-
| `tasklist` | Checklist that strikes through checked tasks and moves them below the open ones | `tasklist.checkbox` |
|
|
61
|
+
| `select` | Dropdown with custom options; `select.menu` is a tooltip-powered macOS-style listbox opening with the selected option over the trigger, with typeahead and hover scrolling. Its surface, checks, and animations are reusable on tooltips with `--select-menu` | `select.menu` |
|
|
62
|
+
| `switch` | Toggle switch; `switch.group` builds the same group as `checkbox.group` with switches, the select-all knob resting midway when mixed | `switch.group` |
|
|
63
|
+
| `tasklist` | Checklist that strikes through checked tasks and moves them below the open ones; `ordered` keeps both groups in task order, `sortable` lets rows be dragged within their group | `tasklist.checkbox`, `tasklist.content`, `tasklist.description`, `tasklist.item`, `tasklist.label`, `tasklist.row` |
|
|
65
64
|
| `form` | Form wrapper | `form.action`, `form.input` |
|
|
66
|
-
| `
|
|
67
|
-
| `
|
|
68
|
-
| `
|
|
69
|
-
| `dateRangePicker` | Two-month calendar (one below 540px) with presets, a hover-preview band, sliding month changes, full grid keyboard navigation and an Apply confirmation; `state.start`/`state.end` are ISO dates, `onapply` receives the range, `dateRangePicker.describe` formats it | `dateRangePicker.day` |
|
|
70
|
-
| `emailTypoFix` | Email field (`input`) that suggests a fix for common domain typos after a pause, applying it with a letter-morph; `state.sent` swaps the hint for a sent note | `emailTypoFix.field`, `emailTypoFix.suggest` |
|
|
71
|
-
| `inlineEdit` | Click-to-edit text that swaps in an `input` (or `textarea` with `multiline`) without moving a glyph; Enter/blur saves, Escape cancels, `onsave` fires | `inlineEdit.display`, `inlineEdit.field` |
|
|
72
|
-
| `multiStepForm` | Stepped `form.action` card (`input`, `radio`) with a progress bar, directional step transitions, focus moved into each step and a height that springs to fit; `state.panel`, `oncreate`, custom `plans` | `multiStepForm.input` |
|
|
73
|
-
| `radioCards` | Native radio group (`radio`) laid out as cards with a selection ring that glides between them | - |
|
|
74
|
-
| `rangeSlider` | Dual-thumb slider whose thumbs stop at each other, glide on track clicks and keys, show a value tooltip while dragged or focused, and pair with editable min/max `input` fields; `state.low`/`state.high`, `format`, `prefix` | `rangeSlider.input`, `rangeSlider.thumb` |
|
|
75
|
-
| `scrubInput` | Numeric `input` whose label scrubs the value on drag (Shift ×10, Alt ×0.1, optional pointer lock) over a tape measure; arrows step, Escape restores | `scrubInput.field`, `scrubInput.label` |
|
|
76
|
-
| `selectMenu` | macOS-style listbox opening with the selected option over the trigger, with typeahead and hover scrolling | - |
|
|
77
|
-
| `tagInput` | Chip field (`input`) turning typed or pasted text into tags that form in place, nudge on duplicates, and go on a double Backspace; `name` submits `name[]` | `tagInput.field` |
|
|
78
|
-
| `waitlistJoin` | Waitlist signup (`form.action`, `input`) with friendly email validation, a queue strip you drop into and hop along (FLIP), a rolling `counter` position and a referral link copied via `clipboard.write`; `onjoin` | `waitlistJoin.input` |
|
|
65
|
+
| `cc` | Payment card form (`input` fields) with a live card preview that flips for the CVC, brand detection, caret-safe formatting and Luhn/expiry validation; `onvalid` receives brand, last 4, expiry and name | `cc.field`, `cc.submit` |
|
|
66
|
+
| `colorPicker` | Saturation pad, hue/opacity sliders (`range`), hex field (`input`) with a `copy` button, and an animated recent-colors row (hidden while empty; `recent: false` leaves it out entirely); `value` is required, no surface of its own, so place it in a `card` | `colorPicker.swatch` |
|
|
67
|
+
| `inlineEdit` | Click-to-edit text that swaps in an `input` (or `textarea` with `multiline`) without moving a glyph; Enter/blur saves, Escape cancels, `onsave` fires. `inlineEdit.rich` edits markdown in place as a controlled editor: the text is a document of blocks and marks rendered by the template, every input (typing, deleting, Enter, formatting, paste, drop, an input method's composition) changes that document rather than the DOM, and it keeps its own undo/redo (Mod+Z, Mod+Shift+Z/Mod+Y). `features` whitelists what each field allows (bold, italic, strike, code, highlight, link, heading, quote, codeblock, bullet, ordered, task, clear, copy), and only those appear in its selection toolbar, shortcuts, pastes and saved markdown. `status: true` (or a `{ phase, savedAt }` object to read or drive it) shows the save status under either field: unsaved while the edit differs, saving while a promise returned by `onsave` is pending, then saved, rolling to "Saved 3 min ago" | `inlineEdit.display`, `inlineEdit.field`, `inlineEdit.status`, `inlineEdit.rich.editor`, `inlineEdit.rich.status`, `inlineEdit.rich.toolbar`, `inline-edit--seamless` |
|
|
79
68
|
|
|
80
69
|
### Interactive
|
|
81
70
|
| Component | Description | Variants |
|
|
82
71
|
|-----------|-------------|----------|
|
|
83
|
-
| `button` | Standard button | `button.fan`, `button.hold` |
|
|
84
|
-
| `tooltip` | Popup content | `tooltip.context`, `tooltip.menu`, `tooltip.onclick`, `tooltip.onhover` |
|
|
72
|
+
| `button` | Standard button; `button.hold` confirms on a press-and-hold, inverting the whole button as it fills, or only the label with `button--hold-text` (`--fill-color`); `button.morph` is an async save (`onsave`) that morphs into a spinner circle, confirms with a check and shakes on failure, with `--morph-background` for its colour | `button.fan`, `button.hold`, `button.morph`, `button--hold-text` |
|
|
73
|
+
| `tooltip` | Popup content; `tooltip.onhover` also opens on keyboard focus and closes on Escape, and `tooltip.onhover.trigger({ delay, state })` is the same behaviour to spread on your own `.tooltip` element; `delay: { open?, close? }` (ms, on `tooltip.onhover` and `tooltip.shared`; each left out is instant) holds the pointer before opening and after leaving, and for 500ms after a delayed tooltip closes the next opens at once, without its entrance; `tooltip.menu` is a keyboard menu (arrows, Home/End, Escape returns focus, Tab closes) that closes once an option is chosen; `tooltip.nestedMenu({ animate, items, onnavigate, state })` is a drill-down menu whose `items` nest to any depth: a branch's panel grows out of its row over the dimmed parent, and its header or the parent's scrim goes back; arrows/Home/End move, Right/Left drill and return, Escape goes back a level then closes (`animate: false` skips the motion, `tooltip.nestedMenu.trigger` styles the button); `tooltip.shared({ delay, direction, dismiss, interactive, keep, state })` is one tooltip for any number of triggers: spread `tip.bind(content)` on a trigger (a string, or a function returning a template, rendered on every open unless `keep`), or `tip.delegate({ content, edge, selector })` on a container to make every matching descendant a trigger (default `[data-tooltip]`, its value the content; `edge` lines the tooltip up past the container's edge), and place `tip.render(attributes)` once; it opens in the top layer beside the trigger, flips when out of room, and glides between triggers while its content slides in the direction of travel; `interactive` makes it a card the pointer can enter, toggled by taps and keys, with Tab carried into it; `keep` mounts each bound trigger's content on its first open and keeps it for reopening until that trigger unmounts; `dismiss` is a selector whose clicks inside close it (`'a[href]'` for navigation); `state.active` is whether it is open and `state.index` which bound trigger, numbered in `bind()` order (-1 for none), and setting it opens that trigger | `tooltip.context`, `tooltip.menu`, `tooltip.nestedMenu`, `tooltip.onclick`, `tooltip.onhover`, `tooltip.onhover.trigger`, `tooltip.shared` |
|
|
85
74
|
| `accordion` | Collapsible sections | - |
|
|
86
75
|
| `clipboard` | Copy to clipboard | `clipboard.copy`, `clipboard.write` |
|
|
87
|
-
| `
|
|
76
|
+
| `copy` | Icon button copying `value` (a string or a function read on click); the copy icon turns into a check that draws in, then back after `timeout` ms (default `3000`); `label`, `success` and `error` set its accessible name per state | - |
|
|
77
|
+
| `command` | ⌘K/Ctrl+K command palette on `overlay` + `input`: substring-then-subsequence matching with highlighted runs, grouped results, arrow/Enter keys, `onrun`; `tabs` adds a row of tabs under the search, marked by `highlight`, whose views are `frame--swap`s, drifting in from their side, and cycle with Tab/Shift+Tab (All leads with recent commands, persisted through any `store` implementing `get`/`set`, then lists every command; each command group gets its own tab; a Shortcuts tab lists `shortcuts`); setting `state.tab` (`'all'`, `'shortcuts'` or a group name) switches views and clears the search. `render(groups)` supplies custom result markup: each item exposes its `label`, highlighted `content`, command `id`, and `attributes` to spread onto the option element so selection and keyboard navigation keep working. Icons are sprite ids; `.command-trigger` also styles standalone search buttons | `command.dialog` (e.g. `overlay--blur`), `command.input`, `command.option`, `command.trigger`, `command--centered` |
|
|
78
|
+
| `editor` | Editor family under one namespace. `editor.code` is a source editor on a persistent native textarea editing an `EditorDocument` that keeps its own undo history: syntax colors (TypeScript/TSX, JavaScript, CSS/SCSS, HTML, JSON, Python, Markdown), line numbers, multiple and rectangular selections, find/replace, go to line, folding, wrap, visible whitespace and a minimap; `options.services` adds completion, hover and diagnostics from a language-server `transport` (or completes from the document's own words); `editor.markdown` renders Markdown in place and edits one block at a time; `editor.code` adds sticky scroll, color swatches, links, unicode warnings, rulers, a git gutter (`baseline`), keybinding overrides (`keybindings`, exported `commands`) and merge-conflict lenses; `editor.tree` is the file tree, with drops from the desktop (`operations.import`), dragging files out (`export`) and next/previous change or problem; `editor.diffs` is a split or unified diff viewer and `editor.diffs.merge` a three-way merge editor; `editor.workspace` combines them with an explorer, tabs, quick open and file operations over a host you supply | `editor.code`, `editor.diffs`, `editor.diffs.merge`, `editor.markdown`, `editor.tree`, `editor.workspace` |
|
|
88
79
|
| `alert` | Notifications | error, info, success types |
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
92
|
-
| `
|
|
93
|
-
| `dock` | macOS-style dock whose icons swell toward the cursor on a spring, with delayed `tooltip` labels and a hop-and-squash launch that lights a running dot (per-item `state.running`, `onlaunch`) | `dock.button`, `dock--square`, `dock--subtle` |
|
|
94
|
-
| `expandingCard` | Card list whose cards morph (FLIP) into a `modal` detail dialog and fly back into their slot; `state.open` is two-way | `expandingCard.card` |
|
|
95
|
-
| `hoverCard` | Inline trigger with a delayed preview card (open 500ms, close grace 150ms); triggers sharing `hoverCard.group()` hand the card over instantly, travelling between them; tap, focus and Escape supported | `hoverCard.content`, `hoverCard.group`, `hoverCard.trigger`, `hover-card--fade` |
|
|
96
|
-
| `kanbanBoard` | Columns of cards dragged within and between lists (built on `sortable` groups), with keyboard moves | - |
|
|
97
|
-
| `morphingButton` | Async save button that morphs into a spinner circle, confirms with a check, and shakes on failure | `morphing-button--blue` |
|
|
98
|
-
| `pageDots` | Page indicator driven by a continuous `state.progress`; the pill stretches between dots like a worm, with an optional autoplay countdown | `page-dots--large` |
|
|
80
|
+
| `chatMinimap` | Rail of lines mapping a conversation, one per turn: the hovered line swells its two neighbours either side, one gliding `tooltip.shared` card previews each turn's `title` and `description`, previous/next buttons step through the thread, and `state` (`start`/`end`) lights the turns in view. `turns` may be a `ReactiveArray` so the rail grows with the chat; `chatMinimap.spy({ state, turns })` drives `state` from an `IntersectionObserver` on the thread and its `scrollTo` is the `onnavigate` | `chatMinimap.item`, `side: 'left'` |
|
|
81
|
+
| `dock` | macOS-style `card` shelf whose icons swell toward the cursor on a spring, with delayed `tooltip` labels (`group` shares one gliding `tooltip.shared` label) and a hop-and-squash launch that lights a running dot (per-item `state.running`, `onlaunch`) | `dock.button`, `dock--square` |
|
|
82
|
+
| `card.expand` | List of `card--expand` cards that each morph into their own `card` `overlay` and fly back into their slot through a view transition (a plain `overlay` fade where unsupported, a cross-fade under reduced motion); `state.open` is two-way | `card.expand.trigger` |
|
|
83
|
+
| `pagination.dots` | Page indicator driven by a continuous `state.progress`; the pill stretches between dots like a worm, with an optional autoplay countdown | `pagination.dots.dot`, `pagination--dots-large` |
|
|
99
84
|
| `pullToRefresh` | Rubber-band pull gesture (touch and mouse) with a stepped tick spinner; new items above the old first one slide in | - |
|
|
100
|
-
| `
|
|
101
|
-
| `
|
|
102
|
-
| `shortcutSheet` | Searchable keyboard-shortcut reference on `modal` + `input`, opened with `?`; pressing a listed shortcut lights its row and keycaps (`Mod` = ⌘/Ctrl) | `shortcutSheet.dialog`, `shortcutSheet.input`, `shortcutSheet.row`, `shortcutSheet.trigger`, `shortcut-sheet--blur` |
|
|
103
|
-
| `snapCarousel` | Native scroll-snap card carousel with mouse flick, scroll-driven focus scaling, and edge-aware arrows | `snapCarousel.arrow`, `snapCarousel.card` |
|
|
104
|
-
| `sortable` | Drag-and-drop reordering of an element's children, across containers with `group` | `sortable--{effect}` modifiers |
|
|
105
|
-
| `statusPicker` | Avatar presence menu (`menuitemradio`) whose shaped badge spins into the next status | - |
|
|
106
|
-
| `storyProgress` | Auto-advancing stories with segmented progress bars, tap halves to navigate, press-and-hold or Space to pause | `storyProgress.toggle` |
|
|
107
|
-
| `swipeDeck` | Card stack decided by swipe, arrow keys, or buttons, with undo | - |
|
|
85
|
+
| `sortable` | Drag-and-drop reordering of a reactive list's items, across lists with `group` | `sortable--{effect}` modifiers |
|
|
86
|
+
| `story` | Auto-advancing stories, each any `Renderable`, on a `frame--slide` track with segmented progress bars whose CSS fill is the timer (`--duration`, or `duration` in ms); tap the left third to go back (replaying the first story) and the rest to advance, drag or flick between stories (rubber-banding at the ends), press-and-hold or Space to pause; links and controls inside a story keep their own clicks | `story.toggle` |
|
|
108
87
|
|
|
109
88
|
### Display
|
|
110
89
|
| Component | Description |
|
|
111
90
|
|-----------|-------------|
|
|
112
|
-
| `
|
|
113
|
-
| `counter` | Animated number with currency formatting |
|
|
91
|
+
| `counter` | Rolling-digit number with locale-aware currency formatting, sized by the surrounding `font-size`; `--color` sets the digits (`counter--inherit` takes the text color) and a `--fill` gradient replaces it (`counter--shade`); screen readers get the formatted value |
|
|
114
92
|
| `loader` | Loading spinner |
|
|
115
93
|
| `loading` | Border loading indicator |
|
|
116
|
-
| `typewriter` | Animated typing effect |
|
|
117
|
-
| `
|
|
118
|
-
| `highlight` | Viewport intersection highlight |
|
|
94
|
+
| `typewriter` | Animated typing effect; `typewriter.retype` is a headline word that is selected and typed over with a jittered, human rhythm, landing whole words under reduced motion. Both share the caret variables and `--block`/`--hard`/`--underscore` modifiers. `typewriter.rotate` is a rotating word (`state.index`, `state.paused`) whose shared letters glide into place while the others blur out and in; `typewriter-rotate--accent` |
|
|
95
|
+
| `highlight` | Layer that glides behind its parent's children on hover and focus and rests on the `--active` one (`target` for nested items, `hover: false` for the active layer only); `line: 'bottom' \| 'left' \| 'right' \| 'top'` adds an edge line to the active layer with both fills kept `--line-inset` clear of it, `fill: false` drops the active background, `--glide-tail-duration-active` longer than `--glide-duration-active` stretches it toward the next item, `--inset-block` / `--inset-inline` pull the fill in from the item |
|
|
119
96
|
| `ellipsis` | Animated dots |
|
|
120
97
|
| `icon` | SVG sprite wrapper |
|
|
121
98
|
| `number` | Number formatting |
|
|
122
99
|
| `truncate` | Text truncation |
|
|
123
100
|
| `json` | JSON display |
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `featureSpotlight` | Scroll-driven product tour: a pinned screenshot whose spring camera pans and zooms to the `data-spot` (or `region`) of the feature being read, with a dimming spotlight |
|
|
129
|
-
| `onboardingChecklist` | Setup checklist (`checkbox` rows, `accordion` details) with a spring progress ring, strike-through on done, and a celebration once every task is complete; `done`, `open`, `ondismiss`, `state.count` |
|
|
130
|
-
| `undoToast` | List whose deletes wait behind an Undo toast (`toast.*` with a countdown ring) before committing |
|
|
131
|
-
| `textProgress` | `progressbar` whose label fills with ink on a spring (`state.value`), with rolling digits and a drawn check on done |
|
|
132
|
-
| `wordRotator` | Rotating word (`state.index`, `state.paused`) whose shared letters glide into place while the others blur out and in |
|
|
133
|
-
| `codeMorph` | Stepped code tabs (`state.step`) diffed at token level: shared tokens glide to their new line and column, new ones fade in, removed ones flash red; copy via `clipboard.write` |
|
|
134
|
-
| `contributionHeatmap` | Year of activity squares that sweep in by column, with a hover label (reuses `tooltip` styles), roving-tabindex grid keys and `contributionHeatmap.legend`; `contribution-heatmap--blue` |
|
|
101
|
+
| `announcement` | Animated top-of-page container (`state.active`) built on a non-modal `overlay` in the page flow; slides its content in and collapses the space it held, with overlay's drag dismissal and background fill when pulled away from its top edge; the content and close control are the consumer's |
|
|
102
|
+
| `toaster` | `toaster(attributes)` returns `{ content, toast }`: place `content` on the page, and `toast(attributes, (state) => content)` queues into that toaster alone, so separate toasters can differ in placement and style. Placed with overlay's own placement modifiers and variables (`toaster--{n,ne,e,se,s,sw,w,nw}`, `--margin-*`, `--translate`, `--stack-peek`, `--stack-scale`); side stacks recede sideways like overlay's; collapsed it shows `limit` toasts (default 3) and an overflow card counting the rest (`overflow: (count) => content`, `toaster.overflow` attributes), and hovering fans all of them out. Content renders lazily with the toast's `state`: `state.active = false` dismisses it and changing `state.duration` keeps the time already spent; pass `state` to hold it from outside, `toast.dismiss()` clears the toaster. The timer is a CSS animation, exposed as `--toast-progress` (0 to 1) and `--toast-seconds`, that runs only on the front toast and stops while the stack is hovered. The toast is only the stacking container, so its surface is the consumer's class; it keeps a close button (`toast.close` attributes) around its content (`toast.content` attributes) |
|
|
103
|
+
| `progress` | Progress bar (`state.value`) with an optional label, percentage and a `status` line derived from the value; `progress.text` is a `progressbar` whose label fills with ink on a spring (`state.value`), with rolling digits and a drawn check on done |
|
|
104
|
+
| `heatmap` | Calendar of daily values that sweeps in by column; one `tooltip.shared` delegated across the cells renders each day through your `tooltip(day, index)` template (`describe(day)` names the cell), drag-to-scroll via `scrollbar.drag`, roving-tabindex grid keys and `heatmap.legend`; `heatmap--blue` |
|
|
135
105
|
| `relativeTime` | Self-updating `<time>` ("4 min ago") that wakes once per visible change and rolls its digits; full date in a `tooltip` on hover/focus; `state.now` pins the clock |
|
|
136
|
-
| `
|
|
137
|
-
| `
|
|
106
|
+
| `metric` | Card with a title, value, delta and an SVG line chart that draws itself in, with a scrub readout for pointer, touch and arrow keys (`state.active`, `state.index`). Fills its container (`--width: 100%`) and redraws at its measured size on every resize, so the stroke, dot and tip keep their size; the plot height tracks the card width between `--plot-height` bounds, and the delta wraps under the value in narrow cards. A `ReactiveArray` as `data` is live: every mutation (`push`/`shift` for a sliding window, `splice` to replace) redraws the card, which rests on the newest point unless it is being read. Lay cards out with `grid`; `metric--accent`. `metric.flash` is a live value (`state.value`) that marks each change with a directional roll, tint and arrow, announcing the settled value politely |
|
|
107
|
+
| `surfaceField` | Canvas field of dots and lines lit by the pointer that clears and bends around surfaces (rounded, circular or turned, read from their styles), carries a pannable `camera` as a parallax floor, draws `links` between surfaces as lit channels, and sleeps when idle; `worker` takes the URL of `@esportsplus/ui/surface-field/worker` (Vite: `?worker&url`) to draw in an OffscreenCanvas worker. `surfaceField.surface` is a draggable, resizable card with an optional `title`/`body`, inline-edited (`inlineEdit`) with `editable` | `surfaceField.surface` |
|
|
138
108
|
|
|
139
109
|
### Layout
|
|
140
110
|
| Component | Description |
|
|
141
111
|
|-----------|-------------|
|
|
142
|
-
| `
|
|
143
|
-
| `
|
|
144
|
-
| `
|
|
145
|
-
| `
|
|
146
|
-
| `
|
|
147
|
-
| `overlay` | Full-viewport overlay container |
|
|
148
|
-
| `breadcrumbs` | Path trail that folds middle segments into a `tooltip.onclick` menu as space runs out, sliding the rest over (FLIP); `onnavigate` intercepts links |
|
|
149
|
-
| `collapsibleSidebar` | Navigation rail that springs between labelled and icon-only widths, with a sliding highlight and `tooltip-message` tips while collapsed (`state.expanded`, `state.selected`) |
|
|
150
|
-
| `morphingNav` | Navigation bar whose dropdown panel morphs size, position and caret between sections on hover intent, with full keyboard support (`state.active`) |
|
|
151
|
-
| `scrollSpine` | Scale-drawing table of contents: bands sized to each section fill as you read, and a spring marker stretches between them |
|
|
152
|
-
| `sheet` | Bottom sheet on `modal` (`modal--sheet`) that drags to dismiss past 25% or on a flick, rubber-bands upward, and fades its backdrop with the drag (`sheet.handle`, `sheet--full`) |
|
|
153
|
-
| `slidingTabs` | Tab list whose underline stretches toward the new tab and gathers under it, with a hover pill and cross-sliding `tabs.scss` panels (`state.selected`) |
|
|
154
|
-
| `stickyStack` | Sticky cards that scale and dim as the next one slides over (scroll-driven animations, with a scroll-listener fallback) |
|
|
112
|
+
| `scrollbar` | `--scrollbar-scope` on a site or subtree root styles that root and its descendants, with smooth scrolling (instant under reduced motion); overscroll containment applies to the scope root and explicit `--scrollbar` containers, allowing clipped descendants to pass wheel input to their scroller. Containers keep their own overflow and gutters, while children can override inherited variables or add scrollbar modifiers without the base class. `--scrollbar-behavior` and `--scrollbar-overscroll` customize scrolling. All visible variants use arrowless custom bars in Chromium/WebKit: `--scrollbar-size` sets the thumb's resting width (default `6px`; `--scrollbar-auto` uses the platform width), widening to `--scrollbar-size-hover` (default `--scrollbar-size` + `2px`, which is also the gutter width) while hovered or dragged; `--scrollbar-align` places that growth (default `0` hugs the window edge and grows toward the content, `0.5` grows both ways), and `--scrollbar-rail-color` paints the track (default `transparent`, also used natively elsewhere); and `--scrollbar-border-radius` rounds it (defaults to a third of `--scrollbar-size`, `3px` under `--scrollbar-auto`; use `0px` for square corners). The thumb follows the token state system: `--scrollbar-color-default`, `--scrollbar-color-hover` and `--scrollbar-color-pressed` (default black `400`/`300`/`500`), or a color modifier such as `--scrollbar-blue`. `--scrollbar-hidden` hides the bar. Other browsers retain native rendering, with `--scrollbar-width` (default `thin`) accepting `auto`, `thin`, or `none`, the default color, and native thumb corners. `--scrollbar-horizontal` scrolls x only; edge effects driven by scroll timelines, each edge reaching full strength once the content has scrolled the effect's size (`--scroll-fade-size`, `--scroll-blur-size`) past it, and running along x when combined with `--scrollbar-horizontal` (`import { scrollbar } from '@esportsplus/ui/css-utilities'`): the `--scrollbar-fade` class works alone and leaves custom bars unfaded, with `scrollbar.fade()` adding a JS fallback only where timelines are unsupported, while blur needs `scrollbar.blur()`, which inserts the sticky blur edges (the `--scrollbar-blur` class alone renders nothing) and adds the same fallback; a horizontal blur lays the scroller out as a flex row so the edges sit beside its content; `scrollbar.drag('horizontal' \| 'vertical' \| 'both')` adds mouse drag-to-scroll (`--scrollbar-drag`) |
|
|
113
|
+
| `card.scss` | Surface (background, radius, shadow and padding variables); `card--morph` makes it a shell that morphs between stacked `card-morph-layer`s inside a clipping `card-morph-viewport`: size it through `--morph-width`/`--morph-height`, each layer is a `frame frame--swap` (mark the shown one `--active`, set `--i` on the viewport and `--n` on each layer), `card--instant` snaps; `--morph-*` variables tune the motion |
|
|
114
|
+
| `frame.scss` | Sibling frames sharing one spot, the `--active` one shown: instant by default, `frame--slide` / `frame--scroll` move them like a horizontal / vertical track, `frame--swap` crossfades in place with a directional drift and blur (the `tooltip.shared` swap); shared by `command`, `tooltip.shared` and `card--morph` |
|
|
115
|
+
| `overlay` | Native `<dialog>` driven by `state.active` (Esc and backdrop click close it), placed by `overlay--c` (default), an edge (`overlay--n`, `overlay--s`, `overlay--w`, `overlay--e`) or a corner (`overlay--ne`, `overlay--se`, `overlay--sw`, `overlay--nw`, which enter and drag off by their top or bottom edge); placements slide in from their side on the iOS drawer curve and square the corners they touch unless `overlay--floating`. Every overlay but a rail drags to dismiss (toward its edge, or downward when centered) past 25% or on a flick, rubber-bands inward and fades the backdrop with the drag; when its own content scrolls, touch drags only from `overlay.handle`. Overlays opened over one another stack: each covered layer shrinks, dims and peeks out from under the one above (`--stack-scale`, `--stack-dim`, `--stack-peek`) and follows the top layer back as it is dragged away; an `overlay-page` direct child of `<body>` (or of a non-modal overlay's container) recedes the same way; `modal: false` opens without a backdrop, leaves the page interactive and sits in its positioned container; `flow: true` keeps it non-modal in the page layout, preserves focus, skips layer stacking, and collapses its parent row during vertical drag dismissal (used by `announcement`); `rail: true` keeps it open non-modal and widens it while a mouse hovers or keyboard focus is inside (or `state.active` is set) from `--width-closed` to `--max-width`, clipping rows rather than reflowing them. Motion: `overlay--fade`, `overlay--scale`, `overlay--spring`, `overlay--alert`, `overlay--blur` |
|
|
116
|
+
| `breadcrumb` | Path trail that folds middle segments into a `tooltip.menu` as space runs out, the rest sliding over as each one closes; `onnavigate` intercepts links; `separator: 'chevron' \| 'slash'` (default `'slash'`) |
|
|
155
117
|
|
|
156
118
|
### Utility
|
|
157
119
|
| Component | Description |
|
|
@@ -162,51 +124,103 @@ html`
|
|
|
162
124
|
|
|
163
125
|
## Component Patterns
|
|
164
126
|
|
|
165
|
-
###
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
127
|
+
### Overlay popups
|
|
128
|
+
|
|
129
|
+
`overlay.popup({ state, target, popover })` returns attributes to spread on a
|
|
130
|
+
popup host. Dialog overlays and these popup attributes share the open/close
|
|
131
|
+
lifecycle, including waiting for finite exit animations and cancelling an old
|
|
132
|
+
close when reopened. Popup attributes handle outside pointer dismissal, Escape,
|
|
133
|
+
inert content, and template-managed event cleanup. `target` finds the animated
|
|
134
|
+
surface inside the host; `popover: true` opens it in the native top layer.
|
|
135
|
+
`dismissOn` closes on matching content clicks after their handlers run.
|
|
136
|
+
|
|
137
|
+
Tooltip variants and select menus use this lifecycle while retaining their
|
|
138
|
+
placement, hover delays, menu keys, and existing styles. Add `--select-menu` to
|
|
139
|
+
a tooltip host to use the select-menu surface, options, checkmarks, and trigger
|
|
140
|
+
styles. On `tooltip.menu`, it also aligns the checked or selected option over
|
|
141
|
+
the trigger and grows from the field, recalculating when the selection changes.
|
|
142
|
+
Use `tooltip-select-menu-trigger`, `tooltip-select-menu-value`, and
|
|
143
|
+
`tooltip-select-menu-option-label` for the measured parts; the tooltip examples
|
|
144
|
+
include a font picker using this modifier.
|
|
145
|
+
|
|
146
|
+
### Frame
|
|
147
|
+
|
|
148
|
+
Import `@esportsplus/ui/frame.scss`. Give sibling elements the `.frame` class
|
|
149
|
+
and mark the shown one `.--active`; without a modifier the switch is instant.
|
|
150
|
+
Set `--n`, its own index, on each frame and `--i`, the active index (`0`, `1`,
|
|
151
|
+
`2`, …), once on the parent. The modifiers animate the switch, stacking the
|
|
152
|
+
frames in one grid cell so the tallest sets the height:
|
|
153
|
+
|
|
154
|
+
- `.frame--slide` / `.frame--scroll` move the frames together like a
|
|
155
|
+
horizontal / vertical track.
|
|
156
|
+
- `.frame--swap` crossfades in place, like `tooltip.shared` content: a waiting
|
|
157
|
+
frame sits one `--swap-shift` off to its side, faded and blurred, so the
|
|
158
|
+
incoming frame drifts in while the outgoing one carries on out the other way.
|
|
159
|
+
Frames without an index set the direction themselves through `--travel-x` /
|
|
160
|
+
`--travel-y` and mark the outgoing frame `frame--leaving`. `--swap-*` variables
|
|
161
|
+
tune it, with `--swap-exit-*` for the outgoing frame.
|
|
171
162
|
|
|
172
163
|
```html
|
|
173
|
-
<div style="overflow: hidden;
|
|
174
|
-
<div class="
|
|
175
|
-
|
|
176
|
-
<div class="tabs-content --active">Second panel</div>
|
|
177
|
-
</div>
|
|
164
|
+
<div style="overflow: hidden; --i: 1;">
|
|
165
|
+
<div class="frame frame--swap" style="--n: 0;" inert>First frame</div>
|
|
166
|
+
<div class="frame frame--swap --active" style="--n: 1;">Second frame</div>
|
|
178
167
|
</div>
|
|
179
168
|
```
|
|
180
169
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
170
|
+
Moving frames need a clipping parent. Keep inactive frames `inert` and update
|
|
171
|
+
tab/panel ARIA attributes alongside the active class. `--scrollbar` thumbs clear
|
|
172
|
+
on inactive frames, and on the incoming frame while it carries `.frame--moving` (set
|
|
173
|
+
it on the frame's `translate` transitionrun, clear it on its
|
|
174
|
+
transitionend/transitioncancel). The docs include reactive switching examples.
|
|
184
175
|
|
|
185
176
|
### Sortable
|
|
186
177
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
178
|
+
`sortable(items, template, options)` renders a `ReactiveArray` and lets its
|
|
179
|
+
items be dragged: spread `attributes` on the container and render the items
|
|
180
|
+
inside it with `render()`. Each item renders one element and spreads the
|
|
181
|
+
attributes its template is handed on it; they own its `onpointerdown`. A control
|
|
182
|
+
inside an item with an `onpointerdown` of its own keeps its presses, and an item
|
|
183
|
+
of a list nested in another's drags in its own list alone.
|
|
184
|
+
|
|
185
|
+
A dragged item stays in its list as its own placeholder (`.sortable-item--held`:
|
|
186
|
+
its contents fade out behind a dashed outline) and moves through the list as the
|
|
187
|
+
pointer does, sorting `items` live so it keeps its node; the siblings slide
|
|
188
|
+
around it. A copy follows the pointer from the top layer, swinging with the
|
|
189
|
+
drag's momentum and pivoting on the grab point, then lands on the item. The copy
|
|
190
|
+
renders the `drag` template when given one, the item's own template otherwise;
|
|
191
|
+
anything with `.sortable-overlay` inside it shows only in the copy. `onsort`
|
|
192
|
+
receives the move once the item has landed.
|
|
191
193
|
|
|
192
194
|
```typescript
|
|
195
|
+
let tools = new ReactiveArray([{ label: 'Reload' }, { label: 'Share' }]),
|
|
196
|
+
list = sortable(tools, (tool, attributes) => html`<button ${attributes}>…<span class='sortable-overlay'>${tool.label}</span></button>`, {
|
|
197
|
+
// Optional: a different look while it is carried.
|
|
198
|
+
drag: (tool) => html`<div class='toolbar-chip'>${tool.label}</div>`,
|
|
199
|
+
handle: '.grip',
|
|
200
|
+
onsort: (tool, from, to) => {}
|
|
201
|
+
});
|
|
202
|
+
|
|
193
203
|
html`
|
|
194
|
-
<div class='toolbar sortable--bouncy sortable--jiggle' ${
|
|
195
|
-
|
|
204
|
+
<div class='toolbar sortable--bouncy sortable--jiggle' ${list.attributes}>
|
|
205
|
+
${list.render()}
|
|
196
206
|
</div>
|
|
197
207
|
`;
|
|
198
208
|
```
|
|
199
209
|
|
|
200
|
-
Give several
|
|
201
|
-
|
|
202
|
-
the
|
|
210
|
+
Give several lists the same `group` to let items move between them. The item
|
|
211
|
+
follows the pointer into whichever list it is over, and the `onsort` of the list
|
|
212
|
+
the drag started in receives both arrays. A move between lists splices the item
|
|
213
|
+
out of one and into the other as it happens, which renders it afresh and
|
|
214
|
+
disposes a reactive object moved that way:
|
|
203
215
|
|
|
204
216
|
```typescript
|
|
205
|
-
let options = { group: 'board', onsort: (item, from, to, source, target) => {} }
|
|
217
|
+
let options = { group: 'board', onsort: (item, from, to, source, target) => {} },
|
|
218
|
+
todo = sortable(todoItems, card, options),
|
|
219
|
+
done = sortable(doneItems, card, options);
|
|
206
220
|
|
|
207
221
|
html`
|
|
208
|
-
<ul ${
|
|
209
|
-
<ul ${
|
|
222
|
+
<ul ${todo.attributes}>${todo.render()}</ul>
|
|
223
|
+
<ul ${done.attributes}>${done.render()}</ul>
|
|
210
224
|
`;
|
|
211
225
|
```
|
|
212
226
|
|
|
@@ -219,43 +233,6 @@ Combine up to one modifier of each kind:
|
|
|
219
233
|
|
|
220
234
|
The DOM is reordered directly; reactive lists should update their data in `onsort`.
|
|
221
235
|
|
|
222
|
-
### Task List and Web Search
|
|
223
|
-
|
|
224
|
-
Both stream an agent's work one unit at a time. A task is one unit for its
|
|
225
|
-
header plus one per step; a search step is one unit, plus one more for its
|
|
226
|
-
Sources row when it has `sources`. On their own they pace themselves
|
|
227
|
-
(`startDelay`, `stepInterval`, and per-step `dwell` for web search) and call
|
|
228
|
-
`onComplete` once the last unit lands. Pass `state` to drive them from real
|
|
229
|
-
events instead; the internal timer switches off.
|
|
230
|
-
|
|
231
|
-
```typescript
|
|
232
|
-
import { taskList, webSearch } from '@esportsplus/ui';
|
|
233
|
-
|
|
234
|
-
taskList({
|
|
235
|
-
collapseOnComplete: 'all',
|
|
236
|
-
onComplete: () => showAnswer(),
|
|
237
|
-
tasks: [
|
|
238
|
-
{ runningTitle: 'Editing files', steps: [{ chips: [{ label: 'layout.tsx' }], label: 'Wired it into' }], title: 'Registered the toggle' }
|
|
239
|
-
]
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
let state = reactive({ revealed: 0 });
|
|
243
|
-
|
|
244
|
-
webSearch({
|
|
245
|
-
state,
|
|
246
|
-
steps: [
|
|
247
|
-
{ brand: 'reddit', label: 'Searched Reddit for', meta: '12 threads', query: 'design tokens' },
|
|
248
|
-
{ label: 'Opened the top results', sources: [{ brand: 'github', domain: 'github.com', href: 'https://github.com', title: 'Registry model' }] }
|
|
249
|
-
]
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
// Advance as each tool call resolves.
|
|
253
|
-
state.revealed++;
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
`working` relabels the trailing indicator, or `false` drops it. `brand` accepts
|
|
257
|
-
any of the 24 built-in site marks; anything else takes an `icon`.
|
|
258
|
-
|
|
259
236
|
### Factory Pattern
|
|
260
237
|
|
|
261
238
|
Components use `template.factory()` supporting flexible call signatures:
|
|
@@ -335,6 +312,20 @@ Styles are organized into layers for proper cascade:
|
|
|
335
312
|
@use '@esportsplus/ui/themes/dark/*.scss';
|
|
336
313
|
```
|
|
337
314
|
|
|
315
|
+
### Icons
|
|
316
|
+
|
|
317
|
+
The icons the components use are exported from `@esportsplus/ui/svg/*.svg`, so a site can match them:
|
|
318
|
+
|
|
319
|
+
```typescript
|
|
320
|
+
import check from '@esportsplus/ui/svg/check.svg';
|
|
321
|
+
import { icon } from '@esportsplus/ui';
|
|
322
|
+
|
|
323
|
+
icon({ class: 'my-check' }, check);
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
Like the components' own SVG imports, these resolve to sprite symbol ids through `@esportsplus/vite`'s svg
|
|
327
|
+
plugin. `check.svg` carries no stroke styling, so set `fill: none` and a `stroke` on the rendered `svg`.
|
|
328
|
+
|
|
338
329
|
### Design Tokens
|
|
339
330
|
|
|
340
331
|
Located in `tokens.scss`:
|
|
@@ -358,7 +349,7 @@ Located in `tokens.scss`:
|
|
|
358
349
|
<p class="--text-uppercase --color-grey-400">
|
|
359
350
|
|
|
360
351
|
<!-- States -->
|
|
361
|
-
<div class="--skeleton
|
|
352
|
+
<div class="--skeleton">
|
|
362
353
|
```
|
|
363
354
|
|
|
364
355
|
### Component Variables
|
|
@@ -463,7 +454,7 @@ type State = {
|
|
|
463
454
|
|
|
464
455
|
## Credits
|
|
465
456
|
|
|
466
|
-
Many interaction designs (
|
|
457
|
+
Many interaction designs (carousels, pickers, text effects and more) are ported from
|
|
467
458
|
[ui-lab](https://github.com/xevrion/ui-lab) by Yash Bavadiya, MIT licensed, © 2026 Yash Bavadiya.
|
|
468
459
|
|
|
469
460
|
## License
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as template_u1 from '@esportsplus/template';
|
|
2
|
-
import more from './more.js';
|
|
3
2
|
import './scss/index.scss';
|
|
4
|
-
declare const
|
|
3
|
+
declare const _default: {
|
|
5
4
|
(): template_u1.Renderable<any>;
|
|
6
5
|
<T extends {
|
|
7
6
|
class?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
8
7
|
onconnect?: ((element: HTMLElement) => void) | undefined;
|
|
9
8
|
ondisconnect?: ((element: HTMLElement) => void) | undefined;
|
|
10
|
-
|
|
9
|
+
onfirstpaint?: ((element: HTMLElement) => void) | undefined;
|
|
11
10
|
ontick?: ((dispose: VoidFunction, element: HTMLElement) => void) | undefined;
|
|
12
11
|
style?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
13
12
|
} & {
|
|
@@ -713,9 +712,15 @@ declare const base: {
|
|
|
713
712
|
onwindowwebkitanimationstart?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
714
713
|
onwindowwebkittransitionend?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
715
714
|
onwindowwheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
715
|
+
} & {
|
|
716
|
+
onactivetouchmove?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
717
|
+
onactivetouchstart?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
718
|
+
onactivewheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
716
719
|
} & Record<PropertyKey, unknown> & {
|
|
720
|
+
lines?: number;
|
|
717
721
|
state?: {
|
|
718
722
|
active: boolean | number;
|
|
723
|
+
expandable?: boolean;
|
|
719
724
|
};
|
|
720
725
|
}>(attributes: T): template_u1.Renderable<any>;
|
|
721
726
|
<T extends template_u1.Renderable<any>>(content: T): template_u1.Renderable<any>;
|
|
@@ -723,7 +728,7 @@ declare const base: {
|
|
|
723
728
|
class?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
724
729
|
onconnect?: ((element: HTMLElement) => void) | undefined;
|
|
725
730
|
ondisconnect?: ((element: HTMLElement) => void) | undefined;
|
|
726
|
-
|
|
731
|
+
onfirstpaint?: ((element: HTMLElement) => void) | undefined;
|
|
727
732
|
ontick?: ((dispose: VoidFunction, element: HTMLElement) => void) | undefined;
|
|
728
733
|
style?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
729
734
|
} & {
|
|
@@ -1429,9 +1434,15 @@ declare const base: {
|
|
|
1429
1434
|
onwindowwebkitanimationstart?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
1430
1435
|
onwindowwebkittransitionend?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
1431
1436
|
onwindowwheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
1437
|
+
} & {
|
|
1438
|
+
onactivetouchmove?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
1439
|
+
onactivetouchstart?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
1440
|
+
onactivewheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
1432
1441
|
} & Record<PropertyKey, unknown> & {
|
|
1442
|
+
lines?: number;
|
|
1433
1443
|
state?: {
|
|
1434
1444
|
active: boolean | number;
|
|
1445
|
+
expandable?: boolean;
|
|
1435
1446
|
};
|
|
1436
1447
|
}, content?: template_u1.Renderable<any>): template_u1.Renderable<any>;
|
|
1437
1448
|
bind(context: {
|
|
@@ -1439,7 +1450,7 @@ declare const base: {
|
|
|
1439
1450
|
class?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
1440
1451
|
onconnect?: ((element: HTMLElement) => void) | undefined;
|
|
1441
1452
|
ondisconnect?: ((element: HTMLElement) => void) | undefined;
|
|
1442
|
-
|
|
1453
|
+
onfirstpaint?: ((element: HTMLElement) => void) | undefined;
|
|
1443
1454
|
ontick?: ((dispose: VoidFunction, element: HTMLElement) => void) | undefined;
|
|
1444
1455
|
style?: template_u1.Attribute<HTMLElement>[] | template_u1.Attribute<HTMLElement>;
|
|
1445
1456
|
} & {
|
|
@@ -2145,15 +2156,18 @@ declare const base: {
|
|
|
2145
2156
|
onwindowwebkitanimationstart?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
2146
2157
|
onwindowwebkittransitionend?: ((this: HTMLElement, event: Event) => void) | undefined;
|
|
2147
2158
|
onwindowwheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
2159
|
+
} & {
|
|
2160
|
+
onactivetouchmove?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
2161
|
+
onactivetouchstart?: ((this: HTMLElement, event: TouchEvent) => void) | undefined;
|
|
2162
|
+
onactivewheel?: ((this: HTMLElement, event: WheelEvent) => void) | undefined;
|
|
2148
2163
|
} & Record<PropertyKey, unknown> & {
|
|
2164
|
+
lines?: number;
|
|
2149
2165
|
state?: {
|
|
2150
2166
|
active: boolean | number;
|
|
2167
|
+
expandable?: boolean;
|
|
2151
2168
|
};
|
|
2152
2169
|
}> | undefined;
|
|
2153
2170
|
content?: template_u1.Renderable<any>;
|
|
2154
2171
|
}): any;
|
|
2155
2172
|
};
|
|
2156
|
-
|
|
2157
|
-
more: typeof more;
|
|
2158
|
-
};
|
|
2159
|
-
export default accordion;
|
|
2173
|
+
export default _default;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
2
|
+
import { effect } from '@esportsplus/reactivity';
|
|
2
3
|
import * as template_u1 from '@esportsplus/template';
|
|
3
4
|
import { component } from '@esportsplus/template';
|
|
4
|
-
import
|
|
5
|
+
import { observeSize } from '../../shared/resize.js';
|
|
6
|
+
import { trackTransition } from '../../shared/transition.js';
|
|
5
7
|
import './scss/index.scss';
|
|
6
|
-
const
|
|
8
|
+
const template_04mlrpv4 = template_u1.template(`<div class='accordion'><div class='accordion-content'>`);
|
|
7
9
|
class ReactiveObject_04mlrpv0 extends reactivity_u0.ReactiveObject {
|
|
8
10
|
#active = this[reactivity_u0.SIGNAL](false);
|
|
11
|
+
#expandable = this[reactivity_u0.SIGNAL](false);
|
|
9
12
|
constructor() {
|
|
10
13
|
super(null);
|
|
11
14
|
}
|
|
@@ -15,16 +18,97 @@ class ReactiveObject_04mlrpv0 extends reactivity_u0.ReactiveObject {
|
|
|
15
18
|
set active(_v0) {
|
|
16
19
|
reactivity_u0.write(this.#active, _v0);
|
|
17
20
|
}
|
|
21
|
+
get expandable() {
|
|
22
|
+
return reactivity_u0.read(this.#expandable);
|
|
23
|
+
}
|
|
24
|
+
set expandable(_v1) {
|
|
25
|
+
reactivity_u0.write(this.#expandable, _v1);
|
|
26
|
+
}
|
|
18
27
|
}
|
|
19
|
-
|
|
28
|
+
class ReactiveObject_04mlrpv1 extends reactivity_u0.ReactiveObject {
|
|
29
|
+
#scrollable = this[reactivity_u0.SIGNAL](false);
|
|
30
|
+
constructor() {
|
|
31
|
+
super(null);
|
|
32
|
+
}
|
|
33
|
+
get scrollable() {
|
|
34
|
+
return reactivity_u0.read(this.#scrollable);
|
|
35
|
+
}
|
|
36
|
+
set scrollable(_v0) {
|
|
37
|
+
reactivity_u0.write(this.#scrollable, _v0);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
class ReactiveObject_04mlrpv2 extends reactivity_u0.ReactiveObject {
|
|
41
|
+
#height = this[reactivity_u0.SIGNAL](0);
|
|
42
|
+
#instant = this[reactivity_u0.SIGNAL](true);
|
|
43
|
+
constructor() {
|
|
44
|
+
super(null);
|
|
45
|
+
}
|
|
46
|
+
get height() {
|
|
47
|
+
return reactivity_u0.read(this.#height);
|
|
48
|
+
}
|
|
49
|
+
set height(_v0) {
|
|
50
|
+
reactivity_u0.write(this.#height, _v0);
|
|
51
|
+
}
|
|
52
|
+
get instant() {
|
|
53
|
+
return reactivity_u0.read(this.#instant);
|
|
54
|
+
}
|
|
55
|
+
set instant(_v1) {
|
|
56
|
+
reactivity_u0.write(this.#instant, _v1);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export default component(function ({ lines, state = new ReactiveObject_04mlrpv0(), ...attributes }, content) {
|
|
60
|
+
let a, c, property = lines === undefined ? 'grid-template-rows' : 'height', ui = new ReactiveObject_04mlrpv1(), viewport;
|
|
61
|
+
let motion = trackTransition(property, (running, element) => {
|
|
62
|
+
ui.scrollable = !!state.active && !!element && !running;
|
|
63
|
+
});
|
|
64
|
+
effect(() => {
|
|
65
|
+
let active = !!state.active;
|
|
66
|
+
ui.scrollable = false;
|
|
67
|
+
if (!active) {
|
|
68
|
+
viewport?.scrollTo({ top: 0, behavior: 'instant' });
|
|
69
|
+
}
|
|
70
|
+
motion.settle();
|
|
71
|
+
});
|
|
72
|
+
if (lines !== undefined) {
|
|
73
|
+
let measured = new ReactiveObject_04mlrpv2();
|
|
74
|
+
a = {
|
|
75
|
+
class: ['accordion--more', () => measured.instant && 'accordion--instant'],
|
|
76
|
+
onfirstpaint: () => {
|
|
77
|
+
measured.instant = false;
|
|
78
|
+
},
|
|
79
|
+
style: [
|
|
80
|
+
() => measured.height && `--height: ${measured.height}px;`,
|
|
81
|
+
`--lines: ${lines};`
|
|
82
|
+
]
|
|
83
|
+
};
|
|
84
|
+
c = observeSize(({ height }, element) => {
|
|
85
|
+
let computed = getComputedStyle(element), line = parseFloat(computed.lineHeight) || parseFloat(computed.fontSize) * 1.2;
|
|
86
|
+
state.expandable = height > Math.ceil(line * lines);
|
|
87
|
+
measured.height = height;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
20
90
|
return (() => {
|
|
21
|
-
let
|
|
22
|
-
template_u1.
|
|
23
|
-
template_u1.
|
|
24
|
-
template_u1.
|
|
25
|
-
template_u1.
|
|
26
|
-
|
|
91
|
+
let root_04mlrpv3 = template_04mlrpv4(), element_04mlrpv5 = root_04mlrpv3.firstChild, element_04mlrpv6 = element_04mlrpv5.firstElementChild;
|
|
92
|
+
template_u1.slot(element_04mlrpv6, content, 1);
|
|
93
|
+
template_u1.setProperties(element_04mlrpv6, c);
|
|
94
|
+
template_u1.setProperties(element_04mlrpv5, attributes);
|
|
95
|
+
template_u1.setProperties(element_04mlrpv5, a);
|
|
96
|
+
template_u1.setProperties(element_04mlrpv5, {
|
|
97
|
+
...motion.attributes,
|
|
98
|
+
class: [
|
|
99
|
+
() => state.active && '--active',
|
|
100
|
+
() => state.active && ui.scrollable && 'accordion--scrollable'
|
|
101
|
+
],
|
|
102
|
+
inert: () => lines === undefined && !state.active,
|
|
103
|
+
onconnect: (element) => {
|
|
104
|
+
viewport = element;
|
|
105
|
+
motion.attributes.onconnect(element);
|
|
106
|
+
},
|
|
107
|
+
ondisconnect: () => {
|
|
108
|
+
motion.attributes.ondisconnect();
|
|
109
|
+
viewport = undefined;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
return root_04mlrpv3;
|
|
27
113
|
})();
|
|
28
114
|
});
|
|
29
|
-
const accordion = Object.assign(base, { more });
|
|
30
|
-
export default accordion;
|