@esportsplus/ui 0.63.0 → 0.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.audit/audit.json +2 -2
- package/.audit/rules-audit.md +2 -2
- package/README.md +15 -18
- package/RULES.md +80 -9
- package/bin/agent-cli +300 -0
- package/build/components/accordion/index.d.ts +4 -0
- package/build/components/accordion/index.js +13 -10
- package/build/components/breadcrumb/index.d.ts +1 -0
- package/build/components/breadcrumb/index.js +43 -37
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/kbd.d.ts +1 -1
- package/build/components/button/kbd.js +17 -15
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/split.js +14 -16
- package/build/components/capslock/scss/index.scss +1 -1
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/chat/minimap/index.js +4 -5
- package/build/components/checkbox/group.d.ts +1 -0
- package/build/components/checkbox/group.js +21 -20
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/color-picker/index.js +6 -6
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/index.d.ts +1 -1
- package/build/components/command/palette.d.ts +13 -9
- package/build/components/command/palette.js +143 -152
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/command/search.d.ts +5 -7
- package/build/components/command/search.js +6 -26
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/editor/code/commands.js +1 -1
- package/build/components/editor/code/document.d.ts +1 -3
- package/build/components/editor/code/document.js +1 -1
- package/build/components/editor/code/editor.d.ts +18 -6
- package/build/components/editor/code/editor.js +9 -7
- package/build/components/editor/code/features.js +27 -18
- package/build/components/editor/code/find.d.ts +1 -1
- package/build/components/editor/code/find.js +5 -6
- package/build/components/editor/code/folding.d.ts +3 -5
- package/build/components/editor/code/folding.js +2 -15
- package/build/components/editor/code/gutter.js +2 -2
- package/build/components/editor/code/index.d.ts +1 -0
- package/build/components/editor/code/index.js +1 -0
- package/build/components/editor/code/minimap.d.ts +3 -1
- package/build/components/editor/code/minimap.js +31 -5
- package/build/components/editor/code/services/model.js +2 -1
- package/build/components/editor/code/syntax.js +2 -1
- package/build/components/editor/code/view.d.ts +8 -2
- package/build/components/editor/code/view.js +37 -56
- package/build/components/editor/diffs/index.d.ts +1 -0
- package/build/components/editor/diffs/index.js +1 -0
- package/build/components/editor/diffs/merge.js +16 -17
- package/build/components/editor/diffs/view.js +10 -11
- package/build/components/editor/markdown/editing.d.ts +2 -1
- package/build/components/editor/markdown/editing.js +14 -5
- package/build/components/editor/markdown/format.d.ts +1 -1
- package/build/components/editor/markdown/format.js +116 -26
- package/build/components/editor/markdown/layout.js +2 -1
- package/build/components/editor/markdown/model.d.ts +1 -2
- package/build/components/editor/markdown/model.js +1 -29
- package/build/components/editor/markdown/render.js +1 -1
- package/build/components/editor/markdown/template.d.ts +3 -10
- package/build/components/editor/markdown/template.js +2 -29
- package/build/components/editor/markdown/toolbar.d.ts +2 -2
- package/build/components/editor/markdown/toolbar.js +90 -126
- package/build/components/editor/markdown/view.d.ts +1 -1
- package/build/components/editor/markdown/view.js +54 -87
- package/build/components/editor/tree/drag.js +1 -1
- package/build/components/editor/tree/find.js +70 -64
- package/build/components/editor/tree/template.js +8 -7
- package/build/components/editor/viewer/model.d.ts +1 -1
- package/build/components/editor/viewer/template.js +4 -26
- package/build/components/editor/workspace/keybindings.d.ts +1 -1
- package/build/components/editor/workspace/model.d.ts +12 -2
- package/build/components/editor/workspace/model.js +87 -31
- package/build/components/editor/workspace/session.d.ts +2 -6
- package/build/components/editor/workspace/session.js +99 -16
- package/build/components/editor/workspace/status.d.ts +1 -1
- package/build/components/editor/workspace/strip.d.ts +10 -9
- package/build/components/editor/workspace/strip.js +99 -141
- package/build/components/editor/workspace/tabs.d.ts +2 -4
- package/build/components/editor/workspace/tabs.js +1 -14
- package/build/components/editor/workspace/template.d.ts +1 -1
- package/build/components/editor/workspace/template.js +305 -435
- package/build/components/error/index.d.ts +4 -13
- package/build/components/error/index.js +53 -172
- package/build/components/error/scss/index.scss +1 -1
- package/build/components/form/action.d.ts +2 -2
- package/build/components/form/action.js +2 -2
- package/build/components/form/input.d.ts +3 -3
- package/build/components/form/input.js +32 -10
- package/build/components/frame/scss/index.scss +1 -1
- package/build/components/group/index.js +96 -9
- package/build/components/group/scss/index.scss +1 -1
- package/build/components/heatmap/scss/index.scss +1 -1
- package/build/components/highlight/index.js +55 -48
- package/build/components/highlight/scss/index.scss +1 -1
- package/build/components/icon/scss/index.scss +1 -1
- package/build/components/image/scss/index.scss +1 -1
- package/build/components/index.d.ts +3 -6
- package/build/components/index.js +3 -6
- package/build/components/inline-edit/index.d.ts +2 -2
- package/build/components/inline-edit/index.js +5 -5
- package/build/components/inline-edit/rich.js +4 -4
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/inline-edit/status.js +1 -0
- package/build/components/input/index.d.ts +4 -0
- package/build/components/input/index.js +3 -1
- package/build/components/input/otp.d.ts +18 -0
- package/build/components/input/otp.js +112 -0
- package/build/components/input/password.d.ts +15 -0
- package/build/components/input/password.js +163 -0
- package/build/components/input/scrub.d.ts +1 -0
- package/build/components/input/scrub.js +103 -89
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/input/tag.d.ts +5 -0
- package/build/components/input/tag.js +116 -69
- package/build/components/json/download.js +1 -1
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/marquee/index.js +1 -1
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/nav/scss/index.scss +1 -1
- package/build/components/nav/tree.d.ts +2 -1
- package/build/components/nav/tree.js +6 -5
- package/build/components/notification/index.js +3 -3
- package/build/components/notification/scss/index.scss +1 -1
- package/build/components/overlay/popup.d.ts +2 -2
- package/build/components/overlay/popup.js +1 -1
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/pagination/arrows.js +2 -3
- package/build/components/pagination/cards.js +2 -3
- package/build/components/pagination/index.d.ts +2 -3
- package/build/components/pagination/index.js +18 -13
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/progress/index.js +1 -1
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/progress/text.js +3 -3
- package/build/components/range/filter.d.ts +7 -1
- package/build/components/range/filter.js +188 -171
- package/build/components/range/index.d.ts +14 -9
- package/build/components/range/index.js +11 -8
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/range/surface.d.ts +21 -0
- package/build/components/range/surface.js +144 -0
- package/build/components/relative-time/index.js +2 -2
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/{preview/header.d.ts → search/button.d.ts} +3 -3
- package/build/components/search/button.js +18 -0
- package/build/components/search/index.d.ts +8 -0
- package/build/components/search/index.js +5 -0
- package/build/components/search/input.d.ts +9 -0
- package/build/components/search/input.js +23 -0
- package/build/components/search/parts.d.ts +5 -0
- package/build/components/search/parts.js +17 -0
- package/build/components/search/scss/index.scss +2 -0
- package/build/components/select/expand.js +4 -5
- package/build/components/select/index.d.ts +7 -7
- package/build/components/select/index.js +127 -117
- package/build/components/select/placement.js +8 -1
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/{panels → shell}/group.d.ts +21 -5
- package/build/components/shell/group.js +336 -0
- package/build/components/shell/index.d.ts +15 -17
- package/build/components/shell/index.js +583 -238
- package/build/components/shell/model.d.ts +94 -0
- package/build/components/{panels → shell}/model.js +199 -73
- package/build/components/shell/resize.d.ts +5 -0
- package/build/components/{panels → shell}/resize.js +54 -30
- package/build/components/shell/scss/index.scss +1 -1
- package/build/components/shell/sidebar.d.ts +34 -0
- package/build/components/shell/sidebar.js +362 -0
- package/build/components/{panels → shell}/subtree.js +7 -8
- package/build/components/shortcut-recorder/index.d.ts +5 -4
- package/build/components/shortcut-recorder/index.js +69 -44
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/index.d.ts +16 -2
- package/build/components/sortable/index.js +237 -134
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/story/index.js +46 -34
- package/build/components/story/scss/index.scss +1 -1
- package/build/components/surface-field/engine.d.ts +2 -0
- package/build/components/surface-field/engine.js +86 -33
- package/build/components/surface-field/index.d.ts +26 -4
- package/build/components/surface-field/index.js +35 -4
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/surface-field/surface.d.ts +13 -1
- package/build/components/surface-field/surface.js +149 -58
- package/build/components/tasklist/index.d.ts +1 -4
- package/build/components/tasklist/index.js +36 -43
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/textarea/index.d.ts +1 -1
- package/build/components/textarea/index.js +14 -14
- package/build/components/theme/scss/index.scss +1 -1
- package/build/components/theme/shared.d.ts +1 -2
- package/build/components/theme/shared.js +2 -5
- package/build/components/toast/index.d.ts +3 -3
- package/build/components/toast/index.js +3 -3
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/toolbar/index.d.ts +91 -0
- package/build/components/toolbar/index.js +1281 -0
- package/build/components/toolbar/scss/index.scss +2 -0
- package/build/components/tooltip/menu.d.ts +9 -8
- package/build/components/tooltip/menu.js +397 -279
- package/build/components/tooltip/onclick.d.ts +2 -0
- package/build/components/tooltip/onclick.js +13 -4
- package/build/components/tooltip/onhover.d.ts +3 -1
- package/build/components/tooltip/onhover.js +10 -9
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/tooltip/shared.d.ts +4 -4
- package/build/components/tooltip/shared.js +27 -46
- package/build/components/tooltip/utilities.d.ts +5 -2
- package/build/components/tooltip/utilities.js +169 -9
- package/build/components/typewriter/rotate.js +6 -6
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/index.js +1 -1
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/css-utilities/font/montserrat/OFL.txt +93 -0
- package/build/shared/drag.d.ts +15 -9
- package/build/shared/drag.js +41 -28
- package/build/shared/placement.d.ts +39 -0
- package/build/shared/placement.js +55 -0
- package/build/shared/transition.js +1 -1
- package/build/shared/viewport.d.ts +1 -2
- package/build/shared/viewport.js +1 -4
- package/package.json +2 -5
- package/src/components/accordion/index.ts +12 -5
- package/src/components/announcement/index.ts +1 -1
- package/src/components/breadcrumb/index.ts +13 -3
- package/src/components/breadcrumb/scss/index.scss +6 -6
- package/src/components/breadcrumb/scss/variables.scss +7 -0
- package/src/components/button/kbd.ts +22 -17
- package/src/components/button/scss/index.scss +69 -76
- package/src/components/button/scss/variables.scss +51 -18
- package/src/components/button/split.ts +12 -8
- package/src/components/capslock/index.ts +2 -0
- package/src/components/capslock/scss/index.scss +21 -21
- package/src/components/card/scss/index.scss +16 -0
- package/src/components/card/scss/variables.scss +25 -2
- package/src/components/chat/minimap/index.ts +5 -6
- package/src/components/chat/minimap/scss/index.scss +12 -11
- package/src/components/chat/minimap/scss/variables.scss +23 -17
- package/src/components/checkbox/group.ts +8 -7
- package/src/components/checkbox/scss/index.scss +59 -35
- package/src/components/checkbox/scss/variables.scss +24 -17
- package/src/components/color-picker/index.ts +6 -6
- package/src/components/color-picker/scss/index.scss +35 -22
- package/src/components/color-picker/scss/variables.scss +11 -3
- package/src/components/command/index.ts +1 -1
- package/src/components/command/palette.ts +174 -166
- package/src/components/command/scss/index.scss +18 -51
- package/src/components/command/scss/variables.scss +37 -71
- package/src/components/command/search.ts +9 -31
- package/src/components/counter/index.ts +22 -22
- package/src/components/counter/scss/variables.scss +10 -7
- package/src/components/editor/code/commands.ts +1 -1
- package/src/components/editor/code/document.ts +0 -2
- package/src/components/editor/code/editor.ts +31 -13
- package/src/components/editor/code/features.ts +39 -24
- package/src/components/editor/code/find.ts +5 -6
- package/src/components/editor/code/folding.ts +3 -21
- package/src/components/editor/code/gutter.ts +2 -2
- package/src/components/editor/code/index.ts +1 -0
- package/src/components/editor/code/minimap.ts +39 -5
- package/src/components/editor/code/scss/_editor.scss +28 -21
- package/src/components/editor/code/scss/_features.scss +19 -21
- package/src/components/editor/code/scss/_services.scss +14 -11
- package/src/components/editor/code/scss/variables.scss +31 -12
- package/src/components/editor/code/services/model.ts +2 -1
- package/src/components/editor/code/syntax.ts +2 -1
- package/src/components/editor/code/view.ts +22 -45
- package/src/components/editor/diffs/index.ts +1 -0
- package/src/components/editor/diffs/merge.ts +9 -10
- package/src/components/editor/diffs/scss/_diffs.scss +39 -63
- package/src/components/editor/diffs/scss/_merge.scss +10 -2
- package/src/components/editor/diffs/scss/index.scss +0 -1
- package/src/components/editor/diffs/scss/variables.scss +36 -17
- package/src/components/editor/diffs/view.ts +8 -9
- package/src/components/editor/markdown/editing.ts +18 -6
- package/src/components/editor/markdown/format.ts +180 -32
- package/src/components/editor/markdown/layout.ts +2 -1
- package/src/components/editor/markdown/model.ts +0 -38
- package/src/components/editor/markdown/render.ts +1 -1
- package/src/components/editor/markdown/scss/index.scss +38 -52
- package/src/components/editor/markdown/scss/variables.scss +24 -50
- package/src/components/editor/markdown/template.ts +3 -63
- package/src/components/editor/markdown/toolbar.ts +76 -127
- package/src/components/editor/markdown/view.ts +9 -32
- package/src/components/editor/tree/drag.ts +1 -1
- package/src/components/editor/tree/find.ts +61 -64
- package/src/components/editor/tree/scss/index.scss +29 -30
- package/src/components/editor/tree/scss/variables.scss +34 -15
- package/src/components/editor/tree/template.ts +9 -9
- package/src/components/editor/viewer/model.ts +1 -1
- package/src/components/editor/viewer/scss/_viewer.scss +4 -5
- package/src/components/editor/viewer/scss/variables.scss +3 -3
- package/src/components/editor/viewer/template.ts +4 -31
- package/src/components/editor/workspace/keybindings.ts +1 -1
- package/src/components/editor/workspace/model.ts +136 -37
- package/src/components/editor/workspace/scss/_keybindings.scss +3 -20
- package/src/components/editor/workspace/scss/_status.scss +0 -1
- package/src/components/editor/workspace/scss/_tabs.scss +2 -41
- package/src/components/editor/workspace/scss/index.scss +49 -71
- package/src/components/editor/workspace/scss/variables.scss +1 -135
- package/src/components/editor/workspace/session.ts +138 -18
- package/src/components/editor/workspace/status.ts +1 -1
- package/src/components/editor/workspace/strip.ts +96 -115
- package/src/components/editor/workspace/tabs.ts +2 -23
- package/src/components/editor/workspace/template.ts +323 -458
- package/src/components/error/index.ts +47 -183
- package/src/components/error/scss/index.scss +34 -35
- package/src/components/error/scss/variables.scss +14 -26
- package/src/components/filter/scss/index.scss +6 -5
- package/src/components/form/action.ts +7 -7
- package/src/components/form/input.ts +25 -12
- package/src/components/frame/scss/index.scss +5 -5
- package/src/components/group/index.ts +77 -2
- package/src/components/group/scss/index.scss +164 -0
- package/src/components/group/scss/variables.scss +110 -2
- package/src/components/heatmap/scss/variables.scss +13 -10
- package/src/components/highlight/index.ts +87 -79
- package/src/components/highlight/scss/index.scss +6 -16
- package/src/components/highlight/scss/variables.scss +33 -5
- package/src/components/icon/scss/index.scss +2 -2
- package/src/components/icon/scss/variables.scss +14 -1
- package/src/components/image/scss/index.scss +9 -9
- package/src/components/image/scss/variables.scss +1 -1
- package/src/components/index.ts +3 -6
- package/src/components/inline-edit/index.ts +8 -6
- package/src/components/inline-edit/rich.ts +8 -8
- package/src/components/inline-edit/scss/index.scss +50 -36
- package/src/components/inline-edit/scss/variables.scss +28 -18
- package/src/components/inline-edit/status.ts +2 -0
- package/src/components/input/index.ts +3 -1
- package/src/components/input/otp.ts +175 -0
- package/src/components/input/password.ts +178 -0
- package/src/components/input/scrub.ts +197 -178
- package/src/components/input/scss/index.scss +344 -4
- package/src/components/input/scss/variables.scss +234 -65
- package/src/components/input/tag.ts +98 -53
- package/src/components/json/download.ts +2 -5
- package/src/components/link/scss/index.scss +3 -5
- package/src/components/loading/scss/index.scss +1 -0
- package/src/components/loading/scss/variables.scss +1 -0
- package/src/components/marquee/index.ts +1 -1
- package/src/components/marquee/scss/index.scss +11 -4
- package/src/components/nav/scss/index.scss +10 -26
- package/src/components/nav/scss/variables.scss +13 -23
- package/src/components/nav/tree.ts +10 -8
- package/src/components/notification/index.ts +3 -3
- package/src/components/notification/scss/index.scss +7 -14
- package/src/components/notification/scss/variables.scss +10 -2
- package/src/components/number/index.ts +1 -1
- package/src/components/overlay/popup.ts +2 -2
- package/src/components/overlay/scss/index.scss +60 -51
- package/src/components/page/scss/variables.scss +1 -0
- package/src/components/pagination/arrows.ts +2 -3
- package/src/components/pagination/cards.ts +2 -3
- package/src/components/pagination/index.ts +11 -9
- package/src/components/pagination/scss/index.scss +38 -101
- package/src/components/pagination/scss/variables.scss +24 -75
- package/src/components/progress/index.ts +1 -1
- package/src/components/progress/scss/index.scss +22 -11
- package/src/components/progress/scss/variables.scss +13 -5
- package/src/components/progress/text.ts +3 -3
- package/src/components/range/filter.ts +249 -246
- package/src/components/range/index.ts +22 -7
- package/src/components/range/scss/index.scss +470 -15
- package/src/components/range/scss/variables.scss +402 -198
- package/src/components/range/surface.ts +135 -0
- package/src/components/relative-time/index.ts +2 -2
- package/src/components/relative-time/scss/index.scss +4 -2
- package/src/components/relative-time/scss/variables.scss +4 -5
- package/src/components/root/scss/index.scss +11 -11
- package/src/components/root/scss/variables.scss +4 -4
- package/src/components/search/button.ts +24 -0
- package/src/components/search/index.ts +12 -0
- package/src/components/search/input.ts +35 -0
- package/src/components/search/parts.ts +24 -0
- package/src/components/search/scss/index.scss +36 -0
- package/src/components/search/scss/variables.scss +67 -0
- package/src/components/section/scss/variables.scss +1 -0
- package/src/components/select/expand.ts +3 -4
- package/src/components/select/index.ts +55 -41
- package/src/components/select/placement.ts +17 -1
- package/src/components/select/scss/index.scss +57 -29
- package/src/components/select/scss/variables.scss +91 -53
- package/src/components/{panels → shell}/group.ts +151 -98
- package/src/components/shell/index.ts +805 -284
- package/src/components/{panels → shell}/model.ts +329 -102
- package/src/components/shell/resize.ts +176 -0
- package/src/components/shell/scss/index.scss +502 -89
- package/src/components/shell/scss/variables.scss +264 -39
- package/src/components/shell/sidebar.ts +325 -0
- package/src/components/{panels → shell}/subtree.ts +1 -2
- package/src/components/shortcut-recorder/index.ts +99 -61
- package/src/components/shortcut-recorder/scss/index.scss +76 -52
- package/src/components/shortcut-recorder/scss/variables.scss +25 -30
- package/src/components/sortable/index.ts +364 -63
- package/src/components/sortable/scss/index.scss +22 -2
- package/src/components/sortable/scss/variables.scss +16 -4
- package/src/components/story/index.ts +56 -33
- package/src/components/story/scss/index.scss +67 -16
- package/src/components/story/scss/variables.scss +59 -18
- package/src/components/surface-field/engine.ts +157 -61
- package/src/components/surface-field/index.ts +64 -9
- package/src/components/surface-field/scss/index.scss +88 -77
- package/src/components/surface-field/scss/variables.scss +84 -36
- package/src/components/surface-field/surface.ts +225 -76
- package/src/components/tasklist/index.ts +10 -14
- package/src/components/tasklist/scss/index.scss +25 -45
- package/src/components/tasklist/scss/variables.scss +12 -29
- package/src/components/textarea/index.ts +39 -42
- package/src/components/theme/reveal.ts +1 -0
- package/src/components/theme/scss/index.scss +20 -16
- package/src/components/theme/scss/variables.scss +11 -5
- package/src/components/theme/shared.ts +3 -7
- package/src/components/toast/index.ts +7 -8
- package/src/components/toast/scss/index.scss +44 -36
- package/src/components/toast/scss/variables.scss +36 -33
- package/src/components/toolbar/index.ts +1675 -0
- package/src/components/toolbar/scss/index.scss +759 -0
- package/src/components/toolbar/scss/variables.scss +555 -0
- package/src/components/tooltip/menu.ts +301 -220
- package/src/components/tooltip/onclick.ts +18 -3
- package/src/components/tooltip/onhover.ts +13 -9
- package/src/components/tooltip/scss/index.scss +155 -188
- package/src/components/tooltip/scss/variables.scss +151 -135
- package/src/components/tooltip/shared.ts +47 -74
- package/src/components/tooltip/utilities.ts +151 -10
- package/src/components/truncate/index.ts +1 -1
- package/src/components/typewriter/rotate.ts +6 -6
- package/src/components/typewriter/scss/index.scss +14 -5
- package/src/components/uptime/scss/index.scss +8 -15
- package/src/components/uptime/scss/variables.scss +12 -1
- package/src/components/usage-meter/index.ts +1 -1
- package/src/components/usage-meter/scss/index.scss +6 -4
- package/src/components/usage-meter/scss/variables.scss +11 -11
- package/src/css-utilities/box-shadow.scss +0 -1
- package/src/css-utilities/icon.scss +9 -9
- package/src/css-utilities/surface.scss +27 -17
- package/src/modifiers/glass/index.ts +2 -2
- package/src/modifiers/glass/scss/index.scss +2 -2
- package/src/normalize/scss/index.scss +1 -1
- package/src/shared/drag.ts +92 -53
- package/src/shared/placement.ts +145 -0
- package/src/shared/transition.ts +1 -1
- package/src/shared/viewport.ts +1 -7
- package/src/tokens/scss/color.scss +2 -2
- package/src/tokens/scss/scale.scss +5 -1
- package/src/tokens/scss/size.scss +0 -7
- package/storage/svg/angle.svg +1 -0
- package/storage/svg/{chevron-left.svg → arrow.svg} +1 -1
- package/storage/svg/calendar.svg +1 -0
- package/storage/svg/circle-filled.svg +1 -0
- package/storage/svg/cursor-arrow-left.svg +1 -0
- package/storage/svg/cursor-arrow-right.svg +1 -0
- package/storage/svg/fit.svg +1 -0
- package/storage/svg/grip.svg +1 -0
- package/storage/svg/mail.svg +1 -0
- package/storage/svg/{chevron-down.svg → minus.svg} +1 -1
- package/storage/svg/music.svg +1 -0
- package/storage/svg/{chevron-up.svg → rotate-ccw.svg} +1 -1
- package/vite.config.ts +9 -13
- package/NOTICE +0 -232
- package/build/components/dock/index.d.ts +0 -47
- package/build/components/dock/index.js +0 -469
- package/build/components/dock/scss/index.scss +0 -2
- package/build/components/metric/flash.d.ts +0 -12
- package/build/components/metric/flash.js +0 -117
- package/build/components/metric/index.d.ts +0 -44
- package/build/components/metric/index.js +0 -275
- package/build/components/metric/scss/index.scss +0 -2
- package/build/components/pagination/dots.d.ts +0 -23
- package/build/components/pagination/dots.js +0 -115
- package/build/components/panels/dnd.d.ts +0 -47
- package/build/components/panels/dnd.js +0 -114
- package/build/components/panels/group.js +0 -322
- package/build/components/panels/index.d.ts +0 -17
- package/build/components/panels/index.js +0 -524
- package/build/components/panels/model.d.ts +0 -64
- package/build/components/panels/resize.d.ts +0 -9
- package/build/components/panels/scss/index.scss +0 -2
- package/build/components/preview/buttons.d.ts +0 -12
- package/build/components/preview/buttons.js +0 -26
- package/build/components/preview/code.d.ts +0 -8
- package/build/components/preview/code.js +0 -18
- package/build/components/preview/header.js +0 -21
- package/build/components/preview/index.d.ts +0 -37
- package/build/components/preview/index.js +0 -123
- package/build/components/preview/scss/index.scss +0 -2
- package/build/components/preview/source.d.ts +0 -12
- package/build/components/preview/source.js +0 -79
- package/build/components/preview/stage.d.ts +0 -8
- package/build/components/preview/stage.js +0 -28
- package/build/components/textarea/scss/index.scss +0 -2
- package/src/components/dock/index.ts +0 -567
- package/src/components/dock/scss/index.scss +0 -346
- package/src/components/dock/scss/variables.scss +0 -357
- package/src/components/input/scss/_field.scss +0 -39
- package/src/components/input/scss/_scrub.scss +0 -89
- package/src/components/input/scss/_tag.scss +0 -142
- package/src/components/metric/flash.ts +0 -129
- package/src/components/metric/index.ts +0 -307
- package/src/components/metric/scss/_flash.scss +0 -150
- package/src/components/metric/scss/index.scss +0 -155
- package/src/components/metric/scss/variables.scss +0 -233
- package/src/components/pagination/dots.ts +0 -132
- package/src/components/panels/dnd.ts +0 -190
- package/src/components/panels/index.ts +0 -676
- package/src/components/panels/resize.ts +0 -157
- package/src/components/panels/scss/index.scss +0 -379
- package/src/components/panels/scss/variables.scss +0 -197
- package/src/components/preview/buttons.ts +0 -48
- package/src/components/preview/code.ts +0 -28
- package/src/components/preview/header.ts +0 -23
- package/src/components/preview/index.ts +0 -149
- package/src/components/preview/scss/index.scss +0 -158
- package/src/components/preview/scss/variables.scss +0 -149
- package/src/components/preview/source.ts +0 -73
- package/src/components/preview/stage.ts +0 -33
- package/src/components/range/scss/_filter.scss +0 -360
- package/src/components/range/scss/_slider.scss +0 -65
- package/src/components/range/scss/_vertical.scss +0 -10
- package/src/components/textarea/scss/index.scss +0 -72
- package/src/components/textarea/scss/variables.scss +0 -22
- package/storage/svg/amex.svg +0 -1
- package/storage/svg/arrow-down.svg +0 -1
- package/storage/svg/arrow-left.svg +0 -1
- package/storage/svg/arrow-right.svg +0 -1
- package/storage/svg/arrow-up.svg +0 -1
- package/storage/svg/card.svg +0 -1
- package/storage/svg/chip.svg +0 -1
- package/storage/svg/discover.svg +0 -1
- package/storage/svg/mastercard.svg +0 -1
- package/storage/svg/visa.svg +0 -1
- /package/build/components/{panels → shell}/subtree.d.ts +0 -0
- /package/storage/svg/{chevron-right.svg → chevron.svg} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.inline-edit-label,.inline-edit-status-announcement{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.inline-edit-icon-check,.inline-edit-icon-pencil{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.inline-edit-icon-check,.inline-edit-icon-pencil,.inline-edit.inline-edit--saved .inline-edit-icon-pencil{filter:blur(var(--blur-400));opacity:0;transition:filter var(--icon-swap-duration) var(--icon-swap-timing-function), opacity var(--icon-swap-duration) var(--icon-swap-timing-function), scale var(--icon-swap-duration) var(--icon-swap-timing-function);scale:.25}@media (prefers-reduced-motion:reduce){.inline-edit-icon-check,.inline-edit-icon-pencil,.inline-edit.inline-edit--saved .inline-edit-icon-pencil{transition:none}}.inline-edit-icon-pencil,.inline-edit.inline-edit--saved .inline-edit-icon-check{filter:blur();opacity:1;scale:1}.inline-edit-display,.inline-edit-editor{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.inline-edit-display,.--active.inline-edit-editor{--background:var(--background-active)}.inline-edit-display:not(.--active):is(:hover,.--hover),.inline-edit-editor:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.inline-edit-display:not(.--active):is(:active,.--pressed),.inline-edit-editor:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.inline-edit.--active>.inline-edit-editor{--surface-background-active:light-dark(oklch(from var(--surface-background-default) calc(l + .02) c h),oklch(from var(--surface-background-default) calc(l + .03) c h));--surface-background-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(var(--surface-level), 0) * .01 + min(var(--surface-level), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + var(--surface-level) * .016, l + .096) calc(c * clamp(0, l + var(--surface-level) * .016, l + .096) / max(l, .01)) h));--surface-background-hover:light-dark(oklch(from var(--surface-background-default) calc(l + .01) c h),oklch(from var(--surface-background-default) calc(l + .02) c h));--surface-background-pressed:light-dark(oklch(from var(--surface-background-default) calc(l - .02) c h),oklch(from var(--surface-background-default) calc(l - .03) c h));--surface-border-active:light-dark(oklch(from var(--surface-background-active) max(0, l - .046) c h),oklch(from var(--surface-background-active) min(1, l + .036) c h));--surface-border-default:light-dark(oklch(from var(--surface-background-default) max(0, l - .046) c h),oklch(from var(--surface-background-default) min(1, l + .036) c h));--surface-border-hover:light-dark(oklch(from var(--surface-background-hover) max(0, l - .046) c h),oklch(from var(--surface-background-hover) min(1, l + .036) c h));--surface-border-pressed:light-dark(oklch(from var(--surface-background-pressed) max(0, l - .046) c h),oklch(from var(--surface-background-pressed) min(1, l + .036) c h));--surface-primary-active:light-dark(oklch(from var(--surface-primary-default) calc(l + .02) c h),oklch(from var(--surface-primary-default) calc(l + .03) c h));--surface-primary-default:light-dark(oklch(from var(--color-surface) clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1) calc(c * (1 - clamp(0, l + max(calc(var(--surface-level) + -3.6), 0) * .01 + min(calc(var(--surface-level) + -3.6), 0) * .016, 1)) / max(1 - l, .01)) h),oklch(from var(--color-surface) clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) calc(c * clamp(0, l + calc(var(--surface-level) + 1.6) * .016, l + .096) / max(l, .01)) h));--surface-primary-hover:light-dark(oklch(from var(--surface-primary-default) calc(l + .01) c h),oklch(from var(--surface-primary-default) calc(l + .02) c h));--surface-primary-pressed:light-dark(oklch(from var(--surface-primary-default) calc(l - .02) c h),oklch(from var(--surface-primary-default) calc(l - .03) c h));--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}@container style(--surface-level:-3){.inline-edit.--active>.inline-edit-editor{--surface-level:-2;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-2){.inline-edit.--active>.inline-edit-editor{--surface-level:-1;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:-1){.inline-edit.--active>.inline-edit-editor{--surface-level:0;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 1.75px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .5px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:0){.inline-edit.--active>.inline-edit-editor{--surface-level:1;--surface-shadow-active:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2.875px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .075)), 0 .875px 1.75px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .07));--surface-shadow-default:0 1px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px 2.25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .05)), 0 .25px .5px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02));--surface-shadow-pressed:0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:1){.inline-edit.--active>.inline-edit-editor{--surface-level:2;--surface-shadow-active:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.625px 5.625px -.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.875px 3.75px -1.875px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-hover:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.75px -.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.25px 2.5px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 .75px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .015),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 .125px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .005)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:2){.inline-edit.--active>.inline-edit-editor{--surface-level:3;--surface-shadow-active:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 9.25px 13.875px -2.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 3.75px 5.75px -3.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 1px 3px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1px 2px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 5.5px 8.25px -1.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.5px 4.5px -2.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 1.5px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .02),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 1px .25px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04)), 0 0px 0px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0))}}@container style(--surface-level:3){.inline-edit.--active>.inline-edit-editor{--surface-level:4;--surface-shadow-active:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 18.75px 23.75px -4.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 7.5px 9.5px -5.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-default:0 4px 6px -1px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2px 4px -2px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 12.5px 17.5px -3.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 5px 7px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-pressed:0 1px 2.75px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .035),transparent), 0 .75px 1.5px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .03),transparent), 0 1px 2.125px 0px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .045)), 0 .125px .25px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01))}}@container style(--surface-level:4){.inline-edit.--active>.inline-edit-editor{--surface-level:5;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),transparent), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),transparent), 0 24.375px 46.875px -11.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .185)), 0 1px 1.25px -.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .01));--surface-shadow-default:0 10px 15px -3px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 4px 6px -4px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 21.25px 31.25px -6.75px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .11)), 0 6px 7.5px -4.5px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .06));--surface-shadow-pressed:0 3.25px 5.25px -.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.75px 3.5px -1.75px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 1.375px 3.375px -.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 1.125px 2.25px -1.125px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}@container style(--surface-level:5){.inline-edit.--active>.inline-edit-editor{--surface-level:6;--surface-shadow-active:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-default:0 20px 25px -5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 8px 10px -6px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08));--surface-shadow-hover:0 25px 50px -12px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .1),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .2)), 0 0px 0px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0),oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / 0));--surface-shadow-pressed:0 8.5px 12.75px -2.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 3.5px 5.5px -3.5px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .04),transparent), 0 4.75px 7.125px -1.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08)), 0 2.25px 4.25px -2.25px light-dark(transparent,oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .08))}}.inline-edit{--box-padding-start:var(--size-100);--color:var(--color-text-500);--gap-horizontal:0px;--gap-vertical:calc(var(--size-100) / 2)}.inline-edit.inline-edit--multiline>.inline-edit-display,.inline-edit.inline-edit--multiline>.inline-edit-field{--overflow-wrap:break-word;--text-overflow:clip;--white-space:pre-wrap}.inline-edit:not(.inline-edit--multiline){--row-height:calc(1lh + var(--size-100))}.inline-edit:not(.inline-edit--multiline)>.inline-edit-display,.inline-edit:not(.inline-edit--multiline)>.inline-edit-field{--line-height:normal}.inline-edit.inline-edit--seamless>.inline-edit-field{--background-default:transparent;--ring:none}.inline-edit-display,.inline-edit-editor,.inline-edit>.inline-edit-field{--border-radius:var(--border-radius-400);--padding-end:36px;--padding-start:var(--box-padding-start);--padding-vertical:calc(var(--size-100) / 2);--placeholder-color:var(--color-text-300)}.inline-edit-display,.inline-edit>.inline-edit-field{--overflow-wrap:normal;--text-overflow:ellipsis;--white-space:pre}.inline-edit-display,.inline-edit-editor{--background-hover:var(--surface-background-hover);--background-pressed:var(--background-hover)}.inline-edit.--active>.inline-edit-editor{--background-default:var(--surface-background-default);--background-hover:var(--background-default);--ring:0 0 0 1.5px var(--surface-border-pressed)}.inline-edit--seamless.--active>.inline-edit-editor{--background-default:transparent;--ring:none}.inline-edit>.inline-edit-field{--background-default:var(--surface-background-default);--color-default:currentColor;--ring:0 0 0 1.5px var(--surface-border-pressed)}.inline-edit-icon{--color:var(--color-primary-300);--inset-end:calc(var(--size-300) / 2);--inset-top:calc(var(--size-100) / 2);--size:24px}.inline-edit-icon-check.icon,.inline-edit-icon-pencil.icon{--icon-swap-duration:.3s;--icon-swap-timing-function:linear(0, .035, .118, .216, .319, .424, .515, .6, .669, .728, .781, .822, .856, .885, .908, .927, .942, .954, .964, .971, .977, .982, .986, .989, .991, .993, .995, .996, .997, .997, 1);--size:var(--size-400);--stroke-width:2.25}.inline-edit-icon-check.icon{--color:var(--color-primary-500)}.inline-edit-icon-pencil.icon{--color:currentColor}.inline-edit-status{--blur:var(--blur-400);--color:var(--color-text-300);--font-size:var(--font-size-300);--gap-horizontal:.5rem;--gap-vertical:.5rem;--shift:3px;--width:11em}@media (prefers-reduced-motion:reduce){.inline-edit-status{--blur:0px;--shift:0px}}.inline-edit-status--saved .inline-edit-status-check.icon{--transition-delay:.12s;--transition-duration:.35s}@media (prefers-reduced-motion:reduce){.inline-edit-status--saved .inline-edit-status-check.icon{--transition-delay:0s;--transition-duration:0s}}.inline-edit-status-check.icon{--height:100%;--stroke:var(--color-primary-500);--stroke-width:2.4;--transition-delay:0s;--transition-duration:.12s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1);--width:100%}.inline-edit-status-dot{--gap-horizontal:125%;--pulse-duration:1s;--pulse-stagger:.16s;--pulse-timing-function:ease-in-out;--size:25%;--transition-duration:.4s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1)}@media (prefers-reduced-motion:reduce){.inline-edit-status-dot{--pulse-duration:0s;--pulse-stagger:0s;--transition-duration:0s}}.inline-edit-status-icon{--size:1.25em}.inline-edit-status-label-text--enter{--animation-duration:.22s;--animation-timing-function:cubic-bezier(.23, 1, .32, 1)}.inline-edit-status-label-text--exit{--animation-duration:.12s;--animation-timing-function:cubic-bezier(.23, 1, .32, 1)}.inline-edit{color:var(--color);gap:var(--gap-vertical) var(--gap-horizontal);margin-inline:calc(var(--box-padding-start) * -1);display:grid;position:relative}.inline-edit-display,.inline-edit-editor,.inline-edit>.inline-edit-field{border-radius:var(--border-radius);padding-block:var(--padding-vertical);padding-inline:var(--padding-start) var(--padding-end);grid-area:1/1;width:100%}.inline-edit-display,.inline-edit>.inline-edit-field{overflow-wrap:var(--overflow-wrap);text-align:start;text-overflow:var(--text-overflow);white-space:var(--white-space);overflow:hidden}.inline-edit:not(.inline-edit--multiline){grid-template-rows:minmax(var(--row-height), auto)}.inline-edit:not(.inline-edit--multiline)>.inline-edit-display,.inline-edit:not(.inline-edit--multiline)>.inline-edit-field{line-height:var(--line-height)}.inline-edit-display{background:var(--background);color:inherit;cursor:text;font:inherit;letter-spacing:inherit;line-height:inherit;transition:background-color var(--transition-duration) var(--transition-timing-function);border:0;outline:none;display:block}.inline-edit-display:focus-visible{outline:var(--focus-width) solid var(--focus-color)}.inline-edit.--active>.inline-edit-display{visibility:hidden}.inline-edit--empty:not(.--active)>.inline-edit-display{color:var(--placeholder-color)}.inline-edit-editor{background:var(--background);transition:background-color var(--transition-duration) var(--transition-timing-function)}.inline-edit.--active>.inline-edit-editor{box-shadow:var(--ring)}.inline-edit>.inline-edit-field{box-shadow:var(--ring);font-size:inherit;font-weight:inherit;height:100%;letter-spacing:inherit;line-height:inherit;resize:none;outline:none;min-height:0;transition:none;display:block}.inline-edit>.inline-edit-field::placeholder{color:var(--placeholder-color)}.inline-edit-icon{color:var(--color);height:var(--size);pointer-events:none;width:var(--size);place-items:center;display:grid;position:absolute;inset-block-start:var(--inset-top);inset-inline-end:var(--inset-end)}.inline-edit-icon-check,.inline-edit-icon-pencil{stroke-width:var(--stroke-width);grid-area:1/1}.inline-edit-icon-pencil{opacity:0}.inline-edit:not(.inline-edit--saved):is(:hover,:has(:focus-visible)) .inline-edit-icon-pencil{opacity:1}.inline-edit.--active>.inline-edit-icon{visibility:hidden}.inline-edit-status{color:var(--color);font-size:var(--font-size);align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);white-space:nowrap;width:var(--width);flex-shrink:0;grid-area:2/1;padding-inline-start:var(--box-padding-start);display:flex}.inline-edit-status--saved .inline-edit-status-check.icon{opacity:1;stroke-dashoffset:0}.inline-edit-status--saving .inline-edit-status-dot{opacity:1;scale:1;translate:calc((var(--i) - 1) * var(--gap-horizontal))}.inline-edit-status--saving .inline-edit-status-dot:before{animation:inline-edit-status-dot-pulse var(--pulse-duration) var(--pulse-timing-function) calc(var(--i) * var(--pulse-stagger)) infinite}.inline-edit-status--unsaved .inline-edit-status-dot:nth-child(2){opacity:1;scale:1.5}.inline-edit-status-check.icon{fill:none;opacity:0;stroke:var(--stroke);stroke-dasharray:1;stroke-dashoffset:1px;stroke-linecap:round;stroke-linejoin:round;stroke-width:var(--stroke-width);transition:opacity var(--transition-duration) var(--transition-timing-function) var(--transition-delay), stroke-dashoffset var(--transition-duration) var(--transition-timing-function) var(--transition-delay);position:absolute;inset:0}.inline-edit-status-dot{height:var(--size);opacity:0;transition:opacity var(--transition-duration) var(--transition-timing-function), scale var(--transition-duration) var(--transition-timing-function), translate var(--transition-duration) var(--transition-timing-function);width:var(--size);position:absolute;scale:.5}.inline-edit-status-dot:before{content:"";background:currentColor;border-radius:100%;width:100%;height:100%;display:block}@keyframes inline-edit-status-dot-pulse{0%,to{opacity:.25}40%{opacity:1}}.inline-edit-status-icon{height:var(--size);width:var(--size);flex-shrink:0;place-items:center;display:grid;position:relative}.inline-edit-status-label{flex:1;min-width:0;display:grid}.inline-edit-status-label-text{grid-area:1/1}.inline-edit-status-label-text--enter{animation:inline-edit-status-label-text--enter var(--animation-duration) var(--animation-timing-function) both}@keyframes inline-edit-status-label-text--enter{0%{filter:blur(var(--blur));opacity:0;translate:0 var(--shift)}}.inline-edit-status-label-text--exit{animation:inline-edit-status-label-text--exit var(--animation-duration) var(--animation-timing-function) both;opacity:0}@keyframes inline-edit-status-label-text--exit{0%{opacity:1}to{filter:blur(var(--blur));opacity:0;translate:0 calc(var(--shift) * -1)}}}
|
|
1
|
+
@layer components{.inline-edit-label,.inline-edit-status-announcement{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.inline-edit-icon-check,.inline-edit-icon-pencil,.inline-edit-status-check.icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.inline-edit-status-check.icon{stroke-dasharray:1;stroke-dashoffset:1px}.inline-edit.inline-edit--saved .inline-edit-icon-pencil,.inline-edit-icon-check,.inline-edit-icon-pencil{filter:blur(var(--blur-400));opacity:0;transition:filter var(--swap-duration) var(--swap-timing-function), opacity var(--swap-duration) var(--swap-timing-function), scale var(--swap-duration) var(--swap-timing-function);scale:.25}@media (prefers-reduced-motion:reduce){.inline-edit.inline-edit--saved .inline-edit-icon-pencil,.inline-edit-icon-check,.inline-edit-icon-pencil{transition:none}}.inline-edit.inline-edit--saved .inline-edit-icon-check,.inline-edit-icon-pencil{filter:blur();opacity:1;scale:1}.inline-edit-display,.inline-edit-editor{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default)}.--active.inline-edit-display,.--active.inline-edit-editor{--background:var(--background-active)}.inline-edit-display:not(.--active):is(:hover,.--hover),.inline-edit-editor:not(.--active):is(:hover,.--hover){--background:var(--background-hover)}.inline-edit-display:not(.--active):is(:active,.--pressed),.inline-edit-editor:not(.--active):is(:active,.--pressed){--background:var(--background-pressed)}.inline-edit.--active>.inline-edit-editor{--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));--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){.inline-edit.--active>.inline-edit-editor{--surface-level:-2;--surface-shadow-active:0 1px 2px 0px light-dark(oklch(from var(--surface-background-default) calc(l * .24) calc(c * .24) h / .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){.inline-edit.--active>.inline-edit-editor{--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:-1){.inline-edit.--active>.inline-edit-editor{--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:0){.inline-edit.--active>.inline-edit-editor{--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:1){.inline-edit.--active>.inline-edit-editor{--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:2){.inline-edit.--active>.inline-edit-editor{--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:3){.inline-edit.--active>.inline-edit-editor{--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:4){.inline-edit.--active>.inline-edit-editor{--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:5){.inline-edit.--active>.inline-edit-editor{--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))}}.inline-edit{--box-padding-start:var(--size-100);--box-padding-vertical:calc(var(--size-100) / 2);--color:var(--color-text-500);--gap-horizontal:0px;--gap-vertical:calc(var(--size-100) / 2)}.inline-edit.inline-edit--multiline>.inline-edit-display,.inline-edit.inline-edit--multiline>.inline-edit-field{--overflow-wrap:break-word;--text-overflow:clip;--white-space:pre-wrap}.inline-edit.inline-edit--seamless>.inline-edit-field{--background-default:transparent;--ring:none}.inline-edit-display,.inline-edit-editor,.inline-edit>.inline-edit-field{--border-radius:var(--border-radius-400);--padding-end:36px;--padding-start:var(--box-padding-start);--padding-vertical:var(--box-padding-vertical);--placeholder-color:var(--color-text-300)}.inline-edit-display,.inline-edit>.inline-edit-field{--overflow-wrap:normal;--text-overflow:ellipsis;--white-space:pre}.inline-edit-display,.inline-edit-editor{--background-hover:var(--surface-background-hover);--background-pressed:var(--background-hover)}.inline-edit.--active>.inline-edit-editor{--background-default:var(--surface-background-default);--background-hover:var(--background-default);--ring:0 0 0 1.5px var(--surface-border-pressed)}.inline-edit--seamless.--active>.inline-edit-editor{--background-default:transparent;--ring:none}.inline-edit>.inline-edit-field{--background-default:var(--surface-background-default);--color-default:currentColor;--ring:0 0 0 1.5px var(--surface-border-pressed)}.inline-edit-icon{--color:var(--color-primary-300);--end:calc(var(--size-300) / 2);--inset-top:calc(var(--size-100) / 2);--size:24px}.inline-edit-icon-check.icon,.inline-edit-icon-pencil.icon{--swap-duration:.3s;--swap-timing-function:linear(0, .035, .118, .216, .319, .424, .515, .6, .669, .728, .781, .822, .856, .885, .908, .927, .942, .954, .964, .971, .977, .982, .986, .989, .991, .993, .995, .996, .997, .997, 1);--size:var(--size-400);--stroke-width:2.25}.inline-edit-icon-check.icon{--color:var(--color-primary-500)}.inline-edit-icon-pencil.icon{--color:currentColor}.inline-edit-status{--blur:var(--blur-400);--color:var(--color-text-300);--font-size:var(--font-size-300);--gap-horizontal:.5rem;--gap-vertical:.5rem;--shift:3px;--width:11em}@media (prefers-reduced-motion:reduce){.inline-edit-status{--blur:0px;--shift:0px}}.inline-edit-status--saved .inline-edit-status-check.icon{--transition-delay:.12s;--transition-duration:.35s}@media (prefers-reduced-motion:reduce){.inline-edit-status--saved .inline-edit-status-check.icon{--transition-delay:0s;--transition-duration:0s}}.inline-edit-status-check.icon{--height:100%;--stroke:var(--color-primary-500);--stroke-width:2.4;--transition-delay:0s;--transition-duration:.12s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1);--width:100%}.inline-edit-status-dot{--gap-horizontal:125%;--pulse-duration:1s;--pulse-stagger:.16s;--pulse-timing-function:ease-in-out;--size:25%;--transition-duration:.4s;--transition-timing-function:cubic-bezier(.23, 1, .32, 1)}@media (prefers-reduced-motion:reduce){.inline-edit-status-dot{--pulse-duration:0s;--pulse-stagger:0s;--transition-duration:0s}}.inline-edit-status-icon{--size:1.25em}.inline-edit-status-label-text--enter{--animation-duration:.22s;--animation-timing-function:cubic-bezier(.23, 1, .32, 1)}.inline-edit-status-label-text--exit{--animation-duration:.12s;--animation-timing-function:cubic-bezier(.23, 1, .32, 1)}.inline-edit:not(.inline-edit--multiline){--row-height:calc(1lh + var(--size-100))}.inline-edit:not(.inline-edit--multiline)>.inline-edit-display,.inline-edit:not(.inline-edit--multiline)>.inline-edit-field{--line-height:normal}.inline-edit{color:var(--color);gap:var(--gap-vertical) var(--gap-horizontal);margin-inline:calc(var(--box-padding-start) * -1);display:grid;position:relative}.inline-edit.inline-edit--seamless{margin-block:calc(var(--box-padding-vertical) * -1)}.inline-edit-display,.inline-edit-editor,.inline-edit>.inline-edit-field{border-radius:var(--border-radius);padding-block:var(--padding-vertical);padding-inline:var(--padding-start) var(--padding-end);grid-area:1/1;width:100%}.inline-edit-display,.inline-edit>.inline-edit-field{overflow-wrap:var(--overflow-wrap);text-align:start;text-overflow:var(--text-overflow);white-space:var(--white-space);overflow:hidden}.inline-edit-display{background:var(--background);color:inherit;cursor:text;font:inherit;letter-spacing:inherit;line-height:inherit;transition:background-color var(--transition-duration) var(--transition-timing-function);border:0;outline:none;display:block}.inline-edit-display:focus-visible{outline:var(--focus-width) solid var(--focus-color)}.inline-edit.--active>.inline-edit-display{visibility:hidden}.inline-edit--empty:not(.--active)>.inline-edit-display{color:var(--placeholder-color)}.inline-edit-editor{background:var(--background);transition:background-color var(--transition-duration) var(--transition-timing-function)}.inline-edit.--active>.inline-edit-editor{box-shadow:var(--ring)}.inline-edit>.inline-edit-field{box-shadow:var(--ring);font-size:inherit;font-weight:inherit;height:100%;letter-spacing:inherit;line-height:inherit;resize:none;outline:none;min-height:0;transition:none;display:block}.inline-edit>.inline-edit-field::placeholder{color:var(--placeholder-color)}.inline-edit-icon{color:var(--color);height:var(--size);pointer-events:none;width:var(--size);place-items:center;display:grid;position:absolute;inset-block-start:var(--inset-top);inset-inline-end:var(--end)}.inline-edit-icon-check,.inline-edit-icon-pencil{stroke-width:var(--stroke-width);grid-area:1/1}.inline-edit-icon-pencil{opacity:0}.inline-edit.--active>.inline-edit-icon{visibility:hidden}.inline-edit-status{color:var(--color);font-size:var(--font-size);align-items:center;gap:var(--gap-vertical) var(--gap-horizontal);white-space:nowrap;width:var(--width);flex-shrink:0;grid-area:2/1;padding-inline-start:var(--box-padding-start);display:flex}.inline-edit-status--saved .inline-edit-status-check.icon{opacity:1;stroke-dashoffset:0}.inline-edit-status--saving .inline-edit-status-dot{opacity:1;scale:1;translate:calc((var(--i) - 1) * var(--gap-horizontal))}.inline-edit-status--saving .inline-edit-status-dot:before{animation:inline-edit-status-dot-pulse var(--pulse-duration) var(--pulse-timing-function) calc(var(--i) * var(--pulse-stagger)) infinite}.inline-edit-status--unsaved .inline-edit-status-dot:nth-child(2){opacity:1;scale:1.5}.inline-edit-status-check.icon{opacity:0;stroke:var(--stroke);stroke-width:var(--stroke-width);transition-delay:var(--transition-delay);transition-duration:var(--transition-duration);transition-property:opacity,stroke-dashoffset;transition-timing-function:var(--transition-timing-function);position:absolute;inset:0}.inline-edit-status-dot{height:var(--size);opacity:0;transition-duration:var(--transition-duration);transition-property:opacity,scale,translate;transition-timing-function:var(--transition-timing-function);width:var(--size);position:absolute;scale:.5}.inline-edit-status-dot:before{content:"";background:currentColor;border-radius:100%;width:100%;height:100%;display:block}@keyframes inline-edit-status-dot-pulse{0%,to{opacity:.25}40%{opacity:1}}.inline-edit-status-icon{height:var(--size);width:var(--size);flex-shrink:0;place-items:center;display:grid;position:relative}.inline-edit-status-label{flex:1;min-width:0;display:grid}.inline-edit-status-label-text{grid-area:1/1}.inline-edit-status-label-text--enter{animation:inline-edit-status-label-text--enter var(--animation-duration) var(--animation-timing-function) both}@keyframes inline-edit-status-label-text--enter{0%{filter:blur(var(--blur));opacity:0;translate:0 var(--shift)}}.inline-edit-status-label-text--exit{animation:inline-edit-status-label-text--exit var(--animation-duration) var(--animation-timing-function) both;opacity:0}@keyframes inline-edit-status-label-text--exit{0%{opacity:1}to{filter:blur(var(--blur));opacity:0;translate:0 calc(var(--shift) * -1)}}.inline-edit:not(.inline-edit--multiline){grid-template-rows:minmax(var(--row-height), auto)}.inline-edit:not(.inline-edit--multiline)>.inline-edit-display,.inline-edit:not(.inline-edit--multiline)>.inline-edit-field{line-height:var(--line-height)}.inline-edit:not(.inline-edit--saved):is(:hover,:has(:focus-visible)) .inline-edit-icon-pencil{opacity:1}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import field from './field.js';
|
|
2
|
+
import otp from './otp.js';
|
|
3
|
+
import password from './password.js';
|
|
2
4
|
import scrub from './scrub.js';
|
|
3
5
|
import tag from './tag.js';
|
|
4
6
|
import './scss/index.scss';
|
|
5
7
|
declare const input: typeof field & {
|
|
8
|
+
otp: typeof otp;
|
|
9
|
+
password: typeof password;
|
|
6
10
|
scrub: typeof scrub;
|
|
7
11
|
tag: typeof tag;
|
|
8
12
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import field from './field.js';
|
|
2
|
+
import otp from './otp.js';
|
|
3
|
+
import password from './password.js';
|
|
2
4
|
import scrub from './scrub.js';
|
|
3
5
|
import tag from './tag.js';
|
|
4
6
|
import './scss/index.scss';
|
|
5
|
-
const input = Object.assign(field, { scrub, tag });
|
|
7
|
+
const input = Object.assign(field, { otp, password, scrub, tag });
|
|
6
8
|
export default input;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as template_u1 from '@esportsplus/template';
|
|
2
|
+
import { type Attributes } from '@esportsplus/template';
|
|
3
|
+
import '../group/scss/index.scss';
|
|
4
|
+
type A = Attributes & {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
group?: number;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
length?: number;
|
|
9
|
+
state?: State;
|
|
10
|
+
value?: string;
|
|
11
|
+
variant?: 'border' | 'surface' | 'surface-primary';
|
|
12
|
+
};
|
|
13
|
+
type State = {
|
|
14
|
+
value: string;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: template_u1.Factory<A, template_u1.Renderable<any>, template_u1.Renderable<any>, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
export type { State };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
2
|
+
import * as template_u1 from '@esportsplus/template';
|
|
3
|
+
import { component } from '@esportsplus/template';
|
|
4
|
+
import input from './field.js';
|
|
5
|
+
import '../group/scss/index.scss';
|
|
6
|
+
const template_1dhpbt21 = template_u1.template(`<div role='group'>`, true);
|
|
7
|
+
const DIGIT = /^\d$/;
|
|
8
|
+
const NON_DIGITS = /\D/g;
|
|
9
|
+
export default component(function ({ disabled, group, invalid, length = 6, value = '', state = reactivity_u0.reactive({ value }), variant, ...attributes }) {
|
|
10
|
+
let cells = [], size = group || length;
|
|
11
|
+
function cell(index) {
|
|
12
|
+
return input({
|
|
13
|
+
'aria-invalid': invalid && 'true',
|
|
14
|
+
'aria-label': `Digit ${index + 1} of ${length}`,
|
|
15
|
+
autocomplete: index === 0 ? 'one-time-code' : 'off',
|
|
16
|
+
class: ['input--otp', index > 0 && index % size === 0 && 'input--otp-break', variant && `input--${variant}`],
|
|
17
|
+
disabled,
|
|
18
|
+
inputmode: 'numeric',
|
|
19
|
+
maxlength: length,
|
|
20
|
+
onconnect: (element) => {
|
|
21
|
+
cells[index] = element;
|
|
22
|
+
},
|
|
23
|
+
oninput: (e) => {
|
|
24
|
+
let target = e.currentTarget, text = target.value;
|
|
25
|
+
target.value = '';
|
|
26
|
+
if (text.replace(NON_DIGITS, '')) {
|
|
27
|
+
write(index, text);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
sync();
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
onkeydown: (e) => {
|
|
34
|
+
let target = e.currentTarget;
|
|
35
|
+
if (e.key === 'ArrowLeft' || e.key === 'ArrowRight') {
|
|
36
|
+
e.preventDefault();
|
|
37
|
+
focus(index + (e.key === 'ArrowLeft' ? -1 : 1));
|
|
38
|
+
}
|
|
39
|
+
else if (e.key === 'Backspace') {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
if (target.value) {
|
|
42
|
+
target.value = '';
|
|
43
|
+
}
|
|
44
|
+
else if (index > 0) {
|
|
45
|
+
cells[index - 1].value = '';
|
|
46
|
+
focus(index - 1);
|
|
47
|
+
}
|
|
48
|
+
sync();
|
|
49
|
+
}
|
|
50
|
+
else if (DIGIT.test(e.key) && !e.ctrlKey && !e.metaKey) {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
write(index, e.key);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
onpaste: (e) => {
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
write(index, e.clipboardData?.getData('text') ?? '');
|
|
58
|
+
},
|
|
59
|
+
type: 'text',
|
|
60
|
+
value: state.value[index] ?? ''
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function focus(index) {
|
|
64
|
+
let cell = cells[Math.max(0, Math.min(index, length - 1))];
|
|
65
|
+
cell.focus();
|
|
66
|
+
cell.select();
|
|
67
|
+
}
|
|
68
|
+
function press(e) {
|
|
69
|
+
if (disabled || e.button !== 0) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
for (let i = 0; i < length; i++) {
|
|
74
|
+
if (!cells[i].value) {
|
|
75
|
+
focus(i);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
let index = cells.indexOf(e.target);
|
|
80
|
+
focus(index === -1 ? length - 1 : index);
|
|
81
|
+
}
|
|
82
|
+
function sync() {
|
|
83
|
+
let code = '';
|
|
84
|
+
for (let i = 0; i < length; i++) {
|
|
85
|
+
code += cells[i].value;
|
|
86
|
+
}
|
|
87
|
+
state.value = code;
|
|
88
|
+
}
|
|
89
|
+
function write(index, text) {
|
|
90
|
+
let digits = text.replace(NON_DIGITS, '');
|
|
91
|
+
if (!digits) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
for (let i = 0, n = Math.min(digits.length, length - index); i < n; i++) {
|
|
95
|
+
cells[index + i].value = digits[i];
|
|
96
|
+
}
|
|
97
|
+
sync();
|
|
98
|
+
focus(index + digits.length);
|
|
99
|
+
}
|
|
100
|
+
{
|
|
101
|
+
let root_1dhpbt20 = template_1dhpbt21();
|
|
102
|
+
template_u1.slot(root_1dhpbt20, Array.from({ length }, (_, index) => cell(index)), 1);
|
|
103
|
+
let attributes_1dhpbt22 = this?.attributes;
|
|
104
|
+
template_u1.setProperties(root_1dhpbt20, attributes_1dhpbt22, true);
|
|
105
|
+
let attributes_1dhpbt23 = attributes;
|
|
106
|
+
template_u1.setProperties(root_1dhpbt20, attributes_1dhpbt23, true);
|
|
107
|
+
template_u1.delegate(root_1dhpbt20, 'mousedown', press);
|
|
108
|
+
template_u1.setClass(root_1dhpbt20, ["group input-otp", attributes_1dhpbt22?.class, attributes_1dhpbt23?.class]);
|
|
109
|
+
template_u1.setStyle(root_1dhpbt20, ["", attributes_1dhpbt22?.style, attributes_1dhpbt23?.style]);
|
|
110
|
+
return root_1dhpbt20;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as template_u1 from '@esportsplus/template';
|
|
2
|
+
import input from './field.js';
|
|
3
|
+
type A = Omit<NonNullable<Field>, 'oninput' | 'state'> & {
|
|
4
|
+
oninput?: (e: Event) => void;
|
|
5
|
+
state?: State;
|
|
6
|
+
strength?: boolean;
|
|
7
|
+
toggle?: 'click' | 'hover';
|
|
8
|
+
};
|
|
9
|
+
type Field = Parameters<typeof input>[0];
|
|
10
|
+
type State = {
|
|
11
|
+
value: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: template_u1.Factory<A, template_u1.Renderable<any>, template_u1.Renderable<any>, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
export type { State };
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import * as reactivity_u0 from '@esportsplus/reactivity';
|
|
2
|
+
import * as template_u1 from '@esportsplus/template';
|
|
3
|
+
import { component } from '@esportsplus/template';
|
|
4
|
+
import eye from '@esportsplus/ui/svg/eye.svg';
|
|
5
|
+
import hidden from '@esportsplus/ui/svg/eye-off.svg';
|
|
6
|
+
import checkbox from '../checkbox/index.js';
|
|
7
|
+
import group from '../group/index.js';
|
|
8
|
+
import icon from '../icon/index.js';
|
|
9
|
+
import progress from '../progress/index.js';
|
|
10
|
+
import input from './field.js';
|
|
11
|
+
const template_1ufdo4i4 = template_u1.template(`<!--$--><!--$-->`);
|
|
12
|
+
const template_1ufdo4i8 = template_u1.template(`<!--$--><button type='button'>`);
|
|
13
|
+
const template_1ufdo4if = template_u1.template(`<div class='group group--grid' inert><!--$--><span class='group-label group-label--small'>`, true);
|
|
14
|
+
class ReactiveObject_1ufdo4i0 extends reactivity_u0.ReactiveObject {
|
|
15
|
+
#value;
|
|
16
|
+
constructor(_p0) {
|
|
17
|
+
super(null);
|
|
18
|
+
this.#value = this[reactivity_u0.SIGNAL](_p0);
|
|
19
|
+
}
|
|
20
|
+
get value() {
|
|
21
|
+
return reactivity_u0.read(this.#value);
|
|
22
|
+
}
|
|
23
|
+
set value(_v0) {
|
|
24
|
+
reactivity_u0.write(this.#value, _v0);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
class ReactiveObject_1ufdo4i1 extends reactivity_u0.ReactiveObject {
|
|
28
|
+
#hovering = this[reactivity_u0.SIGNAL](false);
|
|
29
|
+
#revealed = this[reactivity_u0.SIGNAL](false);
|
|
30
|
+
constructor() {
|
|
31
|
+
super(null);
|
|
32
|
+
}
|
|
33
|
+
get hovering() {
|
|
34
|
+
return reactivity_u0.read(this.#hovering);
|
|
35
|
+
}
|
|
36
|
+
set hovering(_v0) {
|
|
37
|
+
reactivity_u0.write(this.#hovering, _v0);
|
|
38
|
+
}
|
|
39
|
+
get revealed() {
|
|
40
|
+
return reactivity_u0.read(this.#revealed);
|
|
41
|
+
}
|
|
42
|
+
set revealed(_v1) {
|
|
43
|
+
reactivity_u0.write(this.#revealed, _v1);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
class ReactiveObject_1ufdo4i2 extends reactivity_u0.ReactiveObject {
|
|
47
|
+
#value;
|
|
48
|
+
constructor(_p0) {
|
|
49
|
+
super(null);
|
|
50
|
+
this.#value = this[reactivity_u0.SIGNAL](_p0);
|
|
51
|
+
}
|
|
52
|
+
get value() {
|
|
53
|
+
return reactivity_u0.read(this.#value);
|
|
54
|
+
}
|
|
55
|
+
set value(_v0) {
|
|
56
|
+
reactivity_u0.write(this.#value, _v0);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
const COMMON = ['123456', '12345678', 'abc123', 'admin', 'letmein', 'password', 'password1', 'qwerty', 'welcome'];
|
|
60
|
+
const DIGIT = /\d/;
|
|
61
|
+
const LABELS = ['', 'Weak', 'Fair', 'Good', 'Strong'];
|
|
62
|
+
const LOWERCASE = /[a-z]/;
|
|
63
|
+
const REPEATED = /(.)\1{2,}/;
|
|
64
|
+
const SYMBOL = /[^a-zA-Z\d\s]/;
|
|
65
|
+
const UPPERCASE = /[A-Z]/;
|
|
66
|
+
const WORD = /[a-z\d]/;
|
|
67
|
+
const RULES = [
|
|
68
|
+
['12 characters or more', (value) => value.length >= 12],
|
|
69
|
+
['Upper and lower case', (value) => LOWERCASE.test(value) && UPPERCASE.test(value)],
|
|
70
|
+
['A number', (value) => DIGIT.test(value)],
|
|
71
|
+
['A symbol', (value) => SYMBOL.test(value)]
|
|
72
|
+
];
|
|
73
|
+
function guessable(value) {
|
|
74
|
+
let lower = value.toLowerCase();
|
|
75
|
+
if (COMMON.includes(lower) || REPEATED.test(value)) {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
for (let i = 2, n = lower.length; i < n; i++) {
|
|
79
|
+
let a = lower.charCodeAt(i - 2), b = lower.charCodeAt(i - 1), c = lower.charCodeAt(i);
|
|
80
|
+
if (b - a === 1 && c - b === 1 && WORD.test(lower[i])) {
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
function score(value) {
|
|
87
|
+
if (!value) {
|
|
88
|
+
return 0;
|
|
89
|
+
}
|
|
90
|
+
if (guessable(value)) {
|
|
91
|
+
return 1;
|
|
92
|
+
}
|
|
93
|
+
let met = 0;
|
|
94
|
+
for (let i = 0, n = RULES.length; i < n; i++) {
|
|
95
|
+
if (RULES[i][1](value)) {
|
|
96
|
+
met++;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return Math.max(1, met);
|
|
100
|
+
}
|
|
101
|
+
export default component(function ({ oninput, strength = false, toggle = 'click', value = '', state = new ReactiveObject_1ufdo4i0(String(value)), ...attributes }) {
|
|
102
|
+
let field, local = new ReactiveObject_1ufdo4i1(), meter = new ReactiveObject_1ufdo4i2(score(state.value) / RULES.length * 100), visible = () => local.revealed || local.hovering;
|
|
103
|
+
attributes.autocomplete ??= strength ? 'new-password' : 'current-password';
|
|
104
|
+
{
|
|
105
|
+
let root_1ufdo4i3 = template_1ufdo4i4(), element_1ufdo4i5 = root_1ufdo4i3.firstChild, element_1ufdo4i6 = element_1ufdo4i5.nextSibling;
|
|
106
|
+
template_u1.slot(element_1ufdo4i5, group({}, (() => {
|
|
107
|
+
let root_1ufdo4i7 = template_1ufdo4i8(), element_1ufdo4i9 = root_1ufdo4i7.firstChild, element_1ufdo4ia = element_1ufdo4i9.nextSibling;
|
|
108
|
+
template_u1.slot(element_1ufdo4i9, input.call(this, {
|
|
109
|
+
...attributes,
|
|
110
|
+
onconnect: (element) => {
|
|
111
|
+
field = element;
|
|
112
|
+
},
|
|
113
|
+
oninput: (e) => {
|
|
114
|
+
state.value = e.currentTarget.value;
|
|
115
|
+
meter.value = score(state.value) / RULES.length * 100;
|
|
116
|
+
oninput?.(e);
|
|
117
|
+
},
|
|
118
|
+
type: () => visible() ? 'text' : 'password',
|
|
119
|
+
value: state.value
|
|
120
|
+
}));
|
|
121
|
+
new template_u1.EffectSlot(element_1ufdo4ia, () => icon({ 'aria-hidden': 'true', class: 'input-password-icon' }, visible() ? hidden : eye), 1);
|
|
122
|
+
template_u1.setProperty(element_1ufdo4ia, 'aria-label', () => visible() ? 'Hide password' : 'Show password');
|
|
123
|
+
template_u1.setProperty(element_1ufdo4ia, 'aria-pressed', () => visible() ? 'true' : 'false');
|
|
124
|
+
template_u1.delegate(element_1ufdo4ia, 'click', (e) => {
|
|
125
|
+
if (toggle === 'click' || !e.detail) {
|
|
126
|
+
local.revealed = !local.revealed;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
template_u1.delegate(element_1ufdo4ia, 'pointerdown', (e) => {
|
|
130
|
+
if (field && document.activeElement === field) {
|
|
131
|
+
e.preventDefault();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
template_u1.direct(element_1ufdo4ia, 'pointerenter', () => {
|
|
135
|
+
if (toggle === 'hover') {
|
|
136
|
+
local.hovering = true;
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
template_u1.direct(element_1ufdo4ia, 'pointerleave', () => {
|
|
140
|
+
local.hovering = false;
|
|
141
|
+
});
|
|
142
|
+
template_u1.setClass(element_1ufdo4ia, ["group-item group-item--overlay input-password-toggle"]);
|
|
143
|
+
return root_1ufdo4i7;
|
|
144
|
+
})()));
|
|
145
|
+
template_u1.slot(element_1ufdo4i6, strength && (() => {
|
|
146
|
+
let root_1ufdo4ib = template_1ufdo4i4(), element_1ufdo4ic = root_1ufdo4ib.firstChild, element_1ufdo4id = element_1ufdo4ic.nextSibling;
|
|
147
|
+
template_u1.slot(element_1ufdo4ic, progress({
|
|
148
|
+
class: 'group-progress progress--segmented',
|
|
149
|
+
percent: false,
|
|
150
|
+
state: meter,
|
|
151
|
+
status: (value) => `${LABELS[Math.round(value / 100 * RULES.length)]}${guessable(state.value) ? ' · commonly guessed' : ''}`
|
|
152
|
+
}));
|
|
153
|
+
template_u1.slot(element_1ufdo4id, RULES.map(([label, test]) => {
|
|
154
|
+
let root_1ufdo4ie = template_1ufdo4if(), element_1ufdo4ig = root_1ufdo4ie.firstChild, element_1ufdo4ih = root_1ufdo4ie.firstElementChild;
|
|
155
|
+
template_u1.slot(element_1ufdo4ig, checkbox({ [checkbox.input]: { checked: () => test(state.value), tabindex: -1 } }));
|
|
156
|
+
template_u1.slot(element_1ufdo4ih, label, 1);
|
|
157
|
+
return root_1ufdo4ie;
|
|
158
|
+
}));
|
|
159
|
+
return root_1ufdo4ib;
|
|
160
|
+
})());
|
|
161
|
+
return root_1ufdo4i3;
|
|
162
|
+
}
|
|
163
|
+
});
|