@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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import '../glass/style.css';
|
|
2
|
+
import '../switch/style.css';
|
|
3
|
+
import '../slider/style.css';
|
|
4
|
+
import '../grid/style.css';
|
|
5
|
+
import '../list/style.css';
|
|
6
|
+
import './style.css';
|
|
7
|
+
import './parts.css';
|
|
8
|
+
export type { CardActions, CardChannelProps, CardChannelsProps, CardCloseButtonProps, CardCornerButtonProps, CardExpandButtonProps, CardFormat, CardLight, CardOpenButtonProps, CardOrientation, CardProgressBarProps, CardProgressDetailProps, CardProgressLabelProps, CardProgressProps, CardProgressValueProps, CardRootProps, CardRowProps, CardRowsProps, CardSegmentedItemProps, CardSegmentedProps, CardSizes, CardSliderProps, CardStageListProps, CardStageProps, CardSubtitleProps, CardSwitchProps, CardSymbolProps, CardTitleProps, CardTrendProps, CardValueProps, } from './props.js';
|
|
9
|
+
export { CardBlendScope, cardSizes, useCardOrientation } from './root.js';
|
|
10
|
+
export declare const Card: {
|
|
11
|
+
Root: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardRootProps> & {
|
|
12
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
Symbol: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSymbolProps> & {
|
|
15
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
Title: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardTitleProps> & {
|
|
18
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
Subtitle: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSubtitleProps> & {
|
|
21
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
Value: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardValueProps> & {
|
|
24
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
Trend: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardTrendProps> & {
|
|
27
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
Switch: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSwitchProps> & {
|
|
30
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
Slider: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSliderProps> & {
|
|
33
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
Progress: ({ children, format, getAriaValueText, locale: ownLocale, max, min, value, }: import("./props.js").CardProgressProps) => import("preact").ComponentChild;
|
|
36
|
+
ProgressValue: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardProgressValueProps> & {
|
|
37
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
ProgressBar: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardProgressBarProps> & {
|
|
40
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
ProgressLabel: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardProgressLabelProps> & {
|
|
43
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
ProgressDetail: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardProgressDetailProps> & {
|
|
46
|
+
ref?: import("preact").Ref<HTMLSpanElement> | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
StageList: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardStageListProps> & {
|
|
49
|
+
ref?: import("preact").Ref<HTMLOListElement> | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
Stage: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardStageProps> & {
|
|
52
|
+
ref?: import("preact").Ref<HTMLLIElement> | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
Channels: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardChannelsProps> & {
|
|
55
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
Channel: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardChannelProps> & {
|
|
58
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
59
|
+
}>;
|
|
60
|
+
Segmented: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSegmentedProps> & {
|
|
61
|
+
ref?: import("preact").Ref<HTMLDivElement> | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
SegmentedItem: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardSegmentedItemProps> & {
|
|
64
|
+
ref?: import("preact").Ref<HTMLElement> | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
Rows: ({ children, className, getMoreLabel, lessLabel, ...props }: import("./props.js").CardRowsProps) => import("preact").ComponentChild;
|
|
67
|
+
Row: ({ children, icon, onClick, value, ...props }: import("./props.js").CardRowProps) => import("preact").ComponentChild;
|
|
68
|
+
CornerButton: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardCornerButtonProps> & {
|
|
69
|
+
ref?: import("preact").Ref<HTMLButtonElement> | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
ExpandButton: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardExpandButtonProps> & {
|
|
72
|
+
ref?: import("preact").Ref<HTMLButtonElement> | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
OpenButton: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardOpenButtonProps> & {
|
|
75
|
+
ref?: import("preact").Ref<HTMLButtonElement> | undefined;
|
|
76
|
+
}>;
|
|
77
|
+
CloseButton: import("preact").FunctionalComponent<import("react-dom").PropsWithoutRef<import("./props.js").CardCloseButtonProps> & {
|
|
78
|
+
ref?: import("preact").Ref<HTMLButtonElement> | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=main.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/card/main.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,CAAC;AACrB,OAAO,aAAa,CAAC;AA0BrB,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,GACf,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAkD1E,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhB,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import '../glass/style.css';
|
|
2
|
+
import '../switch/style.css';
|
|
3
|
+
import '../slider/style.css';
|
|
4
|
+
import '../grid/style.css';
|
|
5
|
+
import '../list/style.css';
|
|
6
|
+
import './style.css';
|
|
7
|
+
import './parts.css';
|
|
8
|
+
import { CloseButton, ExpandButton, OpenButton } from './buttons.js';
|
|
9
|
+
import { Channel, Channels } from './channels.js';
|
|
10
|
+
import { Progress, ProgressBar, ProgressDetail, ProgressLabel, ProgressValue, } from './progress.js';
|
|
11
|
+
import { CardSwitch, CardSymbol, CornerButton, Root, Subtitle, Title, Trend, Value, } from './root.js';
|
|
12
|
+
import { Row, Rows } from './rows.js';
|
|
13
|
+
import { Segmented, SegmentedItem } from './segmented.js';
|
|
14
|
+
import { CardSlider } from './slider.js';
|
|
15
|
+
import { Stage, StageList } from './stages.js';
|
|
16
|
+
export { CardBlendScope, cardSizes, useCardOrientation } from './root.js';
|
|
17
|
+
// Cards: a surface for what an app shows or controls in a grid's tile (a
|
|
18
|
+
// `Grid.Item`'s, nested in it), or on its own. Glass (the Sidebar's and
|
|
19
|
+
// Islands' medium material, its colors by what's behind); its parts laid
|
|
20
|
+
// out by its own size (container queries), more shown the larger it is.
|
|
21
|
+
//
|
|
22
|
+
// Also:
|
|
23
|
+
// - In edit mode (its item's grid's), its content is inert (presses go to
|
|
24
|
+
// the grid: held, it's dragged; but its corner buttons shown then, over
|
|
25
|
+
// it, see `CornerButton`) and veiled, so the grid's corner symbols
|
|
26
|
+
// read on it. The veil lifts (and those symbols fade with it) while a
|
|
27
|
+
// tile's dragged or resized, on every card of the grid, so they show
|
|
28
|
+
// their content as the grid changes; a resized tile's outline shows as
|
|
29
|
+
// ever.
|
|
30
|
+
// - A `Switch` in it is styled by it (smaller, in its top trailing
|
|
31
|
+
// corner), its state the card's whole background: on, bright (its text
|
|
32
|
+
// dark), off, its glass. A press on the card toggles it as a row's does
|
|
33
|
+
// (`forwardClick`).
|
|
34
|
+
// - A `Slider` in it is styled by it: its whole surface the track, the
|
|
35
|
+
// fill the background (its ticks across it), no knob; horizontal or
|
|
36
|
+
// vertical by the tile's shape (see `useCardOrientation`). Its label and
|
|
37
|
+
// value laid out as a card's title and value. `Card.Slider` makes that
|
|
38
|
+
// fill opaque and registers a layer inside it (see `CardBlendScope`),
|
|
39
|
+
// where the card's parts draw copies of themselves in the fill's colors;
|
|
40
|
+
// Slider itself knows nothing of cards.
|
|
41
|
+
// - Its building blocks, each a part composed among the others: a subtitle,
|
|
42
|
+
// a trend in its value, a slider filling it, a progress (its value, its
|
|
43
|
+
// bar), stages, channels, a choice of a few, rows; corner buttons
|
|
44
|
+
// expanding its tile, opening it above the page, closing it (its grid
|
|
45
|
+
// item's state). Parts named by its title (a progress bar, stages, a
|
|
46
|
+
// choice) read its id from it (see `Card.Title`).
|
|
47
|
+
// - A binary card's state also shows as its brightness (`active`: a
|
|
48
|
+
// display's, e.g. a lock locked; a control's, its switch on). Pressable
|
|
49
|
+
// as a whole (an `onClick`), it shows it: hovered, pressed. A display
|
|
50
|
+
// without one doesn't.
|
|
51
|
+
// - A corner button (`Card.CornerButton`, a `Grid.CornerButton`) does
|
|
52
|
+
// what's more to it: expanding it in place (the app's size for it),
|
|
53
|
+
// opening it above the page, going to a page of its own; its icon one of
|
|
54
|
+
// `gridIcons` or the app's. Shown outside edit mode only (the grid's own
|
|
55
|
+
// controls take the corners then).
|
|
56
|
+
// - Its tile getting to a new box (expanded, collapsed, opened above the
|
|
57
|
+
// page, closed; see Grid's reshape.ts): its glass resized with it (not
|
|
58
|
+
// stretched, clipping what's in it), its parts laid out at the new size
|
|
59
|
+
// at once (its frame, at the size it's getting to); its corner buttons
|
|
60
|
+
// staying in their corners as its edges move (`useCornersFollowing`).
|
|
61
|
+
// The rest of its parts stay where they're laid out: moving them from
|
|
62
|
+
// where they were is the app's (e.g. by an animation library, see
|
|
63
|
+
// `useGridItemLayout`).
|
|
64
|
+
export const Card = {
|
|
65
|
+
Root,
|
|
66
|
+
Symbol: CardSymbol,
|
|
67
|
+
Title,
|
|
68
|
+
Subtitle,
|
|
69
|
+
Value,
|
|
70
|
+
Trend,
|
|
71
|
+
Switch: CardSwitch,
|
|
72
|
+
Slider: CardSlider,
|
|
73
|
+
Progress,
|
|
74
|
+
ProgressValue,
|
|
75
|
+
ProgressBar,
|
|
76
|
+
ProgressLabel,
|
|
77
|
+
ProgressDetail,
|
|
78
|
+
StageList,
|
|
79
|
+
Stage,
|
|
80
|
+
Channels,
|
|
81
|
+
Channel,
|
|
82
|
+
Segmented,
|
|
83
|
+
SegmentedItem,
|
|
84
|
+
Rows,
|
|
85
|
+
Row,
|
|
86
|
+
CornerButton,
|
|
87
|
+
ExpandButton,
|
|
88
|
+
OpenButton,
|
|
89
|
+
CloseButton,
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/card/main.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,CAAC;AACrB,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EACL,QAAQ,EACR,WAAW,EACX,cAAc,EACd,aAAa,EACb,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,KAAK,EACL,KAAK,GACN,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAkC/C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE1E,yEAAyE;AACzE,wEAAwE;AACxE,yEAAyE;AACzE,wEAAwE;AACxE,EAAE;AACF,QAAQ;AACR,0EAA0E;AAC1E,0EAA0E;AAC1E,qEAAqE;AACrE,wEAAwE;AACxE,uEAAuE;AACvE,yEAAyE;AACzE,UAAU;AACV,mEAAmE;AACnE,yEAAyE;AACzE,0EAA0E;AAC1E,sBAAsB;AACtB,uEAAuE;AACvE,sEAAsE;AACtE,2EAA2E;AAC3E,yEAAyE;AACzE,wEAAwE;AACxE,2EAA2E;AAC3E,0CAA0C;AAC1C,4EAA4E;AAC5E,0EAA0E;AAC1E,oEAAoE;AACpE,wEAAwE;AACxE,uEAAuE;AACvE,oDAAoD;AACpD,oEAAoE;AACpE,0EAA0E;AAC1E,wEAAwE;AACxE,yBAAyB;AACzB,sEAAsE;AACtE,sEAAsE;AACtE,2EAA2E;AAC3E,2EAA2E;AAC3E,qCAAqC;AACrC,yEAAyE;AACzE,yEAAyE;AACzE,0EAA0E;AAC1E,yEAAyE;AACzE,wEAAwE;AACxE,wEAAwE;AACxE,oEAAoE;AACpE,0BAA0B;AAE1B,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI;IACJ,MAAM,EAAE,UAAU;IAClB,KAAK;IACL,QAAQ;IACR,KAAK;IACL,KAAK;IACL,MAAM,EAAE,UAAU;IAClB,MAAM,EAAE,UAAU;IAClB,QAAQ;IACR,aAAa;IACb,WAAW;IACX,aAAa;IACb,cAAc;IACd,SAAS;IACT,KAAK;IACL,QAAQ;IACR,OAAO;IACP,SAAS;IACT,aAAa;IACb,IAAI;IACJ,GAAG;IACH,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,WAAW;CACZ,CAAC"}
|