@yewdiel21/motion-kit 0.10.0 → 0.15.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 +81 -0
- package/bin/motion-kit.mjs +3 -3
- package/dist/auto/index.d.ts +56 -3
- package/dist/auto/index.js +107 -3
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-XAKC2QY7.js → chunk-6IRJYXJU.js} +3 -28
- package/dist/chunk-6IRJYXJU.js.map +1 -0
- package/dist/chunk-A6QQCF6V.js +21333 -0
- package/dist/chunk-A6QQCF6V.js.map +1 -0
- package/dist/chunk-JXRS3OEA.js +3638 -0
- package/dist/chunk-JXRS3OEA.js.map +1 -0
- package/dist/chunk-QP4QJOEN.js +72 -0
- package/dist/chunk-QP4QJOEN.js.map +1 -0
- package/dist/css/components/activity-feed.css +240 -0
- package/dist/css/components/add-to-cart.css +72 -0
- package/dist/css/components/attachment.css +266 -0
- package/dist/css/components/bidirectional-slider.css +168 -0
- package/dist/css/components/breadcrumb.css +110 -0
- package/dist/css/components/chart-tooltip.css +168 -0
- package/dist/css/components/chart.css +296 -0
- package/dist/css/components/code-block.css +264 -0
- package/dist/css/components/color-area.css +82 -0
- package/dist/css/components/color-field.css +67 -0
- package/dist/css/components/color-picker.css +131 -0
- package/dist/css/components/color-slider.css +113 -0
- package/dist/css/components/command-search.css +252 -0
- package/dist/css/components/context-menu.css +23 -0
- package/dist/css/components/credit-card.css +288 -0
- package/dist/css/components/data-table.css +686 -0
- package/dist/css/components/date-range-picker.css +168 -0
- package/dist/css/components/date-time-picker.css +178 -0
- package/dist/css/components/drawer.css +58 -0
- package/dist/css/components/editable-table.css +201 -0
- package/dist/css/components/empty-state.css +61 -0
- package/dist/css/components/file-explorer.css +633 -0
- package/dist/css/components/filter-builder.css +227 -0
- package/dist/css/components/heatmap-chart.css +391 -0
- package/dist/css/components/hold-confirm.css +87 -0
- package/dist/css/components/hover-card.css +19 -7
- package/dist/css/components/image-preview.css +283 -0
- package/dist/css/components/json-viewer.css +304 -0
- package/dist/css/components/like-button.css +78 -0
- package/dist/css/components/link-preview.css +275 -0
- package/dist/css/components/loading-button.css +77 -0
- package/dist/css/components/multi-select.css +267 -0
- package/dist/css/components/nav.css +102 -102
- package/dist/css/components/notification-bell.css +127 -0
- package/dist/css/components/orbit-menu.css +130 -0
- package/dist/css/components/pagination.css +10 -5
- package/dist/css/components/password-strength.css +183 -0
- package/dist/css/components/pie-chart.css +390 -0
- package/dist/css/components/pill-button.css +135 -0
- package/dist/css/components/popover.css +25 -0
- package/dist/css/components/progress.css +140 -0
- package/dist/css/components/questionnaire.css +217 -0
- package/dist/css/components/radar-chart.css +370 -0
- package/dist/css/components/radial-chart.css +398 -0
- package/dist/css/components/range-calendar.css +186 -0
- package/dist/css/components/range-slider.css +192 -0
- package/dist/css/components/resizable-panel.css +243 -0
- package/dist/css/components/rich-text-editor.css +284 -0
- package/dist/css/components/sankey-chart.css +358 -0
- package/dist/css/components/scratch-card.css +75 -0
- package/dist/css/components/scroll-island.css +111 -0
- package/dist/css/components/select.css +136 -0
- package/dist/css/components/skeleton.css +108 -0
- package/dist/css/components/split-view.css +19 -0
- package/dist/css/components/star-rating.css +80 -0
- package/dist/css/components/stat-card.css +164 -0
- package/dist/css/components/swipe-actions.css +105 -0
- package/dist/css/components/tag-input.css +244 -0
- package/dist/css/components/time-field.css +88 -0
- package/dist/css/components/timeline.css +219 -0
- package/dist/css/components/toolbar.css +122 -0
- package/dist/css/components/tooltip.css +79 -0
- package/dist/css/components/tree-view.css +289 -0
- package/dist/css/components/virtual-list.css +195 -0
- package/dist/css/components/voice-dots.css +70 -0
- package/dist/css/tokens.css +185 -181
- package/dist/elements/index.d.ts +849 -7
- package/dist/elements/index.js +1642 -8
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-GDGwQnJE.d.ts → engine-5zRIssTO.d.ts} +11 -1
- package/dist/engine-QECQnGz1.d.ts +33 -0
- package/dist/index.css +10890 -311
- package/dist/index.d.ts +89 -5
- package/dist/index.js +273 -9
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +686 -24
- package/dist/react/index.js +2345 -9
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-BmBzKH94.d.ts → reduced-6X_bns60.d.ts} +9 -2
- package/dist/reveal-BfyKKsw4.d.ts +2474 -0
- package/dist/store-CA2Qcun_.d.ts +453 -0
- package/package.json +9 -16
- package/registry.json +1096 -543
- package/src/auto/auto-init.ts +104 -0
- package/src/components/activity-feed/README.md +56 -0
- package/src/components/activity-feed/activity-feed.css +239 -0
- package/src/components/activity-feed/element.ts +36 -0
- package/src/components/activity-feed/engine.ts +351 -0
- package/src/components/activity-feed/react.tsx +32 -0
- package/src/components/add-to-cart/README.md +34 -0
- package/src/components/add-to-cart/add-to-cart.css +71 -0
- package/src/components/add-to-cart/element.ts +20 -0
- package/src/components/add-to-cart/engine.ts +206 -0
- package/src/components/add-to-cart/react.tsx +29 -0
- package/src/components/attachment/README.md +27 -0
- package/src/components/attachment/attachment.css +265 -0
- package/src/components/attachment/element.ts +50 -0
- package/src/components/attachment/engine.ts +469 -0
- package/src/components/attachment/react.tsx +65 -0
- package/src/components/bidirectional-slider/README.md +46 -0
- package/src/components/bidirectional-slider/bidirectional-slider.css +167 -0
- package/src/components/bidirectional-slider/element.ts +42 -0
- package/src/components/bidirectional-slider/engine.ts +289 -0
- package/src/components/bidirectional-slider/react.tsx +45 -0
- package/src/components/breadcrumb/README.md +38 -0
- package/src/components/breadcrumb/breadcrumb.css +109 -0
- package/src/components/breadcrumb/element.ts +27 -0
- package/src/components/breadcrumb/engine.ts +249 -0
- package/src/components/breadcrumb/react.tsx +30 -0
- package/src/components/chart/README.md +34 -0
- package/src/components/chart/chart.css +295 -0
- package/src/components/chart/element.ts +43 -0
- package/src/components/chart/engine.ts +838 -0
- package/src/components/chart/parts.ts +237 -0
- package/src/components/chart/react.tsx +50 -0
- package/src/components/chart/use-chart.ts +55 -0
- package/src/components/chart-tooltip/README.md +53 -0
- package/src/components/chart-tooltip/chart-tooltip.css +167 -0
- package/src/components/chart-tooltip/element.ts +37 -0
- package/src/components/chart-tooltip/engine.ts +442 -0
- package/src/components/chart-tooltip/react.tsx +47 -0
- package/src/components/code-block/README.md +19 -0
- package/src/components/code-block/code-block.css +263 -0
- package/src/components/code-block/element.ts +34 -0
- package/src/components/code-block/engine.ts +254 -0
- package/src/components/code-block/highlight.ts +244 -0
- package/src/components/code-block/react.tsx +94 -0
- package/src/components/color-area/README.md +50 -0
- package/src/components/color-area/color-area.css +81 -0
- package/src/components/color-area/element.ts +26 -0
- package/src/components/color-area/engine.ts +246 -0
- package/src/components/color-area/react.tsx +42 -0
- package/src/components/color-field/README.md +43 -0
- package/src/components/color-field/color-field.css +66 -0
- package/src/components/color-field/element.ts +26 -0
- package/src/components/color-field/engine.ts +174 -0
- package/src/components/color-field/react.tsx +42 -0
- package/src/components/color-picker/README.md +45 -0
- package/src/components/color-picker/color-picker.css +130 -0
- package/src/components/color-picker/element.ts +45 -0
- package/src/components/color-picker/engine.ts +314 -0
- package/src/components/color-picker/react.tsx +47 -0
- package/src/components/color-slider/README.md +55 -0
- package/src/components/color-slider/color-slider.css +112 -0
- package/src/components/color-slider/element.ts +26 -0
- package/src/components/color-slider/engine.ts +234 -0
- package/src/components/color-slider/react.tsx +45 -0
- package/src/components/command-search/README.md +15 -0
- package/src/components/command-search/command-search.css +251 -0
- package/src/components/command-search/element.ts +36 -0
- package/src/components/command-search/engine.ts +356 -0
- package/src/components/command-search/match.ts +53 -0
- package/src/components/command-search/react.tsx +66 -0
- package/src/components/context-menu/README.md +31 -0
- package/src/components/context-menu/context-menu.css +22 -0
- package/src/components/context-menu/element.ts +40 -0
- package/src/components/context-menu/engine.ts +153 -0
- package/src/components/context-menu/react.tsx +57 -0
- package/src/components/credit-card/README.md +20 -0
- package/src/components/credit-card/card.ts +77 -0
- package/src/components/credit-card/credit-card.css +287 -0
- package/src/components/credit-card/element.ts +33 -0
- package/src/components/credit-card/engine.ts +410 -0
- package/src/components/credit-card/react.tsx +36 -0
- package/src/components/data-table/README.md +83 -0
- package/src/components/data-table/data-table.css +685 -0
- package/src/components/data-table/element.ts +54 -0
- package/src/components/data-table/engine.ts +1111 -0
- package/src/components/data-table/react.tsx +94 -0
- package/src/components/date-range-picker/README.md +51 -0
- package/src/components/date-range-picker/date-range-picker.css +167 -0
- package/src/components/date-range-picker/element.ts +52 -0
- package/src/components/date-range-picker/engine.ts +352 -0
- package/src/components/date-range-picker/react.tsx +57 -0
- package/src/components/date-time-picker/README.md +48 -0
- package/src/components/date-time-picker/date-time-picker.css +177 -0
- package/src/components/date-time-picker/element.ts +47 -0
- package/src/components/date-time-picker/engine.ts +350 -0
- package/src/components/date-time-picker/react.tsx +54 -0
- package/src/components/dialog/README.md +103 -102
- package/src/components/dialog/element.ts +123 -118
- package/src/components/dialog/engine.ts +449 -432
- package/src/components/drawer/README.md +28 -0
- package/src/components/drawer/drawer.css +57 -0
- package/src/components/drawer/element.ts +21 -0
- package/src/components/drawer/engine.ts +56 -0
- package/src/components/drawer/react.tsx +85 -0
- package/src/components/editable-table/README.md +67 -0
- package/src/components/editable-table/editable-table.css +200 -0
- package/src/components/editable-table/element.ts +45 -0
- package/src/components/editable-table/engine.ts +831 -0
- package/src/components/editable-table/react.tsx +79 -0
- package/src/components/empty-state/README.md +41 -0
- package/src/components/empty-state/element.ts +23 -0
- package/src/components/empty-state/empty-state.css +60 -0
- package/src/components/empty-state/engine.ts +232 -0
- package/src/components/empty-state/react.tsx +34 -0
- package/src/components/file-explorer/README.md +67 -0
- package/src/components/file-explorer/element.ts +39 -0
- package/src/components/file-explorer/engine.ts +1307 -0
- package/src/components/file-explorer/file-explorer.css +632 -0
- package/src/components/file-explorer/react.tsx +77 -0
- package/src/components/filter-builder/README.md +47 -0
- package/src/components/filter-builder/element.ts +34 -0
- package/src/components/filter-builder/engine.ts +396 -0
- package/src/components/filter-builder/filter-builder.css +226 -0
- package/src/components/filter-builder/react.tsx +36 -0
- package/src/components/heatmap-chart/README.md +48 -0
- package/src/components/heatmap-chart/element.ts +21 -0
- package/src/components/heatmap-chart/engine.ts +281 -0
- package/src/components/heatmap-chart/heatmap-chart.css +93 -0
- package/src/components/heatmap-chart/react.tsx +14 -0
- package/src/components/hold-confirm/README.md +13 -0
- package/src/components/hold-confirm/element.ts +24 -0
- package/src/components/hold-confirm/engine.ts +216 -0
- package/src/components/hold-confirm/hold-confirm.css +86 -0
- package/src/components/hold-confirm/react.tsx +28 -0
- package/src/components/hover-card/README.md +6 -2
- package/src/components/hover-card/engine.ts +98 -7
- package/src/components/hover-card/hover-card.css +19 -7
- package/src/components/image-preview/README.md +16 -0
- package/src/components/image-preview/element.ts +26 -0
- package/src/components/image-preview/engine.ts +405 -0
- package/src/components/image-preview/image-preview.css +282 -0
- package/src/components/image-preview/react.tsx +43 -0
- package/src/components/json-viewer/README.md +56 -0
- package/src/components/json-viewer/element.ts +37 -0
- package/src/components/json-viewer/engine.ts +449 -0
- package/src/components/json-viewer/json-viewer.css +303 -0
- package/src/components/json-viewer/react.tsx +56 -0
- package/src/components/like-button/README.md +13 -0
- package/src/components/like-button/element.ts +47 -0
- package/src/components/like-button/engine.ts +145 -0
- package/src/components/like-button/like-button.css +77 -0
- package/src/components/like-button/react.tsx +39 -0
- package/src/components/link-preview/README.md +19 -0
- package/src/components/link-preview/element.ts +29 -0
- package/src/components/link-preview/engine.ts +192 -0
- package/src/components/link-preview/link-preview.css +274 -0
- package/src/components/link-preview/react.tsx +101 -0
- package/src/components/loading-button/README.md +45 -0
- package/src/components/loading-button/element.ts +34 -0
- package/src/components/loading-button/engine.ts +201 -0
- package/src/components/loading-button/loading-button.css +76 -0
- package/src/components/loading-button/react.tsx +43 -0
- package/src/components/multi-select/README.md +48 -0
- package/src/components/multi-select/element.ts +28 -0
- package/src/components/multi-select/engine.ts +294 -0
- package/src/components/multi-select/multi-select.css +266 -0
- package/src/components/multi-select/react.tsx +39 -0
- package/src/components/nav/README.md +12 -10
- package/src/components/nav/element.ts +5 -5
- package/src/components/nav/engine.ts +21 -14
- package/src/components/nav/nav.css +102 -102
- package/src/components/nav/react.tsx +4 -4
- package/src/components/notification-bell/README.md +14 -0
- package/src/components/notification-bell/element.ts +48 -0
- package/src/components/notification-bell/engine.ts +202 -0
- package/src/components/notification-bell/notification-bell.css +126 -0
- package/src/components/notification-bell/react.tsx +57 -0
- package/src/components/orbit-menu/README.md +46 -0
- package/src/components/orbit-menu/element.ts +27 -0
- package/src/components/orbit-menu/engine.ts +179 -0
- package/src/components/orbit-menu/orbit-menu.css +129 -0
- package/src/components/orbit-menu/react.tsx +44 -0
- package/src/components/pagination/README.md +1 -1
- package/src/components/pagination/engine.ts +50 -4
- package/src/components/pagination/pagination.css +10 -5
- package/src/components/password-strength/README.md +17 -0
- package/src/components/password-strength/element.ts +22 -0
- package/src/components/password-strength/engine.ts +212 -0
- package/src/components/password-strength/password-strength.css +182 -0
- package/src/components/password-strength/react.tsx +36 -0
- package/src/components/password-strength/score.ts +62 -0
- package/src/components/pie-chart/README.md +48 -0
- package/src/components/pie-chart/element.ts +30 -0
- package/src/components/pie-chart/engine.ts +283 -0
- package/src/components/pie-chart/pie-chart.css +92 -0
- package/src/components/pie-chart/react.tsx +14 -0
- package/src/components/pill-button/README.md +46 -0
- package/src/components/pill-button/element.ts +16 -0
- package/src/components/pill-button/engine.ts +77 -0
- package/src/components/pill-button/pill-button.css +134 -0
- package/src/components/pill-button/react.tsx +32 -0
- package/src/components/popover/README.md +44 -0
- package/src/components/popover/element.ts +31 -0
- package/src/components/popover/engine.ts +114 -0
- package/src/components/popover/popover.css +24 -0
- package/src/components/popover/react.tsx +50 -0
- package/src/components/progress/README.md +17 -0
- package/src/components/progress/element.ts +30 -0
- package/src/components/progress/engine.ts +173 -0
- package/src/components/progress/progress.css +139 -0
- package/src/components/progress/react.tsx +35 -0
- package/src/components/questionnaire/README.md +32 -0
- package/src/components/questionnaire/element.ts +118 -0
- package/src/components/questionnaire/engine.ts +255 -0
- package/src/components/questionnaire/questionnaire.css +216 -0
- package/src/components/questionnaire/react.tsx +140 -0
- package/src/components/radar-chart/README.md +48 -0
- package/src/components/radar-chart/element.ts +30 -0
- package/src/components/radar-chart/engine.ts +327 -0
- package/src/components/radar-chart/radar-chart.css +72 -0
- package/src/components/radar-chart/react.tsx +14 -0
- package/src/components/radial-chart/README.md +48 -0
- package/src/components/radial-chart/element.ts +30 -0
- package/src/components/radial-chart/engine.ts +290 -0
- package/src/components/radial-chart/radial-chart.css +100 -0
- package/src/components/radial-chart/react.tsx +14 -0
- package/src/components/range-calendar/README.md +58 -0
- package/src/components/range-calendar/element.ts +42 -0
- package/src/components/range-calendar/engine.ts +390 -0
- package/src/components/range-calendar/range-calendar.css +185 -0
- package/src/components/range-calendar/react.tsx +56 -0
- package/src/components/range-slider/README.md +23 -0
- package/src/components/range-slider/element.ts +53 -0
- package/src/components/range-slider/engine.ts +316 -0
- package/src/components/range-slider/range-slider.css +191 -0
- package/src/components/range-slider/react.tsx +66 -0
- package/src/components/resizable-panel/README.md +61 -0
- package/src/components/resizable-panel/element.ts +36 -0
- package/src/components/resizable-panel/engine.ts +551 -0
- package/src/components/resizable-panel/react.tsx +74 -0
- package/src/components/resizable-panel/resizable-panel.css +242 -0
- package/src/components/rich-text-editor/README.md +57 -0
- package/src/components/rich-text-editor/element.ts +34 -0
- package/src/components/rich-text-editor/engine.ts +673 -0
- package/src/components/rich-text-editor/react.tsx +60 -0
- package/src/components/rich-text-editor/rich-text-editor.css +283 -0
- package/src/components/sankey-chart/README.md +48 -0
- package/src/components/sankey-chart/element.ts +31 -0
- package/src/components/sankey-chart/engine.ts +401 -0
- package/src/components/sankey-chart/react.tsx +14 -0
- package/src/components/sankey-chart/sankey-chart.css +60 -0
- package/src/components/scratch-card/README.md +15 -0
- package/src/components/scratch-card/element.ts +30 -0
- package/src/components/scratch-card/engine.ts +257 -0
- package/src/components/scratch-card/react.tsx +40 -0
- package/src/components/scratch-card/scratch-card.css +74 -0
- package/src/components/scroll-island/README.md +34 -0
- package/src/components/scroll-island/element.ts +16 -0
- package/src/components/scroll-island/engine.ts +252 -0
- package/src/components/scroll-island/react.tsx +26 -0
- package/src/components/scroll-island/scroll-island.css +110 -0
- package/src/components/select/README.md +34 -0
- package/src/components/select/element.ts +26 -0
- package/src/components/select/engine.ts +267 -0
- package/src/components/select/react.tsx +33 -0
- package/src/components/select/select.css +135 -0
- package/src/components/skeleton/README.md +15 -0
- package/src/components/skeleton/element.ts +32 -0
- package/src/components/skeleton/engine.ts +104 -0
- package/src/components/skeleton/react.tsx +41 -0
- package/src/components/skeleton/skeleton.css +107 -0
- package/src/components/split-view/README.md +50 -0
- package/src/components/split-view/element.ts +34 -0
- package/src/components/split-view/engine.ts +114 -0
- package/src/components/split-view/react.tsx +63 -0
- package/src/components/split-view/split-view.css +18 -0
- package/src/components/star-rating/README.md +14 -0
- package/src/components/star-rating/element.ts +26 -0
- package/src/components/star-rating/engine.ts +217 -0
- package/src/components/star-rating/react.tsx +33 -0
- package/src/components/star-rating/star-rating.css +79 -0
- package/src/components/stat-card/README.md +42 -0
- package/src/components/stat-card/element.ts +40 -0
- package/src/components/stat-card/engine.ts +283 -0
- package/src/components/stat-card/react.tsx +36 -0
- package/src/components/stat-card/stat-card.css +163 -0
- package/src/components/swipe-actions/README.md +19 -0
- package/src/components/swipe-actions/element.ts +26 -0
- package/src/components/swipe-actions/engine.ts +260 -0
- package/src/components/swipe-actions/react.tsx +80 -0
- package/src/components/swipe-actions/swipe-actions.css +104 -0
- package/src/components/tag-input/README.md +42 -0
- package/src/components/tag-input/element.ts +39 -0
- package/src/components/tag-input/engine.ts +313 -0
- package/src/components/tag-input/react.tsx +54 -0
- package/src/components/tag-input/tag-input.css +243 -0
- package/src/components/time-field/README.md +54 -0
- package/src/components/time-field/element.ts +38 -0
- package/src/components/time-field/engine.ts +110 -0
- package/src/components/time-field/react.tsx +45 -0
- package/src/components/time-field/time-field.css +87 -0
- package/src/components/timeline/README.md +57 -0
- package/src/components/timeline/element.ts +31 -0
- package/src/components/timeline/engine.ts +300 -0
- package/src/components/timeline/react.tsx +59 -0
- package/src/components/timeline/timeline.css +218 -0
- package/src/components/toolbar/README.md +46 -0
- package/src/components/toolbar/element.ts +30 -0
- package/src/components/toolbar/engine.ts +230 -0
- package/src/components/toolbar/react.tsx +34 -0
- package/src/components/toolbar/toolbar.css +121 -0
- package/src/components/tooltip/README.md +46 -0
- package/src/components/tooltip/element.ts +22 -0
- package/src/components/tooltip/engine.ts +288 -0
- package/src/components/tooltip/react.tsx +30 -0
- package/src/components/tooltip/tooltip.css +78 -0
- package/src/components/tree-view/README.md +61 -0
- package/src/components/tree-view/element.ts +32 -0
- package/src/components/tree-view/engine.ts +743 -0
- package/src/components/tree-view/react.tsx +82 -0
- package/src/components/tree-view/tree-view.css +288 -0
- package/src/components/virtual-list/README.md +81 -0
- package/src/components/virtual-list/element.ts +42 -0
- package/src/components/virtual-list/engine.ts +678 -0
- package/src/components/virtual-list/react.tsx +101 -0
- package/src/components/virtual-list/virtual-list.css +194 -0
- package/src/components/voice-dots/README.md +48 -0
- package/src/components/voice-dots/element.ts +45 -0
- package/src/components/voice-dots/engine.ts +243 -0
- package/src/components/voice-dots/react.tsx +52 -0
- package/src/components/voice-dots/voice-dots.css +69 -0
- package/src/core/chips.ts +196 -0
- package/src/core/color.ts +304 -0
- package/src/core/date-range.ts +67 -0
- package/src/core/dates.ts +11 -1
- package/src/core/files.ts +107 -0
- package/src/core/filter.ts +229 -0
- package/src/core/gsap.ts +80 -65
- package/src/core/listbox.ts +332 -0
- package/src/core/mark.ts +29 -0
- package/src/core/position.ts +89 -0
- package/src/core/relative-time.ts +77 -0
- package/src/core/segment-field.ts +373 -0
- package/src/core/segments.ts +153 -0
- package/src/core/tree.ts +116 -0
- package/src/core/virtual.ts +79 -0
- package/src/css/tokens.css +186 -182
- package/src/elements/index.ts +186 -0
- package/src/index.ts +88 -0
- package/src/motion/liquid.ts +14 -4
- package/src/motion/micro.ts +248 -0
- package/src/motion/sheet.ts +88 -65
- package/src/motion/surface.ts +9 -0
- package/src/react/index.ts +71 -1
- package/dist/chunk-IKQ5FODN.js +0 -1617
- package/dist/chunk-IKQ5FODN.js.map +0 -1
- package/dist/chunk-J6OCFNGU.js +0 -177
- package/dist/chunk-J6OCFNGU.js.map +0 -1
- package/dist/chunk-TFNRIZHU.js +0 -3977
- package/dist/chunk-TFNRIZHU.js.map +0 -1
- package/dist/chunk-XAKC2QY7.js.map +0 -1
- package/dist/reveal-jsX-uwUz.d.ts +0 -625
- package/dist/store-DYb3tTsZ.d.ts +0 -195
|
@@ -132,12 +132,12 @@
|
|
|
132
132
|
order: -1;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
/* 1 ·
|
|
136
|
-
.mk-shell:has(> .mk-nav--
|
|
135
|
+
/* 1 · sidebar: a bordered sidebar, a filled pill for the current page. */
|
|
136
|
+
.mk-shell:has(> .mk-nav--sidebar) > .mk-shell__view {
|
|
137
137
|
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.mk-nav--
|
|
140
|
+
.mk-nav--sidebar {
|
|
141
141
|
display: flex;
|
|
142
142
|
flex-direction: column;
|
|
143
143
|
min-width: 270px;
|
|
@@ -146,26 +146,26 @@
|
|
|
146
146
|
z-index: 1;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.mk-nav--
|
|
149
|
+
.mk-nav--sidebar .mk-nav__buttons {
|
|
150
150
|
display: flex;
|
|
151
151
|
flex-direction: column;
|
|
152
152
|
gap: 4px;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.mk-nav--
|
|
155
|
+
.mk-nav--sidebar .mk-nav__actions {
|
|
156
156
|
margin-top: auto;
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.mk-nav--
|
|
161
|
+
.mk-nav--sidebar .mk-nav__options {
|
|
162
162
|
display: flex;
|
|
163
163
|
flex-direction: column;
|
|
164
164
|
gap: 4px;
|
|
165
165
|
margin-top: 24px;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.mk-nav--
|
|
168
|
+
.mk-nav--sidebar .mk-nav__label {
|
|
169
169
|
display: flex;
|
|
170
170
|
align-items: center;
|
|
171
171
|
height: 40px;
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
font-weight: 500;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.mk-nav--
|
|
179
|
+
.mk-nav--sidebar .mk-nav__button {
|
|
180
180
|
display: flex;
|
|
181
181
|
align-items: center;
|
|
182
182
|
gap: 8px;
|
|
@@ -193,34 +193,34 @@
|
|
|
193
193
|
0.15s background;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.mk-nav--
|
|
196
|
+
.mk-nav--sidebar .mk-nav__button:hover {
|
|
197
197
|
color: var(--md-sys-color-primary);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.mk-nav--
|
|
200
|
+
.mk-nav--sidebar .mk-nav__button[aria-current='page'] {
|
|
201
201
|
background: var(--md-sys-color-surface-container-high);
|
|
202
202
|
color: var(--md-sys-color-primary);
|
|
203
203
|
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
204
204
|
font-variation-settings: 'FILL' 1;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.mk-nav--
|
|
207
|
+
.mk-nav--sidebar.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
208
208
|
background: var(--md-sys-color-primary-container);
|
|
209
209
|
color: var(--md-sys-color-on-primary-container);
|
|
210
210
|
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.mk-nav--
|
|
213
|
+
.mk-nav--sidebar .mk-nav__button.mk-nav__button--first {
|
|
214
214
|
color: var(--md-sys-color-on-background);
|
|
215
215
|
margin-bottom: 32px;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.mk-nav--
|
|
218
|
+
.mk-nav--sidebar .mk-nav__button--first .mk-nav__name {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-grow: 1;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.mk-nav--
|
|
223
|
+
.mk-nav--sidebar .mk-nav__button--first::after {
|
|
224
224
|
content: '';
|
|
225
225
|
position: absolute;
|
|
226
226
|
left: -16px;
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
background: var(--md-sys-color-surface-container);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
/* 2 ·
|
|
234
|
-
.mk-nav--
|
|
233
|
+
/* 2 · pills: centred text pills that widen on hover and when current (spring padding). */
|
|
234
|
+
.mk-nav--pills {
|
|
235
235
|
display: flex;
|
|
236
236
|
flex-direction: column;
|
|
237
237
|
justify-content: center;
|
|
@@ -240,20 +240,20 @@
|
|
|
240
240
|
z-index: 1;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.mk-nav--
|
|
243
|
+
.mk-nav--pills .mk-nav__buttons {
|
|
244
244
|
display: flex;
|
|
245
245
|
flex-direction: column;
|
|
246
246
|
gap: 4px;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
.mk-nav--
|
|
249
|
+
.mk-nav--pills .mk-nav__actions {
|
|
250
250
|
position: absolute;
|
|
251
251
|
bottom: 16px;
|
|
252
252
|
display: flex;
|
|
253
253
|
gap: 8px;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.mk-nav--
|
|
256
|
+
.mk-nav--pills .mk-nav__button {
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
gap: 8px;
|
|
@@ -273,16 +273,16 @@
|
|
|
273
273
|
0.3s padding var(--mk-ease-swatch);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
.mk-nav--
|
|
276
|
+
.mk-nav--pills .mk-nav__icon {
|
|
277
277
|
display: none;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.mk-nav--
|
|
280
|
+
.mk-nav--pills .mk-nav__button:hover {
|
|
281
281
|
color: var(--md-sys-color-primary);
|
|
282
282
|
padding: 0 26px;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.mk-nav--
|
|
285
|
+
.mk-nav--pills .mk-nav__button[aria-current='page'] {
|
|
286
286
|
background: var(--md-sys-color-surface-container-highest);
|
|
287
287
|
color: var(--md-sys-color-on-background);
|
|
288
288
|
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
@@ -290,22 +290,22 @@
|
|
|
290
290
|
padding: 0 32px;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.mk-nav--
|
|
293
|
+
.mk-nav--pills.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
294
294
|
background: var(--md-sys-color-primary-container);
|
|
295
295
|
color: var(--md-sys-color-on-primary-container);
|
|
296
296
|
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.mk-nav--
|
|
299
|
+
.mk-nav--pills .mk-nav__name {
|
|
300
300
|
display: flex;
|
|
301
301
|
flex-grow: 1;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
.mk-nav--
|
|
304
|
+
.mk-nav--pills .mk-nav__button.mk-nav__button--first {
|
|
305
305
|
display: none;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
/* 3 ·
|
|
308
|
+
/* 3 · dock: a floating glass bar centred at the bottom. */
|
|
309
309
|
.mk-shell:has(> .mk-nav--dock) {
|
|
310
310
|
flex-direction: column;
|
|
311
311
|
overflow: auto;
|
|
@@ -410,23 +410,23 @@
|
|
|
410
410
|
color: var(--md-sys-color-on-primary-container);
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
/* 4 ·
|
|
414
|
-
.mk-shell:has(> .mk-nav--
|
|
413
|
+
/* 4 · card: the view is a raised card on a tinted shell; the current page is a white chip. */
|
|
414
|
+
.mk-shell:has(> .mk-nav--card) {
|
|
415
415
|
background: var(--md-sys-color-surface-container-low);
|
|
416
416
|
padding: 8px 8px 8px 0;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
.mk-shell:has(> .mk-nav--
|
|
419
|
+
.mk-shell:has(> .mk-nav--card) > .mk-shell__view {
|
|
420
420
|
background: var(--md-sys-color-background);
|
|
421
421
|
border-radius: 24px;
|
|
422
422
|
box-shadow: 0 0.5px 2.5px #0000001f;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
.mk-shell:has(> .mk-nav--
|
|
425
|
+
.mk-shell:has(> .mk-nav--card) > .mk-shell__view:not(:last-of-type) {
|
|
426
426
|
margin-right: 8px;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
.mk-nav--
|
|
429
|
+
.mk-nav--card {
|
|
430
430
|
display: flex;
|
|
431
431
|
flex-direction: column;
|
|
432
432
|
min-width: 270px;
|
|
@@ -434,24 +434,24 @@
|
|
|
434
434
|
z-index: 1;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
.mk-nav--
|
|
437
|
+
.mk-nav--card .mk-nav__buttons {
|
|
438
438
|
display: flex;
|
|
439
439
|
flex-direction: column;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
.mk-nav--
|
|
442
|
+
.mk-nav--card .mk-nav__actions {
|
|
443
443
|
margin-top: auto;
|
|
444
444
|
display: flex;
|
|
445
445
|
flex-direction: column;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
.mk-nav--
|
|
448
|
+
.mk-nav--card .mk-nav__options {
|
|
449
449
|
display: flex;
|
|
450
450
|
flex-direction: column;
|
|
451
451
|
margin-top: 24px;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
.mk-nav--
|
|
454
|
+
.mk-nav--card .mk-nav__label {
|
|
455
455
|
display: flex;
|
|
456
456
|
align-items: center;
|
|
457
457
|
height: 40px;
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
font-weight: 500;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
.mk-nav--
|
|
465
|
+
.mk-nav--card .mk-nav__button {
|
|
466
466
|
--mk-nav-icon-size: 16px;
|
|
467
467
|
display: flex;
|
|
468
468
|
align-items: center;
|
|
@@ -480,11 +480,11 @@
|
|
|
480
480
|
0.15s background;
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.mk-nav--
|
|
483
|
+
.mk-nav--card .mk-nav__button:hover {
|
|
484
484
|
color: var(--md-sys-color-primary);
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
.mk-nav--
|
|
487
|
+
.mk-nav--card .mk-nav__button[aria-current='page'] {
|
|
488
488
|
background: var(--md-sys-color-background);
|
|
489
489
|
color: color-mix(in srgb, var(--md-sys-color-primary) 80%, var(--md-sys-color-primary-container) 90%);
|
|
490
490
|
box-shadow:
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
font-variation-settings: 'FILL' 1;
|
|
495
495
|
}
|
|
496
496
|
|
|
497
|
-
.mk-nav--
|
|
497
|
+
.mk-nav--card.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
498
498
|
background: linear-gradient(
|
|
499
499
|
color-mix(in srgb, var(--md-sys-color-primary-container) 100%, var(--md-sys-color-background) 40%),
|
|
500
500
|
var(--md-sys-color-primary-container)
|
|
@@ -506,30 +506,30 @@
|
|
|
506
506
|
inset 0 1.8px #ffffff4d;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
.mk-nav--
|
|
509
|
+
.mk-nav--card .mk-nav__button.mk-nav__button--first {
|
|
510
510
|
color: var(--md-sys-color-on-background);
|
|
511
511
|
margin-bottom: 16px;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
.mk-nav--
|
|
514
|
+
.mk-nav--card .mk-nav__button--first .mk-nav__name {
|
|
515
515
|
display: flex;
|
|
516
516
|
flex-grow: 1;
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
-
/* 5 ·
|
|
520
|
-
.mk-shell:has(> .mk-nav--
|
|
519
|
+
/* 5 · rail: a rail of round 56 px buttons; the current one squares off (springy radius). */
|
|
520
|
+
.mk-shell:has(> .mk-nav--rail) {
|
|
521
521
|
padding: 8px;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.mk-shell:has(> .mk-nav--
|
|
524
|
+
.mk-shell:has(> .mk-nav--rail) > .mk-shell__view {
|
|
525
525
|
background: var(--md-sys-color-background);
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
.mk-shell:has(> .mk-nav--
|
|
528
|
+
.mk-shell:has(> .mk-nav--rail) > .mk-shell__view:not(:last-of-type) .mk-shell__content {
|
|
529
529
|
padding-right: 0 !important;
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
.mk-nav--
|
|
532
|
+
.mk-nav--rail {
|
|
533
533
|
display: flex;
|
|
534
534
|
flex-direction: column;
|
|
535
535
|
width: auto;
|
|
@@ -537,19 +537,19 @@
|
|
|
537
537
|
z-index: 1;
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
.mk-nav--
|
|
540
|
+
.mk-nav--rail .mk-nav__buttons {
|
|
541
541
|
display: flex;
|
|
542
542
|
flex-direction: column;
|
|
543
543
|
gap: 0;
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
.mk-nav--
|
|
546
|
+
.mk-nav--rail .mk-nav__actions {
|
|
547
547
|
margin-top: auto;
|
|
548
548
|
display: flex;
|
|
549
549
|
flex-direction: column;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
-
.mk-nav--
|
|
552
|
+
.mk-nav--rail .mk-nav__button {
|
|
553
553
|
display: flex;
|
|
554
554
|
align-items: center;
|
|
555
555
|
justify-content: center;
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
background 0.25s;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
.mk-nav--
|
|
571
|
+
.mk-nav--rail .mk-nav__name {
|
|
572
572
|
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
573
573
|
position: absolute;
|
|
574
574
|
width: 1px;
|
|
@@ -578,11 +578,11 @@
|
|
|
578
578
|
white-space: nowrap;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
.mk-nav--
|
|
581
|
+
.mk-nav--rail .mk-nav__button:hover {
|
|
582
582
|
color: var(--md-sys-color-primary);
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
.mk-nav--
|
|
585
|
+
.mk-nav--rail .mk-nav__button[aria-current='page'] {
|
|
586
586
|
background: var(--md-sys-color-surface-container-highest);
|
|
587
587
|
color: var(--md-sys-color-primary);
|
|
588
588
|
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
@@ -590,26 +590,26 @@
|
|
|
590
590
|
border-radius: 12px;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
.mk-nav--
|
|
593
|
+
.mk-nav--rail.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
594
594
|
background: var(--md-sys-color-primary-container);
|
|
595
595
|
color: var(--md-sys-color-on-primary-container);
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
.mk-nav--
|
|
598
|
+
.mk-nav--rail .mk-nav__button.mk-nav__button--first {
|
|
599
599
|
color: var(--md-sys-color-on-background);
|
|
600
600
|
margin-bottom: 8px;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
.mk-nav--
|
|
603
|
+
.mk-nav--rail .mk-nav__button--first .mk-nav__icon {
|
|
604
604
|
display: none;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
/* 6 ·
|
|
608
|
-
.mk-shell:has(> .mk-nav--
|
|
607
|
+
/* 6 · wash: a soft sidebar with a faint primary wash on the current page. */
|
|
608
|
+
.mk-shell:has(> .mk-nav--wash) > .mk-shell__view {
|
|
609
609
|
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
.mk-nav--
|
|
612
|
+
.mk-nav--wash {
|
|
613
613
|
display: flex;
|
|
614
614
|
flex-direction: column;
|
|
615
615
|
min-width: 270px;
|
|
@@ -617,24 +617,24 @@
|
|
|
617
617
|
z-index: 1;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
.mk-nav--
|
|
620
|
+
.mk-nav--wash .mk-nav__buttons {
|
|
621
621
|
display: flex;
|
|
622
622
|
flex-direction: column;
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
.mk-nav--
|
|
625
|
+
.mk-nav--wash .mk-nav__actions {
|
|
626
626
|
margin-top: auto;
|
|
627
627
|
display: flex;
|
|
628
628
|
flex-direction: column;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
.mk-nav--
|
|
631
|
+
.mk-nav--wash .mk-nav__options {
|
|
632
632
|
display: flex;
|
|
633
633
|
flex-direction: column;
|
|
634
634
|
margin-top: 24px;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
.mk-nav--
|
|
637
|
+
.mk-nav--wash .mk-nav__label {
|
|
638
638
|
display: flex;
|
|
639
639
|
align-items: center;
|
|
640
640
|
height: 40px;
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
font-weight: 500;
|
|
646
646
|
}
|
|
647
647
|
|
|
648
|
-
.mk-nav--
|
|
648
|
+
.mk-nav--wash .mk-nav__button {
|
|
649
649
|
display: flex;
|
|
650
650
|
align-items: center;
|
|
651
651
|
gap: 8px;
|
|
@@ -662,18 +662,18 @@
|
|
|
662
662
|
0.15s background;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
.mk-nav--
|
|
665
|
+
.mk-nav--wash .mk-nav__button:hover {
|
|
666
666
|
color: var(--md-sys-color-primary);
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
.mk-nav--
|
|
669
|
+
.mk-nav--wash .mk-nav__button[aria-current='page'] {
|
|
670
670
|
background: color-mix(in srgb, var(--md-sys-color-primary-container) 10%, var(--md-sys-color-background) 90%);
|
|
671
671
|
color: var(--md-sys-color-primary);
|
|
672
672
|
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
673
673
|
font-variation-settings: 'FILL' 1;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
.mk-nav--
|
|
676
|
+
.mk-nav--wash.mk-nav--accent .mk-nav__button {
|
|
677
677
|
--mk-nav-icon-size: 16px;
|
|
678
678
|
padding: 8px 12px;
|
|
679
679
|
transition:
|
|
@@ -681,11 +681,11 @@
|
|
|
681
681
|
0.15s background;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
|
-
.mk-nav--
|
|
684
|
+
.mk-nav--wash.mk-nav--accent .mk-nav__label {
|
|
685
685
|
padding: 0 12px;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
.mk-nav--
|
|
688
|
+
.mk-nav--wash.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
689
689
|
background: var(--md-sys-color-background);
|
|
690
690
|
color: color-mix(in srgb, var(--md-sys-color-primary) 80%, var(--md-sys-color-primary-container) 90%);
|
|
691
691
|
box-shadow:
|
|
@@ -693,22 +693,22 @@
|
|
|
693
693
|
0 0.5px 2.5px #00000014;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
.mk-nav--
|
|
696
|
+
.mk-nav--wash .mk-nav__button.mk-nav__button--first {
|
|
697
697
|
color: var(--md-sys-color-on-background);
|
|
698
698
|
margin-bottom: 16px;
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
.mk-nav--
|
|
701
|
+
.mk-nav--wash .mk-nav__button--first .mk-nav__name {
|
|
702
702
|
display: flex;
|
|
703
703
|
flex-grow: 1;
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
/* 7 ·
|
|
707
|
-
.mk-shell:has(> .mk-nav--
|
|
706
|
+
/* 7 · magnify: big words; the hovered one and its neighbours grow like a dock. */
|
|
707
|
+
.mk-shell:has(> .mk-nav--magnify) > .mk-shell__view {
|
|
708
708
|
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
.mk-nav--
|
|
711
|
+
.mk-nav--magnify {
|
|
712
712
|
display: flex;
|
|
713
713
|
flex-direction: column;
|
|
714
714
|
min-width: 270px;
|
|
@@ -717,25 +717,25 @@
|
|
|
717
717
|
z-index: 1;
|
|
718
718
|
}
|
|
719
719
|
|
|
720
|
-
.mk-nav--
|
|
720
|
+
.mk-nav--magnify .mk-nav__buttons {
|
|
721
721
|
display: flex;
|
|
722
722
|
flex-direction: column;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
-
.mk-nav--
|
|
725
|
+
.mk-nav--magnify .mk-nav__actions {
|
|
726
726
|
margin-top: auto;
|
|
727
727
|
display: flex;
|
|
728
728
|
flex-direction: column;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
.mk-nav--
|
|
731
|
+
.mk-nav--magnify .mk-nav__options {
|
|
732
732
|
display: flex;
|
|
733
733
|
flex-direction: column;
|
|
734
734
|
gap: 4px;
|
|
735
735
|
margin-top: 24px;
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
.mk-nav--
|
|
738
|
+
.mk-nav--magnify .mk-nav__label {
|
|
739
739
|
display: flex;
|
|
740
740
|
align-items: center;
|
|
741
741
|
height: 40px;
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
font-weight: 500;
|
|
746
746
|
}
|
|
747
747
|
|
|
748
|
-
.mk-nav--
|
|
748
|
+
.mk-nav--magnify .mk-nav__button {
|
|
749
749
|
display: flex;
|
|
750
750
|
align-items: center;
|
|
751
751
|
gap: 8px;
|
|
@@ -765,35 +765,35 @@
|
|
|
765
765
|
transform-origin: left;
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
.mk-nav--
|
|
768
|
+
.mk-nav--magnify .mk-nav__icon {
|
|
769
769
|
display: none;
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
-
.mk-nav--
|
|
772
|
+
.mk-nav--magnify .mk-nav__button:hover {
|
|
773
773
|
color: var(--md-sys-color-primary-container);
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
-
.mk-nav--
|
|
776
|
+
.mk-nav--magnify .mk-nav__button:not(.mk-nav__button--first):has(+ * + *:hover) {
|
|
777
777
|
transform: scale(1.03);
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
.mk-nav--
|
|
780
|
+
.mk-nav--magnify .mk-nav__button:not(.mk-nav__button--first):has(+ *:hover) {
|
|
781
781
|
transform: scale(1.09);
|
|
782
782
|
}
|
|
783
783
|
|
|
784
|
-
.mk-nav--
|
|
784
|
+
.mk-nav--magnify .mk-nav__button:hover {
|
|
785
785
|
transform: scale(1.2);
|
|
786
786
|
}
|
|
787
787
|
|
|
788
|
-
.mk-nav--
|
|
788
|
+
.mk-nav--magnify .mk-nav__button:not(.mk-nav__button--first):hover + * {
|
|
789
789
|
transform: scale(1.09);
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
.mk-nav--
|
|
792
|
+
.mk-nav--magnify .mk-nav__button:not(.mk-nav__button--first):hover + * + * {
|
|
793
793
|
transform: scale(1.03);
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
.mk-nav--
|
|
796
|
+
.mk-nav--magnify .mk-nav__button[aria-current='page'] {
|
|
797
797
|
color: var(--md-sys-color-primary);
|
|
798
798
|
font-size: 28px;
|
|
799
799
|
font-weight: 600;
|
|
@@ -801,13 +801,13 @@
|
|
|
801
801
|
font-variation-settings: 'FILL' 1;
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
.mk-nav--
|
|
804
|
+
.mk-nav--magnify.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
805
805
|
background: var(--md-sys-color-primary-container);
|
|
806
806
|
color: var(--md-sys-color-on-primary-container);
|
|
807
807
|
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
.mk-nav--
|
|
810
|
+
.mk-nav--magnify .mk-nav__button.mk-nav__button--first {
|
|
811
811
|
color: var(--md-sys-color-on-background);
|
|
812
812
|
width: 40px;
|
|
813
813
|
padding: 0;
|
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
margin: 8px;
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
.mk-nav--
|
|
822
|
+
.mk-nav--magnify .mk-nav__button--first .mk-nav__name {
|
|
823
823
|
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
824
824
|
position: absolute;
|
|
825
825
|
width: 1px;
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
white-space: nowrap;
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
.mk-nav--
|
|
832
|
+
.mk-nav--magnify .mk-nav__button--first .mk-nav__icon {
|
|
833
833
|
display: none;
|
|
834
834
|
}
|
|
835
835
|
}
|
|
@@ -955,11 +955,11 @@
|
|
|
955
955
|
}
|
|
956
956
|
|
|
957
957
|
/* Each style's view header. */
|
|
958
|
-
.mk-shell:has(> .mk-nav--
|
|
958
|
+
.mk-shell:has(> .mk-nav--sidebar) .mk-shell__title {
|
|
959
959
|
font-size: var(--md-sys-typescale-headline-small-size);
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
.mk-shell:has(> .mk-nav--
|
|
962
|
+
.mk-shell:has(> .mk-nav--sidebar) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
963
963
|
position: sticky;
|
|
964
964
|
top: 0;
|
|
965
965
|
z-index: 1;
|
|
@@ -970,13 +970,13 @@
|
|
|
970
970
|
padding-top: max(16px, env(safe-area-inset-top));
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
.mk-shell:has(> .mk-nav--
|
|
974
|
-
.mk-shell:has(> .mk-nav--
|
|
973
|
+
.mk-shell:has(> .mk-nav--pills) .mk-shell__title,
|
|
974
|
+
.mk-shell:has(> .mk-nav--rail) .mk-shell__title {
|
|
975
975
|
font-size: var(--md-sys-typescale-title-small-size);
|
|
976
976
|
}
|
|
977
977
|
|
|
978
|
-
.mk-shell:has(> .mk-nav--
|
|
979
|
-
.mk-shell:has(> .mk-nav--
|
|
978
|
+
.mk-shell:has(> .mk-nav--pills) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header,
|
|
979
|
+
.mk-shell:has(> .mk-nav--rail) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
980
980
|
display: flex;
|
|
981
981
|
align-items: center;
|
|
982
982
|
margin: 16px 16px -8px;
|
|
@@ -991,7 +991,7 @@
|
|
|
991
991
|
padding: 0;
|
|
992
992
|
}
|
|
993
993
|
|
|
994
|
-
.mk-shell:has(> .mk-nav--
|
|
994
|
+
.mk-shell:has(> .mk-nav--pills) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
995
995
|
padding-top: env(safe-area-inset-top);
|
|
996
996
|
}
|
|
997
997
|
|
|
@@ -999,11 +999,11 @@
|
|
|
999
999
|
margin-bottom: -24px;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
.mk-shell:has(> .mk-nav--
|
|
1002
|
+
.mk-shell:has(> .mk-nav--card) .mk-shell__title {
|
|
1003
1003
|
font-size: var(--md-sys-typescale-title-large-size);
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
-
.mk-shell:has(> .mk-nav--
|
|
1006
|
+
.mk-shell:has(> .mk-nav--card) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1007
1007
|
position: sticky;
|
|
1008
1008
|
top: 0;
|
|
1009
1009
|
z-index: 1;
|
|
@@ -1017,11 +1017,11 @@
|
|
|
1017
1017
|
padding-top: max(12px, env(safe-area-inset-top));
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
.mk-shell:has(> .mk-nav--
|
|
1020
|
+
.mk-shell:has(> .mk-nav--wash) .mk-shell__title {
|
|
1021
1021
|
font-size: var(--md-sys-typescale-headline-small-size);
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
.mk-shell:has(> .mk-nav--
|
|
1024
|
+
.mk-shell:has(> .mk-nav--wash) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1025
1025
|
position: sticky;
|
|
1026
1026
|
top: 0;
|
|
1027
1027
|
z-index: 1;
|
|
@@ -1032,7 +1032,7 @@
|
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
1034
|
@media only screen and (max-width: 679.98px) {
|
|
1035
|
-
.mk-shell:has(> .mk-nav--
|
|
1035
|
+
.mk-shell:has(> .mk-nav--rail) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1036
1036
|
margin: 0;
|
|
1037
1037
|
border-radius: 0;
|
|
1038
1038
|
background: none;
|