@graupl/graupl 1.0.0-beta.10 → 1.0.0-beta.11
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/js/accordion.js +5 -0
- package/dist/js/accordion.js.map +1 -0
- package/dist/js/alert.js +5 -0
- package/dist/js/alert.js.map +1 -0
- package/dist/js/carousel.js +5 -0
- package/dist/js/carousel.js.map +1 -0
- package/dist/js/component/accordion.cjs.js +5 -0
- package/dist/js/component/accordion.cjs.js.map +1 -0
- package/dist/js/component/accordion.es.js +5 -0
- package/dist/js/component/accordion.es.js.map +1 -0
- package/dist/js/component/accordion.iife.js +5 -0
- package/dist/js/component/accordion.iife.js.map +1 -0
- package/dist/js/component/alert.cjs.js +5 -0
- package/dist/js/component/alert.cjs.js.map +1 -0
- package/dist/js/component/alert.es.js +5 -0
- package/dist/js/component/alert.es.js.map +1 -0
- package/dist/js/component/alert.iife.js +5 -0
- package/dist/js/component/alert.iife.js.map +1 -0
- package/dist/js/component/carousel.cjs.js +5 -0
- package/dist/js/component/carousel.cjs.js.map +1 -0
- package/dist/js/component/carousel.es.js +5 -0
- package/dist/js/component/carousel.es.js.map +1 -0
- package/dist/js/component/carousel.iife.js +5 -0
- package/dist/js/component/carousel.iife.js.map +1 -0
- package/dist/js/generator/accordion.cjs.js +5 -0
- package/dist/js/generator/accordion.cjs.js.map +1 -0
- package/dist/js/generator/accordion.es.js +5 -0
- package/dist/js/generator/accordion.es.js.map +1 -0
- package/dist/js/generator/accordion.iife.js +5 -0
- package/dist/js/generator/accordion.iife.js.map +1 -0
- package/dist/js/generator/carousel.cjs.js +5 -0
- package/dist/js/generator/carousel.cjs.js.map +1 -0
- package/dist/js/generator/carousel.es.js +5 -0
- package/dist/js/generator/carousel.es.js.map +1 -0
- package/dist/js/generator/carousel.iife.js +5 -0
- package/dist/js/generator/carousel.iife.js.map +1 -0
- package/dist/js/generator/navigation.cjs.js +3 -0
- package/dist/js/generator/navigation.cjs.js.map +1 -0
- package/dist/js/generator/navigation.es.js +3 -0
- package/dist/js/generator/navigation.es.js.map +1 -0
- package/dist/js/generator/navigation.iife.js +3 -0
- package/dist/js/generator/navigation.iife.js.map +1 -0
- package/dist/js/graupl.js +9 -0
- package/dist/js/graupl.js.map +1 -0
- package/dist/js/navigation.js +3 -0
- package/dist/js/navigation.js.map +1 -0
- package/package.json +24 -14
- package/.browserslistrc +0 -3
- package/.czrc +0 -3
- package/.devcontainer/devcontainer.json +0 -221
- package/.editorconfig +0 -13
- package/.env +0 -3
- package/.github/CODE_OF_CONDUCT.md +0 -73
- package/.github/COMMIT_CONVENTION.md +0 -17
- package/.github/CONTRIBUTING.md +0 -86
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/documentation.md +0 -20
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/SECURITY.md +0 -26
- package/.github/dependabot.yml +0 -17
- package/.github/pull_request_template.md +0 -5
- package/.github/workflows/codeql-analysis.yml +0 -71
- package/.github/workflows/docs.yml +0 -66
- package/.github/workflows/prerelease.yml +0 -125
- package/.github/workflows/release.yml +0 -111
- package/.github/workflows/test.yml +0 -78
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -12
- package/.stylelintignore +0 -9
- package/.versionrc.cjs +0 -73
- package/.vscode/settings.json +0 -10
- package/CHANGELOG.md +0 -559
- package/build.js +0 -9
- package/combine-at-rules.cjs +0 -61
- package/commitlint.config.js +0 -5
- package/container/.env +0 -26
- package/container/build/app.dockerfile +0 -41
- package/container/docker-compose.yml +0 -27
- package/dist/js/graupl.cjs.js +0 -7
- package/dist/js/graupl.esm.js +0 -2561
- package/dist/js/graupl.iife.js +0 -7
- package/docs/.vitepress/config.js +0 -108
- package/docs/.vitepress/theme/custom.scss +0 -35
- package/docs/.vitepress/theme/index.js +0 -4
- package/docs/compiling-graupl.md +0 -57
- package/docs/components/alert.md +0 -130
- package/docs/components/button.md +0 -84
- package/docs/components/card.md +0 -369
- package/docs/components/index.md +0 -1
- package/docs/components/inputgroup.md +0 -159
- package/docs/components/menu.md +0 -326
- package/docs/components/navigation.md +0 -158
- package/docs/content.md +0 -237
- package/docs/defaults.md +0 -121
- package/docs/forms.md +0 -79
- package/docs/functions.md +0 -9
- package/docs/getting-started.md +0 -1
- package/docs/index.md +0 -1
- package/docs/introduction.md +0 -25
- package/docs/layout.md +0 -200
- package/docs/mixins.md +0 -47
- package/docs/state.md +0 -67
- package/docs/theme.md +0 -258
- package/docs/utilities/alignment.md +0 -411
- package/docs/utilities/background.md +0 -192
- package/docs/utilities/border.md +0 -268
- package/docs/utilities/color.md +0 -348
- package/docs/utilities/container.md +0 -3
- package/docs/utilities/display.md +0 -3
- package/docs/utilities/flex.md +0 -3
- package/docs/utilities/gradient.md +0 -3
- package/docs/utilities/height.md +0 -3
- package/docs/utilities/inset.md +0 -3
- package/docs/utilities/justification.md +0 -3
- package/docs/utilities/list.md +0 -3
- package/docs/utilities/order.md +0 -3
- package/docs/utilities/position.md +0 -3
- package/docs/utilities/ratio.md +0 -3
- package/docs/utilities/responsive-classes.md +0 -3
- package/docs/utilities/spacing.md +0 -3
- package/docs/utilities/typography.md +0 -3
- package/docs/utilities/visibility.md +0 -3
- package/docs/utilities/visually-hidden.md +0 -3
- package/docs/utilities/width.md +0 -3
- package/docs/utilities/z-index.md +0 -3
- package/docs/utilities.md +0 -357
- package/eslint.config.js +0 -74
- package/favicon.ico +0 -0
- package/index.html +0 -1214
- package/index.js +0 -12
- package/lint-staged.config.js +0 -6
- package/logo.svg +0 -296
- package/packages/core/build.js +0 -9
- package/packages/core/dist/css/base/button.css +0 -2
- package/packages/core/dist/css/base/button.css.map +0 -1
- package/packages/core/dist/css/base/form.css +0 -2
- package/packages/core/dist/css/base/form.css.map +0 -1
- package/packages/core/dist/css/base/link.css +0 -2
- package/packages/core/dist/css/base/link.css.map +0 -1
- package/packages/core/dist/css/base/table.css +0 -2
- package/packages/core/dist/css/base/table.css.map +0 -1
- package/packages/core/dist/css/base.css +0 -2
- package/packages/core/dist/css/base.css.map +0 -1
- package/packages/core/dist/css/component/accordion.css +0 -5
- package/packages/core/dist/css/component/accordion.css.map +0 -1
- package/packages/core/dist/css/component/alert.css +0 -2
- package/packages/core/dist/css/component/alert.css.map +0 -1
- package/packages/core/dist/css/component/card.css +0 -2
- package/packages/core/dist/css/component/card.css.map +0 -1
- package/packages/core/dist/css/component/carousel.css +0 -2
- package/packages/core/dist/css/component/carousel.css.map +0 -1
- package/packages/core/dist/css/component/input-group.css +0 -2
- package/packages/core/dist/css/component/input-group.css.map +0 -1
- package/packages/core/dist/css/component/list.css +0 -2
- package/packages/core/dist/css/component/list.css.map +0 -1
- package/packages/core/dist/css/component/menu.css +0 -2
- package/packages/core/dist/css/component/menu.css.map +0 -1
- package/packages/core/dist/css/component/navigation.css +0 -2
- package/packages/core/dist/css/component/navigation.css.map +0 -1
- package/packages/core/dist/css/component.css +0 -5
- package/packages/core/dist/css/component.css.map +0 -1
- package/packages/core/dist/css/graupl.css +0 -5
- package/packages/core/dist/css/graupl.css.map +0 -1
- package/packages/core/dist/css/init.css +0 -2
- package/packages/core/dist/css/init.css.map +0 -1
- package/packages/core/dist/css/layout/columns.css +0 -2
- package/packages/core/dist/css/layout/columns.css.map +0 -1
- package/packages/core/dist/css/layout/container.css +0 -2
- package/packages/core/dist/css/layout/container.css.map +0 -1
- package/packages/core/dist/css/layout/flex-columns.css +0 -2
- package/packages/core/dist/css/layout/flex-columns.css.map +0 -1
- package/packages/core/dist/css/layout.css +0 -5
- package/packages/core/dist/css/layout.css.map +0 -1
- package/packages/core/dist/css/normalize.css +0 -2
- package/packages/core/dist/css/normalize.css.map +0 -1
- package/packages/core/dist/css/state/focus.css +0 -2
- package/packages/core/dist/css/state/focus.css.map +0 -1
- package/packages/core/dist/css/state.css +0 -2
- package/packages/core/dist/css/state.css.map +0 -1
- package/packages/core/dist/css/theme/color.css +0 -2
- package/packages/core/dist/css/theme/color.css.map +0 -1
- package/packages/core/dist/css/theme/typography.css +0 -2
- package/packages/core/dist/css/theme/typography.css.map +0 -1
- package/packages/core/dist/css/theme.css +0 -2
- package/packages/core/dist/css/theme.css.map +0 -1
- package/packages/core/dist/css/utilities/alignment.css +0 -2
- package/packages/core/dist/css/utilities/alignment.css.map +0 -1
- package/packages/core/dist/css/utilities/background.css +0 -2
- package/packages/core/dist/css/utilities/background.css.map +0 -1
- package/packages/core/dist/css/utilities/border.css +0 -2
- package/packages/core/dist/css/utilities/border.css.map +0 -1
- package/packages/core/dist/css/utilities/color.css +0 -2
- package/packages/core/dist/css/utilities/color.css.map +0 -1
- package/packages/core/dist/css/utilities/container.css +0 -2
- package/packages/core/dist/css/utilities/container.css.map +0 -1
- package/packages/core/dist/css/utilities/display.css +0 -2
- package/packages/core/dist/css/utilities/display.css.map +0 -1
- package/packages/core/dist/css/utilities/flex.css +0 -2
- package/packages/core/dist/css/utilities/flex.css.map +0 -1
- package/packages/core/dist/css/utilities/gradient.css +0 -2
- package/packages/core/dist/css/utilities/gradient.css.map +0 -1
- package/packages/core/dist/css/utilities/height.css +0 -2
- package/packages/core/dist/css/utilities/height.css.map +0 -1
- package/packages/core/dist/css/utilities/inset.css +0 -2
- package/packages/core/dist/css/utilities/inset.css.map +0 -1
- package/packages/core/dist/css/utilities/justification.css +0 -2
- package/packages/core/dist/css/utilities/justification.css.map +0 -1
- package/packages/core/dist/css/utilities/list.css +0 -2
- package/packages/core/dist/css/utilities/list.css.map +0 -1
- package/packages/core/dist/css/utilities/order.css +0 -2
- package/packages/core/dist/css/utilities/order.css.map +0 -1
- package/packages/core/dist/css/utilities/position.css +0 -2
- package/packages/core/dist/css/utilities/position.css.map +0 -1
- package/packages/core/dist/css/utilities/ratio.css +0 -2
- package/packages/core/dist/css/utilities/ratio.css.map +0 -1
- package/packages/core/dist/css/utilities/spacing.css +0 -2
- package/packages/core/dist/css/utilities/spacing.css.map +0 -1
- package/packages/core/dist/css/utilities/typography.css +0 -2
- package/packages/core/dist/css/utilities/typography.css.map +0 -1
- package/packages/core/dist/css/utilities/visibility.css +0 -2
- package/packages/core/dist/css/utilities/visibility.css.map +0 -1
- package/packages/core/dist/css/utilities/visually-hidden.css +0 -2
- package/packages/core/dist/css/utilities/visually-hidden.css.map +0 -1
- package/packages/core/dist/css/utilities/width.css +0 -2
- package/packages/core/dist/css/utilities/width.css.map +0 -1
- package/packages/core/dist/css/utilities/z-index.css +0 -2
- package/packages/core/dist/css/utilities/z-index.css.map +0 -1
- package/packages/core/dist/css/utilities.css +0 -2
- package/packages/core/dist/css/utilities.css.map +0 -1
- package/packages/core/package.json +0 -58
- package/packages/core/scss/base/button.scss +0 -3
- package/packages/core/scss/base/form.scss +0 -3
- package/packages/core/scss/base/link.scss +0 -3
- package/packages/core/scss/base/table.scss +0 -3
- package/packages/core/scss/base.scss +0 -3
- package/packages/core/scss/component/accordion.scss +0 -3
- package/packages/core/scss/component/alert.scss +0 -3
- package/packages/core/scss/component/card.scss +0 -3
- package/packages/core/scss/component/carousel.scss +0 -3
- package/packages/core/scss/component/input-group.scss +0 -3
- package/packages/core/scss/component/list.scss +0 -3
- package/packages/core/scss/component/menu.scss +0 -3
- package/packages/core/scss/component/navigation.scss +0 -3
- package/packages/core/scss/component.scss +0 -3
- package/packages/core/scss/graupl.scss +0 -3
- package/packages/core/scss/init.scss +0 -3
- package/packages/core/scss/layout/columns.scss +0 -3
- package/packages/core/scss/layout/container.scss +0 -3
- package/packages/core/scss/layout/flex-columns.scss +0 -3
- package/packages/core/scss/layout.scss +0 -3
- package/packages/core/scss/normalize.scss +0 -3
- package/packages/core/scss/state/focus.scss +0 -3
- package/packages/core/scss/state.scss +0 -3
- package/packages/core/scss/theme/color.scss +0 -3
- package/packages/core/scss/theme/typography.scss +0 -3
- package/packages/core/scss/theme.scss +0 -3
- package/packages/core/scss/utilities/alignment.scss +0 -3
- package/packages/core/scss/utilities/background.scss +0 -3
- package/packages/core/scss/utilities/border.scss +0 -3
- package/packages/core/scss/utilities/color.scss +0 -3
- package/packages/core/scss/utilities/container.scss +0 -3
- package/packages/core/scss/utilities/display.scss +0 -3
- package/packages/core/scss/utilities/flex.scss +0 -3
- package/packages/core/scss/utilities/gradient.scss +0 -3
- package/packages/core/scss/utilities/height.scss +0 -3
- package/packages/core/scss/utilities/inset.scss +0 -3
- package/packages/core/scss/utilities/justification.scss +0 -3
- package/packages/core/scss/utilities/list.scss +0 -3
- package/packages/core/scss/utilities/order.scss +0 -3
- package/packages/core/scss/utilities/position.scss +0 -3
- package/packages/core/scss/utilities/ratio.scss +0 -3
- package/packages/core/scss/utilities/spacing.scss +0 -3
- package/packages/core/scss/utilities/typography.scss +0 -3
- package/packages/core/scss/utilities/visibility.scss +0 -3
- package/packages/core/scss/utilities/visually-hidden.scss +0 -3
- package/packages/core/scss/utilities/width.scss +0 -3
- package/packages/core/scss/utilities/z-index.scss +0 -3
- package/packages/core/scss/utilities.scss +0 -3
- package/packages/core/src/js/accordion/Accordion.js +0 -1163
- package/packages/core/src/js/accordion/AccordionItem.js +0 -496
- package/packages/core/src/js/accordion/index.js +0 -10
- package/packages/core/src/js/alert/Alert.js +0 -581
- package/packages/core/src/js/alert/index.js +0 -11
- package/packages/core/src/js/carousel/Carousel.js +0 -1427
- package/packages/core/src/js/carousel/index.js +0 -10
- package/packages/core/src/js/domHelpers.js +0 -37
- package/packages/core/src/js/eventHandlers.js +0 -39
- package/packages/core/src/js/navigation/index.js +0 -36
- package/packages/core/src/js/storage.js +0 -106
- package/packages/core/src/js/validate.js +0 -225
- package/packages/core/src/scss/_defaults.scss +0 -184
- package/packages/core/src/scss/_index.scss +0 -15
- package/packages/core/src/scss/_init.scss +0 -6
- package/packages/core/src/scss/_normalize.scss +0 -197
- package/packages/core/src/scss/_variables.scss +0 -95
- package/packages/core/src/scss/base/_index.scss +0 -6
- package/packages/core/src/scss/base/button/_defaults.scss +0 -49
- package/packages/core/src/scss/base/button/_index.scss +0 -206
- package/packages/core/src/scss/base/button/_mixins.scss +0 -104
- package/packages/core/src/scss/base/button/_variables.scss +0 -252
- package/packages/core/src/scss/base/form/_defaults.scss +0 -24
- package/packages/core/src/scss/base/form/_index.scss +0 -227
- package/packages/core/src/scss/base/form/_variables.scss +0 -245
- package/packages/core/src/scss/base/link/_defaults.scss +0 -35
- package/packages/core/src/scss/base/link/_index.scss +0 -245
- package/packages/core/src/scss/base/link/_variables.scss +0 -370
- package/packages/core/src/scss/base/table/_defaults.scss +0 -68
- package/packages/core/src/scss/base/table/_index.scss +0 -314
- package/packages/core/src/scss/base/table/_variables.scss +0 -309
- package/packages/core/src/scss/component/_index.scss +0 -10
- package/packages/core/src/scss/component/accordion/_defaults.scss +0 -40
- package/packages/core/src/scss/component/accordion/_index.scss +0 -198
- package/packages/core/src/scss/component/accordion/_variables.scss +0 -356
- package/packages/core/src/scss/component/alert/_defaults.scss +0 -49
- package/packages/core/src/scss/component/alert/_index.scss +0 -119
- package/packages/core/src/scss/component/alert/_variables.scss +0 -200
- package/packages/core/src/scss/component/card/_defaults.scss +0 -32
- package/packages/core/src/scss/component/card/_index.scss +0 -212
- package/packages/core/src/scss/component/card/_variables.scss +0 -216
- package/packages/core/src/scss/component/carousel/_defaults.scss +0 -43
- package/packages/core/src/scss/component/carousel/_index.scss +0 -192
- package/packages/core/src/scss/component/carousel/_variables.scss +0 -104
- package/packages/core/src/scss/component/input-group/_defaults.scss +0 -30
- package/packages/core/src/scss/component/input-group/_index.scss +0 -47
- package/packages/core/src/scss/component/input-group/_variables.scss +0 -66
- package/packages/core/src/scss/component/list/_defaults.scss +0 -15
- package/packages/core/src/scss/component/list/_index.scss +0 -52
- package/packages/core/src/scss/component/list/_variables.scss +0 -236
- package/packages/core/src/scss/component/menu/_defaults.scss +0 -57
- package/packages/core/src/scss/component/menu/_index.scss +0 -308
- package/packages/core/src/scss/component/menu/_variables.scss +0 -642
- package/packages/core/src/scss/component/navigation/_defaults.scss +0 -23
- package/packages/core/src/scss/component/navigation/_index.scss +0 -190
- package/packages/core/src/scss/component/navigation/_variables.scss +0 -290
- package/packages/core/src/scss/functions/_container.scss +0 -38
- package/packages/core/src/scss/functions/_important.scss +0 -36
- package/packages/core/src/scss/functions/_screen.scss +0 -38
- package/packages/core/src/scss/functions/_theme.scss +0 -39
- package/packages/core/src/scss/functions/_utility.scss +0 -28
- package/packages/core/src/scss/layout/_index.scss +0 -5
- package/packages/core/src/scss/layout/columns/_defaults.scss +0 -24
- package/packages/core/src/scss/layout/columns/_index.scss +0 -137
- package/packages/core/src/scss/layout/columns/_variables.scss +0 -55
- package/packages/core/src/scss/layout/container/_defaults.scss +0 -35
- package/packages/core/src/scss/layout/container/_index.scss +0 -628
- package/packages/core/src/scss/layout/container/_variables.scss +0 -114
- package/packages/core/src/scss/layout/flex-columns/_defaults.scss +0 -28
- package/packages/core/src/scss/layout/flex-columns/_index.scss +0 -184
- package/packages/core/src/scss/layout/flex-columns/_variables.scss +0 -30
- package/packages/core/src/scss/mixins/_animation.scss +0 -15
- package/packages/core/src/scss/mixins/_container.scss +0 -80
- package/packages/core/src/scss/mixins/_layer.scss +0 -16
- package/packages/core/src/scss/mixins/_screen.scss +0 -77
- package/packages/core/src/scss/mixins/_state.scss +0 -18
- package/packages/core/src/scss/mixins/_theme.scss +0 -15
- package/packages/core/src/scss/mixins/_utility.scss +0 -185
- package/packages/core/src/scss/mixins/_visually-hidden.scss +0 -30
- package/packages/core/src/scss/state/_index.scss +0 -3
- package/packages/core/src/scss/state/focus/_defaults.scss +0 -9
- package/packages/core/src/scss/state/focus/_index.scss +0 -42
- package/packages/core/src/scss/state/focus/_mixins.scss +0 -13
- package/packages/core/src/scss/state/focus/_variables.scss +0 -50
- package/packages/core/src/scss/theme/_index.scss +0 -4
- package/packages/core/src/scss/theme/color/_defaults.scss +0 -143
- package/packages/core/src/scss/theme/color/_index.scss +0 -42
- package/packages/core/src/scss/theme/color/_variables.scss +0 -133
- package/packages/core/src/scss/theme/typography/_defaults.scss +0 -54
- package/packages/core/src/scss/theme/typography/_index.scss +0 -120
- package/packages/core/src/scss/theme/typography/_variables.scss +0 -248
- package/packages/core/src/scss/utilities/_index.scss +0 -23
- package/packages/core/src/scss/utilities/_template/_defaults.scss +0 -41
- package/packages/core/src/scss/utilities/_template/_index.scss +0 -171
- package/packages/core/src/scss/utilities/_template/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/alignment/_defaults.scss +0 -76
- package/packages/core/src/scss/utilities/alignment/_index.scss +0 -336
- package/packages/core/src/scss/utilities/alignment/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/background/_defaults.scss +0 -122
- package/packages/core/src/scss/utilities/background/_index.scss +0 -634
- package/packages/core/src/scss/utilities/background/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/border/_defaults.scss +0 -73
- package/packages/core/src/scss/utilities/border/_index.scss +0 -558
- package/packages/core/src/scss/utilities/border/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/color/_defaults.scss +0 -49
- package/packages/core/src/scss/utilities/color/_index.scss +0 -469
- package/packages/core/src/scss/utilities/color/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/container/_defaults.scss +0 -40
- package/packages/core/src/scss/utilities/container/_index.scss +0 -174
- package/packages/core/src/scss/utilities/container/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/display/_defaults.scss +0 -47
- package/packages/core/src/scss/utilities/display/_index.scss +0 -184
- package/packages/core/src/scss/utilities/display/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/flex/_defaults.scss +0 -99
- package/packages/core/src/scss/utilities/flex/_index.scss +0 -486
- package/packages/core/src/scss/utilities/flex/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/gradient/_defaults.scss +0 -70
- package/packages/core/src/scss/utilities/gradient/_index.scss +0 -696
- package/packages/core/src/scss/utilities/gradient/_variables.scss +0 -29
- package/packages/core/src/scss/utilities/height/_defaults.scss +0 -54
- package/packages/core/src/scss/utilities/height/_index.scss +0 -525
- package/packages/core/src/scss/utilities/height/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/inset/_defaults.scss +0 -55
- package/packages/core/src/scss/utilities/inset/_index.scss +0 -258
- package/packages/core/src/scss/utilities/inset/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/justification/_defaults.scss +0 -73
- package/packages/core/src/scss/utilities/justification/_index.scss +0 -333
- package/packages/core/src/scss/utilities/justification/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/list/_defaults.scss +0 -53
- package/packages/core/src/scss/utilities/list/_index.scss +0 -253
- package/packages/core/src/scss/utilities/list/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/order/_defaults.scss +0 -36
- package/packages/core/src/scss/utilities/order/_index.scss +0 -246
- package/packages/core/src/scss/utilities/order/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/position/_defaults.scss +0 -41
- package/packages/core/src/scss/utilities/position/_index.scss +0 -178
- package/packages/core/src/scss/utilities/position/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/ratio/_defaults.scss +0 -42
- package/packages/core/src/scss/utilities/ratio/_index.scss +0 -188
- package/packages/core/src/scss/utilities/ratio/_variables.scss +0 -9
- package/packages/core/src/scss/utilities/spacing/_defaults.scss +0 -64
- package/packages/core/src/scss/utilities/spacing/_index.scss +0 -970
- package/packages/core/src/scss/utilities/spacing/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/typography/_defaults.scss +0 -58
- package/packages/core/src/scss/utilities/typography/_index.scss +0 -1089
- package/packages/core/src/scss/utilities/typography/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/visibility/_defaults.scss +0 -39
- package/packages/core/src/scss/utilities/visibility/_index.scss +0 -173
- package/packages/core/src/scss/utilities/visibility/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/visually-hidden/_defaults.scss +0 -29
- package/packages/core/src/scss/utilities/visually-hidden/_index.scss +0 -189
- package/packages/core/src/scss/utilities/visually-hidden/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/width/_defaults.scss +0 -54
- package/packages/core/src/scss/utilities/width/_index.scss +0 -525
- package/packages/core/src/scss/utilities/width/_variables.scss +0 -6
- package/packages/core/src/scss/utilities/z-index/_defaults.scss +0 -40
- package/packages/core/src/scss/utilities/z-index/_index.scss +0 -173
- package/packages/core/src/scss/utilities/z-index/_variables.scss +0 -6
- package/packages/core/vite.config.js +0 -28
- package/packages/icons/dist/css/base/button.css +0 -2
- package/packages/icons/dist/css/base/button.css.map +0 -1
- package/packages/icons/dist/css/base/link.css +0 -2
- package/packages/icons/dist/css/base/link.css.map +0 -1
- package/packages/icons/dist/css/base.css +0 -2
- package/packages/icons/dist/css/base.css.map +0 -1
- package/packages/icons/dist/css/component/icon.css +0 -2
- package/packages/icons/dist/css/component/icon.css.map +0 -1
- package/packages/icons/dist/css/component.css +0 -2
- package/packages/icons/dist/css/component.css.map +0 -1
- package/packages/icons/dist/css/icon.css +0 -2
- package/packages/icons/dist/css/icon.css.map +0 -1
- package/packages/icons/package.json +0 -48
- package/packages/icons/scss/base/button.scss +0 -3
- package/packages/icons/scss/base/link.scss +0 -3
- package/packages/icons/scss/base.scss +0 -3
- package/packages/icons/scss/component/icon.scss +0 -3
- package/packages/icons/scss/component.scss +0 -3
- package/packages/icons/scss/icon.scss +0 -3
- package/packages/icons/src/scss/_index.scss +0 -4
- package/packages/icons/src/scss/base/_index.scss +0 -4
- package/packages/icons/src/scss/base/button/_defaults.scss +0 -7
- package/packages/icons/src/scss/base/button/_index.scss +0 -58
- package/packages/icons/src/scss/base/button/_variables.scss +0 -7
- package/packages/icons/src/scss/base/link/_defaults.scss +0 -7
- package/packages/icons/src/scss/base/link/_index.scss +0 -58
- package/packages/icons/src/scss/base/link/_variables.scss +0 -7
- package/packages/icons/src/scss/component/_index.scss +0 -3
- package/packages/icons/src/scss/component/icon/_defaults.scss +0 -30
- package/packages/icons/src/scss/component/icon/_index.scss +0 -60
- package/packages/icons/src/scss/component/icon/_mixins.scss +0 -62
- package/packages/icons/src/scss/component/icon/_variables.scss +0 -24
- package/postcss.config.cjs +0 -11
- package/prettier.config.js +0 -16
- package/stylelint.config.js +0 -22
- package/vite.config.js +0 -28
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
# Alignment Utilities
|
|
2
|
-
|
|
3
|
-
The alignment utilities provide a set of classes to adjust the `align-content`, `align-items`, and `align-self` properties of elements.
|
|
4
|
-
|
|
5
|
-
## Align content
|
|
6
|
-
|
|
7
|
-
| Class Name | Property | Value |
|
|
8
|
-
| --- | --- | --- |
|
|
9
|
-
| [`.align-content-normal`](#align-content-normal) | align-content | normal |
|
|
10
|
-
| [`.align-content-start`](#align-content-start) | align-content | flex-start |
|
|
11
|
-
| [`.align-content-end`](#align-content-end) | align-content | flex-end |
|
|
12
|
-
| [`.align-content-center`](#align-content-center) | align-content | center |
|
|
13
|
-
| [`.align-content-between`](#align-content-between) | align-content | space-between |
|
|
14
|
-
| [`.align-content-around`](#align-content-around) | align-content | space-around |
|
|
15
|
-
| [`.align-content-evenly`](#align-content-evenly) | align-content | space-evenly |
|
|
16
|
-
| [`.align-content-baseline`](#align-content-baseline) | align-content | baseline |
|
|
17
|
-
| [`.align-content-stretch`](#align-content-stretch) | align-content | stretch |
|
|
18
|
-
|
|
19
|
-
### `.align-content-normal`
|
|
20
|
-
|
|
21
|
-
Sets the `align-content` property to `normal`.
|
|
22
|
-
|
|
23
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-normal p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
24
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
25
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
26
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
```html
|
|
30
|
-
<div class="display-grid align-content-normal">
|
|
31
|
-
<!-- Content here -->
|
|
32
|
-
</div>
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### `.align-content-start`
|
|
36
|
-
|
|
37
|
-
Sets the `align-content` property to `flex-start`.
|
|
38
|
-
|
|
39
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-start p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
40
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
41
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
42
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
```html
|
|
46
|
-
<div class="display-grid align-content-start">
|
|
47
|
-
<!-- Content here -->
|
|
48
|
-
</div>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### `.align-content-end`
|
|
52
|
-
|
|
53
|
-
Sets the `align-content` property to `flex-end`.
|
|
54
|
-
|
|
55
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-end p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
56
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
57
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
58
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
```html
|
|
62
|
-
<div class="display-grid align-content-end">
|
|
63
|
-
<!-- Content here -->
|
|
64
|
-
</div>
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### `.align-content-center`
|
|
68
|
-
|
|
69
|
-
Sets the `align-content` property to `center`.
|
|
70
|
-
|
|
71
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-center p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
72
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
73
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
74
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
```html
|
|
78
|
-
<div class="display-grid align-content-center">
|
|
79
|
-
<!-- Content here -->
|
|
80
|
-
</div>
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### `.align-content-between`
|
|
84
|
-
|
|
85
|
-
Sets the `align-content` property to `space-between`.
|
|
86
|
-
|
|
87
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-between p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
88
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
89
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
90
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
91
|
-
</div>
|
|
92
|
-
|
|
93
|
-
```html
|
|
94
|
-
<div class="display-grid align-content-between">
|
|
95
|
-
<!-- Content here -->
|
|
96
|
-
</div>
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### `.align-content-around`
|
|
100
|
-
|
|
101
|
-
Sets the `align-content` property to `space-around`.
|
|
102
|
-
|
|
103
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-around p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
104
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
105
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
106
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
```html
|
|
110
|
-
<div class="display-grid align-content-around">
|
|
111
|
-
<!-- Content here -->
|
|
112
|
-
</div>
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### `.align-content-evenly`
|
|
116
|
-
|
|
117
|
-
Sets the `align-content` property to `space-evenly`.
|
|
118
|
-
|
|
119
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-evenly p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
120
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
121
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
122
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
123
|
-
</div>
|
|
124
|
-
|
|
125
|
-
```html
|
|
126
|
-
<div class="display-grid align-content-evenly">
|
|
127
|
-
<!-- Content here -->
|
|
128
|
-
</div>
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### `.align-content-baseline`
|
|
132
|
-
|
|
133
|
-
Sets the `align-content` property to `baseline`.
|
|
134
|
-
|
|
135
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-baseline p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
136
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
137
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
138
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
139
|
-
</div>
|
|
140
|
-
|
|
141
|
-
```html
|
|
142
|
-
<div class="display-grid align-content-baseline">
|
|
143
|
-
<!-- Content here -->
|
|
144
|
-
</div>
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
### `.align-content-stretch`
|
|
148
|
-
|
|
149
|
-
Sets the `align-content` property to `stretch`.
|
|
150
|
-
|
|
151
|
-
<div class="w-full display-grid g-4 bg-primary-100 bordered border-primary-700 align-content-stretch p-5 h-10" style="grid-template-columns: repeat(3, min-content); grid-template-rows: min-content;">
|
|
152
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
153
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
154
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
155
|
-
</div>
|
|
156
|
-
|
|
157
|
-
```html
|
|
158
|
-
<div class="display-grid align-content-start">
|
|
159
|
-
<!-- Content here -->
|
|
160
|
-
</div>
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
## Align items
|
|
164
|
-
|
|
165
|
-
| Class Name | Property | Value |
|
|
166
|
-
| --- | --- | --- |
|
|
167
|
-
| `.align-items-start` | align-items | start |
|
|
168
|
-
| `.align-items-end` | align-items | end |
|
|
169
|
-
| `.align-items-center` | align-items | center |
|
|
170
|
-
| `.align-items-baseline` | align-items | baseline |
|
|
171
|
-
| `.align-items-stretch` | align-items | stretch |
|
|
172
|
-
|
|
173
|
-
### `.align-items-start`
|
|
174
|
-
|
|
175
|
-
Sets the `align-items` property to `start`.
|
|
176
|
-
|
|
177
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 align-items-start p-5 h-10">
|
|
178
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
179
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
180
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
181
|
-
</div>
|
|
182
|
-
|
|
183
|
-
```html
|
|
184
|
-
<div class="display-flex align-items-start">
|
|
185
|
-
<!-- Content here -->
|
|
186
|
-
</div>
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
### `.align-items-end`
|
|
190
|
-
|
|
191
|
-
Sets the `align-items` property to `end`.
|
|
192
|
-
|
|
193
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 align-items-end p-5 h-10">
|
|
194
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
195
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
196
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
197
|
-
</div>
|
|
198
|
-
|
|
199
|
-
```html
|
|
200
|
-
<div class="display-flex align-items-end">
|
|
201
|
-
<!-- Content here -->
|
|
202
|
-
</div>
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### `.align-items-center`
|
|
206
|
-
|
|
207
|
-
Sets the `align-items` property to `center`.
|
|
208
|
-
|
|
209
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 align-items-center p-5 h-10">
|
|
210
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
211
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
212
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
213
|
-
</div>
|
|
214
|
-
|
|
215
|
-
```html
|
|
216
|
-
<div class="display-flex align-items-center">
|
|
217
|
-
<!-- Content here -->
|
|
218
|
-
</div>
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
### `.align-items-baseline`
|
|
222
|
-
|
|
223
|
-
Sets the `align-items` property to `baseline`.
|
|
224
|
-
|
|
225
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 align-items-baseline p-5 h-10">
|
|
226
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
227
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
228
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
229
|
-
</div>
|
|
230
|
-
|
|
231
|
-
```html
|
|
232
|
-
<div class="display-flex align-items-baseline">
|
|
233
|
-
<!-- Content here -->
|
|
234
|
-
</div>
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
### `.align-items-stretch`
|
|
238
|
-
|
|
239
|
-
Sets the `align-items` property to `stretch`.
|
|
240
|
-
|
|
241
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 align-items-stretch p-5 h-10">
|
|
242
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
243
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
244
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4">Item</div>
|
|
245
|
-
</div>
|
|
246
|
-
|
|
247
|
-
```html
|
|
248
|
-
<div class="display-flex align-items-stretch">
|
|
249
|
-
<!-- Content here -->
|
|
250
|
-
</div>
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
## Align self
|
|
254
|
-
|
|
255
|
-
| Class Name | Property | Value |
|
|
256
|
-
| --- | --- | --- |
|
|
257
|
-
| `.align-self-auto` | align-self | auto |
|
|
258
|
-
| `.align-self-start` | align-self | start |
|
|
259
|
-
| `.align-self-end` | align-self | end |
|
|
260
|
-
| `.align-self-center` | align-self | center |
|
|
261
|
-
| `.align-self-baseline` | align-self | baseline |
|
|
262
|
-
| `.align-self-stretch` | align-self | stretch |
|
|
263
|
-
|
|
264
|
-
### `.align-self-auto`
|
|
265
|
-
|
|
266
|
-
Sets the `align-self` property to `auto`.
|
|
267
|
-
|
|
268
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
269
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-auto">Item</div>
|
|
270
|
-
</div>
|
|
271
|
-
|
|
272
|
-
```html
|
|
273
|
-
<div class="display-flex">
|
|
274
|
-
<div class="align-self-auto">
|
|
275
|
-
<!-- Content here -->
|
|
276
|
-
</div>
|
|
277
|
-
</div>
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
### `.align-self-start`
|
|
281
|
-
|
|
282
|
-
Sets the `align-self` property to `start`.
|
|
283
|
-
|
|
284
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
285
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-start">Item</div>
|
|
286
|
-
</div>
|
|
287
|
-
|
|
288
|
-
```html
|
|
289
|
-
<div class="display-flex">
|
|
290
|
-
<div class="align-self-start">
|
|
291
|
-
<!-- Content here -->
|
|
292
|
-
</div>
|
|
293
|
-
</div>
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
### `.align-self-end`
|
|
297
|
-
|
|
298
|
-
Sets the `align-self` property to `end`.
|
|
299
|
-
|
|
300
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
301
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-end">Item</div>
|
|
302
|
-
</div>
|
|
303
|
-
|
|
304
|
-
```html
|
|
305
|
-
<div class="display-flex">
|
|
306
|
-
<div class="align-self-end">
|
|
307
|
-
<!-- Content here -->
|
|
308
|
-
</div>
|
|
309
|
-
</div>
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
### `.align-self-end`
|
|
313
|
-
|
|
314
|
-
Sets the `align-self` property to `end`.
|
|
315
|
-
|
|
316
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
317
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-end">Item</div>
|
|
318
|
-
</div>
|
|
319
|
-
|
|
320
|
-
```html
|
|
321
|
-
<div class="display-flex">
|
|
322
|
-
<div class="align-self-end">
|
|
323
|
-
<!-- Content here -->
|
|
324
|
-
</div>
|
|
325
|
-
</div>
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
### `.align-self-center`
|
|
329
|
-
|
|
330
|
-
Sets the `align-self` property to `center`.
|
|
331
|
-
|
|
332
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
333
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-center">Item</div>
|
|
334
|
-
</div>
|
|
335
|
-
|
|
336
|
-
```html
|
|
337
|
-
<div class="display-flex">
|
|
338
|
-
<div class="align-self-center">
|
|
339
|
-
<!-- Content here -->
|
|
340
|
-
</div>
|
|
341
|
-
</div>
|
|
342
|
-
```
|
|
343
|
-
|
|
344
|
-
### `.align-self-baseline`
|
|
345
|
-
|
|
346
|
-
Sets the `align-self` property to `baseline`.
|
|
347
|
-
|
|
348
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
349
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-baseline">Item</div>
|
|
350
|
-
</div>
|
|
351
|
-
|
|
352
|
-
```html
|
|
353
|
-
<div class="display-flex">
|
|
354
|
-
<div class="align-self-baseline">
|
|
355
|
-
<!-- Content here -->
|
|
356
|
-
</div>
|
|
357
|
-
</div>
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### `.align-self-stretch`
|
|
361
|
-
|
|
362
|
-
Sets the `align-self` property to `stretch`.
|
|
363
|
-
|
|
364
|
-
<div class="w-full display-flex g-4 bg-primary-100 bordered border-primary-700 p-5 h-10">
|
|
365
|
-
<div class="bg-primary-200 bordered border-tertiary-700 p-4 align-self-stretch">Item</div>
|
|
366
|
-
</div>
|
|
367
|
-
|
|
368
|
-
```html
|
|
369
|
-
<div class="display-flex">
|
|
370
|
-
<div class="align-self-stretch">
|
|
371
|
-
<!-- Content here -->
|
|
372
|
-
</div>
|
|
373
|
-
</div>
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
## Customization
|
|
377
|
-
|
|
378
|
-
To customize the alignment utilities, you can use the following variables.
|
|
379
|
-
|
|
380
|
-
| Variable | Default Value | Description |
|
|
381
|
-
| --- | --- | --- |
|
|
382
|
-
| `$selector-base` | `"."` | The base selector for the utility classes. |
|
|
383
|
-
| `$use-important` | `true` | A flag to determine if the `!important` flag should be added to the utility classes. |
|
|
384
|
-
| `$screen-aware` | `false` | A flag to generate screen-aware utility classes. |
|
|
385
|
-
| `$theme-aware` | `false` | A flag to generate theme-aware utility classes. |
|
|
386
|
-
| `$state-aware` | `false` | A flag to generate state-aware utility classes. |
|
|
387
|
-
| `$container-aware` | `false` | A flag to generate container-aware utility classes. |
|
|
388
|
-
| `$screen-aware-separator` | `":"` | The separator for screen-aware utility classes. |
|
|
389
|
-
| `$theme-aware-separator` | `":"` | The separator for theme-aware utility classes. |
|
|
390
|
-
| `$state-aware-separator` | `":"` | The separator for state-aware utility classes. |
|
|
391
|
-
| `$container-aware-separator` | `":"` | The separator for container-aware utility classes. |
|
|
392
|
-
| `$screen-aware-selector-prefix` | `""` | The prefix for the screen-aware utility classes. |
|
|
393
|
-
| `$theme-aware-selector-prefix` | `""` | The prefix for the theme-aware utility classes. |
|
|
394
|
-
| `$state-aware-selector-prefix` | `""` | The prefix for the state-aware utility classes. |
|
|
395
|
-
| `$container-aware-selector-prefix` | `"cq:"` | The prefix for the container-aware utility classes. |
|
|
396
|
-
| `$align-content-selector-prefix` | `"align-content-"` | The prefix for the align content utility classes. |
|
|
397
|
-
| `$custom-align-content-properties` | `()` | The custom properties and values for the align content utility classes. |
|
|
398
|
-
| `$align-items-selector-prefix` | `"align-items-"` | The prefix for the `.align-items-utility` utility classes. |
|
|
399
|
-
| `$custom-align-items-properties` | `()` | The custom properties and values for the `.align-items-utility` utility classes. |
|
|
400
|
-
| `$align-self-selector-prefix` | `"align-self-"` | The prefix for the `.align-self-utility` utility classes. |
|
|
401
|
-
| `$custom-align-self-properties` | `()` | The custom properties and values for the `.align-self-utility` utility classes. |
|
|
402
|
-
|
|
403
|
-
## Responsive variants
|
|
404
|
-
|
|
405
|
-
To generate responsive alignment utilities, you can set the `$screen-aware`, `$theme-aware`, `$state-aware`, or `$container-aware` variables to `true`.
|
|
406
|
-
|
|
407
|
-
By default, no responsive alignment utilities are generated.
|
|
408
|
-
|
|
409
|
-
::: tip :pencil2: Note
|
|
410
|
-
For more information on responsive variants, refer to the [Responsive utility classes](./responsive-classes) documentation.
|
|
411
|
-
:::
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
# Background Utilities
|
|
2
|
-
|
|
3
|
-
The background utilities provide a set of classes to adjust the `bg-attachment`, `bg-clip`, `bg-image`, `bg-origin`, `bg-position`, `bg-repeat`, and `bg-size` properties of elements.
|
|
4
|
-
|
|
5
|
-
::: tip :pencil2: Note
|
|
6
|
-
For `background-color` utility classes, please refer to the [color utilities](./color).
|
|
7
|
-
:::
|
|
8
|
-
|
|
9
|
-
## Background Attachment
|
|
10
|
-
|
|
11
|
-
| Class Name | Property | Value |
|
|
12
|
-
| --- | --- | --- |
|
|
13
|
-
| [`.bg-attachment-scroll`](#bg-attachment-scroll) | `background-attachment` | `scroll` |
|
|
14
|
-
| [`.bg-attachment-fixed`](#bg-attachment-fixed) | `background-attachment` | `fixed` |
|
|
15
|
-
| [`.bg-attachment-local`](#bg-attachment-local) | `background-attachment` | `local` |
|
|
16
|
-
|
|
17
|
-
### `.bg-attachment-scroll`
|
|
18
|
-
|
|
19
|
-
Sets the `background-attachment` property to `scroll`.
|
|
20
|
-
|
|
21
|
-
### `.bg-attachment-fixed`
|
|
22
|
-
|
|
23
|
-
Sets the `background-attachment` property to `fixed`.
|
|
24
|
-
|
|
25
|
-
### `.bg-attachment-local`
|
|
26
|
-
|
|
27
|
-
Sets the `background-attachment` property to `local`.
|
|
28
|
-
|
|
29
|
-
## Background Clip
|
|
30
|
-
|
|
31
|
-
| Class Name | Property | Value |
|
|
32
|
-
| --- | --- | --- |
|
|
33
|
-
| [`.bg-clip-border-box`](#bg-clip-border-box) | `background-clip` | `border-box` |
|
|
34
|
-
| [`.bg-clip-padding-box`](#bg-clip-padding-box) | `background-clip` | `padding-box` |
|
|
35
|
-
| [`.bg-clip-content-box`](#bg-clip-content-box) | `background-clip` | `content-box` |
|
|
36
|
-
| [`.bg-clip-text`](#bg-clip-text) | `background-clip` | `text` |
|
|
37
|
-
|
|
38
|
-
### `.bg-clip-border-box`
|
|
39
|
-
|
|
40
|
-
Sets the `background-clip` property to `border-box`.
|
|
41
|
-
|
|
42
|
-
### `.bg-clip-padding-box`
|
|
43
|
-
|
|
44
|
-
Sets the `background-clip` property to `padding-box`.
|
|
45
|
-
|
|
46
|
-
### `.bg-clip-content-box`
|
|
47
|
-
|
|
48
|
-
Sets the `background-clip` property to `content-box`.
|
|
49
|
-
|
|
50
|
-
### `.bg-clip-text`
|
|
51
|
-
|
|
52
|
-
Sets the `background-clip` property to `text`.
|
|
53
|
-
|
|
54
|
-
## Background Image
|
|
55
|
-
|
|
56
|
-
| Class Name | Property | Value |
|
|
57
|
-
| --- | --- | --- |
|
|
58
|
-
| [`.bg-image-none`](#bg-image-none) | `background-image` | `none` |
|
|
59
|
-
|
|
60
|
-
### `.bg-image-none`
|
|
61
|
-
|
|
62
|
-
Sets the `background-image` property to `none`.
|
|
63
|
-
|
|
64
|
-
## Background Position
|
|
65
|
-
|
|
66
|
-
| Class Name | Property | Value |
|
|
67
|
-
| --- | --- | --- |
|
|
68
|
-
| [`.bg-position-top`](#bg-position-top) | `background-position` | `top` |
|
|
69
|
-
| [`.bg-position-right`](#bg-position-right) | `background-position` | `right` |
|
|
70
|
-
| [`.bg-position-bottom`](#bg-position-bottom) | `background-position` | `bottom` |
|
|
71
|
-
| [`.bg-position-left`](#bg-position-left) | `background-position` | `left` |
|
|
72
|
-
| [`.bg-position-center`](#bg-position-center) | `background-position` | `center` |
|
|
73
|
-
|
|
74
|
-
### `.bg-position-top`
|
|
75
|
-
|
|
76
|
-
Sets the `background-position` property to `top`.
|
|
77
|
-
|
|
78
|
-
### `.bg-position-right`
|
|
79
|
-
|
|
80
|
-
Sets the `background-position` property to `right`.
|
|
81
|
-
|
|
82
|
-
### `.bg-position-bottom`
|
|
83
|
-
|
|
84
|
-
Sets the `background-position` property to `bottom`.
|
|
85
|
-
|
|
86
|
-
### `.bg-position-left`
|
|
87
|
-
|
|
88
|
-
Sets the `background-position` property to `left`.
|
|
89
|
-
|
|
90
|
-
### `.bg-position-center`
|
|
91
|
-
|
|
92
|
-
Sets the `background-position` property to `center`.
|
|
93
|
-
|
|
94
|
-
## Background Repeat
|
|
95
|
-
|
|
96
|
-
| Class Name | Property | Value |
|
|
97
|
-
| --- | --- | --- |
|
|
98
|
-
| [`.bg-repeat-repeat`](#bg-repeat-repeat) | `background-repeat` | `repeat` |
|
|
99
|
-
| [`.bg-repeat-repeat-x`](#bg-repeat-repeat-x) | `background-repeat` | `repeat-x` |
|
|
100
|
-
| [`.bg-repeat-repeat-y`](#bg-repeat-repeat-y) | `background-repeat` | `repeat-y` |
|
|
101
|
-
| [`.bg-repeat-space`](#bg-repeat-space) | `background-repeat` | `space` |
|
|
102
|
-
| [`.bg-repeat-round`](#bg-repeat-round) | `background-repeat` | `round` |
|
|
103
|
-
| [`.bg-repeat-no-repeat`](#bg-repeat-no-repeat) | `background-repeat` | `no-repeat` |
|
|
104
|
-
|
|
105
|
-
### `.bg-repeat-repeat`
|
|
106
|
-
|
|
107
|
-
Sets the `background-repeat` property to `repeat`.
|
|
108
|
-
|
|
109
|
-
### `.bg-repeat-repeat-x`
|
|
110
|
-
|
|
111
|
-
Sets the `background-repeat` property to `repeat-x`.
|
|
112
|
-
|
|
113
|
-
### `.bg-repeat-repeat-y`
|
|
114
|
-
|
|
115
|
-
Sets the `background-repeat` property to `repeat-y`.
|
|
116
|
-
|
|
117
|
-
### `.bg-repeat-space`
|
|
118
|
-
|
|
119
|
-
Sets the `background-repeat` property to `space`.
|
|
120
|
-
|
|
121
|
-
### `.bg-repeat-round`
|
|
122
|
-
|
|
123
|
-
Sets the `background-repeat` property to `round`.
|
|
124
|
-
|
|
125
|
-
### `.bg-repeat-no-repeat`
|
|
126
|
-
|
|
127
|
-
Sets the `background-repeat` property to `no-repeat`.
|
|
128
|
-
|
|
129
|
-
## Background Size
|
|
130
|
-
|
|
131
|
-
| Class Name | Property | Value |
|
|
132
|
-
| --- | --- | --- |
|
|
133
|
-
| [`.bg-size-auto`](#bg-size-auto) | `background-size` | `auto` |
|
|
134
|
-
| [`.bg-size-cover`](#bg-size-cover) | `background-size` | `cover` |
|
|
135
|
-
| [`.bg-size-contain`](#bg-size-contain) | `background-size` | `contain` |
|
|
136
|
-
|
|
137
|
-
### `.bg-size-auto`
|
|
138
|
-
|
|
139
|
-
Sets the `background-size` property to `auto`.
|
|
140
|
-
|
|
141
|
-
### `.bg-size-cover`
|
|
142
|
-
|
|
143
|
-
Sets the `background-size` property to `cover`.
|
|
144
|
-
|
|
145
|
-
### `.bg-size-contain`
|
|
146
|
-
|
|
147
|
-
Sets the `background-size` property to `contain`.
|
|
148
|
-
|
|
149
|
-
## Customization
|
|
150
|
-
|
|
151
|
-
To customize the background utilities, you can use the following variables.
|
|
152
|
-
|
|
153
|
-
| Variable | Default Value | Description |
|
|
154
|
-
| --- | --- | --- |
|
|
155
|
-
| `$selector-base` | `"."` | The base selector for the utility classes. |
|
|
156
|
-
| `$use-important` | `true` | A flag to determine if the `!important` flag should be added to the utility classes. |
|
|
157
|
-
| `$screen-aware` | `false` | A flag to generate screen-aware utility classes. |
|
|
158
|
-
| `$theme-aware` | `false` | A flag to generate theme-aware utility classes. |
|
|
159
|
-
| `$state-aware` | `false` | A flag to generate state-aware utility classes. |
|
|
160
|
-
| `$container-aware` | `false` | A flag to generate container-aware utility classes. |
|
|
161
|
-
| `$screen-aware-separator` | `":"` | The separator for screen-aware utility classes. |
|
|
162
|
-
| `$theme-aware-separator` | `":"` | The separator for theme-aware utility classes. |
|
|
163
|
-
| `$state-aware-separator` | `":"` | The separator for state-aware utility classes. |
|
|
164
|
-
| `$container-aware-separator` | `":"` | The separator for container-aware utility classes. |
|
|
165
|
-
| `$screen-aware-selector-prefix` | `""` | The prefix for the screen-aware utility classes. |
|
|
166
|
-
| `$theme-aware-selector-prefix` | `""` | The prefix for the theme-aware utility classes. |
|
|
167
|
-
| `$state-aware-selector-prefix` | `""` | The prefix for the state-aware utility classes. |
|
|
168
|
-
| `$container-aware-selector-prefix` | `"cq:"` | The prefix for the container-aware utility classes. |
|
|
169
|
-
| `$background-attachment-selector-prefix` | `"bg-attachment-"` | The prefix for the background attachment utility classes. |
|
|
170
|
-
| `$custom-background-attachment-properties` | `()` | The custom properties and values for the background attachment utility classes. |
|
|
171
|
-
| `$background-clip-selector-prefix` | `"bg-clip-"` | The prefix for the background clip utility classes. |
|
|
172
|
-
| `$custom-background-clip-properties` | `()` | The custom properties and values for the background clip utility classes. |
|
|
173
|
-
| `$background-image-selector-prefix` | `"bg-image-"` | The prefix for the background image utility classes. |
|
|
174
|
-
| `$custom-background-image-properties` | `()` | The custom properties and values for the background image utility classes. |
|
|
175
|
-
| `$background-origin-selector-prefix` | `"bg-origin-"` | The prefix for the background origin utility classes. |
|
|
176
|
-
| `$custom-background-origin-properties` | `()` | The custom properties and values for the background origin utility classes. |
|
|
177
|
-
| `$background-position-selector-prefix` | `"bg-position-"` | The prefix for the background position utility classes. |
|
|
178
|
-
| `$custom-background-position-properties` | `()` | The custom properties and values for the background position utility classes. |
|
|
179
|
-
| `$background-repeat-selector-prefix` | `"bg-repeat-"` | The prefix for the background repeat utility classes. |
|
|
180
|
-
| `$custom-background-repeat-properties` | `()` | The custom properties and values for the background repeat utility classes. |
|
|
181
|
-
| `$background-size-selector-prefix` | `"bg-size-"` | The prefix for the background size utility classes. |
|
|
182
|
-
| `$custom-background-size-properties` | `()` | The custom properties and values for the background size utility classes. |
|
|
183
|
-
|
|
184
|
-
## Responsive variants
|
|
185
|
-
|
|
186
|
-
To generate responsive background utilities, you can set the `$screen-aware`, `$theme-aware`, `$state-aware`, or `$container-aware` variables to `true`.
|
|
187
|
-
|
|
188
|
-
By default, no responsive alignment utilities are generated.
|
|
189
|
-
|
|
190
|
-
::: tip :pencil2: Note
|
|
191
|
-
For more information on responsive variants, refer to the [Responsive utility classes](./responsive-classes) documentation.
|
|
192
|
-
:::
|