@mrpelz/uikit-ish 7.13.1 → 7.29.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/dist/components/accordion/style.css +0 -3
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +9 -6
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +2 -1
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/activity-view/style.css +17 -17
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +12 -4
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +2 -1
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +39 -15
- package/dist/components/avatar/style.css +2 -2
- package/dist/components/badge/style.css +1 -1
- package/dist/components/button/main.js +1 -1
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +3 -2
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +18 -29
- package/dist/components/card/buttons.d.ts +35 -0
- package/dist/components/card/buttons.d.ts.map +1 -0
- package/dist/components/card/buttons.js +60 -0
- package/dist/components/card/buttons.js.map +1 -0
- package/dist/components/card/channels.d.ts +43 -0
- package/dist/components/card/channels.d.ts.map +1 -0
- package/dist/components/card/channels.js +321 -0
- package/dist/components/card/channels.js.map +1 -0
- package/dist/components/card/color.d.ts +21 -0
- package/dist/components/card/color.d.ts.map +1 -0
- package/dist/components/card/color.js +100 -0
- package/dist/components/card/color.js.map +1 -0
- package/dist/components/card/main.d.ts +81 -0
- package/dist/components/card/main.d.ts.map +1 -0
- package/dist/components/card/main.js +91 -0
- package/dist/components/card/main.js.map +1 -0
- package/dist/components/card/parts.css +769 -0
- package/dist/components/card/press.d.ts +25 -0
- package/dist/components/card/press.d.ts.map +1 -0
- package/dist/components/card/press.js +111 -0
- package/dist/components/card/press.js.map +1 -0
- package/dist/components/card/progress.d.ts +43 -0
- package/dist/components/card/progress.d.ts.map +1 -0
- package/dist/components/card/progress.js +122 -0
- package/dist/components/card/progress.js.map +1 -0
- package/dist/components/card/props.d.ts +393 -0
- package/dist/components/card/props.d.ts.map +1 -0
- package/dist/components/card/props.js +2 -0
- package/dist/components/card/props.js.map +1 -0
- package/dist/components/card/root.d.ts +100 -0
- package/dist/components/card/root.d.ts.map +1 -0
- package/dist/components/card/root.js +388 -0
- package/dist/components/card/root.js.map +1 -0
- package/dist/components/card/rows.d.ts +19 -0
- package/dist/components/card/rows.d.ts.map +1 -0
- package/dist/components/card/rows.js +185 -0
- package/dist/components/card/rows.js.map +1 -0
- package/dist/components/card/segmented.d.ts +61 -0
- package/dist/components/card/segmented.d.ts.map +1 -0
- package/dist/components/card/segmented.js +289 -0
- package/dist/components/card/segmented.js.map +1 -0
- package/dist/components/card/shared.d.ts +55 -0
- package/dist/components/card/shared.d.ts.map +1 -0
- package/dist/components/card/shared.js +80 -0
- package/dist/components/card/shared.js.map +1 -0
- package/dist/components/card/slider.d.ts +16 -0
- package/dist/components/card/slider.d.ts.map +1 -0
- package/dist/components/card/slider.js +48 -0
- package/dist/components/card/slider.js.map +1 -0
- package/dist/components/card/stages.d.ts +18 -0
- package/dist/components/card/stages.d.ts.map +1 -0
- package/dist/components/card/stages.js +37 -0
- package/dist/components/card/stages.js.map +1 -0
- package/dist/components/card/style.css +959 -0
- package/dist/components/checkbox/style.css +10 -5
- package/dist/components/collapsible/style.css +0 -3
- package/dist/components/color-picker/color.d.ts +2 -2
- package/dist/components/color-picker/color.d.ts.map +1 -1
- package/dist/components/color-picker/color.js +7 -7
- package/dist/components/color-picker/color.js.map +1 -1
- package/dist/components/color-picker/main.d.ts +11 -5
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +147 -89
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +216 -6
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +12 -31
- package/dist/components/contextual-menu/main.d.ts +6 -2
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +67 -43
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +2 -1
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +64 -2
- package/dist/components/control-cards/main.d.ts +38 -0
- package/dist/components/control-cards/main.d.ts.map +1 -0
- package/dist/components/control-cards/main.js +196 -0
- package/dist/components/control-cards/main.js.map +1 -0
- package/dist/components/control-cards/props.d.ts +238 -0
- package/dist/components/control-cards/props.d.ts.map +1 -0
- package/dist/components/control-cards/props.js +2 -0
- package/dist/components/control-cards/props.js.map +1 -0
- package/dist/components/control-cards/style.css +2 -0
- package/dist/components/date-picker/main.d.ts +8 -3
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +73 -30
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/pager.d.ts.map +1 -1
- package/dist/components/date-picker/pager.js +9 -2
- package/dist/components/date-picker/pager.js.map +1 -1
- package/dist/components/date-picker/props.d.ts +81 -5
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +25 -17
- package/dist/components/drawer/style.css +6 -0
- package/dist/components/edit-menu/main.d.ts +2 -1
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +8 -4
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/style.css +2 -2
- package/dist/components/glass/backdrop.d.ts +75 -0
- package/dist/components/glass/backdrop.d.ts.map +1 -0
- package/dist/components/glass/backdrop.js +608 -0
- package/dist/components/glass/backdrop.js.map +1 -0
- package/dist/components/glass/gradient.d.ts +17 -0
- package/dist/components/glass/gradient.d.ts.map +1 -0
- package/dist/components/glass/gradient.js +233 -0
- package/dist/components/glass/gradient.js.map +1 -0
- package/dist/components/glass/main.d.ts +60 -6
- package/dist/components/glass/main.d.ts.map +1 -1
- package/dist/components/glass/main.js +100 -122
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/marker.d.ts +66 -0
- package/dist/components/glass/marker.d.ts.map +1 -0
- package/dist/components/glass/marker.js +268 -0
- package/dist/components/glass/marker.js.map +1 -0
- package/dist/components/glass/props.d.ts +33 -7
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +172 -75
- package/dist/components/grid/dashes.d.ts +15 -0
- package/dist/components/grid/dashes.d.ts.map +1 -0
- package/dist/components/grid/dashes.js +37 -0
- package/dist/components/grid/dashes.js.map +1 -0
- package/dist/components/grid/edit.d.ts +11 -0
- package/dist/components/grid/edit.d.ts.map +1 -0
- package/dist/components/grid/edit.js +1066 -0
- package/dist/components/grid/edit.js.map +1 -0
- package/dist/components/grid/handle.d.ts +123 -0
- package/dist/components/grid/handle.d.ts.map +1 -0
- package/dist/components/grid/handle.js +194 -0
- package/dist/components/grid/handle.js.map +1 -0
- package/dist/components/grid/icons.d.ts +40 -0
- package/dist/components/grid/icons.d.ts.map +1 -0
- package/dist/components/grid/icons.js +140 -0
- package/dist/components/grid/icons.js.map +1 -0
- package/dist/components/grid/layout.d.ts +111 -0
- package/dist/components/grid/layout.d.ts.map +1 -0
- package/dist/components/grid/layout.js +1257 -0
- package/dist/components/grid/layout.js.map +1 -0
- package/dist/components/grid/main.d.ts +63 -0
- package/dist/components/grid/main.d.ts.map +1 -0
- package/dist/components/grid/main.js +1977 -0
- package/dist/components/grid/main.js.map +1 -0
- package/dist/components/grid/overlay.d.ts +24 -0
- package/dist/components/grid/overlay.d.ts.map +1 -0
- package/dist/components/grid/overlay.js +312 -0
- package/dist/components/grid/overlay.js.map +1 -0
- package/dist/components/grid/plan.d.ts +78 -0
- package/dist/components/grid/plan.d.ts.map +1 -0
- package/dist/components/grid/plan.js +249 -0
- package/dist/components/grid/plan.js.map +1 -0
- package/dist/components/grid/props.d.ts +579 -0
- package/dist/components/grid/props.d.ts.map +1 -0
- package/dist/components/grid/props.js +2 -0
- package/dist/components/grid/props.js.map +1 -0
- package/dist/components/grid/reshape.d.ts +60 -0
- package/dist/components/grid/reshape.d.ts.map +1 -0
- package/dist/components/grid/reshape.js +214 -0
- package/dist/components/grid/reshape.js.map +1 -0
- package/dist/components/grid/style.css +1323 -0
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +97 -10
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/props.d.ts +2 -2
- package/dist/components/header/props.d.ts.map +1 -1
- package/dist/components/header/style.css +40 -49
- package/dist/components/index.d.ts +16 -10
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +11 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/island/main.d.ts +2 -2
- package/dist/components/island/main.d.ts.map +1 -1
- package/dist/components/island/main.js +193 -41
- package/dist/components/island/main.js.map +1 -1
- package/dist/components/island/props.d.ts +4 -2
- package/dist/components/island/props.d.ts.map +1 -1
- package/dist/components/island/style.css +50 -3
- package/dist/components/layout/main.d.ts +3 -6
- package/dist/components/layout/main.d.ts.map +1 -1
- package/dist/components/layout/main.js +225 -56
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/props.d.ts +43 -2
- package/dist/components/layout/props.d.ts.map +1 -1
- package/dist/components/layout/style.css +81 -23
- package/dist/components/list/main.d.ts +8 -6
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +132 -24
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +25 -0
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +50 -2
- package/dist/components/list/reorder.d.ts.map +1 -1
- package/dist/components/list/reorder.js +40 -17
- package/dist/components/list/reorder.js.map +1 -1
- package/dist/components/list/style.css +160 -75
- package/dist/components/menu/main.d.ts +9 -5
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +87 -9
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +14 -0
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +41 -31
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +35 -13
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/style.css +7 -0
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +6 -3
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +3 -2
- package/dist/components/page/props.d.ts.map +1 -1
- package/dist/components/page/style.css +8 -4
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +32 -15
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/props.d.ts +9 -3
- package/dist/components/page-control/props.d.ts.map +1 -1
- package/dist/components/page-control/style.css +36 -0
- package/dist/components/pager/main.d.ts +12 -0
- package/dist/components/pager/main.d.ts.map +1 -0
- package/dist/components/pager/main.js +368 -0
- package/dist/components/pager/main.js.map +1 -0
- package/dist/components/pager/props.d.ts +36 -0
- package/dist/components/pager/props.d.ts.map +1 -0
- package/dist/components/pager/props.js +2 -0
- package/dist/components/pager/props.js.map +1 -0
- package/dist/components/pager/style.css +42 -0
- package/dist/components/popover/main.d.ts +10 -4
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +30 -19
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +2 -0
- package/dist/components/popover/props.d.ts.map +1 -1
- package/dist/components/popover/style.css +6 -2
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +3 -2
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/style.css +4 -10
- package/dist/components/roll/main.d.ts.map +1 -1
- package/dist/components/roll/main.js +5 -3
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/style.css +2 -2
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +4 -4
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/props.d.ts +5 -2
- package/dist/components/segmented/props.d.ts.map +1 -1
- package/dist/components/segmented/style.css +17 -8
- package/dist/components/settings/main.d.ts +48 -1
- package/dist/components/settings/main.d.ts.map +1 -1
- package/dist/components/settings/main.js +311 -66
- package/dist/components/settings/main.js.map +1 -1
- package/dist/components/settings/props.d.ts +46 -4
- package/dist/components/settings/props.d.ts.map +1 -1
- package/dist/components/settings/region.d.ts +3 -0
- package/dist/components/settings/region.d.ts.map +1 -0
- package/dist/components/settings/region.js +120 -0
- package/dist/components/settings/region.js.map +1 -0
- package/dist/components/settings/style.css +2 -2
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +156 -45
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +4 -2
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/snap.d.ts +54 -0
- package/dist/components/sheet/snap.d.ts.map +1 -1
- package/dist/components/sheet/snap.js +261 -23
- package/dist/components/sheet/snap.js.map +1 -1
- package/dist/components/sheet/style.css +171 -20
- package/dist/components/sidebar/main.d.ts +2 -1
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +18 -6
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/props.d.ts +2 -1
- package/dist/components/sidebar/props.d.ts.map +1 -1
- package/dist/components/sidebar/style.css +78 -0
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +55 -10
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -0
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +15 -6
- package/dist/components/stack/main.d.ts +8 -0
- package/dist/components/stack/main.d.ts.map +1 -0
- package/dist/components/stack/main.js +25 -0
- package/dist/components/stack/main.js.map +1 -0
- package/dist/components/stack/props.d.ts +42 -0
- package/dist/components/stack/props.d.ts.map +1 -0
- package/dist/components/stack/props.js +2 -0
- package/dist/components/stack/props.js.map +1 -0
- package/dist/components/stack/style.css +68 -0
- package/dist/components/stepper/main.d.ts +3 -1
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +4 -0
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +2 -2
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +9 -3
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +4 -1
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +5 -1
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +10 -0
- package/dist/components/symbol/props.d.ts.map +1 -1
- package/dist/components/symbol/style.css +21 -3
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +8 -5
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +16 -12
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +38 -21
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +6 -3
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/style.css +28 -17
- package/dist/components/toolbar/main.d.ts +5 -2
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +19 -1
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +18 -3
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +127 -11
- package/dist/components/tooltip/main.d.ts +6 -1
- package/dist/components/tooltip/main.d.ts.map +1 -1
- package/dist/components/tooltip/main.js +13 -7
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/style.css +2 -2
- package/dist/components/typography/main.d.ts +1 -0
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +1 -0
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/sizes.css +456 -0
- package/dist/components/typography/style.css +24 -456
- package/dist/components/utils/main.d.ts +50 -4
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +113 -3
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/viewport/current.d.ts +15 -0
- package/dist/components/viewport/current.d.ts.map +1 -0
- package/dist/components/viewport/current.js +74 -0
- package/dist/components/viewport/current.js.map +1 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -1
- package/dist/components/viewport/edge-effect.js +58 -26
- package/dist/components/viewport/edge-effect.js.map +1 -1
- package/dist/components/viewport/edge.d.ts +7 -4
- package/dist/components/viewport/edge.d.ts.map +1 -1
- package/dist/components/viewport/edge.js +21 -7
- package/dist/components/viewport/edge.js.map +1 -1
- package/dist/components/viewport/focus-scroll.d.ts +21 -0
- package/dist/components/viewport/focus-scroll.d.ts.map +1 -0
- package/dist/components/viewport/focus-scroll.js +273 -0
- package/dist/components/viewport/focus-scroll.js.map +1 -0
- package/dist/components/viewport/input.d.ts +39 -1
- package/dist/components/viewport/input.d.ts.map +1 -1
- package/dist/components/viewport/input.js +122 -13
- package/dist/components/viewport/input.js.map +1 -1
- package/dist/components/viewport/main.d.ts +16 -1
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +276 -50
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +1 -1
- package/dist/components/viewport/padding.d.ts.map +1 -1
- package/dist/components/viewport/padding.js +2 -2
- package/dist/components/viewport/props.d.ts +12 -2
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/status-bar.d.ts +9 -0
- package/dist/components/viewport/status-bar.d.ts.map +1 -0
- package/dist/components/viewport/status-bar.js +131 -0
- package/dist/components/viewport/status-bar.js.map +1 -0
- package/dist/components/viewport/style.css +67 -16
- package/dist/styles.css +371 -279
- package/package.json +5 -4
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
color: var(--color-ui-secondary-label);
|
|
48
48
|
font-size: var(--font-ui-subheadline-size);
|
|
49
49
|
font-style: normal;
|
|
50
|
-
font-variation-settings: 'wght' var(--font-ui-subheadline-weight);
|
|
51
|
-
font-weight: round(down, var(--font-ui-subheadline-weight), 100);
|
|
50
|
+
font-variation-settings: 'wght' calc(var(--font-ui-subheadline-weight) + var(--uikit-font-weight-boost, 0));
|
|
51
|
+
font-weight: round(down, calc(var(--font-ui-subheadline-weight) + var(--uikit-font-weight-boost, 0)), 100);
|
|
52
52
|
letter-spacing: var(--font-ui-subheadline-tracking);
|
|
53
53
|
line-height: var(--font-ui-subheadline-line-height);
|
|
54
54
|
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
color: var(--color-ui-label);
|
|
71
71
|
font-family: inherit;
|
|
72
72
|
font-size: var(--font-ui-body-size);
|
|
73
|
-
font-variation-settings: 'wght' 510;
|
|
74
|
-
font-weight: round(down, 510, 100);
|
|
73
|
+
font-variation-settings: 'wght' calc(510 + var(--uikit-font-weight-boost, 0));
|
|
74
|
+
font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
75
75
|
letter-spacing: var(--font-ui-body-tracking);
|
|
76
|
-
line-height:
|
|
76
|
+
line-height: calc(var(--font-ui-body-line-height) - 2px);
|
|
77
77
|
outline: none;
|
|
78
78
|
|
|
79
79
|
&::placeholder {
|
|
@@ -134,21 +134,38 @@
|
|
|
134
134
|
color: var(--color-ui-secondary-label);
|
|
135
135
|
font-size: var(--font-ui-caption1-size);
|
|
136
136
|
font-style: normal;
|
|
137
|
-
font-variation-settings: 'wght' var(--font-ui-caption1-weight);
|
|
138
|
-
font-weight: round(down, var(--font-ui-caption1-weight), 100);
|
|
137
|
+
font-variation-settings: 'wght' calc(var(--font-ui-caption1-weight) + var(--uikit-font-weight-boost, 0));
|
|
138
|
+
font-weight: round(down, calc(var(--font-ui-caption1-weight) + var(--uikit-font-weight-boost, 0)), 100);
|
|
139
139
|
letter-spacing: var(--font-ui-caption1-tracking);
|
|
140
140
|
line-height: var(--font-ui-caption1-line-height);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.uikit-text-field-error {
|
|
144
|
+
--uikit-text-field-error-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5A8.5 8.5 0 0 1 10 18.5A8.5 8.5 0 0 1 10 1.5ZM10 3A7 7 0 0 0 10 17A7 7 0 0 0 10 3ZM9.25 5.75A0.75 0.75 0 0 1 10.75 5.75L10.75 11.25A0.75 0.75 0 0 1 9.25 11.25ZM10 12.75A1.1 1.1 0 0 1 10 14.95A1.1 1.1 0 0 1 10 12.75Z'/%3E%3C/svg%3E");
|
|
145
|
+
|
|
144
146
|
margin: 0;
|
|
145
147
|
color: var(--color-ui-system-red);
|
|
146
148
|
font-size: var(--font-ui-caption1-size);
|
|
147
149
|
font-style: normal;
|
|
148
|
-
font-variation-settings: 'wght' var(--font-ui-caption1-weight);
|
|
149
|
-
font-weight: round(down, var(--font-ui-caption1-weight), 100);
|
|
150
|
+
font-variation-settings: 'wght' calc(var(--font-ui-caption1-weight) + var(--uikit-font-weight-boost, 0));
|
|
151
|
+
font-weight: round(down, calc(var(--font-ui-caption1-weight) + var(--uikit-font-weight-boost, 0)), 100);
|
|
150
152
|
letter-spacing: var(--font-ui-caption1-tracking);
|
|
151
153
|
line-height: var(--font-ui-caption1-line-height);
|
|
154
|
+
|
|
155
|
+
/* State told without color alone (see Settings; its attribute, see
|
|
156
|
+
styles.css): an exclamation mark in a circle before it, in its
|
|
157
|
+
color, at its text's size. */
|
|
158
|
+
:where([data-uikit-differentiate-without-color='true'])
|
|
159
|
+
&:not(:where([data-uikit-differentiate-without-color='false']) *)::before {
|
|
160
|
+
display: inline-block;
|
|
161
|
+
width: 1.1em;
|
|
162
|
+
height: 1.1em;
|
|
163
|
+
background-color: currentcolor;
|
|
164
|
+
content: '';
|
|
165
|
+
margin-inline-end: 0.3em;
|
|
166
|
+
mask: var(--uikit-text-field-error-symbol) center / contain no-repeat;
|
|
167
|
+
vertical-align: -0.2em;
|
|
168
|
+
}
|
|
152
169
|
}
|
|
153
170
|
|
|
154
171
|
.uikit-text-field-clear {
|
|
@@ -214,17 +231,11 @@
|
|
|
214
231
|
transition: opacity var(--glass-ui-lens-duration, 300ms) ease-out;
|
|
215
232
|
}
|
|
216
233
|
|
|
217
|
-
@media (prefers-reduced-motion: reduce) {
|
|
218
|
-
&,
|
|
219
|
-
& > .uikit-text-field-frame-glass {
|
|
220
|
-
transition: none;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
234
|
|
|
224
235
|
& > input {
|
|
225
236
|
flex: 1 1 auto;
|
|
226
|
-
font-variation-settings: 'wght' 400;
|
|
227
|
-
font-weight: round(down, 400, 100);
|
|
237
|
+
font-variation-settings: 'wght' calc(400 + var(--uikit-font-weight-boost, 0));
|
|
238
|
+
font-weight: round(down, calc(400 + var(--uikit-font-weight-boost, 0)), 100);
|
|
228
239
|
}
|
|
229
240
|
|
|
230
241
|
/* As a list row (inset grouped, see List): its background, height,
|
|
@@ -3,8 +3,8 @@ import '../glass/style.css';
|
|
|
3
3
|
import '../typography/style.css';
|
|
4
4
|
import './style.css';
|
|
5
5
|
import { useRender } from '@base-ui/react/use-render';
|
|
6
|
-
import type { ToolbarButtonProps, ToolbarGroupProps, ToolbarRootProps, ToolbarSideProps, ToolbarTitleProps } from './props.js';
|
|
7
|
-
export type { ToolbarButtonProps, ToolbarGroupProps, ToolbarRootProps, ToolbarSideProps, ToolbarTitleProps, } from './props.js';
|
|
6
|
+
import type { ToolbarButtonProps, ToolbarGroupProps, ToolbarRootProps, ToolbarSideProps, ToolbarStackProps, ToolbarTitleProps } from './props.js';
|
|
7
|
+
export type { ToolbarButtonProps, ToolbarGroupProps, ToolbarRootProps, ToolbarSideProps, ToolbarStackProps, ToolbarTitleProps, } from './props.js';
|
|
8
8
|
export declare const Toolbar: {
|
|
9
9
|
Root: import("preact").FunctionalComponent<import("react").PropsWithoutRef<ToolbarRootProps> & {
|
|
10
10
|
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
@@ -18,6 +18,9 @@ export declare const Toolbar: {
|
|
|
18
18
|
Spacer: import("preact").FunctionalComponent<import("react").PropsWithoutRef<import("preact").HTMLAttributes<HTMLDivElement>> & {
|
|
19
19
|
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
20
20
|
}>;
|
|
21
|
+
Stack: import("preact").FunctionalComponent<import("react").PropsWithoutRef<ToolbarStackProps> & {
|
|
22
|
+
ref?: import("preact").Ref<HTMLElement> | undefined;
|
|
23
|
+
}>;
|
|
21
24
|
Group: import("preact").FunctionalComponent<import("react").PropsWithoutRef<ToolbarGroupProps> & {
|
|
22
25
|
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
23
26
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/main.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAUtD,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/main.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAUtD,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,YAAY,CAAC;AA0RpB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWnB,CAAC"}
|
|
@@ -37,7 +37,7 @@ import { cn, useForwardedRef, withStyle } from '../utils/main.js';
|
|
|
37
37
|
// bar's groups do (scaled up by 1.05), the pressed button showing the
|
|
38
38
|
// selection.
|
|
39
39
|
// - The bottom bar's padding is 4px 16px 2px, without the home indicator's
|
|
40
|
-
// 34px in it: the safe area is its anchor's (a
|
|
40
|
+
// 34px in it: the safe area inset is its anchor's (a
|
|
41
41
|
// `Viewport.BlockEnd`, a sheet's), so it sits right above it.
|
|
42
42
|
// - With a subtitle, the title stays in 17px (not smaller than the rows'
|
|
43
43
|
// text).
|
|
@@ -71,6 +71,23 @@ const Trailing = forwardRef(({ className, render, ...props }, ref) => useRender(
|
|
|
71
71
|
}));
|
|
72
72
|
/** Free space between parts (e.g. a capsule at each end, without sides). */
|
|
73
73
|
const Spacer = forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('uikit-toolbar-spacer', className), "data-toolbar-part": "spacer", ...props })));
|
|
74
|
+
/**
|
|
75
|
+
* Capsules across the bar (a column in a row, a row in a column), hanging
|
|
76
|
+
* out of it: its first capsule in the bar's line, the others beyond it,
|
|
77
|
+
* on its open side (down from a top bar, up from a bottom bar; at a side,
|
|
78
|
+
* into the screen), the bar's height (width) unchanged.
|
|
79
|
+
*/
|
|
80
|
+
const Stack = forwardRef(({ className, orientation, render, ...props }, ref) => useRender({
|
|
81
|
+
defaultTagName: 'div',
|
|
82
|
+
props: {
|
|
83
|
+
'data-orientation': orientation,
|
|
84
|
+
'data-toolbar-part': 'stack',
|
|
85
|
+
className: cn('uikit-toolbar-stack', className),
|
|
86
|
+
...props,
|
|
87
|
+
},
|
|
88
|
+
ref,
|
|
89
|
+
render,
|
|
90
|
+
}));
|
|
74
91
|
// Whether a button is in a capsule of several (see `ToolbarButton`).
|
|
75
92
|
const GroupContext = createContext(false);
|
|
76
93
|
/**
|
|
@@ -134,6 +151,7 @@ export const Toolbar = {
|
|
|
134
151
|
Leading,
|
|
135
152
|
Trailing,
|
|
136
153
|
Spacer,
|
|
154
|
+
Stack,
|
|
137
155
|
Group,
|
|
138
156
|
Button: ToolbarButton,
|
|
139
157
|
Title,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/toolbar/main.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAkB,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAmB,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/toolbar/main.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B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,SAAS,CAAC;QAClD,GAAG,KAAK;KACT;IACD,GAAG;IACH,MAAM;CACP,CAAC,CACL,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,GAAG,WAAW;IACd,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,KAAK;IACL,KAAK;IACL,MAAM,EAAE,aAAa;IACrB,KAAK;IACL,QAAQ;CACT,CAAC"}
|
|
@@ -5,18 +5,33 @@ import type { GlassContextValue } from '../glass/main.js';
|
|
|
5
5
|
export type Placement = 'block-end' | 'block-start';
|
|
6
6
|
export type ToolbarRootProps = Omit<BaseToolbar.Root.Props, 'ref'> & {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* behind the bar).
|
|
10
|
-
* @default
|
|
8
|
+
* How bright the content behind the glass is (`adaptive`: by what's
|
|
9
|
+
* behind the bar, see `useBackdropTone`).
|
|
10
|
+
* @default the color scheme's
|
|
11
11
|
*/
|
|
12
12
|
context?: GlassContextValue;
|
|
13
|
+
/**
|
|
14
|
+
* Its direction (Base UI's, also for its arrow keys): a row, or a column
|
|
15
|
+
* (e.g. in a `Viewport.Anchor` at a side), its capsules a bottom bar's;
|
|
16
|
+
* not for a title.
|
|
17
|
+
* @default 'horizontal'
|
|
18
|
+
*/
|
|
19
|
+
orientation?: 'horizontal' | 'vertical';
|
|
13
20
|
/**
|
|
14
21
|
* Where the bar is: at the bottom, or at the top (a navigation bar).
|
|
22
|
+
* Vertical, at the bottom's size.
|
|
15
23
|
* @default 'block-end'
|
|
16
24
|
*/
|
|
17
25
|
placement?: Placement;
|
|
18
26
|
};
|
|
19
27
|
export type ToolbarSideProps = useRender.ComponentProps<'div'>;
|
|
28
|
+
export type ToolbarStackProps = useRender.ComponentProps<'div'> & {
|
|
29
|
+
/**
|
|
30
|
+
* Its capsules' direction.
|
|
31
|
+
* @default across its bar's: a column in a row, a row in a column
|
|
32
|
+
*/
|
|
33
|
+
orientation?: 'horizontal' | 'vertical';
|
|
34
|
+
};
|
|
20
35
|
export type ToolbarGroupProps = Omit<BaseToolbar.Group.Props, 'ref'> & {
|
|
21
36
|
/**
|
|
22
37
|
* The space between its buttons (a length; a number: px), not at its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/props.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/props.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;;;;O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. */
|
|
27
|
+
.uikit-toolbar-leading,
|
|
28
|
+
.uikit-toolbar-trailing {
|
|
29
|
+
.uikit-toolbar-root[data-orientation='vertical'] > & {
|
|
30
|
+
min-width: 0;
|
|
31
|
+
min-height: max-content;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
25
36
|
.uikit-toolbar-subtitle {
|
|
26
37
|
color: var(--color-ui-secondary-label);
|
|
27
38
|
font-size: 12px;
|
|
28
|
-
font-variation-settings: 'wght' 510;
|
|
29
|
-
font-weight: round(down, 510, 100);
|
|
39
|
+
font-variation-settings: 'wght' calc(510 + var(--uikit-font-weight-boost, 0));
|
|
40
|
+
font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
30
41
|
letter-spacing: 0;
|
|
31
42
|
line-height: 14px;
|
|
32
43
|
}
|
|
@@ -50,9 +61,16 @@
|
|
|
50
61
|
--uikit-toolbar-gap: 12px;
|
|
51
62
|
--uikit-toolbar-text-padding: 6px;
|
|
52
63
|
|
|
53
|
-
/* (The safe area kept clear by its anchor, see Viewport; 2px of its
|
|
64
|
+
/* (The safe area inset kept clear by its anchor, see Viewport; 2px of its
|
|
54
65
|
own.) */
|
|
55
66
|
padding: 4px 16px 2px;
|
|
67
|
+
|
|
68
|
+
/* At the screen's bottom (in its anchor) without a safe area inset
|
|
69
|
+
(e.g. in a desktop browser): 8px from the edge, as an island's, not
|
|
70
|
+
flush with it. */
|
|
71
|
+
:where(.uikit-viewport-anchor[data-edge='block-end']) > & {
|
|
72
|
+
padding-bottom: max(2px, 8px - var(--uikit-viewport-safe-bottom, 0px));
|
|
73
|
+
}
|
|
56
74
|
}
|
|
57
75
|
|
|
58
76
|
&[data-placement='block-start'] {
|
|
@@ -63,6 +81,37 @@
|
|
|
63
81
|
|
|
64
82
|
min-height: 54px;
|
|
65
83
|
padding: 0 16px 10px;
|
|
84
|
+
|
|
85
|
+
/* At the screen's top (in its anchor) without a safe area inset
|
|
86
|
+
(e.g. in a desktop browser): 8px from the edge, as at the bottom,
|
|
87
|
+
not flush with it. */
|
|
88
|
+
:where(.uikit-viewport-anchor[data-edge='block-start']) > & {
|
|
89
|
+
padding-top: max(0px, 8px - var(--uikit-viewport-safe-top, 0px));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Vertical (`orientation`, e.g. in a `Viewport.Anchor` at a side): a
|
|
94
|
+
column as high as its container (its anchor), its capsules a bottom
|
|
95
|
+
bar's (48px wide); 16px from its sides (as a bottom bar from the
|
|
96
|
+
screen's), 4px from its top, 2px from its bottom (the safe area
|
|
97
|
+
insets kept clear by its anchor; at the screen's top or bottom
|
|
98
|
+
without one, 8px from it, as the bars there). No title: a title is a
|
|
99
|
+
line of text. */
|
|
100
|
+
&[data-orientation='vertical'] {
|
|
101
|
+
--uikit-toolbar-group-height: 48px;
|
|
102
|
+
--uikit-toolbar-group-padding: 6px;
|
|
103
|
+
--uikit-toolbar-gap: 12px;
|
|
104
|
+
--uikit-toolbar-text-padding: 6px;
|
|
105
|
+
|
|
106
|
+
min-height: 0;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
padding: 4px 16px 2px;
|
|
109
|
+
block-size: 100%;
|
|
110
|
+
|
|
111
|
+
:where(.uikit-viewport-anchor:is([data-edge='inline-start'], [data-edge='inline-end'])) > & {
|
|
112
|
+
padding-top: max(4px, 8px - var(--uikit-viewport-safe-top, 0px));
|
|
113
|
+
padding-bottom: max(2px, 8px - var(--uikit-viewport-safe-bottom, 0px));
|
|
114
|
+
}
|
|
66
115
|
}
|
|
67
116
|
|
|
68
117
|
/* A centered title stays centered without a side: an empty one stands
|
|
@@ -84,6 +133,48 @@
|
|
|
84
133
|
}
|
|
85
134
|
}
|
|
86
135
|
|
|
136
|
+
/* A stack (see main.tsx): capsules across the bar, hanging out of it.
|
|
137
|
+
In the bar's layout, one capsule's size across it (the bar's height,
|
|
138
|
+
or width, unchanged); the rest overflowing on its open side (a top
|
|
139
|
+
bar's bottom, a bottom bar's top; at a side, toward the screen), its
|
|
140
|
+
capsules the bar's gap apart. Along the bar instead (`orientation` the
|
|
141
|
+
bar's), a plain row (column) of capsules. */
|
|
142
|
+
.uikit-toolbar-stack {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex: none;
|
|
145
|
+
align-items: center;
|
|
146
|
+
gap: var(--uikit-toolbar-gap);
|
|
147
|
+
|
|
148
|
+
/* In a row: a column, hanging down (a top bar), or up (a bottom bar:
|
|
149
|
+
its overflow at its start). */
|
|
150
|
+
:where(.uikit-toolbar-root:not([data-orientation='vertical'])) &:not([data-orientation='horizontal']) {
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
justify-content: flex-start;
|
|
153
|
+
block-size: var(--uikit-toolbar-group-height);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:where(.uikit-toolbar-root[data-placement='block-end']:not([data-orientation='vertical'])) &:not([data-orientation='horizontal']) {
|
|
157
|
+
justify-content: unsafe flex-end;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* In a column: a row, hanging toward the screen (at the trailing side,
|
|
161
|
+
its overflow at its start). */
|
|
162
|
+
:where(.uikit-toolbar-root[data-orientation='vertical']) &:not([data-orientation='vertical']) {
|
|
163
|
+
flex-direction: row;
|
|
164
|
+
justify-content: flex-start;
|
|
165
|
+
inline-size: var(--uikit-toolbar-group-height);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
:where(.uikit-viewport-anchor[data-edge='inline-end'] > .uikit-toolbar-root[data-orientation='vertical']) &:not([data-orientation='vertical']) {
|
|
169
|
+
justify-content: unsafe flex-end;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Along its bar: a plain column in a column. */
|
|
173
|
+
:where(.uikit-toolbar-root[data-orientation='vertical']) &[data-orientation='vertical'] {
|
|
174
|
+
flex-direction: column;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
87
178
|
.uikit-toolbar-group {
|
|
88
179
|
--uikit-glass-outset: 0px;
|
|
89
180
|
--uikit-toolbar-content: var(--uikit-glass-content);
|
|
@@ -115,21 +206,39 @@
|
|
|
115
206
|
--uikit-glass-scale: 1.05;
|
|
116
207
|
--uikit-toolbar-content-scale: 1.05;
|
|
117
208
|
}
|
|
209
|
+
|
|
210
|
+
/* In a vertical bar: its buttons in a column, 6px from its ends. */
|
|
211
|
+
&[data-orientation='vertical'] {
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
padding: var(--uikit-toolbar-group-padding) 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* In a stack across its bar (see the stack): standing up in a row's
|
|
217
|
+
(its buttons in a column), lying down in a column's (in a row). */
|
|
218
|
+
:where(.uikit-toolbar-root:not([data-orientation='vertical']) .uikit-toolbar-stack:not([data-orientation='horizontal'])) > &[data-orientation] {
|
|
219
|
+
flex-direction: column;
|
|
220
|
+
padding: var(--uikit-toolbar-group-padding) 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:where(.uikit-toolbar-root[data-orientation='vertical'] .uikit-toolbar-stack:not([data-orientation='vertical'])) > &[data-orientation] {
|
|
224
|
+
flex-direction: row;
|
|
225
|
+
padding: 0 var(--uikit-toolbar-group-padding);
|
|
226
|
+
}
|
|
118
227
|
}
|
|
119
228
|
|
|
120
229
|
.uikit-toolbar-button {
|
|
121
230
|
&&& {
|
|
122
231
|
--uikit-button-size: 36px;
|
|
123
232
|
--uikit-button-icon-font-size: 17px;
|
|
124
|
-
--uikit-button-icon-font-weight: 510;
|
|
233
|
+
--uikit-button-icon-font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
125
234
|
--uikit-button-icon-line-height: 20px;
|
|
126
235
|
|
|
127
236
|
padding: 0 var(--uikit-toolbar-text-padding);
|
|
128
237
|
border-radius: 100px;
|
|
129
238
|
font-feature-settings: 'ss16';
|
|
130
239
|
font-size: 17px;
|
|
131
|
-
font-variation-settings: 'wght' 510;
|
|
132
|
-
font-weight: round(down, 510, 100);
|
|
240
|
+
font-variation-settings: 'wght' calc(510 + var(--uikit-font-weight-boost, 0));
|
|
241
|
+
font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
133
242
|
letter-spacing: 0;
|
|
134
243
|
line-height: 20px;
|
|
135
244
|
scale: var(--uikit-toolbar-content-scale, none);
|
|
@@ -163,9 +272,13 @@
|
|
|
163
272
|
&&&:is([data-variant='glass'], [data-variant='glass-prominent']) {
|
|
164
273
|
--uikit-button-size: var(--uikit-toolbar-group-height);
|
|
165
274
|
--uikit-button-icon-font-size: 17px;
|
|
166
|
-
--uikit-button-icon-font-weight: 510;
|
|
275
|
+
--uikit-button-icon-font-weight: round(down, calc(510 + var(--uikit-font-weight-boost, 0)), 100);
|
|
167
276
|
--uikit-button-icon-line-height: 20px;
|
|
168
277
|
|
|
278
|
+
/* (A bar's: not with the text size, as a glass button's in content,
|
|
279
|
+
see Button.) */
|
|
280
|
+
font-size: 17px;
|
|
281
|
+
line-height: 20px;
|
|
169
282
|
padding-inline: 12px;
|
|
170
283
|
|
|
171
284
|
&[data-shape='circle'] {
|
|
@@ -182,12 +295,15 @@
|
|
|
182
295
|
flex-direction: column;
|
|
183
296
|
align-items: center;
|
|
184
297
|
color: var(--color-ui-label);
|
|
185
|
-
|
|
298
|
+
|
|
299
|
+
/* With the text size (see Settings), between the default's and
|
|
300
|
+
xxLarge's: as a system's bar titles, measured. */
|
|
301
|
+
font-size: clamp(17px, var(--font-ui-body-size), 21px);
|
|
186
302
|
font-style: normal;
|
|
187
|
-
font-variation-settings: 'wght' var(--font-ui-body-weight-emphasized);
|
|
188
|
-
font-weight: round(down, var(--font-ui-body-weight-emphasized), 100);
|
|
303
|
+
font-variation-settings: 'wght' calc(var(--font-ui-body-weight-emphasized) + var(--uikit-font-weight-boost, 0));
|
|
304
|
+
font-weight: round(down, calc(var(--font-ui-body-weight-emphasized) + var(--uikit-font-weight-boost, 0)), 100);
|
|
189
305
|
letter-spacing: var(--font-ui-body-tracking);
|
|
190
|
-
line-height: var(--font-ui-body-line-height);
|
|
306
|
+
line-height: clamp(22px, var(--font-ui-body-line-height), 26px);
|
|
191
307
|
|
|
192
308
|
/* Centered without sides, too (they take the free space otherwise). */
|
|
193
309
|
margin-inline: auto;
|
|
@@ -3,10 +3,15 @@ import '../typography/style.css';
|
|
|
3
3
|
import './style.css';
|
|
4
4
|
import { Tooltip as BaseTooltip } from '@base-ui/react/tooltip';
|
|
5
5
|
import { ReactElement } from 'react';
|
|
6
|
+
import { type GlassSurfaceProps } from '../glass/main.js';
|
|
6
7
|
import type { TooltipHandle, TooltipPositionerProps, TooltipTriggerProps } from './props.js';
|
|
7
8
|
export type { TooltipHandle, TooltipPositionerProps, TooltipTriggerProps, } from './props.js';
|
|
8
9
|
/** `Tooltip.createHandle`, in a component: made once, for its lifetime. */
|
|
9
10
|
export declare const useCreateTooltipHandle: <Payload = unknown>() => TooltipHandle<Payload>;
|
|
11
|
+
/**
|
|
12
|
+
* A tooltip (Base UI's `Tooltip`): a short label in a
|
|
13
|
+
* glass capsule at its trigger, on hover and focus, or held open.
|
|
14
|
+
*/
|
|
10
15
|
export declare const Tooltip: {
|
|
11
16
|
Root: <Payload>({ disabled, handle, ...props }: BaseTooltip.Root.Props<Payload>) => ReactElement;
|
|
12
17
|
Provider: (props: BaseTooltip.Provider.Props) => ReactElement;
|
|
@@ -19,7 +24,7 @@ export declare const Tooltip: {
|
|
|
19
24
|
Positioner: import("preact").FunctionalComponent<import("react").PropsWithoutRef<TooltipPositionerProps> & {
|
|
20
25
|
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
21
26
|
}>;
|
|
22
|
-
Popup: import("preact").FunctionalComponent<import("react").PropsWithoutRef<Omit<Omit<import("@base-ui/react/tooltip").TooltipPopupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"
|
|
27
|
+
Popup: import("preact").FunctionalComponent<import("react").PropsWithoutRef<Omit<Omit<import("@base-ui/react/tooltip").TooltipPopupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & GlassSurfaceProps> & {
|
|
23
28
|
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
24
29
|
}>;
|
|
25
30
|
createHandle: <Payload = unknown>() => TooltipHandle<Payload>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/main.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAIL,YAAY,EAOb,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/main.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAIL,YAAY,EAOb,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,kBAAkB,CAAC;AAU1B,OAAO,KAAK,EACV,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,aAAa,EACb,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AA6NpB,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,GACjC,OAAO,GAAG,OAAO,OACd,aAAa,CAAC,OAAO,CAGzB,CAAC;AAkDF;;;GAGG;AACH,eAAO,MAAM,OAAO;WAhDN,OAAO,kCAIlB,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAG,YAAY;sBA/GxB,WAAW,CAAC,QAAQ,CAAC,KAAK,KAAG,YAAY;;;;;;;;;;;;;mBA4F5C,OAAO,iBAAgB,aAAa,CAAC,OAAO,CAAC;;;;CAwElE,CAAC"}
|
|
@@ -4,8 +4,9 @@ import '../typography/style.css';
|
|
|
4
4
|
import './style.css';
|
|
5
5
|
import { Tooltip as BaseTooltip } from '@base-ui/react/tooltip';
|
|
6
6
|
import { createContext, forwardRef, useContext, useEffect, useId, useMemo, useState, } from 'react';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { colorSchemeStyle, useGlassScheme, } from '../glass/main.js';
|
|
8
|
+
import { ColorSchemeScope, useSettingsPortalProps } from '../settings/main.js';
|
|
9
|
+
import { cn, positionerSide, useCollision, useForwardedRef, usePortalContainer, withStyle, } from '../utils/main.js';
|
|
9
10
|
// A capsule of the menus' glass (Framework7's: a dark panel, white text,
|
|
10
11
|
// 4px corners) (see
|
|
11
12
|
// `Menu`), its text Subheadline in the glass' content color, 6px by 12px
|
|
@@ -132,7 +133,12 @@ const Trigger = forwardRef(({ delay, disabled, handle, id, ...props }, ref) => {
|
|
|
132
133
|
return (_jsx(BaseTooltip.Trigger, { ref: triggerRef, delay: delay ?? (isProvided ? undefined : 300), disabled: disabled, handle: handle, id: triggerId, ...props }));
|
|
133
134
|
});
|
|
134
135
|
const Positioner = forwardRef(({ className, collisionBoundary, collisionPadding, side, sideOffset = 8, ...props }, ref) => (_jsx(BaseTooltip.Positioner, { ref: ref, ...useCollision({ collisionBoundary, collisionPadding }), side: positionerSide(side), sideOffset: sideOffset, ...props, className: cn('uikit-tooltip-positioner', className) })));
|
|
135
|
-
const Popup = forwardRef(({ className, ...props },
|
|
136
|
+
const Popup = forwardRef(({ children, className, context, style, ...props }, forwardedRef) => {
|
|
137
|
+
const ref = useForwardedRef(forwardedRef);
|
|
138
|
+
// Its glass's tone, its content's color scheme (see Glass).
|
|
139
|
+
const scheme = useGlassScheme(ref, context);
|
|
140
|
+
return (_jsx(BaseTooltip.Popup, { ref: ref, "data-color-scheme": scheme, "data-tooltip-part": "popup", className: cn('uikit-tooltip-popup uikit-tooltip-surface uikit-glass-medium uikit-popup-transition', className), ...props, style: withStyle(colorSchemeStyle(scheme), style), children: _jsx(ColorSchemeScope, { colorScheme: scheme, children: children }) }));
|
|
141
|
+
});
|
|
136
142
|
/**
|
|
137
143
|
* A handle linking a tooltip to its triggers outside it, and opening or
|
|
138
144
|
* closing it imperatively (Base UI's `Tooltip.createHandle`): pass it to
|
|
@@ -158,16 +164,16 @@ const Root = ({ disabled = false, handle, ...props }) => {
|
|
|
158
164
|
}), [disabled, rootHandle]);
|
|
159
165
|
return (_jsx(RootContext.Provider, { value: value, children: _jsx(BaseTooltip.Root, { disabled: disabled, handle: rootHandle, ...props }) }));
|
|
160
166
|
};
|
|
161
|
-
/**
|
|
162
|
-
* A tooltip (Base UI's `Tooltip`): a short label in a
|
|
163
|
-
* glass capsule at its trigger, on hover and focus, or held open.
|
|
164
|
-
*/
|
|
165
167
|
/**
|
|
166
168
|
* Its portal (Base UI's): no box of its own (`display: contents`), so
|
|
167
169
|
* rendered into a container (e.g. a screen laid out as a flex column) it
|
|
168
170
|
* doesn't shift its content.
|
|
169
171
|
*/
|
|
170
172
|
const Portal = forwardRef(({ className, container, ...props }, ref) => (_jsx(BaseTooltip.Portal, { ref: ref, ...useSettingsPortalProps(), container: usePortalContainer(container), ...props, className: cn('uikit-tooltip-portal', className) })));
|
|
173
|
+
/**
|
|
174
|
+
* A tooltip (Base UI's `Tooltip`): a short label in a
|
|
175
|
+
* glass capsule at its trigger, on hover and focus, or held open.
|
|
176
|
+
*/
|
|
171
177
|
export const Tooltip = {
|
|
172
178
|
...BaseTooltip,
|
|
173
179
|
Root,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/tooltip/main.tsx"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,aAAa,EACb,UAAU,EAGV,UAAU,EACV,SAAS,EACT,KAAK,EACL,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/tooltip/main.tsx"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,aAAa,EACb,UAAU,EAGV,UAAU,EACV,SAAS,EACT,KAAK,EACL,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,gBAAgB,EAEhB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,EAAE,EACF,cAAc,EACd,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAa1B,yEAAyE;AACzE,oBAAoB;AACpB,yEAAyE;AACzE,yEAAyE;AACzE,qEAAqE;AACrE,EAAE;AACF,oEAAoE;AACpE,2EAA2E;AAC3E,wEAAwE;AACxE,oEAAoE;AACpE,yFAAyF;AACzF,oEAAoE;AACpE,wBAAwB;AAExB,qEAAqE;AACrE,MAAM,eAAe,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;AAE7C,iEAAiE;AACjE,+DAA+D;AAC/D,MAAM,WAAW,GAAG,aAAa,CAE/B,SAAS,CAAC,CAAC;AAEb,gEAAgE;AAChE,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,iEAAiE;AACjE,MAAM,a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AC;AAEF;;;;GAIG;AACH,MAAM,MAAM,GAAG,UAAU,CAGvB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7C,KAAC,WAAW,CAAC,MAAM,IACjB,GAAG,EAAE,GAAG,KACJ,sBAAsB,EAAE,EAC5B,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC,KACpC,KAAK,EACT,SAAS,EAAE,EAAE,CAAC,sBAAsB,EAAE,SAAS,CAAC,GAChD,CACH,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,GAAG,WAAW;IACd,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,OAAO;IACP,UAAU;IACV,KAAK;IACL,YAAY;CACb,CAAC"}
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
color: var(--uikit-glass-content);
|
|
21
21
|
font-size: var(--font-ui-subheadline-size);
|
|
22
22
|
font-style: normal;
|
|
23
|
-
font-variation-settings: 'wght' var(--font-ui-subheadline-weight);
|
|
24
|
-
font-weight: round(down, var(--font-ui-subheadline-weight), 100);
|
|
23
|
+
font-variation-settings: 'wght' calc(var(--font-ui-subheadline-weight) + var(--uikit-font-weight-boost, 0));
|
|
24
|
+
font-weight: round(down, calc(var(--font-ui-subheadline-weight) + var(--uikit-font-weight-boost, 0)), 100);
|
|
25
25
|
letter-spacing: var(--font-ui-subheadline-tracking);
|
|
26
26
|
line-height: var(--font-ui-subheadline-line-height);
|
|
27
27
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/typography/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAMrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,YAAY,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,eAAe,GAChB,MAAM,YAAY,CAAC;AAYpB,sCAAsC;AACtC,eAAO,MAAM,UAAU;;EA4BtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/typography/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,aAAa,CAAC;AAMrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,YAAY,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,eAAe,GAChB,MAAM,YAAY,CAAC;AAYpB,sCAAsC;AACtC,eAAO,MAAM,UAAU;;EA4BtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/typography/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAUtC,wEAAwE;AACxE,sEAAsE;AACtE,wEAAwE;AACxE,EAAE;AACF,QAAQ;AACR,6DAA6D;AAC7D,0CAA0C;AAC1C,4EAA4E;AAC5E,6BAA6B;AAE7B,sCAAsC;AACtC,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAClC,CACE,EACE,SAAS,EACT,KAAK,EACL,QAAQ,EAAE,IAAI,EACd,UAAU,EACV,MAAM,EACN,MAAM,EACN,SAAS,EACT,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE,CACF,SAAS,CAAC;IACR,cAAc,EAAE,MAAM;IACtB,KAAK,EAAE;QACL,GAAG,KAAK;QACR,SAAS,EAAE,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;QAC5C,YAAY,EAAE,KAAK;QACnB,gBAAgB,EAAE,IAAI;QACtB,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QAC9C,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QACtC,iBAAiB,EAAE,SAAS;KAC7B;IACD,GAAG;IACH,MAAM;CACP,CAAC,CACL,CAAC"}
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/typography/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAUtC,wEAAwE;AACxE,sEAAsE;AACtE,wEAAwE;AACxE,EAAE;AACF,QAAQ;AACR,6DAA6D;AAC7D,0CAA0C;AAC1C,4EAA4E;AAC5E,6BAA6B;AAE7B,sCAAsC;AACtC,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAClC,CACE,EACE,SAAS,EACT,KAAK,EACL,QAAQ,EAAE,IAAI,EACd,UAAU,EACV,MAAM,EACN,MAAM,EACN,SAAS,EACT,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE,CACF,SAAS,CAAC;IACR,cAAc,EAAE,MAAM;IACtB,KAAK,EAAE;QACL,GAAG,KAAK;QACR,SAAS,EAAE,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;QAC5C,YAAY,EAAE,KAAK;QACnB,gBAAgB,EAAE,IAAI;QACtB,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QAC9C,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QACtC,iBAAiB,EAAE,SAAS;KAC7B;IACD,GAAG;IACH,MAAM;CACP,CAAC,CACL,CAAC"}
|