@askrjs/themes 0.0.9 → 0.0.10
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 +19 -13
- package/THEMING.md +24 -18
- package/dist/components/_internal/block-layout.d.ts +49 -0
- package/dist/components/_internal/block-layout.js +210 -0
- package/dist/components/_internal/block-layout.js.map +1 -0
- package/dist/components/alert/alert.js +2 -2
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/alert.types.d.ts +0 -1
- package/dist/components/aside/aside.d.ts +7 -0
- package/dist/components/aside/aside.js +16 -0
- package/dist/components/aside/aside.js.map +1 -0
- package/dist/components/aside/aside.types.d.ts +6 -0
- package/dist/components/aside/index.d.ts +2 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -1
- package/dist/components/badge/index.d.ts +1 -2
- package/dist/components/block/block.d.ts +2 -3
- package/dist/components/block/block.js +16 -46
- package/dist/components/block/block.js.map +1 -1
- package/dist/components/block/block.types.d.ts +13 -23
- package/dist/components/block/index.d.ts +3 -3
- package/dist/components/brand/brand.d.ts +9 -0
- package/dist/components/brand/brand.js +49 -0
- package/dist/components/brand/brand.js.map +1 -0
- package/dist/components/brand/brand.types.d.ts +31 -0
- package/dist/components/brand/index.d.ts +2 -0
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/card/card.js +6 -11
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/card/card.types.d.ts +10 -12
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/catalog.d.ts +156 -0
- package/dist/components/catalog.js +723 -0
- package/dist/components/catalog.js.map +1 -0
- package/dist/components/container/container.d.ts +2 -3
- package/dist/components/container/container.js +8 -71
- package/dist/components/container/container.js.map +1 -1
- package/dist/components/container/container.types.d.ts +5 -24
- package/dist/components/container/index.d.ts +2 -3
- package/dist/components/empty-state/empty-state.js +34 -28
- package/dist/components/empty-state/empty-state.js.map +1 -1
- package/dist/components/empty-state/empty-state.types.d.ts +3 -6
- package/dist/components/field/field.js +4 -2
- package/dist/components/field/field.js.map +1 -1
- package/dist/components/field/field.types.d.ts +1 -0
- package/dist/components/footer/footer.d.ts +13 -0
- package/dist/components/footer/footer.js +86 -0
- package/dist/components/footer/footer.js.map +1 -0
- package/dist/components/footer/footer.types.d.ts +37 -0
- package/dist/components/footer/index.d.ts +2 -0
- package/dist/components/grid/grid.d.ts +7 -0
- package/dist/components/grid/grid.js +76 -0
- package/dist/components/grid/grid.js.map +1 -0
- package/dist/components/grid/grid.types.d.ts +19 -0
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/header/header.js +9 -6
- package/dist/components/header/header.js.map +1 -1
- package/dist/components/header/header.types.d.ts +5 -5
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/main/index.d.ts +2 -0
- package/dist/components/main/main.d.ts +7 -0
- package/dist/components/main/main.js +17 -0
- package/dist/components/main/main.js.map +1 -0
- package/dist/components/main/main.types.d.ts +6 -0
- package/dist/components/nav/index.d.ts +2 -2
- package/dist/components/nav/nav.d.ts +8 -6
- package/dist/components/nav/nav.js +93 -58
- package/dist/components/nav/nav.js.map +1 -1
- package/dist/components/nav/nav.types.d.ts +16 -20
- package/dist/components/navbar/index.d.ts +4 -5
- package/dist/components/navbar/navbar.d.ts +3 -38
- package/dist/components/navbar/navbar.js +103 -210
- package/dist/components/navbar/navbar.js.map +1 -1
- package/dist/components/navbar/navbar.types.d.ts +14 -24
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/page.d.ts +7 -0
- package/dist/components/page/page.js +22 -0
- package/dist/components/page/page.js.map +1 -0
- package/dist/components/page/page.types.d.ts +6 -0
- package/dist/components/page-header/index.d.ts +2 -0
- package/dist/components/page-header/page-header.d.ts +7 -0
- package/dist/components/page-header/page-header.js +37 -0
- package/dist/components/page-header/page-header.js.map +1 -0
- package/dist/components/page-header/page-header.types.d.ts +10 -0
- package/dist/components/section/index.d.ts +2 -3
- package/dist/components/section/section.d.ts +2 -3
- package/dist/components/section/section.js +7 -30
- package/dist/components/section/section.js.map +1 -1
- package/dist/components/section/section.types.d.ts +3 -20
- package/dist/components/separator/index.d.ts +1 -2
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/sidebar/sidebar.d.ts +17 -2
- package/dist/components/sidebar/sidebar.js +115 -225
- package/dist/components/sidebar/sidebar.js.map +1 -1
- package/dist/components/sidebar/sidebar.types.d.ts +21 -23
- package/dist/components/skeleton/index.d.ts +1 -2
- package/dist/components/skeleton/skeleton.js +12 -1
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/skeleton/skeleton.types.d.ts +2 -0
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/spinner.js +6 -3
- package/dist/components/spinner/spinner.js.map +1 -1
- package/dist/components/spinner/spinner.types.d.ts +3 -1
- package/dist/components/stat/index.d.ts +2 -0
- package/dist/components/stat/stat.d.ts +10 -0
- package/dist/components/stat/stat.js +52 -0
- package/dist/components/stat/stat.js.map +1 -0
- package/dist/components/stat/stat.types.d.ts +24 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/text.d.ts +7 -0
- package/dist/components/text/text.js +28 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/text/text.types.d.ts +26 -0
- package/dist/components/theme/theme.js +50 -8
- package/dist/components/theme/theme.js.map +1 -1
- package/dist/components/toolbar/index.d.ts +2 -0
- package/dist/components/toolbar/toolbar.d.ts +7 -0
- package/dist/components/toolbar/toolbar.js +30 -0
- package/dist/components/toolbar/toolbar.js.map +1 -0
- package/dist/components/toolbar/toolbar.types.d.ts +9 -0
- package/dist/components.d.ts +60 -0
- package/dist/components.js +35 -0
- package/dist/controls.d.ts +2 -2
- package/dist/controls.js +3 -3
- package/dist/core.d.ts +36 -0
- package/dist/core.js +19 -0
- package/dist/navs.d.ts +3 -15
- package/dist/navs.js +2 -8
- package/dist/overlays.d.ts +2 -2
- package/dist/overlays.js +2 -2
- package/dist/surfaces.d.ts +10 -8
- package/dist/surfaces.js +6 -4
- package/dist/themes/default/index.css +3661 -3945
- package/package.json +235 -69
- package/src/components/_internal/block-layout.ts +354 -0
- package/src/components/alert/alert.tsx +1 -2
- package/src/components/alert/alert.types.ts +0 -1
- package/src/components/aside/aside.tsx +12 -0
- package/src/components/aside/aside.types.ts +3 -0
- package/src/components/aside/index.ts +2 -0
- package/src/components/aspect-ratio/aspect-ratio.tsx +1 -1
- package/src/components/badge/index.ts +0 -1
- package/src/components/block/block.a11y.ts +0 -6
- package/src/components/block/block.tsx +40 -56
- package/src/components/block/block.types.ts +59 -41
- package/src/components/block/index.ts +1 -10
- package/src/components/brand/brand.tsx +61 -0
- package/src/components/brand/brand.types.ts +39 -0
- package/src/components/brand/index.ts +2 -0
- package/src/components/card/card.tsx +6 -18
- package/src/components/card/card.types.ts +9 -11
- package/src/components/card/index.ts +2 -3
- package/src/components/catalog.tsx +713 -0
- package/src/components/container/container.a11y.ts +0 -5
- package/src/components/container/container.tsx +18 -128
- package/src/components/container/container.types.ts +3 -32
- package/src/components/container/index.ts +1 -8
- package/src/components/empty-state/empty-state.tsx +17 -35
- package/src/components/empty-state/empty-state.types.ts +3 -5
- package/src/components/field/field.tsx +3 -1
- package/src/components/field/field.types.ts +1 -0
- package/src/components/footer/footer.tsx +88 -0
- package/src/components/footer/footer.types.ts +40 -0
- package/src/components/footer/index.ts +10 -0
- package/src/components/grid/grid.tsx +113 -0
- package/src/components/grid/grid.types.ts +20 -0
- package/src/components/grid/index.ts +2 -0
- package/src/components/header/header.tsx +10 -7
- package/src/components/header/header.types.ts +4 -4
- package/src/components/header/index.ts +1 -2
- package/src/components/main/index.ts +2 -0
- package/src/components/main/main.tsx +12 -0
- package/src/components/main/main.types.ts +3 -0
- package/src/components/nav/index.ts +7 -9
- package/src/components/nav/nav.tsx +153 -110
- package/src/components/nav/nav.types.ts +26 -27
- package/src/components/navbar/index.ts +4 -11
- package/src/components/navbar/navbar.tsx +103 -265
- package/src/components/navbar/navbar.types.ts +16 -42
- package/src/components/page/index.ts +2 -0
- package/src/components/page/page.tsx +17 -0
- package/src/components/page/page.types.ts +3 -0
- package/src/components/page-header/index.ts +2 -0
- package/src/components/page-header/page-header.tsx +29 -0
- package/src/components/page-header/page-header.types.ts +7 -0
- package/src/components/section/index.ts +1 -7
- package/src/components/section/section.a11y.ts +0 -1
- package/src/components/section/section.tsx +9 -35
- package/src/components/section/section.types.ts +2 -22
- package/src/components/separator/index.ts +4 -9
- package/src/components/sidebar/index.ts +27 -5
- package/src/components/sidebar/sidebar.tsx +146 -336
- package/src/components/sidebar/sidebar.types.ts +21 -28
- package/src/components/skeleton/index.ts +1 -2
- package/src/components/skeleton/skeleton.tsx +33 -1
- package/src/components/skeleton/skeleton.types.ts +2 -0
- package/src/components/spinner/index.ts +1 -1
- package/src/components/spinner/spinner.tsx +7 -2
- package/src/components/spinner/spinner.types.ts +3 -0
- package/src/components/stat/index.ts +2 -0
- package/src/components/stat/stat.tsx +47 -0
- package/src/components/stat/stat.types.ts +24 -0
- package/src/components/text/index.ts +2 -0
- package/src/components/text/text.tsx +39 -0
- package/src/components/text/text.types.ts +35 -0
- package/src/components/theme/theme.tsx +83 -9
- package/src/components/toolbar/index.ts +2 -0
- package/src/components/toolbar/toolbar.tsx +24 -0
- package/src/components/toolbar/toolbar.types.ts +6 -0
- package/src/components.ts +289 -0
- package/src/controls.ts +69 -2
- package/src/core.ts +42 -0
- package/src/navs.ts +9 -24
- package/src/overlays.ts +101 -59
- package/src/parity.ts +125 -0
- package/src/surfaces.ts +60 -13
- package/src/themes/default/index.css +11 -14
- package/src/themes/default/styles/actions/button-group.css +6 -6
- package/src/themes/default/styles/actions/button.css +98 -60
- package/src/themes/default/styles/actions/toggle-group.css +61 -25
- package/src/themes/default/styles/base/text.css +87 -0
- package/src/themes/default/styles/base/typography.css +24 -117
- package/src/themes/default/styles/base/utilities.css +0 -250
- package/src/themes/default/styles/disclosure/accordion.css +35 -28
- package/src/themes/default/styles/display/alert.css +7 -7
- package/src/themes/default/styles/display/badge.css +8 -9
- package/src/themes/default/styles/display/card.css +10 -47
- package/src/themes/default/styles/display/catalog.css +753 -0
- package/src/themes/default/styles/display/coverage.css +30 -305
- package/src/themes/default/styles/display/progress-circle.css +2 -0
- package/src/themes/default/styles/display/scroll-area.css +29 -24
- package/src/themes/default/styles/display/spinner.css +38 -1
- package/src/themes/default/styles/display/stat.css +21 -0
- package/src/themes/default/styles/display/table.css +37 -12
- package/src/themes/default/styles/display/virtual-list.css +24 -13
- package/src/themes/default/styles/display/virtual-table.css +58 -36
- package/src/themes/default/styles/forms/checkbox.css +12 -21
- package/src/themes/default/styles/forms/input-group.css +2 -1
- package/src/themes/default/styles/forms/input.css +11 -12
- package/src/themes/default/styles/forms/radio-group.css +44 -27
- package/src/themes/default/styles/forms/select.css +27 -35
- package/src/themes/default/styles/forms/slider.css +61 -47
- package/src/themes/default/styles/forms/switch.css +18 -23
- package/src/themes/default/styles/forms/textarea.css +12 -12
- package/src/themes/default/styles/layout/block.css +96 -12
- package/src/themes/default/styles/layout/grid.css +78 -0
- package/src/themes/default/styles/layout/layout.css +502 -772
- package/src/themes/default/styles/layout/patterns.css +0 -155
- package/src/themes/default/styles/navigation/nav.css +104 -154
- package/src/themes/default/styles/overlays/alert-dialog.css +2 -2
- package/src/themes/default/styles/overlays/dialog.css +76 -22
- package/src/themes/default/styles/overlays/dropdown.css +108 -31
- package/src/themes/default/styles/overlays/hover-card.css +39 -17
- package/src/themes/default/styles/overlays/menubar.css +223 -0
- package/src/themes/default/styles/overlays/popover.css +69 -23
- package/src/themes/default/styles/overlays/toast.css +91 -33
- package/src/themes/default/styles/overlays/tooltip.css +88 -14
- package/src/themes/default/styles/shell/brand.css +48 -0
- package/src/themes/default/styles/shell/footer.css +72 -0
- package/src/themes/default/styles/shell/header.css +7 -50
- package/src/themes/default/styles/shell/navbar.css +226 -454
- package/src/themes/default/styles/shell/sidebar.css +243 -829
- package/src/themes/default/tokens.css +145 -98
- package/templates/theme/index.css +11 -14
- package/templates/theme/styles/actions/button-group.css +6 -6
- package/templates/theme/styles/actions/button.css +98 -60
- package/templates/theme/styles/actions/toggle-group.css +61 -25
- package/templates/theme/styles/base/text.css +87 -0
- package/templates/theme/styles/base/typography.css +24 -117
- package/templates/theme/styles/disclosure/accordion.css +35 -28
- package/templates/theme/styles/display/alert.css +7 -7
- package/templates/theme/styles/display/badge.css +8 -9
- package/templates/theme/styles/display/card.css +10 -47
- package/templates/theme/styles/display/catalog.css +753 -0
- package/templates/theme/styles/display/coverage.css +30 -305
- package/templates/theme/styles/display/scroll-area.css +29 -24
- package/templates/theme/styles/display/spinner.css +38 -1
- package/templates/theme/styles/display/stat.css +21 -0
- package/templates/theme/styles/display/table.css +37 -12
- package/templates/theme/styles/display/virtual-list.css +24 -13
- package/templates/theme/styles/display/virtual-table.css +58 -36
- package/templates/theme/styles/forms/checkbox.css +12 -21
- package/templates/theme/styles/forms/input.css +11 -12
- package/templates/theme/styles/forms/radio-group.css +44 -27
- package/templates/theme/styles/forms/select.css +27 -35
- package/templates/theme/styles/forms/slider.css +61 -47
- package/templates/theme/styles/forms/switch.css +18 -23
- package/templates/theme/styles/forms/textarea.css +12 -12
- package/templates/theme/styles/layout/block.css +96 -12
- package/templates/theme/styles/layout/grid.css +78 -0
- package/templates/theme/styles/layout/layout.css +676 -1
- package/templates/theme/styles/layout/patterns.css +0 -155
- package/templates/theme/styles/navigation/nav.css +104 -154
- package/templates/theme/styles/overlays/alert-dialog.css +2 -2
- package/templates/theme/styles/overlays/dialog.css +76 -22
- package/templates/theme/styles/overlays/dropdown.css +108 -31
- package/templates/theme/styles/overlays/hover-card.css +39 -17
- package/templates/theme/styles/overlays/menubar.css +223 -0
- package/templates/theme/styles/overlays/popover.css +69 -23
- package/templates/theme/styles/overlays/toast.css +80 -33
- package/templates/theme/styles/overlays/tooltip.css +88 -14
- package/templates/theme/styles/shell/brand.css +48 -0
- package/templates/theme/styles/shell/footer.css +72 -0
- package/templates/theme/styles/shell/header.css +7 -50
- package/templates/theme/styles/shell/navbar.css +226 -454
- package/templates/theme/styles/shell/sidebar.css +197 -779
- package/templates/theme/tokens.css +145 -98
- package/dist/components/_internal/box-layout.js +0 -116
- package/dist/components/_internal/box-layout.js.map +0 -1
- package/dist/components/_internal/layout.d.ts +0 -9
- package/dist/components/_internal/layout.js +0 -142
- package/dist/components/_internal/layout.js.map +0 -1
- package/dist/components/badge/badge.a11y.d.ts +0 -17
- package/dist/components/block/block.a11y.d.ts +0 -20
- package/dist/components/box/box.a11y.d.ts +0 -14
- package/dist/components/box/box.d.ts +0 -9
- package/dist/components/box/box.js +0 -36
- package/dist/components/box/box.js.map +0 -1
- package/dist/components/box/box.types.d.ts +0 -72
- package/dist/components/box/index.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.a11y.d.ts +0 -17
- package/dist/components/breadcrumb/breadcrumb.a11y.js +0 -15
- package/dist/components/breadcrumb/breadcrumb.a11y.js.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -18
- package/dist/components/breadcrumb/breadcrumb.js +0 -113
- package/dist/components/breadcrumb/breadcrumb.js.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.types.d.ts +0 -65
- package/dist/components/breadcrumb/index.d.ts +0 -3
- package/dist/components/container/container.a11y.d.ts +0 -19
- package/dist/components/flex/flex.a11y.d.ts +0 -22
- package/dist/components/flex/flex.d.ts +0 -9
- package/dist/components/flex/flex.js +0 -115
- package/dist/components/flex/flex.js.map +0 -1
- package/dist/components/flex/flex.types.d.ts +0 -42
- package/dist/components/flex/index.d.ts +0 -3
- package/dist/components/header/header.a11y.d.ts +0 -14
- package/dist/components/header/header.a11y.js +0 -12
- package/dist/components/header/header.a11y.js.map +0 -1
- package/dist/components/inline/index.d.ts +0 -8
- package/dist/components/inline/index.js +0 -13
- package/dist/components/inline/index.js.map +0 -1
- package/dist/components/list-group/index.d.ts +0 -2
- package/dist/components/list-group/list-group.d.ts +0 -9
- package/dist/components/list-group/list-group.js +0 -43
- package/dist/components/list-group/list-group.js.map +0 -1
- package/dist/components/list-group/list-group.types.d.ts +0 -32
- package/dist/components/navbar/navbar-panel.js +0 -42
- package/dist/components/navbar/navbar-panel.js.map +0 -1
- package/dist/components/navbar/navbar.context.js +0 -13
- package/dist/components/navbar/navbar.context.js.map +0 -1
- package/dist/components/navbar/navbar.render.js +0 -26
- package/dist/components/navbar/navbar.render.js.map +0 -1
- package/dist/components/navbar/navbar.shared.js +0 -18
- package/dist/components/navbar/navbar.shared.js.map +0 -1
- package/dist/components/pagination/index.d.ts +0 -2
- package/dist/components/pagination/pagination.d.ts +0 -11
- package/dist/components/pagination/pagination.js +0 -95
- package/dist/components/pagination/pagination.js.map +0 -1
- package/dist/components/pagination/pagination.types.d.ts +0 -40
- package/dist/components/section/section.a11y.d.ts +0 -15
- package/dist/components/separator/separator.a11y.d.ts +0 -17
- package/dist/components/separator/separator.a11y.js +0 -15
- package/dist/components/separator/separator.a11y.js.map +0 -1
- package/dist/components/shell/index.d.ts +0 -3
- package/dist/components/shell/shell-nav.types.d.ts +0 -7
- package/dist/components/shell/shell-panel.js +0 -54
- package/dist/components/shell/shell-panel.js.map +0 -1
- package/dist/components/shell/shell-responsive.js +0 -141
- package/dist/components/shell/shell-responsive.js.map +0 -1
- package/dist/components/shell/shell.a11y.d.ts +0 -23
- package/dist/components/shell/shell.a11y.js +0 -23
- package/dist/components/shell/shell.a11y.js.map +0 -1
- package/dist/components/shell/shell.d.ts +0 -13
- package/dist/components/shell/shell.js +0 -69
- package/dist/components/shell/shell.js.map +0 -1
- package/dist/components/shell/shell.types.d.ts +0 -58
- package/dist/components/sidebar/sidebar-panel.d.ts +0 -7
- package/dist/components/sidebar/sidebar-panel.js +0 -49
- package/dist/components/sidebar/sidebar-panel.js.map +0 -1
- package/dist/components/sidebar/sidebar-toggle.d.ts +0 -7
- package/dist/components/sidebar/sidebar-toggle.js +0 -8
- package/dist/components/sidebar/sidebar-toggle.js.map +0 -1
- package/dist/components/sidebar/sidebar.context.js +0 -21
- package/dist/components/sidebar/sidebar.context.js.map +0 -1
- package/dist/components/sidebar/sidebar.shared.js +0 -12
- package/dist/components/sidebar/sidebar.shared.js.map +0 -1
- package/dist/components/skeleton/skeleton.a11y.d.ts +0 -16
- package/dist/components/spacer/index.d.ts +0 -3
- package/dist/components/spacer/spacer.a11y.d.ts +0 -17
- package/dist/components/spacer/spacer.d.ts +0 -8
- package/dist/components/spacer/spacer.js +0 -49
- package/dist/components/spacer/spacer.js.map +0 -1
- package/dist/components/spacer/spacer.types.d.ts +0 -26
- package/dist/components/stack/index.d.ts +0 -3
- package/dist/components/stack/stack.a11y.d.ts +0 -18
- package/dist/components/stack/stack.d.ts +0 -8
- package/dist/components/stack/stack.js +0 -16
- package/dist/components/stack/stack.js.map +0 -1
- package/dist/components/stack/stack.types.d.ts +0 -22
- package/dist/feedback.d.ts +0 -5
- package/dist/feedback.js +0 -4
- package/dist/layouts.d.ts +0 -25
- package/dist/layouts.js +0 -11
- package/dist/shells.d.ts +0 -16
- package/dist/shells.js +0 -11
- package/src/components/_internal/box-layout.ts +0 -164
- package/src/components/_internal/layout.ts +0 -202
- package/src/components/box/box.a11y.ts +0 -11
- package/src/components/box/box.tsx +0 -38
- package/src/components/box/box.types.ts +0 -76
- package/src/components/box/index.ts +0 -11
- package/src/components/breadcrumb/breadcrumb.a11y.ts +0 -15
- package/src/components/breadcrumb/breadcrumb.tsx +0 -123
- package/src/components/breadcrumb/breadcrumb.types.ts +0 -74
- package/src/components/breadcrumb/index.ts +0 -24
- package/src/components/flex/flex.a11y.ts +0 -19
- package/src/components/flex/flex.tsx +0 -162
- package/src/components/flex/flex.types.ts +0 -51
- package/src/components/flex/index.ts +0 -16
- package/src/components/inline/index.tsx +0 -28
- package/src/components/list-group/index.ts +0 -7
- package/src/components/list-group/list-group.tsx +0 -74
- package/src/components/list-group/list-group.types.ts +0 -32
- package/src/components/navbar/navbar-panel.tsx +0 -62
- package/src/components/navbar/navbar.context.ts +0 -22
- package/src/components/navbar/navbar.render.tsx +0 -32
- package/src/components/navbar/navbar.shared.ts +0 -21
- package/src/components/pagination/index.ts +0 -8
- package/src/components/pagination/pagination.tsx +0 -158
- package/src/components/pagination/pagination.types.ts +0 -41
- package/src/components/shell/index.ts +0 -16
- package/src/components/shell/shell-nav.types.ts +0 -3
- package/src/components/shell/shell-panel.tsx +0 -85
- package/src/components/shell/shell-responsive.tsx +0 -262
- package/src/components/shell/shell.a11y.ts +0 -20
- package/src/components/shell/shell.tsx +0 -74
- package/src/components/shell/shell.types.ts +0 -71
- package/src/components/sidebar/sidebar-panel.tsx +0 -67
- package/src/components/sidebar/sidebar-toggle.tsx +0 -5
- package/src/components/sidebar/sidebar.context.ts +0 -40
- package/src/components/sidebar/sidebar.shared.ts +0 -12
- package/src/components/spacer/index.ts +0 -9
- package/src/components/spacer/spacer.a11y.ts +0 -14
- package/src/components/spacer/spacer.tsx +0 -61
- package/src/components/spacer/spacer.types.ts +0 -31
- package/src/components/stack/index.ts +0 -3
- package/src/components/stack/stack.a11y.ts +0 -15
- package/src/components/stack/stack.tsx +0 -13
- package/src/components/stack/stack.types.ts +0 -22
- package/src/feedback.ts +0 -6
- package/src/layouts.ts +0 -19
- package/src/shells.ts +0 -13
- package/src/themes/default/styles/actions/toggle.css +0 -50
- package/src/themes/default/styles/disclosure/collapsible.css +0 -58
- package/src/themes/default/styles/display/list-group.css +0 -84
- package/src/themes/default/styles/forms/form.css +0 -5
- package/src/themes/default/styles/layout/responsive-layout.css +0 -230
- package/src/themes/default/styles/navigation/breadcrumb.css +0 -45
- package/src/themes/default/styles/navigation/menu.css +0 -203
- package/src/themes/default/styles/navigation/menubar.css +0 -255
- package/src/themes/default/styles/navigation/pagination.css +0 -91
- package/src/themes/default/styles/shell/theme.css +0 -37
- package/templates/theme/styles/actions/toggle.css +0 -50
- package/templates/theme/styles/disclosure/collapsible.css +0 -58
- package/templates/theme/styles/display/list-group.css +0 -84
- package/templates/theme/styles/forms/form.css +0 -5
- package/templates/theme/styles/layout/responsive-layout.css +0 -230
- package/templates/theme/styles/navigation/breadcrumb.css +0 -45
- package/templates/theme/styles/navigation/menu.css +0 -203
- package/templates/theme/styles/navigation/menubar.css +0 -255
- package/templates/theme/styles/navigation/pagination.css +0 -91
- package/templates/theme/styles/shell/theme.css +0 -37
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Flex } from "../flex";
|
|
2
|
-
import type { StackAsChildProps, StackDivProps } from "./stack.types";
|
|
3
|
-
|
|
4
|
-
export function Stack(props: StackDivProps): JSX.Element;
|
|
5
|
-
export function Stack(props: StackAsChildProps): JSX.Element;
|
|
6
|
-
export function Stack(props: StackDivProps | StackAsChildProps) {
|
|
7
|
-
const { children, ...rest } = props;
|
|
8
|
-
return (
|
|
9
|
-
<Flex {...(rest as Record<string, unknown>)} data-slot="stack" direction="column">
|
|
10
|
-
{children}
|
|
11
|
-
</Flex>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { JSXElement } from "@askrjs/askr/foundations";
|
|
2
|
-
import type { Ref } from "@askrjs/askr/foundations/utilities";
|
|
3
|
-
import type { FlexOwnProps } from "../flex/flex.types";
|
|
4
|
-
|
|
5
|
-
export type StackOwnProps = Omit<FlexOwnProps, "direction" | "as"> & {
|
|
6
|
-
children?: unknown;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export type StackDivProps = Omit<JSX.IntrinsicElements["div"], "children" | "ref"> &
|
|
10
|
-
StackOwnProps & {
|
|
11
|
-
asChild?: false;
|
|
12
|
-
ref?: Ref<HTMLDivElement>;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export type StackAsChildProps = StackOwnProps & {
|
|
16
|
-
asChild: true;
|
|
17
|
-
children: JSXElement;
|
|
18
|
-
ref?: Ref<unknown>;
|
|
19
|
-
style?: JSX.IntrinsicElements["div"]["style"];
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type StackProps = StackDivProps | StackAsChildProps;
|
package/src/feedback.ts
DELETED
package/src/layouts.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "./themes/default/index.css";
|
|
2
|
-
|
|
3
|
-
export { AspectRatio } from "./components/aspect-ratio";
|
|
4
|
-
export type * from "./components/aspect-ratio";
|
|
5
|
-
export { Block } from "./components/block";
|
|
6
|
-
export type * from "./components/block";
|
|
7
|
-
export { Box } from "./components/box";
|
|
8
|
-
export type * from "./components/box";
|
|
9
|
-
export { Container } from "./components/container";
|
|
10
|
-
export type * from "./components/container";
|
|
11
|
-
export { Flex } from "./components/flex";
|
|
12
|
-
export { Inline } from "./components/inline";
|
|
13
|
-
export type * from "./components/inline";
|
|
14
|
-
export { Section } from "./components/section";
|
|
15
|
-
export type * from "./components/section";
|
|
16
|
-
export { Spacer } from "./components/spacer";
|
|
17
|
-
export type * from "./components/spacer";
|
|
18
|
-
export { Stack } from "./components/stack";
|
|
19
|
-
export type * from "./components/stack";
|
package/src/shells.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./themes/default/index.css";
|
|
2
|
-
|
|
3
|
-
export { Header } from "./components/header";
|
|
4
|
-
export { HEADER_A11Y_CONTRACT } from "./components/header";
|
|
5
|
-
export type * from "./components/header";
|
|
6
|
-
export { Sidebar, SidebarPanel, SidebarToggle } from "./components/sidebar";
|
|
7
|
-
export type * from "./components/sidebar";
|
|
8
|
-
export { NavBrand, Navbar, NavGroup, NavItem, NavLink, NavToggle } from "./components/navbar";
|
|
9
|
-
export type * from "./components/navbar";
|
|
10
|
-
export type * from "./components/shell/shell-nav.types";
|
|
11
|
-
export { SHELL_A11Y_CONTRACT } from "./components/shell";
|
|
12
|
-
export { Shell, ShellMain, ShellNav } from "./components/shell";
|
|
13
|
-
export type * from "./components/shell";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
:where([data-slot="toggle"]) {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
gap: var(--ak-space-sm);
|
|
6
|
-
min-height: var(--ak-density-control-height-md);
|
|
7
|
-
padding: 0 var(--ak-density-control-padding-x-md);
|
|
8
|
-
border: 1px solid var(--ak-color-border);
|
|
9
|
-
border-radius: var(--ak-radius-md);
|
|
10
|
-
background: var(--ak-color-surface);
|
|
11
|
-
color: var(--ak-color-text);
|
|
12
|
-
font-size: var(--ak-font-size-sm);
|
|
13
|
-
font-weight: var(--ak-font-weight-semibold);
|
|
14
|
-
line-height: 1;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
transition:
|
|
17
|
-
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
18
|
-
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
19
|
-
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
20
|
-
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
:where([data-slot="toggle"]:hover) {
|
|
24
|
-
background: var(--ak-color-hover);
|
|
25
|
-
border-color: var(--ak-color-border-strong);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:where([data-slot="toggle"]:active) {
|
|
29
|
-
background: var(--ak-color-active);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
:where([data-slot="toggle"][data-state="on"]) {
|
|
33
|
-
border-color: var(--ak-color-primary);
|
|
34
|
-
background: var(--ak-color-primary-soft);
|
|
35
|
-
color: var(--ak-color-primary-ink);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:where([data-slot="toggle"]:focus-visible) {
|
|
39
|
-
outline: none;
|
|
40
|
-
box-shadow: 0 0 0 var(--ak-focus-ring-width) var(--ak-color-focus-ring);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
:where([data-slot="toggle"][data-disabled]) {
|
|
44
|
-
background: var(--ak-color-disabled-surface);
|
|
45
|
-
border-color: var(--ak-color-disabled-border);
|
|
46
|
-
box-shadow: none;
|
|
47
|
-
color: var(--ak-color-disabled-text);
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
cursor: not-allowed;
|
|
50
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
:where([data-slot="collapsible-trigger"]) {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
min-height: var(--ak-density-control-height-md);
|
|
6
|
-
min-inline-size: 0;
|
|
7
|
-
padding: 0 var(--ak-density-control-padding-x-md);
|
|
8
|
-
border: 1px solid var(--ak-color-border);
|
|
9
|
-
border-radius: var(--ak-radius-md);
|
|
10
|
-
background: var(--ak-color-surface);
|
|
11
|
-
color: var(--ak-color-text);
|
|
12
|
-
font-size: var(--ak-font-size-sm);
|
|
13
|
-
font-weight: var(--ak-font-weight-semibold);
|
|
14
|
-
line-height: 1.2;
|
|
15
|
-
overflow-wrap: anywhere;
|
|
16
|
-
text-align: start;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
transition:
|
|
19
|
-
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
20
|
-
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
21
|
-
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
22
|
-
box-shadow var(--ak-duration-fast) var(--ak-ease-standard);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:where([data-slot="collapsible-trigger"][data-state="open"]) {
|
|
26
|
-
border-color: var(--ak-color-primary);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:where([data-slot="collapsible-trigger"]:hover) {
|
|
30
|
-
background: var(--ak-color-hover);
|
|
31
|
-
border-color: var(--ak-color-border-strong);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:where([data-slot="collapsible-trigger"]:active) {
|
|
35
|
-
background: var(--ak-color-active);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:where([data-slot="collapsible-trigger"]:focus-visible) {
|
|
39
|
-
outline: none;
|
|
40
|
-
box-shadow: 0 0 0 var(--ak-focus-ring-width) var(--ak-color-focus-ring);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
:where([data-slot="collapsible-trigger"][data-disabled]) {
|
|
44
|
-
background: var(--ak-color-disabled-surface);
|
|
45
|
-
border-color: var(--ak-color-disabled-border);
|
|
46
|
-
box-shadow: none;
|
|
47
|
-
color: var(--ak-color-disabled-text);
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
cursor: not-allowed;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:where([data-slot="collapsible-content"]) {
|
|
53
|
-
padding: var(--ak-space-md) 0 0;
|
|
54
|
-
color: var(--ak-color-text-muted);
|
|
55
|
-
font-size: var(--ak-font-size-sm);
|
|
56
|
-
line-height: var(--ak-line-height-normal);
|
|
57
|
-
overflow-wrap: anywhere;
|
|
58
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
:where(.list-group, [data-slot="list-group"]) {
|
|
2
|
-
display: grid;
|
|
3
|
-
gap: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
margin: 0;
|
|
6
|
-
border: 1px solid color-mix(in srgb, var(--ak-color-border) 84%, var(--ak-color-surface) 16%);
|
|
7
|
-
border-radius: var(--ak-radius-lg);
|
|
8
|
-
background: var(--ak-color-surface);
|
|
9
|
-
box-shadow: var(--ak-shadow-sm);
|
|
10
|
-
list-style: none;
|
|
11
|
-
overflow: clip;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:where(.list-group-flush, [data-slot="list-group"][data-flush="true"]) {
|
|
15
|
-
border-inline: 0;
|
|
16
|
-
border-radius: 0;
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:where(.list-group-horizontal, [data-slot="list-group"][data-orientation="horizontal"]) {
|
|
21
|
-
grid-auto-flow: column;
|
|
22
|
-
grid-auto-columns: minmax(0, 1fr);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:where(.list-group-item, [data-slot="list-group-item"]) {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
gap: var(--ak-space-sm);
|
|
29
|
-
min-inline-size: 0;
|
|
30
|
-
min-block-size: 2.625rem;
|
|
31
|
-
padding: var(--ak-space-sm) var(--ak-space-md);
|
|
32
|
-
border-block-start: 1px solid
|
|
33
|
-
color-mix(in srgb, var(--ak-color-border-subtle) 86%, var(--ak-color-surface));
|
|
34
|
-
color: var(--ak-color-text);
|
|
35
|
-
font-size: var(--ak-font-size-sm);
|
|
36
|
-
line-height: var(--ak-line-height-normal);
|
|
37
|
-
overflow-wrap: anywhere;
|
|
38
|
-
text-decoration: none;
|
|
39
|
-
transition:
|
|
40
|
-
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
41
|
-
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
42
|
-
border-color var(--ak-duration-fast) var(--ak-ease-standard);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:where(.list-group > :first-child, [data-slot="list-group"] > :first-child) {
|
|
46
|
-
border-block-start: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
:where(
|
|
50
|
-
.list-group-horizontal > .list-group-item,
|
|
51
|
-
[data-slot="list-group"][data-orientation="horizontal"] > [data-slot="list-group-item"]
|
|
52
|
-
) {
|
|
53
|
-
border-block-start: 0;
|
|
54
|
-
border-inline-start: 1px solid
|
|
55
|
-
color-mix(in srgb, var(--ak-color-border-subtle) 86%, var(--ak-color-surface));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
:where(
|
|
59
|
-
.list-group-horizontal > .list-group-item:first-child,
|
|
60
|
-
[data-slot="list-group"][data-orientation="horizontal"]
|
|
61
|
-
> [data-slot="list-group-item"]:first-child
|
|
62
|
-
) {
|
|
63
|
-
border-inline-start: 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:where(.list-group-item-action, [data-slot="list-group-item"][data-action="true"]) {
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
:where(.list-group-item-action:hover, [data-slot="list-group-item"][data-action="true"]:hover) {
|
|
71
|
-
background: var(--ak-color-surface-muted);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:where(.list-group-item.active, [data-slot="list-group-item"][data-active="true"]) {
|
|
75
|
-
background: var(--ak-color-selected);
|
|
76
|
-
color: var(--ak-color-text);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:where(.list-group-item.disabled, [data-slot="list-group-item"][data-disabled="true"]) {
|
|
80
|
-
background: var(--ak-color-disabled-surface);
|
|
81
|
-
color: var(--ak-color-disabled-text);
|
|
82
|
-
cursor: not-allowed;
|
|
83
|
-
pointer-events: none;
|
|
84
|
-
}
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
:where([data-slot="shell"]) {
|
|
2
|
-
min-block-size: 100vh;
|
|
3
|
-
background: var(--ak-color-bg);
|
|
4
|
-
color: var(--ak-color-text);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:where([data-shell-scroll-lock="true"]) {
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:where([data-slot="shell"]) {
|
|
12
|
-
display: flex;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:where([data-slot="shell"][data-variant="topbar"]) {
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:where([data-slot="shell"][data-variant="sidebar"], [data-slot="shell"][data-variant="rail"]) {
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
gap: var(--ak-space-lg);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:where([data-slot="shell"][data-variant="topbar"]) > :where([data-slot="shell-nav"]) {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-wrap: wrap;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
min-block-size: var(--ak-layout-navbar-height);
|
|
30
|
-
padding: 0.875rem var(--ak-layout-page-gutter);
|
|
31
|
-
gap: var(--ak-space-sm) var(--ak-space-md);
|
|
32
|
-
border-bottom: 1px solid var(--ak-color-border);
|
|
33
|
-
background: color-mix(in srgb, var(--ak-color-surface) 98%, transparent);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:where([data-slot="shell"][data-variant="sidebar"], [data-slot="shell"][data-variant="rail"])
|
|
37
|
-
> :where([data-slot="shell-nav"]) {
|
|
38
|
-
display: grid;
|
|
39
|
-
align-content: stretch;
|
|
40
|
-
flex: 0 0 100vh;
|
|
41
|
-
min-block-size: 100vh;
|
|
42
|
-
padding: var(--ak-layout-page-gutter);
|
|
43
|
-
inline-size: 100%;
|
|
44
|
-
max-inline-size: 100%;
|
|
45
|
-
min-inline-size: 0;
|
|
46
|
-
background: color-mix(in srgb, var(--ak-color-surface-muted) 92%, var(--ak-color-surface));
|
|
47
|
-
border-inline-end: 0;
|
|
48
|
-
border-block-end: 1px solid var(--ak-color-border);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:where([data-slot="shell"]) > :where([data-slot="shell-main"]) {
|
|
52
|
-
flex: 1 1 auto;
|
|
53
|
-
min-inline-size: 0;
|
|
54
|
-
inline-size: 100%;
|
|
55
|
-
padding: var(--ak-layout-page-gutter);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[data-slot="shell"][data-variant="rail"]
|
|
59
|
-
> [data-slot="shell-nav"]
|
|
60
|
-
:where([data-slot="nav-item"], [data-slot="nav-link"]) {
|
|
61
|
-
font-size: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
[data-slot="shell"][data-variant="rail"]
|
|
65
|
-
> [data-slot="shell-nav"]
|
|
66
|
-
:where([data-slot="nav-item"], [data-slot="nav-link"])
|
|
67
|
-
> :where([data-slot="icon"], svg) {
|
|
68
|
-
font-size: var(--ak-font-size-sm);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:where([data-slot="flex"][data-collapse-below="sm"]),
|
|
72
|
-
:where([data-slot="flex"][data-collapse-below="md"]),
|
|
73
|
-
:where([data-slot="flex"][data-collapse-below="lg"]),
|
|
74
|
-
:where([data-slot="flex"][data-collapse-below="xl"]) {
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
align-items: stretch;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media (min-width: 40rem) {
|
|
80
|
-
:where([data-slot="flex"][data-collapse-below="sm"]) {
|
|
81
|
-
flex-direction: row;
|
|
82
|
-
align-items: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:where([data-slot="shell"][data-variant="sidebar"], [data-slot="shell"][data-variant="rail"]) {
|
|
86
|
-
flex-direction: row;
|
|
87
|
-
align-items: stretch;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:where([data-slot="shell"][data-variant="sidebar"]) > :where([data-slot="shell-nav"]) {
|
|
91
|
-
inline-size: var(--ak-layout-sidebar-width);
|
|
92
|
-
flex-basis: var(--ak-layout-sidebar-width);
|
|
93
|
-
align-self: stretch;
|
|
94
|
-
min-block-size: 100vh;
|
|
95
|
-
max-block-size: 100dvh;
|
|
96
|
-
position: sticky;
|
|
97
|
-
inset-block-start: 0;
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
border-block-end: 0;
|
|
100
|
-
border-inline-end: 1px solid var(--ak-color-border);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
:where([data-slot="shell"][data-variant="rail"]) > :where([data-slot="shell-nav"]) {
|
|
104
|
-
inline-size: var(--ak-layout-sidebar-rail-width);
|
|
105
|
-
flex: 0 0 var(--ak-layout-sidebar-rail-width);
|
|
106
|
-
align-self: stretch;
|
|
107
|
-
min-block-size: 100vh;
|
|
108
|
-
max-block-size: 100dvh;
|
|
109
|
-
padding-inline: 0;
|
|
110
|
-
position: sticky;
|
|
111
|
-
inset-block-start: 0;
|
|
112
|
-
overflow: hidden;
|
|
113
|
-
border-block-end: 0;
|
|
114
|
-
border-inline-end: 1px solid var(--ak-color-border);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
118
|
-
> :where([data-slot="shell-nav"])
|
|
119
|
-
:where([data-slot="sidebar"]) {
|
|
120
|
-
inline-size: var(--ak-layout-sidebar-rail-width);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
124
|
-
> :where([data-slot="shell-nav"])
|
|
125
|
-
:where([data-slot="sidebar-shell"]) {
|
|
126
|
-
align-items: center;
|
|
127
|
-
gap: var(--ak-space-sm);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
131
|
-
> :where([data-slot="shell-nav"])
|
|
132
|
-
:where([data-slot="sidebar-rail"]) {
|
|
133
|
-
justify-content: center;
|
|
134
|
-
padding-inline: 0;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
138
|
-
> :where([data-slot="shell-nav"])
|
|
139
|
-
:where(
|
|
140
|
-
[data-slot="navbar-group"],
|
|
141
|
-
[data-slot="sidebar-group"],
|
|
142
|
-
[data-slot="navbar-group-body"],
|
|
143
|
-
[data-slot="sidebar-group-body"]
|
|
144
|
-
) {
|
|
145
|
-
inline-size: 100%;
|
|
146
|
-
min-inline-size: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
150
|
-
> :where([data-slot="shell-nav"])
|
|
151
|
-
:where([data-slot="navbar-group-label"], [data-slot="sidebar-group-label"]),
|
|
152
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
153
|
-
> :where([data-slot="shell-nav"])
|
|
154
|
-
:where([data-slot="nav-item"], [data-slot="nav-link"])
|
|
155
|
-
> :where(:not([data-slot="icon"]):not(svg)) {
|
|
156
|
-
position: absolute;
|
|
157
|
-
inline-size: 1px;
|
|
158
|
-
block-size: 1px;
|
|
159
|
-
overflow: hidden;
|
|
160
|
-
clip: rect(0 0 0 0);
|
|
161
|
-
clip-path: inset(50%);
|
|
162
|
-
white-space: nowrap;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
:where([data-slot="shell"][data-variant="rail"])
|
|
166
|
-
> :where([data-slot="shell-nav"])
|
|
167
|
-
:where([data-slot="nav-item"], [data-slot="nav-link"]) {
|
|
168
|
-
justify-content: center;
|
|
169
|
-
inline-size: 100%;
|
|
170
|
-
min-inline-size: 0;
|
|
171
|
-
padding-inline: 0;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@media (min-width: 48rem) {
|
|
176
|
-
:where([data-slot="shell"][data-variant="topbar"]) > :where([data-slot="shell-nav"]) {
|
|
177
|
-
padding-inline: var(--ak-layout-page-gutter);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
:where([data-slot="shell"]) > :where([data-slot="shell-main"]) {
|
|
181
|
-
padding: var(--ak-layout-page-gutter);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@media (min-width: 64rem) {
|
|
186
|
-
:where([data-slot="shell"][data-variant="sidebar"]) > :where([data-slot="shell-nav"]) {
|
|
187
|
-
inline-size: var(--ak-layout-sidebar-width);
|
|
188
|
-
flex-basis: var(--ak-layout-sidebar-width);
|
|
189
|
-
border-block-end: 0;
|
|
190
|
-
border-inline-end: 1px solid var(--ak-color-border);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
:where([data-slot="shell"][data-variant="rail"]) > :where([data-slot="shell-nav"]) {
|
|
194
|
-
inline-size: var(--ak-layout-sidebar-rail-width);
|
|
195
|
-
flex-basis: var(--ak-layout-sidebar-rail-width);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@media (min-width: 80rem) {
|
|
200
|
-
:where([data-slot="shell"][data-variant="sidebar"]) > :where([data-slot="shell-nav"]) {
|
|
201
|
-
inline-size: var(--ak-layout-sidebar-width);
|
|
202
|
-
flex-basis: var(--ak-layout-sidebar-width);
|
|
203
|
-
border-block-end: 0;
|
|
204
|
-
border-inline-end: 1px solid var(--ak-color-border);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
:where([data-slot="shell"][data-variant="rail"]) > :where([data-slot="shell-nav"]) {
|
|
208
|
-
inline-size: var(--ak-layout-sidebar-rail-width);
|
|
209
|
-
flex-basis: var(--ak-layout-sidebar-rail-width);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@media (min-width: 40rem) {
|
|
214
|
-
:where([data-slot="shell"][data-variant="sidebar"])
|
|
215
|
-
> [data-slot="shell-nav"]:has(
|
|
216
|
-
> [data-slot="sidebar"][data-collapsible="icon"][data-icon-collapsed="true"][data-responsive-collapsed="false"]
|
|
217
|
-
) {
|
|
218
|
-
flex: 0 0 var(--ak-layout-sidebar-rail-width);
|
|
219
|
-
width: var(--ak-layout-sidebar-rail-width);
|
|
220
|
-
inline-size: var(--ak-layout-sidebar-rail-width);
|
|
221
|
-
flex-basis: var(--ak-layout-sidebar-rail-width);
|
|
222
|
-
min-width: var(--ak-layout-sidebar-rail-width);
|
|
223
|
-
min-inline-size: var(--ak-layout-sidebar-rail-width);
|
|
224
|
-
max-width: var(--ak-layout-sidebar-rail-width);
|
|
225
|
-
max-inline-size: var(--ak-layout-sidebar-rail-width);
|
|
226
|
-
padding-left: 0;
|
|
227
|
-
padding-right: 0;
|
|
228
|
-
padding-inline: 0;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
:where([data-slot="breadcrumb"]) {
|
|
2
|
-
color: var(--ak-color-text-muted);
|
|
3
|
-
font-size: var(--ak-font-size-xs);
|
|
4
|
-
line-height: var(--ak-line-height-tight);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:where([data-slot="breadcrumb-list"]) {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
flex-wrap: wrap;
|
|
11
|
-
gap: var(--ak-space-xs);
|
|
12
|
-
list-style: none;
|
|
13
|
-
margin: 0;
|
|
14
|
-
padding: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:where([data-slot="breadcrumb-item"]) {
|
|
18
|
-
display: inline-flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
gap: var(--ak-space-xs);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
:where([data-slot="breadcrumb-link"]) {
|
|
24
|
-
color: var(--ak-color-text-muted);
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
transition:
|
|
27
|
-
color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
28
|
-
text-decoration-color var(--ak-duration-fast) var(--ak-ease-standard);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:where([data-slot="breadcrumb-link"]:hover) {
|
|
32
|
-
color: var(--ak-color-text);
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
text-decoration-color: color-mix(in srgb, var(--ak-color-primary) 36%, transparent);
|
|
35
|
-
text-underline-offset: 0.18em;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:where([data-slot="breadcrumb-current"]) {
|
|
39
|
-
color: var(--ak-color-text);
|
|
40
|
-
font-weight: var(--ak-font-weight-semibold);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
:where([data-slot="breadcrumb-separator"]) {
|
|
44
|
-
color: var(--ak-color-border);
|
|
45
|
-
}
|