@teseor/css 1.6.0 → 1.8.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 +72 -65
- 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 +4 -4
- package/src/{04-components → components}/actions/button/button.docs.json +63 -11
- package/src/{04-components → components}/actions/button/index.scss +20 -14
- package/src/components/actions/button-group/button-group.docs.json +151 -0
- package/src/{04-components → components}/actions/button-group/index.scss +1 -1
- package/src/{04-components → components}/actions/close-button/close-button.docs.json +4 -3
- package/src/{04-components → components}/actions/close-button/index.scss +2 -2
- package/src/{04-components/layout → components/content}/divider/divider.api.json +2 -2
- package/src/components/content/divider/divider.docs.json +113 -0
- package/src/{04-components/layout → components/content}/divider/index.scss +1 -1
- package/src/components/content/scroll-area/index.scss +92 -0
- package/src/components/content/scroll-area/scroll-area-visual.png +0 -0
- package/src/components/content/scroll-area/scroll-area.api.json +63 -0
- package/src/components/content/scroll-area/scroll-area.docs.json +204 -0
- package/src/components/content/scroll-area/scroll-area.visual.spec.ts +14 -0
- package/src/{04-components/layout → components/content}/spacer/spacer.docs.json +2 -2
- package/src/{04-components → components}/data-display/avatar/avatar.api.json +5 -5
- package/src/{04-components → components}/data-display/avatar/avatar.docs.json +55 -10
- package/src/{04-components → components}/data-display/avatar/index.scss +1 -1
- package/src/components/data-display/badge/badge-visual.png +0 -0
- package/src/{04-components → components}/data-display/badge/badge.api.json +14 -2
- package/src/{04-components → components}/data-display/badge/badge.docs.json +32 -7
- package/src/{04-components → components}/data-display/badge/index.scss +13 -7
- package/src/components/data-display/card/card-visual.png +0 -0
- package/src/{04-components → components}/data-display/card/card.api.json +15 -0
- package/src/{04-components → components}/data-display/card/card.docs.json +26 -2
- package/src/{04-components → components}/data-display/card/index.scss +26 -6
- package/src/{04-components → components}/data-display/data-list/data-list.api.json +2 -2
- package/src/components/data-display/data-list/data-list.docs.json +259 -0
- package/src/{04-components → components}/data-display/data-list/index.scss +1 -1
- package/src/components/data-display/icon/icon-visual.png +0 -0
- package/src/{04-components → components}/data-display/icon/icon.docs.json +105 -17
- package/src/{04-components → components}/data-display/icon/index.scss +7 -1
- package/src/{04-components → components}/data-display/image/image.api.json +4 -4
- package/src/{04-components → components}/data-display/image/image.docs.json +8 -8
- package/src/{04-components → components}/data-display/image/index.scss +1 -1
- package/src/{04-components → components}/data-display/stat/index.scss +1 -1
- package/src/{04-components → components}/data-display/stat/stat.docs.json +1 -1
- package/src/{04-components → components}/data-display/status/index.scss +7 -1
- package/src/{04-components → components}/data-display/status/status.api.json +2 -2
- package/src/components/data-display/status/status.docs.json +147 -0
- package/src/{04-components → components}/data-display/table/index.scss +2 -2
- package/src/components/data-display/table/table.docs.json +184 -0
- package/src/{04-components → components}/data-display/tag/index.scss +9 -3
- package/src/components/data-display/tag/tag-visual.png +0 -0
- package/src/{04-components → components}/data-display/tag/tag.api.json +17 -5
- package/src/{04-components → components}/data-display/tag/tag.docs.json +48 -10
- package/src/components/disclosure/accordion/accordion.docs.json +206 -0
- package/src/{04-components → components}/disclosure/accordion/index.scss +1 -1
- package/src/components/disclosure/disclosure/disclosure-visual.png +0 -0
- package/src/{04-components → components}/disclosure/disclosure/disclosure.api.json +2 -2
- package/src/components/disclosure/disclosure/disclosure.docs.json +154 -0
- package/src/{04-components → components}/disclosure/disclosure/index.scss +11 -1
- package/src/{04-components → components}/feedback/alert/alert-visual.png +0 -0
- package/src/{04-components → components}/feedback/alert/alert.api.json +24 -1
- package/src/components/feedback/alert/alert.docs.json +325 -0
- package/src/{04-components → components}/feedback/alert/index.scss +23 -1
- package/src/{04-components → components}/feedback/progress/index.scss +11 -1
- package/src/components/feedback/progress/progress-visual.png +0 -0
- package/src/{04-components → components}/feedback/progress/progress.api.json +1 -1
- package/src/components/feedback/progress/progress.docs.json +257 -0
- package/src/{04-components → components}/feedback/progress-circle/index.scss +11 -5
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.api.json +4 -4
- package/src/{04-components → components}/feedback/progress-circle/progress-circle.docs.json +5 -4
- package/src/{04-components → components}/feedback/skeleton/index.scss +11 -1
- package/src/components/feedback/skeleton/skeleton.docs.json +126 -0
- package/src/{04-components → components}/feedback/spinner/index.scss +12 -6
- package/src/{04-components → components}/feedback/spinner/spinner.api.json +5 -5
- package/src/{04-components → components}/feedback/spinner/spinner.docs.json +42 -9
- package/src/{04-components → components}/feedback/toast/index.scss +8 -2
- package/src/{04-components → components}/feedback/toast/toast.api.json +4 -4
- package/src/components/feedback/toast/toast.docs.json +281 -0
- package/src/{04-components → components}/forms/checkbox/checkbox.api.json +8 -4
- package/src/{04-components → components}/forms/checkbox/checkbox.docs.json +30 -10
- package/src/{04-components → components}/forms/checkbox/index.scss +11 -4
- package/src/{04-components → components}/forms/checkbox-group/checkbox-group.docs.json +1 -0
- package/src/{04-components → components}/forms/checkbox-group/index.scss +3 -3
- package/src/components/forms/field/field.docs.json +190 -0
- package/src/{04-components → components}/forms/field/index.scss +1 -1
- package/src/{04-components → components}/forms/fieldset/index.scss +2 -2
- package/src/{04-components → components}/forms/form/index.scss +1 -1
- package/src/{04-components → components}/forms/form-error/form-error.docs.json +23 -2
- package/src/{04-components → components}/forms/form-error/index.scss +1 -1
- package/src/{04-components → components}/forms/form-helper/form-helper.docs.json +3 -1
- package/src/{04-components → components}/forms/form-helper/index.scss +1 -1
- package/src/{04-components → components}/forms/input/index.scss +9 -7
- package/src/{04-components → components}/forms/input/input-visual.png +0 -0
- package/src/{04-components → components}/forms/input/input.api.json +3 -3
- package/src/{04-components → components}/forms/input/input.docs.json +128 -11
- package/src/{04-components → components}/forms/label/index.scss +2 -2
- package/src/components/forms/label/label-visual.png +0 -0
- package/src/{04-components → components}/forms/label/label.docs.json +43 -6
- package/src/components/forms/number-input/index.scss +153 -0
- package/src/components/forms/number-input/number-input-visual.png +0 -0
- package/src/components/forms/number-input/number-input.api.json +74 -0
- package/src/components/forms/number-input/number-input.docs.json +262 -0
- package/src/components/forms/number-input/number-input.visual.spec.ts +14 -0
- package/src/components/forms/password-input/index.scss +138 -0
- package/src/components/forms/password-input/password-input-visual.png +0 -0
- package/src/components/forms/password-input/password-input.api.json +84 -0
- package/src/components/forms/password-input/password-input.docs.json +276 -0
- package/src/components/forms/password-input/password-input.visual.spec.ts +14 -0
- package/src/{04-components → components}/forms/radio/index.scss +11 -4
- package/src/{04-components → components}/forms/radio/radio.api.json +8 -4
- package/src/{04-components → components}/forms/radio/radio.docs.json +94 -12
- package/src/{04-components → components}/forms/radio-group/index.scss +3 -3
- package/src/{04-components → components}/forms/radio-group/radio-group.docs.json +1 -0
- package/src/{04-components → components}/forms/search-input/index.scss +2 -2
- package/src/components/forms/search-input/search-input-visual.png +0 -0
- package/src/{04-components → components}/forms/search-input/search-input.docs.json +1 -1
- package/src/{04-components → components}/forms/select/index.scss +9 -7
- package/src/components/forms/select/select-visual.png +0 -0
- package/src/{04-components → components}/forms/select/select.api.json +3 -3
- package/src/{04-components → components}/forms/select/select.docs.json +87 -18
- package/src/{04-components → components}/forms/slider/index.scss +3 -3
- package/src/{04-components → components}/forms/slider/slider.docs.json +3 -3
- package/src/{04-components → components}/forms/textarea/index.scss +6 -6
- package/src/{04-components → components}/forms/textarea/textarea.api.json +4 -4
- package/src/{04-components → components}/forms/textarea/textarea.docs.json +15 -9
- package/src/{04-components → components}/forms/toggle/index.scss +3 -3
- package/src/components/forms/toggle/toggle-visual.png +0 -0
- package/src/{04-components → components}/forms/toggle/toggle.api.json +5 -5
- package/src/components/forms/toggle/toggle.docs.json +229 -0
- package/src/{04-components → components}/index.scss +6 -2
- package/src/{04-components → components}/navigation/breadcrumb/breadcrumb.api.json +1 -1
- package/src/components/navigation/breadcrumb/breadcrumb.docs.json +170 -0
- package/src/{04-components → components}/navigation/breadcrumb/index.scss +1 -1
- package/src/components/navigation/dropdown-menu/dropdown-menu-visual.png +0 -0
- package/src/components/navigation/dropdown-menu/dropdown-menu.api.json +37 -0
- package/src/components/navigation/dropdown-menu/dropdown-menu.docs.json +272 -0
- package/src/components/navigation/dropdown-menu/dropdown-menu.visual.spec.ts +14 -0
- package/src/components/navigation/dropdown-menu/index.scss +84 -0
- package/src/{04-components → components}/navigation/menu/index.scss +3 -3
- package/src/{04-components → components}/navigation/menu/menu.api.json +4 -4
- package/src/components/navigation/menu/menu.docs.json +326 -0
- package/src/{04-components → components}/navigation/nav/index.scss +2 -2
- package/src/{04-components → components}/navigation/pagination/index.scss +2 -2
- package/src/{04-components → components}/navigation/pagination/pagination.api.json +2 -2
- package/src/components/navigation/pagination/pagination.docs.json +483 -0
- package/src/{04-components → components}/navigation/tabs/index.scss +48 -4
- package/src/components/navigation/tabs/tabs-visual.png +0 -0
- package/src/{04-components → components}/navigation/tabs/tabs.api.json +16 -1
- package/src/components/navigation/tabs/tabs.docs.json +243 -0
- package/src/{04-components → components}/overlays/dialog/dialog.api.json +3 -3
- package/src/components/overlays/dialog/dialog.docs.json +200 -0
- package/src/{04-components → components}/overlays/dialog/index.scss +1 -1
- package/src/{04-components → components}/overlays/drawer/drawer.api.json +4 -4
- package/src/components/overlays/drawer/drawer.docs.json +282 -0
- package/src/{04-components → components}/overlays/drawer/index.scss +9 -2
- package/src/{04-components → components}/overlays/modal/index.scss +2 -2
- package/src/{04-components → components}/overlays/modal/modal.api.json +6 -6
- package/src/components/overlays/modal/modal.docs.json +163 -0
- package/src/{04-components → components}/overlays/overlay/index.scss +1 -1
- package/src/components/overlays/overlay/overlay.docs.json +138 -0
- package/src/{04-components → components}/overlays/popover/index.scss +1 -1
- package/src/{04-components → components}/overlays/popover/popover.api.json +4 -4
- package/src/{04-components → components}/overlays/popover/popover.docs.json +47 -6
- package/src/{04-components → components}/overlays/tooltip/index.scss +5 -5
- package/src/{04-components → components}/overlays/tooltip/tooltip.api.json +4 -4
- package/src/{04-components → components}/overlays/tooltip/tooltip.docs.json +46 -6
- package/src/{04-components → components}/typography/blockquote/index.scss +1 -1
- package/src/components/typography/code/code-visual.png +0 -0
- package/src/{04-components → components}/typography/code/code.docs.json +23 -3
- package/src/{04-components → components}/typography/code/index.scss +1 -1
- package/src/{04-components → components}/typography/code-block/code-block.docs.json +1 -0
- package/src/{04-components → components}/typography/code-block/index.scss +1 -1
- package/src/{04-components → components}/typography/heading/heading.docs.json +28 -6
- package/src/{04-components → components}/typography/heading/index.scss +1 -1
- package/src/{04-components → components}/typography/kbd/index.scss +1 -1
- package/src/{04-components → components}/typography/kbd/kbd.docs.json +1 -1
- package/src/{04-components → components}/typography/link/index.scss +1 -1
- package/src/{04-components → components}/typography/link/link.docs.json +51 -6
- package/src/{04-components → components}/typography/list/index.scss +1 -1
- package/src/{04-components → components}/typography/list/list.api.json +1 -1
- package/src/{04-components → components}/typography/list/list.docs.json +2 -2
- package/src/{04-components → components}/typography/mark/index.scss +1 -1
- package/src/{00-config → config}/tokens/_variables.scss +4 -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/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/{99-debug → debug}/grid-overlay.scss +3 -3
- package/src/index.scss +17 -20
- package/src/layout/app-shell/app-shell-visual.png +0 -0
- package/src/{03-layout → layout}/app-shell/app-shell.docs.json +10 -10
- package/src/layout/app-shell/app-shell.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.docs.json +2 -2
- package/src/layout/box/box-visual.png +0 -0
- package/src/layout/box/box.docs.json +93 -0
- package/src/layout/box/box.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/box/index.scss +1 -1
- package/src/layout/center/center-visual.png +0 -0
- package/src/layout/center/center.visual.spec.ts +13 -0
- package/src/layout/column/column-visual.png +0 -0
- package/src/{03-layout/stack/stack.api.json → layout/column/column.api.json} +1 -1
- 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 +13 -0
- package/src/layout/container/index.scss +17 -0
- package/src/{03-layout → layout}/content/index.scss +1 -1
- package/src/layout/grid/grid-visual.png +0 -0
- package/src/layout/grid/grid.visual.spec.ts +13 -0
- package/src/{03-layout → layout}/index.scss +2 -3
- package/src/{03-layout → layout}/main/index.scss +4 -4
- package/src/layout/row/index.scss +18 -0
- package/src/{03-layout/cluster/cluster.api.json → layout/row/row.api.json} +1 -1
- 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/{03-layout → layout}/sidebar/index.scss +6 -6
- package/src/{03-layout → layout}/sidebar/sidebar.docs.json +4 -4
- package/src/{03-layout → layout}/sidebar-nav/index.scss +15 -2
- package/src/layout/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/layout/sidebar-nav/sidebar-nav.docs.json +827 -0
- package/src/{03-layout → layout}/topbar/index.scss +1 -1
- 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/box/box.docs.json +0 -57
- package/src/03-layout/cluster/index.scss +0 -18
- package/src/03-layout/container/index.scss +0 -17
- 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/sidebar-nav/sidebar-nav-all.png +0 -0
- package/src/03-layout/sidebar-nav/sidebar-nav.docs.json +0 -100
- package/src/03-layout/stack/index.scss +0 -13
- 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/data-display/badge/badge-visual.png +0 -0
- package/src/04-components/data-display/card/card-visual.png +0 -0
- 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/status/status.docs.json +0 -60
- 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/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.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.docs.json +0 -62
- package/src/04-components/feedback/toast/toast.docs.json +0 -99
- package/src/04-components/forms/field/field.docs.json +0 -59
- package/src/04-components/forms/label/label-visual.png +0 -0
- package/src/04-components/forms/search-input/search-input-visual.png +0 -0
- package/src/04-components/forms/select/select-visual.png +0 -0
- package/src/04-components/forms/toggle/toggle-visual.png +0 -0
- 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/navigation/breadcrumb/breadcrumb.docs.json +0 -59
- package/src/04-components/navigation/menu/menu.docs.json +0 -81
- package/src/04-components/navigation/pagination/pagination.docs.json +0 -88
- package/src/04-components/navigation/tabs/tabs-visual.png +0 -0
- package/src/04-components/navigation/tabs/tabs.docs.json +0 -61
- package/src/04-components/overlays/dialog/dialog.docs.json +0 -58
- package/src/04-components/overlays/drawer/drawer.docs.json +0 -78
- package/src/04-components/overlays/modal/modal.docs.json +0 -86
- package/src/04-components/overlays/overlay/overlay.docs.json +0 -63
- package/src/04-components/typography/code/code-visual.png +0 -0
- 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.api.json +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.api.json +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}/spacer/index.scss +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer-visual.png +0 -0
- /package/src/{04-components/layout → components/content}/spacer/spacer.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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.api.json +0 -0
- /package/src/{04-components → components}/forms/label/label.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.api.json +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.api.json +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.api.json +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/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.api.json +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.png +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.api.json +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.api.json +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.api.json +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.png +0 -0
- /package/src/{04-components → components}/typography/code-block/code-block.api.json +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.api.json +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.api.json +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.api.json +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.api.json +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/{00-config → config}/tokens/motion/index.scss +0 -0
- /package/src/{00-config → config}/tokens/zindex/index.scss +0 -0
- /package/src/{99-debug → debug}/index.scss +0 -0
- /package/src/{03-layout → layout}/app-shell/app-shell.api.json +0 -0
- /package/src/{03-layout → layout}/app-shell/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.api.json +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/aspect-ratio.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/aspect-ratio/index.scss +0 -0
- /package/src/{03-layout → layout}/box/box.api.json +0 -0
- /package/src/{03-layout → layout}/center/center.api.json +0 -0
- /package/src/{03-layout → layout}/center/center.docs.json +0 -0
- /package/src/{03-layout → layout}/center/index.scss +0 -0
- /package/src/{03-layout → layout}/container/container.api.json +0 -0
- /package/src/{03-layout → layout}/content/content-visual.png +0 -0
- /package/src/{03-layout → layout}/content/content.api.json +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.png +0 -0
- /package/src/{03-layout → layout}/footer/footer.api.json +0 -0
- /package/src/{03-layout → layout}/footer/footer.docs.json +0 -0
- /package/src/{03-layout → layout}/footer/footer.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/footer/index.scss +0 -0
- /package/src/{03-layout → layout}/grid/grid.api.json +0 -0
- /package/src/{03-layout → layout}/grid/grid.docs.json +0 -0
- /package/src/{03-layout → layout}/grid/index.scss +0 -0
- /package/src/{03-layout → layout}/main/main.api.json +0 -0
- /package/src/{03-layout → layout}/nav-rail/index.scss +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail-visual.png +0 -0
- /package/src/{03-layout → layout}/nav-rail/nav-rail.api.json +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/index.scss +0 -0
- /package/src/{03-layout → layout}/page-header/page-header-visual.png +0 -0
- /package/src/{03-layout → layout}/page-header/page-header.api.json +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.api.json +0 -0
- /package/src/{03-layout → layout}/sidebar/sidebar.visual.spec.ts +0 -0
- /package/src/{03-layout → layout}/sidebar-nav/sidebar-nav.api.json +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.api.json +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
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"default": "var(--ui-color-primary)"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"name": "--ui-select-
|
|
48
|
+
"name": "--ui-select-color",
|
|
49
49
|
"default": "var(--ui-color-text)"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "--ui-select-height-sm",
|
|
57
|
-
"default": "calc(
|
|
57
|
+
"default": "calc(var(--ui-row) * 1.5"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "--ui-select-font-size-sm",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "--ui-select-height-lg",
|
|
65
|
-
"default": "calc(
|
|
65
|
+
"default": "calc(var(--ui-row) * 2.5"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "--ui-select-padding-x-lg",
|
|
@@ -9,7 +9,22 @@
|
|
|
9
9
|
"title": "Default",
|
|
10
10
|
"examples": [
|
|
11
11
|
{
|
|
12
|
-
"
|
|
12
|
+
"items": [
|
|
13
|
+
{
|
|
14
|
+
"tag": "select",
|
|
15
|
+
"class": "ui-select",
|
|
16
|
+
"children": [
|
|
17
|
+
{
|
|
18
|
+
"tag": "option",
|
|
19
|
+
"text": "Choose option...",
|
|
20
|
+
"attrs": { "value": "", "disabled": "", "selected": "" }
|
|
21
|
+
},
|
|
22
|
+
{ "tag": "option", "text": "Option 1", "attrs": { "value": "1" } },
|
|
23
|
+
{ "tag": "option", "text": "Option 2", "attrs": { "value": "2" } },
|
|
24
|
+
{ "tag": "option", "text": "Option 3", "attrs": { "value": "3" } }
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
13
28
|
}
|
|
14
29
|
]
|
|
15
30
|
},
|
|
@@ -17,22 +32,31 @@
|
|
|
17
32
|
"title": "Sizes",
|
|
18
33
|
"examples": [
|
|
19
34
|
{
|
|
20
|
-
"layout": "
|
|
35
|
+
"layout": "column",
|
|
21
36
|
"items": [
|
|
22
37
|
{
|
|
23
38
|
"tag": "select",
|
|
24
39
|
"class": "ui-select ui-select--sm",
|
|
25
|
-
"
|
|
40
|
+
"children": [
|
|
41
|
+
{ "tag": "option", "text": "Small" },
|
|
42
|
+
{ "tag": "option", "text": "Option 2" }
|
|
43
|
+
]
|
|
26
44
|
},
|
|
27
45
|
{
|
|
28
46
|
"tag": "select",
|
|
29
47
|
"class": "ui-select",
|
|
30
|
-
"
|
|
48
|
+
"children": [
|
|
49
|
+
{ "tag": "option", "text": "Default" },
|
|
50
|
+
{ "tag": "option", "text": "Option 2" }
|
|
51
|
+
]
|
|
31
52
|
},
|
|
32
53
|
{
|
|
33
54
|
"tag": "select",
|
|
34
55
|
"class": "ui-select ui-select--lg",
|
|
35
|
-
"
|
|
56
|
+
"children": [
|
|
57
|
+
{ "tag": "option", "text": "Large" },
|
|
58
|
+
{ "tag": "option", "text": "Option 2" }
|
|
59
|
+
]
|
|
36
60
|
}
|
|
37
61
|
],
|
|
38
62
|
"code": "<select class=\"ui-select ui-select--sm\">...</select>\n<select class=\"ui-select\">...</select>\n<select class=\"ui-select ui-select--lg\">...</select>"
|
|
@@ -43,18 +67,22 @@
|
|
|
43
67
|
"title": "Variants",
|
|
44
68
|
"examples": [
|
|
45
69
|
{
|
|
46
|
-
"layout": "
|
|
70
|
+
"layout": "column",
|
|
47
71
|
"items": [
|
|
48
|
-
{
|
|
72
|
+
{
|
|
73
|
+
"tag": "select",
|
|
74
|
+
"class": "ui-select",
|
|
75
|
+
"children": [{ "tag": "option", "text": "Outline (default)" }]
|
|
76
|
+
},
|
|
49
77
|
{
|
|
50
78
|
"tag": "select",
|
|
51
79
|
"class": "ui-select ui-select--filled",
|
|
52
|
-
"
|
|
80
|
+
"children": [{ "tag": "option", "text": "Filled" }]
|
|
53
81
|
},
|
|
54
82
|
{
|
|
55
83
|
"tag": "select",
|
|
56
84
|
"class": "ui-select ui-select--ghost",
|
|
57
|
-
"
|
|
85
|
+
"children": [{ "tag": "option", "text": "Ghost" }]
|
|
58
86
|
}
|
|
59
87
|
],
|
|
60
88
|
"code": "<select class=\"ui-select\">...</select>\n<select class=\"ui-select ui-select--filled\">...</select>\n<select class=\"ui-select ui-select--ghost\">...</select>"
|
|
@@ -65,23 +93,23 @@
|
|
|
65
93
|
"title": "States",
|
|
66
94
|
"examples": [
|
|
67
95
|
{
|
|
68
|
-
"layout": "
|
|
96
|
+
"layout": "column",
|
|
69
97
|
"items": [
|
|
70
98
|
{
|
|
71
99
|
"tag": "select",
|
|
72
100
|
"class": "ui-select ui-select--error",
|
|
73
|
-
"
|
|
101
|
+
"children": [{ "tag": "option", "text": "Error state" }]
|
|
74
102
|
},
|
|
75
103
|
{
|
|
76
104
|
"tag": "select",
|
|
77
105
|
"class": "ui-select ui-select--success",
|
|
78
|
-
"
|
|
106
|
+
"children": [{ "tag": "option", "text": "Success state" }]
|
|
79
107
|
},
|
|
80
108
|
{
|
|
81
109
|
"tag": "select",
|
|
82
110
|
"class": "ui-select",
|
|
83
111
|
"attrs": { "disabled": "" },
|
|
84
|
-
"
|
|
112
|
+
"children": [{ "tag": "option", "text": "Disabled" }]
|
|
85
113
|
}
|
|
86
114
|
],
|
|
87
115
|
"code": "<select class=\"ui-select ui-select--error\">...</select>\n<select class=\"ui-select ui-select--success\">...</select>\n<select class=\"ui-select\" disabled>...</select>"
|
|
@@ -92,7 +120,16 @@
|
|
|
92
120
|
"title": "Full Width",
|
|
93
121
|
"examples": [
|
|
94
122
|
{
|
|
95
|
-
"
|
|
123
|
+
"items": [
|
|
124
|
+
{
|
|
125
|
+
"tag": "select",
|
|
126
|
+
"class": "ui-select ui-select--block",
|
|
127
|
+
"children": [
|
|
128
|
+
{ "tag": "option", "text": "Full width select...", "attrs": { "value": "" } },
|
|
129
|
+
{ "tag": "option", "text": "Option 1", "attrs": { "value": "1" } }
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
]
|
|
96
133
|
}
|
|
97
134
|
]
|
|
98
135
|
},
|
|
@@ -100,7 +137,35 @@
|
|
|
100
137
|
"title": "With Option Groups",
|
|
101
138
|
"examples": [
|
|
102
139
|
{
|
|
103
|
-
"
|
|
140
|
+
"items": [
|
|
141
|
+
{
|
|
142
|
+
"tag": "select",
|
|
143
|
+
"class": "ui-select ui-select--block",
|
|
144
|
+
"children": [
|
|
145
|
+
{
|
|
146
|
+
"tag": "option",
|
|
147
|
+
"text": "Choose a fruit...",
|
|
148
|
+
"attrs": { "value": "", "disabled": "", "selected": "" }
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"tag": "optgroup",
|
|
152
|
+
"attrs": { "label": "Citrus" },
|
|
153
|
+
"children": [
|
|
154
|
+
{ "tag": "option", "text": "Orange", "attrs": { "value": "orange" } },
|
|
155
|
+
{ "tag": "option", "text": "Lemon", "attrs": { "value": "lemon" } }
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"tag": "optgroup",
|
|
160
|
+
"attrs": { "label": "Berries" },
|
|
161
|
+
"children": [
|
|
162
|
+
{ "tag": "option", "text": "Strawberry", "attrs": { "value": "strawberry" } },
|
|
163
|
+
{ "tag": "option", "text": "Blueberry", "attrs": { "value": "blueberry" } }
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
],
|
|
104
169
|
"code": "<select class=\"ui-select\">\n <optgroup label=\"Citrus\">\n <option>Orange</option>\n <option>Lemon</option>\n </optgroup>\n <optgroup label=\"Berries\">\n <option>Strawberry</option>\n </optgroup>\n</select>"
|
|
105
170
|
}
|
|
106
171
|
]
|
|
@@ -114,12 +179,12 @@
|
|
|
114
179
|
},
|
|
115
180
|
{
|
|
116
181
|
"token": "--ui-select-height-sm",
|
|
117
|
-
"default": "calc(var(--row) * 1.5)",
|
|
182
|
+
"default": "calc(var(--ui-row) * 1.5)",
|
|
118
183
|
"description": "Small height"
|
|
119
184
|
},
|
|
120
185
|
{
|
|
121
186
|
"token": "--ui-select-height-lg",
|
|
122
|
-
"default": "calc(var(--row) * 2.5)",
|
|
187
|
+
"default": "calc(var(--ui-row) * 2.5)",
|
|
123
188
|
"description": "Large height"
|
|
124
189
|
},
|
|
125
190
|
{
|
|
@@ -152,7 +217,11 @@
|
|
|
152
217
|
"default": "var(--ui-color-primary)",
|
|
153
218
|
"description": "Focus border color"
|
|
154
219
|
},
|
|
155
|
-
{
|
|
220
|
+
{
|
|
221
|
+
"token": "--ui-select-color",
|
|
222
|
+
"default": "var(--ui-color-text)",
|
|
223
|
+
"description": "Text color"
|
|
224
|
+
},
|
|
156
225
|
{
|
|
157
226
|
"token": "--ui-select-icon-color",
|
|
158
227
|
"default": "var(--ui-color-text-muted)",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../../../
|
|
1
|
+
@use '../../../config/tokens/variables' as t;
|
|
2
2
|
|
|
3
3
|
// @component slider
|
|
4
4
|
// @element input[type="range"]
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
// Focus state
|
|
124
124
|
&:focus-visible {
|
|
125
|
-
outline:
|
|
125
|
+
outline: var(--ui-border-width-md, #{t.$border-width-md}) solid transparent;
|
|
126
126
|
|
|
127
127
|
&::-webkit-slider-thumb {
|
|
128
128
|
box-shadow: 0 0 0 var(--ui-border-width-md, #{t.$border-width-md}) var(--_focus-ring);
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
// Disabled state
|
|
148
148
|
&:disabled {
|
|
149
|
-
opacity: 0.5;
|
|
149
|
+
opacity: var(--ui-opacity-disabled, 0.5);
|
|
150
150
|
cursor: not-allowed;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"title": "Sizes",
|
|
25
25
|
"examples": [
|
|
26
26
|
{
|
|
27
|
-
"layout": "
|
|
27
|
+
"layout": "column",
|
|
28
28
|
"items": [
|
|
29
29
|
{
|
|
30
30
|
"tag": "input",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"title": "Colors",
|
|
51
51
|
"examples": [
|
|
52
52
|
{
|
|
53
|
-
"layout": "
|
|
53
|
+
"layout": "column",
|
|
54
54
|
"items": [
|
|
55
55
|
{
|
|
56
56
|
"tag": "input",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"title": "Disabled",
|
|
82
82
|
"examples": [
|
|
83
83
|
{
|
|
84
|
-
"layout": "
|
|
84
|
+
"layout": "column",
|
|
85
85
|
"items": [
|
|
86
86
|
{
|
|
87
87
|
"tag": "input",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../../../
|
|
1
|
+
@use '../../../config/tokens/variables' as t;
|
|
2
2
|
|
|
3
3
|
// @component textarea
|
|
4
4
|
// @element textarea
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--_bg: var(--ui-textarea-bg, var(--ui-color-bg, #{t.$color-bg}));
|
|
14
14
|
--_border-color: var(--ui-textarea-border-color, var(--ui-color-border-strong, #{t.$color-border-strong}));
|
|
15
15
|
--_border-color-focus: var(--ui-textarea-border-color-focus, var(--ui-color-primary, #{t.$color-primary}));
|
|
16
|
-
--
|
|
16
|
+
--_color: var(--ui-textarea-color, var(--ui-color-text, #{t.$color-text}));
|
|
17
17
|
--_placeholder: var(--ui-textarea-placeholder, var(--ui-color-text-muted, #{t.$color-text-muted}));
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-family: inherit;
|
|
67
67
|
font-size: var(--_font-size);
|
|
68
68
|
line-height: var(--ui-row-1, #{t.$row});
|
|
69
|
-
color: var(--
|
|
69
|
+
color: var(--_color);
|
|
70
70
|
|
|
71
71
|
background: var(--_bg);
|
|
72
72
|
border: none;
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
color: var(--_placeholder);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
&:hover:not(:disabled, :focus) {
|
|
88
|
+
&:hover:not(:disabled, :focus-visible) {
|
|
89
89
|
outline-color: var(--ui-color-border-strong, #{t.$color-border-strong});
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
&:focus,
|
|
92
|
+
&:focus-visible,
|
|
93
93
|
&--focus {
|
|
94
94
|
outline-color: var(--_border-color-focus);
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
&:disabled,
|
|
100
100
|
&--disabled {
|
|
101
|
-
opacity: 0.5;
|
|
101
|
+
opacity: var(--ui-opacity-disabled, 0.5);
|
|
102
102
|
cursor: not-allowed;
|
|
103
103
|
resize: none;
|
|
104
104
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"cssVars": [
|
|
19
19
|
{
|
|
20
20
|
"name": "--ui-textarea-min-height",
|
|
21
|
-
"default": "calc(
|
|
21
|
+
"default": "calc(var(--ui-row) * 4"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "--ui-textarea-padding-x",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"default": "var(--ui-color-primary)"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"name": "--ui-textarea-
|
|
52
|
+
"name": "--ui-textarea-color",
|
|
53
53
|
"default": "var(--ui-color-text)"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "--ui-textarea-min-height-sm",
|
|
61
|
-
"default": "calc(
|
|
61
|
+
"default": "calc(var(--ui-row) * 3"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "--ui-textarea-font-size-sm",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "--ui-textarea-min-height-lg",
|
|
69
|
-
"default": "calc(
|
|
69
|
+
"default": "calc(var(--ui-row) * 6"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"name": "--ui-textarea-padding-x-lg",
|
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
"title": "Default",
|
|
10
10
|
"examples": [
|
|
11
11
|
{
|
|
12
|
-
"
|
|
12
|
+
"items": [
|
|
13
|
+
{
|
|
14
|
+
"tag": "textarea",
|
|
15
|
+
"class": "ui-textarea",
|
|
16
|
+
"attrs": { "placeholder": "Enter your message..." }
|
|
17
|
+
}
|
|
18
|
+
]
|
|
13
19
|
}
|
|
14
20
|
]
|
|
15
21
|
},
|
|
@@ -17,7 +23,7 @@
|
|
|
17
23
|
"title": "Sizes",
|
|
18
24
|
"examples": [
|
|
19
25
|
{
|
|
20
|
-
"layout": "
|
|
26
|
+
"layout": "column",
|
|
21
27
|
"items": [
|
|
22
28
|
{
|
|
23
29
|
"tag": "textarea",
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
"title": "Variants",
|
|
44
50
|
"examples": [
|
|
45
51
|
{
|
|
46
|
-
"layout": "
|
|
52
|
+
"layout": "column",
|
|
47
53
|
"items": [
|
|
48
54
|
{
|
|
49
55
|
"tag": "textarea",
|
|
@@ -69,7 +75,7 @@
|
|
|
69
75
|
"title": "States",
|
|
70
76
|
"examples": [
|
|
71
77
|
{
|
|
72
|
-
"layout": "
|
|
78
|
+
"layout": "column",
|
|
73
79
|
"items": [
|
|
74
80
|
{
|
|
75
81
|
"tag": "textarea",
|
|
@@ -103,7 +109,7 @@
|
|
|
103
109
|
"api": "./textarea.api.json",
|
|
104
110
|
"examples": [
|
|
105
111
|
{
|
|
106
|
-
"layout": "
|
|
112
|
+
"layout": "column",
|
|
107
113
|
"items": [
|
|
108
114
|
{
|
|
109
115
|
"tag": "textarea",
|
|
@@ -129,17 +135,17 @@
|
|
|
129
135
|
"customization": [
|
|
130
136
|
{
|
|
131
137
|
"token": "--ui-textarea-min-height",
|
|
132
|
-
"default": "calc(var(--row) * 4)",
|
|
138
|
+
"default": "calc(var(--ui-row) * 4)",
|
|
133
139
|
"description": "Default minimum height"
|
|
134
140
|
},
|
|
135
141
|
{
|
|
136
142
|
"token": "--ui-textarea-min-height-sm",
|
|
137
|
-
"default": "calc(var(--row) * 3)",
|
|
143
|
+
"default": "calc(var(--ui-row) * 3)",
|
|
138
144
|
"description": "Small minimum height"
|
|
139
145
|
},
|
|
140
146
|
{
|
|
141
147
|
"token": "--ui-textarea-min-height-lg",
|
|
142
|
-
"default": "calc(var(--row) * 6)",
|
|
148
|
+
"default": "calc(var(--ui-row) * 6)",
|
|
143
149
|
"description": "Large minimum height"
|
|
144
150
|
},
|
|
145
151
|
{
|
|
@@ -178,7 +184,7 @@
|
|
|
178
184
|
"description": "Focus border color"
|
|
179
185
|
},
|
|
180
186
|
{
|
|
181
|
-
"token": "--ui-textarea-
|
|
187
|
+
"token": "--ui-textarea-color",
|
|
182
188
|
"default": "var(--ui-color-text)",
|
|
183
189
|
"description": "Text color"
|
|
184
190
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../../../
|
|
1
|
+
@use '../../../config/tokens/variables' as t;
|
|
2
2
|
|
|
3
3
|
// @component toggle
|
|
4
4
|
// @element div
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--_track-bg-checked: var(--ui-toggle-track-bg-checked, var(--ui-color-primary));
|
|
12
12
|
--_track-radius: var(--ui-toggle-track-radius, calc(#{t.$unit} * 1.5));
|
|
13
13
|
--_thumb-size: var(--ui-toggle-thumb-size, calc(#{t.$unit} * 2.5));
|
|
14
|
-
--_thumb-bg: var(--ui-toggle-thumb-bg,
|
|
14
|
+
--_thumb-bg: var(--ui-toggle-thumb-bg, var(--ui-color-bg, #{t.$color-bg}));
|
|
15
15
|
--_thumb-offset: var(--ui-toggle-thumb-offset, calc(#{t.$unit} / 4));
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
// Disabled state
|
|
108
108
|
.toggle__input:disabled ~ .toggle__track,
|
|
109
109
|
.toggle__input:disabled ~ .toggle__thumb {
|
|
110
|
-
opacity: 0.5;
|
|
110
|
+
opacity: var(--ui-opacity-disabled, 0.5);
|
|
111
111
|
cursor: not-allowed;
|
|
112
112
|
}
|
|
113
113
|
|
|
Binary file
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"cssVars": [
|
|
15
15
|
{
|
|
16
16
|
"name": "--ui-toggle-track-width",
|
|
17
|
-
"default": "calc(
|
|
17
|
+
"default": "calc(var(--ui-unit) * 5"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"name": "--ui-toggle-track-height",
|
|
21
|
-
"default": "calc(
|
|
21
|
+
"default": "calc(var(--ui-unit) * 3"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "--ui-toggle-track-bg",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "--ui-toggle-track-radius",
|
|
33
|
-
"default": "calc(
|
|
33
|
+
"default": "calc(var(--ui-unit) * 1.5"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "--ui-toggle-thumb-size",
|
|
37
|
-
"default": "calc(
|
|
37
|
+
"default": "calc(var(--ui-unit) * 2.5"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "--ui-toggle-thumb-bg",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "--ui-toggle-thumb-offset",
|
|
45
|
-
"default": "calc(
|
|
45
|
+
"default": "calc(var(--ui-unit) / 4"
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}
|