@esportsplus/ui 0.63.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.audit/audit.json +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/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
|
@@ -10,6 +10,36 @@ const LAYERS = new WeakSet();
|
|
|
10
10
|
const PAINT = /^(?:backdrop-filter|background|box-shadow|clip-path|color|fill|filter|opacity|outline|stroke|text-decoration|text-shadow|visibility)(?:-|$)|-color$/;
|
|
11
11
|
const pending = new Set();
|
|
12
12
|
let frame = 0;
|
|
13
|
+
function anchored(parent) {
|
|
14
|
+
let value = ANCHORED.get(parent);
|
|
15
|
+
if (value === undefined) {
|
|
16
|
+
let style = getComputedStyle(parent);
|
|
17
|
+
value = !/around|between|center|end|evenly|reverse|right/.test(`${style.alignContent} ${style.flexDirection} ${style.flexWrap} ${style.justifyContent} ${style.textAlign}`);
|
|
18
|
+
ANCHORED.set(parent, value);
|
|
19
|
+
}
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
function before(node, item) {
|
|
23
|
+
return node.contains(item) || (node.isConnected && !!(node.compareDocumentPosition(item) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
24
|
+
}
|
|
25
|
+
function boundary(parent, self, item, target) {
|
|
26
|
+
let items = target ? parent.querySelectorAll(target) : parent.children, first, last;
|
|
27
|
+
for (let candidate of items) {
|
|
28
|
+
if (!self.includes(candidate)) {
|
|
29
|
+
first ??= candidate;
|
|
30
|
+
last = candidate;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return item === first || item === last;
|
|
34
|
+
}
|
|
35
|
+
function concealed(item, parent) {
|
|
36
|
+
for (let node = item; node && node !== parent; node = node.parentElement) {
|
|
37
|
+
if (node.inert) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
13
43
|
function dequeue(measure) {
|
|
14
44
|
pending.delete(measure);
|
|
15
45
|
if (!pending.size) {
|
|
@@ -35,6 +65,9 @@ function easing(value, distance, limit = 8) {
|
|
|
35
65
|
return stop.replace(/[^\s]+/, String(bounded + (progress - bounded) * scale));
|
|
36
66
|
}).join(',')})`;
|
|
37
67
|
}
|
|
68
|
+
function empty() {
|
|
69
|
+
return { height: 0, radius: '0px', variant: '', visible: false, width: 0, x: 0, y: 0 };
|
|
70
|
+
}
|
|
38
71
|
function enqueue(measure) {
|
|
39
72
|
pending.add(measure);
|
|
40
73
|
frame ||= requestAnimationFrame(() => {
|
|
@@ -49,52 +82,6 @@ function enqueue(measure) {
|
|
|
49
82
|
}
|
|
50
83
|
});
|
|
51
84
|
}
|
|
52
|
-
function active(parent, self, target) {
|
|
53
|
-
if (target) {
|
|
54
|
-
return parent.querySelector(`${target}.--active`);
|
|
55
|
-
}
|
|
56
|
-
let children = parent.children;
|
|
57
|
-
for (let i = 0, n = children.length; i < n; i++) {
|
|
58
|
-
let child = children[i];
|
|
59
|
-
if (!self.includes(child) && child.classList.contains('--active')) {
|
|
60
|
-
return child;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
function anchored(parent) {
|
|
66
|
-
let value = ANCHORED.get(parent);
|
|
67
|
-
if (value === undefined) {
|
|
68
|
-
let style = getComputedStyle(parent);
|
|
69
|
-
value = !/around|between|center|end|evenly|reverse|right/.test(`${style.alignContent} ${style.flexDirection} ${style.flexWrap} ${style.justifyContent} ${style.textAlign}`);
|
|
70
|
-
ANCHORED.set(parent, value);
|
|
71
|
-
}
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
function before(node, item) {
|
|
75
|
-
return node.contains(item) || (node.isConnected && !!(node.compareDocumentPosition(item) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
76
|
-
}
|
|
77
|
-
function boundary(parent, self, item, target) {
|
|
78
|
-
let items = target ? parent.querySelectorAll(target) : parent.children, first, last;
|
|
79
|
-
for (let candidate of items) {
|
|
80
|
-
if (!self.includes(candidate)) {
|
|
81
|
-
first ??= candidate;
|
|
82
|
-
last = candidate;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
return item === first || item === last;
|
|
86
|
-
}
|
|
87
|
-
function concealed(item, parent) {
|
|
88
|
-
for (let node = item; node && node !== parent; node = node.parentElement) {
|
|
89
|
-
if (node.inert) {
|
|
90
|
-
return true;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
function empty() {
|
|
96
|
-
return { height: 0, radius: '0px', variant: '', visible: false, width: 0, x: 0, y: 0 };
|
|
97
|
-
}
|
|
98
85
|
function geometry(layer) {
|
|
99
86
|
return `--border-radius: ${layer.radius}; --height: ${layer.height}px; --width: ${layer.width}px; --x: ${layer.x}px; --y: ${layer.y}px;`;
|
|
100
87
|
}
|
|
@@ -107,6 +94,19 @@ function halt(glide) {
|
|
|
107
94
|
}
|
|
108
95
|
glide.slides = [];
|
|
109
96
|
}
|
|
97
|
+
function marked(parent, self, state, target) {
|
|
98
|
+
if (target) {
|
|
99
|
+
return parent.querySelector(`${target}.${state}`);
|
|
100
|
+
}
|
|
101
|
+
let children = parent.children;
|
|
102
|
+
for (let i = 0, n = children.length; i < n; i++) {
|
|
103
|
+
let child = children[i];
|
|
104
|
+
if (!self.includes(child) && child.classList.contains(state)) {
|
|
105
|
+
return child;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
110
|
function remaining(glide) {
|
|
111
111
|
let left = [0, 0, 0, 0];
|
|
112
112
|
for (let i = 0, n = glide.slides.length; i < n; i++) {
|
|
@@ -282,7 +282,14 @@ export default component(({ border, fill = true, hover = true, target, ...attrib
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
function tracked() {
|
|
285
|
-
let items = [
|
|
285
|
+
let items = [
|
|
286
|
+
glides.active.item,
|
|
287
|
+
glides.pointer.item,
|
|
288
|
+
hovered,
|
|
289
|
+
focused,
|
|
290
|
+
parent && marked(parent, self, '--active', target),
|
|
291
|
+
parent && marked(parent, self, '--hover', target)
|
|
292
|
+
];
|
|
286
293
|
return items.filter((item) => !!item);
|
|
287
294
|
}
|
|
288
295
|
function update() {
|
|
@@ -296,7 +303,7 @@ export default component(({ border, fill = true, hover = true, target, ...attrib
|
|
|
296
303
|
focused = null;
|
|
297
304
|
}
|
|
298
305
|
following = following && moving();
|
|
299
|
-
let
|
|
306
|
+
let box = parent.getBoundingClientRect(), container = parent, current = marked(parent, self, '--active', target), item = hovered || focused || marked(parent, self, '--hover', target), pointer = measure('pointer', item, box, 'highlight--hover'), selected = measure('active', current, box, '--active');
|
|
300
307
|
return () => {
|
|
301
308
|
if (parent !== container) {
|
|
302
309
|
return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.highlight{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.highlight{--background:var(--background-active)}.highlight:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.highlight:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}@property --slide-height{syntax:"<length>";inherits:false;initial-value:0}@property --slide-width{syntax:"<length>";inherits:false;initial-value:0}@property --slide-x{syntax:"<length>";inherits:false;initial-value:0}@property --slide-y{syntax:"<length>";inherits:false;initial-value:0}.highlight{--background-opacity:90%;--border-cap-radius:calc(var(--border-width) / 2);--border-color:currentColor;--border-inset-horizontal:calc(var(--size-100) / 2);--border-inset-vertical:calc(var(--size-100) / 2);--border-offset:0px;--border-width:var(--border-width-500);--fade-duration:.16s;--glide:var(--glide-duration);--glide-duration:.16s;--glide-duration-active:var(--glide-duration);--glide-tail:var(--glide-tail-duration);--glide-tail-duration:var(--glide-duration);--glide-tail-duration-active:var(--glide-duration-active);--glide-timing-function:linear(0, .035, .123, .239, .367, .494, .611, .715, .803, .874, .929, .971, 1, 1.02, 1.032, 1.037, 1.038, 1.037, 1.033, 1.028, 1.024, 1.019, 1.014, 1.01, 1);--glide-timing-function-edge:cubic-bezier(.22, 1, .36, 1);--inset-horizontal:0px;--inset-vertical:0px;--scale-default:.92}@media (prefers-reduced-motion:reduce){.highlight{--glide:0s;--glide-tail:0s;--scale-default:1}}.highlight--border-bottom,.highlight--border-top{--inset-vertical:var(--border-inset-vertical)}.highlight--border-left,.highlight--border-right{--inset-horizontal:var(--border-inset-horizontal)}.highlight--hover{--background:var(--background-hover)}:where(:has(:active):not(:has(.--disabled:active)))>.highlight--hover{--background:var(--background-pressed)}.highlight--rail{--background-active:var(--surface-background-active);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-color:var(--color-primary-500);--border-offset:calc(var(--rail-width) * -1);--scale-default:1}.highlight-rail{--rail-color:var(--surface-border-default);--rail-width:var(--border-width-400)}.highlight.--active{--glide:var(--glide-duration-active);--glide-tail:var(--glide-tail-duration-active)}@media (prefers-reduced-motion:reduce){.highlight.--active{--glide:0s;--glide-tail:0s}}.highlight{border-radius:var(--border-radius);height:calc(var(--height) - var(--inset-vertical) * 2 + var(--slide-height));opacity:0;pointer-events:none;scale:var(--scale-default);transition:background var(--transition-duration) var(--transition-timing-function), border-radius var(--glide) var(--glide-timing-function), display var(--fade-duration) allow-discrete, opacity var(--fade-duration) var(--transition-timing-function), scale var(--fade-duration) var(--transition-timing-function);translate:calc(var(--x) + var(--inset-horizontal) + var(--slide-x)) calc(var(--y) + var(--inset-vertical) + var(--slide-y));width:calc(var(--width) - var(--inset-horizontal) * 2 + var(--slide-width));z-index:-1;display:none;position:absolute;inset:0 auto auto 0}@media (prefers-reduced-motion:reduce){.highlight{transition:background var(--transition-duration) var(--transition-timing-function), display var(--fade-duration) allow-discrete, opacity var(--fade-duration) var(--transition-timing-function)}}.highlight--border:after{background:var(--border-color);border-radius:var(--border-cap-radius);content:"";position:absolute}.highlight--border-bottom:after{bottom:calc(var(--border-offset) - var(--inset-vertical));height:var(--border-width);inset-inline:calc(var(--inset-horizontal) * -1)}.highlight--border-top:after{top:calc(var(--border-offset) - var(--inset-vertical));height:var(--border-width);inset-inline:calc(var(--inset-horizontal) * -1)}.highlight--border-left:after{left:calc(var(--border-offset) - var(--inset-horizontal));inset-block:calc(var(--inset-vertical) * -1);width:var(--border-width)}.highlight--border-right:after{right:calc(var(--border-offset) - var(--inset-horizontal));inset-block:calc(var(--inset-vertical) * -1);width:var(--border-width)}.highlight--fill{background:color-mix(in srgb, var(--background) var(--background-opacity), transparent)}.highlight--visible{opacity:1;display:block;scale:1}@starting-style{.highlight--visible{opacity:0;scale:var(--scale-default)}}.highlight-rail--bottom{border-bottom:var(--rail-width) solid var(--rail-color)}.highlight-rail--left{border-left:var(--rail-width) solid var(--rail-color)}.highlight-rail--right{border-right:var(--rail-width) solid var(--rail-color)}.highlight-rail--top{border-top:var(--rail-width) solid var(--rail-color)}:where(:has(>.highlight)){isolation:isolate;position:relative}}
|
|
1
|
+
@layer components{.highlight{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.highlight{--background:var(--background-active)}.highlight:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.highlight:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.highlight--surface{--background-active:var(--surface-background-active);--background-default:var(--surface-background-default);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed)}.highlight--surface-primary{--background-active:var(--surface-primary-active);--background-default:var(--surface-primary-default);--background-hover:var(--surface-primary-hover);--background-pressed:var(--surface-primary-pressed)}:where([data-theme=dark]) .highlight--surface,:where([data-theme=dark]) .highlight--surface.--active,:where([data-theme=light]) .highlight--surface,:where([data-theme=light]) .highlight--surface.--active{--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))}@property --slide-height{syntax:"<length>";inherits:false;initial-value:0}@property --slide-width{syntax:"<length>";inherits:false;initial-value:0}@property --slide-x{syntax:"<length>";inherits:false;initial-value:0}@property --slide-y{syntax:"<length>";inherits:false;initial-value:0}.highlight{--background-opacity:90%;--border-cap-radius:calc(var(--border-width) / 2);--border-color:currentColor;--border-inset-horizontal:calc(var(--size-100) / 2);--border-inset-vertical:calc(var(--size-100) / 2);--border-offset:0px;--border-width:var(--border-width-500);--fade-duration:.16s;--glide:var(--glide-duration);--glide-duration:.16s;--glide-duration-active:var(--glide-duration);--glide-tail:var(--glide-tail-duration);--glide-tail-duration:var(--glide-duration);--glide-tail-duration-active:var(--glide-duration-active);--glide-timing-function:linear(0, .035, .123, .239, .367, .494, .611, .715, .803, .874, .929, .971, 1, 1.02, 1.032, 1.037, 1.038, 1.037, 1.033, 1.028, 1.024, 1.019, 1.014, 1.01, 1);--glide-timing-function-edge:cubic-bezier(.22, 1, .36, 1);--inset-horizontal:0px;--inset-vertical:0px;--scale-default:.92}@media (prefers-reduced-motion:reduce){.highlight{--glide:0s;--glide-tail:0s;--scale-default:1}}.highlight--border-bottom,.highlight--border-top{--inset-vertical:var(--border-inset-vertical)}.highlight--border-left,.highlight--border-right{--inset-horizontal:var(--border-inset-horizontal)}.highlight--hover{--background:var(--background-hover)}:where(:has(:active):not(:has(.--disabled:active)))>.highlight--hover{--background:var(--background-pressed)}.highlight--rail{--background-active:var(--surface-background-active);--background-hover:var(--surface-background-hover);--background-pressed:var(--surface-background-pressed);--border-color:var(--color-primary-500);--border-offset:calc(var(--rail-width) * -1);--scale-default:1}@container style(--surface-level:-3){:where([data-theme=dark]) .highlight--surface.--active{--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 / .02),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .01),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 / .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 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:-2){:where([data-theme=dark]) .highlight--surface.--active{--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 / .02),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .01),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 / .02),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .0075),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:-1){:where([data-theme=dark]) .highlight--surface.--active{--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 / .02),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),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 / .02),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 / .02),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .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 .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:0){:where([data-theme=dark]) .highlight--surface.--active{--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 / .02),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),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 / .02),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 / .02),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .0175),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),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:1){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .02),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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:2){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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:4){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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:5){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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){:where([data-theme=dark]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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){:where([data-theme=light]) .highlight--surface{--surface-level:-3}}@container style(--surface-level:-2){:where([data-theme=light]) .highlight--surface{--surface-level:-3}}@container style(--surface-level:-1){:where([data-theme=light]) .highlight--surface{--surface-level:-3}}@container style(--surface-level:0){:where([data-theme=light]) .highlight--surface{--surface-level:-2}}@container style(--surface-level:1){:where([data-theme=light]) .highlight--surface{--surface-level:-1}}@container style(--surface-level:2){:where([data-theme=light]) .highlight--surface{--surface-level:0}}@container style(--surface-level:3){:where([data-theme=light]) .highlight--surface{--surface-level:1}}@container style(--surface-level:4){:where([data-theme=light]) .highlight--surface{--surface-level:2}}@container style(--surface-level:5){:where([data-theme=light]) .highlight--surface{--surface-level:3}}@container style(--surface-level:6){:where([data-theme=light]) .highlight--surface{--surface-level:4}}@container style(--surface-level:-3){:where([data-theme=light]) .highlight--surface.--active{--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 / .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))}}@container style(--surface-level:-2){:where([data-theme=light]) .highlight--surface.--active{--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 / .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))}}@container style(--surface-level:-1){:where([data-theme=light]) .highlight--surface.--active{--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 / .02),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .01),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 / .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 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:0){:where([data-theme=light]) .highlight--surface.--active{--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 / .02),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .01),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 / .02),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .0075),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:1){:where([data-theme=light]) .highlight--surface.--active{--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 / .02),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),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 / .02),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 / .02),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .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 .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:2){:where([data-theme=light]) .highlight--surface.--active{--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 / .02),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),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 / .02),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 / .02),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .0175),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),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:3){:where([data-theme=light]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .02),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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 / .02),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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:4){:where([data-theme=light]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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:5){:where([data-theme=light]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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){:where([data-theme=light]) .highlight--surface.--active{--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 / .05),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 / .02),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 / .02),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 / .05),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 / .02),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),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))}}.highlight.--active{--glide:var(--glide-duration-active);--glide-tail:var(--glide-tail-duration-active)}@media (prefers-reduced-motion:reduce){.highlight.--active{--glide:0s;--glide-tail:0s}}.--highlight-rail{--rail-color:var(--surface-border-default);--rail-width:var(--border-width-400)}.highlight{border-radius:var(--border-radius);height:calc(var(--height) - var(--inset-vertical) * 2 + var(--slide-height));opacity:0;pointer-events:none;scale:var(--scale-default);transition:background var(--transition-duration) var(--transition-timing-function), border-radius var(--glide) var(--glide-timing-function), display var(--fade-duration) allow-discrete, opacity var(--fade-duration) var(--transition-timing-function), scale var(--fade-duration) var(--transition-timing-function);translate:calc(var(--x) + var(--inset-horizontal) + var(--slide-x)) calc(var(--y) + var(--inset-vertical) + var(--slide-y));width:calc(var(--width) - var(--inset-horizontal) * 2 + var(--slide-width));z-index:-1;display:none;position:absolute;inset:0 auto auto 0}.highlight--border:after{background:var(--border-color);border-radius:var(--border-cap-radius);content:"";position:absolute}.highlight--border-bottom:after{bottom:calc(var(--border-offset) - var(--inset-vertical));height:var(--border-width);inset-inline:calc(var(--inset-horizontal) * -1)}.highlight--border-top:after{top:calc(var(--border-offset) - var(--inset-vertical));height:var(--border-width);inset-inline:calc(var(--inset-horizontal) * -1)}.highlight--border-left:after{left:calc(var(--border-offset) - var(--inset-horizontal));inset-block:calc(var(--inset-vertical) * -1);width:var(--border-width)}.highlight--border-right:after{right:calc(var(--border-offset) - var(--inset-horizontal));inset-block:calc(var(--inset-vertical) * -1);width:var(--border-width)}.highlight--fill{background:color-mix(in srgb, var(--background) var(--background-opacity), transparent)}.highlight--visible{opacity:1;display:block;scale:1}@starting-style{.highlight--visible{opacity:0;scale:var(--scale-default)}}.--highlight-rail-bottom{border-bottom:var(--rail-width) solid var(--rail-color)}.--highlight-rail-left{border-left:var(--rail-width) solid var(--rail-color)}.--highlight-rail-right{border-right:var(--rail-width) solid var(--rail-color)}.--highlight-rail-top{border-top:var(--rail-width) solid var(--rail-color)}:where(:has(>.highlight)){isolation:isolate;position:relative}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.icon{--color:inherit;--height:var(--size);--size:var(--size-400);--width:var(--size)}.icon--rotate{--rotate:
|
|
1
|
+
@layer components{.icon{--color:inherit;--height:var(--size);--rotate:0deg;--size:var(--size-400);--width:var(--size)}.icon--down{--rotate:90deg}.icon--left{--rotate:180deg}.icon--rotate{--transition-duration:.13s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1)}.icon--up{--rotate:-90deg}.icon{color:var(--color);flex:0 0 var(--width);height:var(--height);rotate:var(--rotate);width:var(--width);display:flex;position:relative}:where(.icon){fill:currentColor}.icon--rotate{transition:rotate var(--transition-duration) var(--transition-timing-function)}@media (prefers-reduced-motion:reduce){.icon--rotate{transition:none}}.icon svg{width:100%;height:100%}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.image-lazyload-placeholder,.image-lazyload-source{position:absolute;inset:0}.image-lazyload{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.image-lazyload{--background:var(--background-active)}.image-lazyload:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.image-lazyload:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.image-lazyload{--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .
|
|
1
|
+
@layer components{.image-lazyload-placeholder,.image-lazyload-source{position:absolute;inset:0}.image-lazyload{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.image-lazyload{--background:var(--background-active)}.image-lazyload:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.image-lazyload:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.image-lazyload{--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){.image-lazyload{--surface-level:-3}}@container style(--surface-level:-1){.image-lazyload{--surface-level:-2}}@container style(--surface-level:0){.image-lazyload{--surface-level:-1}}@container style(--surface-level:1){.image-lazyload{--surface-level:0}}@container style(--surface-level:2){.image-lazyload{--surface-level:1}}@container style(--surface-level:3){.image-lazyload{--surface-level:2}}@container style(--surface-level:4){.image-lazyload{--surface-level:3}}@container style(--surface-level:5){.image-lazyload{--surface-level:4}}@container style(--surface-level:6){.image-lazyload{--surface-level:5}}.image{--background:transparent;--border-radius:var(--border-radius-300);--height:var(--size);--size:var(--size-700);--width:var(--size)}.image--stack{--border-radius:var(--border-radius-400);--gap-horizontal:var(--border-width-500);--overlap:calc(var(--width) / 4)}.image--stack:has(+.image--stack){--corner:min(var(--border-radius), var(--height) / 2, var(--width) / 2);--cut:calc(var(--corner) + var(--gap-horizontal));--mask:linear-gradient(#000 0 0);--x:calc(100% - var(--overlap) + var(--corner))}.image--status{--mask:radial-gradient(circle at calc(100% - var(--status-size) / 2) calc(100% - var(--status-size) / 2), #000 calc(var(--status-size) / 2 - .5px), transparent calc(var(--status-size) / 2 + .5px) calc(var(--status-size) / 2 + var(--status-gap) - .5px), #000 calc(var(--status-size) / 2 + var(--status-gap) + .5px));--status-color:var(--color-green-400);--status-gap:var(--border-width-500);--status-size:calc(min(var(--height), var(--width)) * .3)}.image-lazyload{--aspect-ratio:auto;--background-default:var(--surface-background-default);--border-radius:var(--border-radius-600);--transition-duration:.65s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1)}.image-lazyload--error .image-lazyload-source{--visibility:hidden}.image-lazyload--ready .image-lazyload-placeholder{--opacity:0}.image-lazyload-placeholder{--opacity:1}.image{background:var(--background);border-radius:var(--border-radius);height:var(--height);width:var(--width);background-position:50%;background-size:cover;position:relative}.image--stack+.image--stack{margin-left:calc(var(--overlap) * -1)}.image--stack:has(+.image--stack){mask-composite:subtract,add,add,add,add;mask-image:var(--mask), linear-gradient(to right, transparent var(--x), #000 0), linear-gradient(to right, transparent calc(100% - var(--overlap) - var(--gap-horizontal)), #000 0), radial-gradient(circle at var(--x) var(--corner), #000 calc(var(--cut) - .5px), transparent calc(var(--cut) + .5px)), radial-gradient(circle at var(--x) calc(100% - var(--corner)), #000 calc(var(--cut) - .5px), transparent calc(var(--cut) + .5px));mask-position:0 0,0 0,0,0 0,0 0;mask-repeat:no-repeat;mask-size:100% 100%, 100% 100%, 100% calc(100% - var(--corner) * 2), 100% 100%, 100% 100%}.image--status{mask-clip:no-clip;mask-image:var(--mask)}.image--status:after{background:var(--status-color);content:"";height:calc(var(--status-size) + 1px);width:calc(var(--status-size) + 1px);border-radius:100%;position:absolute;bottom:-.5px;right:-.5px}.image-lazyload{aspect-ratio:var(--aspect-ratio);background:var(--background);border-radius:var(--border-radius);isolation:isolate;width:100%;position:relative;overflow:hidden}.image-lazyload-placeholder,.image-lazyload-source{object-fit:cover;-webkit-user-select:none;user-select:none;width:100%;height:100%}.image-lazyload-placeholder{opacity:var(--opacity);pointer-events:none;transition:opacity var(--transition-duration) var(--transition-timing-function);z-index:1}.image-lazyload-source{visibility:var(--visibility);z-index:0}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -9,7 +9,6 @@ export { default as clipboard } from './clipboard/index.js';
|
|
|
9
9
|
export { default as colorPicker } from './color-picker/index.js';
|
|
10
10
|
export { default as command } from './command/index.js';
|
|
11
11
|
export { default as counter } from './counter/index.js';
|
|
12
|
-
export { default as dock } from './dock/index.js';
|
|
13
12
|
export { createFileTreeIconResolver, default as editor, EditorDocument, EditorWorkspaceModel, FileTreeDecorations, FileTreeEditor, FileTreeElements, FileTreeHistory, fileTreeIcon, isWorkspaceCodeEditor, resolveFileTreeIcon } from './editor/index.js';
|
|
14
13
|
export { default as error } from './error/index.js';
|
|
15
14
|
export { default as filter } from './filter/index.js';
|
|
@@ -24,21 +23,18 @@ export { default as input } from './input/index.js';
|
|
|
24
23
|
export { default as json } from './json/index.js';
|
|
25
24
|
export { default as loading } from './loading/index.js';
|
|
26
25
|
export { default as marquee } from './marquee/index.js';
|
|
27
|
-
export { default as metric } from './metric/index.js';
|
|
28
26
|
export { default as nav } from './nav/index.js';
|
|
29
27
|
export { default as notification } from './notification/index.js';
|
|
30
28
|
export { default as number } from './number/index.js';
|
|
31
29
|
export { default as overlay } from './overlay/index.js';
|
|
32
30
|
export { default as pagination } from './pagination/index.js';
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as preview } from './preview/index.js';
|
|
31
|
+
export { default as shell } from './shell/index.js';
|
|
35
32
|
export { default as progress } from './progress/index.js';
|
|
36
33
|
export { default as radio } from './radio/index.js';
|
|
37
34
|
export { default as range } from './range/index.js';
|
|
38
35
|
export { default as relativeTime } from './relative-time/index.js';
|
|
39
|
-
export { default as search } from './
|
|
36
|
+
export { default as search } from './search/index.js';
|
|
40
37
|
export { default as select } from './select/index.js';
|
|
41
|
-
export { default as shell } from './shell/index.js';
|
|
42
38
|
export { default as shortcutRecorder } from './shortcut-recorder/index.js';
|
|
43
39
|
export { default as sortable } from './sortable/index.js';
|
|
44
40
|
export { default as story } from './story/index.js';
|
|
@@ -48,6 +44,7 @@ export { default as tasklist } from './tasklist/index.js';
|
|
|
48
44
|
export { default as textarea } from './textarea/index.js';
|
|
49
45
|
export { default as theme } from './theme/index.js';
|
|
50
46
|
export { default as toaster } from './toast/index.js';
|
|
47
|
+
export { default as toolbar } from './toolbar/index.js';
|
|
51
48
|
export { default as tooltip } from './tooltip/index.js';
|
|
52
49
|
export { default as truncate } from './truncate/index.js';
|
|
53
50
|
export { default as typewriter } from './typewriter/index.js';
|
|
@@ -9,7 +9,6 @@ export { default as clipboard } from './clipboard/index.js';
|
|
|
9
9
|
export { default as colorPicker } from './color-picker/index.js';
|
|
10
10
|
export { default as command } from './command/index.js';
|
|
11
11
|
export { default as counter } from './counter/index.js';
|
|
12
|
-
export { default as dock } from './dock/index.js';
|
|
13
12
|
export { createFileTreeIconResolver, default as editor, EditorDocument, EditorWorkspaceModel, FileTreeDecorations, FileTreeEditor, FileTreeElements, FileTreeHistory, fileTreeIcon, isWorkspaceCodeEditor, resolveFileTreeIcon } from './editor/index.js';
|
|
14
13
|
export { default as error } from './error/index.js';
|
|
15
14
|
export { default as filter } from './filter/index.js';
|
|
@@ -24,21 +23,18 @@ export { default as input } from './input/index.js';
|
|
|
24
23
|
export { default as json } from './json/index.js';
|
|
25
24
|
export { default as loading } from './loading/index.js';
|
|
26
25
|
export { default as marquee } from './marquee/index.js';
|
|
27
|
-
export { default as metric } from './metric/index.js';
|
|
28
26
|
export { default as nav } from './nav/index.js';
|
|
29
27
|
export { default as notification } from './notification/index.js';
|
|
30
28
|
export { default as number } from './number/index.js';
|
|
31
29
|
export { default as overlay } from './overlay/index.js';
|
|
32
30
|
export { default as pagination } from './pagination/index.js';
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as preview } from './preview/index.js';
|
|
31
|
+
export { default as shell } from './shell/index.js';
|
|
35
32
|
export { default as progress } from './progress/index.js';
|
|
36
33
|
export { default as radio } from './radio/index.js';
|
|
37
34
|
export { default as range } from './range/index.js';
|
|
38
35
|
export { default as relativeTime } from './relative-time/index.js';
|
|
39
|
-
export { default as search } from './
|
|
36
|
+
export { default as search } from './search/index.js';
|
|
40
37
|
export { default as select } from './select/index.js';
|
|
41
|
-
export { default as shell } from './shell/index.js';
|
|
42
38
|
export { default as shortcutRecorder } from './shortcut-recorder/index.js';
|
|
43
39
|
export { default as sortable } from './sortable/index.js';
|
|
44
40
|
export { default as story } from './story/index.js';
|
|
@@ -48,6 +44,7 @@ export { default as tasklist } from './tasklist/index.js';
|
|
|
48
44
|
export { default as textarea } from './textarea/index.js';
|
|
49
45
|
export { default as theme } from './theme/index.js';
|
|
50
46
|
export { default as toaster } from './toast/index.js';
|
|
47
|
+
export { default as toolbar } from './toolbar/index.js';
|
|
51
48
|
export { default as tooltip } from './tooltip/index.js';
|
|
52
49
|
export { default as truncate } from './truncate/index.js';
|
|
53
50
|
export { default as typewriter } from './typewriter/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as template_u1 from '@esportsplus/template';
|
|
2
|
-
import { type Attributes } from '@esportsplus/template';
|
|
2
|
+
import { type Attributes, type Renderable } from '@esportsplus/template';
|
|
3
3
|
import input from '../input/index.js';
|
|
4
4
|
import rich from './rich.js';
|
|
5
5
|
import { INLINE_EDIT_STATUS, type Status } from './status.js';
|
|
@@ -24,7 +24,7 @@ type State = {
|
|
|
24
24
|
};
|
|
25
25
|
declare const INLINE_EDIT_DISPLAY: unique symbol;
|
|
26
26
|
declare const INLINE_EDIT_FIELD: unique symbol;
|
|
27
|
-
declare const plain: template_u1.Factory<A,
|
|
27
|
+
declare const plain: template_u1.Factory<A, Renderable<unknown>, Renderable<any>, {
|
|
28
28
|
readonly display: typeof INLINE_EDIT_DISPLAY;
|
|
29
29
|
readonly field: typeof INLINE_EDIT_FIELD;
|
|
30
30
|
readonly status: typeof INLINE_EDIT_STATUS;
|
|
@@ -2,13 +2,13 @@ import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
|
2
2
|
import { flush } from '@esportsplus/reactivity';
|
|
3
3
|
import * as template_u1 from '@esportsplus/template';
|
|
4
4
|
import { component } from '@esportsplus/template';
|
|
5
|
+
import check from '@esportsplus/ui/svg/check.svg';
|
|
6
|
+
import pencil from '@esportsplus/ui/svg/pencil.svg';
|
|
5
7
|
import icon from '../icon/index.js';
|
|
6
8
|
import input from '../input/index.js';
|
|
7
9
|
import textarea from '../textarea/index.js';
|
|
8
10
|
import rich from './rich.js';
|
|
9
11
|
import status, { INLINE_EDIT_STATUS } from './status.js';
|
|
10
|
-
import check from '@esportsplus/ui/svg/check.svg';
|
|
11
|
-
import pencil from '@esportsplus/ui/svg/pencil.svg';
|
|
12
12
|
import './scss/index.scss';
|
|
13
13
|
const template_13ikqx12 = template_u1.template(`<div><button type='button'><span class='inline-edit-label'>Edit <!--$-->: </span></button><!--$--><span aria-hidden='true' class='inline-edit-icon'><!--$-->`, true);
|
|
14
14
|
class ReactiveObject_13ikqx10 extends reactivity_u0.ReactiveObject {
|
|
@@ -26,7 +26,7 @@ class ReactiveObject_13ikqx10 extends reactivity_u0.ReactiveObject {
|
|
|
26
26
|
const INLINE_EDIT_DISPLAY = Symbol.for('@esportsplus/ui/inline-edit.display');
|
|
27
27
|
const INLINE_EDIT_FIELD = Symbol.for('@esportsplus/ui/inline-edit.field');
|
|
28
28
|
const WHITESPACE = /\s+/g;
|
|
29
|
-
function template({ label, multiline = false, onsave, placeholder = '', status: shown = false, value = '', state = reactivity_u0.reactive({ editing: false, saved: false, value }), ...attributes }) {
|
|
29
|
+
function template({ label, multiline = false, onsave, placeholder = '', status: shown = false, value = '', state = reactivity_u0.reactive({ editing: false, saved: false, value }), ...attributes }, content) {
|
|
30
30
|
let display, draft = '', local = new ReactiveObject_13ikqx10(), parts = { ...this?.attributes?.[INLINE_EDIT_FIELD], ...attributes[INLINE_EDIT_FIELD] }, saving = status.saver(state, shown, () => clean(local.draft) !== state.value, onsave);
|
|
31
31
|
function clean(value) {
|
|
32
32
|
return multiline ? value.trim() : value.replace(WHITESPACE, ' ').trim();
|
|
@@ -78,12 +78,12 @@ function template({ label, multiline = false, onsave, placeholder = '', status:
|
|
|
78
78
|
{
|
|
79
79
|
let root_13ikqx11 = template_13ikqx12(), element_13ikqx13 = root_13ikqx11.firstElementChild, element_13ikqx14 = element_13ikqx13.firstElementChild.firstChild.nextSibling, element_13ikqx15 = root_13ikqx11.firstChild.nextSibling, element_13ikqx16 = element_13ikqx13.nextElementSibling.firstChild, element_13ikqx17 = element_13ikqx13.nextElementSibling;
|
|
80
80
|
template_u1.slot(element_13ikqx14, label);
|
|
81
|
-
|
|
81
|
+
template_u1.slot(element_13ikqx13, content ?? (() => {
|
|
82
82
|
if (state.editing) {
|
|
83
83
|
return `${local.draft} `;
|
|
84
84
|
}
|
|
85
85
|
return state.value.trim() === '' ? placeholder : state.value;
|
|
86
|
-
}, 1);
|
|
86
|
+
}), 1);
|
|
87
87
|
new template_u1.EffectSlot(element_13ikqx15, () => state.editing && field());
|
|
88
88
|
template_u1.slot(element_13ikqx16, icon({ class: 'inline-edit-icon-pencil' }, pencil));
|
|
89
89
|
template_u1.slot(element_13ikqx17, icon({ class: 'inline-edit-icon-check' }, check), 1);
|
|
@@ -2,12 +2,12 @@ import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
|
2
2
|
import { effect, read, signal, write } from '@esportsplus/reactivity';
|
|
3
3
|
import * as template_u1 from '@esportsplus/template';
|
|
4
4
|
import { component } from '@esportsplus/template';
|
|
5
|
+
import checkSvg from '@esportsplus/ui/svg/check.svg';
|
|
6
|
+
import pencilSvg from '@esportsplus/ui/svg/pencil.svg';
|
|
5
7
|
import markdown from '../editor/markdown/index.js';
|
|
6
8
|
import icon from '../icon/index.js';
|
|
7
9
|
import { mac } from '../../shared/platform.js';
|
|
8
10
|
import status, { INLINE_EDIT_STATUS } from './status.js';
|
|
9
|
-
import checkSvg from '@esportsplus/ui/svg/check.svg';
|
|
10
|
-
import pencilSvg from '@esportsplus/ui/svg/pencil.svg';
|
|
11
11
|
import './scss/index.scss';
|
|
12
12
|
const template_1rmqqqz1 = template_u1.template(`<div><!--$--><span aria-hidden='true' class='inline-edit-icon'><!--$-->`, true);
|
|
13
13
|
const BASE = ['bold', 'italic', 'link', 'copy'];
|
|
@@ -15,14 +15,14 @@ const INLINE_EDIT_RICH_EDITOR = Symbol.for('@esportsplus/ui/inline-edit.rich.edi
|
|
|
15
15
|
const KEYBINDINGS = { 'Mod+Enter': null };
|
|
16
16
|
const SPACES = /\s+/g;
|
|
17
17
|
export default component(function ({ features = BASE, label, multiline = false, onsave, placeholder = '', status: indicator = false, value = '', state = reactivity_u0.reactive({ editing: false, saved: false, value }), ...attributes }) {
|
|
18
|
-
let apple = mac(), controller, current = signal(state.value),
|
|
18
|
+
let apple = mac(), controller, current = signal(state.value), defaults = this?.attributes?.[INLINE_EDIT_RICH_EDITOR], options = {
|
|
19
19
|
inline: true,
|
|
20
20
|
keybindings: KEYBINDINGS,
|
|
21
21
|
label,
|
|
22
22
|
placeholder,
|
|
23
23
|
singleLine: !multiline,
|
|
24
24
|
toolbar: features
|
|
25
|
-
};
|
|
25
|
+
}, own = attributes[INLINE_EDIT_RICH_EDITOR], pristine = signal(state.value), root, saving = status.saver(state, indicator, () => clean(read(current)) !== read(pristine), onsave);
|
|
26
26
|
effect(() => state.value, (next, previous) => {
|
|
27
27
|
if (previous !== undefined && !state.editing && next !== read(pristine)) {
|
|
28
28
|
write(pristine, next);
|