@esportsplus/ui 0.61.0 → 0.63.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/.audit/audit.json +4 -132
- package/.audit/check-scss.mjs +2 -2
- package/.audit/rules-audit.md +3 -28
- package/README.md +18 -17
- package/RULES.md +30 -0
- package/build/components/accordion/index.d.ts +5 -1
- package/build/components/accordion/index.js +29 -27
- package/build/components/accordion/scss/index.scss +1 -1
- package/build/components/announcement/index.d.ts +720 -2164
- package/build/components/announcement/index.js +12 -9
- package/build/components/announcement/scss/index.scss +1 -1
- package/build/components/breadcrumb/index.d.ts +4 -1
- package/build/components/breadcrumb/index.js +54 -49
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/copy.d.ts +1 -10
- package/build/components/button/copy.js +14 -11
- package/build/components/button/faces.d.ts +2 -1
- package/build/components/button/faces.js +9 -10
- package/build/components/button/kbd.d.ts +2 -10
- package/build/components/button/kbd.js +17 -15
- package/build/components/button/morph/index.d.ts +1443 -2165
- package/build/components/button/morph/save.d.ts +1 -10
- package/build/components/button/morph/save.js +5 -5
- package/build/components/button/morph/template.d.ts +2 -1
- package/build/components/button/morph/template.js +49 -29
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/sidebar.d.ts +1 -10
- package/build/components/button/sidebar.js +14 -12
- package/build/components/button/split.d.ts +6 -1
- package/build/components/button/split.js +16 -11
- package/build/components/capslock/index.d.ts +1 -10
- package/build/components/capslock/index.js +16 -13
- package/build/components/capslock/scss/index.scss +1 -1
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/chat/minimap/index.d.ts +12 -1
- package/build/components/chat/minimap/index.js +98 -74
- package/build/components/checkbox/group.d.ts +2 -10
- package/build/components/checkbox/group.js +39 -29
- package/build/components/checkbox/options.d.ts +5005 -6440
- package/build/components/checkbox/options.js +72 -44
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/color-picker/index.d.ts +10 -1
- package/build/components/color-picker/index.js +99 -82
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/palette.d.ts +13 -5
- package/build/components/command/palette.js +141 -130
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/command/search.d.ts +2 -20
- package/build/components/command/search.js +17 -16
- package/build/components/container/scss/index.scss +1 -1
- package/build/components/counter/index.d.ts +1 -10
- package/build/components/counter/index.js +34 -31
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/dock/index.d.ts +4 -1
- package/build/components/dock/index.js +154 -114
- package/build/components/dock/scss/index.scss +1 -1
- package/build/components/editor/code/editor.d.ts +1 -10
- package/build/components/editor/code/features.d.ts +3 -3
- package/build/components/editor/code/features.js +65 -52
- package/build/components/editor/code/field.d.ts +1 -1
- package/build/components/editor/code/find.d.ts +4 -4
- package/build/components/editor/code/find.js +39 -37
- package/build/components/editor/code/folding.d.ts +1 -1
- package/build/components/editor/code/goto.d.ts +2 -1
- package/build/components/editor/code/goto.js +7 -7
- package/build/components/editor/code/gutter.js +12 -12
- package/build/components/editor/code/html.d.ts +4 -0
- package/build/components/editor/code/html.js +8 -0
- package/build/components/editor/code/minimap.d.ts +4 -10
- package/build/components/editor/code/minimap.js +18 -13
- package/build/components/editor/code/rows.js +6 -12
- package/build/components/editor/code/search.d.ts +1 -2
- package/build/components/editor/code/search.js +1 -1
- package/build/components/editor/code/services/index.d.ts +1 -1
- package/build/components/editor/code/services/index.js +27 -23
- package/build/components/editor/code/services/model.d.ts +1 -5
- package/build/components/editor/code/services/model.js +1 -1
- package/build/components/editor/code/services/session.d.ts +3 -2
- package/build/components/editor/code/services/session.js +1 -4
- package/build/components/editor/code/syntax.d.ts +1 -1
- package/build/components/editor/code/view.d.ts +2 -1
- package/build/components/editor/code/view.js +50 -39
- package/build/components/editor/diffs/merge.d.ts +1 -10
- package/build/components/editor/diffs/merge.js +126 -102
- package/build/components/editor/diffs/render.d.ts +1 -2
- package/build/components/editor/diffs/render.js +2 -8
- package/build/components/editor/diffs/view.d.ts +1 -10
- package/build/components/editor/diffs/view.js +112 -105
- package/build/components/editor/markdown/editing.d.ts +1 -1
- package/build/components/editor/markdown/erase.js +1 -1
- package/build/components/editor/markdown/format.d.ts +23 -0
- package/build/components/editor/markdown/format.js +319 -0
- package/build/components/editor/markdown/html.d.ts +1 -1
- package/build/components/editor/markdown/inline.d.ts +1 -1
- package/build/components/editor/markdown/inline.js +6 -5
- package/build/components/editor/markdown/layout.d.ts +1 -3
- package/build/components/editor/markdown/layout.js +1 -1
- package/build/components/editor/markdown/model.d.ts +3 -9
- package/build/components/editor/markdown/model.js +1 -8
- package/build/components/editor/markdown/render.d.ts +2 -1
- package/build/components/editor/markdown/render.js +278 -247
- package/build/components/editor/markdown/template.d.ts +1 -10
- package/build/components/editor/markdown/toolbar.d.ts +32 -0
- package/build/components/editor/markdown/toolbar.js +556 -0
- package/build/components/editor/markdown/view.d.ts +12 -1
- package/build/components/editor/markdown/view.js +154 -60
- package/build/components/editor/tree/compact.d.ts +2 -1
- package/build/components/editor/tree/compact.js +12 -11
- package/build/components/editor/tree/drag.d.ts +3 -2
- package/build/components/editor/tree/drag.js +29 -26
- package/build/components/editor/tree/edit.d.ts +1 -1
- package/build/components/editor/tree/edit.js +10 -9
- package/build/components/editor/tree/find.d.ts +1 -1
- package/build/components/editor/tree/find.js +10 -6
- package/build/components/editor/tree/icons.d.ts +1 -1
- package/build/components/editor/tree/icons.js +1 -1
- package/build/components/editor/tree/lazy.d.ts +2 -1
- package/build/components/editor/tree/lazy.js +17 -16
- package/build/components/editor/tree/sticky.d.ts +3 -2
- package/build/components/editor/tree/sticky.js +7 -6
- package/build/components/editor/tree/template.d.ts +2 -1
- package/build/components/editor/tree/template.js +144 -157
- package/build/components/editor/viewer/model.js +1 -7
- package/build/components/editor/viewer/template.d.ts +1 -10
- package/build/components/editor/viewer/template.js +74 -65
- package/build/components/editor/workspace/navigate.d.ts +2 -1
- package/build/components/editor/workspace/navigate.js +2 -4
- package/build/components/editor/workspace/session.d.ts +2 -1
- package/build/components/editor/workspace/session.js +14 -9
- package/build/components/editor/workspace/shortcuts.js +39 -33
- package/build/components/editor/workspace/status.js +2 -2
- package/build/components/editor/workspace/statusbar.d.ts +2 -1
- package/build/components/editor/workspace/statusbar.js +49 -48
- package/build/components/editor/workspace/strip.js +6 -5
- package/build/components/editor/workspace/template.d.ts +2 -10
- package/build/components/editor/workspace/template.js +149 -144
- package/build/components/error/index.d.ts +1 -10
- package/build/components/error/index.js +64 -32
- package/build/components/error/scss/index.scss +1 -1
- package/build/components/filter/index.js +138 -74
- package/build/components/filter/scss/index.scss +1 -1
- package/build/components/form/action.d.ts +2 -2
- package/build/components/form/action.js +12 -9
- package/build/components/frame/scss/index.scss +1 -1
- package/build/components/group/index.d.ts +3 -1
- package/build/components/group/index.js +10 -7
- package/build/components/group/scss/index.scss +1 -1
- package/build/components/heatmap/index.d.ts +5 -2
- package/build/components/heatmap/index.js +72 -59
- package/build/components/heatmap/scss/index.scss +1 -1
- package/build/components/highlight/index.d.ts +1 -10
- package/build/components/highlight/index.js +21 -19
- package/build/components/highlight/scss/index.scss +1 -1
- package/build/components/icon/index.d.ts +1 -10
- package/build/components/icon/index.js +11 -10
- package/build/components/image/lazyload.d.ts +2 -1
- package/build/components/image/lazyload.js +29 -26
- package/build/components/image/scss/index.scss +1 -1
- package/build/components/index.d.ts +0 -4
- package/build/components/index.js +0 -4
- package/build/components/inline-edit/index.d.ts +5 -1
- package/build/components/inline-edit/index.js +34 -27
- package/build/components/inline-edit/rich.d.ts +10 -15
- package/build/components/inline-edit/rich.js +81 -1193
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/inline-edit/status.d.ts +3 -2
- package/build/components/inline-edit/status.js +22 -18
- package/build/components/input/field.d.ts +2 -1
- package/build/components/input/field.js +12 -9
- package/build/components/input/scrub.d.ts +4 -1
- package/build/components/input/scrub.js +25 -20
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/input/tag.d.ts +4 -2
- package/build/components/input/tag.js +58 -53
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/loading/index.d.ts +2 -1
- package/build/components/loading/index.js +6 -3
- package/build/components/loading/scss/index.scss +1 -1
- package/build/components/marquee/index.d.ts +2 -1
- package/build/components/marquee/index.js +77 -72
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/marquee/velocity.js +4 -3
- package/build/components/metric/flash.d.ts +2 -1
- package/build/components/metric/flash.js +25 -25
- package/build/components/metric/index.d.ts +13 -2
- package/build/components/metric/index.js +60 -56
- package/build/components/metric/scss/index.scss +1 -1
- package/build/components/nav/scss/index.scss +1 -1
- package/build/components/nav/spy.js +9 -6
- package/build/components/nav/toc.d.ts +1 -10
- package/build/components/nav/tree.d.ts +3 -1
- package/build/components/nav/tree.js +60 -58
- package/build/components/notification/index.d.ts +1 -10
- package/build/components/notification/index.js +26 -36
- package/build/components/notification/scss/index.scss +1 -1
- package/build/components/overlay/index.d.ts +4 -5
- package/build/components/overlay/index.js +399 -196
- package/build/components/overlay/popup.d.ts +5 -6
- package/build/components/overlay/popup.js +80 -39
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/pagination/arrows.d.ts +2 -1
- package/build/components/pagination/arrows.js +48 -45
- package/build/components/pagination/cards.d.ts +5 -2
- package/build/components/pagination/cards.js +70 -45
- package/build/components/pagination/dots.d.ts +3 -1
- package/build/components/pagination/dots.js +29 -24
- package/build/components/pagination/index.d.ts +2 -1
- package/build/components/pagination/index.js +27 -28
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/panels/dnd.js +30 -22
- package/build/components/panels/group.d.ts +3 -2
- package/build/components/panels/group.js +134 -131
- package/build/components/panels/index.d.ts +2 -10
- package/build/components/panels/index.js +84 -80
- package/build/components/panels/resize.js +39 -3
- package/build/components/panels/scss/index.scss +1 -1
- package/build/components/panels/subtree.d.ts +2 -1
- package/build/components/panels/subtree.js +8 -7
- package/build/components/preview/buttons.d.ts +2 -10
- package/build/components/preview/buttons.js +6 -6
- package/build/components/preview/code.d.ts +1 -10
- package/build/components/preview/code.js +6 -6
- package/build/components/preview/header.d.ts +2 -10
- package/build/components/preview/header.js +15 -12
- package/build/components/preview/index.d.ts +13 -8680
- package/build/components/preview/index.js +22 -22
- package/build/components/preview/scss/index.scss +1 -1
- package/build/components/preview/source.d.ts +1 -10
- package/build/components/preview/source.js +18 -15
- package/build/components/preview/stage.d.ts +2 -10
- package/build/components/preview/stage.js +19 -15
- package/build/components/progress/index.d.ts +2 -1
- package/build/components/progress/index.js +30 -26
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/progress/text.d.ts +2 -1
- package/build/components/progress/text.js +27 -25
- package/build/components/range/filter.d.ts +2 -1
- package/build/components/range/filter.js +126 -127
- package/build/components/range/index.d.ts +2 -1
- package/build/components/range/index.js +17 -22
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/relative-time/index.d.ts +3 -1
- package/build/components/relative-time/index.js +56 -41
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/select/expand.d.ts +44 -0
- package/build/components/select/expand.js +215 -0
- package/build/components/select/index.d.ts +18 -9
- package/build/components/select/index.js +108 -81
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/shell/index.d.ts +2 -1
- package/build/components/shell/index.js +127 -109
- package/build/components/shell/scss/index.scss +1 -1
- package/build/components/shortcut-recorder/index.js +46 -43
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/index.d.ts +2 -714
- package/build/components/sortable/index.js +75 -64
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/story/index.d.ts +4 -10
- package/build/components/story/index.js +121 -63
- package/build/components/story/scss/index.scss +1 -1
- package/build/components/surface-field/engine.js +51 -53
- package/build/components/surface-field/index.d.ts +2180 -2921
- package/build/components/surface-field/index.js +42 -38
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/surface-field/surface.d.ts +1 -10
- package/build/components/surface-field/surface.js +42 -36
- package/build/components/tasklist/index.d.ts +8 -1
- package/build/components/tasklist/index.js +63 -46
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/textarea/index.d.ts +722 -2170
- package/build/components/textarea/index.js +67 -91
- package/build/components/textarea/scss/index.scss +1 -1
- package/build/components/theme/cards.d.ts +4 -0
- package/build/components/theme/cards.js +21 -0
- package/build/components/theme/index.d.ts +12 -3
- package/build/components/theme/index.js +38 -14
- package/build/components/theme/reveal.d.ts +6 -0
- package/build/components/theme/reveal.js +100 -0
- package/build/components/theme/scss/index.scss +1 -1
- package/build/components/{theme-picker → theme}/shared.d.ts +4 -4
- package/build/components/{theme-picker → theme}/shared.js +5 -3
- package/build/components/theme/swatches.d.ts +4 -0
- package/build/components/theme/swatches.js +21 -0
- package/build/components/theme/toggle.d.ts +15 -0
- package/build/components/theme/toggle.js +33 -0
- package/build/components/toast/index.d.ts +6 -2
- package/build/components/toast/index.js +62 -50
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/tooltip/menu.d.ts +10 -2
- package/build/components/tooltip/menu.js +194 -179
- package/build/components/tooltip/onclick.d.ts +1 -10
- package/build/components/tooltip/onclick.js +25 -27
- package/build/components/tooltip/onhover.d.ts +8 -709
- package/build/components/tooltip/onhover.js +60 -60
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/tooltip/shared.d.ts +5 -3
- package/build/components/tooltip/shared.js +201 -91
- package/build/components/tooltip/utilities.d.ts +10 -4
- package/build/components/tooltip/utilities.js +95 -18
- package/build/components/typewriter/index.d.ts +2855 -1413
- package/build/components/typewriter/index.js +17 -18
- package/build/components/typewriter/retype.d.ts +2 -1
- package/build/components/typewriter/retype.js +21 -18
- package/build/components/typewriter/rotate.d.ts +2 -1
- package/build/components/typewriter/rotate.js +34 -29
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/index.d.ts +2 -1
- package/build/components/uptime/index.js +51 -47
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/index.d.ts +719 -2161
- package/build/components/usage-meter/index.js +23 -20
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/modifiers/border/scss/index.scss +1 -1
- package/build/modifiers/box-shadow/scss/index.scss +1 -1
- package/build/modifiers/color/scss/index.scss +1 -1
- package/build/modifiers/disabled/scss/index.scss +2 -0
- package/build/modifiers/glass/index.d.ts +3 -2
- package/build/modifiers/glass/index.js +7 -7
- package/build/modifiers/glass/scss/index.scss +1 -1
- package/build/modifiers/scrollbar/index.d.ts +13 -13
- package/build/modifiers/scrollbar/index.js +74 -90
- package/build/modifiers/scrollbar/scss/index.scss +1 -1
- package/build/shared/animation.d.ts +1 -1
- package/build/shared/animation.js +5 -3
- package/build/shared/dispatch.d.ts +7 -0
- package/build/shared/dispatch.js +25 -0
- package/build/shared/drag.d.ts +2 -4
- package/build/shared/press.d.ts +1 -1
- package/build/shared/press.js +5 -3
- package/build/shared/resize.js +2 -25
- package/build/shared/transition.d.ts +1 -1
- package/build/shared/transition.js +2 -2
- package/build/shared/visible.js +1 -24
- package/package.json +13 -14
- package/src/components/accordion/index.ts +2 -4
- package/src/components/accordion/scss/index.scss +17 -14
- package/src/components/accordion/scss/variables.scss +6 -7
- package/src/components/announcement/scss/index.scss +8 -13
- package/src/components/announcement/scss/variables.scss +12 -8
- package/src/components/breadcrumb/index.ts +4 -4
- package/src/components/breadcrumb/scss/index.scss +12 -12
- package/src/components/breadcrumb/scss/variables.scss +5 -12
- package/src/components/button/copy.ts +1 -1
- package/src/components/button/kbd.ts +8 -7
- package/src/components/button/morph/save.ts +2 -2
- package/src/components/button/morph/template.ts +18 -20
- package/src/components/button/scss/index.scss +84 -59
- package/src/components/button/scss/variables.scss +44 -29
- package/src/components/button/sidebar.ts +2 -2
- package/src/components/button/split.ts +7 -8
- package/src/components/capslock/index.ts +4 -4
- package/src/components/capslock/scss/index.scss +4 -2
- package/src/components/capslock/scss/variables.scss +14 -15
- package/src/components/card/scss/index.scss +10 -19
- package/src/components/card/scss/variables.scss +6 -2
- package/src/components/chat/minimap/index.ts +14 -13
- package/src/components/chat/minimap/scss/index.scss +19 -28
- package/src/components/chat/minimap/scss/variables.scss +33 -29
- package/src/components/checkbox/group.ts +5 -5
- package/src/components/checkbox/options.ts +2 -2
- package/src/components/checkbox/scss/index.scss +10 -6
- package/src/components/checkbox/scss/variables.scss +59 -44
- package/src/components/clipboard/write.ts +2 -1
- package/src/components/color-picker/index.ts +9 -11
- package/src/components/color-picker/scss/index.scss +2 -2
- package/src/components/color-picker/scss/variables.scss +26 -41
- package/src/components/command/palette.ts +15 -29
- package/src/components/command/scss/index.scss +8 -13
- package/src/components/command/scss/variables.scss +8 -8
- package/src/components/command/search.ts +3 -8
- package/src/components/container/scss/index.scss +2 -4
- package/src/components/container/scss/variables.scss +0 -2
- package/src/components/counter/index.ts +2 -1
- package/src/components/counter/scss/index.scss +2 -1
- package/src/components/counter/scss/variables.scss +3 -9
- package/src/components/dock/index.ts +17 -8
- package/src/components/dock/scss/index.scss +26 -56
- package/src/components/dock/scss/variables.scss +11 -20
- package/src/components/editor/code/features.ts +4 -5
- package/src/components/editor/code/field.ts +1 -1
- package/src/components/editor/code/find.ts +1 -1
- package/src/components/editor/code/folding.ts +1 -1
- package/src/components/editor/code/html.ts +17 -0
- package/src/components/editor/code/minimap.ts +7 -5
- package/src/components/editor/code/rows.ts +1 -14
- package/src/components/editor/code/scss/_editor.scss +10 -23
- package/src/components/editor/code/scss/_features.scss +17 -26
- package/src/components/editor/code/scss/_minimap.scss +29 -0
- package/src/components/editor/code/scss/_services.scss +4 -7
- package/src/components/editor/code/scss/index.scss +0 -1
- package/src/components/editor/code/scss/variables.scss +22 -14
- package/src/components/editor/code/search.ts +1 -1
- package/src/components/editor/code/services/completion.ts +1 -0
- package/src/components/editor/code/services/hover.ts +1 -0
- package/src/components/editor/code/services/index.ts +1 -1
- package/src/components/editor/code/services/model.ts +1 -1
- package/src/components/editor/code/services/session.ts +1 -4
- package/src/components/editor/code/syntax.ts +1 -1
- package/src/components/editor/diffs/merge.ts +3 -3
- package/src/components/editor/diffs/render.ts +2 -17
- package/src/components/editor/diffs/scss/_diffs.scss +22 -57
- package/src/components/editor/diffs/scss/_merge.scss +8 -29
- package/src/components/editor/diffs/scss/variables.scss +1 -10
- package/src/components/editor/diffs/view.ts +4 -5
- package/src/components/editor/markdown/editing.ts +1 -1
- package/src/components/editor/markdown/erase.ts +3 -3
- package/src/components/editor/markdown/format.ts +517 -0
- package/src/components/editor/markdown/html.ts +1 -1
- package/src/components/editor/markdown/inline.ts +9 -6
- package/src/components/editor/markdown/layout.ts +1 -1
- package/src/components/editor/markdown/model.ts +2 -17
- package/src/components/editor/markdown/render.ts +3 -2
- package/src/components/editor/markdown/scss/index.scss +132 -57
- package/src/components/editor/markdown/scss/variables.scss +124 -4
- package/src/components/editor/markdown/toolbar.ts +628 -0
- package/src/components/editor/markdown/view.ts +121 -10
- package/src/components/editor/tree/drag.ts +16 -15
- package/src/components/editor/tree/icons.ts +1 -1
- package/src/components/editor/tree/scss/index.scss +69 -44
- package/src/components/editor/tree/scss/variables.scss +75 -44
- package/src/components/editor/tree/sticky.ts +1 -1
- package/src/components/editor/tree/template.ts +2 -2
- package/src/components/editor/viewer/model.ts +1 -14
- package/src/components/editor/viewer/scss/_viewer.scss +22 -72
- package/src/components/editor/viewer/scss/index.scss +1 -1
- package/src/components/editor/viewer/scss/variables.scss +1 -3
- package/src/components/editor/viewer/template.ts +4 -2
- package/src/components/editor/workspace/navigate.ts +3 -6
- package/src/components/editor/workspace/scss/_keybindings.scss +9 -7
- package/src/components/editor/workspace/scss/_status.scss +14 -38
- package/src/components/editor/workspace/scss/_tabs.scss +6 -3
- package/src/components/editor/workspace/scss/index.scss +38 -33
- package/src/components/editor/workspace/scss/variables.scss +57 -53
- package/src/components/editor/workspace/session.ts +20 -13
- package/src/components/editor/workspace/status.ts +2 -2
- package/src/components/editor/workspace/template.ts +12 -21
- package/src/components/error/index.ts +36 -18
- package/src/components/error/scss/index.scss +3 -1
- package/src/components/error/scss/variables.scss +1 -0
- package/src/components/filter/index.ts +146 -99
- package/src/components/filter/scss/variables.scss +1 -1
- package/src/components/form/action.ts +1 -1
- package/src/components/frame/scss/index.scss +10 -6
- package/src/components/frame/scss/variables.scss +11 -6
- package/src/components/grid/scss/index.scss +1 -1
- package/src/components/grid/scss/variables.scss +1 -1
- package/src/components/heatmap/index.ts +2 -2
- package/src/components/heatmap/scss/index.scss +22 -17
- package/src/components/heatmap/scss/variables.scss +16 -34
- package/src/components/highlight/index.ts +0 -1
- package/src/components/highlight/scss/index.scss +13 -21
- package/src/components/highlight/scss/variables.scss +12 -14
- package/src/components/icon/index.ts +0 -4
- package/src/components/icon/scss/index.scss +2 -0
- package/src/components/image/lazyload.ts +1 -1
- package/src/components/image/scss/index.scss +14 -13
- package/src/components/image/scss/variables.scss +16 -12
- package/src/components/index.ts +0 -4
- package/src/components/inline-edit/index.ts +6 -5
- package/src/components/inline-edit/rich.ts +85 -1400
- package/src/components/inline-edit/scss/index.scss +24 -191
- package/src/components/inline-edit/scss/variables.scss +24 -191
- package/src/components/inline-edit/status.ts +6 -3
- package/src/components/input/field.ts +2 -2
- package/src/components/input/scrub.ts +1 -5
- package/src/components/input/scss/_scrub.scss +7 -0
- package/src/components/input/scss/_tag.scss +4 -2
- package/src/components/input/scss/index.scss +1 -2
- package/src/components/input/scss/variables.scss +14 -21
- package/src/components/input/tag.ts +6 -7
- package/src/components/json/download.ts +2 -1
- package/src/components/link/scss/index.scss +0 -1
- package/src/components/loading/index.ts +1 -1
- package/src/components/loading/scss/index.scss +4 -4
- package/src/components/loading/scss/variables.scss +4 -4
- package/src/components/marquee/index.ts +5 -5
- package/src/components/marquee/scss/index.scss +6 -4
- package/src/components/marquee/scss/variables.scss +3 -4
- package/src/components/marquee/velocity.ts +7 -3
- package/src/components/metric/flash.ts +1 -1
- package/src/components/metric/index.ts +5 -13
- package/src/components/metric/scss/_flash.scss +9 -4
- package/src/components/metric/scss/index.scss +11 -9
- package/src/components/metric/scss/variables.scss +73 -73
- package/src/components/nav/scss/index.scss +2 -1
- package/src/components/nav/scss/variables.scss +9 -11
- package/src/components/nav/spy.ts +15 -8
- package/src/components/nav/tree.ts +28 -30
- package/src/components/notification/index.ts +37 -16
- package/src/components/notification/scss/index.scss +32 -17
- package/src/components/notification/scss/variables.scss +12 -12
- package/src/components/overlay/index.ts +212 -142
- package/src/components/overlay/popup.ts +89 -52
- package/src/components/overlay/scss/index.scss +68 -85
- package/src/components/overlay/scss/variables.scss +15 -12
- package/src/components/pagination/cards.ts +1 -2
- package/src/components/pagination/index.ts +3 -9
- package/src/components/pagination/scss/index.scss +12 -12
- package/src/components/pagination/scss/variables.scss +39 -21
- package/src/components/panels/dnd.ts +35 -29
- package/src/components/panels/group.ts +5 -13
- package/src/components/panels/index.ts +4 -6
- package/src/components/panels/resize.ts +30 -4
- package/src/components/panels/scss/index.scss +13 -28
- package/src/components/panels/scss/variables.scss +3 -3
- package/src/components/preview/code.ts +1 -1
- package/src/components/preview/index.ts +12 -7
- package/src/components/preview/scss/index.scss +30 -15
- package/src/components/preview/scss/variables.scss +56 -34
- package/src/components/progress/scss/index.scss +14 -11
- package/src/components/progress/scss/variables.scss +34 -31
- package/src/components/progress/text.ts +9 -8
- package/src/components/range/filter.ts +9 -11
- package/src/components/range/index.ts +2 -9
- package/src/components/range/scss/_filter.scss +4 -3
- package/src/components/range/scss/_slider.scss +2 -1
- package/src/components/range/scss/variables.scss +2 -16
- package/src/components/relative-time/index.ts +15 -16
- package/src/components/relative-time/scss/index.scss +8 -4
- package/src/components/relative-time/scss/variables.scss +7 -3
- package/src/components/root/scss/index.scss +3 -0
- package/src/components/root/scss/variables.scss +11 -11
- package/src/components/select/expand.ts +272 -0
- package/src/components/select/index.ts +142 -119
- package/src/components/select/scss/index.scss +79 -7
- package/src/components/select/scss/variables.scss +67 -3
- package/src/components/shell/index.ts +73 -50
- package/src/components/shell/scss/index.scss +34 -47
- package/src/components/shell/scss/variables.scss +16 -16
- package/src/components/shortcut-recorder/index.ts +14 -17
- package/src/components/shortcut-recorder/scss/index.scss +15 -10
- package/src/components/shortcut-recorder/scss/variables.scss +4 -7
- package/src/components/sortable/index.ts +25 -28
- package/src/components/sortable/scss/index.scss +28 -27
- package/src/components/sortable/scss/variables.scss +12 -7
- package/src/components/story/index.ts +110 -47
- package/src/components/story/scss/index.scss +13 -18
- package/src/components/story/scss/variables.scss +4 -16
- package/src/components/surface-field/engine.ts +71 -72
- package/src/components/surface-field/index.ts +17 -20
- package/src/components/surface-field/scss/index.scss +9 -11
- package/src/components/surface-field/scss/variables.scss +20 -23
- package/src/components/surface-field/surface.ts +4 -3
- package/src/components/tasklist/index.ts +1 -6
- package/src/components/tasklist/scss/index.scss +22 -26
- package/src/components/tasklist/scss/variables.scss +14 -20
- package/src/components/textarea/index.ts +49 -91
- package/src/components/textarea/scss/index.scss +20 -15
- package/src/components/textarea/scss/variables.scss +15 -0
- package/src/components/theme/cards.ts +19 -0
- package/src/components/theme/index.ts +58 -17
- package/src/components/theme/reveal.ts +190 -0
- package/src/components/theme/scss/index.scss +109 -0
- package/src/components/theme/scss/variables.scss +153 -3
- package/src/components/{theme-picker → theme}/shared.ts +9 -6
- package/src/components/theme/swatches.ts +15 -0
- package/src/components/theme/toggle.ts +47 -0
- package/src/components/toast/index.ts +2 -3
- package/src/components/toast/scss/index.scss +63 -0
- package/src/components/toast/scss/variables.scss +121 -16
- package/src/components/tooltip/menu.ts +141 -131
- package/src/components/tooltip/onclick.ts +16 -21
- package/src/components/tooltip/onhover.ts +5 -8
- package/src/components/tooltip/scss/index.scss +534 -56
- package/src/components/tooltip/scss/variables.scss +64 -13
- package/src/components/tooltip/shared.ts +129 -87
- package/src/components/tooltip/utilities.ts +75 -24
- package/src/components/typewriter/index.ts +7 -10
- package/src/components/typewriter/rotate.ts +11 -7
- package/src/components/typewriter/scss/index.scss +2 -0
- package/src/components/typewriter/scss/variables.scss +1 -1
- package/src/components/uptime/index.ts +12 -6
- package/src/components/uptime/scss/index.scss +86 -75
- package/src/components/uptime/scss/variables.scss +82 -51
- package/src/components/usage-meter/index.ts +1 -1
- package/src/components/usage-meter/scss/index.scss +0 -3
- package/src/components/usage-meter/scss/variables.scss +13 -14
- package/src/css-utilities/background.scss +9 -1
- package/src/css-utilities/border.scss +3 -0
- package/src/css-utilities/box-shadow.scss +3 -2
- package/src/css-utilities/color.scss +13 -3
- package/src/css-utilities/disabled.scss +12 -0
- package/src/css-utilities/font/geist/index.scss +2 -1
- package/src/css-utilities/font/montserrat/index.scss +1 -1
- package/src/css-utilities/group.scss +1 -2
- package/src/css-utilities/icon.scss +1 -0
- package/src/css-utilities/layer.scss +2 -1
- package/src/css-utilities/skeleton.scss +4 -1
- package/src/css-utilities/surface.scss +97 -108
- package/src/css-utilities/text.scss +13 -13
- package/src/modifiers/background/scss/variables.scss +2 -4
- package/src/modifiers/border/scss/variables.scss +6 -8
- package/src/modifiers/disabled/scss/index.scss +5 -0
- package/src/modifiers/glass/index.ts +2 -1
- package/src/modifiers/glass/scss/index.scss +8 -11
- package/src/modifiers/glass/scss/variables.scss +1 -0
- package/src/modifiers/scrollbar/index.ts +94 -113
- package/src/modifiers/scrollbar/scss/index.scss +20 -2
- package/src/modifiers/scrollbar/scss/variables.scss +2 -2
- package/src/normalize/scss/index.scss +1 -0
- package/src/shared/anchor.ts +1 -1
- package/src/shared/animation.ts +6 -4
- package/src/shared/dispatch.ts +42 -0
- package/src/shared/drag.ts +2 -1
- package/src/shared/press.ts +7 -5
- package/src/shared/resize.ts +4 -35
- package/src/shared/scss/list.scss +1 -2
- package/src/shared/transition.ts +2 -2
- package/src/shared/visible.ts +3 -35
- package/src/tokens/scss/color.scss +16 -20
- package/src/tokens/scss/focus.scss +5 -0
- package/src/tokens/scss/font-size.scss +1 -2
- package/src/tokens/scss/index.scss +1 -0
- package/src/tokens/scss/scale.scss +4 -8
- package/src/tokens/scss/size.scss +3 -3
- package/src/tokens/scss/spacer.scss +1 -1
- package/src/tokens/scss/state.scss +11 -30
- package/vite-env.d.ts +1 -1
- package/vite.config.ts +10 -8
- package/build/components/cc/index.d.ts +0 -30
- package/build/components/cc/index.js +0 -561
- package/build/components/cc/scss/index.scss +0 -2
- package/build/components/datalist/index.d.ts +0 -42
- package/build/components/datalist/index.js +0 -186
- package/build/components/datalist/scss/index.scss +0 -2
- package/build/components/inline-edit/format.d.ts +0 -29
- package/build/components/inline-edit/format.js +0 -112
- package/build/components/inline-edit/history.d.ts +0 -14
- package/build/components/inline-edit/history.js +0 -40
- package/build/components/inline-edit/markdown.d.ts +0 -7
- package/build/components/inline-edit/markdown.js +0 -314
- package/build/components/inline-edit/model.d.ts +0 -61
- package/build/components/inline-edit/model.js +0 -192
- package/build/components/inline-edit/selection.d.ts +0 -7
- package/build/components/inline-edit/selection.js +0 -114
- package/build/components/inline-edit/utilities.d.ts +0 -4
- package/build/components/inline-edit/utilities.js +0 -12
- package/build/components/sticky-header/index.d.ts +0 -2166
- package/build/components/sticky-header/index.js +0 -58
- package/build/components/sticky-header/scss/index.scss +0 -2
- package/build/components/theme-picker/cards.d.ts +0 -13
- package/build/components/theme-picker/cards.js +0 -17
- package/build/components/theme-picker/index.d.ts +0 -12
- package/build/components/theme-picker/index.js +0 -7
- package/build/components/theme-picker/scss/index.scss +0 -2
- package/build/components/theme-picker/swatches.d.ts +0 -13
- package/build/components/theme-picker/swatches.js +0 -17
- package/build/components/theme-picker/toggle.d.ts +0 -19
- package/build/components/theme-picker/toggle.js +0 -109
- package/src/components/cc/index.ts +0 -563
- package/src/components/cc/scss/index.scss +0 -386
- package/src/components/cc/scss/variables.scss +0 -254
- package/src/components/datalist/index.ts +0 -256
- package/src/components/datalist/scss/index.scss +0 -104
- package/src/components/datalist/scss/variables.scss +0 -43
- package/src/components/inline-edit/format.ts +0 -183
- package/src/components/inline-edit/history.ts +0 -71
- package/src/components/inline-edit/markdown.ts +0 -485
- package/src/components/inline-edit/model.ts +0 -366
- package/src/components/inline-edit/selection.ts +0 -188
- package/src/components/inline-edit/utilities.ts +0 -18
- package/src/components/sticky-header/index.ts +0 -78
- package/src/components/sticky-header/scss/index.scss +0 -141
- package/src/components/sticky-header/scss/variables.scss +0 -78
- package/src/components/theme-picker/cards.ts +0 -19
- package/src/components/theme-picker/index.ts +0 -12
- package/src/components/theme-picker/scss/index.scss +0 -174
- package/src/components/theme-picker/scss/variables.scss +0 -220
- package/src/components/theme-picker/swatches.ts +0 -15
- package/src/components/theme-picker/toggle.ts +0 -150
- package/src/components/tooltip/scss/_center.scss +0 -9
- package/src/components/tooltip/scss/_east.scss +0 -33
- package/src/components/tooltip/scss/_menu.scss +0 -325
- package/src/components/tooltip/scss/_north.scss +0 -33
- package/src/components/tooltip/scss/_shared.scss +0 -112
- package/src/components/tooltip/scss/_south.scss +0 -33
- package/src/components/tooltip/scss/_west.scss +0 -33
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.select-menu-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.select-menu-check{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;filter:blur(var(--blur-400));opacity:0;transition:filter var(--icon-swap-duration) var(--icon-swap-timing-function), opacity var(--icon-swap-duration) var(--icon-swap-timing-function), scale var(--icon-swap-duration) var(--icon-swap-timing-function);scale:.25}@media (prefers-reduced-motion:reduce){.select-menu-check{transition:none}}.select-menu-option[aria-selected=true] .select-menu-check{filter:blur();opacity:1;scale:1}.select-menu-option-label,.select-menu-value{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@keyframes text-gradient{to{background-position:var(--background-size) 0}}@keyframes text-line-shadow{0%{background-position:0 0}to{background-position:100% -100%}}@keyframes text-shiny{0%,90%,to{background-position:calc(-100% - var(--shine-width)) 0}30%,60%{background-position:calc(100% + var(--shine-width)) 0}}.select,.select-menu-option,.select-menu-panel{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.select,.--active.select-menu-option,.--active.select-menu-panel{--background:var(--background-active)}.select:not(.--active):hover,.select-menu-option:not(.--active):hover,.select-menu-panel:not(.--active):hover{--background:var(--background-hover)}.select:not(.--active):active,.select-menu-option:not(.--active):active,.select-menu-panel:not(.--active):active{--background:var(--background-pressed)}.select,.select-menu-panel{--box-shadow:var(--box-shadow-default);--box-shadow-active:var(--box-shadow-default);--box-shadow-default:none;--box-shadow-hover:var(--box-shadow-default);--box-shadow-pressed:var(--box-shadow-default)}.--active.select,.--active.select-menu-panel{--box-shadow:var(--box-shadow-active)}.select:not(.--active):hover,.select-menu-panel:not(.--active):hover{--box-shadow:var(--box-shadow-hover)}.select:not(.--active):active,.select-menu-panel:not(.--active):active{--box-shadow:var(--box-shadow-pressed)}.select,.select-menu-panel{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-below:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) - 1), 0) * .01 + min(calc(var(--surface-level) - 1), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) - 1), 0) * .01 + min(calc(var(--surface-level) - 1), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) - 1) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) - 1) * .016, l + .096) / max(l, .01)) h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .024) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .024) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .024) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .024) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h));--surface-shadow-active:var(--surface-shadow-hover);--surface-shadow-cast:light-dark(oklch(from var(--surface-background-below) calc(l * .2) calc(c * .2) h / .08),oklch(from var(--surface-background-below) calc(l * .2) calc(c * .2) h / .16));--surface-shadow-color:light-dark(oklch(from var(--surface-background-default) calc(l * .2) calc(c * .2) h / .08),oklch(from var(--surface-background-default) calc(l * .2) calc(c * .2) h / .16));--surface-shadow-default:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}@container style(--surface-level:-3){.select,.select-menu-panel{--surface-level:-2;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:-2){.select,.select-menu-panel{--surface-level:-1;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:-1){.select,.select-menu-panel{--surface-level:0;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:0){.select,.select-menu-panel{--surface-level:1;--surface-shadow-default:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:1){.select,.select-menu-panel{--surface-level:2;--surface-shadow-default:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:2){.select,.select-menu-panel{--surface-level:3;--surface-shadow-default:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:3){.select,.select-menu-panel{--surface-level:4;--surface-shadow-default:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}@container style(--surface-level:4){.select,.select-menu-panel{--surface-level:5;--surface-shadow-default:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}@container style(--surface-level:5){.select,.select-menu-panel{--surface-level:6;--surface-shadow-default:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}.select{--background-active:var(--surface-background-active);--background-default:var(--surface-background-default);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--box-shadow-active:var(--surface-shadow-active);--box-shadow-default:var(--surface-shadow-default);--box-shadow-hover:var(--surface-shadow-hover);--box-shadow-pressed:var(--surface-shadow-pressed);--color:var(--color-text-500);--font-size:calc(var(--font-size-400) * .875);--height:40px;--width:min(260px, 100%);--z-index:0}.select.--active,.select:not(.--active):hover{--z-index:9}.select-menu-check.icon{--color:currentColor;--icon-swap-duration:.3s;--icon-swap-timing-function:linear(0, .058, .18, .321, .455, .573, .671, .75, .812, .86, .897, .924, .944, .96, .971, .979, .985, .989, .992, .994, .996, .997, .998, .999, 1);--stroke-width:2.25}.select-menu-chevron.icon{--color:var(--color-text-300)}.select-menu-option{--background-highlighted:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-radius:var(--border-radius-400);--gap-horizontal:var(--size-200);--gap-vertical:0px;--height:var(--row-height);--padding-horizontal:var(--size-100);--padding-vertical:0px}.select-menu-option--highlighted,.select-menu-option:focus{--background-default:var(--background-highlighted)}.select-menu-option-detail{--color:var(--color-text-300);--font-size:var(--font-size-300)}.select-menu-panel{--background-default:var(--surface-background-default);--border-radius:var(--border-radius-600);--box-shadow-default:var(--surface-shadow-default);--max-width:calc(90vw - (var(--size-700) * 2));--rows:8;--scale:.96;--transition-duration:.15s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1);--width:auto;--z-index:50}.select-menu-panel:not(.--active){--transition-duration:.1s}@media (prefers-reduced-motion:reduce){.select-menu-panel{--scale:1}}.select-menu-scroll{--color:var(--color-text-300);--height:24px;--transition-duration:.15s;--transition-timing-function:ease-out}.select-menu-scroll-icon.icon{--color:currentColor;--size:14px}.select-menu-scroller{--fade:24px;--fade-bottom:0px;--fade-top:0px;--padding:4px;--row-height:36px}.select-menu-scroller--down{--fade-bottom:var(--fade)}.select-menu-scroller--up{--fade-top:var(--fade)}.select-menu-trigger{--border-radius:var(--border-radius-300);--focus-offset:calc(var(--size-100) / 4);--focus-width:var(--border-width-500);--gap-horizontal:var(--size-200);--gap-vertical:0px;--padding-end:var(--size-200);--padding-start:var(--size-300)}.select{color:var(--color);font-size:var(--font-size);width:var(--width);z-index:var(--z-index);position:relative}.select-menu-check{stroke-width:var(--stroke-width)}@media (prefers-reduced-motion:reduce){.select-menu-check{filter:none;scale:1}}.select-menu-option{background:var(--background);border-radius:var(--border-radius);cursor:default;align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);-webkit-user-select:none;user-select:none;display:flex}.select-menu-option-detail{color:var(--color);font-size:var(--font-size);font-variant-numeric:tabular-nums;flex:none}.select-menu-option-label{flex:1;min-width:0}.select-menu-panel{background:var(--background);border-radius:var(--border-radius);box-shadow:var(--box-shadow);max-width:var(--max-width);opacity:0;min-width:auto;scale:var(--scale);transition:opacity var(--transition-duration) var(--transition-timing-function), scale var(--transition-duration) var(--transition-timing-function), translate var(--transition-duration) var(--transition-timing-function);width:var(--width);z-index:var(--z-index);position:absolute;top:0;left:0;overflow:hidden}.select-menu-panel.--active{opacity:1;scale:1}.select-menu-scroll{color:var(--color);height:var(--height);opacity:0;pointer-events:none;transition:opacity var(--transition-duration) var(--transition-timing-function);justify-content:center;align-items:center;display:flex;position:absolute;inset-inline:0}.select-menu-scroll.--active{opacity:1;pointer-events:auto}.select-menu-scroll--down{bottom:0}.select-menu-scroll--up{top:0}.select-menu-scroller{mask-image:linear-gradient(to bottom, transparent, black var(--fade-top), black calc(100% - var(--fade-bottom)), transparent);max-height:calc(var(--rows) * var(--row-height) + var(--padding) * 2);overscroll-behavior:contain;padding:var(--padding);overflow-y:auto}.select-menu-tag{display:none}.select-menu-trigger{background:var(--background);border-radius:var(--border-radius);box-shadow:var(--box-shadow);color:var(--color);cursor:pointer;font:inherit;align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding:0 var(--padding-end) 0 var(--padding-start);text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none;border:0;outline:none;width:100%;margin:0;display:flex}.select-menu-trigger:focus-visible{outline:var(--focus-width) solid var(--color);outline-offset:var(--focus-offset)}.select-menu-value{flex:1;min-width:0}}
|
|
1
|
+
@layer components{.select-menu-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.select-menu-check{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;filter:blur(var(--blur-400));opacity:0;transition:filter var(--icon-swap-duration) var(--icon-swap-timing-function), opacity var(--icon-swap-duration) var(--icon-swap-timing-function), scale var(--icon-swap-duration) var(--icon-swap-timing-function);scale:.25}@media (prefers-reduced-motion:reduce){.select-menu-check{transition:none}}.select-menu-option[aria-selected=true] .select-menu-check{filter:blur();opacity:1;scale:1}.select-expand-option,.select-menu-trigger{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.select-menu-layer{color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.select-menu-option-label,.select-menu-value{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@keyframes text-gradient{to{background-position:var(--background-size) 0}}@keyframes text-line-shadow{0%{background-position:0 0}to{background-position:100% -100%}}@keyframes text-shiny{0%,90%,to{background-position:calc(-100% - var(--shine-width)) 0}30%,60%{background-position:calc(100% + var(--shine-width)) 0}}.select,.select-menu-option,.select-menu-panel{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.select,.--active.select-menu-option,.--active.select-menu-panel{--background:var(--background-active)}.select:not(.--active):is(:hover,.--hover),.select-menu-option:not(.--active):is(:hover,.--hover),.select-menu-panel:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.select:not(.--active):is(:active,.--pressed),.select-menu-option:not(.--active):is(:active,.--pressed),.select-menu-panel:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.select,.select-menu-panel{--box-shadow:var(--box-shadow-default);--box-shadow-active:var(--box-shadow-default);--box-shadow-default:none;--box-shadow-hover:var(--box-shadow-default);--box-shadow-pressed:var(--box-shadow-default)}.--active.select,.--active.select-menu-panel{--box-shadow:var(--box-shadow-active)}.select:not(.--active):is(:hover,.--hover),.select-menu-panel:not(.--active):is(:hover,.--hover){--box-shadow:var(--box-shadow-hover)}.select:not(.--active):is(:active,.--pressed),.select-menu-panel:not(.--active):is(:active,.--pressed){--box-shadow:var(--box-shadow-pressed)}.select-expand-trigger{--color-active:var(--color-text-300);--color-default:var(--color-text-400);--color-hover:var(--color-text-300);--color-pressed:var(--color-text-500)}:where([data-theme=dark]) .select-expand-trigger{--color-active:var(--color-text-500);--color-default:var(--color-text-400);--color-hover:var(--color-text-500);--color-pressed:var(--color-text-300)}:where([data-theme=light]) .select-expand-trigger{--color-active:var(--color-text-500);--color-default:var(--color-text-400);--color-hover:var(--color-text-300);--color-pressed:var(--color-text-500)}.select,.select-menu-panel{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .036) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .036) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .036) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .036) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h));--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}@container style(--surface-level:-3){.select,.select-menu-panel{--surface-level:-2;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-2){.select,.select-menu-panel{--surface-level:-1;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-1){.select,.select-menu-panel{--surface-level:0;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:0){.select,.select-menu-panel{--surface-level:1;--surface-shadow-active:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2.875px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .075)), 0 .875px 1.75px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .07));--surface-shadow-default:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 2.25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .05)), 0 .25px .5px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:1){.select,.select-menu-panel{--surface-level:2;--surface-shadow-active:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.625px 5.625px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.875px 3.75px -1.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.75px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.25px 2.5px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 .75px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 .125px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .005)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:2){.select,.select-menu-panel{--surface-level:3;--surface-shadow-active:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 9.25px 13.875px -2.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 3.75px 5.75px -3.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 5.5px 8.25px -1.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.5px 4.5px -2.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 1.5px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:3){.select,.select-menu-panel{--surface-level:4;--surface-shadow-active:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 18.75px 23.75px -4.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 7.5px 9.5px -5.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 12.5px 17.5px -3.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 5px 7px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 2.75px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .035),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .03),transparent), 0 1px 2.125px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .045)), 0 .125px .25px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01))}}@container style(--surface-level:4){.select,.select-menu-panel{--surface-level:5;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 24.375px 46.875px -11.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .185)), 0 1px 1.25px -.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01));--surface-shadow-default:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 21.25px 31.25px -6.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .11)), 0 6px 7.5px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .06));--surface-shadow-pressed:0 3.25px 5.25px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.375px 3.375px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.125px 2.25px -1.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}@container style(--surface-level:5){.select,.select-menu-panel{--surface-level:6;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}.select{--background-active:var(--surface-background-active);--background-default:var(--surface-background-default);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--box-shadow-active:var(--surface-shadow-active);--box-shadow-default:var(--surface-shadow-default);--box-shadow-hover:var(--surface-shadow-hover);--box-shadow-pressed:var(--surface-shadow-pressed);--color:var(--color-text-500);--font-size:calc(var(--font-size-400) * .875);--height:40px;--width:min(260px, 100%);--z-index:0}.select.--active,.select:not(.--active):is(:hover,.--hover){--z-index:9}.select-expand{--spring:linear(0, .0491, .1571, .2846, .4106, .5248, .6231, .7049, .7714, .8243, .866, .8984, .9234, .9425, .957, .9679, .9762, .9824, .987, .9904, .9929, .9948, .9962, .9972, 1);--trigger-border-radius:var(--border-radius-400);--trigger-size:36px}.select-expand-menu.tooltip-content{--background-default:var(--surface-background-default);--border-radius:var(--trigger-border-radius);--border-width:var(--border-width-400);--gap-horizontal:calc(var(--size-100) / 4);--gap-vertical:calc(var(--size-100) / 4);--landing-timing-function:var(--spring);--morph-blur:0px;--option-size:28px;--padding-horizontal:var(--padding-vertical);--padding-vertical:calc((var(--trigger-size) - var(--option-size)) / 2 - var(--border-width));--width:max-content;--z-index:10}@media (prefers-reduced-motion:reduce){.select-expand-menu.tooltip-content{--morph-close-duration:0s;--morph-open-duration:0s}}.select-expand-option{--background:transparent;--border-radius:calc(var(--trigger-border-radius) - (var(--trigger-size) - var(--option-size)) / 2);--color:var(--color-text-300);--transition-duration:.13s;--transition-timing-function:var(--spring)}.select-expand-option:not(.--active):is(:hover,.--hover){--color:var(--color-text-500)}.select-expand-option[aria-checked=true]{--background:var(--surface-background-active);--color:var(--color-text-500)}.select-expand-trigger{--background-hover:var(--surface-background-hover);--border-color-default:var(--surface-border-default);--border-radius:var(--trigger-border-radius);--border-width:var(--border-width-400);--padding-horizontal:0px;--padding-vertical:0px;--transition-duration:.13s;--transition-timing-function:var(--spring)}.select-menu-check.icon{--color:currentColor;--icon-swap-duration:.3s;--icon-swap-timing-function:linear(0, .058, .18, .321, .455, .573, .671, .75, .812, .86, .897, .924, .944, .96, .971, .979, .985, .989, .992, .994, .996, .997, .998, .999, 1);--stroke-width:2.25}.select-menu-chevron.icon{--color:var(--color-text-300)}.select-menu-option{--background-highlighted:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-radius:var(--border-radius-400);--gap-horizontal:var(--size-200);--gap-vertical:0px;--height:var(--row-height);--padding-horizontal:var(--size-100);--padding-vertical:0px}.select-menu-option--highlighted,.select-menu-option:focus{--background-default:var(--background-highlighted)}.select-menu-option-detail{--color:var(--color-text-300);--font-size:var(--font-size-300)}.select-menu-panel{--background-default:var(--surface-background-default);--border-radius:var(--border-radius-600);--box-shadow-default:var(--surface-shadow-default);--max-width:calc(90vw - (var(--size-700) * 2));--rows:8;--scale:.96;--transition-duration:.15s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1);--width:auto;--z-index:50}.select-menu-panel:not(.--active){--transition-duration:.1s}@media (prefers-reduced-motion:reduce){.select-menu-panel{--scale:1}}.select-menu-scroll{--color:var(--color-text-300);--height:24px;--transition-duration:.15s;--transition-timing-function:ease-out}.select-menu-scroll-icon.icon{--color:currentColor;--size:14px}.select-menu-scroller{--fade:24px;--fade-bottom:0px;--fade-top:0px;--padding-horizontal:4px;--padding-vertical:4px;--row-height:36px}.select-menu-scroller--down{--fade-bottom:var(--fade)}.select-menu-scroller--up{--fade-top:var(--fade)}.select-menu-trigger{--border-radius:var(--border-radius-300);--gap-horizontal:var(--size-200);--gap-vertical:0px;--padding-end:var(--size-200);--padding-start:var(--size-300)}.select{color:var(--color);font-size:var(--font-size);width:var(--width);z-index:var(--z-index);position:relative}.select-expand{display:inline-flex}.select-expand-menu.tooltip-content{border:var(--border-width) solid var(--surface-border-default);gap:var(--gap-vertical) var(--gap-horizontal);padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);translate:calc(50% + ((var(--count) - 1) / 2 - var(--index)) * (var(--option-size) + var(--gap-horizontal))) 50%;z-index:var(--z-index);display:flex}.select-expand--landing:not(.--active)>.select-expand-menu.tooltip-content{transition:translate var(--morph-close-duration) var(--landing-timing-function), visibility 0s linear var(--morph-close-duration)}.select-expand-option{background:var(--background);border-radius:var(--border-radius);color:var(--color);flex:0 0 var(--option-size);height:var(--option-size);transition:background-color var(--transition-duration) var(--transition-timing-function), color var(--transition-duration) var(--transition-timing-function);justify-content:center;align-items:center;display:flex}.select-expand-option:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}.select-expand-trigger{border:var(--border-width) solid var(--border-color);height:var(--trigger-size);width:var(--trigger-size)}.select-expand-trigger .button-face{transition:none}.select-menu-check{stroke-width:var(--stroke-width)}@media (prefers-reduced-motion:reduce){.select-menu-check{filter:none;scale:1}}.select-menu-layer{height:anchor-size(height);left:anchor(left);top:anchor(top);width:anchor-size(width)}.select-menu-layer>.select-menu-panel{pointer-events:auto}.select-menu-option{background:var(--background);border-radius:var(--border-radius);cursor:default;align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);-webkit-user-select:none;user-select:none;display:flex}.select-menu-option-detail{color:var(--color);font-size:var(--font-size);font-variant-numeric:tabular-nums;flex:none}.select-menu-option-label{flex:1;min-width:0}.select-menu-panel{background:var(--background);border-radius:var(--border-radius);box-shadow:var(--box-shadow);max-width:var(--max-width);opacity:0;min-width:auto;scale:var(--scale);transition:opacity var(--transition-duration) var(--transition-timing-function), scale var(--transition-duration) var(--transition-timing-function), translate var(--transition-duration) var(--transition-timing-function);width:var(--width);z-index:var(--z-index);position:absolute;top:0;left:0;overflow:hidden}.select-menu-panel.--active{opacity:1;scale:1}.select-menu-scroll{color:var(--color);height:var(--height);opacity:0;pointer-events:none;transition:opacity var(--transition-duration) var(--transition-timing-function);justify-content:center;align-items:center;display:flex;position:absolute;inset-inline:0}.select-menu-scroll.--active{opacity:1;pointer-events:auto}.select-menu-scroll--down{bottom:0}.select-menu-scroll--up{top:0}.select-menu-scroller{mask-image:linear-gradient(to bottom, transparent, black var(--fade-top), black calc(100% - var(--fade-bottom)), transparent);max-height:calc(var(--rows) * var(--row-height) + var(--padding-vertical) * 2);overscroll-behavior:contain;padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);overflow-y:auto}.select-menu-tag{display:none}.select-menu-trigger{background:var(--background);border-radius:var(--border-radius);box-shadow:var(--box-shadow);color:var(--color);align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding-inline:var(--padding-start) var(--padding-end);text-align:start;touch-action:manipulation;-webkit-user-select:none;user-select:none;outline:none;width:100%;margin:0;display:flex}.select-menu-trigger:focus-visible{outline:var(--focus-width) solid var(--color);outline-offset:var(--focus-offset)}.select-menu-value{flex:1;min-width:0}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as template_u1 from '@esportsplus/template';
|
|
1
2
|
import { type Renderable } from '@esportsplus/template';
|
|
2
3
|
import '../card/scss/index.scss';
|
|
3
4
|
import './scss/index.scss';
|
|
@@ -14,7 +15,7 @@ type Side = {
|
|
|
14
15
|
};
|
|
15
16
|
type Sides = Record<Edge, Side>;
|
|
16
17
|
declare function close(side: Pick<Side, 'id' | 'state'>): void;
|
|
17
|
-
declare const shell: (sides: Sides, content: Renderable<unknown>) =>
|
|
18
|
+
declare const shell: (sides: Sides, content: Renderable<unknown>) => template_u1.Element;
|
|
18
19
|
declare const layout: typeof shell & {
|
|
19
20
|
close: typeof close;
|
|
20
21
|
};
|
|
@@ -6,14 +6,22 @@ import button from '../button/index.js';
|
|
|
6
6
|
import scrollbar from '../../modifiers/scrollbar/index.js';
|
|
7
7
|
import '../card/scss/index.scss';
|
|
8
8
|
import './scss/index.scss';
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
9
|
+
const template_1dhwcf33 = template_u1.template(`<div aria-hidden='true'><span class='shell-handle'>`, true);
|
|
10
|
+
const template_1dhwcf35 = template_u1.template(`<aside>`, true);
|
|
11
|
+
const template_1dhwcf37 = template_u1.template(`<div><div aria-hidden='true' class='shell-backdrop'></div><div aria-hidden='true' class='shell-surface'></div><!--$--><!--$--><!--$--><!--$--><!--$--><!--$--><div>`, true);
|
|
12
12
|
class ReactiveObject_1dhwcf30 extends reactivity_u0.ReactiveObject {
|
|
13
13
|
#dragging = this[reactivity_u0.SIGNAL](false);
|
|
14
|
+
#gap;
|
|
14
15
|
#offset = this[reactivity_u0.SIGNAL](0);
|
|
15
|
-
|
|
16
|
+
#reach;
|
|
17
|
+
#space;
|
|
18
|
+
#translate;
|
|
19
|
+
constructor(_p0, _p1, _p2, _p3) {
|
|
16
20
|
super(null);
|
|
21
|
+
this.#gap = this[reactivity_u0.SIGNAL](_p0);
|
|
22
|
+
this.#reach = this[reactivity_u0.SIGNAL](_p1);
|
|
23
|
+
this.#space = this[reactivity_u0.SIGNAL](_p2);
|
|
24
|
+
this.#translate = this[reactivity_u0.SIGNAL](_p3);
|
|
17
25
|
}
|
|
18
26
|
get dragging() {
|
|
19
27
|
return reactivity_u0.read(this.#dragging);
|
|
@@ -21,33 +29,38 @@ class ReactiveObject_1dhwcf30 extends reactivity_u0.ReactiveObject {
|
|
|
21
29
|
set dragging(_v0) {
|
|
22
30
|
reactivity_u0.write(this.#dragging, _v0);
|
|
23
31
|
}
|
|
32
|
+
get gap() {
|
|
33
|
+
return reactivity_u0.read(this.#gap);
|
|
34
|
+
}
|
|
35
|
+
set gap(_v1) {
|
|
36
|
+
reactivity_u0.write(this.#gap, _v1);
|
|
37
|
+
}
|
|
24
38
|
get offset() {
|
|
25
39
|
return reactivity_u0.read(this.#offset);
|
|
26
40
|
}
|
|
27
|
-
set offset(
|
|
28
|
-
reactivity_u0.write(this.#offset,
|
|
41
|
+
set offset(_v2) {
|
|
42
|
+
reactivity_u0.write(this.#offset, _v2);
|
|
29
43
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#dragging = this[reactivity_u0.SIGNAL](false);
|
|
33
|
-
#offset = this[reactivity_u0.SIGNAL](0);
|
|
34
|
-
constructor() {
|
|
35
|
-
super(null);
|
|
44
|
+
get reach() {
|
|
45
|
+
return reactivity_u0.read(this.#reach);
|
|
36
46
|
}
|
|
37
|
-
|
|
38
|
-
|
|
47
|
+
set reach(_v3) {
|
|
48
|
+
reactivity_u0.write(this.#reach, _v3);
|
|
39
49
|
}
|
|
40
|
-
|
|
41
|
-
reactivity_u0.
|
|
50
|
+
get space() {
|
|
51
|
+
return reactivity_u0.read(this.#space);
|
|
42
52
|
}
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
set space(_v4) {
|
|
54
|
+
reactivity_u0.write(this.#space, _v4);
|
|
55
|
+
}
|
|
56
|
+
get translate() {
|
|
57
|
+
return reactivity_u0.read(this.#translate);
|
|
45
58
|
}
|
|
46
|
-
set
|
|
47
|
-
reactivity_u0.write(this.#
|
|
59
|
+
set translate(_v5) {
|
|
60
|
+
reactivity_u0.write(this.#translate, _v5);
|
|
48
61
|
}
|
|
49
62
|
}
|
|
50
|
-
class
|
|
63
|
+
class ReactiveObject_1dhwcf31 extends reactivity_u0.ReactiveObject {
|
|
51
64
|
#left;
|
|
52
65
|
#right;
|
|
53
66
|
constructor(_p0, _p1) {
|
|
@@ -87,7 +100,7 @@ function grip(sides, peeking, frame, edge) {
|
|
|
87
100
|
move: (_, { x }) => {
|
|
88
101
|
let element = frame[edge].sidebar;
|
|
89
102
|
if (element) {
|
|
90
|
-
reveal(
|
|
103
|
+
reveal(frame, edge, element.offsetWidth, x * sign);
|
|
91
104
|
}
|
|
92
105
|
},
|
|
93
106
|
release: (_, __, dismiss) => {
|
|
@@ -97,35 +110,33 @@ function grip(sides, peeking, frame, edge) {
|
|
|
97
110
|
}
|
|
98
111
|
}
|
|
99
112
|
});
|
|
100
|
-
|
|
101
|
-
let
|
|
102
|
-
template_u1.
|
|
103
|
-
template_u1.
|
|
104
|
-
template_u1.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
frame[edge].offset = e.clientY - bounds.top - bounds.height / 2;
|
|
123
|
-
gesture.onpointermove(e);
|
|
124
|
-
},
|
|
125
|
-
style: () => `--offset: ${frame[edge].offset}px;`
|
|
113
|
+
{
|
|
114
|
+
let root_1dhwcf32 = template_1dhwcf33();
|
|
115
|
+
template_u1.setProperty(root_1dhwcf32, 'id', "" + (side.id) + "-edge");
|
|
116
|
+
template_u1.setProperties(root_1dhwcf32, gesture);
|
|
117
|
+
template_u1.delegate(root_1dhwcf32, 'click', () => {
|
|
118
|
+
if (!side.state.active) {
|
|
119
|
+
open(sides, peeking, edge);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
template_u1.onconnect(root_1dhwcf32, (element) => {
|
|
123
|
+
frame[edge].edge = element;
|
|
124
|
+
});
|
|
125
|
+
template_u1.direct(root_1dhwcf32, 'pointerenter', () => {
|
|
126
|
+
if (side.hover && !side.state.active) {
|
|
127
|
+
peeking[edge] = true;
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
template_u1.direct(root_1dhwcf32, 'pointerleave', (e) => leave(side, peeking, frame, edge, e));
|
|
131
|
+
template_u1.delegate(root_1dhwcf32, 'pointermove', function (e) {
|
|
132
|
+
let bounds = this.getBoundingClientRect();
|
|
133
|
+
frame[edge].offset = e.clientY - bounds.top - bounds.height / 2;
|
|
134
|
+
gesture.onpointermove(e);
|
|
126
135
|
});
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
template_u1.setClass(root_1dhwcf32, ["shell-edge", "shell-edge--" + (edge)]);
|
|
137
|
+
template_u1.setStyle(root_1dhwcf32, ["", () => `--offset: ${frame[edge].offset}px;`]);
|
|
138
|
+
return root_1dhwcf32;
|
|
139
|
+
}
|
|
129
140
|
}
|
|
130
141
|
function hold(frame, edge) {
|
|
131
142
|
frame[edge].dragging = true;
|
|
@@ -138,6 +149,9 @@ function leave(side, peeking, frame, edge, e) {
|
|
|
138
149
|
}
|
|
139
150
|
peeking[edge] = false;
|
|
140
151
|
}
|
|
152
|
+
function motion() {
|
|
153
|
+
return new ReactiveObject_1dhwcf30(undefined, undefined, undefined, undefined);
|
|
154
|
+
}
|
|
141
155
|
function open(sides, peeking, edge) {
|
|
142
156
|
if (matchMedia(NARROW).matches) {
|
|
143
157
|
close(sides[edge === 'left' ? 'right' : 'left']);
|
|
@@ -159,7 +173,7 @@ function panel(side, peeking, frame, edge) {
|
|
|
159
173
|
},
|
|
160
174
|
capture: () => hold(frame, edge),
|
|
161
175
|
move: (element, { x }) => {
|
|
162
|
-
reveal(
|
|
176
|
+
reveal(frame, edge, element.offsetWidth, element.offsetWidth + x * direction(edge));
|
|
163
177
|
},
|
|
164
178
|
release: (_, __, dismiss) => {
|
|
165
179
|
settle(frame, edge);
|
|
@@ -167,7 +181,7 @@ function panel(side, peeking, frame, edge) {
|
|
|
167
181
|
hide();
|
|
168
182
|
}
|
|
169
183
|
}
|
|
170
|
-
})
|
|
184
|
+
});
|
|
171
185
|
function hide() {
|
|
172
186
|
if (peeking[edge]) {
|
|
173
187
|
peeking[edge] = false;
|
|
@@ -176,59 +190,57 @@ function panel(side, peeking, frame, edge) {
|
|
|
176
190
|
close(side);
|
|
177
191
|
}
|
|
178
192
|
}
|
|
179
|
-
|
|
180
|
-
let
|
|
181
|
-
template_u1.slot(
|
|
182
|
-
template_u1.setProperty(
|
|
183
|
-
template_u1.
|
|
184
|
-
template_u1.
|
|
185
|
-
template_u1.
|
|
186
|
-
template_u1.setList(element_1dhwcf38, 'class', [
|
|
187
|
-
() => side.state.active ? '--active' : peeking[edge] && '--peek',
|
|
188
|
-
() => frame[edge].dragging && 'shell-sidebar--dragging'
|
|
189
|
-
]);
|
|
190
|
-
template_u1.setProperty(element_1dhwcf38, 'inert', () => !side.state.active && !peeking[edge]);
|
|
191
|
-
template_u1.onconnect(element_1dhwcf38, (element) => {
|
|
193
|
+
{
|
|
194
|
+
let root_1dhwcf34 = template_1dhwcf35();
|
|
195
|
+
template_u1.slot(root_1dhwcf34, side.content, 1);
|
|
196
|
+
template_u1.setProperty(root_1dhwcf34, 'aria-label', side.label);
|
|
197
|
+
template_u1.setProperty(root_1dhwcf34, 'id', side.id);
|
|
198
|
+
template_u1.setProperty(root_1dhwcf34, 'inert', () => !side.state.active && !peeking[edge]);
|
|
199
|
+
template_u1.onconnect(root_1dhwcf34, (element, on) => {
|
|
192
200
|
frame[edge].sidebar = element;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
element
|
|
197
|
-
element
|
|
198
|
-
element
|
|
199
|
-
element.addEventListener('pointerleave', (e) => leave(side, peeking, frame, edge, e), { signal });
|
|
200
|
-
element.addEventListener('pointermove', gesture.onpointermove, { signal });
|
|
201
|
-
element.addEventListener('pointerup', gesture.onpointerup, { signal });
|
|
201
|
+
on(element, 'dragstart', (e) => e.preventDefault(), { direct: true });
|
|
202
|
+
on(element, 'pointercancel', gesture.onpointercancel, { direct: true });
|
|
203
|
+
on(element, 'pointerdown', gesture.onpointerdown, { direct: true });
|
|
204
|
+
on(element, 'pointerleave', (e) => leave(side, peeking, frame, edge, e), { direct: true });
|
|
205
|
+
on(element, 'pointermove', gesture.onpointermove, { direct: true });
|
|
206
|
+
on(element, 'pointerup', gesture.onpointerup, { direct: true });
|
|
202
207
|
});
|
|
203
|
-
template_u1.
|
|
204
|
-
template_u1.delegate(element_1dhwcf38, 'keydown', (e) => {
|
|
208
|
+
template_u1.delegate(root_1dhwcf34, 'keydown', (e) => {
|
|
205
209
|
if (e.key === 'Escape' && !e.defaultPrevented) {
|
|
206
210
|
e.preventDefault();
|
|
207
211
|
hide();
|
|
208
212
|
}
|
|
209
213
|
});
|
|
210
|
-
|
|
211
|
-
|
|
214
|
+
template_u1.setClass(root_1dhwcf34, ["shell-sidebar", "shell-sidebar--" + (edge), side.class ?? '', [
|
|
215
|
+
() => side.state.active ? '--active' : peeking[edge] && '--peek',
|
|
216
|
+
() => frame[edge].dragging && 'shell-sidebar--dragging'
|
|
217
|
+
]]);
|
|
218
|
+
template_u1.setStyle(root_1dhwcf34, ["", () => ({ translate: frame[edge].translate })]);
|
|
219
|
+
return root_1dhwcf34;
|
|
220
|
+
}
|
|
212
221
|
}
|
|
213
|
-
function reveal(
|
|
214
|
-
let
|
|
215
|
-
|
|
222
|
+
function reveal(frame, edge, width, shown) {
|
|
223
|
+
let clamped = Math.max(0, Math.min(width, shown)), rest = `calc(var(--gap-horizontal) * ${width ? 1 - clamped / width : 1})`, state = frame[edge];
|
|
224
|
+
state.translate = `${(clamped - width) * direction(edge)}px 0`;
|
|
216
225
|
if (matchMedia(NARROW).matches) {
|
|
217
|
-
|
|
218
|
-
|
|
226
|
+
state.gap = rest;
|
|
227
|
+
state.reach = undefined;
|
|
228
|
+
state.space = `${clamped}px`;
|
|
219
229
|
}
|
|
220
230
|
else {
|
|
221
|
-
|
|
231
|
+
state.gap = undefined;
|
|
232
|
+
state.reach = `calc(${clamped}px + ${rest})`;
|
|
233
|
+
state.space = undefined;
|
|
222
234
|
}
|
|
223
235
|
}
|
|
224
236
|
function settle(frame, edge) {
|
|
225
|
-
let
|
|
226
|
-
|
|
237
|
+
let state = frame[edge];
|
|
238
|
+
state.dragging = false;
|
|
227
239
|
flush();
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
240
|
+
state.gap = undefined;
|
|
241
|
+
state.reach = undefined;
|
|
242
|
+
state.space = undefined;
|
|
243
|
+
state.translate = undefined;
|
|
232
244
|
}
|
|
233
245
|
function toggle(sides, peeking, frame, edge) {
|
|
234
246
|
let side = sides[edge];
|
|
@@ -248,25 +260,31 @@ function toggle(sides, peeking, frame, edge) {
|
|
|
248
260
|
});
|
|
249
261
|
}
|
|
250
262
|
const shell = (sides, content) => {
|
|
251
|
-
let frame = {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
template_u1.slot(
|
|
258
|
-
template_u1.slot(
|
|
259
|
-
template_u1.slot(
|
|
260
|
-
template_u1.slot(
|
|
261
|
-
|
|
262
|
-
template_u1.
|
|
263
|
-
template_u1.
|
|
264
|
-
template_u1.
|
|
265
|
-
template_u1.
|
|
266
|
-
template_u1.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
263
|
+
let frame = { left: motion(), right: motion() }, peeking = new ReactiveObject_1dhwcf31(false, false);
|
|
264
|
+
{
|
|
265
|
+
let root_1dhwcf36 = template_1dhwcf37(), element_1dhwcf38 = root_1dhwcf36.firstChild.nextSibling.nextSibling, element_1dhwcf39 = element_1dhwcf38.nextSibling, element_1dhwcf3a = element_1dhwcf39.nextSibling, element_1dhwcf3b = element_1dhwcf3a.nextSibling, element_1dhwcf3c = element_1dhwcf3b.nextSibling, element_1dhwcf3d = element_1dhwcf3c.nextSibling, element_1dhwcf3e = root_1dhwcf36.firstElementChild.nextElementSibling.nextElementSibling;
|
|
266
|
+
template_u1.slot(element_1dhwcf38, panel(sides.left, peeking, frame, 'left'));
|
|
267
|
+
template_u1.slot(element_1dhwcf39, panel(sides.right, peeking, frame, 'right'));
|
|
268
|
+
template_u1.slot(element_1dhwcf3a, grip(sides, peeking, frame, 'left'));
|
|
269
|
+
template_u1.slot(element_1dhwcf3b, grip(sides, peeking, frame, 'right'));
|
|
270
|
+
template_u1.slot(element_1dhwcf3c, toggle(sides, peeking, frame, 'left'));
|
|
271
|
+
template_u1.slot(element_1dhwcf3d, toggle(sides, peeking, frame, 'right'));
|
|
272
|
+
template_u1.slot(element_1dhwcf3e, content, 1);
|
|
273
|
+
let attributes_1dhwcf3f = scrollbar();
|
|
274
|
+
template_u1.setProperties(element_1dhwcf3e, attributes_1dhwcf3f, true);
|
|
275
|
+
template_u1.setClass(element_1dhwcf3e, ["card shell-main", attributes_1dhwcf3f?.class]);
|
|
276
|
+
template_u1.setStyle(element_1dhwcf3e, ["", attributes_1dhwcf3f?.style]);
|
|
277
|
+
template_u1.setClass(root_1dhwcf36, ["shell", () => sides.left.state.active && 'shell--left-open', () => sides.right.state.active && 'shell--right-open', () => (frame.left.dragging || frame.right.dragging) && 'shell--dragging']);
|
|
278
|
+
template_u1.setStyle(root_1dhwcf36, ["", () => ({
|
|
279
|
+
'--left-edge': frame.left.reach,
|
|
280
|
+
'--left-gap-horizontal': frame.left.gap,
|
|
281
|
+
'--left-space': frame.left.space,
|
|
282
|
+
'--right-edge': frame.right.reach,
|
|
283
|
+
'--right-gap-horizontal': frame.right.gap,
|
|
284
|
+
'--right-space': frame.right.space
|
|
285
|
+
})]);
|
|
286
|
+
return root_1dhwcf36;
|
|
287
|
+
}
|
|
270
288
|
};
|
|
271
289
|
const layout = Object.assign(shell, { close });
|
|
272
290
|
export default layout;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{@keyframes text-gradient{to{background-position:var(--background-size) 0}}@keyframes text-line-shadow{0%{background-position:0 0}to{background-position:100% -100%}}@keyframes text-shiny{0%,90%,to{background-position:calc(-100% - var(--shine-width)) 0}30%,60%{background-position:calc(100% + var(--shine-width)) 0}}.shell-sidebar--lower{--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}.shell-sidebar--lower,.shell-main,.shell-sidebar--raise,.shell,.shell-surface{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-below:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) - 1), 0) * .01 + min(calc(var(--surface-level) - 1), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) - 1), 0) * .01 + min(calc(var(--surface-level) - 1), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) - 1) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) - 1) * .016, l + .096) / max(l, .01)) h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .024) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .024) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .024) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .024) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h));--surface-shadow-active:var(--surface-shadow-hover);--surface-shadow-cast:light-dark(oklch(from var(--surface-background-below) calc(l * .2) calc(c * .2) h / .08),oklch(from var(--surface-background-below) calc(l * .2) calc(c * .2) h / .16));--surface-shadow-color:light-dark(oklch(from var(--surface-background-default) calc(l * .2) calc(c * .2) h / .08),oklch(from var(--surface-background-default) calc(l * .2) calc(c * .2) h / .16))}.shell-main,.shell-sidebar--raise{--surface-shadow-default:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}@container style(--surface-level:-3){.shell-main,.shell-sidebar--raise{--surface-level:-2;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:-2){.shell-sidebar--lower{--surface-level:-3}.shell-main,.shell-sidebar--raise{--surface-level:-1;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:-1){.shell-sidebar--lower{--surface-level:-2}.shell-main,.shell-sidebar--raise{--surface-level:0;--surface-shadow-default:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:0){.shell-sidebar--lower{--surface-level:-1}.shell-main,.shell-sidebar--raise{--surface-level:1;--surface-shadow-default:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:1){.shell-sidebar--lower{--surface-level:0}.shell-main,.shell-sidebar--raise{--surface-level:2;--surface-shadow-default:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:2){.shell-sidebar--lower{--surface-level:1}.shell-main,.shell-sidebar--raise{--surface-level:3;--surface-shadow-default:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 2px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * .5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0))}}@container style(--surface-level:3){.shell-sidebar--lower{--surface-level:2}.shell-main,.shell-sidebar--raise{--surface-level:4;--surface-shadow-default:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 1px 3px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 1px 2px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}@container style(--surface-level:4){.shell-sidebar--lower{--surface-level:3}.shell-main,.shell-sidebar--raise{--surface-level:5;--surface-shadow-default:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-pressed:0 4px 6px -1px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 2px 4px -2px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}@container style(--surface-level:5){.shell-sidebar--lower{--surface-level:4}.shell-main,.shell-sidebar--raise{--surface-level:6;--surface-shadow-default:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-shadow-hover:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 10px 15px -3px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 4px 6px -4px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1))}}@container style(--surface-level:6){.shell-sidebar--lower{--surface-level:5}}.shell,.shell-surface{--surface-shadow-default:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-hover:0 25px 50px -12px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 2.5)), 0 0px 0px 0px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 0));--surface-shadow-pressed:0 20px 25px -5px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1)), 0 8px 10px -6px oklch(from var(--surface-shadow-cast) l c h / calc(alpha * 1));--surface-level:0}.shell{--gap-horizontal:0px;--gap-vertical:0px;--height:calc(100dvh - var(--gap-vertical) * 2);--left-edge:calc(var(--left-space) + var(--left-gap-horizontal));--left-gap-horizontal:0px;--left-space:0px;--right-edge:calc(var(--right-space) + var(--right-gap-horizontal));--right-gap-horizontal:0px;--right-space:0px;--slide-duration:.3s;--slide-timing-function:cubic-bezier(.32, .72, 0, 1);--space:min(280px, calc(100vw - 88px))}@media (prefers-reduced-motion:reduce){.shell{--slide-duration:0s}}.shell-edge{--width:24px}.shell-edge:hover .shell-handle{--color:var(--color-black-300)}.shell-handle{--border-radius:4px;--color:var(--surface-border-hover);--height:10svh;--inset-horizontal:3px;--width:3px}.shell-main{--border-radius:var(--border-radius-500);--box-shadow:none}.shell-toggle{--background-default:transparent;--border-radius:var(--border-radius-400);--color-default:var(--color-text-400);--color-hover:var(--color-text-400);--color-pressed:var(--color-text-500);--focus-color:var(--color-blue-400);--focus-offset:calc(var(--size-100) / 4);--focus-width:2px;--padding-horizontal:0px;--padding-vertical:0px;--size:32px;--width:var(--size)}.shell.--left-open{--left-gap-horizontal:0px;--left-space:var(--space)}.shell.--right-open{--right-gap-horizontal:0px;--right-space:var(--space)}.shell{grid-template-columns:var(--left-space) minmax(0, 1fr) var(--right-space);height:100dvh;transition:grid-template-columns var(--slide-duration) var(--slide-timing-function);display:grid;overflow:clip}@media (width<=1024px){.shell{grid-template-columns:var(--left-space) 100% 0px}}.shell--dragging,.shell--dragging .shell-main,.shell--dragging .shell-surface{transition:none}.shell-backdrop,.shell-main,.shell-sidebar{background-color:var(--surface-background-default)}.shell-backdrop{position:fixed;inset:0}.shell-edge{touch-action:none;transition:visibility 0s var(--slide-duration);-webkit-user-select:none;user-select:none;width:var(--width);z-index:30;position:fixed;top:0;bottom:0}.shell-edge--left{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='white' stroke-width='5'/%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 12 12,e-resize;left:0}.shell-edge--right{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6' stroke='white' stroke-width='5'/%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 12 12,w-resize;right:0}.shell-edge:active{cursor:grabbing}.shell-edge--left .shell-handle{left:calc(var(--width) * -1)}.shell-edge--left:is(:active,:hover) .shell-handle{left:calc(var(--left-gap-horizontal) + var(--inset-horizontal))}.shell-edge--right .shell-handle{right:calc(var(--width) * -1)}.shell-edge--right:is(:active,:hover) .shell-handle{right:calc(var(--right-gap-horizontal) + var(--inset-horizontal))}.shell-handle{background:var(--color);border-radius:var(--border-radius);height:var(--height);transition:background var(--transition-duration) var(--transition-timing-function), left var(--slide-duration) var(--slide-timing-function), opacity var(--slide-duration) var(--slide-timing-function), right var(--slide-duration) var(--slide-timing-function);translate:0 calc(var(--offset,0px) - 50%);width:var(--width);position:absolute;top:50%}.shell-main{clip-path:inset(0 max(0px, var(--right-edge) - var(--right-space) - var(--right-gap-horizontal)) 0 max(0px, var(--left-edge) - var(--left-space) - var(--left-gap-horizontal)) round var(--border-radius));height:var(--height);margin:var(--gap-vertical) var(--right-gap-horizontal) var(--gap-vertical) var(--left-gap-horizontal);transition:clip-path var(--slide-duration) var(--slide-timing-function), margin var(--slide-duration) var(--slide-timing-function), translate var(--slide-duration) var(--slide-timing-function);background:0 0;grid-column:2;overflow:hidden auto}@media (width<=1024px){.shell-main{background:var(--background);clip-path:none;translate:calc(var(--right-space) * -1) 0}}.shell-sidebar{touch-action:pan-y;transition:translate var(--slide-duration) var(--slide-timing-function), visibility 0s var(--slide-duration);visibility:hidden;width:min(var(--space), 100%);z-index:31;flex-direction:column;display:flex;position:fixed;top:0;bottom:0;overflow:hidden}.shell-sidebar--dragging{cursor:grabbing;visibility:visible;transition:none}.shell-sidebar--left{left:0;translate:-100%}.shell-sidebar--right{right:0;translate:100%}.shell-sidebar.--peek,.shell-sidebar.--active{visibility:visible;transition-delay:0s;translate:0}.shell-surface{background:var(--surface-background-default);border-radius:var(--border-radius-500);inset-block:var(--gap-vertical);left:var(--left-edge);right:var(--right-edge);transition:left var(--slide-duration) var(--slide-timing-function), right var(--slide-duration) var(--slide-timing-function);position:fixed}@media (width<=1024px){.shell-surface{display:none}}.shell-toggle{height:var(--size);top:var(--size-300);width:var(--size);z-index:40;flex-shrink:0;display:flex;position:fixed}.shell-toggle--left{left:var(--size-300)}.shell-toggle--right{right:var(--size-300)}.shell-toggle:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}.shell.--left-open .shell-edge--left .shell-handle,.shell.--right-open .shell-edge--right .shell-handle{opacity:0}.shell.--left-open .shell-edge--left,.shell.--right-open .shell-edge--right{visibility:hidden;transition-delay:0s}}
|
|
1
|
+
@layer components{.shell-sidebar--lower{--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}.shell-sidebar--lower,.shell-main,.shell-sidebar--raise,.shell,.shell-surface{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .036) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .036) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .036) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .036) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h))}.shell-main,.shell-sidebar--raise{--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}@container style(--surface-level:-3){.shell-main,.shell-sidebar--raise{--surface-level:-2;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-2){.shell-sidebar--lower{--surface-level:-3}.shell-main,.shell-sidebar--raise{--surface-level:-1;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-1){.shell-sidebar--lower{--surface-level:-2}.shell-main,.shell-sidebar--raise{--surface-level:0;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:0){.shell-sidebar--lower{--surface-level:-1}.shell-main,.shell-sidebar--raise{--surface-level:1;--surface-shadow-active:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2.875px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .075)), 0 .875px 1.75px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .07));--surface-shadow-default:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 2.25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .05)), 0 .25px .5px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:1){.shell-sidebar--lower{--surface-level:0}.shell-main,.shell-sidebar--raise{--surface-level:2;--surface-shadow-active:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.625px 5.625px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.875px 3.75px -1.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.75px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.25px 2.5px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 .75px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 .125px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .005)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:2){.shell-sidebar--lower{--surface-level:1}.shell-main,.shell-sidebar--raise{--surface-level:3;--surface-shadow-active:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 9.25px 13.875px -2.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 3.75px 5.75px -3.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 5.5px 8.25px -1.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.5px 4.5px -2.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 1.5px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:3){.shell-sidebar--lower{--surface-level:2}.shell-main,.shell-sidebar--raise{--surface-level:4;--surface-shadow-active:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 18.75px 23.75px -4.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 7.5px 9.5px -5.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 12.5px 17.5px -3.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 5px 7px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 2.75px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .035),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .03),transparent), 0 1px 2.125px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .045)), 0 .125px .25px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01))}}@container style(--surface-level:4){.shell-sidebar--lower{--surface-level:3}.shell-main,.shell-sidebar--raise{--surface-level:5;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 24.375px 46.875px -11.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .185)), 0 1px 1.25px -.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01));--surface-shadow-default:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 21.25px 31.25px -6.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .11)), 0 6px 7.5px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .06));--surface-shadow-pressed:0 3.25px 5.25px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.375px 3.375px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.125px 2.25px -1.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}@container style(--surface-level:5){.shell-sidebar--lower{--surface-level:4}.shell-main,.shell-sidebar--raise{--surface-level:6;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}@container style(--surface-level:6){.shell-sidebar--lower{--surface-level:5}}.shell,.shell-surface{--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 17.5px 22.5px -4.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 7px 9px -5.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 11.25px 16.25px -3.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 4.5px 6.5px -4.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-level:0}.shell{--gap-horizontal:0px;--gap-vertical:0px;--height:calc(100dvh - var(--gap-vertical) * 2);--left-edge:calc(var(--left-space) + var(--left-gap-horizontal));--left-gap-horizontal:0px;--left-space:0px;--right-edge:calc(var(--right-space) + var(--right-gap-horizontal));--right-gap-horizontal:0px;--right-space:0px;--slide-duration:.3s;--slide-timing-function:cubic-bezier(.32, .72, 0, 1);--space:min(280px, calc(100vw - 88px))}@media (prefers-reduced-motion:reduce){.shell{--slide-duration:0s}}.shell--left-open{--left-gap-horizontal:0px;--left-space:var(--space)}.shell--right-open{--right-gap-horizontal:0px;--right-space:var(--space)}.shell-edge{--width:24px}.shell-edge:hover .shell-handle{--color:var(--color-primary-400)}.shell-handle{--border-radius:var(--border-radius-200);--color:var(--surface-border-hover);--height:10svh;--inset-horizontal:3px;--width:3px}.shell-main{--border-radius:var(--border-radius-500);--box-shadow:none}.shell-toggle{--background-default:transparent;--border-radius:var(--border-radius-400);--color-default:var(--color-text-400);--color-hover:var(--color-text-400);--color-pressed:var(--color-text-500);--inset-horizontal:var(--size-300);--inset-vertical:var(--size-300);--padding-horizontal:0px;--padding-vertical:0px;--size:32px;--width:var(--size)}.shell{grid-template-columns:var(--left-space) minmax(0, 1fr) var(--right-space);height:100dvh;transition:grid-template-columns var(--slide-duration) var(--slide-timing-function);display:grid;overflow:clip}@media (width<=1024px){.shell{grid-template-columns:var(--left-space) 100% 0px}}.shell--dragging,.shell--dragging>.shell-main,.shell--dragging>.shell-surface{transition:none}.shell--left-open>.shell-edge--left,.shell--right-open>.shell-edge--right{visibility:hidden;transition-delay:0s}.shell--left-open>.shell-edge--left .shell-handle,.shell--right-open>.shell-edge--right .shell-handle{opacity:0}.shell-backdrop,.shell-main,.shell-sidebar{background-color:var(--surface-background-default)}.shell-backdrop{position:fixed;inset:0}.shell-edge{touch-action:none;transition:visibility 0s var(--slide-duration);-webkit-user-select:none;user-select:none;width:var(--width);z-index:30;position:fixed;inset-block:0}.shell-edge--left{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='white' stroke-width='5'/%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 12 12,e-resize;left:0}.shell-edge--right{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6' stroke='white' stroke-width='5'/%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 12 12,w-resize;right:0}.shell-edge:active{cursor:grabbing}.shell-edge--left .shell-handle{left:calc(var(--width) * -1)}.shell-edge--left:is(:active,:hover) .shell-handle{left:calc(var(--left-gap-horizontal) + var(--inset-horizontal))}.shell-edge--right .shell-handle{right:calc(var(--width) * -1)}.shell-edge--right:is(:active,:hover) .shell-handle{right:calc(var(--right-gap-horizontal) + var(--inset-horizontal))}.shell-handle{background:var(--color);border-radius:var(--border-radius);height:var(--height);transition:background var(--transition-duration) var(--transition-timing-function), left var(--slide-duration) var(--slide-timing-function), opacity var(--slide-duration) var(--slide-timing-function), right var(--slide-duration) var(--slide-timing-function);translate:0 calc(var(--offset,0px) - 50%);width:var(--width);position:absolute;top:50%}.shell-main{clip-path:inset(0 max(0px, var(--right-edge) - var(--right-space) - var(--right-gap-horizontal)) 0 max(0px, var(--left-edge) - var(--left-space) - var(--left-gap-horizontal)) round var(--border-radius));height:var(--height);margin:var(--gap-vertical) var(--right-gap-horizontal) var(--gap-vertical) var(--left-gap-horizontal);transition:clip-path var(--slide-duration) var(--slide-timing-function), margin var(--slide-duration) var(--slide-timing-function), translate var(--slide-duration) var(--slide-timing-function);background:0 0;grid-column:2;overflow:hidden auto}@media (width<=1024px){.shell-main{background:var(--background);clip-path:none;translate:calc(var(--right-space) * -1) 0}}.shell-sidebar{touch-action:pan-y;transition:translate var(--slide-duration) var(--slide-timing-function), visibility 0s var(--slide-duration);visibility:hidden;width:min(var(--space), 100%);z-index:31;flex-direction:column;display:flex;position:fixed;inset-block:0;overflow:hidden}.shell-sidebar--dragging{cursor:grabbing;visibility:visible;transition:none}.shell-sidebar--left{left:0;translate:-100%}.shell-sidebar--right{right:0;translate:100%}.shell-sidebar.--peek,.shell-sidebar.--active{visibility:visible;transition-delay:0s;translate:0}.shell-surface{background:var(--surface-background-default);border-radius:var(--border-radius-500);inset-block:var(--gap-vertical);left:var(--left-edge);right:var(--right-edge);transition:left var(--slide-duration) var(--slide-timing-function), right var(--slide-duration) var(--slide-timing-function);position:fixed}@media (width<=1024px){.shell-surface{display:none}}.shell-toggle{height:var(--size);top:var(--inset-vertical);width:var(--size);z-index:40;display:flex;position:fixed}.shell-toggle--left{left:var(--inset-horizontal)}.shell-toggle--right{right:var(--inset-horizontal)}.shell-toggle:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}}
|
|
2
2
|
/*$vite$:1*/
|