@teseor/css 1.14.3 → 1.15.1
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/package.json +1 -1
- package/src/base/docs.html +19 -0
- package/src/base/typography/docs.html +159 -0
- package/src/components/actions/button/docs.html +73 -0
- package/src/components/actions/button/{button.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/actions/button-group/docs.html +44 -0
- package/src/components/actions/button-group/{button-group.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/actions/close-button/docs.html +74 -0
- package/src/components/actions/close-button/{close-button.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/content/divider/docs.html +25 -0
- package/src/components/content/divider/{divider.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/content/scroll-area/docs.html +127 -0
- package/src/components/content/scroll-area/visual.png +0 -0
- package/src/components/content/scroll-area/{scroll-area.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/content/spacer/docs.html +20 -0
- package/src/components/content/spacer/{spacer.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/avatar/docs.html +64 -0
- package/src/components/data-display/avatar/{avatar.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/badge/docs.html +37 -0
- package/src/components/data-display/badge/{badge.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/card/docs.html +33 -0
- package/src/components/data-display/card/visual.png +0 -0
- package/src/components/data-display/card/{card.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/data-list/docs.html +94 -0
- package/src/components/data-display/data-list/{data-list-visual.png → visual.png} +0 -0
- package/src/components/data-display/data-list/{data-list.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/icon/docs.html +69 -0
- package/src/components/data-display/icon/{icon.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/image/docs.html +64 -0
- package/src/components/data-display/image/visual.png +0 -0
- package/src/components/data-display/image/{image.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/stat/docs.html +32 -0
- package/src/components/data-display/stat/{stat.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/status/docs.html +64 -0
- package/src/components/data-display/status/{status.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/table/docs.html +70 -0
- package/src/components/data-display/table/{table.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/data-display/tag/docs.html +39 -0
- package/src/components/data-display/tag/{tag.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/disclosure/accordion/docs.html +80 -0
- package/src/components/disclosure/accordion/{accordion.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/disclosure/disclosure/docs.html +48 -0
- package/src/components/disclosure/disclosure/{disclosure.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/alert/docs.html +87 -0
- package/src/components/feedback/alert/{alert.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/progress/docs.html +62 -0
- package/src/components/feedback/progress/{progress.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/progress-circle/docs.html +62 -0
- package/src/components/feedback/progress-circle/{progress-circle.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/skeleton/docs.html +37 -0
- package/src/components/feedback/skeleton/{skeleton.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/spinner/docs.html +26 -0
- package/src/components/feedback/spinner/{spinner.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/feedback/toast/docs.html +106 -0
- package/src/components/feedback/toast/visual.png +0 -0
- package/src/components/feedback/toast/{toast.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/checkbox/docs.html +30 -0
- package/src/components/forms/checkbox/{checkbox.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/checkbox-group/docs.html +101 -0
- package/src/components/forms/checkbox-group/{checkbox-group.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/field/docs.html +60 -0
- package/src/components/forms/field/{field.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/fieldset/docs.html +119 -0
- package/src/components/forms/fieldset/{fieldset.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/form/docs.html +129 -0
- package/src/components/forms/form/{form.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/form-error/docs.html +15 -0
- package/src/components/forms/form-error/{form-error.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/form-helper/docs.html +39 -0
- package/src/components/forms/form-helper/{form-helper.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/input/docs.html +66 -0
- package/src/components/forms/input/visual.png +0 -0
- package/src/components/forms/input/{input.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/label/docs.html +26 -0
- package/src/components/forms/label/visual.png +0 -0
- package/src/components/forms/label/{label.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/number-input/docs.html +97 -0
- package/src/components/forms/number-input/visual.png +0 -0
- package/src/components/forms/number-input/{number-input.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/password-input/docs.html +85 -0
- package/src/components/forms/password-input/visual.png +0 -0
- package/src/components/forms/password-input/{password-input.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/radio/docs.html +49 -0
- package/src/components/forms/radio/{radio.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/radio-group/docs.html +97 -0
- package/src/components/forms/radio-group/{radio-group.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/search-input/docs.html +84 -0
- package/src/components/forms/search-input/visual.png +0 -0
- package/src/components/forms/search-input/{search-input.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/select/docs.html +67 -0
- package/src/components/forms/select/visual.png +0 -0
- package/src/components/forms/select/{select.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/slider/docs.html +22 -0
- package/src/components/forms/slider/visual.png +0 -0
- package/src/components/forms/slider/{slider.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/textarea/docs.html +36 -0
- package/src/components/forms/textarea/visual.png +0 -0
- package/src/components/forms/textarea/{textarea.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/forms/toggle/docs.html +61 -0
- package/src/components/forms/toggle/{toggle.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/breadcrumb/docs.html +57 -0
- package/src/components/navigation/breadcrumb/{breadcrumb.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/dropdown-menu/docs.html +103 -0
- package/src/components/navigation/dropdown-menu/visual.png +0 -0
- package/src/components/navigation/dropdown-menu/{dropdown-menu.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/menu/docs.html +119 -0
- package/src/components/navigation/menu/{menu.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/nav/docs.html +71 -0
- package/src/components/navigation/nav/{nav.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/pagination/docs.html +113 -0
- package/src/components/navigation/pagination/visual.png +0 -0
- package/src/components/navigation/pagination/{pagination.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/navigation/tabs/docs.html +63 -0
- package/src/components/navigation/tabs/{tabs.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/dialog/docs.html +58 -0
- package/src/components/overlays/dialog/{dialog.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/drawer/docs.html +87 -0
- package/src/components/overlays/drawer/visual.png +0 -0
- package/src/components/overlays/drawer/{drawer.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/modal/docs.html +66 -0
- package/src/components/overlays/modal/{modal.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/overlay/docs.html +27 -0
- package/src/components/overlays/overlay/{overlay.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/popover/docs.html +38 -0
- package/src/components/overlays/popover/{popover.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/overlays/tooltip/docs.html +30 -0
- package/src/components/overlays/tooltip/{tooltip.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/blockquote/docs.html +21 -0
- package/src/components/typography/blockquote/{blockquote.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/code/docs.html +20 -0
- package/src/components/typography/code/visual.png +0 -0
- package/src/components/typography/code/{code.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/code-block/docs.html +84 -0
- package/src/components/typography/code-block/visual.png +0 -0
- package/src/components/typography/code-block/{code-block.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/heading/docs.html +23 -0
- package/src/components/typography/heading/visual.png +0 -0
- package/src/components/typography/heading/{heading.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/kbd/docs.html +14 -0
- package/src/components/typography/kbd/{kbd.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/link/docs.html +30 -0
- package/src/components/typography/link/{link.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/list/docs.html +76 -0
- package/src/components/typography/list/{list.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/components/typography/mark/docs.html +10 -0
- package/src/components/typography/mark/{mark.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/config/guides/accessibility.docs.html +106 -0
- package/src/config/guides/getting-started.docs.html +45 -0
- package/src/config/guides/theming.docs.html +69 -0
- package/src/config/tokens/colors/docs.html +73 -0
- package/src/config/tokens/docs.html +115 -0
- package/src/config/tokens/grid/docs.html +10 -0
- package/src/config/tokens/spacing/docs.html +31 -0
- package/src/debug/docs.html +27 -0
- package/src/layout/app-shell/docs.html +100 -0
- package/src/layout/app-shell/visual.png +0 -0
- package/src/layout/app-shell/visual.spec.ts +13 -0
- package/src/layout/aspect-ratio/docs.html +38 -0
- package/src/layout/aspect-ratio/{aspect-ratio.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/layout/box/docs.html +24 -0
- package/src/layout/box/visual.png +0 -0
- package/src/layout/box/visual.spec.ts +13 -0
- package/src/layout/center/docs.html +23 -0
- package/src/layout/center/visual.spec.ts +13 -0
- package/src/layout/column/docs.html +29 -0
- package/src/layout/column/visual.spec.ts +13 -0
- package/src/layout/container/docs.html +34 -0
- package/src/layout/content/docs.html +35 -0
- package/src/layout/content/{content-visual.png → visual.png} +0 -0
- package/src/layout/content/visual.spec.ts +18 -0
- package/src/layout/footer/docs.html +70 -0
- package/src/layout/footer/visual.png +0 -0
- package/src/layout/footer/visual.spec.ts +18 -0
- package/src/layout/grid/docs.html +85 -0
- package/src/layout/grid/visual.spec.ts +13 -0
- package/src/layout/main/docs.html +28 -0
- package/src/layout/nav-rail/docs.html +39 -0
- package/src/layout/nav-rail/visual.png +0 -0
- package/src/layout/nav-rail/visual.spec.ts +18 -0
- package/src/layout/page-header/docs.html +49 -0
- package/src/layout/page-header/{page-header.visual.spec.ts → visual.spec.ts} +8 -4
- package/src/layout/row/docs.html +44 -0
- package/src/layout/row/{row.visual.spec.ts → visual.spec.ts} +4 -4
- package/src/layout/sidebar/docs.html +27 -0
- package/src/layout/sidebar/visual.png +0 -0
- package/src/layout/sidebar/visual.spec.ts +18 -0
- package/src/layout/sidebar-nav/docs.html +232 -0
- package/src/layout/sidebar-nav/{sidebar-nav.visual.spec.ts → visual.spec.ts} +7 -3
- package/src/layout/topbar/docs.html +61 -0
- package/src/layout/topbar/visual.png +0 -0
- package/src/layout/topbar/visual.spec.ts +18 -0
- package/src/utilities/container/docs.html +31 -0
- package/src/utilities/display/docs.html +27 -0
- package/src/utilities/scroll-animation/docs.html +29 -0
- package/src/utilities/scroll-snap/docs.html +77 -0
- package/src/utilities/spacing/docs.html +26 -0
- package/src/utilities/text/docs.html +63 -0
- package/src/utilities/view-transition/docs.html +49 -0
- package/src/utilities/visually-hidden/docs.html +16 -0
- package/src/base/root.docs.json +0 -35
- package/src/base/typography/typography.docs.json +0 -328
- package/src/components/actions/button/button.docs.json +0 -264
- package/src/components/actions/button-group/button-group.docs.json +0 -151
- package/src/components/actions/close-button/close-button.docs.json +0 -265
- package/src/components/content/divider/divider.docs.json +0 -113
- package/src/components/content/scroll-area/scroll-area-visual.png +0 -0
- package/src/components/content/scroll-area/scroll-area.docs.json +0 -273
- package/src/components/content/spacer/spacer.docs.json +0 -102
- package/src/components/data-display/avatar/avatar.docs.json +0 -245
- package/src/components/data-display/badge/badge.docs.json +0 -114
- package/src/components/data-display/card/card-visual.png +0 -0
- package/src/components/data-display/card/card.docs.json +0 -229
- package/src/components/data-display/data-list/data-list.docs.json +0 -259
- package/src/components/data-display/icon/icon.docs.json +0 -307
- package/src/components/data-display/image/image-visual.png +0 -0
- package/src/components/data-display/image/image.docs.json +0 -337
- package/src/components/data-display/stat/stat.docs.json +0 -114
- package/src/components/data-display/status/status.docs.json +0 -147
- package/src/components/data-display/table/table.docs.json +0 -184
- package/src/components/data-display/tag/tag.docs.json +0 -146
- package/src/components/disclosure/accordion/accordion.docs.json +0 -206
- package/src/components/disclosure/disclosure/disclosure.docs.json +0 -154
- package/src/components/feedback/alert/alert.docs.json +0 -325
- package/src/components/feedback/progress/progress.docs.json +0 -315
- package/src/components/feedback/progress-circle/progress-circle.docs.json +0 -378
- package/src/components/feedback/skeleton/skeleton.docs.json +0 -142
- package/src/components/feedback/spinner/spinner.docs.json +0 -121
- package/src/components/feedback/toast/toast-visual.png +0 -0
- package/src/components/feedback/toast/toast.docs.json +0 -418
- package/src/components/forms/checkbox/checkbox.docs.json +0 -166
- package/src/components/forms/checkbox-group/checkbox-group.docs.json +0 -339
- package/src/components/forms/field/field.docs.json +0 -276
- package/src/components/forms/fieldset/fieldset.docs.json +0 -520
- package/src/components/forms/form/form.docs.json +0 -482
- package/src/components/forms/form-error/form-error.docs.json +0 -61
- package/src/components/forms/form-helper/form-helper.docs.json +0 -151
- package/src/components/forms/input/input-visual.png +0 -0
- package/src/components/forms/input/input.docs.json +0 -306
- package/src/components/forms/label/label-visual.png +0 -0
- package/src/components/forms/label/label.docs.json +0 -110
- package/src/components/forms/number-input/number-input-visual.png +0 -0
- package/src/components/forms/number-input/number-input.docs.json +0 -311
- package/src/components/forms/password-input/password-input-visual.png +0 -0
- package/src/components/forms/password-input/password-input.docs.json +0 -316
- package/src/components/forms/radio/radio.docs.json +0 -236
- package/src/components/forms/radio-group/radio-group.docs.json +0 -351
- package/src/components/forms/search-input/search-input-visual.png +0 -0
- package/src/components/forms/search-input/search-input.docs.json +0 -293
- package/src/components/forms/select/select-visual.png +0 -0
- package/src/components/forms/select/select.docs.json +0 -231
- package/src/components/forms/slider/slider-visual.png +0 -0
- package/src/components/forms/slider/slider.docs.json +0 -144
- package/src/components/forms/textarea/textarea-visual.png +0 -0
- package/src/components/forms/textarea/textarea.docs.json +0 -229
- package/src/components/forms/toggle/toggle.docs.json +0 -229
- package/src/components/navigation/breadcrumb/breadcrumb.docs.json +0 -240
- package/src/components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/components/navigation/dropdown-menu/dropdown-menu.docs.json +0 -290
- package/src/components/navigation/menu/menu.docs.json +0 -326
- package/src/components/navigation/nav/nav.docs.json +0 -304
- package/src/components/navigation/pagination/pagination-visual.png +0 -0
- package/src/components/navigation/pagination/pagination.docs.json +0 -483
- package/src/components/navigation/tabs/tabs.docs.json +0 -243
- package/src/components/overlays/dialog/dialog.docs.json +0 -200
- package/src/components/overlays/drawer/drawer-visual.png +0 -0
- package/src/components/overlays/drawer/drawer.docs.json +0 -307
- package/src/components/overlays/modal/modal.docs.json +0 -252
- package/src/components/overlays/overlay/overlay.docs.json +0 -138
- package/src/components/overlays/popover/popover.docs.json +0 -154
- package/src/components/overlays/tooltip/tooltip.docs.json +0 -133
- package/src/components/typography/blockquote/blockquote.docs.json +0 -89
- package/src/components/typography/code/code-visual.png +0 -0
- package/src/components/typography/code/code.docs.json +0 -104
- package/src/components/typography/code-block/code-block-visual.png +0 -0
- package/src/components/typography/code-block/code-block.docs.json +0 -308
- package/src/components/typography/heading/heading-visual.png +0 -0
- package/src/components/typography/heading/heading.docs.json +0 -120
- package/src/components/typography/kbd/kbd.docs.json +0 -61
- package/src/components/typography/link/link.docs.json +0 -149
- package/src/components/typography/list/list.docs.json +0 -296
- package/src/components/typography/mark/mark.docs.json +0 -60
- package/src/config/guides/accessibility.docs.json +0 -126
- package/src/config/guides/getting-started.docs.json +0 -106
- package/src/config/guides/theming.docs.json +0 -289
- package/src/config/tokens/colors/colors.docs.json +0 -316
- package/src/config/tokens/design-tokens.docs.json +0 -239
- package/src/config/tokens/grid/grid.docs.json +0 -54
- package/src/config/tokens/spacing/spacing.docs.json +0 -114
- package/src/debug/debug.docs.json +0 -96
- package/src/layout/app-shell/app-shell-visual.png +0 -0
- package/src/layout/app-shell/app-shell.docs.json +0 -155
- package/src/layout/app-shell/app-shell.visual.spec.ts +0 -13
- package/src/layout/aspect-ratio/aspect-ratio.docs.json +0 -193
- package/src/layout/box/box-visual.png +0 -0
- package/src/layout/box/box.docs.json +0 -93
- package/src/layout/box/box.visual.spec.ts +0 -13
- package/src/layout/center/center.docs.json +0 -63
- package/src/layout/center/center.visual.spec.ts +0 -13
- package/src/layout/column/column.docs.json +0 -157
- package/src/layout/column/column.visual.spec.ts +0 -13
- package/src/layout/container/container.docs.json +0 -85
- package/src/layout/content/content.docs.json +0 -82
- package/src/layout/content/content.visual.spec.ts +0 -14
- package/src/layout/footer/footer-visual.png +0 -0
- package/src/layout/footer/footer.docs.json +0 -119
- package/src/layout/footer/footer.visual.spec.ts +0 -14
- package/src/layout/grid/grid.docs.json +0 -493
- package/src/layout/grid/grid.visual.spec.ts +0 -13
- package/src/layout/main/main.docs.json +0 -87
- package/src/layout/nav-rail/nav-rail-visual.png +0 -0
- package/src/layout/nav-rail/nav-rail.docs.json +0 -76
- package/src/layout/nav-rail/nav-rail.visual.spec.ts +0 -14
- package/src/layout/page-header/page-header.docs.json +0 -124
- package/src/layout/row/row.docs.json +0 -237
- package/src/layout/sidebar/sidebar-visual.png +0 -0
- package/src/layout/sidebar/sidebar.docs.json +0 -63
- package/src/layout/sidebar/sidebar.visual.spec.ts +0 -14
- package/src/layout/sidebar-nav/sidebar-nav.docs.json +0 -833
- package/src/layout/topbar/topbar-visual.png +0 -0
- package/src/layout/topbar/topbar.docs.json +0 -110
- package/src/layout/topbar/topbar.visual.spec.ts +0 -14
- package/src/utilities/container/container.docs.json +0 -121
- package/src/utilities/display/display.docs.json +0 -83
- package/src/utilities/scroll-animation/scroll-animation.docs.json +0 -100
- package/src/utilities/scroll-snap/scroll-snap.docs.json +0 -333
- package/src/utilities/spacing/spacing.docs.json +0 -133
- package/src/utilities/text/text.docs.json +0 -191
- package/src/utilities/view-transition/view-transition.docs.json +0 -63
- package/src/utilities/visually-hidden/visually-hidden.docs.json +0 -44
- /package/src/components/actions/button/{button.api.json → api.json} +0 -0
- /package/src/components/actions/button/{button-visual.png → visual.png} +0 -0
- /package/src/components/actions/button-group/{button-group.api.json → api.json} +0 -0
- /package/src/components/actions/button-group/{button-group-visual.png → visual.png} +0 -0
- /package/src/components/actions/close-button/{close-button.api.json → api.json} +0 -0
- /package/src/components/actions/close-button/{close-button-visual.png → visual.png} +0 -0
- /package/src/components/content/divider/{divider.api.json → api.json} +0 -0
- /package/src/components/content/divider/{divider-visual.png → visual.png} +0 -0
- /package/src/components/content/scroll-area/{scroll-area.api.json → api.json} +0 -0
- /package/src/components/content/spacer/{spacer.api.json → api.json} +0 -0
- /package/src/components/content/spacer/{spacer-visual.png → visual.png} +0 -0
- /package/src/components/data-display/avatar/{avatar.api.json → api.json} +0 -0
- /package/src/components/data-display/avatar/{avatar-visual.png → visual.png} +0 -0
- /package/src/components/data-display/badge/{badge.api.json → api.json} +0 -0
- /package/src/components/data-display/badge/{badge-visual.png → visual.png} +0 -0
- /package/src/components/data-display/card/{card.api.json → api.json} +0 -0
- /package/src/components/data-display/data-list/{data-list.api.json → api.json} +0 -0
- /package/src/components/data-display/icon/{icon.api.json → api.json} +0 -0
- /package/src/components/data-display/icon/{icon-visual.png → visual.png} +0 -0
- /package/src/components/data-display/image/{image.api.json → api.json} +0 -0
- /package/src/components/data-display/stat/{stat.api.json → api.json} +0 -0
- /package/src/components/data-display/stat/{stat-visual.png → visual.png} +0 -0
- /package/src/components/data-display/status/{status.api.json → api.json} +0 -0
- /package/src/components/data-display/status/{status-visual.png → visual.png} +0 -0
- /package/src/components/data-display/table/{table.api.json → api.json} +0 -0
- /package/src/components/data-display/table/{table-visual.png → visual.png} +0 -0
- /package/src/components/data-display/tag/{tag.api.json → api.json} +0 -0
- /package/src/components/data-display/tag/{tag-visual.png → visual.png} +0 -0
- /package/src/components/disclosure/accordion/{accordion.api.json → api.json} +0 -0
- /package/src/components/disclosure/accordion/{accordion-visual.png → visual.png} +0 -0
- /package/src/components/disclosure/disclosure/{disclosure.api.json → api.json} +0 -0
- /package/src/components/disclosure/disclosure/{disclosure-visual.png → visual.png} +0 -0
- /package/src/components/feedback/alert/{alert.api.json → api.json} +0 -0
- /package/src/components/feedback/alert/{alert-visual.png → visual.png} +0 -0
- /package/src/components/feedback/progress/{progress.api.json → api.json} +0 -0
- /package/src/components/feedback/progress/{progress-visual.png → visual.png} +0 -0
- /package/src/components/feedback/progress-circle/{progress-circle.api.json → api.json} +0 -0
- /package/src/components/feedback/progress-circle/{progress-circle-visual.png → visual.png} +0 -0
- /package/src/components/feedback/skeleton/{skeleton.api.json → api.json} +0 -0
- /package/src/components/feedback/skeleton/{skeleton-visual.png → visual.png} +0 -0
- /package/src/components/feedback/spinner/{spinner.api.json → api.json} +0 -0
- /package/src/components/feedback/spinner/{spinner-visual.png → visual.png} +0 -0
- /package/src/components/feedback/toast/{toast.api.json → api.json} +0 -0
- /package/src/components/forms/checkbox/{checkbox.api.json → api.json} +0 -0
- /package/src/components/forms/checkbox/{checkbox-visual.png → visual.png} +0 -0
- /package/src/components/forms/checkbox-group/{checkbox-group.api.json → api.json} +0 -0
- /package/src/components/forms/checkbox-group/{checkbox-group-visual.png → visual.png} +0 -0
- /package/src/components/forms/field/{field.api.json → api.json} +0 -0
- /package/src/components/forms/field/{field-visual.png → visual.png} +0 -0
- /package/src/components/forms/fieldset/{fieldset.api.json → api.json} +0 -0
- /package/src/components/forms/fieldset/{fieldset-visual.png → visual.png} +0 -0
- /package/src/components/forms/form/{form.api.json → api.json} +0 -0
- /package/src/components/forms/form/{form-visual.png → visual.png} +0 -0
- /package/src/components/forms/form-error/{form-error.api.json → api.json} +0 -0
- /package/src/components/forms/form-error/{form-error-visual.png → visual.png} +0 -0
- /package/src/components/forms/form-helper/{form-helper.api.json → api.json} +0 -0
- /package/src/components/forms/form-helper/{form-helper-visual.png → visual.png} +0 -0
- /package/src/components/forms/input/{input.api.json → api.json} +0 -0
- /package/src/components/forms/label/{label.api.json → api.json} +0 -0
- /package/src/components/forms/number-input/{number-input.api.json → api.json} +0 -0
- /package/src/components/forms/password-input/{password-input.api.json → api.json} +0 -0
- /package/src/components/forms/radio/{radio.api.json → api.json} +0 -0
- /package/src/components/forms/radio/{radio-visual.png → visual.png} +0 -0
- /package/src/components/forms/radio-group/{radio-group.api.json → api.json} +0 -0
- /package/src/components/forms/radio-group/{radio-group-visual.png → visual.png} +0 -0
- /package/src/components/forms/search-input/{search-input.api.json → api.json} +0 -0
- /package/src/components/forms/select/{select.api.json → api.json} +0 -0
- /package/src/components/forms/slider/{slider.api.json → api.json} +0 -0
- /package/src/components/forms/textarea/{textarea.api.json → api.json} +0 -0
- /package/src/components/forms/toggle/{toggle.api.json → api.json} +0 -0
- /package/src/components/forms/toggle/{toggle-visual.png → visual.png} +0 -0
- /package/src/components/navigation/breadcrumb/{breadcrumb.api.json → api.json} +0 -0
- /package/src/components/navigation/breadcrumb/{breadcrumb-visual.png → visual.png} +0 -0
- /package/src/components/navigation/dropdown-menu/{dropdown-menu.api.json → api.json} +0 -0
- /package/src/components/navigation/menu/{menu.api.json → api.json} +0 -0
- /package/src/components/navigation/menu/{menu-visual.png → visual.png} +0 -0
- /package/src/components/navigation/nav/{nav.api.json → api.json} +0 -0
- /package/src/components/navigation/nav/{nav-visual.png → visual.png} +0 -0
- /package/src/components/navigation/pagination/{pagination.api.json → api.json} +0 -0
- /package/src/components/navigation/tabs/{tabs.api.json → api.json} +0 -0
- /package/src/components/navigation/tabs/{tabs-visual.png → visual.png} +0 -0
- /package/src/components/overlays/dialog/{dialog.api.json → api.json} +0 -0
- /package/src/components/overlays/dialog/{dialog-visual.png → visual.png} +0 -0
- /package/src/components/overlays/drawer/{drawer.api.json → api.json} +0 -0
- /package/src/components/overlays/modal/{modal.api.json → api.json} +0 -0
- /package/src/components/overlays/modal/{modal-visual.png → visual.png} +0 -0
- /package/src/components/overlays/overlay/{overlay.api.json → api.json} +0 -0
- /package/src/components/overlays/overlay/{overlay-visual.png → visual.png} +0 -0
- /package/src/components/overlays/popover/{popover.api.json → api.json} +0 -0
- /package/src/components/overlays/popover/{popover-visual.png → visual.png} +0 -0
- /package/src/components/overlays/tooltip/{tooltip.api.json → api.json} +0 -0
- /package/src/components/overlays/tooltip/{tooltip-visual.png → visual.png} +0 -0
- /package/src/components/typography/blockquote/{blockquote.api.json → api.json} +0 -0
- /package/src/components/typography/blockquote/{blockquote-visual.png → visual.png} +0 -0
- /package/src/components/typography/code/{code.api.json → api.json} +0 -0
- /package/src/components/typography/code-block/{code-block.api.json → api.json} +0 -0
- /package/src/components/typography/heading/{heading.api.json → api.json} +0 -0
- /package/src/components/typography/kbd/{kbd.api.json → api.json} +0 -0
- /package/src/components/typography/kbd/{kbd-visual.png → visual.png} +0 -0
- /package/src/components/typography/link/{link.api.json → api.json} +0 -0
- /package/src/components/typography/link/{link-visual.png → visual.png} +0 -0
- /package/src/components/typography/list/{list.api.json → api.json} +0 -0
- /package/src/components/typography/list/{list-visual.png → visual.png} +0 -0
- /package/src/components/typography/mark/{mark.api.json → api.json} +0 -0
- /package/src/components/typography/mark/{mark-visual.png → visual.png} +0 -0
- /package/src/layout/app-shell/{app-shell.api.json → api.json} +0 -0
- /package/src/layout/aspect-ratio/{aspect-ratio.api.json → api.json} +0 -0
- /package/src/layout/aspect-ratio/{aspect-ratio-visual.png → visual.png} +0 -0
- /package/src/layout/box/{box.api.json → api.json} +0 -0
- /package/src/layout/center/{center.api.json → api.json} +0 -0
- /package/src/layout/center/{center-visual.png → visual.png} +0 -0
- /package/src/layout/column/{column.api.json → api.json} +0 -0
- /package/src/layout/column/{column-visual.png → visual.png} +0 -0
- /package/src/layout/container/{container.api.json → api.json} +0 -0
- /package/src/layout/content/{content.api.json → api.json} +0 -0
- /package/src/layout/footer/{footer.api.json → api.json} +0 -0
- /package/src/layout/grid/{grid.api.json → api.json} +0 -0
- /package/src/layout/grid/{grid-visual.png → visual.png} +0 -0
- /package/src/layout/main/{main.api.json → api.json} +0 -0
- /package/src/layout/nav-rail/{nav-rail.api.json → api.json} +0 -0
- /package/src/layout/page-header/{page-header.api.json → api.json} +0 -0
- /package/src/layout/page-header/{page-header-visual.png → visual.png} +0 -0
- /package/src/layout/row/{row.api.json → api.json} +0 -0
- /package/src/layout/row/{row-visual.png → visual.png} +0 -0
- /package/src/layout/sidebar/{sidebar.api.json → api.json} +0 -0
- /package/src/layout/sidebar-nav/{sidebar-nav.api.json → api.json} +0 -0
- /package/src/layout/topbar/{topbar.api.json → api.json} +0 -0
- /package/src/utilities/container/{container.api.json → api.json} +0 -0
- /package/src/utilities/display/{display.api.json → api.json} +0 -0
- /package/src/utilities/scroll-animation/{scroll-animation.api.json → api.json} +0 -0
- /package/src/utilities/scroll-snap/{scroll-snap.api.json → api.json} +0 -0
- /package/src/utilities/spacing/{spacing.api.json → api.json} +0 -0
- /package/src/utilities/text/{text.api.json → api.json} +0 -0
- /package/src/utilities/view-transition/{view-transition.api.json → api.json} +0 -0
- /package/src/utilities/visually-hidden/{visually-hidden.api.json → api.json} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Visually Hidden
|
|
3
|
+
id: visually-hidden
|
|
4
|
+
description: Hides content visually while keeping it accessible to screen readers. Use for skip links and accessible labels.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- @default -->
|
|
8
|
+
<!-- Content is hidden visually but announced by screen readers -->
|
|
9
|
+
<button>
|
|
10
|
+
Submit
|
|
11
|
+
<span class="ui-visually-hidden"> form to contact support</span>
|
|
12
|
+
</button>
|
|
13
|
+
|
|
14
|
+
<!-- @focusable_skip_link -->
|
|
15
|
+
<!-- Becomes visible when focused - useful for skip links -->
|
|
16
|
+
<a class="ui-visually-hidden ui-visually-hidden--focusable" href="#main" style="position: relative;">Skip to main content</a>
|
package/src/base/root.docs.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "root",
|
|
3
|
-
"type": "token",
|
|
4
|
-
"title": "Root",
|
|
5
|
-
"description": "Base styles applied to the .root class: font family, size, line-height, color, and background",
|
|
6
|
-
"skipValidation": true,
|
|
7
|
-
"sections": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Usage",
|
|
10
|
-
"description": "Add the .ui-root class to the html or body element to establish baseline typography and color.",
|
|
11
|
-
"examples": [
|
|
12
|
-
{
|
|
13
|
-
"title": "Basic setup",
|
|
14
|
-
"items": [
|
|
15
|
-
{
|
|
16
|
-
"tag": "div",
|
|
17
|
-
"class": "ui-root",
|
|
18
|
-
"children": [
|
|
19
|
-
{
|
|
20
|
-
"tag": "p",
|
|
21
|
-
"text": "Text inherits font-family, size, line-height, and color from .ui-root"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"code": "<html class=\"ui-root\">\n <body>\n <!-- All children inherit base styles -->\n </body>\n</html>"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"title": "Tokens applied",
|
|
30
|
-
"code": ".ui-root {\n font-family: var(--ui-font-sans);\n font-size: var(--ui-font-size-md);\n line-height: var(--ui-leading-md);\n color: var(--ui-color-text);\n background: var(--ui-color-bg);\n}"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "typography",
|
|
3
|
-
"type": "token",
|
|
4
|
-
"title": "Typography",
|
|
5
|
-
"description": "Modular scale (1.2 ratio) with 8px grid-snapped line-heights. Responsive breakpoints at 730px and 1080px adjust heading sizes.",
|
|
6
|
-
"skipValidation": true,
|
|
7
|
-
"sections": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Type Scale",
|
|
10
|
-
"description": "Font sizes follow a 1.2 (Minor Third) modular scale from 12px to 40px. All line-heights snap to 8px multiples.",
|
|
11
|
-
"examples": [
|
|
12
|
-
{
|
|
13
|
-
"items": [
|
|
14
|
-
{
|
|
15
|
-
"tag": "table",
|
|
16
|
-
"class": "ui-table",
|
|
17
|
-
"children": [
|
|
18
|
-
{
|
|
19
|
-
"tag": "thead",
|
|
20
|
-
"children": [
|
|
21
|
-
{
|
|
22
|
-
"tag": "tr",
|
|
23
|
-
"children": [
|
|
24
|
-
{ "tag": "th", "text": "Token" },
|
|
25
|
-
{ "tag": "th", "text": "Size" },
|
|
26
|
-
{ "tag": "th", "text": "Line-height" }
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"tag": "tbody",
|
|
33
|
-
"children": [
|
|
34
|
-
{
|
|
35
|
-
"tag": "tr",
|
|
36
|
-
"children": [
|
|
37
|
-
{
|
|
38
|
-
"tag": "td",
|
|
39
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-xs" }]
|
|
40
|
-
},
|
|
41
|
-
{ "tag": "td", "text": "12px" },
|
|
42
|
-
{ "tag": "td", "text": "16px" }
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"tag": "tr",
|
|
47
|
-
"children": [
|
|
48
|
-
{
|
|
49
|
-
"tag": "td",
|
|
50
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-sm" }]
|
|
51
|
-
},
|
|
52
|
-
{ "tag": "td", "text": "14px" },
|
|
53
|
-
{ "tag": "td", "text": "24px" }
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"tag": "tr",
|
|
58
|
-
"children": [
|
|
59
|
-
{
|
|
60
|
-
"tag": "td",
|
|
61
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-md" }]
|
|
62
|
-
},
|
|
63
|
-
{ "tag": "td", "text": "16px" },
|
|
64
|
-
{ "tag": "td", "text": "24px" }
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"tag": "tr",
|
|
69
|
-
"children": [
|
|
70
|
-
{
|
|
71
|
-
"tag": "td",
|
|
72
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-lg" }]
|
|
73
|
-
},
|
|
74
|
-
{ "tag": "td", "text": "20px" },
|
|
75
|
-
{ "tag": "td", "text": "32px" }
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"tag": "tr",
|
|
80
|
-
"children": [
|
|
81
|
-
{
|
|
82
|
-
"tag": "td",
|
|
83
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-xl" }]
|
|
84
|
-
},
|
|
85
|
-
{ "tag": "td", "text": "24px" },
|
|
86
|
-
{ "tag": "td", "text": "32px" }
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"tag": "tr",
|
|
91
|
-
"children": [
|
|
92
|
-
{
|
|
93
|
-
"tag": "td",
|
|
94
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-2xl" }]
|
|
95
|
-
},
|
|
96
|
-
{ "tag": "td", "text": "28px" },
|
|
97
|
-
{ "tag": "td", "text": "32px" }
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"tag": "tr",
|
|
102
|
-
"children": [
|
|
103
|
-
{
|
|
104
|
-
"tag": "td",
|
|
105
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-3xl" }]
|
|
106
|
-
},
|
|
107
|
-
{ "tag": "td", "text": "32px" },
|
|
108
|
-
{ "tag": "td", "text": "40px" }
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"tag": "tr",
|
|
113
|
-
"children": [
|
|
114
|
-
{
|
|
115
|
-
"tag": "td",
|
|
116
|
-
"children": [{ "tag": "code", "text": "--ui-font-size-4xl" }]
|
|
117
|
-
},
|
|
118
|
-
{ "tag": "td", "text": "40px" },
|
|
119
|
-
{ "tag": "td", "text": "48px" }
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
]
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"title": "Headings",
|
|
132
|
-
"description": "Headings use semantic tokens and adjust size at breakpoints.",
|
|
133
|
-
"examples": [
|
|
134
|
-
{
|
|
135
|
-
"items": [
|
|
136
|
-
{ "tag": "h1", "text": "Heading 1 - 40px / 48px" },
|
|
137
|
-
{ "tag": "h2", "text": "Heading 2 - 32px / 40px" },
|
|
138
|
-
{ "tag": "h3", "text": "Heading 3 - 28px / 32px" },
|
|
139
|
-
{ "tag": "h4", "text": "Heading 4 - 24px / 32px" },
|
|
140
|
-
{ "tag": "h5", "text": "Heading 5 - 20px / 24px" }
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"title": "Body Text",
|
|
147
|
-
"description": "Default body text at 16px with 24px line-height (1.5x ratio).",
|
|
148
|
-
"examples": [
|
|
149
|
-
{
|
|
150
|
-
"items": [
|
|
151
|
-
{
|
|
152
|
-
"tag": "p",
|
|
153
|
-
"children": [
|
|
154
|
-
{ "text": "Body text at 16px with 24px line-height. The " },
|
|
155
|
-
{ "tag": "strong", "text": "bold text" },
|
|
156
|
-
{ "text": " and " },
|
|
157
|
-
{ "tag": "code", "text": "inline code" },
|
|
158
|
-
{ "text": " maintain the same rhythm." }
|
|
159
|
-
]
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"tag": "p",
|
|
163
|
-
"class": "ui-text-body-sm",
|
|
164
|
-
"text": "Body small at 14px with 24px line-height for secondary text."
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"title": "Text Roles",
|
|
172
|
-
"description": "Semantic text styles for specific use cases.",
|
|
173
|
-
"examples": [
|
|
174
|
-
{
|
|
175
|
-
"items": [
|
|
176
|
-
{
|
|
177
|
-
"tag": "p",
|
|
178
|
-
"class": "ui-text-lead",
|
|
179
|
-
"text": "Lead paragraph - 20px / 32px. Use for opening paragraphs or article intros."
|
|
180
|
-
}
|
|
181
|
-
]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"items": [
|
|
185
|
-
{ "tag": "p", "class": "ui-text-eyebrow", "text": "Eyebrow text" },
|
|
186
|
-
{ "tag": "h2", "text": "Related Heading" }
|
|
187
|
-
],
|
|
188
|
-
"description": "Eyebrow - 12px uppercase with wide tracking. Use above headings for categorization."
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"items": [
|
|
192
|
-
{
|
|
193
|
-
"tag": "p",
|
|
194
|
-
"class": "ui-text-caption",
|
|
195
|
-
"text": "Caption text - 12px / 16px. Use for labels, hints, and metadata."
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"title": "Font Weights",
|
|
203
|
-
"description": "Four weight levels for hierarchy.",
|
|
204
|
-
"examples": [
|
|
205
|
-
{
|
|
206
|
-
"items": [
|
|
207
|
-
{ "tag": "p", "class": "ui-font-normal", "text": "Normal (400) - Body text" },
|
|
208
|
-
{
|
|
209
|
-
"tag": "p",
|
|
210
|
-
"class": "ui-font-medium",
|
|
211
|
-
"text": "Medium (500) - Labels, small headings"
|
|
212
|
-
},
|
|
213
|
-
{ "tag": "p", "class": "ui-font-semibold", "text": "Semibold (600) - Subheadings" },
|
|
214
|
-
{ "tag": "p", "class": "ui-font-bold", "text": "Bold (700) - Headlines, emphasis" }
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"title": "Letter Spacing",
|
|
221
|
-
"description": "Three tracking options based on use case.",
|
|
222
|
-
"examples": [
|
|
223
|
-
{
|
|
224
|
-
"items": [
|
|
225
|
-
{
|
|
226
|
-
"tag": "p",
|
|
227
|
-
"class": "ui-text-3xl ui-tracking-display",
|
|
228
|
-
"text": "Display tracking (-0.02em)"
|
|
229
|
-
},
|
|
230
|
-
{ "tag": "p", "text": "Body tracking (0) - default" },
|
|
231
|
-
{ "tag": "p", "class": "ui-text-eyebrow", "text": "Caps tracking (+0.08em)" }
|
|
232
|
-
]
|
|
233
|
-
}
|
|
234
|
-
]
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"title": "Line Length",
|
|
238
|
-
"description": "Constrain text width for optimal readability (45-75 characters).",
|
|
239
|
-
"examples": [
|
|
240
|
-
{
|
|
241
|
-
"items": [
|
|
242
|
-
{
|
|
243
|
-
"tag": "div",
|
|
244
|
-
"class": "ui-prose",
|
|
245
|
-
"children": [
|
|
246
|
-
{
|
|
247
|
-
"tag": "p",
|
|
248
|
-
"text": "This paragraph is constrained to 65ch max-width for optimal reading comfort. Long lines of text are harder to read because the eye has difficulty tracking back to the start of the next line."
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
]
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"title": "Responsive Behavior",
|
|
258
|
-
"description": "Headings scale down on mobile (<730px) and up on desktop (>1080px).",
|
|
259
|
-
"examples": [
|
|
260
|
-
{
|
|
261
|
-
"items": [
|
|
262
|
-
{
|
|
263
|
-
"tag": "table",
|
|
264
|
-
"class": "ui-table",
|
|
265
|
-
"children": [
|
|
266
|
-
{
|
|
267
|
-
"tag": "thead",
|
|
268
|
-
"children": [
|
|
269
|
-
{
|
|
270
|
-
"tag": "tr",
|
|
271
|
-
"children": [
|
|
272
|
-
{ "tag": "th", "text": "Heading" },
|
|
273
|
-
{ "tag": "th", "text": "Mobile" },
|
|
274
|
-
{ "tag": "th", "text": "Default" },
|
|
275
|
-
{ "tag": "th", "text": "Desktop" }
|
|
276
|
-
]
|
|
277
|
-
}
|
|
278
|
-
]
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"tag": "tbody",
|
|
282
|
-
"children": [
|
|
283
|
-
{
|
|
284
|
-
"tag": "tr",
|
|
285
|
-
"children": [
|
|
286
|
-
{ "tag": "td", "text": "h1" },
|
|
287
|
-
{ "tag": "td", "text": "28px" },
|
|
288
|
-
{ "tag": "td", "text": "40px" },
|
|
289
|
-
{ "tag": "td", "text": "48px" }
|
|
290
|
-
]
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"tag": "tr",
|
|
294
|
-
"children": [
|
|
295
|
-
{ "tag": "td", "text": "h2" },
|
|
296
|
-
{ "tag": "td", "text": "24px" },
|
|
297
|
-
{ "tag": "td", "text": "32px" },
|
|
298
|
-
{ "tag": "td", "text": "40px" }
|
|
299
|
-
]
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"tag": "tr",
|
|
303
|
-
"children": [
|
|
304
|
-
{ "tag": "td", "text": "h3" },
|
|
305
|
-
{ "tag": "td", "text": "20px" },
|
|
306
|
-
{ "tag": "td", "text": "28px" },
|
|
307
|
-
{ "tag": "td", "text": "28px" }
|
|
308
|
-
]
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"tag": "tr",
|
|
312
|
-
"children": [
|
|
313
|
-
{ "tag": "td", "text": "h4" },
|
|
314
|
-
{ "tag": "td", "text": "18px" },
|
|
315
|
-
{ "tag": "td", "text": "24px" },
|
|
316
|
-
{ "tag": "td", "text": "24px" }
|
|
317
|
-
]
|
|
318
|
-
}
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
}
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
]
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
}
|
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "button",
|
|
3
|
-
"type": "component",
|
|
4
|
-
"title": "Button",
|
|
5
|
-
"api": "./button.api.json",
|
|
6
|
-
"description": "Buttons trigger actions. Use primary for main CTA, secondary for less important actions.",
|
|
7
|
-
"modifiers": {
|
|
8
|
-
"size": {
|
|
9
|
-
"usage": "Default is 32px (2 rows). Use small for dense UIs, large for prominent CTAs."
|
|
10
|
-
},
|
|
11
|
-
"variant": {
|
|
12
|
-
"usage": "Primary for main actions. Secondary for less important. Outline for subtle. Ghost for toolbar. Danger for destructive. Link for inline."
|
|
13
|
-
},
|
|
14
|
-
"icon": {
|
|
15
|
-
"usage": "Square icon-only buttons. Always add aria-label for accessibility."
|
|
16
|
-
},
|
|
17
|
-
"radius": {
|
|
18
|
-
"usage": "Override border radius. Use radius-full for pill-shaped buttons."
|
|
19
|
-
},
|
|
20
|
-
"block": {
|
|
21
|
-
"usage": "Full width button. Use for mobile or form submit."
|
|
22
|
-
},
|
|
23
|
-
"loading": {
|
|
24
|
-
"usage": "Shows spinner animation. Button becomes non-interactive."
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"sections": [
|
|
28
|
-
{
|
|
29
|
-
"title": "Variants",
|
|
30
|
-
"description": "Button styles for different purposes and emphasis levels.",
|
|
31
|
-
"examples": [
|
|
32
|
-
{
|
|
33
|
-
"layout": "row",
|
|
34
|
-
"items": [
|
|
35
|
-
{ "tag": "button", "class": "ui-button", "text": "Primary" },
|
|
36
|
-
{ "tag": "button", "class": "ui-button ui-button--secondary", "text": "Secondary" },
|
|
37
|
-
{ "tag": "button", "class": "ui-button ui-button--outline", "text": "Outline" },
|
|
38
|
-
{ "tag": "button", "class": "ui-button ui-button--ghost", "text": "Ghost" },
|
|
39
|
-
{ "tag": "button", "class": "ui-button ui-button--danger", "text": "Danger" },
|
|
40
|
-
{ "tag": "button", "class": "ui-button ui-button--link", "text": "Link" }
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"title": "Sizes",
|
|
47
|
-
"description": "Small for dense UIs, default for most cases, large for prominent CTAs.",
|
|
48
|
-
"examples": [
|
|
49
|
-
{
|
|
50
|
-
"layout": "row",
|
|
51
|
-
"items": [
|
|
52
|
-
{ "tag": "button", "class": "ui-button ui-button--sm", "text": "Small" },
|
|
53
|
-
{ "tag": "button", "class": "ui-button ui-button--md", "text": "Medium" },
|
|
54
|
-
{ "tag": "button", "class": "ui-button ui-button--lg", "text": "Large" }
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"title": "Radius",
|
|
61
|
-
"description": "Override border radius. Use radius-full for pill-shaped buttons.",
|
|
62
|
-
"examples": [
|
|
63
|
-
{
|
|
64
|
-
"layout": "row",
|
|
65
|
-
"items": [
|
|
66
|
-
{ "tag": "button", "class": "ui-button ui-button--radius-none", "text": "None" },
|
|
67
|
-
{ "tag": "button", "class": "ui-button ui-button--radius-sm", "text": "Small" },
|
|
68
|
-
{ "tag": "button", "class": "ui-button", "text": "Default" },
|
|
69
|
-
{ "tag": "button", "class": "ui-button ui-button--radius-lg", "text": "Large" },
|
|
70
|
-
{ "tag": "button", "class": "ui-button ui-button--radius-full", "text": "Full" }
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"title": "Block",
|
|
77
|
-
"description": "Full width button for mobile or form submit.",
|
|
78
|
-
"examples": [
|
|
79
|
-
{
|
|
80
|
-
"items": [
|
|
81
|
-
{ "tag": "button", "class": "ui-button ui-button--block", "text": "Block Button" }
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"title": "Loading",
|
|
88
|
-
"description": "Shows spinner animation. Button becomes non-interactive.",
|
|
89
|
-
"examples": [
|
|
90
|
-
{
|
|
91
|
-
"layout": "row",
|
|
92
|
-
"items": [
|
|
93
|
-
{ "tag": "button", "class": "ui-button ui-button--loading", "text": "Loading" },
|
|
94
|
-
{
|
|
95
|
-
"tag": "button",
|
|
96
|
-
"class": "ui-button ui-button--secondary ui-button--loading",
|
|
97
|
-
"text": "Loading"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"title": "Icon Button",
|
|
105
|
-
"description": "Square icon-only buttons. Use with SVG icons from Lucide or similar sets.",
|
|
106
|
-
"examples": [
|
|
107
|
-
{
|
|
108
|
-
"layout": "row",
|
|
109
|
-
"items": [
|
|
110
|
-
{
|
|
111
|
-
"tag": "button",
|
|
112
|
-
"class": "ui-button ui-button--icon ui-button--sm",
|
|
113
|
-
"children": [
|
|
114
|
-
{
|
|
115
|
-
"tag": "svg",
|
|
116
|
-
"class": "ui-icon",
|
|
117
|
-
"attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 24 24" },
|
|
118
|
-
"children": [
|
|
119
|
-
{ "tag": "path", "attrs": { "d": "M18 6 6 18" } },
|
|
120
|
-
{ "tag": "path", "attrs": { "d": "m6 6 12 12" } }
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"tag": "button",
|
|
127
|
-
"class": "ui-button ui-button--icon",
|
|
128
|
-
"children": [
|
|
129
|
-
{
|
|
130
|
-
"tag": "svg",
|
|
131
|
-
"class": "ui-icon",
|
|
132
|
-
"attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 24 24" },
|
|
133
|
-
"children": [
|
|
134
|
-
{ "tag": "path", "attrs": { "d": "M5 12h14" } },
|
|
135
|
-
{ "tag": "path", "attrs": { "d": "M12 5v14" } }
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"tag": "button",
|
|
142
|
-
"class": "ui-button ui-button--icon ui-button--lg",
|
|
143
|
-
"children": [
|
|
144
|
-
{
|
|
145
|
-
"tag": "svg",
|
|
146
|
-
"class": "ui-icon",
|
|
147
|
-
"attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 24 24" },
|
|
148
|
-
"children": [
|
|
149
|
-
{ "tag": "circle", "attrs": { "cx": "11", "cy": "11", "r": "8" } },
|
|
150
|
-
{ "tag": "path", "attrs": { "d": "m21 21-4.3-4.3" } }
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"code": "<button class=\"ui-button ui-button--icon ui-button--sm\">\n <svg class=\"ui-icon\"><!-- x icon --></svg>\n</button>\n<button class=\"ui-button ui-button--icon\">\n <svg class=\"ui-icon\"><!-- plus icon --></svg>\n</button>\n<button class=\"ui-button ui-button--icon ui-button--lg\">\n <svg class=\"ui-icon\"><!-- search icon --></svg>\n</button>"
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"title": "With Icon",
|
|
162
|
-
"description": "Buttons with icon and text. Use ui-button__icon element with --start or --end modifier.",
|
|
163
|
-
"examples": [
|
|
164
|
-
{
|
|
165
|
-
"layout": "row",
|
|
166
|
-
"items": [
|
|
167
|
-
{
|
|
168
|
-
"tag": "button",
|
|
169
|
-
"class": "ui-button",
|
|
170
|
-
"children": [
|
|
171
|
-
{
|
|
172
|
-
"tag": "svg",
|
|
173
|
-
"class": "ui-icon ui-button__icon ui-button__icon--start",
|
|
174
|
-
"attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 24 24" },
|
|
175
|
-
"children": [
|
|
176
|
-
{ "tag": "path", "attrs": { "d": "M5 12h14" } },
|
|
177
|
-
{ "tag": "path", "attrs": { "d": "M12 5v14" } }
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
|
-
{ "text": "Add Item" }
|
|
181
|
-
]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"tag": "button",
|
|
185
|
-
"class": "ui-button ui-button--secondary",
|
|
186
|
-
"children": [
|
|
187
|
-
{ "text": "Next" },
|
|
188
|
-
{
|
|
189
|
-
"tag": "svg",
|
|
190
|
-
"class": "ui-icon ui-button__icon ui-button__icon--end",
|
|
191
|
-
"attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 24 24" },
|
|
192
|
-
"children": [{ "tag": "path", "attrs": { "d": "m9 18 6-6-6-6" } }]
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"code": "<button class=\"ui-button\">\n <svg class=\"ui-icon ui-button__icon ui-button__icon--start\"><!-- plus --></svg>\n Add Item\n</button>\n<button class=\"ui-button ui-button--secondary\">\n Next\n <svg class=\"ui-icon ui-button__icon ui-button__icon--end\"><!-- chevron-right --></svg>\n</button>"
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
"customization": [
|
|
203
|
-
{
|
|
204
|
-
"token": "--ui-button-accent",
|
|
205
|
-
"default": "var(--ui-color-primary)",
|
|
206
|
-
"description": "Primary accent color. All shades auto-generated via color-mix."
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"token": "--ui-button-height",
|
|
210
|
-
"default": "var(--ui-row-2)",
|
|
211
|
-
"description": "Overall height"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"token": "--ui-button-padding-x",
|
|
215
|
-
"default": "var(--ui-space-2)",
|
|
216
|
-
"description": "Horizontal padding"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"token": "--ui-button-font-size",
|
|
220
|
-
"default": "var(--ui-font-size-sm)",
|
|
221
|
-
"description": "Font size"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"token": "--ui-button-font-weight",
|
|
225
|
-
"default": "var(--ui-weight-medium)",
|
|
226
|
-
"description": "Font weight"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"token": "--ui-button-radius",
|
|
230
|
-
"default": "var(--ui-radius-md)",
|
|
231
|
-
"description": "Corner radius"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"token": "--ui-button-color",
|
|
235
|
-
"default": "var(--ui-color-text-inverse)",
|
|
236
|
-
"description": "Text color"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"token": "--ui-button-height-sm",
|
|
240
|
-
"default": "calc(var(--ui-row) * 1.5)",
|
|
241
|
-
"description": "Overall height at small size"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"token": "--ui-button-font-size-sm",
|
|
245
|
-
"default": "var(--ui-font-size-xs)",
|
|
246
|
-
"description": "Font size at small size"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"token": "--ui-button-height-lg",
|
|
250
|
-
"default": "calc(var(--ui-row) * 2.5)",
|
|
251
|
-
"description": "Overall height at large size"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"token": "--ui-button-padding-x-lg",
|
|
255
|
-
"default": "var(--ui-space-3)",
|
|
256
|
-
"description": "Horizontal padding at large size"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"token": "--ui-button-font-size-lg",
|
|
260
|
-
"default": "var(--ui-font-size-md)",
|
|
261
|
-
"description": "Font size at large size"
|
|
262
|
-
}
|
|
263
|
-
]
|
|
264
|
-
}
|