@askrjs/themes 0.0.8 → 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/_internal/jsx.js.map +1 -1
- package/dist/components/_internal/style.js +25 -1
- package/dist/components/_internal/style.js.map +1 -1
- 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 +102 -198
- 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 -211
- 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 +97 -18
- 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 +3691 -3959
- package/package.json +239 -73
- package/src/components/_internal/block-layout.ts +354 -0
- package/src/components/_internal/jsx.ts +18 -6
- package/src/components/_internal/style.ts +42 -4
- 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 +104 -251
- 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 +145 -317
- 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 +163 -21
- 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/avatar.css +7 -1
- package/src/themes/default/styles/display/badge.css +10 -10
- 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 +39 -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 +33 -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 -453
- 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/avatar.css +7 -1
- package/templates/theme/styles/display/badge.css +10 -10
- 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 +39 -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 +33 -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 -453
- 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 -147
- 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 -118
- 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 -211
- 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 -246
- 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
|
@@ -0,0 +1,753 @@
|
|
|
1
|
+
:where(
|
|
2
|
+
[data-slot="breadcrumb"],
|
|
3
|
+
[data-slot="calendar"],
|
|
4
|
+
[data-slot="carousel"],
|
|
5
|
+
[data-slot="combobox"],
|
|
6
|
+
[data-slot="command"],
|
|
7
|
+
[data-slot="data-table"],
|
|
8
|
+
[data-slot="date-picker"],
|
|
9
|
+
[data-slot="direction"],
|
|
10
|
+
[data-slot="empty"],
|
|
11
|
+
[data-slot="field-group"],
|
|
12
|
+
[data-slot="input-otp"],
|
|
13
|
+
[data-slot="item"],
|
|
14
|
+
[data-slot="navigation-menu"],
|
|
15
|
+
[data-slot="pagination"],
|
|
16
|
+
[data-slot="resizable-panel-group"],
|
|
17
|
+
[data-slot="sonner"],
|
|
18
|
+
[data-slot="typography"]
|
|
19
|
+
) {
|
|
20
|
+
min-inline-size: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where([data-slot="card-header"], [data-slot="card-content"], [data-slot="card-footer"]) {
|
|
24
|
+
display: grid;
|
|
25
|
+
gap: var(--ak-space-2);
|
|
26
|
+
min-inline-size: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where([data-slot="card-header"]) {
|
|
30
|
+
grid-template-columns: minmax(0, 1fr);
|
|
31
|
+
column-gap: var(--ak-space-md);
|
|
32
|
+
row-gap: var(--ak-space-2);
|
|
33
|
+
align-items: start;
|
|
34
|
+
padding-inline: var(--ak-space-6);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where([data-slot="card-header"]:has(> [data-slot="card-action"])) {
|
|
38
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:where([data-slot="card-content"]) {
|
|
42
|
+
padding-inline: var(--ak-space-6);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where([data-slot="card-footer"]) {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
padding-inline: var(--ak-space-6);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:where([data-slot="card-title"]) {
|
|
52
|
+
margin: 0;
|
|
53
|
+
color: var(--ak-color-text);
|
|
54
|
+
font-size: var(--ak-font-size-md);
|
|
55
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
56
|
+
line-height: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:where([data-slot="card-description"]) {
|
|
60
|
+
margin: 0;
|
|
61
|
+
color: var(--ak-color-text-muted);
|
|
62
|
+
font-size: var(--ak-font-size-sm);
|
|
63
|
+
line-height: var(--ak-line-height-normal);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:where([data-slot="card-action"]) {
|
|
67
|
+
grid-column-start: 2;
|
|
68
|
+
grid-row: span 2 / span 2;
|
|
69
|
+
grid-row-start: 1;
|
|
70
|
+
justify-self: end;
|
|
71
|
+
align-self: start;
|
|
72
|
+
display: inline-flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--ak-space-xs);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where([data-slot="breadcrumb-list"], [data-slot="pagination-content"]) {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-wrap: wrap;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: var(--ak-space-xs);
|
|
82
|
+
margin: 0;
|
|
83
|
+
padding: 0;
|
|
84
|
+
list-style: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:where(
|
|
88
|
+
[data-slot="breadcrumb-item"],
|
|
89
|
+
[data-slot="breadcrumb-separator"],
|
|
90
|
+
[data-slot="pagination-item"]
|
|
91
|
+
) {
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
min-inline-size: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:where(
|
|
98
|
+
[data-slot="breadcrumb-link"],
|
|
99
|
+
[data-slot="breadcrumb-page"],
|
|
100
|
+
[data-slot="pagination-link"],
|
|
101
|
+
[data-slot="pagination-previous"],
|
|
102
|
+
[data-slot="pagination-next"]
|
|
103
|
+
) {
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--ak-space-xs);
|
|
107
|
+
min-block-size: var(--ak-density-control-height-sm);
|
|
108
|
+
padding-inline: var(--ak-density-control-padding-x-sm);
|
|
109
|
+
border-radius: var(--ak-radius-md);
|
|
110
|
+
color: var(--ak-color-text-muted);
|
|
111
|
+
font-size: var(--ak-font-size-sm);
|
|
112
|
+
text-decoration: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:where(
|
|
116
|
+
[data-slot="breadcrumb-link"]:hover,
|
|
117
|
+
[data-slot="pagination-link"]:hover,
|
|
118
|
+
[data-slot="pagination-previous"]:hover,
|
|
119
|
+
[data-slot="pagination-next"]:hover
|
|
120
|
+
) {
|
|
121
|
+
background: var(--ak-color-surface-muted);
|
|
122
|
+
color: var(--ak-color-text);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:where(
|
|
126
|
+
[data-slot="breadcrumb-page"],
|
|
127
|
+
[data-slot="pagination-link"][data-active="true"],
|
|
128
|
+
[data-slot="pagination-link"][aria-current="page"]
|
|
129
|
+
) {
|
|
130
|
+
color: var(--ak-color-text);
|
|
131
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:where([data-slot="breadcrumb-ellipsis"], [data-slot="pagination-ellipsis"]) {
|
|
135
|
+
color: var(--ak-color-text-subtle);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:where([data-slot="calendar"]) {
|
|
139
|
+
display: grid;
|
|
140
|
+
gap: var(--ak-space-md);
|
|
141
|
+
inline-size: fit-content;
|
|
142
|
+
max-inline-size: 100%;
|
|
143
|
+
padding: var(--ak-space-md);
|
|
144
|
+
border: 1px solid var(--ak-color-border);
|
|
145
|
+
border-radius: var(--ak-radius-md);
|
|
146
|
+
background: var(--ak-color-surface);
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:where([data-slot="calendar-caption"]) {
|
|
151
|
+
color: var(--ak-color-text);
|
|
152
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
153
|
+
text-align: center;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:where([data-slot="calendar-grid"]) {
|
|
157
|
+
display: grid;
|
|
158
|
+
gap: var(--ak-space-xs);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:where([data-slot="calendar-head"], [data-slot="calendar-row"]) {
|
|
162
|
+
display: grid;
|
|
163
|
+
grid-template-columns: repeat(7, minmax(2rem, 1fr));
|
|
164
|
+
gap: var(--ak-space-xs);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:where([data-slot="calendar-body"]) {
|
|
168
|
+
display: grid;
|
|
169
|
+
gap: var(--ak-space-xs);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:where([data-slot="calendar-cell"]) {
|
|
173
|
+
display: grid;
|
|
174
|
+
place-items: center;
|
|
175
|
+
min-inline-size: 2rem;
|
|
176
|
+
color: var(--ak-color-text-muted);
|
|
177
|
+
font-size: var(--ak-font-size-sm);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:where([data-slot="calendar-day"]) {
|
|
181
|
+
display: inline-grid;
|
|
182
|
+
place-items: center;
|
|
183
|
+
min-block-size: 2rem;
|
|
184
|
+
min-inline-size: 2rem;
|
|
185
|
+
border: 1px solid transparent;
|
|
186
|
+
border-radius: var(--ak-radius-md);
|
|
187
|
+
background: transparent;
|
|
188
|
+
color: var(--ak-color-text);
|
|
189
|
+
font: inherit;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:where([data-slot="calendar-day"]:hover, [data-slot="calendar-day"][data-selected="true"]) {
|
|
193
|
+
background: var(--ak-color-selected);
|
|
194
|
+
border-color: var(--ak-color-selected-border);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:where([data-slot="carousel"]) {
|
|
198
|
+
position: relative;
|
|
199
|
+
min-inline-size: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:where([data-slot="carousel-content"]) {
|
|
203
|
+
display: flex;
|
|
204
|
+
gap: var(--ak-space-md);
|
|
205
|
+
overflow-x: auto;
|
|
206
|
+
scroll-snap-type: x mandatory;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
:where([data-slot="carousel-item"]) {
|
|
210
|
+
flex: 0 0 100%;
|
|
211
|
+
min-inline-size: 0;
|
|
212
|
+
scroll-snap-align: start;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:where([data-slot="carousel-previous"], [data-slot="carousel-next"]) {
|
|
216
|
+
position: absolute;
|
|
217
|
+
inset-block-start: 50%;
|
|
218
|
+
transform: translateY(-50%);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
:where([data-slot="carousel-previous"]) {
|
|
222
|
+
inset-inline-start: var(--ak-space-sm);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
:where([data-slot="carousel-next"]) {
|
|
226
|
+
inset-inline-end: var(--ak-space-sm);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
:where([data-slot="combobox"], [data-slot="command"], [data-slot="date-picker"]) {
|
|
230
|
+
display: grid;
|
|
231
|
+
gap: var(--ak-space-sm);
|
|
232
|
+
min-inline-size: 0;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:where(
|
|
236
|
+
[data-slot="combobox-list"],
|
|
237
|
+
[data-slot="command-list"],
|
|
238
|
+
[data-slot="navigation-menu-content"]
|
|
239
|
+
) {
|
|
240
|
+
display: grid;
|
|
241
|
+
gap: var(--ak-space-xs);
|
|
242
|
+
min-inline-size: 12rem;
|
|
243
|
+
padding: var(--ak-space-xs);
|
|
244
|
+
border: 1px solid var(--ak-color-border);
|
|
245
|
+
border-radius: var(--ak-radius-md);
|
|
246
|
+
background: var(--ak-color-surface-overlay);
|
|
247
|
+
box-shadow: var(--ak-shadow-sm);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
:where([data-slot="combobox-option"], [data-slot="command-item"]) {
|
|
251
|
+
display: flex;
|
|
252
|
+
align-items: center;
|
|
253
|
+
gap: var(--ak-space-sm);
|
|
254
|
+
min-block-size: var(--ak-density-control-height-sm);
|
|
255
|
+
padding-inline: var(--ak-density-control-padding-x-sm);
|
|
256
|
+
border-radius: var(--ak-radius-sm);
|
|
257
|
+
color: var(--ak-color-text);
|
|
258
|
+
font-size: var(--ak-font-size-sm);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:where([data-slot="combobox-option"]:hover, [data-slot="command-item"]:hover) {
|
|
262
|
+
background: var(--ak-color-accent);
|
|
263
|
+
color: var(--ak-color-accent-ink);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:where([data-slot="command-empty"]) {
|
|
267
|
+
padding: var(--ak-space-md);
|
|
268
|
+
color: var(--ak-color-text-muted);
|
|
269
|
+
font-size: var(--ak-font-size-sm);
|
|
270
|
+
text-align: center;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:where([data-slot="command-group"]) {
|
|
274
|
+
display: grid;
|
|
275
|
+
gap: var(--ak-space-xs);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:where([data-slot="command-separator"], [data-slot="field-separator"]) {
|
|
279
|
+
block-size: 1px;
|
|
280
|
+
background: var(--ak-color-border);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:where([data-slot="command-shortcut"]) {
|
|
284
|
+
margin-inline-start: auto;
|
|
285
|
+
color: var(--ak-color-text-subtle);
|
|
286
|
+
font-size: var(--ak-font-size-xs);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
:where([data-slot="data-table"]) {
|
|
290
|
+
overflow-x: auto;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:where([data-slot="empty"]) {
|
|
294
|
+
display: grid;
|
|
295
|
+
place-items: center;
|
|
296
|
+
gap: var(--ak-space-md);
|
|
297
|
+
padding: var(--ak-space-xl);
|
|
298
|
+
color: var(--ak-color-text-muted);
|
|
299
|
+
text-align: center;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
:where([data-slot="empty-header"], [data-slot="empty-content"]) {
|
|
303
|
+
display: grid;
|
|
304
|
+
gap: var(--ak-space-sm);
|
|
305
|
+
justify-items: center;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:where([data-slot="empty-title"]) {
|
|
309
|
+
margin: 0;
|
|
310
|
+
color: var(--ak-color-text);
|
|
311
|
+
font-size: var(--ak-font-size-lg);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:where([data-slot="empty-description"]) {
|
|
315
|
+
margin: 0;
|
|
316
|
+
max-inline-size: 36rem;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
:where([data-slot="empty-media"]) {
|
|
320
|
+
color: var(--ak-color-text-subtle);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:where([data-slot="field-group"], [data-slot="field-content"]) {
|
|
324
|
+
display: grid;
|
|
325
|
+
gap: var(--ak-space-sm);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
:where([data-slot="field-set"]) {
|
|
329
|
+
display: grid;
|
|
330
|
+
gap: var(--ak-space-md);
|
|
331
|
+
min-inline-size: 0;
|
|
332
|
+
margin: 0;
|
|
333
|
+
padding: 0;
|
|
334
|
+
border: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
:where([data-slot="field-legend"], [data-slot="field-title"]) {
|
|
338
|
+
color: var(--ak-color-text);
|
|
339
|
+
font-weight: var(--ak-font-weight-semibold);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
:where([data-slot="field-label"]) {
|
|
343
|
+
display: inline-flex;
|
|
344
|
+
align-items: center;
|
|
345
|
+
gap: var(--ak-space-xs);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
:where([data-slot="field-description"]) {
|
|
349
|
+
margin: 0;
|
|
350
|
+
color: var(--ak-color-text-muted);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
:where([data-slot="input-otp"], [data-slot="input-otp-group"]) {
|
|
354
|
+
display: inline-flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: var(--ak-space-xs);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
:where([data-slot="input-otp-slot"]) {
|
|
360
|
+
display: inline-grid;
|
|
361
|
+
place-items: center;
|
|
362
|
+
min-block-size: var(--ak-density-control-height-md);
|
|
363
|
+
min-inline-size: var(--ak-density-control-height-md);
|
|
364
|
+
border: 1px solid var(--ak-color-border);
|
|
365
|
+
border-radius: var(--ak-radius-md);
|
|
366
|
+
background: var(--ak-color-surface);
|
|
367
|
+
color: var(--ak-color-text);
|
|
368
|
+
box-shadow: var(--ak-shadow-xs);
|
|
369
|
+
font-variant-numeric: tabular-nums;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
:where([data-slot="input-otp-separator"]) {
|
|
373
|
+
color: var(--ak-color-text-subtle);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
:where([data-slot="item"]) {
|
|
377
|
+
display: flex;
|
|
378
|
+
align-items: center;
|
|
379
|
+
gap: var(--ak-space-md);
|
|
380
|
+
min-inline-size: 0;
|
|
381
|
+
padding: var(--ak-space-3);
|
|
382
|
+
border: 1px solid transparent;
|
|
383
|
+
border-radius: var(--ak-radius-md);
|
|
384
|
+
color: var(--ak-color-text);
|
|
385
|
+
transition:
|
|
386
|
+
background var(--ak-duration-fast) var(--ak-ease-standard),
|
|
387
|
+
border-color var(--ak-duration-fast) var(--ak-ease-standard),
|
|
388
|
+
color var(--ak-duration-fast) var(--ak-ease-standard);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
:where([data-slot="item-media"]) {
|
|
392
|
+
display: inline-grid;
|
|
393
|
+
place-items: center;
|
|
394
|
+
flex: none;
|
|
395
|
+
inline-size: 2rem;
|
|
396
|
+
block-size: 2rem;
|
|
397
|
+
border-radius: var(--ak-radius-md);
|
|
398
|
+
background: var(--ak-color-surface-muted);
|
|
399
|
+
color: var(--ak-color-text-muted);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
:where([data-slot="item-content"]) {
|
|
403
|
+
display: grid;
|
|
404
|
+
gap: var(--ak-space-2xs, 0.125rem);
|
|
405
|
+
min-inline-size: 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
:where([data-slot="item-title"]) {
|
|
409
|
+
color: var(--ak-color-text);
|
|
410
|
+
font-weight: var(--ak-font-weight-medium);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
:where([data-slot="item-description"]) {
|
|
414
|
+
color: var(--ak-color-text-muted);
|
|
415
|
+
font-size: var(--ak-font-size-sm);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
:where([data-slot="item-actions"]) {
|
|
419
|
+
display: inline-flex;
|
|
420
|
+
align-items: center;
|
|
421
|
+
gap: var(--ak-space-xs);
|
|
422
|
+
margin-inline-start: auto;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
:where([data-slot="kbd"]) {
|
|
426
|
+
display: inline-flex;
|
|
427
|
+
align-items: center;
|
|
428
|
+
justify-content: center;
|
|
429
|
+
min-block-size: 1.5rem;
|
|
430
|
+
padding-inline: var(--ak-space-xs);
|
|
431
|
+
border: 1px solid var(--ak-color-border);
|
|
432
|
+
border-radius: var(--ak-radius-sm);
|
|
433
|
+
background: var(--ak-color-surface-muted);
|
|
434
|
+
color: var(--ak-color-text);
|
|
435
|
+
box-shadow: var(--ak-shadow-xs);
|
|
436
|
+
font-size: var(--ak-font-size-xs);
|
|
437
|
+
font-weight: var(--ak-font-weight-medium);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
:where([data-slot="native-select"]) {
|
|
441
|
+
appearance: auto;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
:where([data-slot="navigation-menu-list"]) {
|
|
445
|
+
display: flex;
|
|
446
|
+
flex-wrap: wrap;
|
|
447
|
+
align-items: center;
|
|
448
|
+
gap: var(--ak-space-sm);
|
|
449
|
+
margin: 0;
|
|
450
|
+
padding: 0;
|
|
451
|
+
list-style: none;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
:where([data-slot="navigation-menu-item"]) {
|
|
455
|
+
position: relative;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
:where([data-slot="navigation-menu-link"]) {
|
|
459
|
+
color: var(--ak-color-text-muted);
|
|
460
|
+
text-decoration: none;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
:where([data-slot="navigation-menu-link"]:hover) {
|
|
464
|
+
color: var(--ak-color-text);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
:where([data-slot="navigation-menu-viewport"]) {
|
|
468
|
+
margin-block-start: var(--ak-space-sm);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
:where([data-slot="navigation-menu-indicator"]) {
|
|
472
|
+
block-size: 2px;
|
|
473
|
+
background: var(--ak-color-primary);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
:where([data-slot="resizable-panel-group"]) {
|
|
477
|
+
display: flex;
|
|
478
|
+
min-inline-size: 0;
|
|
479
|
+
overflow: hidden;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
:where([data-slot="resizable-panel"]) {
|
|
483
|
+
flex: 1 1 0;
|
|
484
|
+
min-inline-size: 0;
|
|
485
|
+
overflow: auto;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
:where([data-slot="resizable-handle"]) {
|
|
489
|
+
flex: 0 0 0.5rem;
|
|
490
|
+
background: var(--ak-color-border);
|
|
491
|
+
cursor: col-resize;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
:where([data-slot="tabs-list"]) {
|
|
495
|
+
display: inline-flex;
|
|
496
|
+
flex-wrap: wrap;
|
|
497
|
+
gap: var(--ak-space-2xs, 0.125rem);
|
|
498
|
+
padding: var(--ak-space-2xs, 0.125rem);
|
|
499
|
+
border-radius: var(--ak-radius-md);
|
|
500
|
+
background: var(--ak-color-surface-muted);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
:where([data-slot="tabs-trigger"]) {
|
|
504
|
+
border: 1px solid transparent;
|
|
505
|
+
border-radius: var(--ak-radius-sm);
|
|
506
|
+
min-block-size: var(--ak-density-control-height-sm);
|
|
507
|
+
padding-inline: var(--ak-density-control-padding-x-sm);
|
|
508
|
+
color: var(--ak-color-text-muted);
|
|
509
|
+
font-size: var(--ak-font-size-sm);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
:where([data-slot="tabs-trigger"]:hover) {
|
|
513
|
+
background: color-mix(in oklch, var(--ak-color-surface-muted) 80%, transparent);
|
|
514
|
+
color: var(--ak-color-text);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
:where(
|
|
518
|
+
[data-slot="tabs-trigger"][data-state="active"],
|
|
519
|
+
[data-slot="tabs-trigger"][data-active="true"]
|
|
520
|
+
) {
|
|
521
|
+
background: var(--ak-color-bg);
|
|
522
|
+
color: var(--ak-color-text);
|
|
523
|
+
box-shadow: var(--ak-shadow-xs);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
:where([data-slot="tabs-trigger"]:focus-visible, [data-slot="tabs-content"]:focus-visible) {
|
|
527
|
+
outline: none;
|
|
528
|
+
box-shadow: 0 0 0 var(--ak-focus-ring-width) var(--ak-color-focus-ring);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
:where([data-slot="tabs-content"]) {
|
|
532
|
+
margin-block-start: var(--ak-space-md);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
:where([data-slot="sonner"]) {
|
|
536
|
+
position: fixed;
|
|
537
|
+
inset-inline-end: var(--ak-space-md);
|
|
538
|
+
inset-block-end: var(--ak-space-md);
|
|
539
|
+
z-index: var(--ak-z-toast);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
:where([data-slot="typography"]) {
|
|
543
|
+
color: var(--ak-color-text);
|
|
544
|
+
line-height: var(--ak-line-height-normal);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
:where([data-slot="typography-h1"]) {
|
|
548
|
+
margin: 0 0 var(--ak-space-md);
|
|
549
|
+
font-size: var(--ak-font-size-display);
|
|
550
|
+
line-height: var(--ak-line-height-tight);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
:where([data-slot="typography-h2"], [data-slot="typography-h3"], [data-slot="typography-h4"]) {
|
|
554
|
+
margin: var(--ak-space-lg) 0 var(--ak-space-sm);
|
|
555
|
+
color: var(--ak-color-text);
|
|
556
|
+
line-height: var(--ak-line-height-tight);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
:where([data-slot="typography-p"], [data-slot="typography-lead"], [data-slot="typography-muted"]) {
|
|
560
|
+
margin: 0 0 var(--ak-space-md);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
:where([data-slot="typography-lead"]) {
|
|
564
|
+
color: var(--ak-color-text-muted);
|
|
565
|
+
font-size: var(--ak-font-size-lg);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
:where([data-slot="typography-muted"]) {
|
|
569
|
+
color: var(--ak-color-text-subtle);
|
|
570
|
+
font-size: var(--ak-font-size-sm);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
:where([data-slot="typography-blockquote"]) {
|
|
574
|
+
margin: var(--ak-space-md) 0;
|
|
575
|
+
padding-inline-start: var(--ak-space-md);
|
|
576
|
+
border-inline-start: 3px solid var(--ak-color-border-strong);
|
|
577
|
+
color: var(--ak-color-text-muted);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
:where([data-slot="typography-list"]) {
|
|
581
|
+
margin: 0 0 var(--ak-space-md);
|
|
582
|
+
padding-inline-start: var(--ak-space-lg);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
:where([data-slot="calendar-header"]) {
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
justify-content: space-between;
|
|
589
|
+
gap: var(--ak-space-sm);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
:where([data-slot="calendar-nav"]) {
|
|
593
|
+
display: flex;
|
|
594
|
+
align-items: center;
|
|
595
|
+
gap: var(--ak-space-xs);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
:where([data-slot="calendar-previous"], [data-slot="calendar-next"]) {
|
|
599
|
+
inline-size: var(--ak-density-control-height-sm);
|
|
600
|
+
min-inline-size: var(--ak-density-control-height-sm);
|
|
601
|
+
min-block-size: var(--ak-density-control-height-sm);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
:where([data-slot="calendar-day"][data-today="true"]) {
|
|
605
|
+
background: var(--ak-color-accent);
|
|
606
|
+
color: var(--ak-color-accent-ink);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
:where([data-slot="calendar-day"][data-selected="true"]) {
|
|
610
|
+
background: var(--ak-color-primary);
|
|
611
|
+
border-color: var(--ak-color-primary);
|
|
612
|
+
color: var(--ak-color-text-inverse);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
:where(
|
|
616
|
+
[data-slot="calendar-day"][data-range-start="true"],
|
|
617
|
+
[data-slot="calendar-day"][data-range-end="true"]
|
|
618
|
+
) {
|
|
619
|
+
background: var(--ak-color-primary);
|
|
620
|
+
border-color: var(--ak-color-primary);
|
|
621
|
+
color: var(--ak-color-text-inverse);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
:where([data-slot="calendar-day"][data-range-middle="true"]) {
|
|
625
|
+
background: var(--ak-color-accent);
|
|
626
|
+
border-color: var(--ak-color-accent);
|
|
627
|
+
color: var(--ak-color-accent-ink);
|
|
628
|
+
border-radius: 0;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
:where([data-slot="calendar-day"][data-outside="true"]) {
|
|
632
|
+
color: var(--ak-color-text-subtle);
|
|
633
|
+
opacity: 0.5;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
:where([data-slot="calendar-day"][data-disabled]) {
|
|
637
|
+
pointer-events: none;
|
|
638
|
+
opacity: 0.5;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
:where([data-slot="calendar-day"]:focus-visible) {
|
|
642
|
+
outline: none;
|
|
643
|
+
box-shadow: 0 0 0 var(--ak-focus-ring-width) var(--ak-color-focus-ring);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
:where([data-slot="command-dialog"]) {
|
|
647
|
+
overflow: hidden;
|
|
648
|
+
border: 1px solid var(--ak-color-border);
|
|
649
|
+
border-radius: var(--ak-radius-lg);
|
|
650
|
+
background: var(--ak-color-popover);
|
|
651
|
+
color: var(--ak-color-popover-ink);
|
|
652
|
+
box-shadow: var(--ak-shadow-lg);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
:where([data-slot="command-header"]) {
|
|
656
|
+
display: flex;
|
|
657
|
+
align-items: center;
|
|
658
|
+
border-block-end: 1px solid var(--ak-color-border);
|
|
659
|
+
padding-inline: var(--ak-space-3);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
:where([data-slot="command-input"]) {
|
|
663
|
+
border: 0;
|
|
664
|
+
box-shadow: none;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
:where([data-slot="command-list"]) {
|
|
668
|
+
max-block-size: 18rem;
|
|
669
|
+
overflow-y: auto;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
:where([data-slot="command-group-heading"]) {
|
|
673
|
+
padding: var(--ak-space-sm) var(--ak-space-sm) var(--ak-space-xs);
|
|
674
|
+
color: var(--ak-color-text-muted);
|
|
675
|
+
font-size: var(--ak-font-size-xs);
|
|
676
|
+
font-weight: var(--ak-font-weight-medium);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
:where([data-slot="command-item"]) {
|
|
680
|
+
position: relative;
|
|
681
|
+
cursor: default;
|
|
682
|
+
user-select: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
:where(
|
|
686
|
+
[data-slot="command-item"][data-selected="true"],
|
|
687
|
+
[data-slot="command-item"][aria-selected="true"]
|
|
688
|
+
) {
|
|
689
|
+
background: var(--ak-color-accent);
|
|
690
|
+
color: var(--ak-color-accent-ink);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
:where([data-slot="command-item"][data-disabled]) {
|
|
694
|
+
pointer-events: none;
|
|
695
|
+
opacity: 0.5;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
:where([data-slot="item-group"]) {
|
|
699
|
+
display: grid;
|
|
700
|
+
gap: var(--ak-space-xs);
|
|
701
|
+
min-inline-size: 0;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
:where([data-slot="item-header"], [data-slot="item-footer"]) {
|
|
705
|
+
display: flex;
|
|
706
|
+
align-items: center;
|
|
707
|
+
gap: var(--ak-space-sm);
|
|
708
|
+
min-inline-size: 0;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
:where([data-slot="item"][data-variant="outline"]) {
|
|
712
|
+
border: 1px solid var(--ak-color-border);
|
|
713
|
+
background: var(--ak-color-bg);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
:where([data-slot="item"][data-variant="muted"]) {
|
|
717
|
+
background: var(--ak-color-surface-muted);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
:where([data-slot="item"][data-active="true"]) {
|
|
721
|
+
background: var(--ak-color-accent);
|
|
722
|
+
color: var(--ak-color-accent-ink);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
:where([data-slot="item"][data-size="sm"]) {
|
|
726
|
+
gap: var(--ak-space-sm);
|
|
727
|
+
padding: var(--ak-space-sm);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
:where([data-slot="item"][data-size="xs"]) {
|
|
731
|
+
gap: var(--ak-space-xs);
|
|
732
|
+
padding: var(--ak-space-xs) var(--ak-space-sm);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
:where([data-slot="item"][data-size="xs"] [data-slot="item-description"]) {
|
|
736
|
+
font-size: var(--ak-font-size-xs);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
@media (max-width: 36rem) {
|
|
740
|
+
:where([data-slot="card-header"]) {
|
|
741
|
+
grid-template-columns: 1fr;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:where([data-slot="card-action"]) {
|
|
745
|
+
grid-column-start: 1;
|
|
746
|
+
grid-row: auto;
|
|
747
|
+
justify-self: start;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
:where([data-slot="item"]) {
|
|
751
|
+
align-items: flex-start;
|
|
752
|
+
}
|
|
753
|
+
}
|