@teseor/css 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiled.css +1 -1
- package/dist/index.css +134 -135
- package/package.json +2 -2
- package/src/{02-base → base}/root/root.scss +1 -1
- package/src/base/typography/typography.docs.json +328 -0
- package/src/{02-base → base}/typography/typography.scss +2 -2
- package/src/components/actions/button/button-visual.png +0 -0
- package/src/{04-components → components}/actions/button/button.api.json +30 -33
- package/src/{04-components → components}/actions/button/button.docs.json +63 -11
- package/src/{04-components → components}/actions/button/index.scss +54 -23
- package/src/{04-components → components}/actions/button-group/button-group.api.json +3 -1
- package/src/components/actions/button-group/button-group.docs.json +151 -0
- package/src/{04-components → components}/actions/button-group/index.scss +5 -1
- package/src/components/actions/close-button/close-button.api.json +84 -0
- package/src/{04-components → components}/actions/close-button/close-button.docs.json +4 -3
- package/src/{04-components → components}/actions/close-button/index.scss +27 -7
- package/src/{04-components/layout → components/content}/divider/divider.api.json +12 -7
- package/src/components/content/divider/divider.docs.json +113 -0
- package/src/{04-components/layout → components/content}/divider/index.scss +12 -5
- package/src/{04-components/layout → components/content}/scroll-area/index.scss +16 -2
- package/src/components/content/scroll-area/scroll-area-visual.png +0 -0
- package/src/components/content/scroll-area/scroll-area.api.json +74 -0
- package/src/{04-components/layout → components/content}/scroll-area/scroll-area.docs.json +71 -2
- package/src/components/content/spacer/index.scss +16 -0
- package/src/components/content/spacer/spacer.api.json +13 -0
- package/src/{04-components/layout → components/content}/spacer/spacer.docs.json +2 -2
- package/src/components/data-display/avatar/avatar.api.json +94 -0
- package/src/{04-components → components}/data-display/avatar/avatar.docs.json +55 -10
- package/src/{04-components → components}/data-display/avatar/index.scss +21 -3
- package/src/components/data-display/badge/badge-visual.png +0 -0
- package/src/components/data-display/badge/badge.api.json +80 -0
- package/src/{04-components → components}/data-display/badge/badge.docs.json +32 -7
- package/src/{04-components → components}/data-display/badge/index.scss +26 -7
- package/src/components/data-display/card/card-visual.png +0 -0
- package/src/components/data-display/card/card.api.json +66 -0
- package/src/{04-components → components}/data-display/card/card.docs.json +26 -2
- package/src/components/data-display/card/index.scss +76 -0
- package/src/{04-components → components}/data-display/data-list/data-list.api.json +9 -4
- package/src/components/data-display/data-list/data-list.docs.json +259 -0
- package/src/{04-components → components}/data-display/data-list/index.scss +29 -12
- package/src/components/data-display/icon/icon-visual.png +0 -0
- package/src/{04-components → components}/data-display/icon/icon.api.json +11 -22
- package/src/{04-components → components}/data-display/icon/icon.docs.json +105 -17
- package/src/{04-components → components}/data-display/icon/index.scss +16 -5
- package/src/components/data-display/image/image.api.json +90 -0
- package/src/{04-components → components}/data-display/image/image.docs.json +9 -9
- package/src/{04-components → components}/data-display/image/index.scss +16 -2
- package/src/{04-components → components}/data-display/stat/index.scss +14 -2
- package/src/components/data-display/stat/stat.api.json +56 -0
- package/src/{04-components → components}/data-display/stat/stat.docs.json +1 -1
- package/src/{04-components → components}/data-display/status/index.scss +15 -1
- package/src/{04-components → components}/data-display/status/status.api.json +10 -6
- package/src/components/data-display/status/status.docs.json +147 -0
- package/src/{04-components → components}/data-display/table/index.scss +21 -7
- package/src/components/data-display/table/table.api.json +40 -0
- package/src/components/data-display/table/table.docs.json +184 -0
- package/src/{04-components → components}/data-display/tag/index.scss +35 -4
- package/src/components/data-display/tag/tag-visual.png +0 -0
- package/src/components/data-display/tag/tag.api.json +128 -0
- package/src/{04-components → components}/data-display/tag/tag.docs.json +48 -10
- package/src/components/disclosure/accordion/accordion.api.json +27 -0
- package/src/components/disclosure/accordion/accordion.docs.json +206 -0
- package/src/{04-components → components}/disclosure/accordion/index.scss +9 -3
- package/src/components/disclosure/disclosure/disclosure-visual.png +0 -0
- package/src/{04-components → components}/disclosure/disclosure/disclosure.api.json +15 -8
- package/src/components/disclosure/disclosure/disclosure.docs.json +154 -0
- package/src/{04-components → components}/disclosure/disclosure/index.scss +32 -7
- package/src/{04-components → components}/feedback/alert/alert-visual.png +0 -0
- package/src/components/feedback/alert/alert.api.json +95 -0
- package/src/components/feedback/alert/alert.docs.json +325 -0
- package/src/{04-components → components}/feedback/alert/index.scss +49 -8
- package/src/{04-components → components}/feedback/progress/index.scss +27 -4
- package/src/components/feedback/progress/progress-visual.png +0 -0
- package/src/{04-components → components}/feedback/progress/progress.api.json +13 -8
- package/src/components/feedback/progress/progress.docs.json +257 -0
- package/src/{04-components → components}/feedback/progress-circle/index.scss +26 -7
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.api.json +17 -8
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.docs.json +5 -4
- package/src/{04-components → components}/feedback/skeleton/index.scss +20 -3
- package/src/components/feedback/skeleton/skeleton.api.json +30 -0
- package/src/components/feedback/skeleton/skeleton.docs.json +126 -0
- package/src/{04-components → components}/feedback/spinner/index.scss +26 -7
- package/src/components/feedback/spinner/spinner.api.json +77 -0
- package/src/{04-components → components}/feedback/spinner/spinner.docs.json +42 -9
- package/src/{04-components → components}/feedback/toast/index.scss +47 -17
- package/src/components/feedback/toast/toast.api.json +90 -0
- package/src/components/feedback/toast/toast.docs.json +281 -0
- package/src/components/forms/checkbox/checkbox.api.json +65 -0
- package/src/{04-components → components}/forms/checkbox/checkbox.docs.json +30 -10
- package/src/{04-components → components}/forms/checkbox/index.scss +35 -10
- package/src/components/forms/checkbox-group/checkbox-group.api.json +73 -0
- package/src/{04-components → components}/forms/checkbox-group/checkbox-group.docs.json +1 -0
- package/src/{04-components → components}/forms/checkbox-group/index.scss +23 -6
- package/src/components/forms/field/field.api.json +21 -0
- package/src/components/forms/field/field.docs.json +190 -0
- package/src/{04-components → components}/forms/field/index.scss +5 -1
- package/src/components/forms/fieldset/fieldset.api.json +68 -0
- package/src/{04-components → components}/forms/fieldset/index.scss +22 -5
- package/src/components/forms/form/form.api.json +42 -0
- package/src/{04-components → components}/forms/form/index.scss +11 -1
- package/src/components/forms/form-error/form-error.api.json +26 -0
- package/src/{04-components → components}/forms/form-error/form-error.docs.json +23 -2
- package/src/{04-components → components}/forms/form-error/index.scss +8 -2
- package/src/components/forms/form-helper/form-helper.api.json +23 -0
- package/src/{04-components → components}/forms/form-helper/form-helper.docs.json +3 -1
- package/src/{04-components → components}/forms/form-helper/index.scss +8 -2
- package/src/{04-components → components}/forms/input/index.scss +49 -16
- package/src/{04-components → components}/forms/input/input-visual.png +0 -0
- package/src/components/forms/input/input.api.json +114 -0
- package/src/{04-components → components}/forms/input/input.docs.json +128 -11
- package/src/{04-components → components}/forms/label/index.scss +15 -6
- package/src/components/forms/label/label-visual.png +0 -0
- package/src/components/forms/label/label.api.json +36 -0
- package/src/{04-components → components}/forms/label/label.docs.json +43 -6
- package/src/{04-components → components}/forms/number-input/index.scss +41 -16
- package/src/components/forms/number-input/number-input-visual.png +0 -0
- package/src/components/forms/number-input/number-input.api.json +103 -0
- package/src/{04-components → components}/forms/number-input/number-input.docs.json +50 -1
- package/src/{04-components → components}/forms/password-input/index.scss +45 -14
- package/src/components/forms/password-input/password-input-visual.png +0 -0
- package/src/components/forms/password-input/password-input.api.json +115 -0
- package/src/{04-components → components}/forms/password-input/password-input.docs.json +42 -2
- package/src/{04-components → components}/forms/radio/index.scss +35 -11
- package/src/components/forms/radio/radio.api.json +60 -0
- package/src/{04-components → components}/forms/radio/radio.docs.json +94 -12
- package/src/{04-components → components}/forms/radio-group/index.scss +23 -6
- package/src/components/forms/radio-group/radio-group.api.json +73 -0
- package/src/{04-components → components}/forms/radio-group/radio-group.docs.json +1 -0
- package/src/{04-components → components}/forms/search-input/index.scss +43 -12
- package/src/components/forms/search-input/search-input-visual.png +0 -0
- package/src/components/forms/search-input/search-input.api.json +126 -0
- package/src/{04-components → components}/forms/search-input/search-input.docs.json +37 -1
- package/src/{04-components → components}/forms/select/index.scss +46 -15
- package/src/components/forms/select/select-visual.png +0 -0
- package/src/components/forms/select/select.api.json +106 -0
- package/src/{04-components → components}/forms/select/select.docs.json +87 -18
- package/src/{04-components → components}/forms/slider/index.scss +29 -11
- package/src/components/forms/slider/slider.api.json +85 -0
- package/src/{04-components → components}/forms/slider/slider.docs.json +3 -3
- package/src/{04-components → components}/forms/textarea/index.scss +45 -14
- package/src/components/forms/textarea/textarea.api.json +116 -0
- package/src/{04-components → components}/forms/textarea/textarea.docs.json +15 -9
- package/src/{04-components → components}/forms/toggle/index.scss +20 -8
- package/src/components/forms/toggle/toggle-visual.png +0 -0
- package/src/components/forms/toggle/toggle.api.json +57 -0
- package/src/components/forms/toggle/toggle.docs.json +229 -0
- package/src/{04-components → components}/index.scss +3 -3
- package/src/components/navigation/breadcrumb/breadcrumb.api.json +50 -0
- package/src/components/navigation/breadcrumb/breadcrumb.docs.json +170 -0
- package/src/{04-components → components}/navigation/breadcrumb/index.scss +18 -5
- package/src/components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.api.json +7 -3
- package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.docs.json +18 -0
- package/src/{04-components → components}/navigation/dropdown-menu/index.scss +16 -6
- package/src/{04-components → components}/navigation/menu/index.scss +43 -19
- package/src/{04-components → components}/navigation/menu/menu.api.json +24 -13
- package/src/components/navigation/menu/menu.docs.json +326 -0
- package/src/{04-components → components}/navigation/nav/index.scss +31 -12
- package/src/components/navigation/nav/nav.api.json +79 -0
- package/src/{04-components → components}/navigation/pagination/index.scss +22 -6
- package/src/{04-components → components}/navigation/pagination/pagination.api.json +21 -12
- package/src/components/navigation/pagination/pagination.docs.json +483 -0
- package/src/components/navigation/tabs/index.scss +149 -0
- package/src/components/navigation/tabs/tabs-visual.png +0 -0
- package/src/components/navigation/tabs/tabs.api.json +90 -0
- package/src/components/navigation/tabs/tabs.docs.json +243 -0
- package/src/components/overlays/dialog/dialog.api.json +39 -0
- package/src/components/overlays/dialog/dialog.docs.json +200 -0
- package/src/{04-components → components}/overlays/dialog/index.scss +13 -4
- package/src/components/overlays/drawer/drawer-visual.png +0 -0
- package/src/components/overlays/drawer/drawer.api.json +68 -0
- package/src/components/overlays/drawer/drawer.docs.json +282 -0
- package/src/{04-components → components}/overlays/drawer/index.scss +60 -28
- package/src/{04-components → components}/overlays/modal/index.scss +20 -5
- package/src/components/overlays/modal/modal.api.json +64 -0
- package/src/components/overlays/modal/modal.docs.json +163 -0
- package/src/components/overlays/overlay/index.scss +61 -0
- package/src/{04-components → components}/overlays/overlay/overlay.api.json +11 -6
- package/src/components/overlays/overlay/overlay.docs.json +138 -0
- package/src/{04-components → components}/overlays/popover/index.scss +27 -10
- package/src/components/overlays/popover/popover.api.json +56 -0
- package/src/{04-components → components}/overlays/popover/popover.docs.json +47 -6
- package/src/{04-components → components}/overlays/tooltip/index.scss +22 -7
- package/src/components/overlays/tooltip/tooltip.api.json +58 -0
- package/src/{04-components → components}/overlays/tooltip/tooltip.docs.json +46 -6
- package/src/components/typography/blockquote/blockquote.api.json +45 -0
- package/src/{04-components → components}/typography/blockquote/index.scss +18 -5
- package/src/components/typography/code/code-visual.png +0 -0
- package/src/components/typography/code/code.api.json +67 -0
- package/src/{04-components → components}/typography/code/code.docs.json +23 -3
- package/src/{04-components → components}/typography/code/index.scss +24 -7
- package/src/{04-components → components}/typography/code-block/code-block-visual.png +0 -0
- package/src/components/typography/code-block/code-block.api.json +75 -0
- package/src/{04-components → components}/typography/code-block/code-block.docs.json +19 -0
- package/src/{04-components → components}/typography/code-block/index.scss +27 -8
- package/src/components/typography/heading/heading.api.json +102 -0
- package/src/{04-components → components}/typography/heading/heading.docs.json +28 -6
- package/src/{04-components → components}/typography/heading/index.scss +19 -1
- package/src/{04-components → components}/typography/kbd/index.scss +15 -3
- package/src/components/typography/kbd/kbd.api.json +48 -0
- package/src/{04-components → components}/typography/kbd/kbd.docs.json +1 -1
- package/src/{04-components → components}/typography/link/index.scss +17 -4
- package/src/components/typography/link/link.api.json +53 -0
- package/src/{04-components → components}/typography/link/link.docs.json +51 -6
- package/src/{04-components → components}/typography/list/index.scss +8 -1
- package/src/{04-components → components}/typography/list/list.api.json +12 -7
- package/src/{04-components → components}/typography/list/list.docs.json +5 -2
- package/src/{04-components → components}/typography/mark/index.scss +8 -1
- package/src/components/typography/mark/mark.api.json +33 -0
- package/src/{00-config → config}/tokens/_variables.scss +48 -0
- package/src/config/tokens/accessibility.docs.json +104 -0
- package/src/config/tokens/borders/index.scss +8 -0
- package/src/config/tokens/colors/colors.docs.json +316 -0
- package/src/config/tokens/colors/index.scss +28 -0
- package/src/{00-config → config}/tokens/grid/grid.docs.json +1 -1
- package/src/config/tokens/grid/index.scss +13 -0
- package/src/{00-config → config}/tokens/motion/index.scss +2 -0
- package/src/config/tokens/radius/index.scss +9 -0
- package/src/config/tokens/semantic/colors/index.scss +67 -0
- package/src/config/tokens/semantic/spacing/index.scss +12 -0
- package/src/config/tokens/shadows/index.scss +7 -0
- package/src/config/tokens/spacing/index.scss +17 -0
- package/src/{00-config → config}/tokens/spacing/spacing.docs.json +7 -7
- package/src/config/tokens/theming.docs.json +179 -0
- package/src/config/tokens/typography/index.scss +120 -0
- package/src/{00-config → config}/tokens/zindex/index.scss +1 -0
- package/src/{99-debug → debug}/grid-overlay.scss +7 -6
- package/src/index.scss +17 -20
- package/src/layout/app-shell/app-shell-visual.png +0 -0
- package/src/layout/app-shell/app-shell.api.json +24 -0
- package/src/{03-layout → layout}/app-shell/app-shell.docs.json +28 -10
- package/src/layout/app-shell/app-shell.visual.spec.ts +13 -0
- package/src/layout/app-shell/index.scss +9 -0
- package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.api.json +2 -7
- package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.docs.json +2 -2
- package/src/{03-layout → layout}/aspect-ratio/index.scss +4 -0
- package/src/layout/box/box-visual.png +0 -0
- package/src/layout/box/box.api.json +32 -0
- package/src/layout/box/box.docs.json +93 -0
- package/src/layout/box/box.visual.spec.ts +13 -0
- package/src/layout/box/index.scss +52 -0
- package/src/layout/center/center-visual.png +0 -0
- package/src/layout/center/center.api.json +7 -0
- package/src/layout/center/center.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/center/index.scss +3 -0
- package/src/layout/column/column-visual.png +0 -0
- package/src/layout/column/column.api.json +11 -0
- package/src/{03-layout/stack/stack.docs.json → layout/column/column.docs.json} +7 -7
- package/src/layout/column/column.visual.spec.ts +13 -0
- package/src/layout/column/index.scss +22 -0
- package/src/{03-layout → layout}/container/container.api.json +4 -3
- package/src/layout/container/index.scss +24 -0
- package/src/layout/content/content.api.json +30 -0
- package/src/{03-layout → layout}/content/index.scss +10 -1
- package/src/layout/footer/footer-visual.png +0 -0
- package/src/{03-layout → layout}/footer/footer.api.json +11 -5
- package/src/{03-layout → layout}/footer/footer.docs.json +9 -0
- package/src/{03-layout → layout}/footer/index.scss +21 -5
- package/src/layout/grid/grid-visual.png +0 -0
- package/src/layout/grid/grid.api.json +11 -0
- package/src/layout/grid/grid.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/grid/index.scss +6 -1
- package/src/{03-layout → layout}/index.scss +2 -3
- package/src/layout/main/index.scss +24 -0
- package/src/{03-layout → layout}/main/main.api.json +1 -0
- package/src/{03-layout → layout}/nav-rail/index.scss +14 -3
- package/src/layout/nav-rail/nav-rail.api.json +41 -0
- package/src/{03-layout → layout}/page-header/index.scss +21 -6
- package/src/{03-layout → layout}/page-header/page-header.api.json +9 -4
- package/src/layout/row/index.scss +26 -0
- package/src/layout/row/row.api.json +11 -0
- package/src/{03-layout/cluster/cluster.docs.json → layout/row/row.docs.json} +6 -6
- package/src/{03-layout/cluster/cluster.visual.spec.ts → layout/row/row.visual.spec.ts} +5 -5
- package/src/layout/sidebar/index.scss +40 -0
- package/src/{03-layout → layout}/sidebar/sidebar.api.json +1 -0
- package/src/{03-layout → layout}/sidebar/sidebar.docs.json +6 -5
- package/src/{03-layout → layout}/sidebar-nav/index.scss +70 -19
- package/src/layout/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/layout/sidebar-nav/sidebar-nav.api.json +143 -0
- package/src/layout/sidebar-nav/sidebar-nav.docs.json +827 -0
- package/src/{03-layout → layout}/topbar/index.scss +20 -5
- package/src/{03-layout → layout}/topbar/topbar.api.json +11 -5
- package/src/testing/api-types.ts +1 -1
- package/src/testing/grid-alignment.spec.ts +34 -88
- package/src/testing/html-generator.ts +1 -1
- package/src/testing/page-setup.ts +4 -2
- package/src/utilities/border/index.scss +18 -0
- package/src/{05-utilities → utilities}/display/display.scss +11 -11
- package/src/{05-utilities → utilities}/spacing/spacing.docs.json +1 -1
- package/src/{05-utilities → utilities}/spacing/spacing.scss +5 -5
- package/src/{05-utilities → utilities}/text/text.docs.json +7 -7
- package/src/{05-utilities → utilities}/visually-hidden/index.scss +2 -2
- package/src/{05-utilities → utilities}/visually-hidden/visually-hidden.docs.json +17 -2
- package/src/00-config/mixins/_border.scss +0 -13
- package/src/00-config/mixins/index.scss +0 -1
- package/src/00-config/tokens/borders/index.scss +0 -6
- package/src/00-config/tokens/colors/colors.docs.json +0 -168
- package/src/00-config/tokens/colors/index.scss +0 -26
- package/src/00-config/tokens/grid/index.scss +0 -11
- package/src/00-config/tokens/radius/index.scss +0 -7
- package/src/00-config/tokens/semantic/colors/index.scss +0 -30
- package/src/00-config/tokens/semantic/spacing/index.scss +0 -10
- package/src/00-config/tokens/shadows/index.scss +0 -5
- package/src/00-config/tokens/spacing/index.scss +0 -15
- package/src/00-config/tokens/theming.docs.json +0 -77
- package/src/00-config/tokens/typography/index.scss +0 -119
- package/src/02-base/typography/typography.docs.json +0 -94
- package/src/03-layout/app-shell/app-shell.api.json +0 -44
- package/src/03-layout/app-shell/index.scss +0 -5
- package/src/03-layout/box/box.api.json +0 -15
- package/src/03-layout/box/box.docs.json +0 -57
- package/src/03-layout/box/index.scss +0 -34
- package/src/03-layout/center/center.api.json +0 -6
- package/src/03-layout/cluster/cluster.api.json +0 -10
- package/src/03-layout/cluster/index.scss +0 -18
- package/src/03-layout/container/index.scss +0 -17
- package/src/03-layout/content/content.api.json +0 -26
- package/src/03-layout/flex/flex.api.json +0 -15
- package/src/03-layout/flex/flex.docs.json +0 -56
- package/src/03-layout/flex/index.scss +0 -51
- package/src/03-layout/footer/footer-visual.png +0 -0
- package/src/03-layout/grid/grid.api.json +0 -10
- package/src/03-layout/main/index.scss +0 -18
- package/src/03-layout/nav-rail/nav-rail.api.json +0 -35
- package/src/03-layout/sidebar/index.scss +0 -30
- package/src/03-layout/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/03-layout/sidebar-nav/sidebar-nav.api.json +0 -64
- package/src/03-layout/sidebar-nav/sidebar-nav.docs.json +0 -100
- package/src/03-layout/stack/index.scss +0 -13
- package/src/03-layout/stack/stack.api.json +0 -10
- package/src/04-components/actions/button/button-visual.png +0 -0
- package/src/04-components/actions/button-group/button-group.docs.json +0 -52
- package/src/04-components/actions/close-button/close-button.api.json +0 -71
- package/src/04-components/data-display/avatar/avatar.api.json +0 -75
- package/src/04-components/data-display/badge/badge-visual.png +0 -0
- package/src/04-components/data-display/badge/badge.api.json +0 -86
- package/src/04-components/data-display/card/card-visual.png +0 -0
- package/src/04-components/data-display/card/card.api.json +0 -53
- package/src/04-components/data-display/card/index.scss +0 -41
- package/src/04-components/data-display/data-list/data-list.docs.json +0 -79
- package/src/04-components/data-display/icon/icon-visual.png +0 -0
- package/src/04-components/data-display/image/image.api.json +0 -76
- package/src/04-components/data-display/stat/stat.api.json +0 -18
- package/src/04-components/data-display/status/status.docs.json +0 -60
- package/src/04-components/data-display/table/table.api.json +0 -34
- package/src/04-components/data-display/table/table.docs.json +0 -59
- package/src/04-components/data-display/tag/tag-visual.png +0 -0
- package/src/04-components/data-display/tag/tag.api.json +0 -90
- package/src/04-components/disclosure/accordion/accordion.api.json +0 -23
- package/src/04-components/disclosure/accordion/accordion.docs.json +0 -51
- package/src/04-components/disclosure/disclosure/disclosure-visual.png +0 -0
- package/src/04-components/disclosure/disclosure/disclosure.docs.json +0 -73
- package/src/04-components/feedback/alert/alert.api.json +0 -97
- package/src/04-components/feedback/alert/alert.docs.json +0 -79
- package/src/04-components/feedback/progress/progress-visual.png +0 -0
- package/src/04-components/feedback/progress/progress.docs.json +0 -87
- package/src/04-components/feedback/skeleton/skeleton.api.json +0 -26
- package/src/04-components/feedback/skeleton/skeleton.docs.json +0 -62
- package/src/04-components/feedback/spinner/spinner.api.json +0 -63
- package/src/04-components/feedback/toast/toast.api.json +0 -64
- package/src/04-components/feedback/toast/toast.docs.json +0 -99
- package/src/04-components/forms/checkbox/checkbox.api.json +0 -50
- package/src/04-components/forms/checkbox-group/checkbox-group.api.json +0 -54
- package/src/04-components/forms/field/field.api.json +0 -19
- package/src/04-components/forms/field/field.docs.json +0 -59
- package/src/04-components/forms/fieldset/fieldset.api.json +0 -49
- package/src/04-components/forms/form/form.api.json +0 -38
- package/src/04-components/forms/form-error/form-error.api.json +0 -22
- package/src/04-components/forms/form-helper/form-helper.api.json +0 -19
- package/src/04-components/forms/input/input.api.json +0 -116
- package/src/04-components/forms/label/label-visual.png +0 -0
- package/src/04-components/forms/label/label.api.json +0 -31
- package/src/04-components/forms/number-input/number-input-visual.png +0 -0
- package/src/04-components/forms/number-input/number-input.api.json +0 -74
- package/src/04-components/forms/password-input/password-input-visual.png +0 -0
- package/src/04-components/forms/password-input/password-input.api.json +0 -84
- package/src/04-components/forms/radio/radio.api.json +0 -46
- package/src/04-components/forms/radio-group/radio-group.api.json +0 -54
- package/src/04-components/forms/search-input/search-input-visual.png +0 -0
- package/src/04-components/forms/search-input/search-input.api.json +0 -85
- package/src/04-components/forms/select/select-visual.png +0 -0
- package/src/04-components/forms/select/select.api.json +0 -88
- package/src/04-components/forms/slider/slider.api.json +0 -70
- package/src/04-components/forms/textarea/textarea.api.json +0 -96
- package/src/04-components/forms/toggle/toggle-visual.png +0 -0
- package/src/04-components/forms/toggle/toggle.api.json +0 -48
- package/src/04-components/forms/toggle/toggle.docs.json +0 -92
- package/src/04-components/layout/divider/divider.docs.json +0 -68
- package/src/04-components/layout/scroll-area/scroll-area-visual.png +0 -0
- package/src/04-components/layout/scroll-area/scroll-area.api.json +0 -63
- package/src/04-components/layout/spacer/index.scss +0 -11
- package/src/04-components/layout/spacer/spacer.api.json +0 -6
- package/src/04-components/navigation/breadcrumb/breadcrumb.api.json +0 -36
- package/src/04-components/navigation/breadcrumb/breadcrumb.docs.json +0 -59
- package/src/04-components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/04-components/navigation/menu/menu.docs.json +0 -81
- package/src/04-components/navigation/nav/nav.api.json +0 -55
- package/src/04-components/navigation/pagination/pagination.docs.json +0 -88
- package/src/04-components/navigation/tabs/index.scss +0 -77
- package/src/04-components/navigation/tabs/tabs-visual.png +0 -0
- package/src/04-components/navigation/tabs/tabs.api.json +0 -48
- package/src/04-components/navigation/tabs/tabs.docs.json +0 -61
- package/src/04-components/overlays/dialog/dialog.api.json +0 -34
- package/src/04-components/overlays/dialog/dialog.docs.json +0 -58
- package/src/04-components/overlays/drawer/drawer-visual.png +0 -0
- package/src/04-components/overlays/drawer/drawer.api.json +0 -55
- package/src/04-components/overlays/drawer/drawer.docs.json +0 -78
- package/src/04-components/overlays/modal/modal.api.json +0 -54
- package/src/04-components/overlays/modal/modal.docs.json +0 -86
- package/src/04-components/overlays/overlay/index.scss +0 -49
- package/src/04-components/overlays/overlay/overlay.docs.json +0 -63
- package/src/04-components/overlays/popover/popover.api.json +0 -47
- package/src/04-components/overlays/tooltip/tooltip.api.json +0 -49
- package/src/04-components/typography/blockquote/blockquote.api.json +0 -18
- package/src/04-components/typography/code/code-visual.png +0 -0
- package/src/04-components/typography/code/code.api.json +0 -52
- package/src/04-components/typography/code-block/code-block.api.json +0 -56
- package/src/04-components/typography/heading/heading.api.json +0 -83
- package/src/04-components/typography/kbd/kbd.api.json +0 -15
- package/src/04-components/typography/link/link.api.json +0 -45
- package/src/04-components/typography/mark/mark.api.json +0 -12
- package/src/05-utilities/border/index.scss +0 -21
- package/src/testing/sidebar-toggles.spec.ts +0 -103
- /package/src/{02-base → base}/index.scss +0 -0
- /package/src/{04-components → components}/actions/button/button.visual.spec.ts +0 -0
- /package/src/{04-components → components}/actions/button-group/button-group-visual.png +0 -0
- /package/src/{04-components → components}/actions/button-group/button-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/actions/close-button/close-button-visual.png +0 -0
- /package/src/{04-components → components}/actions/close-button/close-button.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/divider/divider-visual.png +0 -0
- /package/src/{04-components/layout → components/content}/divider/divider.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/scroll-area/scroll-area.visual.spec.ts +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer-visual.png +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/avatar/avatar-visual.png +0 -0
- /package/src/{04-components → components}/data-display/avatar/avatar.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/badge/badge.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/card/card.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/data-list/data-list-visual.png +0 -0
- /package/src/{04-components → components}/data-display/data-list/data-list.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/icon/icon.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/image/image-visual.png +0 -0
- /package/src/{04-components → components}/data-display/image/image.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/stat/stat-visual.png +0 -0
- /package/src/{04-components → components}/data-display/stat/stat.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/status/status-visual.png +0 -0
- /package/src/{04-components → components}/data-display/status/status.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/table/table-visual.png +0 -0
- /package/src/{04-components → components}/data-display/table/table.visual.spec.ts +0 -0
- /package/src/{04-components → components}/data-display/tag/tag.visual.spec.ts +0 -0
- /package/src/{04-components → components}/disclosure/accordion/accordion-visual.png +0 -0
- /package/src/{04-components → components}/disclosure/accordion/accordion.visual.spec.ts +0 -0
- /package/src/{04-components → components}/disclosure/disclosure/disclosure.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/alert/alert.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/progress/progress.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/progress-circle/progress-circle-visual.png +0 -0
- /package/src/{04-components → components}/feedback/progress-circle/progress-circle.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/skeleton/skeleton-visual.png +0 -0
- /package/src/{04-components → components}/feedback/skeleton/skeleton.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/spinner/spinner-visual.png +0 -0
- /package/src/{04-components → components}/feedback/spinner/spinner.visual.spec.ts +0 -0
- /package/src/{04-components → components}/feedback/toast/toast-visual.png +0 -0
- /package/src/{04-components → components}/feedback/toast/toast.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/checkbox/checkbox-visual.png +0 -0
- /package/src/{04-components → components}/forms/checkbox/checkbox.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/checkbox-group/checkbox-group-visual.png +0 -0
- /package/src/{04-components → components}/forms/checkbox-group/checkbox-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/field/field-visual.png +0 -0
- /package/src/{04-components → components}/forms/field/field.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset-visual.png +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset.docs.json +0 -0
- /package/src/{04-components → components}/forms/fieldset/fieldset.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form/form-visual.png +0 -0
- /package/src/{04-components → components}/forms/form/form.docs.json +0 -0
- /package/src/{04-components → components}/forms/form/form.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form-error/form-error-visual.png +0 -0
- /package/src/{04-components → components}/forms/form-error/form-error.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/form-helper/form-helper-visual.png +0 -0
- /package/src/{04-components → components}/forms/form-helper/form-helper.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/input/input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/label/label.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/number-input/number-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/password-input/password-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/radio/radio-visual.png +0 -0
- /package/src/{04-components → components}/forms/radio/radio.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/radio-group/radio-group-visual.png +0 -0
- /package/src/{04-components → components}/forms/radio-group/radio-group.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/search-input/search-input.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/select/select.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/slider/slider-visual.png +0 -0
- /package/src/{04-components → components}/forms/slider/slider.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/textarea/textarea-visual.png +0 -0
- /package/src/{04-components → components}/forms/textarea/textarea.visual.spec.ts +0 -0
- /package/src/{04-components → components}/forms/toggle/toggle.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/breadcrumb/breadcrumb-visual.png +0 -0
- /package/src/{04-components → components}/navigation/breadcrumb/breadcrumb.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/dropdown-menu/dropdown-menu.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/menu/menu-visual.png +0 -0
- /package/src/{04-components → components}/navigation/menu/menu.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/nav/nav-visual.png +0 -0
- /package/src/{04-components → components}/navigation/nav/nav.docs.json +0 -0
- /package/src/{04-components → components}/navigation/nav/nav.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/pagination/pagination-visual.png +0 -0
- /package/src/{04-components → components}/navigation/pagination/pagination.visual.spec.ts +0 -0
- /package/src/{04-components → components}/navigation/tabs/tabs.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/dialog/dialog-visual.png +0 -0
- /package/src/{04-components → components}/overlays/dialog/dialog.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/drawer/drawer.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/modal/modal-visual.png +0 -0
- /package/src/{04-components → components}/overlays/modal/modal.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/overlay/overlay-visual.png +0 -0
- /package/src/{04-components → components}/overlays/overlay/overlay.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/popover/popover-visual.png +0 -0
- /package/src/{04-components → components}/overlays/popover/popover.visual.spec.ts +0 -0
- /package/src/{04-components → components}/overlays/tooltip/tooltip-visual.png +0 -0
- /package/src/{04-components → components}/overlays/tooltip/tooltip.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote-visual.png +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote.docs.json +0 -0
- /package/src/{04-components → components}/typography/blockquote/blockquote.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/code/code.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/code-block/code-block.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/heading/heading-visual.png +0 -0
- /package/src/{04-components → components}/typography/heading/heading.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/kbd/kbd-visual.png +0 -0
- /package/src/{04-components → components}/typography/kbd/kbd.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/link/link-visual.png +0 -0
- /package/src/{04-components → components}/typography/link/link.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/list/list-visual.png +0 -0
- /package/src/{04-components → components}/typography/list/list.visual.spec.ts +0 -0
- /package/src/{04-components → components}/typography/mark/mark-visual.png +0 -0
- /package/src/{04-components → components}/typography/mark/mark.docs.json +0 -0
- /package/src/{04-components → components}/typography/mark/mark.visual.spec.ts +0 -0
- /package/src/{00-config → config}/layers/layers.scss +0 -0
- /package/src/{00-config → config}/tokens/index.scss +0 -0
- /package/src/{00-config → config}/tokens/input.scss +0 -0
- /package/src/{99-debug → debug}/index.scss +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/aspect-ratio-visual.png +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/center/center.docs.json +0 -0
- /package/src/{03-layout → layout}/content/content-visual.png +0 -0
- /package/src/{03-layout → layout}/content/content.docs.json +0 -0
- /package/src/{03-layout → layout}/content/content.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/footer/footer.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/grid/grid.docs.json +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail-visual.png +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail.docs.json +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/page-header/page-header-visual.png +0 -0
- /package/src/{03-layout → layout}/page-header/page-header.docs.json +0 -0
- /package/src/{03-layout → layout}/page-header/page-header.visual.spec.ts +0 -0
- /package/src/{03-layout/cluster/cluster-visual.png → layout/row/row-visual.png} +0 -0
- /package/src/{03-layout → layout}/sidebar/sidebar-visual.png +0 -0
- /package/src/{03-layout → layout}/sidebar/sidebar.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/sidebar-nav/sidebar-nav.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/topbar/topbar-visual.png +0 -0
- /package/src/{03-layout → layout}/topbar/topbar.docs.json +0 -0
- /package/src/{03-layout → layout}/topbar/topbar.visual.spec.ts +0 -0
- /package/src/{01-reset → reset}/index.scss +0 -0
- /package/src/{01-reset → reset}/reset.scss +0 -0
- /package/src/{05-utilities → utilities}/display/display.api.json +0 -0
- /package/src/{05-utilities → utilities}/display/display.docs.json +0 -0
- /package/src/{05-utilities → utilities}/index.scss +0 -0
- /package/src/{05-utilities → utilities}/spacing/spacing.api.json +0 -0
- /package/src/{05-utilities → utilities}/text/text.api.json +0 -0
- /package/src/{05-utilities → utilities}/text/text.scss +0 -0
- /package/src/{05-utilities → utilities}/view-transition/index.scss +0 -0
- /package/src/{05-utilities → utilities}/view-transition/view-transition.api.json +0 -0
- /package/src/{05-utilities → utilities}/view-transition/view-transition.docs.json +0 -0
- /package/src/{05-utilities → utilities}/visually-hidden/visually-hidden.api.json +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "textarea",
|
|
3
|
-
"element": "textarea",
|
|
4
|
-
"modifiers": {
|
|
5
|
-
"size": {
|
|
6
|
-
"values": ["sm", "lg"]
|
|
7
|
-
},
|
|
8
|
-
"variant": {
|
|
9
|
-
"values": ["filled", "ghost"]
|
|
10
|
-
},
|
|
11
|
-
"state": {
|
|
12
|
-
"values": ["error", "success"]
|
|
13
|
-
},
|
|
14
|
-
"resize": {
|
|
15
|
-
"values": ["resize-none", "resize-both"]
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"cssVars": [
|
|
19
|
-
{
|
|
20
|
-
"name": "--ui-textarea-min-height",
|
|
21
|
-
"default": "calc(#{t.$row} * 4"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "--ui-textarea-padding-x",
|
|
25
|
-
"default": "var(--ui-space-1)"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "--ui-textarea-padding-y",
|
|
29
|
-
"default": "var(--ui-space-1)"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "--ui-textarea-font-size",
|
|
33
|
-
"default": "var(--ui-font-size-sm)"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "--ui-textarea-radius",
|
|
37
|
-
"default": "var(--ui-radius-md)"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "--ui-textarea-bg",
|
|
41
|
-
"default": "var(--ui-color-bg)"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "--ui-textarea-border-color",
|
|
45
|
-
"default": "var(--ui-color-border-strong)"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "--ui-textarea-border-color-focus",
|
|
49
|
-
"default": "var(--ui-color-primary)"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "--ui-textarea-text",
|
|
53
|
-
"default": "var(--ui-color-text)"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "--ui-textarea-placeholder",
|
|
57
|
-
"default": "var(--ui-color-text-muted)"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "--ui-textarea-min-height-sm",
|
|
61
|
-
"default": "calc(#{t.$row} * 3"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "--ui-textarea-font-size-sm",
|
|
65
|
-
"default": "var(--ui-font-size-xs)"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "--ui-textarea-min-height-lg",
|
|
69
|
-
"default": "calc(#{t.$row} * 6"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "--ui-textarea-padding-x-lg",
|
|
73
|
-
"default": "var(--ui-space-2)"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "--ui-textarea-padding-y-lg",
|
|
77
|
-
"default": "var(--ui-space-2)"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "--ui-textarea-font-size-lg",
|
|
81
|
-
"default": "var(--ui-font-size-md)"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "--ui-textarea-filled-bg",
|
|
85
|
-
"default": "var(--ui-color-bg-muted)"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "--ui-textarea-error-border",
|
|
89
|
-
"default": "var(--ui-color-danger)"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "--ui-textarea-success-border",
|
|
93
|
-
"default": "var(--ui-color-success)"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
Binary file
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "toggle",
|
|
3
|
-
"element": "div",
|
|
4
|
-
"modifiers": {
|
|
5
|
-
"size": {
|
|
6
|
-
"values": ["sm", "lg"]
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"elements": {
|
|
10
|
-
"input": {},
|
|
11
|
-
"track": {},
|
|
12
|
-
"thumb": {}
|
|
13
|
-
},
|
|
14
|
-
"cssVars": [
|
|
15
|
-
{
|
|
16
|
-
"name": "--ui-toggle-track-width",
|
|
17
|
-
"default": "calc(#{t.$unit} * 5"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "--ui-toggle-track-height",
|
|
21
|
-
"default": "calc(#{t.$unit} * 3"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "--ui-toggle-track-bg",
|
|
25
|
-
"default": "var(--ui-color-bg-subtle)"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "--ui-toggle-track-bg-checked",
|
|
29
|
-
"default": "var(--ui-color-primary)"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "--ui-toggle-track-radius",
|
|
33
|
-
"default": "calc(#{t.$unit} * 1.5"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "--ui-toggle-thumb-size",
|
|
37
|
-
"default": "calc(#{t.$unit} * 2.5"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "--ui-toggle-thumb-bg",
|
|
41
|
-
"default": "white"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "--ui-toggle-thumb-offset",
|
|
45
|
-
"default": "calc(#{t.$unit} / 4"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "toggle",
|
|
3
|
-
"type": "component",
|
|
4
|
-
"title": "Toggle",
|
|
5
|
-
"description": "Switch control for boolean states. Uses checkbox semantics with role=switch for accessibility.",
|
|
6
|
-
"api": "./toggle.api.json",
|
|
7
|
-
"sections": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Default",
|
|
10
|
-
"examples": [
|
|
11
|
-
{
|
|
12
|
-
"html": "<label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\"><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label>",
|
|
13
|
-
"code": "<label class=\"ui-toggle\">\n <input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\">\n <span class=\"ui-toggle__track\"></span>\n <span class=\"ui-toggle__thumb\"></span>\n</label>"
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"title": "Checked",
|
|
19
|
-
"examples": [
|
|
20
|
-
{
|
|
21
|
-
"html": "<label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" checked><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label>",
|
|
22
|
-
"code": "<label class=\"ui-toggle\">\n <input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" checked>\n ...\n</label>"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"title": "Sizes",
|
|
28
|
-
"examples": [
|
|
29
|
-
{
|
|
30
|
-
"html": "<div style=\"display: flex; gap: var(--ui-space-2); align-items: center;\"><label class=\"ui-toggle ui-toggle--sm\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\"><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label><label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" checked><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label><label class=\"ui-toggle ui-toggle--lg\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\"><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label></div>",
|
|
31
|
-
"code": "<label class=\"ui-toggle ui-toggle--sm\">...</label>\n<label class=\"ui-toggle\">...</label>\n<label class=\"ui-toggle ui-toggle--lg\">...</label>"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"title": "Disabled",
|
|
37
|
-
"examples": [
|
|
38
|
-
{
|
|
39
|
-
"html": "<div style=\"display: flex; gap: var(--ui-space-2);\"><label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" disabled><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label><label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" checked disabled><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label></div>",
|
|
40
|
-
"code": "<label class=\"ui-toggle\">\n <input type=\"checkbox\" ... disabled>\n ...\n</label>"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"title": "With Label",
|
|
46
|
-
"examples": [
|
|
47
|
-
{
|
|
48
|
-
"html": "<div style=\"display: flex; align-items: center; gap: var(--ui-space-2);\"><label class=\"ui-toggle\"><input type=\"checkbox\" class=\"ui-toggle__input\" role=\"switch\" id=\"notifications\"><span class=\"ui-toggle__track\"></span><span class=\"ui-toggle__thumb\"></span></label><label for=\"notifications\">Enable notifications</label></div>",
|
|
49
|
-
"code": "<div style=\"display: flex; align-items: center; gap: var(--ui-space-2);\">\n <label class=\"ui-toggle\">\n <input type=\"checkbox\" ... id=\"notifications\">\n ...\n </label>\n <label for=\"notifications\">Enable notifications</label>\n</div>"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"customization": [
|
|
55
|
-
{
|
|
56
|
-
"token": "--ui-toggle-track-width",
|
|
57
|
-
"default": "calc(var(--unit) * 5)",
|
|
58
|
-
"description": "Track width"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"token": "--ui-toggle-track-height",
|
|
62
|
-
"default": "calc(var(--unit) * 3)",
|
|
63
|
-
"description": "Track height"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"token": "--ui-toggle-track-bg",
|
|
67
|
-
"default": "var(--ui-color-bg-subtle)",
|
|
68
|
-
"description": "Track background (unchecked)"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"token": "--ui-toggle-track-bg-checked",
|
|
72
|
-
"default": "var(--ui-color-primary)",
|
|
73
|
-
"description": "Track background (checked)"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"token": "--ui-toggle-track-radius",
|
|
77
|
-
"default": "calc(var(--unit) * 1.5)",
|
|
78
|
-
"description": "Track border radius"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"token": "--ui-toggle-thumb-size",
|
|
82
|
-
"default": "calc(var(--unit) * 2.5)",
|
|
83
|
-
"description": "Thumb size"
|
|
84
|
-
},
|
|
85
|
-
{ "token": "--ui-toggle-thumb-bg", "default": "white", "description": "Thumb background" },
|
|
86
|
-
{
|
|
87
|
-
"token": "--ui-toggle-thumb-offset",
|
|
88
|
-
"default": "calc(var(--unit) / 4)",
|
|
89
|
-
"description": "Thumb offset from edge"
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "divider",
|
|
3
|
-
"type": "component",
|
|
4
|
-
"title": "Divider",
|
|
5
|
-
"description": "Visual separator between content sections. Supports horizontal/vertical orientation and optional text label.",
|
|
6
|
-
"api": "./divider.api.json",
|
|
7
|
-
"sections": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Default",
|
|
10
|
-
"examples": [
|
|
11
|
-
{
|
|
12
|
-
"html": "<div class=\"ui-divider\" role=\"separator\"></div>",
|
|
13
|
-
"code": "<div class=\"ui-divider\" role=\"separator\"></div>"
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"title": "With Label",
|
|
19
|
-
"examples": [
|
|
20
|
-
{
|
|
21
|
-
"html": "<div class=\"ui-divider\" role=\"separator\">OR</div>",
|
|
22
|
-
"code": "<div class=\"ui-divider\" role=\"separator\">OR</div>"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"title": "Label Alignment",
|
|
28
|
-
"examples": [
|
|
29
|
-
{
|
|
30
|
-
"html": "<div class=\"ui-divider ui-divider--start\" role=\"separator\">Start</div><div class=\"ui-divider\" role=\"separator\">Center</div><div class=\"ui-divider ui-divider--end\" role=\"separator\">End</div>",
|
|
31
|
-
"code": "<div class=\"ui-divider ui-divider--start\">Start</div>\n<div class=\"ui-divider\">Center</div>\n<div class=\"ui-divider ui-divider--end\">End</div>"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"title": "Dashed",
|
|
37
|
-
"examples": [
|
|
38
|
-
{
|
|
39
|
-
"html": "<div class=\"ui-divider ui-divider--dashed\" role=\"separator\"></div>",
|
|
40
|
-
"code": "<div class=\"ui-divider ui-divider--dashed\"></div>"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"title": "Vertical",
|
|
46
|
-
"examples": [
|
|
47
|
-
{
|
|
48
|
-
"html": "<div style=\"display: flex; height: 64px; align-items: center;\"><span>Left</span><div class=\"ui-divider ui-divider--vertical\" role=\"separator\"></div><span>Right</span></div>",
|
|
49
|
-
"code": "<div style=\"display: flex;\">\n <span>Left</span>\n <div class=\"ui-divider ui-divider--vertical\"></div>\n <span>Right</span>\n</div>"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"customization": [
|
|
55
|
-
{
|
|
56
|
-
"token": "--ui-divider-color",
|
|
57
|
-
"default": "var(--ui-color-border)",
|
|
58
|
-
"description": "Line color"
|
|
59
|
-
},
|
|
60
|
-
{ "token": "--ui-divider-line-size", "default": "1px", "description": "Line thickness" },
|
|
61
|
-
{ "token": "--ui-divider-height", "default": "var(--unit)", "description": "Container height" },
|
|
62
|
-
{
|
|
63
|
-
"token": "--ui-divider-gap",
|
|
64
|
-
"default": "calc(var(--unit) * 2)",
|
|
65
|
-
"description": "Vertical margin"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
Binary file
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "scroll-area",
|
|
3
|
-
"element": "div",
|
|
4
|
-
"modifiers": {
|
|
5
|
-
"size": {
|
|
6
|
-
"values": ["sm", "lg", "xl"]
|
|
7
|
-
},
|
|
8
|
-
"direction": {
|
|
9
|
-
"values": ["horizontal", "both"]
|
|
10
|
-
},
|
|
11
|
-
"thin": {
|
|
12
|
-
"type": "boolean"
|
|
13
|
-
},
|
|
14
|
-
"auto-hide": {
|
|
15
|
-
"type": "boolean"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"elements": {
|
|
19
|
-
"viewport": {}
|
|
20
|
-
},
|
|
21
|
-
"cssVars": [
|
|
22
|
-
{
|
|
23
|
-
"name": "--ui-scroll-area-max-height",
|
|
24
|
-
"default": "calc(var(--ui-row) * 10)"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "--ui-scroll-area-max-height-sm",
|
|
28
|
-
"default": "calc(var(--ui-row) * 5)"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "--ui-scroll-area-max-height-lg",
|
|
32
|
-
"default": "calc(var(--ui-row) * 15)"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "--ui-scroll-area-max-height-xl",
|
|
36
|
-
"default": "calc(var(--ui-row) * 20)"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "--ui-scroll-area-scrollbar-size",
|
|
40
|
-
"default": "var(--ui-space-1)"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "--ui-scroll-area-scrollbar-size-thin",
|
|
44
|
-
"default": "calc(var(--ui-space-1) * 0.5)"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "--ui-scroll-area-thumb-color",
|
|
48
|
-
"default": "var(--ui-color-border-strong)"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "--ui-scroll-area-thumb-hover-color",
|
|
52
|
-
"default": "var(--ui-color-neutral-400)"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "--ui-scroll-area-track-color",
|
|
56
|
-
"default": "transparent"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "--ui-scroll-area-thumb-radius",
|
|
60
|
-
"default": "var(--ui-radius-full)"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "breadcrumb",
|
|
3
|
-
"element": "div",
|
|
4
|
-
"modifiers": {},
|
|
5
|
-
"elements": {
|
|
6
|
-
"item": {},
|
|
7
|
-
"link": {},
|
|
8
|
-
"current": {}
|
|
9
|
-
},
|
|
10
|
-
"cssVars": [
|
|
11
|
-
{
|
|
12
|
-
"name": "--ui-breadcrumb-height",
|
|
13
|
-
"default": "var(--ui-row-1)"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "--ui-breadcrumb-gap",
|
|
17
|
-
"default": "calc(#{t.$unit} * 1"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "--ui-breadcrumb-separator-color",
|
|
21
|
-
"default": "var(--ui-color-text-muted)"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "--ui-breadcrumb-link-color",
|
|
25
|
-
"default": "var(--ui-color-text-muted)"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "--ui-breadcrumb-current-color",
|
|
29
|
-
"default": "var(--ui-color-text)"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "--ui-breadcrumb-separator",
|
|
33
|
-
"default": "\"/\""
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "breadcrumb",
|
|
3
|
-
"type": "component",
|
|
4
|
-
"title": "Breadcrumb",
|
|
5
|
-
"description": "Navigation hierarchy showing current page location in site structure.",
|
|
6
|
-
"api": "./breadcrumb.api.json",
|
|
7
|
-
"sections": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Default",
|
|
10
|
-
"examples": [
|
|
11
|
-
{
|
|
12
|
-
"html": "<nav class=\"ui-breadcrumb\" aria-label=\"Breadcrumb\"><ol class=\"ui-breadcrumb\"><li class=\"ui-breadcrumb__item\"><a href=\"#\" class=\"ui-breadcrumb__link\">Home</a></li><li class=\"ui-breadcrumb__item\"><a href=\"#\" class=\"ui-breadcrumb__link\">Products</a></li><li class=\"ui-breadcrumb__item\"><span class=\"ui-breadcrumb__current\" aria-current=\"page\">Shoes</span></li></ol></nav>",
|
|
13
|
-
"code": "<nav aria-label=\"Breadcrumb\">\n <ol class=\"ui-breadcrumb\">\n <li class=\"ui-breadcrumb__item\">\n <a href=\"#\" class=\"ui-breadcrumb__link\">Home</a>\n </li>\n <li class=\"ui-breadcrumb__item\">\n <a href=\"#\" class=\"ui-breadcrumb__link\">Products</a>\n </li>\n <li class=\"ui-breadcrumb__item\">\n <span aria-current=\"page\">Shoes</span>\n </li>\n </ol>\n</nav>"
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"title": "With Icons",
|
|
19
|
-
"examples": [
|
|
20
|
-
{
|
|
21
|
-
"html": "<nav aria-label=\"Breadcrumb\"><ol class=\"ui-breadcrumb\"><li class=\"ui-breadcrumb__item\"><a href=\"#\" class=\"ui-breadcrumb__link\"><svg class=\"ui-icon ui-icon--sm\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z\"/></svg></a></li><li class=\"ui-breadcrumb__item\"><a href=\"#\" class=\"ui-breadcrumb__link\">Settings</a></li><li class=\"ui-breadcrumb__item\"><span class=\"ui-breadcrumb__current\" aria-current=\"page\">Profile</span></li></ol></nav>",
|
|
22
|
-
"code": "<ol class=\"ui-breadcrumb\">\n <li class=\"ui-breadcrumb__item\">\n <a href=\"#\" class=\"ui-breadcrumb__link\">\n <svg class=\"ui-icon\">...</svg>\n </a>\n </li>\n ...\n</ol>"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"customization": [
|
|
28
|
-
{
|
|
29
|
-
"token": "--ui-breadcrumb-height",
|
|
30
|
-
"default": "var(--ui-row-1)",
|
|
31
|
-
"description": "Container height"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"token": "--ui-breadcrumb-gap",
|
|
35
|
-
"default": "var(--unit)",
|
|
36
|
-
"description": "Gap between items"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"token": "--ui-breadcrumb-separator",
|
|
40
|
-
"default": "\"/\"",
|
|
41
|
-
"description": "Separator character"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"token": "--ui-breadcrumb-separator-color",
|
|
45
|
-
"default": "var(--ui-color-text-muted)",
|
|
46
|
-
"description": "Separator color"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"token": "--ui-breadcrumb-link-color",
|
|
50
|
-
"default": "var(--ui-color-text-muted)",
|
|
51
|
-
"description": "Link color"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"token": "--ui-breadcrumb-current-color",
|
|
55
|
-
"default": "var(--ui-color-text)",
|
|
56
|
-
"description": "Current page color"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
Binary file
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"api": "./menu.api.json",
|
|
3
|
-
"sections": [
|
|
4
|
-
{
|
|
5
|
-
"title": "Default",
|
|
6
|
-
"examples": [
|
|
7
|
-
{
|
|
8
|
-
"html": "<div class=\"ui-menu\"><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item\">Edit</button></li><li><button class=\"ui-menu__item\">Duplicate</button></li><li><button class=\"ui-menu__item\">Archive</button></li></ul></div>"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"title": "With Icons and Shortcuts",
|
|
14
|
-
"examples": [
|
|
15
|
-
{
|
|
16
|
-
"html": "<div class=\"ui-menu\"><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item\"><span class=\"ui-menu__item-icon\">+</span>New File<span class=\"ui-menu__item-shortcut\">Cmd+N</span></button></li><li><button class=\"ui-menu__item\"><span class=\"ui-menu__item-icon\">O</span>Open<span class=\"ui-menu__item-shortcut\">Cmd+O</span></button></li><li><button class=\"ui-menu__item\"><span class=\"ui-menu__item-icon\">S</span>Save<span class=\"ui-menu__item-shortcut\">Cmd+S</span></button></li></ul></div>"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"title": "Groups with Labels",
|
|
22
|
-
"examples": [
|
|
23
|
-
{
|
|
24
|
-
"html": "<div class=\"ui-menu\"><div class=\"ui-menu__label\">Edit</div><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item\">Cut</button></li><li><button class=\"ui-menu__item\">Copy</button></li><li><button class=\"ui-menu__item\">Paste</button></li></ul><div class=\"ui-menu__separator\"></div><div class=\"ui-menu__label\">View</div><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item\">Zoom In</button></li><li><button class=\"ui-menu__item\">Zoom Out</button></li></ul></div>"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"title": "States",
|
|
30
|
-
"examples": [
|
|
31
|
-
{
|
|
32
|
-
"html": "<div class=\"ui-menu\"><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item\">Normal Item</button></li><li><button class=\"ui-menu__item ui-menu__item--disabled\" aria-disabled=\"true\">Disabled Item</button></li><li><button class=\"ui-menu__item ui-menu__item--danger\">Delete</button></li></ul></div>"
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"title": "Checkable Items",
|
|
38
|
-
"examples": [
|
|
39
|
-
{
|
|
40
|
-
"html": "<div class=\"ui-menu\"><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item ui-menu__item--check\"><span class=\"ui-menu__item-indicator\">✓</span>Show Toolbar</button></li><li><button class=\"ui-menu__item ui-menu__item--check\"><span class=\"ui-menu__item-indicator\"></span>Show Sidebar</button></li></ul><div class=\"ui-menu__separator\"></div><ul class=\"ui-menu__group\"><li><button class=\"ui-menu__item ui-menu__item--radio\"><span class=\"ui-menu__item-indicator\">•</span>List View</button></li><li><button class=\"ui-menu__item ui-menu__item--radio\"><span class=\"ui-menu__item-indicator\"></span>Grid View</button></li></ul></div>"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"customization": [
|
|
46
|
-
{
|
|
47
|
-
"token": "--ui-menu-min-width",
|
|
48
|
-
"default": "calc(var(--unit) * 16)",
|
|
49
|
-
"description": "Minimum width"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"token": "--ui-menu-max-height",
|
|
53
|
-
"default": "calc(var(--unit) * 40)",
|
|
54
|
-
"description": "Maximum height"
|
|
55
|
-
},
|
|
56
|
-
{ "token": "--ui-menu-padding", "default": "var(--unit)", "description": "Container padding" },
|
|
57
|
-
{
|
|
58
|
-
"token": "--ui-menu-radius",
|
|
59
|
-
"default": "var(--ui-radius-md)",
|
|
60
|
-
"description": "Border radius"
|
|
61
|
-
},
|
|
62
|
-
{ "token": "--ui-menu-bg", "default": "var(--ui-color-bg)", "description": "Background color" },
|
|
63
|
-
{
|
|
64
|
-
"token": "--ui-menu-border-color",
|
|
65
|
-
"default": "var(--ui-color-border)",
|
|
66
|
-
"description": "Border color"
|
|
67
|
-
},
|
|
68
|
-
{ "token": "--ui-menu-shadow", "default": "var(--shadow-lg)", "description": "Box shadow" },
|
|
69
|
-
{ "token": "--ui-menu-item-padding", "default": "8px 16px", "description": "Item padding" },
|
|
70
|
-
{
|
|
71
|
-
"token": "--ui-menu-item-radius",
|
|
72
|
-
"default": "var(--ui-radius-sm)",
|
|
73
|
-
"description": "Item border radius"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"token": "--ui-menu-item-bg-hover",
|
|
77
|
-
"default": "var(--ui-color-bg-subtle)",
|
|
78
|
-
"description": "Item hover background"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nav",
|
|
3
|
-
"element": "nav",
|
|
4
|
-
"modifiers": {
|
|
5
|
-
"pills": {
|
|
6
|
-
"type": "boolean"
|
|
7
|
-
},
|
|
8
|
-
"vertical": {
|
|
9
|
-
"type": "boolean"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"elements": {
|
|
13
|
-
"list": {},
|
|
14
|
-
"item": {
|
|
15
|
-
"modifiers": {
|
|
16
|
-
"active": {
|
|
17
|
-
"type": "boolean"
|
|
18
|
-
},
|
|
19
|
-
"disabled": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"cssVars": [
|
|
26
|
-
{
|
|
27
|
-
"name": "--ui-nav-gap",
|
|
28
|
-
"default": "var(--ui-space-1)"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "--ui-nav-item-height",
|
|
32
|
-
"default": "var(--ui-row-2)"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "--ui-nav-item-padding-x",
|
|
36
|
-
"default": "var(--ui-space-2)"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "--ui-nav-item-font-size",
|
|
40
|
-
"default": "var(--ui-font-size-sm)"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "--ui-nav-item-color",
|
|
44
|
-
"default": "var(--ui-color-text-muted)"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "--ui-nav-item-color-active",
|
|
48
|
-
"default": "var(--ui-color-primary)"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "--ui-nav-border-color",
|
|
52
|
-
"default": "var(--ui-color-border)"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}
|