@esportsplus/ui 0.63.0 → 0.64.1
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 +2 -2
- package/.audit/rules-audit.md +2 -2
- package/README.md +15 -18
- package/RULES.md +80 -9
- package/bin/agent-cli +300 -0
- package/build/components/accordion/index.d.ts +4 -0
- package/build/components/accordion/index.js +13 -10
- package/build/components/breadcrumb/index.d.ts +1 -0
- package/build/components/breadcrumb/index.js +43 -37
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/kbd.d.ts +1 -1
- package/build/components/button/kbd.js +17 -15
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/split.js +14 -16
- package/build/components/capslock/scss/index.scss +1 -1
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/chat/minimap/index.js +4 -5
- package/build/components/checkbox/group.d.ts +1 -0
- package/build/components/checkbox/group.js +21 -20
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/color-picker/index.js +6 -6
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/index.d.ts +1 -1
- package/build/components/command/palette.d.ts +13 -9
- package/build/components/command/palette.js +143 -152
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/command/search.d.ts +5 -7
- package/build/components/command/search.js +6 -26
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/editor/code/commands.js +1 -1
- package/build/components/editor/code/document.d.ts +1 -3
- package/build/components/editor/code/document.js +1 -1
- package/build/components/editor/code/editor.d.ts +18 -6
- package/build/components/editor/code/editor.js +9 -7
- package/build/components/editor/code/features.js +27 -18
- package/build/components/editor/code/find.d.ts +1 -1
- package/build/components/editor/code/find.js +5 -6
- package/build/components/editor/code/folding.d.ts +3 -5
- package/build/components/editor/code/folding.js +2 -15
- package/build/components/editor/code/gutter.js +2 -2
- package/build/components/editor/code/index.d.ts +1 -0
- package/build/components/editor/code/index.js +1 -0
- package/build/components/editor/code/minimap.d.ts +3 -1
- package/build/components/editor/code/minimap.js +31 -5
- package/build/components/editor/code/services/model.js +2 -1
- package/build/components/editor/code/syntax.js +2 -1
- package/build/components/editor/code/view.d.ts +8 -2
- package/build/components/editor/code/view.js +37 -56
- package/build/components/editor/diffs/index.d.ts +1 -0
- package/build/components/editor/diffs/index.js +1 -0
- package/build/components/editor/diffs/merge.js +16 -17
- package/build/components/editor/diffs/view.js +10 -11
- package/build/components/editor/markdown/editing.d.ts +2 -1
- package/build/components/editor/markdown/editing.js +14 -5
- package/build/components/editor/markdown/format.d.ts +1 -1
- package/build/components/editor/markdown/format.js +116 -26
- package/build/components/editor/markdown/layout.js +2 -1
- package/build/components/editor/markdown/model.d.ts +1 -2
- package/build/components/editor/markdown/model.js +1 -29
- package/build/components/editor/markdown/render.js +1 -1
- package/build/components/editor/markdown/template.d.ts +3 -10
- package/build/components/editor/markdown/template.js +2 -29
- package/build/components/editor/markdown/toolbar.d.ts +2 -2
- package/build/components/editor/markdown/toolbar.js +90 -126
- package/build/components/editor/markdown/view.d.ts +1 -1
- package/build/components/editor/markdown/view.js +54 -87
- package/build/components/editor/tree/drag.js +1 -1
- package/build/components/editor/tree/find.js +70 -64
- package/build/components/editor/tree/template.js +8 -7
- package/build/components/editor/viewer/model.d.ts +1 -1
- package/build/components/editor/viewer/template.js +4 -26
- package/build/components/editor/workspace/keybindings.d.ts +1 -1
- package/build/components/editor/workspace/model.d.ts +12 -2
- package/build/components/editor/workspace/model.js +87 -31
- package/build/components/editor/workspace/session.d.ts +2 -6
- package/build/components/editor/workspace/session.js +99 -16
- package/build/components/editor/workspace/status.d.ts +1 -1
- package/build/components/editor/workspace/strip.d.ts +10 -9
- package/build/components/editor/workspace/strip.js +99 -141
- package/build/components/editor/workspace/tabs.d.ts +2 -4
- package/build/components/editor/workspace/tabs.js +1 -14
- package/build/components/editor/workspace/template.d.ts +1 -1
- package/build/components/editor/workspace/template.js +305 -435
- package/build/components/error/index.d.ts +4 -13
- package/build/components/error/index.js +53 -172
- package/build/components/error/scss/index.scss +1 -1
- package/build/components/form/action.d.ts +2 -2
- package/build/components/form/action.js +2 -2
- package/build/components/form/input.d.ts +3 -3
- package/build/components/form/input.js +32 -10
- package/build/components/frame/scss/index.scss +1 -1
- package/build/components/group/index.js +96 -9
- package/build/components/group/scss/index.scss +1 -1
- package/build/components/heatmap/scss/index.scss +1 -1
- package/build/components/highlight/index.js +55 -48
- package/build/components/highlight/scss/index.scss +1 -1
- package/build/components/icon/scss/index.scss +1 -1
- package/build/components/image/scss/index.scss +1 -1
- package/build/components/index.d.ts +3 -6
- package/build/components/index.js +3 -6
- package/build/components/inline-edit/index.d.ts +2 -2
- package/build/components/inline-edit/index.js +5 -5
- package/build/components/inline-edit/rich.js +4 -4
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/inline-edit/status.js +1 -0
- package/build/components/input/index.d.ts +4 -0
- package/build/components/input/index.js +3 -1
- package/build/components/input/otp.d.ts +18 -0
- package/build/components/input/otp.js +112 -0
- package/build/components/input/password.d.ts +15 -0
- package/build/components/input/password.js +163 -0
- package/build/components/input/scrub.d.ts +1 -0
- package/build/components/input/scrub.js +103 -89
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/input/tag.d.ts +5 -0
- package/build/components/input/tag.js +116 -69
- package/build/components/json/download.js +1 -1
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/marquee/index.js +1 -1
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/nav/scss/index.scss +1 -1
- package/build/components/nav/tree.d.ts +2 -1
- package/build/components/nav/tree.js +6 -5
- package/build/components/notification/index.js +3 -3
- package/build/components/notification/scss/index.scss +1 -1
- package/build/components/overlay/popup.d.ts +2 -2
- package/build/components/overlay/popup.js +1 -1
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/pagination/arrows.js +2 -3
- package/build/components/pagination/cards.js +2 -3
- package/build/components/pagination/index.d.ts +2 -3
- package/build/components/pagination/index.js +18 -13
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/progress/index.js +1 -1
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/progress/text.js +3 -3
- package/build/components/range/filter.d.ts +7 -1
- package/build/components/range/filter.js +188 -171
- package/build/components/range/index.d.ts +14 -9
- package/build/components/range/index.js +11 -8
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/range/surface.d.ts +21 -0
- package/build/components/range/surface.js +144 -0
- package/build/components/relative-time/index.js +2 -2
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/{preview/header.d.ts → search/button.d.ts} +3 -3
- package/build/components/search/button.js +18 -0
- package/build/components/search/index.d.ts +8 -0
- package/build/components/search/index.js +5 -0
- package/build/components/search/input.d.ts +9 -0
- package/build/components/search/input.js +23 -0
- package/build/components/search/parts.d.ts +5 -0
- package/build/components/search/parts.js +17 -0
- package/build/components/search/scss/index.scss +2 -0
- package/build/components/select/expand.js +4 -5
- package/build/components/select/index.d.ts +7 -7
- package/build/components/select/index.js +127 -117
- package/build/components/select/placement.js +8 -1
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/{panels → shell}/group.d.ts +21 -5
- package/build/components/shell/group.js +336 -0
- package/build/components/shell/index.d.ts +15 -17
- package/build/components/shell/index.js +583 -238
- package/build/components/shell/model.d.ts +94 -0
- package/build/components/{panels → shell}/model.js +199 -73
- package/build/components/shell/resize.d.ts +5 -0
- package/build/components/{panels → shell}/resize.js +54 -30
- package/build/components/shell/scss/index.scss +1 -1
- package/build/components/shell/sidebar.d.ts +34 -0
- package/build/components/shell/sidebar.js +362 -0
- package/build/components/{panels → shell}/subtree.js +7 -8
- package/build/components/shortcut-recorder/index.d.ts +5 -4
- package/build/components/shortcut-recorder/index.js +69 -44
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/index.d.ts +16 -2
- package/build/components/sortable/index.js +237 -134
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/story/index.js +46 -34
- package/build/components/story/scss/index.scss +1 -1
- package/build/components/surface-field/engine.d.ts +2 -0
- package/build/components/surface-field/engine.js +86 -33
- package/build/components/surface-field/index.d.ts +26 -4
- package/build/components/surface-field/index.js +35 -4
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/surface-field/surface.d.ts +13 -1
- package/build/components/surface-field/surface.js +149 -58
- package/build/components/tasklist/index.d.ts +1 -4
- package/build/components/tasklist/index.js +36 -43
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/textarea/index.d.ts +1 -1
- package/build/components/textarea/index.js +14 -14
- package/build/components/theme/scss/index.scss +1 -1
- package/build/components/theme/shared.d.ts +1 -2
- package/build/components/theme/shared.js +2 -5
- package/build/components/toast/index.d.ts +3 -3
- package/build/components/toast/index.js +3 -3
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/toolbar/index.d.ts +91 -0
- package/build/components/toolbar/index.js +1281 -0
- package/build/components/toolbar/scss/index.scss +2 -0
- package/build/components/tooltip/menu.d.ts +9 -8
- package/build/components/tooltip/menu.js +397 -279
- package/build/components/tooltip/onclick.d.ts +2 -0
- package/build/components/tooltip/onclick.js +13 -4
- package/build/components/tooltip/onhover.d.ts +3 -1
- package/build/components/tooltip/onhover.js +10 -9
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/tooltip/shared.d.ts +4 -4
- package/build/components/tooltip/shared.js +27 -46
- package/build/components/tooltip/utilities.d.ts +5 -2
- package/build/components/tooltip/utilities.js +169 -9
- package/build/components/typewriter/rotate.js +6 -6
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/index.js +1 -1
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/css-utilities/font/montserrat/OFL.txt +93 -0
- package/build/shared/drag.d.ts +15 -9
- package/build/shared/drag.js +41 -28
- package/build/shared/placement.d.ts +39 -0
- package/build/shared/placement.js +55 -0
- package/build/shared/transition.js +1 -1
- package/build/shared/viewport.d.ts +1 -2
- package/build/shared/viewport.js +1 -4
- package/package.json +2 -5
- package/src/components/accordion/index.ts +12 -5
- package/src/components/announcement/index.ts +1 -1
- package/src/components/breadcrumb/index.ts +13 -3
- package/src/components/breadcrumb/scss/index.scss +6 -6
- package/src/components/breadcrumb/scss/variables.scss +7 -0
- package/src/components/button/kbd.ts +22 -17
- package/src/components/button/scss/index.scss +69 -76
- package/src/components/button/scss/variables.scss +51 -18
- package/src/components/button/split.ts +12 -8
- package/src/components/capslock/index.ts +2 -0
- package/src/components/capslock/scss/index.scss +21 -21
- package/src/components/card/scss/index.scss +16 -0
- package/src/components/card/scss/variables.scss +25 -2
- package/src/components/chat/minimap/index.ts +5 -6
- package/src/components/chat/minimap/scss/index.scss +12 -11
- package/src/components/chat/minimap/scss/variables.scss +23 -17
- package/src/components/checkbox/group.ts +8 -7
- package/src/components/checkbox/scss/index.scss +59 -35
- package/src/components/checkbox/scss/variables.scss +24 -17
- package/src/components/color-picker/index.ts +6 -6
- package/src/components/color-picker/scss/index.scss +35 -22
- package/src/components/color-picker/scss/variables.scss +11 -3
- package/src/components/command/index.ts +1 -1
- package/src/components/command/palette.ts +174 -166
- package/src/components/command/scss/index.scss +18 -51
- package/src/components/command/scss/variables.scss +37 -71
- package/src/components/command/search.ts +9 -31
- package/src/components/counter/index.ts +22 -22
- package/src/components/counter/scss/variables.scss +10 -7
- package/src/components/editor/code/commands.ts +1 -1
- package/src/components/editor/code/document.ts +0 -2
- package/src/components/editor/code/editor.ts +31 -13
- package/src/components/editor/code/features.ts +39 -24
- package/src/components/editor/code/find.ts +5 -6
- package/src/components/editor/code/folding.ts +3 -21
- package/src/components/editor/code/gutter.ts +2 -2
- package/src/components/editor/code/index.ts +1 -0
- package/src/components/editor/code/minimap.ts +39 -5
- package/src/components/editor/code/scss/_editor.scss +28 -21
- package/src/components/editor/code/scss/_features.scss +19 -21
- package/src/components/editor/code/scss/_services.scss +14 -11
- package/src/components/editor/code/scss/variables.scss +31 -12
- package/src/components/editor/code/services/model.ts +2 -1
- package/src/components/editor/code/syntax.ts +2 -1
- package/src/components/editor/code/view.ts +22 -45
- package/src/components/editor/diffs/index.ts +1 -0
- package/src/components/editor/diffs/merge.ts +9 -10
- package/src/components/editor/diffs/scss/_diffs.scss +39 -63
- package/src/components/editor/diffs/scss/_merge.scss +10 -2
- package/src/components/editor/diffs/scss/index.scss +0 -1
- package/src/components/editor/diffs/scss/variables.scss +36 -17
- package/src/components/editor/diffs/view.ts +8 -9
- package/src/components/editor/markdown/editing.ts +18 -6
- package/src/components/editor/markdown/format.ts +180 -32
- package/src/components/editor/markdown/layout.ts +2 -1
- package/src/components/editor/markdown/model.ts +0 -38
- package/src/components/editor/markdown/render.ts +1 -1
- package/src/components/editor/markdown/scss/index.scss +38 -52
- package/src/components/editor/markdown/scss/variables.scss +24 -50
- package/src/components/editor/markdown/template.ts +3 -63
- package/src/components/editor/markdown/toolbar.ts +76 -127
- package/src/components/editor/markdown/view.ts +9 -32
- package/src/components/editor/tree/drag.ts +1 -1
- package/src/components/editor/tree/find.ts +61 -64
- package/src/components/editor/tree/scss/index.scss +29 -30
- package/src/components/editor/tree/scss/variables.scss +34 -15
- package/src/components/editor/tree/template.ts +9 -9
- package/src/components/editor/viewer/model.ts +1 -1
- package/src/components/editor/viewer/scss/_viewer.scss +4 -5
- package/src/components/editor/viewer/scss/variables.scss +3 -3
- package/src/components/editor/viewer/template.ts +4 -31
- package/src/components/editor/workspace/keybindings.ts +1 -1
- package/src/components/editor/workspace/model.ts +136 -37
- package/src/components/editor/workspace/scss/_keybindings.scss +3 -20
- package/src/components/editor/workspace/scss/_status.scss +0 -1
- package/src/components/editor/workspace/scss/_tabs.scss +2 -41
- package/src/components/editor/workspace/scss/index.scss +49 -71
- package/src/components/editor/workspace/scss/variables.scss +1 -135
- package/src/components/editor/workspace/session.ts +138 -18
- package/src/components/editor/workspace/status.ts +1 -1
- package/src/components/editor/workspace/strip.ts +96 -115
- package/src/components/editor/workspace/tabs.ts +2 -23
- package/src/components/editor/workspace/template.ts +323 -458
- package/src/components/error/index.ts +47 -183
- package/src/components/error/scss/index.scss +34 -35
- package/src/components/error/scss/variables.scss +14 -26
- package/src/components/filter/scss/index.scss +6 -5
- package/src/components/form/action.ts +7 -7
- package/src/components/form/input.ts +25 -12
- package/src/components/frame/scss/index.scss +5 -5
- package/src/components/group/index.ts +77 -2
- package/src/components/group/scss/index.scss +164 -0
- package/src/components/group/scss/variables.scss +110 -2
- package/src/components/heatmap/scss/variables.scss +13 -10
- package/src/components/highlight/index.ts +87 -79
- package/src/components/highlight/scss/index.scss +6 -16
- package/src/components/highlight/scss/variables.scss +33 -5
- package/src/components/icon/scss/index.scss +2 -2
- package/src/components/icon/scss/variables.scss +14 -1
- package/src/components/image/scss/index.scss +9 -9
- package/src/components/image/scss/variables.scss +1 -1
- package/src/components/index.ts +3 -6
- package/src/components/inline-edit/index.ts +8 -6
- package/src/components/inline-edit/rich.ts +8 -8
- package/src/components/inline-edit/scss/index.scss +50 -36
- package/src/components/inline-edit/scss/variables.scss +28 -18
- package/src/components/inline-edit/status.ts +2 -0
- package/src/components/input/index.ts +3 -1
- package/src/components/input/otp.ts +175 -0
- package/src/components/input/password.ts +178 -0
- package/src/components/input/scrub.ts +197 -178
- package/src/components/input/scss/index.scss +344 -4
- package/src/components/input/scss/variables.scss +234 -65
- package/src/components/input/tag.ts +98 -53
- package/src/components/json/download.ts +2 -5
- package/src/components/link/scss/index.scss +3 -5
- package/src/components/loading/scss/index.scss +1 -0
- package/src/components/loading/scss/variables.scss +1 -0
- package/src/components/marquee/index.ts +1 -1
- package/src/components/marquee/scss/index.scss +11 -4
- package/src/components/nav/scss/index.scss +10 -26
- package/src/components/nav/scss/variables.scss +13 -23
- package/src/components/nav/tree.ts +10 -8
- package/src/components/notification/index.ts +3 -3
- package/src/components/notification/scss/index.scss +7 -14
- package/src/components/notification/scss/variables.scss +10 -2
- package/src/components/number/index.ts +1 -1
- package/src/components/overlay/popup.ts +2 -2
- package/src/components/overlay/scss/index.scss +60 -51
- package/src/components/page/scss/variables.scss +1 -0
- package/src/components/pagination/arrows.ts +2 -3
- package/src/components/pagination/cards.ts +2 -3
- package/src/components/pagination/index.ts +11 -9
- package/src/components/pagination/scss/index.scss +38 -101
- package/src/components/pagination/scss/variables.scss +24 -75
- package/src/components/progress/index.ts +1 -1
- package/src/components/progress/scss/index.scss +22 -11
- package/src/components/progress/scss/variables.scss +13 -5
- package/src/components/progress/text.ts +3 -3
- package/src/components/range/filter.ts +249 -246
- package/src/components/range/index.ts +22 -7
- package/src/components/range/scss/index.scss +470 -15
- package/src/components/range/scss/variables.scss +402 -198
- package/src/components/range/surface.ts +135 -0
- package/src/components/relative-time/index.ts +2 -2
- package/src/components/relative-time/scss/index.scss +4 -2
- package/src/components/relative-time/scss/variables.scss +4 -5
- package/src/components/root/scss/index.scss +11 -11
- package/src/components/root/scss/variables.scss +4 -4
- package/src/components/search/button.ts +24 -0
- package/src/components/search/index.ts +12 -0
- package/src/components/search/input.ts +35 -0
- package/src/components/search/parts.ts +24 -0
- package/src/components/search/scss/index.scss +36 -0
- package/src/components/search/scss/variables.scss +67 -0
- package/src/components/section/scss/variables.scss +1 -0
- package/src/components/select/expand.ts +3 -4
- package/src/components/select/index.ts +55 -41
- package/src/components/select/placement.ts +17 -1
- package/src/components/select/scss/index.scss +57 -29
- package/src/components/select/scss/variables.scss +91 -53
- package/src/components/{panels → shell}/group.ts +151 -98
- package/src/components/shell/index.ts +805 -284
- package/src/components/{panels → shell}/model.ts +329 -102
- package/src/components/shell/resize.ts +176 -0
- package/src/components/shell/scss/index.scss +502 -89
- package/src/components/shell/scss/variables.scss +264 -39
- package/src/components/shell/sidebar.ts +325 -0
- package/src/components/{panels → shell}/subtree.ts +1 -2
- package/src/components/shortcut-recorder/index.ts +99 -61
- package/src/components/shortcut-recorder/scss/index.scss +76 -52
- package/src/components/shortcut-recorder/scss/variables.scss +25 -30
- package/src/components/sortable/index.ts +364 -63
- package/src/components/sortable/scss/index.scss +22 -2
- package/src/components/sortable/scss/variables.scss +16 -4
- package/src/components/story/index.ts +56 -33
- package/src/components/story/scss/index.scss +67 -16
- package/src/components/story/scss/variables.scss +59 -18
- package/src/components/surface-field/engine.ts +157 -61
- package/src/components/surface-field/index.ts +64 -9
- package/src/components/surface-field/scss/index.scss +88 -77
- package/src/components/surface-field/scss/variables.scss +84 -36
- package/src/components/surface-field/surface.ts +225 -76
- package/src/components/tasklist/index.ts +10 -14
- package/src/components/tasklist/scss/index.scss +25 -45
- package/src/components/tasklist/scss/variables.scss +12 -29
- package/src/components/textarea/index.ts +39 -42
- package/src/components/theme/reveal.ts +1 -0
- package/src/components/theme/scss/index.scss +20 -16
- package/src/components/theme/scss/variables.scss +11 -5
- package/src/components/theme/shared.ts +3 -7
- package/src/components/toast/index.ts +7 -8
- package/src/components/toast/scss/index.scss +44 -36
- package/src/components/toast/scss/variables.scss +36 -33
- package/src/components/toolbar/index.ts +1675 -0
- package/src/components/toolbar/scss/index.scss +759 -0
- package/src/components/toolbar/scss/variables.scss +555 -0
- package/src/components/tooltip/menu.ts +301 -220
- package/src/components/tooltip/onclick.ts +18 -3
- package/src/components/tooltip/onhover.ts +13 -9
- package/src/components/tooltip/scss/index.scss +155 -188
- package/src/components/tooltip/scss/variables.scss +151 -135
- package/src/components/tooltip/shared.ts +47 -74
- package/src/components/tooltip/utilities.ts +151 -10
- package/src/components/truncate/index.ts +1 -1
- package/src/components/typewriter/rotate.ts +6 -6
- package/src/components/typewriter/scss/index.scss +14 -5
- package/src/components/uptime/scss/index.scss +8 -15
- package/src/components/uptime/scss/variables.scss +12 -1
- package/src/components/usage-meter/index.ts +1 -1
- package/src/components/usage-meter/scss/index.scss +6 -4
- package/src/components/usage-meter/scss/variables.scss +11 -11
- package/src/css-utilities/box-shadow.scss +0 -1
- package/src/css-utilities/icon.scss +9 -9
- package/src/css-utilities/surface.scss +27 -17
- package/src/modifiers/glass/index.ts +2 -2
- package/src/modifiers/glass/scss/index.scss +2 -2
- package/src/normalize/scss/index.scss +1 -1
- package/src/shared/drag.ts +92 -53
- package/src/shared/placement.ts +145 -0
- package/src/shared/transition.ts +1 -1
- package/src/shared/viewport.ts +1 -7
- package/src/tokens/scss/color.scss +2 -2
- package/src/tokens/scss/scale.scss +5 -1
- package/src/tokens/scss/size.scss +0 -7
- package/storage/svg/angle.svg +1 -0
- package/storage/svg/{chevron-left.svg → arrow.svg} +1 -1
- package/storage/svg/calendar.svg +1 -0
- package/storage/svg/circle-filled.svg +1 -0
- package/storage/svg/cursor-arrow-left.svg +1 -0
- package/storage/svg/cursor-arrow-right.svg +1 -0
- package/storage/svg/fit.svg +1 -0
- package/storage/svg/grip.svg +1 -0
- package/storage/svg/mail.svg +1 -0
- package/storage/svg/{chevron-down.svg → minus.svg} +1 -1
- package/storage/svg/music.svg +1 -0
- package/storage/svg/{chevron-up.svg → rotate-ccw.svg} +1 -1
- package/vite.config.ts +9 -13
- package/NOTICE +0 -232
- package/build/components/dock/index.d.ts +0 -47
- package/build/components/dock/index.js +0 -469
- package/build/components/dock/scss/index.scss +0 -2
- package/build/components/metric/flash.d.ts +0 -12
- package/build/components/metric/flash.js +0 -117
- package/build/components/metric/index.d.ts +0 -44
- package/build/components/metric/index.js +0 -275
- package/build/components/metric/scss/index.scss +0 -2
- package/build/components/pagination/dots.d.ts +0 -23
- package/build/components/pagination/dots.js +0 -115
- package/build/components/panels/dnd.d.ts +0 -47
- package/build/components/panels/dnd.js +0 -114
- package/build/components/panels/group.js +0 -322
- package/build/components/panels/index.d.ts +0 -17
- package/build/components/panels/index.js +0 -524
- package/build/components/panels/model.d.ts +0 -64
- package/build/components/panels/resize.d.ts +0 -9
- package/build/components/panels/scss/index.scss +0 -2
- package/build/components/preview/buttons.d.ts +0 -12
- package/build/components/preview/buttons.js +0 -26
- package/build/components/preview/code.d.ts +0 -8
- package/build/components/preview/code.js +0 -18
- package/build/components/preview/header.js +0 -21
- package/build/components/preview/index.d.ts +0 -37
- package/build/components/preview/index.js +0 -123
- package/build/components/preview/scss/index.scss +0 -2
- package/build/components/preview/source.d.ts +0 -12
- package/build/components/preview/source.js +0 -79
- package/build/components/preview/stage.d.ts +0 -8
- package/build/components/preview/stage.js +0 -28
- package/build/components/textarea/scss/index.scss +0 -2
- package/src/components/dock/index.ts +0 -567
- package/src/components/dock/scss/index.scss +0 -346
- package/src/components/dock/scss/variables.scss +0 -357
- package/src/components/input/scss/_field.scss +0 -39
- package/src/components/input/scss/_scrub.scss +0 -89
- package/src/components/input/scss/_tag.scss +0 -142
- package/src/components/metric/flash.ts +0 -129
- package/src/components/metric/index.ts +0 -307
- package/src/components/metric/scss/_flash.scss +0 -150
- package/src/components/metric/scss/index.scss +0 -155
- package/src/components/metric/scss/variables.scss +0 -233
- package/src/components/pagination/dots.ts +0 -132
- package/src/components/panels/dnd.ts +0 -190
- package/src/components/panels/index.ts +0 -676
- package/src/components/panels/resize.ts +0 -157
- package/src/components/panels/scss/index.scss +0 -379
- package/src/components/panels/scss/variables.scss +0 -197
- package/src/components/preview/buttons.ts +0 -48
- package/src/components/preview/code.ts +0 -28
- package/src/components/preview/header.ts +0 -23
- package/src/components/preview/index.ts +0 -149
- package/src/components/preview/scss/index.scss +0 -158
- package/src/components/preview/scss/variables.scss +0 -149
- package/src/components/preview/source.ts +0 -73
- package/src/components/preview/stage.ts +0 -33
- package/src/components/range/scss/_filter.scss +0 -360
- package/src/components/range/scss/_slider.scss +0 -65
- package/src/components/range/scss/_vertical.scss +0 -10
- package/src/components/textarea/scss/index.scss +0 -72
- package/src/components/textarea/scss/variables.scss +0 -22
- package/storage/svg/amex.svg +0 -1
- package/storage/svg/arrow-down.svg +0 -1
- package/storage/svg/arrow-left.svg +0 -1
- package/storage/svg/arrow-right.svg +0 -1
- package/storage/svg/arrow-up.svg +0 -1
- package/storage/svg/card.svg +0 -1
- package/storage/svg/chip.svg +0 -1
- package/storage/svg/discover.svg +0 -1
- package/storage/svg/mastercard.svg +0 -1
- package/storage/svg/visa.svg +0 -1
- /package/build/components/{panels → shell}/subtree.d.ts +0 -0
- /package/storage/svg/{chevron-right.svg → chevron.svg} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
2
2
|
import { onCleanup, root } from '@esportsplus/reactivity';
|
|
3
|
+
import * as template_u1 from '@esportsplus/template';
|
|
3
4
|
import { setProperties } from '@esportsplus/template';
|
|
4
|
-
|
|
5
|
+
const template_0lg75ir3 = template_u1.template(`<div role='separator'><span class='shell-handle-pill'>`, true);
|
|
6
|
+
class ReactiveObject_0lg75ir0 extends reactivity_u0.ReactiveObject {
|
|
5
7
|
#x = this[reactivity_u0.SIGNAL](0);
|
|
6
8
|
#y = this[reactivity_u0.SIGNAL](0);
|
|
7
9
|
constructor() {
|
|
@@ -20,23 +22,44 @@ class ReactiveObject_1yj5z000 extends reactivity_u0.ReactiveObject {
|
|
|
20
22
|
reactivity_u0.write(this.#y, _v1);
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
|
-
|
|
25
|
+
class ReactiveObject_0lg75ir1 extends reactivity_u0.ReactiveObject {
|
|
26
|
+
#offset = this[reactivity_u0.SIGNAL](0);
|
|
27
|
+
constructor() {
|
|
28
|
+
super(null);
|
|
29
|
+
}
|
|
30
|
+
get offset() {
|
|
31
|
+
return reactivity_u0.read(this.#offset);
|
|
32
|
+
}
|
|
33
|
+
set offset(_v0) {
|
|
34
|
+
reactivity_u0.write(this.#offset, _v0);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const RESIZE_STATE = Symbol('shell.resize.root');
|
|
24
38
|
function page() {
|
|
25
39
|
let element = document.documentElement;
|
|
26
40
|
return element[RESIZE_STATE] ??= root(() => {
|
|
27
|
-
let state = new
|
|
41
|
+
let state = new ReactiveObject_0lg75ir0();
|
|
28
42
|
setProperties(element, {
|
|
29
43
|
class: () => [
|
|
30
|
-
(state.x > 0 || state.y > 0) && '
|
|
31
|
-
state.x > 0 && '
|
|
32
|
-
state.y > 0 && '
|
|
44
|
+
(state.x > 0 || state.y > 0) && 'shell-resizing',
|
|
45
|
+
state.x > 0 && 'shell-resizing--x',
|
|
46
|
+
state.y > 0 && 'shell-resizing--y'
|
|
33
47
|
]
|
|
34
48
|
});
|
|
35
49
|
return state;
|
|
36
50
|
});
|
|
37
51
|
}
|
|
38
|
-
const
|
|
39
|
-
|
|
52
|
+
const resized = (sizes, index, delta, length, minimum) => {
|
|
53
|
+
if (length <= 0 || index < 0 || index >= sizes.length - 1) {
|
|
54
|
+
return [...sizes];
|
|
55
|
+
}
|
|
56
|
+
let a = sizes[index], pair = a + sizes[index + 1], floor = Math.min(Math.max(0, minimum), pair / 2), next = [...sizes], size = Math.max(floor, Math.min(pair - floor, a + delta / length));
|
|
57
|
+
next[index] = size;
|
|
58
|
+
next[index + 1] = pair - size;
|
|
59
|
+
return next;
|
|
60
|
+
};
|
|
61
|
+
const separator = (axis, start, attributes) => {
|
|
62
|
+
let drag = null, pointer = new ReactiveObject_0lg75ir1();
|
|
40
63
|
function commit() {
|
|
41
64
|
if (!drag?.dirty) {
|
|
42
65
|
return;
|
|
@@ -62,10 +85,14 @@ const resize = (axis, start) => {
|
|
|
62
85
|
}
|
|
63
86
|
}
|
|
64
87
|
onCleanup(release);
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
88
|
+
{
|
|
89
|
+
let root_0lg75ir2 = template_0lg75ir3();
|
|
90
|
+
template_u1.setProperty(root_0lg75ir2, 'aria-orientation', axis === 'x' ? 'vertical' : 'horizontal');
|
|
91
|
+
let attributes_0lg75ir4 = attributes;
|
|
92
|
+
template_u1.setProperties(root_0lg75ir2, attributes_0lg75ir4, true);
|
|
93
|
+
template_u1.delegate(root_0lg75ir2, 'lostpointercapture', stop);
|
|
94
|
+
template_u1.delegate(root_0lg75ir2, 'pointercancel', stop);
|
|
95
|
+
template_u1.delegate(root_0lg75ir2, 'pointerdown', function (e) {
|
|
69
96
|
if (e.button !== 0 || drag) {
|
|
70
97
|
return;
|
|
71
98
|
}
|
|
@@ -73,8 +100,7 @@ const resize = (axis, start) => {
|
|
|
73
100
|
if (!update) {
|
|
74
101
|
return;
|
|
75
102
|
}
|
|
76
|
-
|
|
77
|
-
target.setPointerCapture(e.pointerId);
|
|
103
|
+
this.setPointerCapture(e.pointerId);
|
|
78
104
|
e.preventDefault();
|
|
79
105
|
e.stopPropagation();
|
|
80
106
|
drag = {
|
|
@@ -83,12 +109,16 @@ const resize = (axis, start) => {
|
|
|
83
109
|
frame: 0,
|
|
84
110
|
origin: axis === 'x' ? e.clientX : e.clientY,
|
|
85
111
|
pointer: e.pointerId,
|
|
86
|
-
target,
|
|
112
|
+
target: this,
|
|
87
113
|
update
|
|
88
114
|
};
|
|
89
115
|
page()[axis]++;
|
|
90
|
-
}
|
|
91
|
-
|
|
116
|
+
});
|
|
117
|
+
template_u1.delegate(root_0lg75ir2, 'pointermove', function (e) {
|
|
118
|
+
let bounds = this.getBoundingClientRect();
|
|
119
|
+
pointer.offset = axis === 'x'
|
|
120
|
+
? e.clientY - bounds.top - bounds.height / 2
|
|
121
|
+
: e.clientX - bounds.left - bounds.width / 2;
|
|
92
122
|
if (drag?.pointer !== e.pointerId) {
|
|
93
123
|
return;
|
|
94
124
|
}
|
|
@@ -101,23 +131,17 @@ const resize = (axis, start) => {
|
|
|
101
131
|
commit();
|
|
102
132
|
}
|
|
103
133
|
});
|
|
104
|
-
}
|
|
105
|
-
|
|
134
|
+
});
|
|
135
|
+
template_u1.delegate(root_0lg75ir2, 'pointerup', (e) => {
|
|
106
136
|
if (drag?.pointer !== e.pointerId) {
|
|
107
137
|
return;
|
|
108
138
|
}
|
|
109
139
|
commit();
|
|
110
140
|
release();
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
if (length <= 0 || index < 0 || index >= sizes.length - 1) {
|
|
116
|
-
return [...sizes];
|
|
141
|
+
});
|
|
142
|
+
template_u1.setClass(root_0lg75ir2, ["shell-handle", "shell-handle--" + (axis), attributes_0lg75ir4?.class]);
|
|
143
|
+
template_u1.setStyle(root_0lg75ir2, ["", attributes_0lg75ir4?.style, () => `--offset: ${pointer.offset}px;`]);
|
|
144
|
+
return root_0lg75ir2;
|
|
117
145
|
}
|
|
118
|
-
let a = sizes[index], pair = a + sizes[index + 1], floor = Math.min(Math.max(0, minimum), pair / 2), next = [...sizes], size = Math.max(floor, Math.min(pair - floor, a + delta / length));
|
|
119
|
-
next[index] = size;
|
|
120
|
-
next[index + 1] = pair - size;
|
|
121
|
-
return next;
|
|
122
146
|
};
|
|
123
|
-
export {
|
|
147
|
+
export { resized, separator };
|
|
@@ -1,2 +1,2 @@
|
|
|
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)}}
|
|
1
|
+
@layer components{.shell-expand{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:0}@supports (text-box:trim-both cap alphabetic){.shell-tab-label{text-box:trim-both cap alphabetic}}@supports not (text-box:trim-both cap alphabetic){.shell-tab-label:after{margin-bottom:calc(.618em - .618lh)}.shell-tab-label:after,.shell-tab-label:before{content:"";width:100%;height:0;display:block}.shell-tab-label:before{margin-top:calc(.618em - .618lh)}}.shell-tab-label{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}}.shell-handle{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.shell-handle{--background:var(--background-active)}.shell-handle:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.shell-handle:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.shell-action,.shell-add,.shell-launcher-card,.shell-tab,.shell-tab-close{--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]) .shell-action,:where([data-theme=dark]) .shell-add,:where([data-theme=dark]) .shell-launcher-card,:where([data-theme=dark]) .shell-tab,:where([data-theme=dark]) .shell-tab-close{--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]) .shell-action,:where([data-theme=light]) .shell-add,:where([data-theme=light]) .shell-launcher-card,:where([data-theme=light]) .shell-tab,:where([data-theme=light]) .shell-tab-close{--color-active:var(--color-text-500);--color-default:var(--color-text-400);--color-hover:var(--color-text-300);--color-pressed:var(--color-text-500)}.shell-handle{--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01),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 / .01),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));--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, clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) + (max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016) - (max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016), 1) calc(c * (1 - clamp(0, clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) + (max(calc(var(--surface-level) + -3.2), 0) * .01 + min(calc(var(--surface-level) + -3.2), 0) * .016) - (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, clamp(0, l + var(--surface-level) * .016, l + .096) + (calc(var(--surface-level) + 1.6) * .016) - (var(--surface-level) * .016), 1) calc(c * clamp(0, clamp(0, l + var(--surface-level) * .016, l + .096) + (calc(var(--surface-level) + 1.6) * .016) - (var(--surface-level) * .016), 1) / 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))}@container style(--surface-level:-2){.shell-handle{--surface-level:-3}}@container style(--surface-level:-1){.shell-handle{--surface-level:-2}}@container style(--surface-level:0){.shell-handle{--surface-level:-1}}@container style(--surface-level:1){.shell-handle{--surface-level:0}}@container style(--surface-level:2){.shell-handle{--surface-level:1}}@container style(--surface-level:3){.shell-handle{--surface-level:2}}@container style(--surface-level:4){.shell-handle{--surface-level:3}}@container style(--surface-level:5){.shell-handle{--surface-level:4}}@container style(--surface-level:6){.shell-handle{--surface-level:5}}.shell{--drop-background:oklch(from var(--color-primary-400) l c h / .12);--drop-ring:oklch(from var(--color-primary-400) l c h / .5);--header-height:36px;--left:0px;--left-width:clamp(var(--sidebar-min-width), var(--left-size,var(--space)), min(var(--sidebar-max-width), 100% - var(--main-min-width) - var(--right-claim)));--main-min-width:320px;--right:0px;--right-claim:0px;--right-width:clamp(var(--sidebar-min-width), var(--right-size,var(--space)), min(var(--sidebar-max-width), 100% - var(--main-min-width) - var(--left)));--sidebar-max-width:calc(100% - 88px);--sidebar-min-width:200px;--slide-duration:.3s;--slide-timing-function:cubic-bezier(.32, .72, 0, 1);--space:280px;--toggle-left:var(--size-100);--toggle-right:var(--size-100);--toggle-size:28px;--toggle-top:calc((var(--header-height) - var(--toggle-size)) / 2)}@media (prefers-reduced-motion:reduce){.shell{--slide-duration:0s}}.shell--left-open{--left:var(--left-width)}.shell--narrow{--main-min-width:0px}.shell--right-open{--right:var(--right-width);--right-claim:clamp(var(--sidebar-min-width), var(--right-size,var(--space)), var(--sidebar-max-width))}.shell-action,.shell-add{--background-default:transparent;--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-radius:var(--border-radius-300);--padding-horizontal:0px;--padding-vertical:0px}.shell-action{--background-active:var(--surface-background-active);--size:28px}.shell-add{--size:24px}.shell-body{--min-width:200px;--scrollbar-behavior:auto}.shell-body .--scrollbar{--scrollbar-behavior:smooth}.shell-dock{--background:var(--surface-background-default);--min-height:80px;--z-index:3}.shell-dock-target,.shell-edge,.shell-group--picked{--background:var(--drop-background);--ring-color:var(--drop-ring);--ring-width:var(--border-width-500)}.shell-dock-target{--size:48px;--z-index:45}.shell-edge,.shell-expand{--z-index:2}.shell-edge-grip{--width:24px;--z-index:30}.shell-edge-grip:is(:active,:hover) .shell-edge-handle{--color:var(--color-primary-400);--inset:3px}.shell-edge-handle{--border-radius:var(--border-radius-200);--color:var(--surface-border-hover);--height:10svh;--inset:calc(var(--width) * -1);--width:3px}.shell-handle{--background-default:var(--surface-border-default);--background-hover:var(--surface-border-hover);--background-pressed:var(--surface-border-pressed);--line-width:1px;--size:8px;--z-index:1}.shell-handle:is(:active,:hover) .shell-handle-pill{--opacity:1;--scale:1}.shell-handle-pill{--border-radius:var(--border-radius-200);--color:var(--surface-border-pressed);--length:10svh;--opacity:0;--scale:.8;--thickness:3px}.shell-header{--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4);--height:var(--header-height);--left:calc(var(--toggle-left) * 1.5 + var(--toggle-size));--padding-horizontal:calc(var(--size-300) / 2);--right:calc(var(--toggle-right) * 1.5 + var(--toggle-size))}.shell-launcher{--padding-horizontal:var(--size-600);--padding-vertical:var(--size-600)}.shell-launcher-card{--background-active:var(--surface-background-hover);--background-default:transparent;--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-color-default:var(--surface-border-default);--border-radius:var(--border-radius-400);--border-width:var(--border-width-400);--gap-vertical:calc(var(--size-100) / 2);--padding-horizontal:var(--size-400);--padding-vertical:var(--size-400)}.shell-launcher-card-description{--color:var(--color-text-300);--font-size:var(--font-size-300);--line-height:1.5}.shell-launcher-card-icon.icon{--size:16px}.shell-launcher-card-key{--inset:var(--size-300)}.shell-launcher-card-title{--font-size:var(--font-size-300);--gap-horizontal:var(--size-200);--gap-vertical:0px;--padding-end:var(--size-700)}.shell-launcher-cards{--column-width:180px;--gap-horizontal:var(--size-200);--gap-vertical:var(--size-200)}.shell-launcher-content{--max-width:512px}.shell-launcher-description{--color:var(--color-text-300);--font-size:var(--font-size-300)}.shell-launcher-header{--gap-horizontal:0px;--gap-vertical:calc(var(--size-100) / 2);--spacer:var(--size-500)}.shell-launcher-title{--font-size:var(--font-size-300)}.shell-sidebar{--background:var(--surface-background-default);--z-index:31}.shell-sidebar-resize{--line-width:0px;--size:12px;--z-index:32}.shell-tab{--background-active:transparent;--background-default:transparent;--background-hover:transparent;--background-pressed:transparent;--border-radius:var(--border-radius-300);--font-size:var(--font-size-300);--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4);--height:24px;--max-width:144px;--padding-horizontal:calc(var(--size-300) / 2);--padding-vertical:0px}.shell-tab-close{--border-radius:var(--border-radius-300);--padding-horizontal:0px;--padding-vertical:0px;--size:16px}.shell-tab-close .icon{--size:12px}.shell-tab-close.button{--background-default:transparent;--box-shadow-default:none}.shell-tab-icon.icon{--size:12px}.shell-tab-label{--padding-vertical:.25em}.shell-tabs{--gap-horizontal:calc(var(--size-300) / 4);--gap-vertical:calc(var(--size-300) / 4)}.shell-tabs-highlight{--background-active:var(--surface-background-active);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed)}.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);--left:var(--toggle-left);--padding-horizontal:0px;--padding-vertical:0px;--right:var(--toggle-right);--size:var(--toggle-size);--top:var(--toggle-top);--z-index:40}@property --slide-translate{syntax:"*";inherits:false}.shell{contain:inline-size;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.shell--dragging .shell-dock-target,.shell--dragging .shell-edge{pointer-events:auto}.shell--left-open>.shell-tree>.shell-frame>.shell-edge-grip--left{visibility:hidden;transition-delay:0s}.shell--left-open:not(.shell--narrow)>.shell-tree>.shell-frame>.shell-sidebar-resize--left,.shell:not(.shell--narrow)>.shell-tree>.shell-frame:has(>.shell-sidebar--left.--peek)>.shell-sidebar-resize--left{display:block}.shell--right-open>.shell-tree>.shell-frame>.shell-edge-grip--right{visibility:hidden;transition-delay:0s}.shell--right-open:not(.shell--narrow)>.shell-tree>.shell-frame>.shell-sidebar-resize--right,.shell:not(.shell--narrow)>.shell-tree>.shell-frame:has(>.shell-sidebar--right.--peek)>.shell-sidebar-resize--right{display:block}.shell--narrow>.shell-tree>.shell-frame{grid-template-columns:var(--left) 100% 0px}.shell--narrow>.shell-tree>.shell-frame>.shell-center{translate:calc(var(--right) * -1) 0}.shell--narrow>.shell-tree>.shell-frame>.shell-center>.shell-main .shell-handle,.shell--narrow>.shell-tree>.shell-frame>.shell-center>.shell-main .shell-pane{display:none}.shell--narrow>.shell-tree>.shell-frame>.shell-center>.shell-main .shell-pane--current{flex:100%;display:flex}.shell--sliding>.shell-tree>.shell-frame,.shell--sliding>.shell-tree>.shell-frame>.shell-center{transition:none}.shell-action,.shell-add{height:var(--size);width:var(--size);flex:none}.shell-body{min-height:0;min-width:var(--min-width);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.shell-center{min-width:0;min-height:0;transition:translate var(--slide-duration) var(--slide-timing-function);flex-direction:column;grid-column:2;display:flex;position:relative}.shell-dock{flex:var(--flex);min-height:var(--min-height);min-width:0;display:flex;overflow:hidden}.shell-dock--maximized{background:var(--background);z-index:var(--z-index);position:absolute;inset:0}.shell-dock-target,.shell-edge{pointer-events:none;z-index:var(--z-index);position:absolute}.shell-dock-target--bottom{height:var(--size);bottom:0;left:var(--left);right:var(--right)}.shell-dock-target--left{width:var(--size);left:0;inset-block:0}.shell-dock-target--right{width:var(--size);right:0;inset-block:0}.shell-dock-target.--over,.shell-edge.--over,.shell-group--picked{background:var(--background);box-shadow:inset 0 0 0 var(--ring-width) var(--ring-color)}.shell-edge--bottom{bottom:0;height:50%;inset-inline:0}.shell-edge--left{left:0;width:50%;inset-block:0}.shell-edge--right{right:0;width:50%;inset-block:0}.shell-edge--top{top:0;height:50%;inset-inline:0}.shell-edge-grip{touch-action:none;transition:visibility 0s var(--slide-duration);-webkit-user-select:none;user-select:none;width:var(--width);z-index:var(--z-index);position:absolute;inset-block:0}.shell-edge-grip--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-grip--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-grip--left .shell-edge-handle{left:var(--inset)}.shell-edge-grip--right .shell-edge-handle{right:var(--inset)}.shell-edge-grip:active{cursor:grabbing}.shell-edge-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), right var(--slide-duration) var(--slide-timing-function);translate:0 calc(var(--offset,0px) - 50%);width:var(--width);position:absolute;top:50%}.shell-expand{z-index:var(--z-index);position:absolute;inset:0}.shell-frame{grid-template-columns:var(--left) minmax(0, 1fr) var(--right);min-height:0;transition:grid-template-columns var(--slide-duration) var(--slide-timing-function);flex:1;grid-template-rows:minmax(0,1fr);display:grid;position:relative;overflow:clip}.shell-group{flex-flow:column;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.shell-group--inset-left>.shell-header{padding-inline-start:var(--left)}.shell-group--inset-right>.shell-header{padding-inline-end:var(--right)}.shell-handle{touch-action:none;-webkit-user-select:none;user-select:none;z-index:var(--z-index);flex-shrink:0;position:relative}.shell-handle:after{background:var(--background);content:"";pointer-events:none;transition:background var(--transition-duration) var(--transition-timing-function);position:absolute}.shell-handle--x{cursor:col-resize;height:100%;margin-inline:calc(var(--size) / -2);width:var(--size)}.shell-handle--x:after{width:var(--line-width);inset-block:0;left:50%;translate:-50%}.shell-handle--x .shell-handle-pill{height:var(--length);scale:1 var(--scale);translate:-50% calc(var(--offset,0px) - 50%);width:var(--thickness)}.shell-handle--y{cursor:row-resize;height:var(--size);margin-block:calc(var(--size) / -2);width:100%}.shell-handle--y:after{height:var(--line-width);inset-inline:0;top:50%;translate:0 -50%}.shell-handle--y .shell-handle-pill{height:var(--thickness);scale:var(--scale) 1;translate:calc(var(--offset,0px) - 50%) -50%;width:var(--length)}.shell-handle-pill{background:var(--color);border-radius:var(--border-radius);opacity:var(--opacity);pointer-events:none;transition-duration:var(--transition-duration);transition-property:opacity,scale;transition-timing-function:var(--transition-timing-function);position:absolute;top:50%;left:50%}.shell-handle[hidden]{display:none}.shell-header{align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);padding-inline:var(--padding-horizontal);flex-shrink:0;display:flex}.shell-host,.shell-slot,.shell-subtree{display:contents}.shell-launcher{min-height:0;padding-block:var(--padding-vertical);padding-inline:var(--padding-horizontal);outline:none;flex:1;justify-content:center;align-items:center;display:flex;overflow-y:auto}.shell-launcher-card{border:var(--border-width) solid var(--border-color);align-items:flex-start;gap:var(--gap-vertical) var(--gap-horizontal);text-align:start;white-space:normal;flex-direction:column;justify-content:flex-start;width:100%;position:relative}.shell-launcher-card-description{color:var(--color);font-size:var(--font-size);line-height:var(--line-height)}.shell-launcher-card-key{position:absolute;inset-block-start:var(--inset);inset-inline-end:var(--inset)}.shell-launcher-card-title{font-size:var(--font-size);font-weight:var(--font-weight-500);align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);padding-inline-end:var(--padding-end);display:flex}.shell-launcher-cards{gap:var(--gap-vertical) var(--gap-horizontal);grid-template-columns:repeat(auto-fill, minmax(var(--column-width), 1fr));display:grid}.shell-launcher-content{max-width:var(--max-width);width:100%}.shell-launcher-description{color:var(--color);font-size:var(--font-size)}.shell-launcher-header{gap:var(--gap-vertical) var(--gap-horizontal);text-align:center;flex-direction:column;margin-block-end:var(--spacer);display:flex}.shell-launcher-title{font-size:var(--font-size);font-weight:var(--font-weight-500)}.shell-main{flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.shell-menu{width:0;height:0;position:absolute;top:0;left:0}.shell-pane{flex:var(--flex);min-width:0;min-height:0;display:flex;overflow:hidden}.shell-parking{display:none}.shell-sidebar{background-color:var(--background);touch-action:pan-y;transition:translate var(--slide-duration) var(--slide-timing-function), visibility 0s var(--slide-duration);visibility:hidden;z-index:var(--z-index);flex-direction:column;display:flex;position:absolute;inset-block:0;overflow:hidden}.shell-sidebar--dragging{cursor:grabbing;visibility:visible;transition:none}.shell-sidebar--left{translate:var(--slide-translate,-100% 0);width:min(var(--left-width), 100%);left:0}.shell-sidebar--right{translate:var(--slide-translate,100% 0);width:min(var(--right-width), 100%);right:0}.shell-sidebar-resize{display:none;position:absolute;inset-block:0}.shell-sidebar-resize--left{left:var(--left-width)}.shell-sidebar-resize--right{right:var(--right-width)}.shell-sidebar.--peek,.shell-sidebar.--active{translate:var(--slide-translate,0 0);visibility:visible;transition-delay:0s}.shell-split{width:100%;min-width:0;height:100%;min-height:0;display:flex}.shell-split--column{flex-direction:column}.shell-tab{gap:var(--gap-vertical) var(--gap-horizontal);height:var(--height);max-width:var(--max-width);-webkit-user-select:none;user-select:none;flex:none;padding-inline-end:calc(var(--padding-horizontal) / 2)}.shell-tab--icon{width:var(--height);justify-content:center;padding-inline:0}.shell-tab-close{height:var(--size);width:var(--size);flex:none}.shell-tab-icon{flex:none}.shell-tab-label{min-width:0;padding-block:var(--padding-vertical);flex:1}.shell-tabs{align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);flex:1;min-width:0;height:100%;display:flex;position:relative;overflow:auto hidden}.shell-toggle{height:var(--size);top:var(--top);width:var(--size);z-index:var(--z-index);display:flex;position:absolute}.shell-toggle--left{left:var(--left)}.shell-toggle--right{right:var(--right)}.shell-toggle:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}.shell:not(.shell--narrow) .shell-switch{display:none}:root.shell-resizing,:root.shell-resizing *{-webkit-user-select:none;user-select:none}:root.shell-resizing--x,:root.shell-resizing--x *{cursor:col-resize}:root.shell-resizing--y,:root.shell-resizing--y *{cursor:row-resize}:root.shell-resizing .shell-frame{transition:none}:root.shell-sweeping,:root.shell-sweeping *{-webkit-user-select:none;user-select:none}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as template_u1 from '@esportsplus/template';
|
|
2
|
+
import { type Renderable } from '@esportsplus/template';
|
|
3
|
+
import type state from './model.js';
|
|
4
|
+
type Edge = 'left' | 'right';
|
|
5
|
+
type Frame = {
|
|
6
|
+
dragging: boolean;
|
|
7
|
+
edge?: HTMLElement;
|
|
8
|
+
offset: number;
|
|
9
|
+
peeking: boolean;
|
|
10
|
+
resize?: HTMLElement;
|
|
11
|
+
sidebar?: HTMLElement;
|
|
12
|
+
space: string | undefined;
|
|
13
|
+
translate: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
type Options = {
|
|
16
|
+
hover?: boolean;
|
|
17
|
+
label?: string;
|
|
18
|
+
resizable?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type Sidebars = {
|
|
21
|
+
frames: Record<Edge, Frame>;
|
|
22
|
+
id: string;
|
|
23
|
+
narrow: () => boolean;
|
|
24
|
+
options: Partial<Record<Edge, Options>>;
|
|
25
|
+
stationary: (edge: Edge) => boolean;
|
|
26
|
+
state: ReturnType<typeof state>;
|
|
27
|
+
};
|
|
28
|
+
declare const frame: () => Frame;
|
|
29
|
+
declare const grip: (sidebars: Sidebars, edge: Edge) => template_u1.Element;
|
|
30
|
+
declare const resizer: (sidebars: Sidebars, edge: Edge) => template_u1.Element;
|
|
31
|
+
declare const sidebar: (sidebars: Sidebars, edge: Edge, content: Renderable<unknown>) => template_u1.Element;
|
|
32
|
+
declare const toggle: (sidebars: Sidebars, edge: Edge) => Renderable<any>;
|
|
33
|
+
export { frame, grip, resizer, sidebar, toggle };
|
|
34
|
+
export type { Edge, Frame, Options, Sidebars };
|