@esportsplus/ui 0.57.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -39
- package/build/components/accordion/group.d.ts +14 -0
- package/build/components/accordion/group.js +21 -0
- package/build/components/accordion/index.d.ts +9 -0
- package/build/components/accordion/index.js +20 -3
- package/build/components/accordion/scss/index.scss +1 -1
- package/build/components/announcement/scss/index.scss +1 -1
- package/build/components/breadcrumb/scss/index.scss +1 -1
- package/build/components/button/scss/index.scss +1 -1
- package/build/components/button/sidebar.d.ts +3 -0
- package/build/components/button/sidebar.js +40 -10
- package/build/components/capslock/index.js +1 -1
- package/build/components/capslock/scss/index.scss +1 -1
- package/build/components/card/scss/index.scss +1 -1
- package/build/components/cc/scss/index.scss +1 -1
- package/build/components/chat-minimap/scss/index.scss +1 -1
- package/build/components/checkbox/scss/index.scss +1 -1
- package/build/components/color-picker/index.d.ts +1 -0
- package/build/components/color-picker/index.js +166 -136
- package/build/components/color-picker/scss/index.scss +1 -1
- package/build/components/command/index.d.ts +0 -1
- package/build/components/command/index.js +3 -2
- package/build/components/command/scss/index.scss +1 -1
- package/build/components/copy/scss/index.scss +1 -1
- package/build/components/counter/scss/index.scss +1 -1
- package/build/components/datalist/index.js +3 -3
- package/build/components/datalist/scss/index.scss +1 -1
- package/build/components/dock/scss/index.scss +1 -1
- package/build/components/editor/code/index.d.ts +0 -1
- package/build/components/editor/code/index.js +0 -1
- package/build/components/editor/code/minimap.d.ts +2 -1
- package/build/components/editor/code/minimap.js +5 -2
- package/build/components/editor/code/view.d.ts +3 -1
- package/build/components/editor/code/view.js +37 -26
- package/build/components/editor/diffs/index.d.ts +0 -1
- package/build/components/editor/diffs/index.js +0 -1
- package/build/components/editor/diffs/merge.js +7 -3
- package/build/components/editor/diffs/view.js +3 -1
- package/build/components/editor/index.d.ts +4 -1
- package/build/components/editor/index.js +2 -1
- package/build/components/editor/markdown/editing.js +22 -3
- package/build/components/editor/markdown/erase.d.ts +9 -0
- package/build/components/editor/markdown/erase.js +78 -0
- package/build/components/editor/markdown/index.d.ts +0 -1
- package/build/components/editor/markdown/index.js +0 -1
- package/build/components/editor/markdown/layout.d.ts +2 -9
- package/build/components/editor/markdown/layout.js +2 -7
- package/build/components/editor/markdown/render.d.ts +0 -1
- package/build/components/editor/markdown/render.js +287 -235
- package/build/components/editor/markdown/view.js +566 -667
- package/build/components/editor/viewer/index.d.ts +27 -0
- package/build/components/editor/viewer/index.js +250 -0
- package/build/components/editor/viewer/model.d.ts +15 -0
- package/build/components/editor/viewer/model.js +73 -0
- package/build/components/editor/workspace/index.d.ts +6 -2
- package/build/components/editor/workspace/index.js +243 -137
- package/build/components/editor/workspace/keybindings.d.ts +37 -0
- package/build/components/editor/workspace/keybindings.js +288 -0
- package/build/components/editor/workspace/model.d.ts +55 -2
- package/build/components/editor/workspace/model.js +141 -3
- package/build/components/editor/workspace/navigate.d.ts +19 -0
- package/build/components/editor/workspace/navigate.js +118 -0
- package/build/components/editor/workspace/session.d.ts +29 -0
- package/build/components/editor/workspace/session.js +373 -0
- package/build/components/editor/workspace/shortcuts.d.ts +19 -0
- package/build/components/editor/workspace/shortcuts.js +185 -0
- package/build/components/editor/workspace/status.d.ts +34 -0
- package/build/components/editor/workspace/status.js +193 -0
- package/build/components/editor/workspace/statusbar.d.ts +15 -0
- package/build/components/editor/workspace/statusbar.js +190 -0
- package/build/components/editor/workspace/strip.d.ts +27 -0
- package/build/components/editor/workspace/strip.js +239 -0
- package/build/components/editor/workspace/tabs.d.ts +15 -0
- package/build/components/editor/workspace/tabs.js +63 -0
- package/build/components/error/index.js +1 -1
- package/build/components/error/scss/index.scss +1 -1
- package/build/components/filter/index.js +5 -3
- package/build/components/filter/scss/index.scss +1 -1
- package/build/components/frame/scss/index.scss +1 -1
- package/build/components/heatmap/index.js +3 -3
- package/build/components/heatmap/scss/index.scss +1 -1
- 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 +2 -0
- package/build/components/index.js +2 -0
- package/build/components/inline-edit/scss/index.scss +1 -1
- package/build/components/input/scss/index.scss +1 -1
- package/build/components/link/scss/index.scss +1 -1
- package/build/components/loading/scss/index.scss +1 -1
- package/build/components/marquee/scss/index.scss +1 -1
- package/build/components/metric/scss/index.scss +1 -1
- package/build/components/nav/index.d.ts +1 -1
- package/build/components/nav/scss/index.scss +1 -1
- package/build/components/nav/tree.d.ts +3 -1
- package/build/components/nav/tree.js +30 -60
- package/build/components/notification/scss/index.scss +1 -1
- package/build/components/overlay/scss/index.scss +1 -1
- package/build/components/page/scss/index.scss +1 -1
- package/build/components/pagination/arrows.d.ts +15 -0
- package/build/components/pagination/arrows.js +65 -0
- package/build/components/pagination/cards.d.ts +23 -0
- package/build/components/pagination/cards.js +66 -0
- package/build/components/pagination/index.d.ts +5 -0
- package/build/components/pagination/index.js +3 -1
- package/build/components/pagination/scss/index.scss +1 -1
- package/build/components/progress/scss/index.scss +1 -1
- package/build/components/pull-to-refresh/scss/index.scss +1 -1
- package/build/components/range/index.js +1 -1
- package/build/components/range/scss/index.scss +1 -1
- package/build/components/relative-time/scss/index.scss +1 -1
- package/build/components/root/scss/index.scss +1 -1
- package/build/components/section/scss/index.scss +2 -0
- package/build/components/select/index.d.ts +1 -0
- package/build/components/select/index.js +16 -11
- package/build/components/select/scss/index.scss +1 -1
- package/build/components/shortcut-recorder/scss/index.scss +1 -1
- package/build/components/sortable/scss/index.scss +1 -1
- package/build/components/sticky-header/index.js +3 -3
- package/build/components/sticky-header/scss/index.scss +1 -1
- package/build/components/story/scss/index.scss +1 -1
- package/build/components/surface-field/scss/index.scss +1 -1
- package/build/components/tasklist/scss/index.scss +1 -1
- package/build/components/text/scss/index.scss +1 -1
- package/build/components/textarea/scss/index.scss +1 -1
- package/build/{css-utilities → components}/theme/index.d.ts +1 -1
- package/build/{css-utilities → components}/theme/index.js +15 -5
- package/build/components/theme/scss/index.scss +2 -0
- package/build/components/theme-picker/index.d.ts +52 -0
- package/build/components/theme-picker/index.js +167 -0
- package/build/components/theme-picker/scss/index.scss +2 -0
- package/build/components/toast/index.js +3 -5
- package/build/components/toast/scss/index.scss +1 -1
- package/build/components/tooltip/menu.js +3 -1
- package/build/components/tooltip/scss/index.scss +1 -1
- package/build/components/typewriter/scss/index.scss +1 -1
- package/build/components/uptime/scss/index.scss +1 -1
- package/build/components/usage-meter/scss/index.scss +1 -1
- package/build/{css-utilities → modifiers}/glass/index.d.ts +2 -2
- package/build/modifiers/glass/index.js +28 -0
- package/build/modifiers/glass/scss/index.scss +2 -0
- package/build/{css-utilities → modifiers}/index.d.ts +0 -1
- package/build/{css-utilities → modifiers}/index.js +0 -1
- package/build/modifiers/scrollbar/index.d.ts +72 -0
- package/build/{css-utilities → modifiers}/scrollbar/index.js +52 -19
- package/build/modifiers/scrollbar/scss/index.scss +2 -0
- package/build/normalize/scss/index.scss +1 -2
- package/layer.scss +1 -1
- package/package.json +11 -18
- package/scripts/code-editor-markdown.test.mjs +45 -14
- package/scripts/code-viewer.test.mjs +69 -0
- package/scripts/workspace-keybindings.test.mjs +273 -0
- package/scripts/workspace-session.test.mjs +349 -0
- package/scripts/workspace-status.test.mjs +229 -0
- package/scripts/workspace-tabs.test.mjs +142 -0
- package/src/components/accordion/group.ts +39 -0
- package/src/components/accordion/index.ts +32 -6
- package/src/components/accordion/scss/index.scss +12 -21
- package/src/components/accordion/scss/variables.scss +18 -3
- package/src/components/announcement/scss/index.scss +4 -4
- package/src/components/announcement/scss/variables.scss +6 -6
- package/src/components/banner/scss/index.scss +1 -1
- package/src/components/breadcrumb/scss/index.scss +35 -50
- package/src/components/breadcrumb/scss/variables.scss +23 -31
- package/src/components/button/scss/_fan.scss +39 -43
- package/src/components/button/scss/_morph.scss +66 -78
- package/src/components/button/scss/_sidebar.scss +41 -30
- package/src/components/button/scss/_split.scss +9 -9
- package/src/components/button/scss/index.scss +23 -19
- package/src/components/button/scss/variables.scss +94 -90
- package/src/components/button/sidebar.ts +36 -24
- package/src/components/capslock/index.ts +2 -2
- package/src/components/capslock/scss/index.scss +11 -6
- package/src/components/capslock/scss/variables.scss +3 -5
- package/src/components/card/scss/_expand.scss +58 -64
- package/src/components/card/scss/index.scss +40 -21
- package/src/components/card/scss/variables.scss +40 -31
- package/src/components/cc/scss/index.scss +68 -68
- package/src/components/cc/scss/variables.scss +13 -14
- package/src/components/chat-minimap/scss/index.scss +24 -16
- package/src/components/chat-minimap/scss/variables.scss +37 -37
- package/src/components/checkbox/scss/index.scss +54 -52
- package/src/components/checkbox/scss/variables.scss +37 -39
- package/src/components/color-picker/index.ts +157 -120
- package/src/components/color-picker/scss/index.scss +159 -96
- package/src/components/color-picker/scss/variables.scss +33 -15
- package/src/components/command/index.ts +3 -2
- package/src/components/command/scss/index.scss +10 -14
- package/src/components/command/scss/variables.scss +12 -35
- package/src/components/copy/scss/index.scss +6 -6
- package/src/components/copy/scss/variables.scss +12 -15
- package/src/components/counter/scss/index.scss +14 -14
- package/src/components/counter/scss/variables.scss +1 -1
- package/src/components/datalist/index.ts +3 -3
- package/src/components/datalist/scss/index.scss +7 -6
- package/src/components/datalist/scss/variables.scss +7 -3
- package/src/components/dock/scss/index.scss +10 -15
- package/src/components/dock/scss/variables.scss +29 -25
- package/src/components/editor/code/index.ts +0 -1
- package/src/components/editor/code/minimap.ts +13 -5
- package/src/components/editor/code/scss/_editor.scss +83 -81
- package/src/components/editor/code/scss/_features.scss +106 -97
- package/src/components/editor/code/scss/_services.scss +27 -25
- package/src/components/editor/code/scss/index.scss +0 -1
- package/src/components/editor/code/scss/variables.scss +30 -26
- package/src/components/editor/code/view.ts +14 -5
- package/src/components/editor/diffs/index.ts +0 -1
- package/src/components/editor/diffs/merge.ts +2 -1
- package/src/components/editor/diffs/scss/_diffs.scss +67 -57
- package/src/components/editor/diffs/scss/_merge.scss +17 -14
- package/src/components/editor/diffs/scss/index.scss +0 -1
- package/src/components/editor/diffs/scss/variables.scss +25 -18
- package/src/components/editor/diffs/view.ts +2 -1
- package/src/components/editor/index.ts +7 -1
- package/src/components/editor/markdown/editing.ts +38 -3
- package/src/components/editor/markdown/erase.ts +124 -0
- package/src/components/editor/markdown/index.ts +0 -1
- package/src/components/editor/markdown/layout.ts +3 -12
- package/src/components/editor/markdown/render.ts +65 -37
- package/src/components/editor/markdown/scss/index.scss +92 -124
- package/src/components/editor/markdown/scss/variables.scss +39 -19
- package/src/components/editor/markdown/view.ts +737 -786
- package/src/components/editor/tree/scss/index.scss +121 -110
- package/src/components/editor/tree/scss/variables.scss +48 -54
- package/src/components/editor/viewer/index.ts +321 -0
- package/src/components/editor/viewer/model.ts +130 -0
- package/src/components/editor/viewer/scss/_viewer.scss +302 -0
- package/src/components/editor/viewer/scss/index.scss +2 -0
- package/src/components/editor/viewer/scss/variables.scss +69 -0
- package/src/components/editor/workspace/index.ts +159 -31
- package/src/components/editor/workspace/keybindings.ts +447 -0
- package/src/components/editor/workspace/model.ts +233 -3
- package/src/components/editor/workspace/navigate.ts +194 -0
- package/src/components/editor/workspace/scss/index.scss +72 -59
- package/src/components/editor/workspace/scss/keybindings.scss +190 -0
- package/src/components/editor/workspace/scss/status.scss +122 -0
- package/src/components/editor/workspace/scss/tabs.scss +56 -0
- package/src/components/editor/workspace/session.ts +551 -0
- package/src/components/editor/workspace/shortcuts.ts +255 -0
- package/src/components/editor/workspace/status.ts +259 -0
- package/src/components/editor/workspace/statusbar.ts +255 -0
- package/src/components/editor/workspace/strip.ts +273 -0
- package/src/components/editor/workspace/tabs.ts +106 -0
- package/src/components/error/index.ts +1 -1
- package/src/components/error/scss/index.scss +19 -19
- package/src/components/error/scss/variables.scss +2 -2
- package/src/components/filter/index.ts +7 -2
- package/src/components/filter/scss/index.scss +1 -1
- package/src/components/filter/scss/variables.scss +11 -10
- package/src/components/frame/scss/index.scss +12 -12
- package/src/components/frame/scss/variables.scss +8 -8
- package/src/components/heatmap/index.ts +3 -3
- package/src/components/heatmap/scss/index.scss +28 -26
- package/src/components/heatmap/scss/variables.scss +18 -17
- package/src/components/highlight/scss/index.scss +17 -13
- package/src/components/highlight/scss/variables.scss +8 -10
- package/src/components/icon/scss/index.scss +10 -0
- package/src/components/icon/scss/variables.scss +5 -0
- package/src/components/image/scss/index.scss +9 -9
- package/src/components/image/scss/variables.scss +7 -2
- package/src/components/index.ts +2 -0
- package/src/components/inline-edit/scss/index.scss +99 -104
- package/src/components/inline-edit/scss/variables.scss +40 -39
- package/src/components/input/scss/_field.scss +6 -20
- package/src/components/input/scss/_scrub.scss +10 -8
- package/src/components/input/scss/_tag.scss +35 -37
- package/src/components/input/scss/variables.scss +100 -99
- package/src/components/link/scss/index.scss +4 -1
- package/src/components/loading/scss/index.scss +1 -1
- package/src/components/loading/scss/variables.scss +1 -1
- package/src/components/marquee/scss/index.scss +9 -5
- package/src/components/marquee/scss/variables.scss +3 -1
- package/src/components/metric/scss/_flash.scss +3 -1
- package/src/components/metric/scss/index.scss +8 -6
- package/src/components/metric/scss/variables.scss +26 -20
- package/src/components/nav/index.ts +1 -1
- package/src/components/nav/scss/index.scss +12 -40
- package/src/components/nav/scss/variables.scss +30 -11
- package/src/components/nav/tree.ts +19 -62
- package/src/components/notification/scss/index.scss +7 -7
- package/src/components/notification/scss/variables.scss +7 -9
- package/src/components/overlay/scss/index.scss +181 -170
- package/src/components/overlay/scss/variables.scss +26 -57
- package/src/components/page/scss/index.scss +12 -11
- package/src/components/page/scss/variables.scss +5 -0
- package/src/components/pagination/arrows.ts +58 -0
- package/src/components/pagination/cards.ts +57 -0
- package/src/components/pagination/index.ts +4 -1
- package/src/components/pagination/scss/_arrows.scss +69 -0
- package/src/components/pagination/scss/_cards.scss +121 -0
- package/src/components/pagination/scss/_dots.scss +2 -5
- package/src/components/pagination/scss/index.scss +8 -6
- package/src/components/pagination/scss/variables.scss +87 -37
- package/src/components/progress/scss/_text.scss +21 -18
- package/src/components/progress/scss/index.scss +1 -1
- package/src/components/progress/scss/variables.scss +12 -12
- package/src/components/pull-to-refresh/scss/index.scss +2 -1
- package/src/components/pull-to-refresh/scss/variables.scss +11 -6
- package/src/components/range/index.ts +1 -1
- package/src/components/range/scss/_filter.scss +62 -51
- package/src/components/range/scss/_slider.scss +78 -75
- package/src/components/range/scss/_vertical.scss +6 -6
- package/src/components/range/scss/index.scss +3 -2
- package/src/components/range/scss/variables.scss +26 -23
- package/src/components/relative-time/scss/index.scss +27 -27
- package/src/components/relative-time/scss/variables.scss +10 -12
- package/src/components/root/scss/index.scss +71 -43
- package/src/components/root/scss/variables.scss +35 -31
- package/src/components/section/scss/index.scss +31 -0
- package/src/components/section/scss/variables.scss +21 -0
- package/src/components/select/index.ts +11 -6
- package/src/components/select/scss/index.scss +21 -32
- package/src/components/select/scss/variables.scss +25 -18
- package/src/components/shortcut-recorder/scss/index.scss +13 -12
- package/src/components/shortcut-recorder/scss/variables.scss +12 -13
- package/src/components/sortable/scss/index.scss +47 -44
- package/src/components/sortable/scss/variables.scss +4 -5
- package/src/components/sticky-header/index.ts +4 -4
- package/src/components/sticky-header/scss/index.scss +14 -13
- package/src/components/sticky-header/scss/variables.scss +9 -9
- package/src/components/story/scss/index.scss +26 -30
- package/src/components/story/scss/variables.scss +16 -9
- package/src/components/surface-field/scss/index.scss +45 -40
- package/src/components/surface-field/scss/variables.scss +5 -6
- package/src/components/tasklist/scss/index.scss +19 -19
- package/src/components/tasklist/scss/variables.scss +26 -29
- package/src/components/text/scss/index.scss +2 -1
- package/src/components/textarea/scss/variables.scss +1 -1
- package/src/{css-utilities → components}/theme/index.ts +17 -3
- package/src/components/theme/scss/index.scss +1 -0
- package/src/components/theme/scss/variables.scss +78 -0
- package/src/components/theme-picker/index.ts +231 -0
- package/src/components/theme-picker/scss/index.scss +264 -0
- package/src/components/toast/index.ts +28 -30
- package/src/components/toast/scss/index.scss +87 -87
- package/src/components/toast/scss/variables.scss +39 -39
- package/src/components/tooltip/menu.ts +4 -1
- package/src/components/tooltip/scss/_east.scss +10 -10
- package/src/components/tooltip/scss/_menu.scss +284 -269
- package/src/components/tooltip/scss/_north.scss +10 -10
- package/src/components/tooltip/scss/_shared.scss +7 -7
- package/src/components/tooltip/scss/_south.scss +10 -10
- package/src/components/tooltip/scss/_west.scss +10 -10
- package/src/components/tooltip/scss/index.scss +21 -20
- package/src/components/tooltip/scss/variables.scss +104 -96
- package/src/components/typewriter/scss/_retype.scss +12 -11
- package/src/components/typewriter/scss/_rotate.scss +2 -1
- package/src/components/typewriter/scss/variables.scss +41 -39
- package/src/components/uptime/scss/index.scss +15 -15
- package/src/components/uptime/scss/variables.scss +8 -8
- package/src/components/usage-meter/scss/index.scss +3 -1
- package/src/components/usage-meter/scss/variables.scss +5 -5
- package/src/css-utilities/absolute.scss +64 -0
- package/src/css-utilities/background.scss +43 -0
- package/src/css-utilities/border.scss +45 -0
- package/src/css-utilities/box-shadow.scss +29 -0
- package/src/css-utilities/color.scss +41 -0
- package/src/css-utilities/flex.scss +64 -0
- package/src/css-utilities/font/geist/{scss/index.scss → index.scss} +12 -4
- package/src/css-utilities/font/montserrat/Montserrat-Italic-Variable.woff2 +0 -0
- package/src/css-utilities/font/montserrat/Montserrat-Variable.woff2 +0 -0
- package/src/css-utilities/font/montserrat/OFL.txt +93 -0
- package/src/css-utilities/font/montserrat/index.scss +38 -0
- package/src/{shared/scss → css-utilities}/icon.scss +1 -1
- package/src/css-utilities/{inline/scss/index.scss → inline.scss} +1 -1
- package/src/css-utilities/{skeleton/scss/index.scss → skeleton.scss} +11 -11
- package/src/css-utilities/surface.scss +266 -0
- package/src/css-utilities/text.scss +191 -0
- package/src/modifiers/glass/index.ts +44 -0
- package/src/{css-utilities → modifiers}/glass/scss/index.scss +6 -6
- package/src/{css-utilities → modifiers}/glass/scss/variables.scss +1 -1
- package/src/{css-utilities → modifiers}/index.ts +0 -1
- package/src/{css-utilities → modifiers}/scrollbar/index.ts +92 -17
- package/src/{css-utilities → modifiers}/scrollbar/scss/index.scss +178 -177
- package/src/{css-utilities → modifiers}/scrollbar/scss/variables.scss +28 -21
- package/src/normalize/scss/index.scss +4 -2
- package/src/shared/scss/color-weights.scss +19 -0
- package/src/shared/scss/index.scss +1 -12
- package/src/tokens/scss/blur.scss +5 -0
- package/src/tokens/scss/color.scss +74 -50
- package/src/tokens/scss/index.scss +1 -2
- package/src/tokens/scss/size.scss +0 -2
- package/src/tokens/scss/state.scss +3 -2
- package/src/tokens/scss/transition.scss +19 -2
- package/storage/svg/monitor.svg +1 -0
- package/storage/svg/moon.svg +1 -0
- package/storage/svg/pin.svg +1 -0
- package/storage/svg/sun.svg +1 -0
- package/vite.config.ts +33 -8
- package/build/css-utilities/background/scss/index.scss +0 -2
- package/build/css-utilities/border/scss/index.scss +0 -2
- package/build/css-utilities/color/scss/index.scss +0 -2
- package/build/css-utilities/flex/scss/index.scss +0 -2
- package/build/css-utilities/font/geist/index.d.ts +0 -1
- package/build/css-utilities/font/geist/index.js +0 -1
- package/build/css-utilities/font/geist/scss/index.scss +0 -2
- package/build/css-utilities/font/montserrat/index.d.ts +0 -1
- package/build/css-utilities/font/montserrat/index.js +0 -1
- package/build/css-utilities/font/montserrat/scss/Montserrat-Bold.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Bold.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-BoldItalic.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-BoldItalic.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Italic.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Italic.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Medium.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Medium.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-MediumItalic.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-MediumItalic.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Regular.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-Regular.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-SemiBold.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-SemiBold.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-SemiBoldItalic.woff +0 -0
- package/build/css-utilities/font/montserrat/scss/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/build/css-utilities/font/montserrat/scss/index.scss +0 -2
- package/build/css-utilities/glass/index.js +0 -26
- package/build/css-utilities/glass/scss/index.scss +0 -2
- package/build/css-utilities/index.scss +0 -2
- package/build/css-utilities/inline/scss/index.scss +0 -2
- package/build/css-utilities/scrollbar/index.d.ts +0 -42
- package/build/css-utilities/scrollbar/scss/index.scss +0 -2
- package/build/css-utilities/skeleton/scss/index.scss +0 -2
- package/build/css-utilities/text/scss/index.scss +0 -2
- package/build/themes/dark/index.d.ts +0 -3
- package/build/themes/dark/index.js +0 -3
- package/build/themes/dark/input.d.ts +0 -3
- package/build/themes/dark/input.js +0 -12
- package/build/themes/dark/select.d.ts +0 -3
- package/build/themes/dark/select.js +0 -23
- package/build/themes/dark/textarea.d.ts +0 -2186
- package/build/themes/dark/textarea.js +0 -11
- package/src/css-utilities/background/scss/index.scss +0 -1
- package/src/css-utilities/background/scss/variables.scss +0 -18
- package/src/css-utilities/border/scss/index.scss +0 -1
- package/src/css-utilities/border/scss/variables.scss +0 -23
- package/src/css-utilities/color/scss/index.scss +0 -1
- package/src/css-utilities/color/scss/variables.scss +0 -17
- package/src/css-utilities/flex/scss/index.scss +0 -57
- package/src/css-utilities/flex/scss/variables.scss +0 -16
- package/src/css-utilities/font/geist/index.ts +0 -1
- package/src/css-utilities/font/montserrat/index.ts +0 -1
- package/src/css-utilities/font/montserrat/scss/Montserrat-Bold.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Bold.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-BoldItalic.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-BoldItalic.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Italic.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Italic.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Medium.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Medium.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-MediumItalic.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-MediumItalic.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Regular.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-Regular.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-SemiBold.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-SemiBold.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-SemiBoldItalic.woff +0 -0
- package/src/css-utilities/font/montserrat/scss/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/src/css-utilities/font/montserrat/scss/index.scss +0 -94
- package/src/css-utilities/glass/index.ts +0 -42
- package/src/css-utilities/index.scss +0 -13
- package/src/css-utilities/skeleton/scss/variables.scss +0 -3
- package/src/css-utilities/text/scss/index.scss +0 -152
- package/src/css-utilities/text/scss/variables.scss +0 -22
- package/src/shared/scss/absolute.scss +0 -28
- package/src/shared/scss/background.scss +0 -21
- package/src/shared/scss/border.scss +0 -21
- package/src/shared/scss/color.scss +0 -21
- package/src/shared/scss/position.scss +0 -55
- package/src/shared/scss/text.scss +0 -31
- package/src/themes/dark/index.ts +0 -3
- package/src/themes/dark/input.ts +0 -16
- package/src/themes/dark/select.ts +0 -28
- package/src/themes/dark/textarea.ts +0 -13
- package/src/tokens/scss/box-shadow.scss +0 -23
- package/src/tokens/scss/font-family.scss +0 -5
- package/storage/code.md +0 -180
- package/storage/editor-features.md +0 -227
- package/build/css-utilities/font/geist/{scss/Geist-Italic-Variable.woff2 → Geist-Italic-Variable.woff2} +0 -0
- package/build/css-utilities/font/geist/{scss/Geist-Variable.woff2 → Geist-Variable.woff2} +0 -0
- package/build/css-utilities/font/geist/{scss/GeistMono-Italic-Variable.woff2 → GeistMono-Italic-Variable.woff2} +0 -0
- package/build/css-utilities/font/geist/{scss/GeistMono-Variable.woff2 → GeistMono-Variable.woff2} +0 -0
- package/src/{shared/scss → css-utilities}/anchor.scss +6 -6
- package/src/{shared/scss → css-utilities}/drag.scss +0 -0
- package/src/css-utilities/font/geist/{scss/Geist-Italic-Variable.woff2 → Geist-Italic-Variable.woff2} +0 -0
- package/src/css-utilities/font/geist/{scss/Geist-Variable.woff2 → Geist-Variable.woff2} +0 -0
- package/src/css-utilities/font/geist/{scss/GeistMono-Italic-Variable.woff2 → GeistMono-Italic-Variable.woff2} +0 -0
- package/src/css-utilities/font/geist/{scss/GeistMono-Variable.woff2 → GeistMono-Variable.woff2} +0 -0
- package/src/{shared/scss → css-utilities}/hidden.scss +11 -11
- /package/src/{shared/scss → css-utilities}/layer.scss +0 -0
- /package/src/{shared/scss → css-utilities}/reset.scss +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use '/shared';
|
|
2
1
|
@use '/tokens';
|
|
2
|
+
@use 'css-utilities/hidden';
|
|
3
3
|
@use 'variables';
|
|
4
4
|
|
|
5
5
|
.uptime {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
&:focus-visible {
|
|
46
46
|
outline: 2px solid var(--color);
|
|
47
|
-
outline-offset:
|
|
47
|
+
outline-offset: calc(var(--size-100) / 2);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
min-width: 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
&-service-day,
|
|
74
|
-
&-service-percentage {
|
|
75
|
-
font-variant-numeric: tabular-nums;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
73
|
&-service-day {
|
|
79
74
|
color: var(--color-muted);
|
|
80
75
|
flex-shrink: 0;
|
|
81
76
|
}
|
|
82
77
|
|
|
78
|
+
&-service-day,
|
|
79
|
+
&-service-percentage {
|
|
80
|
+
font-variant-numeric: tabular-nums;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
83
|
&-service-header {
|
|
84
84
|
align-items: center;
|
|
85
85
|
display: flex;
|
|
@@ -89,6 +89,14 @@
|
|
|
89
89
|
margin-bottom: var(--size-300);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
// Same cut-out as 'image--status', anchored top right: the mask punches a ring out of the text, and
|
|
93
|
+
// the status dot, a sibling so the mask can't clip its tooltip, sits in the hole.
|
|
94
|
+
&-service-label {
|
|
95
|
+
display: block;
|
|
96
|
+
mask-clip: no-clip;
|
|
97
|
+
mask-image: var(--status-mask);
|
|
98
|
+
}
|
|
99
|
+
|
|
92
100
|
// Each caption change mounts a fresh node, so the entry animation replays per swap.
|
|
93
101
|
&-service-message {
|
|
94
102
|
animation: uptime-caption var(--transition-duration) var(--timing-function);
|
|
@@ -118,14 +126,6 @@
|
|
|
118
126
|
}
|
|
119
127
|
}
|
|
120
128
|
|
|
121
|
-
// Same cut-out as 'image--status', anchored top right: the mask punches a ring out of the text, and
|
|
122
|
-
// the status dot, a sibling so the mask can't clip its tooltip, sits in the hole.
|
|
123
|
-
&-service-label {
|
|
124
|
-
display: block;
|
|
125
|
-
mask-clip: no-clip;
|
|
126
|
-
mask-image: var(--status-mask);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
129
|
&-service-name {
|
|
130
130
|
flex-shrink: 0;
|
|
131
131
|
font-weight: var(--font-weight-500);
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
--bar-active-scale: 1.15;
|
|
5
5
|
--bar-border-radius: var(--border-radius-100);
|
|
6
6
|
--bar-dim: 0.35;
|
|
7
|
-
--bar-gap:
|
|
7
|
+
--bar-gap: calc(var(--size-300) / 4);
|
|
8
8
|
--bar-height: var(--size-600);
|
|
9
9
|
--bar-opacity: 1;
|
|
10
|
-
--caption-blur:
|
|
11
|
-
--caption-offset:
|
|
10
|
+
--caption-blur: var(--blur-400);
|
|
11
|
+
--caption-offset: calc(var(--size-100) / 2);
|
|
12
12
|
--color: var(--color-text-400);
|
|
13
13
|
--color-degraded: oklch(0.8 0.15 78);
|
|
14
14
|
--color-muted: var(--color-text-300);
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
--dot-size: 6px;
|
|
19
19
|
--font-size: var(--font-size-300);
|
|
20
20
|
--service-gap: var(--size-600);
|
|
21
|
-
--timing-function:
|
|
22
|
-
--transition-duration:
|
|
21
|
+
--timing-function: var(--easing-spring);
|
|
22
|
+
--transition-duration: var(--duration-fast);
|
|
23
23
|
--width: min(440px, 100%);
|
|
24
24
|
|
|
25
25
|
&-bar {
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&-service-tooltip.tooltip-message {
|
|
78
|
-
--background-default: var(--
|
|
78
|
+
--background-default: var(--surface-background-default);
|
|
79
79
|
--border-radius: var(--border-radius-400);
|
|
80
80
|
--color: var(--color-text-400);
|
|
81
|
-
--padding-horizontal:
|
|
82
|
-
--padding-vertical:
|
|
81
|
+
--padding-horizontal: var(--size-100);
|
|
82
|
+
--padding-vertical: calc(var(--size-100) / 2);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '/tokens';
|
|
2
|
+
@use 'css-utilities/font/geist';
|
|
2
3
|
@use 'variables';
|
|
3
4
|
|
|
4
5
|
.usage-meter {
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
&-breakdown,
|
|
19
20
|
&-cost,
|
|
20
21
|
&-count {
|
|
21
|
-
|
|
22
|
+
@extend %font-geist-mono;
|
|
23
|
+
font-family: var(--font-family);
|
|
22
24
|
font-variant-numeric: tabular-nums;
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--detail-display: inline;
|
|
6
6
|
--fill: var(--fill-normal);
|
|
7
7
|
--fill-critical: color-mix(in oklch, var(--color-red-400) 80%, transparent);
|
|
8
|
-
--fill-normal: var(--color-
|
|
8
|
+
--fill-normal: var(--color-primary-500);
|
|
9
9
|
--fill-warning: color-mix(in oklch, var(--color-yellow-500) 80%, transparent);
|
|
10
10
|
--gap: var(--size-200);
|
|
11
11
|
--label-color: var(--color-text-500);
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
--label-font-weight: var(--font-weight-500);
|
|
14
14
|
--max-width: 380px;
|
|
15
15
|
--meta-color: var(--color-text-300);
|
|
16
|
-
--meta-color-muted: color-mix(in oklch, var(--color-
|
|
16
|
+
--meta-color-muted: color-mix(in oklch, var(--color-primary-300) 70%, transparent);
|
|
17
17
|
--meta-font-size: var(--font-size-100);
|
|
18
18
|
--row-display: flex;
|
|
19
|
-
--track-background:
|
|
19
|
+
--track-background: var(--surface-border-default);
|
|
20
20
|
--track-height: 6px;
|
|
21
21
|
--track-order: 0;
|
|
22
22
|
--track-width: 100%;
|
|
23
23
|
--transition-duration: 500ms;
|
|
24
|
-
--transition-timing-function:
|
|
24
|
+
--transition-timing-function: var(--easing-out);
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
&--critical {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--gap: var(--size-300);
|
|
36
36
|
--max-width: none;
|
|
37
37
|
--row-display: contents;
|
|
38
|
-
--track-background:
|
|
38
|
+
--track-background: var(--surface-border-hover);
|
|
39
39
|
--track-height: 4px;
|
|
40
40
|
--track-order: -1;
|
|
41
41
|
--track-width: 64px;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
%absolute-bottom {
|
|
2
|
+
inset: auto 0 0;
|
|
3
|
+
position: absolute;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
%absolute-center {
|
|
7
|
+
bottom: 50%;
|
|
8
|
+
position: absolute;
|
|
9
|
+
right: 50%;
|
|
10
|
+
translate: 50% 50%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
%absolute-full {
|
|
14
|
+
inset: 0;
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
%absolute-horizontal {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 50%;
|
|
21
|
+
translate: 50%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Centered along one axis and pinned to an edge of the other.
|
|
25
|
+
%absolute-horizontal-bottom {
|
|
26
|
+
@extend %absolute-horizontal;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
%absolute-horizontal-top {
|
|
31
|
+
@extend %absolute-horizontal;
|
|
32
|
+
top: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
%absolute-left {
|
|
36
|
+
inset: 0 auto 0 0;
|
|
37
|
+
position: absolute;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
%absolute-right {
|
|
41
|
+
inset: 0 0 0 auto;
|
|
42
|
+
position: absolute;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
%absolute-top {
|
|
46
|
+
inset: 0 0 auto;
|
|
47
|
+
position: absolute;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
%absolute-vertical {
|
|
51
|
+
bottom: 50%;
|
|
52
|
+
position: absolute;
|
|
53
|
+
translate: 0 50%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
%absolute-vertical-left {
|
|
57
|
+
@extend %absolute-vertical;
|
|
58
|
+
left: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
%absolute-vertical-right {
|
|
62
|
+
@extend %absolute-vertical;
|
|
63
|
+
right: 0;
|
|
64
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use '../tokens/scss' as tokens;
|
|
2
|
+
@use 'surface';
|
|
3
|
+
|
|
4
|
+
// After '%background-state', so a color extended alongside it replaces its transparent default.
|
|
5
|
+
%background {
|
|
6
|
+
@include tokens.state-utility('background', tokens.$colors);
|
|
7
|
+
|
|
8
|
+
&-default {
|
|
9
|
+
--background: var(--background-default);
|
|
10
|
+
--background-active: var(--background-default);
|
|
11
|
+
--background-hover: var(--background-default);
|
|
12
|
+
--background-pressed: var(--background-default);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Raised off the surface it sits on, filling toward the text on hover and press.
|
|
16
|
+
&-surface {
|
|
17
|
+
@extend %surface-raised-level;
|
|
18
|
+
--background-active: var(--surface-background-active);
|
|
19
|
+
--background-default: var(--surface-background-default);
|
|
20
|
+
--background-hover: var(--surface-background-hover);
|
|
21
|
+
--background-pressed: var(--surface-background-pressed);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
%background-state {
|
|
26
|
+
--background: var(--background-default);
|
|
27
|
+
--background-active: var(--background-default);
|
|
28
|
+
--background-default: transparent;
|
|
29
|
+
--background-hover: var(--background-default);
|
|
30
|
+
--background-pressed: var(--background-default);
|
|
31
|
+
|
|
32
|
+
@include tokens.state(active) {
|
|
33
|
+
--background: var(--background-active);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@include tokens.state(hover) {
|
|
37
|
+
--background: var(--background-hover);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include tokens.state(pressed) {
|
|
41
|
+
--background: var(--background-pressed);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '../tokens/scss' as tokens;
|
|
2
|
+
|
|
3
|
+
// After '%border-state', so a color extended alongside it replaces its transparent default.
|
|
4
|
+
%border {
|
|
5
|
+
@include tokens.state-utility('border-color', tokens.$colors);
|
|
6
|
+
|
|
7
|
+
&-default {
|
|
8
|
+
--border-color: var(--border-color-default);
|
|
9
|
+
--border-color-active: var(--border-color-default);
|
|
10
|
+
--border-color-hover: var(--border-color-default);
|
|
11
|
+
--border-color-pressed: var(--border-color-default);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-radius-responsive {
|
|
15
|
+
--border-radius: #{"calc( progress((100vi - 100cqi) / 2, 0px, var(--gap-horizontal)) * var(--border-radius) )"};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// The surface's edge: faint at rest, a step stronger on hover, strong when pressed.
|
|
19
|
+
&-surface {
|
|
20
|
+
--border-color-active: var(--surface-border-active);
|
|
21
|
+
--border-color-default: var(--surface-border-default);
|
|
22
|
+
--border-color-hover: var(--surface-border-hover);
|
|
23
|
+
--border-color-pressed: var(--surface-border-pressed);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
%border-state {
|
|
28
|
+
--border-color: var(--border-color-default);
|
|
29
|
+
--border-color-active: var(--border-color-default);
|
|
30
|
+
--border-color-default: transparent;
|
|
31
|
+
--border-color-hover: var(--border-color-default);
|
|
32
|
+
--border-color-pressed: var(--border-color-default);
|
|
33
|
+
|
|
34
|
+
@include tokens.state(active) {
|
|
35
|
+
--border-color: var(--border-color-active);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include tokens.state(hover) {
|
|
39
|
+
--border-color: var(--border-color-hover);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include tokens.state(pressed) {
|
|
43
|
+
--border-color: var(--border-color-pressed);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '../tokens/scss' as tokens;
|
|
2
|
+
|
|
3
|
+
%box-shadow-outline,
|
|
4
|
+
%box-shadow-state {
|
|
5
|
+
--box-shadow: var(--box-shadow-default);
|
|
6
|
+
--box-shadow-active: var(--box-shadow-default);
|
|
7
|
+
--box-shadow-default: none;
|
|
8
|
+
--box-shadow-hover: var(--box-shadow-default);
|
|
9
|
+
--box-shadow-pressed: var(--box-shadow-default);
|
|
10
|
+
|
|
11
|
+
@include tokens.state(active) {
|
|
12
|
+
--box-shadow: var(--box-shadow-active);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include tokens.state(hover) {
|
|
16
|
+
--box-shadow: var(--box-shadow-hover);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include tokens.state(pressed) {
|
|
20
|
+
--box-shadow: var(--box-shadow-pressed);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// A ring around the box, its color stepping with the state. It shares '--box-shadow*' with %box-shadow-state, so
|
|
25
|
+
// the state values here are colors and the ring replaces whatever shadow the box had.
|
|
26
|
+
%box-shadow-outline {
|
|
27
|
+
box-shadow: 0 0 0 var(--box-shadow-width) var(--box-shadow);
|
|
28
|
+
--box-shadow-width: var(--border-width-700);
|
|
29
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use '../tokens/scss' as tokens;
|
|
2
|
+
|
|
3
|
+
// After '%color-state', so a color extended alongside it replaces its text default.
|
|
4
|
+
%color {
|
|
5
|
+
@include tokens.state-utility('color', tokens.$colors);
|
|
6
|
+
|
|
7
|
+
&-default {
|
|
8
|
+
--color: var(--color-default);
|
|
9
|
+
--color-active: var(--color-default);
|
|
10
|
+
--color-hover: var(--color-default);
|
|
11
|
+
--color-pressed: var(--color-default);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// The surface's own background, for ink set on a text-colored fill.
|
|
15
|
+
&-surface {
|
|
16
|
+
--color-active: var(--surface-background-default);
|
|
17
|
+
--color-default: var(--surface-background-default);
|
|
18
|
+
--color-hover: var(--surface-background-default);
|
|
19
|
+
--color-pressed: var(--surface-background-default);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
%color-state {
|
|
24
|
+
--color: var(--color-default);
|
|
25
|
+
--color-active: var(--color-default);
|
|
26
|
+
--color-default: var(--color-text-400);
|
|
27
|
+
--color-hover: var(--color-default);
|
|
28
|
+
--color-pressed: var(--color-default);
|
|
29
|
+
|
|
30
|
+
@include tokens.state(active) {
|
|
31
|
+
--color: var(--color-active);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include tokens.state(hover) {
|
|
35
|
+
--color: var(--color-hover);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include tokens.state(pressed) {
|
|
39
|
+
--color: var(--color-pressed);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
%flex-center,
|
|
2
|
+
%flex-column,
|
|
3
|
+
%flex-end,
|
|
4
|
+
%flex-horizontal,
|
|
5
|
+
%flex-row,
|
|
6
|
+
%flex-start,
|
|
7
|
+
%flex-vertical {
|
|
8
|
+
--gap-horizontal: 0px;
|
|
9
|
+
--gap-vertical: 0px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
%flex-center,
|
|
13
|
+
%flex-end,
|
|
14
|
+
%flex-horizontal,
|
|
15
|
+
%flex-start,
|
|
16
|
+
%flex-vertical {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-flow: row wrap;
|
|
19
|
+
gap: var(--gap-vertical) var(--gap-horizontal);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
%flex-center,
|
|
23
|
+
%flex-horizontal {
|
|
24
|
+
justify-content: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
%flex-center,
|
|
28
|
+
%flex-vertical {
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
%flex-column {
|
|
33
|
+
flex-flow: column;
|
|
34
|
+
gap: var(--gap-vertical) 0px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
%flex-column,
|
|
38
|
+
%flex-fill,
|
|
39
|
+
%flex-fixed,
|
|
40
|
+
%flex-row {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
%flex-end {
|
|
45
|
+
justify-content: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
%flex-fill {
|
|
49
|
+
flex: 1;
|
|
50
|
+
min-width: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
%flex-fixed {
|
|
54
|
+
flex: 0 0 var(--width);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
%flex-row {
|
|
58
|
+
flex-flow: row;
|
|
59
|
+
gap: 0px var(--gap-horizontal);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
%flex-start {
|
|
63
|
+
justify-content: flex-start;
|
|
64
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '/shared
|
|
1
|
+
@use '../../../shared/scss/css-variables' as shared;
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
src: url('./Geist-Italic-Variable.woff2') format('woff2');
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
// Geist Mono, for components that set code and figures in it whatever family the page uses: extending
|
|
21
|
+
// '%font-geist-mono' loads the face with the component and points the element's '--font-family' at it.
|
|
20
22
|
@font-face {
|
|
21
23
|
font-display: swap;
|
|
22
24
|
font-family: 'Geist Mono';
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
%font-geist {
|
|
38
40
|
--font-family: 'Geist', sans-serif;
|
|
39
41
|
|
|
40
42
|
&,
|
|
@@ -50,6 +52,12 @@
|
|
|
50
52
|
&-mono {
|
|
51
53
|
--font-family: 'Geist Mono', monospace;
|
|
52
54
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
55
|
|
|
56
|
+
// The family with width-stable weights, so it is the one placeholder to extend: Geist widens about 0.0115em a
|
|
57
|
+
// character for every 100 of weight, and the root tightens tracking by as much, so a label changing weight keeps
|
|
58
|
+
// its width. Geist Mono keeps one advance at every weight, so it needs none.
|
|
59
|
+
&-uniwidth {
|
|
60
|
+
@extend %font-geist;
|
|
61
|
+
--font-weight-tracking: 0.000115em;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2024 The Montserrat.Git Project Authors (https://github.com/JulietaUla/Montserrat.git)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use '../../../shared/scss/css-variables' as shared;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@font-face {
|
|
5
|
+
font-display: swap;
|
|
6
|
+
font-family: 'Montserrat';
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 100 900;
|
|
9
|
+
src: url('./Montserrat-Variable.woff2') format('woff2');
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-display: swap;
|
|
14
|
+
font-family: 'Montserrat';
|
|
15
|
+
font-style: italic;
|
|
16
|
+
font-weight: 100 900;
|
|
17
|
+
src: url('./Montserrat-Italic-Variable.woff2') format('woff2');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
%font-montserrat {
|
|
22
|
+
--font-family: 'Montserrat', sans-serif;
|
|
23
|
+
|
|
24
|
+
@include shared.css-variables(font-weight, (
|
|
25
|
+
300: 400,
|
|
26
|
+
400: 500,
|
|
27
|
+
500: 600,
|
|
28
|
+
600: 700
|
|
29
|
+
));
|
|
30
|
+
|
|
31
|
+
// The family with width-stable weights, so it is the one placeholder to extend: Montserrat widens about 0.008em a
|
|
32
|
+
// character for every 100 of weight, and the root tightens tracking by as much, so a label changing weight keeps
|
|
33
|
+
// its width.
|
|
34
|
+
&-uniwidth {
|
|
35
|
+
@extend %font-montserrat;
|
|
36
|
+
--font-weight-tracking: 0.00008em;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// One of several icons sharing a spot: blurred and shrunk away until '%icon-swap-active' brings it in, over the
|
|
17
17
|
// block's '--icon-swap-duration' and '--icon-swap-timing-function'. Reduced motion swaps instantly.
|
|
18
18
|
%icon-swap {
|
|
19
|
-
filter: blur(
|
|
19
|
+
filter: blur(var(--blur-400));
|
|
20
20
|
opacity: 0;
|
|
21
21
|
scale: 0.25;
|
|
22
22
|
transition:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// A loading placeholder: a shimmer sweeping between '--from' and '--to', its content hidden until it loads.
|
|
2
|
+
%skeleton {
|
|
3
|
+
--animation-duration: 4.8s;
|
|
4
4
|
animation: var(--animation-duration) linear infinite skeleton;
|
|
5
5
|
background-image: linear-gradient(270deg, var(--from), var(--to), var(--to), var(--from));
|
|
6
6
|
background-size: 400% 100%;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* {
|
|
11
11
|
opacity: 0;
|
|
12
12
|
}
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
15
|
+
@keyframes skeleton {
|
|
16
|
+
0% {
|
|
17
|
+
background-position: 200% 0;
|
|
18
|
+
}
|
|
19
|
+
100% {
|
|
20
|
+
background-position: -200% 0;
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|