@buffercreations/levelsui 0.1.1 → 0.1.4
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/01. Elements/actions/controls/button/button.definition.json +38 -4
- package/01. Elements/actions/controls/button/docs/README.md +67 -0
- package/01. Elements/actions/controls/button/{api.json → docs/api.json } +14 -5
- package/01. Elements/actions/controls/button/examples/contexts/code.html +1 -3
- package/01. Elements/actions/controls/button/examples/contexts/preview.html +8 -2
- package/01. Elements/actions/controls/button/examples/icon-only/code.html +3 -0
- package/01. Elements/actions/controls/button/examples/icon-only/preview.html +17 -0
- package/01. Elements/actions/controls/button/examples/icons/code.html +2 -4
- package/01. Elements/actions/controls/button/examples/icons/preview.html +12 -3
- package/01. Elements/actions/controls/button/examples/index.json +9 -2
- package/01. Elements/actions/controls/button/examples/native-default/code.html +0 -8
- package/01. Elements/actions/controls/button/examples/native-default/preview.html +0 -4
- package/01. Elements/actions/controls/button/examples/states/code.html +1 -1
- package/01. Elements/actions/controls/button/examples/states/preview.html +2 -2
- package/01. Elements/actions/controls/button/src/button.scss +215 -0
- package/01. Elements/actions/controls/button-lumen-shift/button-lumen-shift.definition.json +95 -0
- package/01. Elements/actions/controls/button-lumen-shift/docs/README.md +85 -0
- package/01. Elements/actions/controls/button-lumen-shift/docs/api.json +134 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/basic/code.html +3 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/basic/preview.html +3 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/contexts/code.html +1 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/contexts/preview.html +9 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/icon-only/code.html +3 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/icon-only/preview.html +14 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/icons/code.html +4 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/icons/preview.html +14 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/index.json +66 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/links/code.html +3 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/links/preview.html +3 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/sizes/code.html +1 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/sizes/preview.html +6 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/states/code.html +1 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/states/preview.html +4 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/treatments/code.html +1 -0
- package/01. Elements/actions/controls/button-lumen-shift/examples/treatments/preview.html +5 -0
- package/01. Elements/actions/controls/button-lumen-shift/src/button-lumen-shift.scss +543 -0
- package/01. Elements/feedback/tooltip/docs/README.md +49 -0
- package/01. Elements/feedback/tooltip/docs/api.json +78 -0
- package/01. Elements/feedback/tooltip/examples/arrow/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/arrow/preview.html +4 -0
- package/01. Elements/feedback/tooltip/examples/comfortable/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/comfortable/preview.html +4 -0
- package/01. Elements/feedback/tooltip/examples/default/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/default/preview.html +4 -0
- package/01. Elements/feedback/tooltip/examples/delays/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/delays/preview.html +4 -0
- package/01. Elements/feedback/tooltip/examples/disabled/code.html +6 -0
- package/01. Elements/feedback/tooltip/examples/disabled/preview.html +6 -0
- package/01. Elements/feedback/tooltip/examples/index.json +66 -0
- package/01. Elements/feedback/tooltip/examples/multiple/code.html +8 -0
- package/01. Elements/feedback/tooltip/examples/multiple/preview.html +8 -0
- package/01. Elements/feedback/tooltip/examples/shortcut/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/shortcut/preview.html +4 -0
- package/01. Elements/feedback/tooltip/examples/sides/code.html +4 -0
- package/01. Elements/feedback/tooltip/examples/sides/preview.html +16 -0
- package/01. Elements/feedback/tooltip/src/tooltip.js +233 -0
- package/01. Elements/feedback/tooltip/src/tooltip.scss +117 -0
- package/01. Elements/feedback/tooltip/tooltip.definition.json +42 -0
- package/01. Elements/forms/selection/checkbox/checkbox.definition.json +65 -0
- package/01. Elements/forms/selection/checkbox/docs/README.md +46 -0
- package/01. Elements/forms/selection/checkbox/docs/api.json +102 -0
- package/01. Elements/forms/selection/checkbox/examples/basic/code.html +7 -0
- package/01. Elements/forms/selection/checkbox/examples/basic/preview.html +4 -0
- package/01. Elements/forms/selection/checkbox/examples/description/code.html +7 -0
- package/01. Elements/forms/selection/checkbox/examples/description/preview.html +7 -0
- package/01. Elements/forms/selection/checkbox/examples/group/code.html +9 -0
- package/01. Elements/forms/selection/checkbox/examples/group/preview.html +6 -0
- package/01. Elements/forms/selection/checkbox/examples/index.json +44 -0
- package/01. Elements/forms/selection/checkbox/examples/sizes/code.html +6 -0
- package/01. Elements/forms/selection/checkbox/examples/sizes/preview.html +5 -0
- package/01. Elements/forms/selection/checkbox/examples/states/code.html +6 -0
- package/01. Elements/forms/selection/checkbox/examples/states/preview.html +7 -0
- package/01. Elements/forms/selection/checkbox/examples/table/code.html +1 -0
- package/01. Elements/forms/selection/checkbox/examples/table/preview.html +8 -0
- package/01. Elements/forms/selection/checkbox/src/checkbox.scss +157 -0
- package/01. Elements/forms/selection/select/docs/README.md +37 -0
- package/01. Elements/forms/selection/select/docs/api.json +105 -0
- package/01. Elements/forms/selection/select/examples/default/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/default/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/disabled/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/disabled/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/index.json +74 -0
- package/01. Elements/forms/selection/select/examples/invalid/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/invalid/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/leading-avatar/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/leading-avatar/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/leading-icon/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/leading-icon/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/native/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/native/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/search/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/search/preview.html +12 -0
- package/01. Elements/forms/selection/select/examples/sizes/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/sizes/preview.html +36 -0
- package/01. Elements/forms/selection/select/examples/status-dot/code.html +12 -0
- package/01. Elements/forms/selection/select/examples/status-dot/preview.html +12 -0
- package/01. Elements/forms/selection/select/select.definition.json +69 -0
- package/01. Elements/forms/selection/select/src/select.js +477 -0
- package/01. Elements/forms/selection/select/src/select.scss +312 -0
- package/01. Elements/media/identity/avatar/avatar.definition.json +48 -5
- package/01. Elements/media/identity/avatar/docs/README.md +61 -0
- package/01. Elements/media/identity/avatar/docs/api.json +96 -0
- package/01. Elements/media/identity/avatar/examples/badge/code.html +7 -0
- package/01. Elements/media/identity/avatar/examples/badge/preview.html +7 -0
- package/01. Elements/media/identity/avatar/examples/badge-icon/code.html +7 -0
- package/01. Elements/media/identity/avatar/examples/badge-icon/preview.html +7 -0
- package/01. Elements/media/identity/avatar/examples/basic/code.html +6 -0
- package/01. Elements/media/identity/avatar/examples/basic/preview.html +6 -0
- package/01. Elements/media/identity/avatar/examples/dropdown/code.html +8 -0
- package/01. Elements/media/identity/avatar/examples/dropdown/preview.html +6 -0
- package/01. Elements/media/identity/avatar/examples/fallback/code.html +5 -0
- package/01. Elements/media/identity/avatar/examples/fallback/preview.html +5 -0
- package/01. Elements/media/identity/avatar/examples/index.json +68 -23
- package/01. Elements/media/identity/avatar/examples/notification-count/code.html +6 -0
- package/01. Elements/media/identity/avatar/examples/notification-count/preview.html +7 -0
- package/01. Elements/media/identity/avatar/examples/notification-dot/code.html +6 -0
- package/01. Elements/media/identity/avatar/examples/notification-dot/preview.html +7 -0
- package/01. Elements/media/identity/avatar/examples/sizes/code.html +2 -2
- package/01. Elements/media/identity/avatar/examples/sizes/preview.html +19 -26
- package/01. Elements/media/identity/avatar/examples/square/code.html +5 -0
- package/01. Elements/media/identity/avatar/examples/square/preview.html +5 -0
- package/01. Elements/media/identity/avatar/examples/status-contexts/code.html +6 -0
- package/01. Elements/media/identity/avatar/examples/status-contexts/preview.html +13 -0
- package/01. Elements/media/identity/avatar/src/avatar.js +42 -0
- package/01. Elements/media/identity/avatar/src/avatar.scss +172 -0
- package/01. Elements/navigation/items/navigation-item/docs/README.md +52 -0
- package/01. Elements/navigation/items/navigation-item/docs/api.json +84 -0
- package/01. Elements/navigation/items/navigation-item/examples/animated-collapse/code.html +9 -0
- package/01. Elements/navigation/items/navigation-item/examples/animated-collapse/preview.html +18 -0
- package/01. Elements/navigation/items/navigation-item/examples/collapsible/code.html +9 -0
- package/01. Elements/navigation/items/navigation-item/examples/collapsible/preview.html +18 -0
- package/01. Elements/navigation/items/navigation-item/examples/icon-label/code.html +6 -0
- package/01. Elements/navigation/items/navigation-item/examples/icon-label/preview.html +1 -0
- package/01. Elements/navigation/items/navigation-item/examples/icon-only/code.html +7 -0
- package/01. Elements/navigation/items/navigation-item/examples/icon-only/preview.html +1 -0
- package/01. Elements/navigation/items/navigation-item/examples/index.json +45 -0
- package/01. Elements/navigation/items/navigation-item/examples/label-only/code.html +3 -0
- package/01. Elements/navigation/items/navigation-item/examples/label-only/preview.html +1 -0
- package/01. Elements/navigation/items/navigation-item/examples/states/code.html +9 -0
- package/01. Elements/navigation/items/navigation-item/examples/states/preview.html +17 -0
- package/01. Elements/navigation/items/navigation-item/navigation-item.definition.json +40 -0
- package/01. Elements/navigation/items/navigation-item/src/navigation-item.scss +185 -0
- package/01. Elements/status/indicators/badge/badge.definition.json +55 -0
- package/01. Elements/status/indicators/badge/docs/README.md +40 -0
- package/01. Elements/status/indicators/badge/docs/api.json +112 -0
- package/01. Elements/status/indicators/badge/examples/content/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/content/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/contexts/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/contexts/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/icons/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/icons/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/index.json +58 -0
- package/01. Elements/status/indicators/badge/examples/links/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/links/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/loading/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/loading/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/sizes/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/sizes/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/status/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/status/preview.html +3 -0
- package/01. Elements/status/indicators/badge/examples/treatments/code.html +1 -0
- package/01. Elements/status/indicators/badge/examples/treatments/preview.html +3 -0
- package/01. Elements/status/indicators/badge/src/badge.scss +109 -0
- package/02. Layouts/REFINEMENT-REVIEW.md +82 -0
- package/02. Layouts/UTILITY-RECIPES.md +97 -9
- package/02. Layouts/application/app-shell/app-shell.definition.json +7 -6
- package/02. Layouts/application/app-shell/docs/README.md +64 -0
- package/02. Layouts/application/app-shell/docs/api.json +125 -0
- package/02. Layouts/application/app-shell/examples/complete/code.html +19 -0
- package/02. Layouts/application/app-shell/examples/complete/preview.html +28 -0
- package/02. Layouts/application/app-shell/examples/dual/code.html +13 -0
- package/02. Layouts/application/app-shell/examples/dual/preview.html +26 -0
- package/02. Layouts/application/app-shell/examples/header-main/code.html +10 -0
- package/02. Layouts/application/app-shell/examples/header-main/preview.html +19 -0
- package/02. Layouts/application/app-shell/examples/index.json +51 -15
- package/02. Layouts/application/app-shell/examples/main-only/code.html +7 -0
- package/02. Layouts/application/app-shell/examples/main-only/preview.html +18 -0
- package/02. Layouts/application/app-shell/examples/right/code.html +16 -0
- package/02. Layouts/application/app-shell/examples/right/preview.html +25 -0
- package/02. Layouts/application/app-shell/examples/sizes/code.html +16 -0
- package/02. Layouts/application/app-shell/examples/sizes/preview.html +27 -0
- package/02. Layouts/application/app-shell/examples/standard/code.html +13 -0
- package/02. Layouts/application/app-shell/examples/standard/preview.html +22 -0
- package/02. Layouts/application/app-shell/examples/sticky/code.html +16 -0
- package/02. Layouts/application/app-shell/examples/sticky/preview.html +23 -0
- package/02. Layouts/application/app-shell/src/app-shell.scss +119 -0
- package/02. Layouts/application/page-frame/docs/README.md +13 -0
- package/02. Layouts/application/page-frame/docs/api.json +33 -0
- package/02. Layouts/application/page-frame/examples/footer/code.html +8 -0
- package/02. Layouts/application/page-frame/examples/footer/preview.html +11 -0
- package/02. Layouts/application/page-frame/examples/header/code.html +8 -0
- package/02. Layouts/application/page-frame/examples/header/preview.html +11 -0
- package/02. Layouts/application/page-frame/examples/index.json +30 -0
- package/02. Layouts/application/page-frame/examples/main/code.html +5 -0
- package/02. Layouts/application/page-frame/examples/main/preview.html +10 -0
- package/02. Layouts/application/page-frame/examples/standard/code.html +11 -0
- package/02. Layouts/application/page-frame/examples/standard/preview.html +12 -0
- package/02. Layouts/application/page-frame/page-frame.definition.json +24 -0
- package/02. Layouts/application/page-frame/src/page-frame.html +11 -0
- package/02. Layouts/composition/cluster/cluster.definition.json +24 -0
- package/02. Layouts/composition/cluster/docs/README.md +45 -0
- package/02. Layouts/composition/cluster/docs/api.json +29 -0
- package/02. Layouts/composition/cluster/examples/basic/code.html +3 -0
- package/02. Layouts/composition/cluster/examples/basic/preview.html +6 -0
- package/02. Layouts/composition/cluster/examples/index.json +9 -0
- package/02. Layouts/composition/cluster/src/cluster.html +3 -0
- package/02. Layouts/composition/inline/docs/README.md +45 -0
- package/02. Layouts/composition/inline/docs/api.json +28 -0
- package/02. Layouts/composition/inline/examples/basic/code.html +3 -0
- package/02. Layouts/composition/inline/examples/basic/preview.html +4 -0
- package/02. Layouts/composition/inline/examples/index.json +16 -0
- package/02. Layouts/composition/inline/examples/scrolling/code.html +3 -0
- package/02. Layouts/composition/inline/examples/scrolling/preview.html +14 -0
- package/02. Layouts/composition/inline/inline.definition.json +24 -0
- package/02. Layouts/composition/inline/src/inline.html +3 -0
- package/02. Layouts/composition/overlap/docs/README.md +47 -0
- package/02. Layouts/composition/overlap/docs/api.json +59 -0
- package/02. Layouts/composition/overlap/examples/basic/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/basic/preview.html +9 -0
- package/02. Layouts/composition/overlap/examples/index.json +44 -0
- package/02. Layouts/composition/overlap/examples/size-2xs/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/size-2xs/preview.html +9 -0
- package/02. Layouts/composition/overlap/examples/size-lg/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/size-lg/preview.html +9 -0
- package/02. Layouts/composition/overlap/examples/size-sm/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/size-sm/preview.html +9 -0
- package/02. Layouts/composition/overlap/examples/size-xl/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/size-xl/preview.html +9 -0
- package/02. Layouts/composition/overlap/examples/size-xs/code.html +8 -0
- package/02. Layouts/composition/overlap/examples/size-xs/preview.html +9 -0
- package/02. Layouts/composition/overlap/overlap.definition.json +26 -0
- package/02. Layouts/composition/overlap/src/overlap.scss +51 -0
- package/02. Layouts/composition/sidebar/docs/README.md +84 -0
- package/02. Layouts/composition/sidebar/docs/api.json +70 -0
- package/02. Layouts/composition/sidebar/examples/basic/code.html +8 -0
- package/02. Layouts/composition/sidebar/examples/basic/preview.html +14 -0
- package/02. Layouts/composition/sidebar/examples/index.json +37 -0
- package/02. Layouts/composition/sidebar/examples/large/code.html +8 -0
- package/02. Layouts/composition/sidebar/examples/large/preview.html +14 -0
- package/02. Layouts/composition/sidebar/examples/size-2xs/code.html +8 -0
- package/02. Layouts/composition/sidebar/examples/size-2xs/preview.html +14 -0
- package/02. Layouts/composition/sidebar/examples/size-xs/code.html +8 -0
- package/02. Layouts/composition/sidebar/examples/size-xs/preview.html +14 -0
- package/02. Layouts/composition/sidebar/examples/small/code.html +8 -0
- package/02. Layouts/composition/sidebar/examples/small/preview.html +14 -0
- package/02. Layouts/{sections → composition}/sidebar/sidebar.definition.json +6 -5
- package/02. Layouts/composition/sidebar/src/sidebar.scss +38 -0
- package/02. Layouts/composition/split/docs/README.md +56 -0
- package/02. Layouts/composition/split/docs/api.json +51 -0
- package/02. Layouts/composition/split/examples/basic/code.html +8 -0
- package/02. Layouts/composition/split/examples/basic/preview.html +10 -0
- package/02. Layouts/composition/split/examples/index.json +23 -0
- package/02. Layouts/composition/split/examples/wide-end/code.html +8 -0
- package/02. Layouts/composition/split/examples/wide-end/preview.html +10 -0
- package/02. Layouts/composition/split/examples/wide-start/code.html +8 -0
- package/02. Layouts/composition/split/examples/wide-start/preview.html +10 -0
- package/02. Layouts/{content → composition}/split/split.definition.json +6 -5
- package/02. Layouts/composition/split/src/split.scss +29 -0
- package/02. Layouts/composition/stack/docs/README.md +48 -0
- package/02. Layouts/composition/stack/docs/api.json +61 -0
- package/02. Layouts/composition/stack/examples/basic/code.html +1 -2
- package/02. Layouts/composition/stack/examples/basic/preview.html +12 -2
- package/02. Layouts/composition/stack/examples/compact/code.html +3 -0
- package/02. Layouts/composition/stack/examples/compact/preview.html +14 -0
- package/02. Layouts/composition/stack/examples/index.json +44 -1
- package/02. Layouts/composition/stack/examples/size-2xs/code.html +3 -0
- package/02. Layouts/composition/stack/examples/size-2xs/preview.html +14 -0
- package/02. Layouts/composition/stack/examples/size-lg/code.html +3 -0
- package/02. Layouts/composition/stack/examples/size-lg/preview.html +14 -0
- package/02. Layouts/composition/stack/examples/size-xl/code.html +3 -0
- package/02. Layouts/composition/stack/examples/size-xl/preview.html +14 -0
- package/02. Layouts/composition/stack/examples/size-xs/code.html +3 -0
- package/02. Layouts/composition/stack/examples/size-xs/preview.html +14 -0
- package/02. Layouts/composition/stack/{stack.html → src/stack.html } +1 -2
- package/02. Layouts/composition/stack/stack.definition.json +22 -5
- package/02. Layouts/composition/switcher/docs/README.md +51 -0
- package/02. Layouts/composition/switcher/docs/api.json +37 -0
- package/02. Layouts/composition/switcher/examples/basic/code.html +3 -0
- package/02. Layouts/composition/switcher/examples/basic/preview.html +14 -0
- package/02. Layouts/composition/switcher/examples/index.json +9 -0
- package/02. Layouts/composition/switcher/src/switcher.scss +24 -0
- package/02. Layouts/composition/switcher/switcher.definition.json +26 -0
- package/02. Layouts/content/grid/docs/README.md +77 -0
- package/02. Layouts/content/grid/docs/api.json +67 -0
- package/02. Layouts/content/grid/examples/basic/code.html +2 -4
- package/02. Layouts/content/grid/examples/basic/preview.html +13 -4
- package/02. Layouts/content/grid/examples/dense/code.html +3 -0
- package/02. Layouts/content/grid/examples/dense/preview.html +18 -0
- package/02. Layouts/content/grid/examples/index.json +30 -2
- package/02. Layouts/content/grid/examples/large/code.html +3 -0
- package/02. Layouts/content/grid/examples/large/preview.html +14 -0
- package/02. Layouts/content/grid/examples/size-2xs/code.html +3 -0
- package/02. Layouts/content/grid/examples/size-2xs/preview.html +14 -0
- package/02. Layouts/content/grid/examples/size-xs/code.html +3 -0
- package/02. Layouts/content/grid/examples/size-xs/preview.html +14 -0
- package/02. Layouts/content/grid/grid.definition.json +5 -4
- package/02. Layouts/content/grid/src/grid.scss +32 -0
- package/02. Layouts/content/reel/docs/README.md +81 -0
- package/02. Layouts/content/reel/docs/api.json +67 -0
- package/02. Layouts/content/reel/examples/basic/code.html +3 -0
- package/02. Layouts/content/reel/examples/basic/preview.html +14 -0
- package/02. Layouts/content/reel/examples/index.json +30 -0
- package/02. Layouts/content/reel/examples/size-2xs/code.html +3 -0
- package/02. Layouts/content/reel/examples/size-2xs/preview.html +14 -0
- package/02. Layouts/content/reel/examples/size-xs/code.html +3 -0
- package/02. Layouts/content/reel/examples/size-xs/preview.html +14 -0
- package/02. Layouts/content/reel/examples/small/code.html +3 -0
- package/02. Layouts/content/reel/examples/small/preview.html +14 -0
- package/02. Layouts/content/reel/reel.definition.json +26 -0
- package/02. Layouts/content/reel/src/reel.scss +40 -0
- package/02. Layouts/primitives/center/center.definition.json +24 -0
- package/02. Layouts/primitives/center/docs/README.md +44 -0
- package/02. Layouts/primitives/center/docs/api.json +28 -0
- package/02. Layouts/primitives/center/examples/basic/code.html +3 -0
- package/02. Layouts/primitives/center/examples/basic/preview.html +4 -0
- package/02. Layouts/primitives/center/examples/index.json +16 -0
- package/02. Layouts/primitives/center/examples/minimum-height/code.html +3 -0
- package/02. Layouts/primitives/center/examples/minimum-height/preview.html +4 -0
- package/02. Layouts/primitives/center/src/center.html +3 -0
- package/02. Layouts/primitives/container/container.definition.json +24 -0
- package/02. Layouts/primitives/container/docs/README.md +44 -0
- package/02. Layouts/primitives/container/docs/api.json +28 -0
- package/02. Layouts/primitives/container/examples/basic/code.html +3 -0
- package/02. Layouts/primitives/container/examples/basic/preview.html +6 -0
- package/02. Layouts/primitives/container/examples/index.json +16 -0
- package/02. Layouts/primitives/container/examples/reading/code.html +3 -0
- package/02. Layouts/primitives/container/examples/reading/preview.html +4 -0
- package/02. Layouts/primitives/container/src/container.html +3 -0
- package/02. Layouts/primitives/frame/docs/README.md +45 -0
- package/02. Layouts/primitives/frame/docs/api.json +29 -0
- package/02. Layouts/primitives/frame/examples/basic/code.html +3 -0
- package/02. Layouts/primitives/frame/examples/basic/preview.html +6 -0
- package/02. Layouts/primitives/frame/examples/index.json +16 -0
- package/02. Layouts/primitives/frame/examples/square/code.html +3 -0
- package/02. Layouts/primitives/frame/examples/square/preview.html +6 -0
- package/02. Layouts/primitives/frame/frame.definition.json +24 -0
- package/02. Layouts/primitives/frame/src/frame.html +3 -0
- package/02. Layouts/sections/bleed/bleed.definition.json +24 -0
- package/02. Layouts/sections/bleed/docs/README.md +45 -0
- package/02. Layouts/sections/bleed/docs/api.json +33 -0
- package/02. Layouts/sections/bleed/examples/basic/code.html +11 -0
- package/02. Layouts/sections/bleed/examples/basic/preview.html +14 -0
- package/02. Layouts/sections/bleed/examples/index.json +16 -0
- package/02. Layouts/sections/bleed/examples/reading/code.html +11 -0
- package/02. Layouts/sections/bleed/examples/reading/preview.html +14 -0
- package/02. Layouts/sections/bleed/src/bleed.html +11 -0
- package/02. Layouts/sections/content-grid/content-grid.definition.json +26 -0
- package/02. Layouts/sections/content-grid/docs/README.md +59 -0
- package/02. Layouts/sections/content-grid/docs/api.json +38 -0
- package/02. Layouts/sections/content-grid/examples/basic/code.html +11 -0
- package/02. Layouts/sections/content-grid/examples/basic/preview.html +10 -0
- package/02. Layouts/sections/content-grid/examples/index.json +9 -0
- package/02. Layouts/sections/content-grid/src/content-grid.scss +16 -0
- package/02. Layouts/sections/cover/cover.definition.json +26 -0
- package/02. Layouts/sections/cover/docs/README.md +60 -0
- package/02. Layouts/sections/cover/docs/api.json +50 -0
- package/02. Layouts/sections/cover/examples/basic/code.html +11 -0
- package/02. Layouts/sections/cover/examples/basic/preview.html +8 -0
- package/02. Layouts/sections/cover/examples/compact/code.html +11 -0
- package/02. Layouts/sections/cover/examples/compact/preview.html +8 -0
- package/02. Layouts/sections/cover/examples/index.json +16 -0
- package/02. Layouts/sections/cover/src/cover.scss +41 -0
- package/02. Layouts/sections/section/docs/README.md +52 -0
- package/02. Layouts/sections/section/docs/api.json +63 -0
- package/02. Layouts/sections/section/examples/basic/code.html +2 -2
- package/02. Layouts/sections/section/examples/basic/preview.html +5 -2
- package/02. Layouts/sections/section/examples/index.json +37 -2
- package/02. Layouts/sections/section/examples/size-2xs/code.html +5 -0
- package/02. Layouts/sections/section/examples/size-2xs/preview.html +8 -0
- package/02. Layouts/sections/section/examples/size-md/code.html +5 -0
- package/02. Layouts/sections/section/examples/size-md/preview.html +8 -0
- package/02. Layouts/sections/section/examples/size-sm/code.html +5 -0
- package/02. Layouts/sections/section/examples/size-sm/preview.html +8 -0
- package/02. Layouts/sections/section/examples/size-xl/code.html +5 -0
- package/02. Layouts/sections/section/examples/size-xl/preview.html +8 -0
- package/02. Layouts/sections/section/examples/size-xs/code.html +5 -0
- package/02. Layouts/sections/section/examples/size-xs/preview.html +8 -0
- package/02. Layouts/sections/section/section.definition.json +8 -6
- package/02. Layouts/sections/section/src/section.html +5 -0
- package/03. Components/cards/card/card.definition.json +36 -0
- package/03. Components/cards/card/docs/README.md +27 -0
- package/03. Components/cards/card/docs/api.json +64 -0
- package/03. Components/cards/card/examples/badge-status/code.html +9 -0
- package/03. Components/cards/card/examples/badge-status/preview.html +9 -0
- package/03. Components/cards/card/examples/basic/code.html +6 -0
- package/03. Components/cards/card/examples/basic/preview.html +6 -0
- package/03. Components/cards/card/examples/button-action/code.html +11 -0
- package/03. Components/cards/card/examples/button-action/preview.html +11 -0
- package/03. Components/cards/card/examples/header-footer/code.html +13 -0
- package/03. Components/cards/card/examples/header-footer/preview.html +13 -0
- package/03. Components/cards/card/examples/index.json +48 -0
- package/03. Components/cards/card/examples/media/code.html +9 -0
- package/03. Components/cards/card/examples/media/preview.html +9 -0
- package/03. Components/cards/card/src/card.scss +56 -0
- package/03. Components/cards/card-disclosure/card-disclosure.definition.json +27 -0
- package/03. Components/cards/card-disclosure/docs/README.md +24 -0
- package/03. Components/cards/card-disclosure/docs/api.json +58 -0
- package/03. Components/cards/card-disclosure/examples/basic/code.html +16 -0
- package/03. Components/cards/card-disclosure/examples/basic/preview.html +16 -0
- package/03. Components/cards/card-disclosure/examples/expanded/code.html +16 -0
- package/03. Components/cards/card-disclosure/examples/expanded/preview.html +16 -0
- package/03. Components/cards/card-disclosure/examples/index.json +17 -0
- package/03. Components/cards/card-disclosure/src/card-disclosure.html +16 -0
- package/03. Components/cards/card-utility-summary/card-utility-summary.definition.json +24 -0
- package/03. Components/cards/card-utility-summary/docs/README.md +23 -0
- package/03. Components/cards/card-utility-summary/docs/api.json +33 -0
- package/03. Components/cards/card-utility-summary/examples/basic/code.html +13 -0
- package/03. Components/cards/card-utility-summary/examples/basic/preview.html +13 -0
- package/03. Components/cards/card-utility-summary/examples/compact/code.html +8 -0
- package/03. Components/cards/card-utility-summary/examples/compact/preview.html +8 -0
- package/03. Components/cards/card-utility-summary/examples/index.json +17 -0
- package/03. Components/cards/card-utility-summary/src/card-utility-summary.html +13 -0
- package/03. Components/data-display/statistics/stat-card/docs/README.md +104 -0
- package/03. Components/data-display/statistics/stat-card/docs/api.json +153 -0
- package/03. Components/data-display/statistics/stat-card/examples/action/code.html +8 -0
- package/03. Components/data-display/statistics/stat-card/examples/action/preview.html +21 -0
- package/03. Components/data-display/statistics/stat-card/examples/coloured-values/code.html +4 -0
- package/03. Components/data-display/statistics/stat-card/examples/coloured-values/preview.html +14 -0
- package/03. Components/data-display/statistics/stat-card/examples/icon-led/code.html +13 -0
- package/03. Components/data-display/statistics/stat-card/examples/icon-led/preview.html +27 -0
- package/03. Components/data-display/statistics/stat-card/examples/icons/code.html +8 -0
- package/03. Components/data-display/statistics/stat-card/examples/icons/preview.html +27 -0
- package/03. Components/data-display/statistics/stat-card/examples/index.json +117 -0
- package/03. Components/data-display/statistics/stat-card/examples/inline-comparison/code.html +8 -0
- package/03. Components/data-display/statistics/stat-card/examples/inline-comparison/preview.html +18 -0
- package/03. Components/data-display/statistics/stat-card/examples/long-value/code.html +5 -0
- package/03. Components/data-display/statistics/stat-card/examples/long-value/preview.html +7 -0
- package/03. Components/data-display/statistics/stat-card/examples/minimal/code.html +4 -0
- package/03. Components/data-display/statistics/stat-card/examples/minimal/preview.html +14 -0
- package/03. Components/data-display/statistics/stat-card/examples/sentiments/code.html +11 -0
- package/03. Components/data-display/statistics/stat-card/examples/sentiments/preview.html +26 -0
- package/03. Components/data-display/statistics/stat-card/examples/sizes/code.html +4 -0
- package/03. Components/data-display/statistics/stat-card/examples/sizes/preview.html +14 -0
- package/03. Components/data-display/statistics/stat-card/examples/standard/code.html +8 -0
- package/03. Components/data-display/statistics/stat-card/examples/standard/preview.html +23 -0
- package/03. Components/data-display/statistics/stat-card/examples/states/code.html +5 -0
- package/03. Components/data-display/statistics/stat-card/examples/states/preview.html +17 -0
- package/03. Components/data-display/statistics/stat-card/examples/trailing-trend/code.html +8 -0
- package/03. Components/data-display/statistics/stat-card/examples/trailing-trend/preview.html +18 -0
- package/03. Components/data-display/statistics/stat-card/src/stat-card.scss +253 -0
- package/03. Components/data-display/statistics/stat-card/stat-card.definition.json +49 -0
- package/03. Components/media/identity/avatar-group/avatar-group.definition.json +39 -0
- package/03. Components/media/identity/avatar-group/docs/README.md +37 -0
- package/03. Components/media/identity/avatar-group/docs/api.json +99 -0
- package/03. Components/media/identity/avatar-group/examples/count/code.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/count/preview.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/count-icon/code.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/count-icon/preview.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/group/code.html +18 -0
- package/03. Components/media/identity/avatar-group/examples/group/preview.html +18 -0
- package/03. Components/media/identity/avatar-group/examples/index.json +38 -0
- package/03. Components/media/identity/avatar-group/examples/rtl/code.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/rtl/preview.html +19 -0
- package/03. Components/media/identity/avatar-group/examples/sizes/code.html +14 -0
- package/03. Components/media/identity/avatar-group/examples/sizes/preview.html +27 -0
- package/03. Components/media/identity/avatar-group/src/avatar-group.scss +72 -0
- package/03. Components/navigation/menus/navigation-menu/docs/README.md +34 -0
- package/03. Components/navigation/menus/navigation-menu/docs/api.json +70 -0
- package/03. Components/navigation/menus/navigation-menu/examples/groups/code.html +27 -0
- package/03. Components/navigation/menus/navigation-menu/examples/groups/preview.html +27 -0
- package/03. Components/navigation/menus/navigation-menu/examples/horizontal/code.html +19 -0
- package/03. Components/navigation/menus/navigation-menu/examples/horizontal/preview.html +19 -0
- package/03. Components/navigation/menus/navigation-menu/examples/icon-links/code.html +36 -0
- package/03. Components/navigation/menus/navigation-menu/examples/icon-links/preview.html +36 -0
- package/03. Components/navigation/menus/navigation-menu/examples/index.json +45 -0
- package/03. Components/navigation/menus/navigation-menu/examples/nested/code.html +21 -0
- package/03. Components/navigation/menus/navigation-menu/examples/nested/preview.html +21 -0
- package/03. Components/navigation/menus/navigation-menu/examples/separators/code.html +22 -0
- package/03. Components/navigation/menus/navigation-menu/examples/separators/preview.html +22 -0
- package/03. Components/navigation/menus/navigation-menu/examples/vertical/code.html +19 -0
- package/03. Components/navigation/menus/navigation-menu/examples/vertical/preview.html +19 -0
- package/03. Components/navigation/menus/navigation-menu/navigation-menu.definition.json +38 -0
- package/03. Components/navigation/menus/navigation-menu/src/navigation-menu.scss +78 -0
- package/03. Components/navigation/sidebars/floating-sidebar/docs/README.md +48 -0
- package/03. Components/navigation/sidebars/floating-sidebar/docs/api.json +58 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/animated/code.html +42 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/animated/preview.html +42 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/branded/code.html +43 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/branded/preview.html +43 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/grouped/code.html +50 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/grouped/preview.html +50 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/index.json +50 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/long/code.html +66 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/long/preview.html +66 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/profile/code.html +51 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/profile/preview.html +51 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/standard/code.html +42 -0
- package/03. Components/navigation/sidebars/floating-sidebar/examples/standard/preview.html +42 -0
- package/03. Components/navigation/sidebars/floating-sidebar/floating-sidebar.definition.json +52 -0
- package/03. Components/navigation/sidebars/floating-sidebar/src/floating-sidebar.js +73 -0
- package/03. Components/navigation/sidebars/floating-sidebar/src/floating-sidebar.scss +163 -0
- package/README.md +60 -11
- package/dist/catalogue.json +442 -0
- package/dist/components/app-shell.css +76 -64
- package/dist/components/avatar-group.css +69 -0
- package/dist/components/avatar.css +98 -176
- package/dist/components/badge.css +118 -0
- package/dist/components/button-lumen-shift.css +388 -0
- package/dist/components/button.css +58 -28
- package/dist/components/card.css +47 -0
- package/dist/components/checkbox.css +129 -0
- package/dist/components/content-grid.css +16 -0
- package/dist/components/cover.css +41 -0
- package/dist/components/floating-sidebar.css +163 -0
- package/dist/components/grid.css +23 -13
- package/dist/components/navigation-item.css +169 -0
- package/dist/components/navigation-menu.css +74 -0
- package/dist/components/overlap.css +51 -0
- package/dist/components/reel.css +40 -0
- package/dist/components/select.css +288 -0
- package/dist/components/sidebar.css +33 -17
- package/dist/components/split.css +23 -16
- package/dist/components/stat-card.css +219 -0
- package/dist/components/switcher.css +24 -0
- package/dist/components/tooltip.css +101 -0
- package/package.json +7 -4
- package/schemas/reusable-ui.schema.json +145 -2
- package/tooling/cli/asset-organisation.mjs +126 -0
- package/tooling/cli/build.mjs +14 -7
- package/tooling/cli/cli.mjs +46 -19
- package/tooling/cli/commands.mjs +10 -0
- package/tooling/cli/configuration.mjs +60 -0
- package/tooling/cli/migrate.mjs +7 -4
- package/tooling/cli/project.mjs +188 -20
- package/tooling/registry/catalogue-index.mjs +54 -0
- package/tooling/registry/categories.mjs +3 -0
- package/tooling/registry/definitions.mjs +86 -9
- package/tooling/registry/native.mjs +32 -0
- package/tools/build-css.mjs +84 -30
- package/01. Elements/actions/controls/button/button.scss +0 -80
- package/01. Elements/actions/controls/button/docs.md +0 -41
- package/01. Elements/media/identity/avatar/api.json +0 -126
- package/01. Elements/media/identity/avatar/avatar.scss +0 -80
- package/01. Elements/media/identity/avatar/docs.md +0 -64
- package/01. Elements/media/identity/avatar/examples/badges/code.html +0 -10
- package/01. Elements/media/identity/avatar/examples/badges/preview.html +0 -29
- package/01. Elements/media/identity/avatar/examples/fallbacks/code.html +0 -5
- package/01. Elements/media/identity/avatar/examples/fallbacks/preview.html +0 -23
- package/01. Elements/media/identity/avatar/examples/presence/code.html +0 -6
- package/01. Elements/media/identity/avatar/examples/presence/preview.html +0 -26
- package/01. Elements/media/identity/avatar/examples/shapes/code.html +0 -5
- package/01. Elements/media/identity/avatar/examples/shapes/preview.html +0 -17
- package/02. Layouts/application/app-shell/api.json +0 -46
- package/02. Layouts/application/app-shell/app-shell.scss +0 -68
- package/02. Layouts/application/app-shell/docs.md +0 -31
- package/02. Layouts/application/app-shell/examples/basic/code.html +0 -17
- package/02. Layouts/application/app-shell/examples/basic/preview.html +0 -17
- package/02. Layouts/application/app-shell/examples/collapsed/code.html +0 -17
- package/02. Layouts/application/app-shell/examples/collapsed/preview.html +0 -17
- package/02. Layouts/application/app-shell/examples/hidden/code.html +0 -17
- package/02. Layouts/application/app-shell/examples/hidden/preview.html +0 -17
- package/02. Layouts/composition/stack/api.json +0 -1
- package/02. Layouts/composition/stack/docs.md +0 -5
- package/02. Layouts/content/grid/api.json +0 -23
- package/02. Layouts/content/grid/docs.md +0 -19
- package/02. Layouts/content/grid/grid.scss +0 -5
- package/02. Layouts/content/split/api.json +0 -23
- package/02. Layouts/content/split/docs.md +0 -18
- package/02. Layouts/content/split/examples/basic/code.html +0 -4
- package/02. Layouts/content/split/examples/basic/preview.html +0 -4
- package/02. Layouts/content/split/examples/index.json +0 -9
- package/02. Layouts/content/split/split.scss +0 -7
- package/02. Layouts/primitives/overlay/api.json +0 -23
- package/02. Layouts/primitives/overlay/docs.md +0 -19
- package/02. Layouts/primitives/overlay/examples/basic/code.html +0 -5
- package/02. Layouts/primitives/overlay/examples/basic/preview.html +0 -5
- package/02. Layouts/primitives/overlay/examples/index.json +0 -9
- package/02. Layouts/primitives/overlay/overlay.definition.json +0 -25
- package/02. Layouts/primitives/overlay/overlay.scss +0 -4
- package/02. Layouts/sections/section/api.json +0 -23
- package/02. Layouts/sections/section/docs.md +0 -19
- package/02. Layouts/sections/section/section.scss +0 -4
- package/02. Layouts/sections/sidebar/api.json +0 -23
- package/02. Layouts/sections/sidebar/docs.md +0 -18
- package/02. Layouts/sections/sidebar/examples/basic/code.html +0 -4
- package/02. Layouts/sections/sidebar/examples/basic/preview.html +0 -4
- package/02. Layouts/sections/sidebar/examples/index.json +0 -9
- package/02. Layouts/sections/sidebar/sidebar.scss +0 -7
- package/dist/components/overlay.css +0 -17
- package/dist/components/section.css +0 -14
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "authored",
|
|
4
|
+
"id": "reel",
|
|
5
|
+
"displayName": "Reel",
|
|
6
|
+
"description": "Keep a collection in a horizontal, locally scrollable strip using native browser scrolling.",
|
|
7
|
+
"level": "layout",
|
|
8
|
+
"category": [
|
|
9
|
+
"content"
|
|
10
|
+
],
|
|
11
|
+
"className": "bcl-reel",
|
|
12
|
+
"source": {
|
|
13
|
+
"scss": "02. Layouts/content/reel/src/reel.scss",
|
|
14
|
+
"css": "dist/components/reel.css"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"css": [
|
|
18
|
+
"foundations"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"documentation": {
|
|
22
|
+
"guide": "docs/README.md",
|
|
23
|
+
"api": "docs/api.json",
|
|
24
|
+
"examples": "examples/index.json"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
:where(.bcl-reel) {
|
|
2
|
+
--bcl-reel-item: var(--bc-size-ui-320);
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: var(--bc-fluid-md);
|
|
5
|
+
padding-block: var(--bc-fluid-sm);
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
scroll-snap-type: inline proximity;
|
|
8
|
+
overscroll-behavior-inline: contain;
|
|
9
|
+
min-inline-size: 0;
|
|
10
|
+
overflow-wrap: anywhere;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:where(.bcl-reel) > * {
|
|
14
|
+
flex: 0 0 min(80%, var(--bcl-reel-item));
|
|
15
|
+
min-inline-size: 0;
|
|
16
|
+
scroll-snap-align: start;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:where(.bcl-reel--2xs) {
|
|
20
|
+
--bcl-reel-item: var(--bc-size-ui-128);
|
|
21
|
+
gap: var(--bc-fluid-2xs);
|
|
22
|
+
padding-block: var(--bc-fluid-2xs);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:where(.bcl-reel--xs) {
|
|
26
|
+
--bcl-reel-item: var(--bc-size-ui-160);
|
|
27
|
+
gap: var(--bc-fluid-xs);
|
|
28
|
+
padding-block: var(--bc-fluid-2xs);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:where(.bcl-reel--sm) {
|
|
32
|
+
--bcl-reel-item: var(--bc-size-ui-224);
|
|
33
|
+
gap: var(--bc-fluid-sm);
|
|
34
|
+
padding-block: var(--bc-fluid-xs);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where(.bcl-reel:focus-visible) {
|
|
38
|
+
outline: var(--bc-border-width-sm) solid var(--bc-color-focus);
|
|
39
|
+
outline-offset: calc(-1 * var(--bc-border-width-sm));
|
|
40
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "recipe",
|
|
4
|
+
"id": "center",
|
|
5
|
+
"displayName": "Center",
|
|
6
|
+
"description": "Centre a group within the available space without imposing a viewport height.",
|
|
7
|
+
"level": "layout",
|
|
8
|
+
"category": [
|
|
9
|
+
"primitives"
|
|
10
|
+
],
|
|
11
|
+
"source": {
|
|
12
|
+
"html": "02. Layouts/primitives/center/src/center.html"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"css": [
|
|
16
|
+
"foundations"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"documentation": {
|
|
20
|
+
"guide": "docs/README.md",
|
|
21
|
+
"api": "docs/api.json",
|
|
22
|
+
"examples": "examples/index.json"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Center
|
|
2
|
+
|
|
3
|
+
Centre a group within the available space without imposing a viewport height. This is a category 02 Layout.
|
|
4
|
+
|
|
5
|
+
## Composition and usage
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<div class="bc-flex bc-flex-col bc-items-center bc-justify-center bc-gap-md">
|
|
9
|
+
<!-- Content to centre goes here. -->
|
|
10
|
+
</div>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Reuse decision
|
|
14
|
+
|
|
15
|
+
The complete contract is expressed by the verified Core utilities in the structural example. This is a utility-only recipe: no base class, stylesheet or mount script is required.
|
|
16
|
+
|
|
17
|
+
## Options and constraints
|
|
18
|
+
|
|
19
|
+
- The root centres along both axes within the space its parent provides; it does not create extra height.
|
|
20
|
+
- Use bc-min-h-ui-256 on the root when that semantic UI minimum suits an empty-state region.
|
|
21
|
+
- Content retains its natural text alignment; centring the group does not force centred text.
|
|
22
|
+
|
|
23
|
+
## Dependencies and installation
|
|
24
|
+
|
|
25
|
+
Uses Core Foundations. No other Layout is required by this structural contract. In a consumer with compatible packed Core/LevelsUI and Sass installed, run `npx --no-install levelsui init`, `npx --no-install levelsui add center`, `npx --no-install levelsui activate center` and `npx --no-install levelsui build`. Load `dist/buffercore-levels.css` once; it already includes Core. Installed snapshots control builds until explicitly updated.
|
|
26
|
+
|
|
27
|
+
## Accessibility and behaviour
|
|
28
|
+
|
|
29
|
+
- Keep DOM order consistent with the reading and keyboard order.
|
|
30
|
+
- Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles.
|
|
31
|
+
|
|
32
|
+
Content, meaningful states and interactions belong to the consuming HTML or application. Colour contexts inherit through Core; use semantic text/fill pairings with appropriate contrast. There is no animation or automatic DOM observation.
|
|
33
|
+
|
|
34
|
+
## Examples and verification
|
|
35
|
+
|
|
36
|
+
The Code files contain only the Layout structure and comments identifying where consumer content goes. Populated content and its visual styling remain in Preview. Required anatomy and accessibility attributes are retained. Consult the Layout collection guide for responsive, consumer-build and browser verification coverage; an example is not release certification.
|
|
37
|
+
|
|
38
|
+
## Foundation review
|
|
39
|
+
|
|
40
|
+
See the [collection audit and Foundation candidates](../../../UTILITY-RECIPES.md#foundation-candidates) for the existing capabilities checked and the proposed shared gaps. Proposals are not shipped APIs. No new Primitive or Foundation source change is made here.
|
|
41
|
+
|
|
42
|
+
## Responsive refinement
|
|
43
|
+
|
|
44
|
+
The recipe uses existing Core capabilities. Long unbroken content needs native break opportunities or a suitable accessible overflow region. The shared wrap-anywhere utility is recorded as a Foundation candidate. See the [refinement review](../../../REFINEMENT-REVIEW.md) for nested composition, zoom coverage and the remaining content responsibilities.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"variants": [],
|
|
3
|
+
"sizes": [],
|
|
4
|
+
"anatomy": [],
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Utility recipe",
|
|
8
|
+
"type": "HTML classes",
|
|
9
|
+
"description": "The shown Core classes are the complete layout. No bcl-* base class or authored stylesheet is needed."
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"accessibility": [
|
|
13
|
+
"Keep DOM order consistent with the reading and keyboard order.",
|
|
14
|
+
"Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles."
|
|
15
|
+
],
|
|
16
|
+
"tags": [
|
|
17
|
+
"layout",
|
|
18
|
+
"primitives",
|
|
19
|
+
"recipe"
|
|
20
|
+
],
|
|
21
|
+
"notes": [
|
|
22
|
+
"CSS/HTML only: no JavaScript, Behaviour dependency or mounting is required.",
|
|
23
|
+
"The root centres along both axes within the space its parent provides; it does not create extra height.",
|
|
24
|
+
"Use bc-min-h-ui-256 on the root when that semantic UI minimum suits an empty-state region.",
|
|
25
|
+
"Content retains its natural text alignment; centring the group does not force centred text.",
|
|
26
|
+
"Review long unbroken content in its consuming region. Core currently lacks a general wrap-anywhere utility. Native wbr opportunities or an accessible local overflow region handle that content."
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "basic",
|
|
4
|
+
"title": "In use",
|
|
5
|
+
"description": "Centre a group within the available space without imposing a viewport height.",
|
|
6
|
+
"preview": "examples/basic/preview.html",
|
|
7
|
+
"code": "examples/basic/code.html"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "minimum-height",
|
|
11
|
+
"title": "Within a minimum height",
|
|
12
|
+
"description": "A bounded empty-state region.",
|
|
13
|
+
"preview": "examples/minimum-height/preview.html",
|
|
14
|
+
"code": "examples/minimum-height/code.html"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "recipe",
|
|
4
|
+
"id": "container",
|
|
5
|
+
"displayName": "Container",
|
|
6
|
+
"description": "Centre content within shared page or reading-width boundaries.",
|
|
7
|
+
"level": "layout",
|
|
8
|
+
"category": [
|
|
9
|
+
"primitives"
|
|
10
|
+
],
|
|
11
|
+
"source": {
|
|
12
|
+
"html": "02. Layouts/primitives/container/src/container.html"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"css": [
|
|
16
|
+
"foundations"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"documentation": {
|
|
20
|
+
"guide": "docs/README.md",
|
|
21
|
+
"api": "docs/api.json",
|
|
22
|
+
"examples": "examples/index.json"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Container
|
|
2
|
+
|
|
3
|
+
Centre content within shared page or reading-width boundaries. This is a category 02 Layout.
|
|
4
|
+
|
|
5
|
+
## Composition and usage
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<div class="bc-container">
|
|
9
|
+
<!-- Container content goes here. -->
|
|
10
|
+
</div>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Reuse decision
|
|
14
|
+
|
|
15
|
+
The complete contract is expressed by the verified Core utilities in the structural example. This is a utility-only recipe: no base class, stylesheet or mount script is required.
|
|
16
|
+
|
|
17
|
+
## Options and constraints
|
|
18
|
+
|
|
19
|
+
- Use bc-container for page width, bc-container-content for a reading measure, or bc-container-content-wide for wider content.
|
|
20
|
+
- Container includes its own inline gutters. Avoid nesting containers unintentionally: gutters accumulate.
|
|
21
|
+
- Fluid spacing and container semantics respond to the active Flavour; no fixed pixel width is authored.
|
|
22
|
+
|
|
23
|
+
## Dependencies and installation
|
|
24
|
+
|
|
25
|
+
Uses Core Foundations. No other Layout is required by this structural contract. In a consumer with compatible packed Core/LevelsUI and Sass installed, run `npx --no-install levelsui init`, `npx --no-install levelsui add container`, `npx --no-install levelsui activate container` and `npx --no-install levelsui build`. Load `dist/buffercore-levels.css` once; it already includes Core. Installed snapshots control builds until explicitly updated.
|
|
26
|
+
|
|
27
|
+
## Accessibility and behaviour
|
|
28
|
+
|
|
29
|
+
- Keep DOM order consistent with the reading and keyboard order.
|
|
30
|
+
- Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles.
|
|
31
|
+
|
|
32
|
+
Content, meaningful states and interactions belong to the consuming HTML or application. Colour contexts inherit through Core; use semantic text/fill pairings with appropriate contrast. There is no animation or automatic DOM observation.
|
|
33
|
+
|
|
34
|
+
## Examples and verification
|
|
35
|
+
|
|
36
|
+
The Code files contain only the Layout structure and comments identifying where consumer content goes. Populated content and its visual styling remain in Preview. Required anatomy and accessibility attributes are retained. Consult the Layout collection guide for responsive, consumer-build and browser verification coverage; an example is not release certification.
|
|
37
|
+
|
|
38
|
+
## Foundation review
|
|
39
|
+
|
|
40
|
+
See the [collection audit and Foundation candidates](../../../UTILITY-RECIPES.md#foundation-candidates) for the existing capabilities checked and the proposed shared gaps. Proposals are not shipped APIs. No new Primitive or Foundation source change is made here.
|
|
41
|
+
|
|
42
|
+
## Responsive refinement
|
|
43
|
+
|
|
44
|
+
The recipe uses existing Core capabilities. Long unbroken content needs native break opportunities or a suitable accessible overflow region. The shared wrap-anywhere utility is recorded as a Foundation candidate. See the [refinement review](../../../REFINEMENT-REVIEW.md) for nested composition, zoom coverage and the remaining content responsibilities.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"variants": [],
|
|
3
|
+
"sizes": [],
|
|
4
|
+
"anatomy": [],
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Utility recipe",
|
|
8
|
+
"type": "HTML classes",
|
|
9
|
+
"description": "The shown Core classes are the complete layout. No bcl-* base class or authored stylesheet is needed."
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"accessibility": [
|
|
13
|
+
"Keep DOM order consistent with the reading and keyboard order.",
|
|
14
|
+
"Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles."
|
|
15
|
+
],
|
|
16
|
+
"tags": [
|
|
17
|
+
"layout",
|
|
18
|
+
"primitives",
|
|
19
|
+
"recipe"
|
|
20
|
+
],
|
|
21
|
+
"notes": [
|
|
22
|
+
"CSS/HTML only: no JavaScript, Behaviour dependency or mounting is required.",
|
|
23
|
+
"Use bc-container for page width, bc-container-content for a reading measure, or bc-container-content-wide for wider content.",
|
|
24
|
+
"Container includes its own inline gutters. Avoid nesting containers unintentionally: gutters accumulate.",
|
|
25
|
+
"Fluid spacing and container semantics respond to the active Flavour; no fixed pixel width is authored.",
|
|
26
|
+
"Review long unbroken content in its consuming region. Core currently lacks a general wrap-anywhere utility. Native wbr opportunities or an accessible local overflow region handle that content."
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "basic",
|
|
4
|
+
"title": "In use",
|
|
5
|
+
"description": "Centre content within shared page or reading-width boundaries.",
|
|
6
|
+
"preview": "examples/basic/preview.html",
|
|
7
|
+
"code": "examples/basic/code.html"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "reading",
|
|
11
|
+
"title": "Reading measure",
|
|
12
|
+
"description": "A narrower text region.",
|
|
13
|
+
"preview": "examples/reading/preview.html",
|
|
14
|
+
"code": "examples/reading/code.html"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Frame
|
|
2
|
+
|
|
3
|
+
Reserve an aspect-ratio media region and crop its contents deliberately. This is a category 02 Layout.
|
|
4
|
+
|
|
5
|
+
## Composition and usage
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<div class="bc-ratio-16-9 bc-overflow-hidden">
|
|
9
|
+
<!-- Media goes here. For an img or video, use bc-block bc-w-100 bc-h-100 bc-object-cover. -->
|
|
10
|
+
</div>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Reuse decision
|
|
14
|
+
|
|
15
|
+
The complete contract is expressed by the verified Core utilities in the structural example. This is a utility-only recipe: no base class, stylesheet or mount script is required.
|
|
16
|
+
|
|
17
|
+
## Options and constraints
|
|
18
|
+
|
|
19
|
+
- Choose a verified Core ratio such as bc-ratio-16-9, bc-ratio-4-3 or bc-ratio-1-1.
|
|
20
|
+
- For an img or video, use bc-block bc-w-100 bc-h-100 bc-object-cover; choose bc-object-contain when cropping would hide meaningful content.
|
|
21
|
+
- The self-contained SVG example uses preserveAspectRatio for cropping. Provide meaningful alternative text for informative media; decorative media should be hidden from assistive technology.
|
|
22
|
+
- Fixed ratios can crop content. Do not constrain arbitrary prose or interactive controls in a Frame.
|
|
23
|
+
|
|
24
|
+
## Dependencies and installation
|
|
25
|
+
|
|
26
|
+
Uses Core Foundations. No other Layout is required by this structural contract. In a consumer with compatible packed Core/LevelsUI and Sass installed, run `npx --no-install levelsui init`, `npx --no-install levelsui add frame`, `npx --no-install levelsui activate frame` and `npx --no-install levelsui build`. Load `dist/buffercore-levels.css` once; it already includes Core. Installed snapshots control builds until explicitly updated.
|
|
27
|
+
|
|
28
|
+
## Accessibility and behaviour
|
|
29
|
+
|
|
30
|
+
- Keep DOM order consistent with the reading and keyboard order.
|
|
31
|
+
- Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles.
|
|
32
|
+
|
|
33
|
+
Content, meaningful states and interactions belong to the consuming HTML or application. Colour contexts inherit through Core; use semantic text/fill pairings with appropriate contrast. There is no animation or automatic DOM observation.
|
|
34
|
+
|
|
35
|
+
## Examples and verification
|
|
36
|
+
|
|
37
|
+
The Code files contain only the Layout structure and comments identifying where consumer content goes. Populated content and its visual styling remain in Preview. Required anatomy and accessibility attributes are retained. Consult the Layout collection guide for responsive, consumer-build and browser verification coverage; an example is not release certification.
|
|
38
|
+
|
|
39
|
+
## Foundation review
|
|
40
|
+
|
|
41
|
+
See the [collection audit and Foundation candidates](../../../UTILITY-RECIPES.md#foundation-candidates) for the existing capabilities checked and the proposed shared gaps. Proposals are not shipped APIs. No new Primitive or Foundation source change is made here.
|
|
42
|
+
|
|
43
|
+
## Responsive refinement
|
|
44
|
+
|
|
45
|
+
The recipe uses existing Core capabilities. Long unbroken content needs native break opportunities or a suitable accessible overflow region. The shared wrap-anywhere utility is recorded as a Foundation candidate. See the [refinement review](../../../REFINEMENT-REVIEW.md) for nested composition, zoom coverage and the remaining content responsibilities.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"variants": [],
|
|
3
|
+
"sizes": [],
|
|
4
|
+
"anatomy": [],
|
|
5
|
+
"properties": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Utility recipe",
|
|
8
|
+
"type": "HTML classes",
|
|
9
|
+
"description": "The shown Core classes are the complete layout. No bcl-* base class or authored stylesheet is needed."
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"accessibility": [
|
|
13
|
+
"Keep DOM order consistent with the reading and keyboard order.",
|
|
14
|
+
"Choose semantic HTML for the content; the Layout does not assign landmarks or interactive roles."
|
|
15
|
+
],
|
|
16
|
+
"tags": [
|
|
17
|
+
"layout",
|
|
18
|
+
"primitives",
|
|
19
|
+
"recipe"
|
|
20
|
+
],
|
|
21
|
+
"notes": [
|
|
22
|
+
"CSS/HTML only: no JavaScript, Behaviour dependency or mounting is required.",
|
|
23
|
+
"Choose a verified Core ratio such as bc-ratio-16-9, bc-ratio-4-3 or bc-ratio-1-1.",
|
|
24
|
+
"For an img or video, use bc-block bc-w-100 bc-h-100 bc-object-cover; choose bc-object-contain when cropping would hide meaningful content.",
|
|
25
|
+
"The self-contained SVG example uses preserveAspectRatio for cropping. Provide meaningful alternative text for informative media; decorative media should be hidden from assistive technology.",
|
|
26
|
+
"Fixed ratios can crop content. Do not constrain arbitrary prose or interactive controls in a Frame.",
|
|
27
|
+
"Review long unbroken content in its consuming region. Core currently lacks a general wrap-anywhere utility. Native wbr opportunities or an accessible local overflow region handle that content."
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<div class="bc-ratio-16-9 bc-overflow-hidden bc-radius-md bc-is-accent">
|
|
2
|
+
<svg class="bc-block bc-w-100 bc-h-100 bc-color-text-context" viewBox="0 0 160 90" preserveAspectRatio="xMidYMid slice" role="img" aria-label="Abstract circles and landscape">
|
|
3
|
+
<circle cx="120" cy="24" r="14" fill="currentColor"></circle>
|
|
4
|
+
<path d="M0 90 54 30 110 90ZM70 90 120 45 160 90Z" fill="currentColor"></path>
|
|
5
|
+
</svg>
|
|
6
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "basic",
|
|
4
|
+
"title": "In use",
|
|
5
|
+
"description": "Reserve an aspect-ratio media region and crop its contents deliberately.",
|
|
6
|
+
"preview": "examples/basic/preview.html",
|
|
7
|
+
"code": "examples/basic/code.html"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "square",
|
|
11
|
+
"title": "Square media",
|
|
12
|
+
"description": "The same media in a square region.",
|
|
13
|
+
"preview": "examples/square/preview.html",
|
|
14
|
+
"code": "examples/square/code.html"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<div class="bc-ratio-1-1 bc-max-w-ui-320 bc-overflow-hidden bc-is-primary">
|
|
2
|
+
<svg class="bc-block bc-w-100 bc-h-100 bc-color-text-context" viewBox="0 0 160 90" preserveAspectRatio="xMidYMid slice" role="img" aria-label="Abstract circles and landscape">
|
|
3
|
+
<circle cx="120" cy="24" r="14" fill="currentColor"></circle>
|
|
4
|
+
<path d="M0 90 54 30 110 90ZM70 90 120 45 160 90Z" fill="currentColor"></path>
|
|
5
|
+
</svg>
|
|
6
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "recipe",
|
|
4
|
+
"id": "frame",
|
|
5
|
+
"displayName": "Frame",
|
|
6
|
+
"description": "Reserve an aspect-ratio media region and crop its contents deliberately.",
|
|
7
|
+
"level": "layout",
|
|
8
|
+
"category": [
|
|
9
|
+
"primitives"
|
|
10
|
+
],
|
|
11
|
+
"source": {
|
|
12
|
+
"html": "02. Layouts/primitives/frame/src/frame.html"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"css": [
|
|
16
|
+
"foundations"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"documentation": {
|
|
20
|
+
"guide": "docs/README.md",
|
|
21
|
+
"api": "docs/api.json",
|
|
22
|
+
"examples": "examples/index.json"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "recipe",
|
|
4
|
+
"id": "bleed",
|
|
5
|
+
"displayName": "Bleed",
|
|
6
|
+
"description": "Compose guttered content with bounded full-width media and breakout regions.",
|
|
7
|
+
"level": "layout",
|
|
8
|
+
"category": [
|
|
9
|
+
"sections"
|
|
10
|
+
],
|
|
11
|
+
"source": {
|
|
12
|
+
"html": "02. Layouts/sections/bleed/src/bleed.html"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"css": [
|
|
16
|
+
"foundations"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"documentation": {
|
|
20
|
+
"guide": "docs/README.md",
|
|
21
|
+
"api": "docs/api.json",
|
|
22
|
+
"examples": "examples/index.json"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Bleed
|
|
2
|
+
|
|
3
|
+
Compose guttered content with bounded full-width media and breakout regions. This is a category 02 Layout.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<div class="bc-flex bc-flex-col bc-gap-md bc-w-100 bc-max-width-page bc-mx-auto">
|
|
9
|
+
<div class="bc-gutter">
|
|
10
|
+
<!-- Content within normal gutters goes here. -->
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<!-- Edge-to-edge media or breakout content goes here. -->
|
|
14
|
+
</div>
|
|
15
|
+
<div class="bc-gutter">
|
|
16
|
+
<!-- Further guttered content goes here. -->
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Reuse decision
|
|
22
|
+
|
|
23
|
+
Core width, maximum-width, automatic margin, flex, spacing and gutter utilities cover the complete contract. Explicit gutter wrappers establish normal content boundaries and a full-width child uses the outer boundary. This composition ships HTML.
|
|
24
|
+
|
|
25
|
+
## Contract and accessibility
|
|
26
|
+
|
|
27
|
+
- Place the outer boundary where the breakout width should be established. It fills its available parent up to the shared page maximum.
|
|
28
|
+
- A full-width child spans this outer boundary. Put guttered text inside bc-gutter wrappers.
|
|
29
|
+
- Nested use follows the parent width. Establish the outer boundary before a narrower reading region when imagery should span farther.
|
|
30
|
+
- Fluid gutter and gap utilities respond to Core Semantics. Choose content-wide or content maximum-width utilities for other intentional outer measures.
|
|
31
|
+
- Long unbroken text follows the Core recipe content guidance in the refinement review. Native wbr opportunities or a labelled local overflow region support exceptional content.
|
|
32
|
+
|
|
33
|
+
Core utilities provide content presentation in Preview. Code contains structural insertion points. Render meaningful content and labels in those regions and preserve the DOM order.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
Install compatible Core and LevelsUI packages with Sass, then run `levelsui add bleed`, `levelsui activate bleed` and `levelsui build`. Load the generated CSS once.
|
|
38
|
+
|
|
39
|
+
## Validation
|
|
40
|
+
|
|
41
|
+
The collection regression suite exercises narrow parents, responsive widths, long content, RTL and text enlargement. See the [refinement review](../../../REFINEMENT-REVIEW.md) for browser zoom evidence, remaining limitations and the Foundation audit.
|
|
42
|
+
|
|
43
|
+
## Responsive refinement
|
|
44
|
+
|
|
45
|
+
The recipe uses existing Core capabilities. Long unbroken content needs native break opportunities or a suitable accessible overflow region. The shared wrap-anywhere utility is recorded as a Foundation candidate. See the [refinement review](../../../REFINEMENT-REVIEW.md) for nested composition, zoom coverage and the remaining content responsibilities.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"variants": [],
|
|
3
|
+
"sizes": [],
|
|
4
|
+
"anatomy": [
|
|
5
|
+
"outer width boundary",
|
|
6
|
+
"guttered content wrappers",
|
|
7
|
+
"full-width direct children"
|
|
8
|
+
],
|
|
9
|
+
"properties": [
|
|
10
|
+
{
|
|
11
|
+
"name": "Layout",
|
|
12
|
+
"type": "Core utility recipe",
|
|
13
|
+
"description": "The documented Core utilities implement the complete arrangement."
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"accessibility": [
|
|
17
|
+
"Preserve DOM reading and keyboard order.",
|
|
18
|
+
"Provide alternative text for meaningful media and accessible names for interactive content."
|
|
19
|
+
],
|
|
20
|
+
"tags": [
|
|
21
|
+
"layout",
|
|
22
|
+
"sections",
|
|
23
|
+
"recipe"
|
|
24
|
+
],
|
|
25
|
+
"notes": [
|
|
26
|
+
"Place the outer boundary where the breakout width should be established. It fills its available parent up to the shared page maximum.",
|
|
27
|
+
"A full-width child spans this outer boundary. Put guttered text inside bc-gutter wrappers.",
|
|
28
|
+
"Nested use follows the parent width. Establish the outer boundary before a narrower reading region when imagery should span farther.",
|
|
29
|
+
"Fluid gutter and gap utilities respond to Core Semantics. Choose content-wide or content maximum-width utilities for other intentional outer measures.",
|
|
30
|
+
"Long unbroken text follows the Core recipe content guidance in the refinement review. Native wbr opportunities or a labelled local overflow region support exceptional content.",
|
|
31
|
+
"Review long unbroken content in its consuming region. Core currently lacks a general wrap-anywhere utility. Native wbr opportunities or an accessible local overflow region handle that content."
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div class="bc-flex bc-flex-col bc-gap-md bc-w-100 bc-max-width-page bc-mx-auto">
|
|
2
|
+
<div class="bc-gutter">
|
|
3
|
+
<!-- Content within normal gutters goes here. -->
|
|
4
|
+
</div>
|
|
5
|
+
<div>
|
|
6
|
+
<!-- Edge-to-edge media or breakout content goes here. -->
|
|
7
|
+
</div>
|
|
8
|
+
<div class="bc-gutter">
|
|
9
|
+
<!-- Further guttered content goes here. -->
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<div class="bc-flex bc-flex-col bc-gap-md bc-w-100 bc-max-width-page bc-mx-auto">
|
|
2
|
+
<div class="bc-gutter">
|
|
3
|
+
<h2 class="bc-h3">An editorial opening</h2>
|
|
4
|
+
<p class="bc-p2">Text follows the page gutters.</p>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="bc-color-fill-context-subtle bc-py-lg">
|
|
7
|
+
<div class="bc-gutter">
|
|
8
|
+
<p class="bc-p1">A full-width band shares the outer boundary.</p>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="bc-gutter">
|
|
12
|
+
<p class="bc-p2">The story continues within the normal gutters.</p>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|