@ulu/frontend 0.1.0-beta.1 → 0.1.0-beta.3
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/CHANGELOG.md +13 -2
- package/docs-dev/assets/chunks/modulepreload-polyfill.DaKOjhqt.js +37 -0
- package/docs-dev/assets/favicons/android-chrome-192x192.png +0 -0
- package/docs-dev/assets/favicons/android-chrome-256x256.png +0 -0
- package/docs-dev/assets/favicons/apple-touch-icon.png +0 -0
- package/docs-dev/assets/favicons/browserconfig.xml +9 -0
- package/docs-dev/assets/favicons/favicon-16x16.png +0 -0
- package/docs-dev/assets/favicons/favicon-32x32.png +0 -0
- package/docs-dev/assets/favicons/favicon.ico +0 -0
- package/docs-dev/assets/favicons/mstile-150x150.png +0 -0
- package/docs-dev/assets/favicons/safari-pinned-tab.svg +1 -0
- package/docs-dev/assets/favicons/site.webmanifest +19 -0
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/LICENSE.txt +92 -0
- package/docs-dev/assets/fonts/inter/inter.css +37 -0
- package/docs-dev/assets/main.js +15657 -0
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.credits.txt +2 -0
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.mp4 +0 -0
- package/docs-dev/assets/placeholder/image-1-attribution.txt +7 -0
- package/docs-dev/assets/placeholder/image-1-darkened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1-lightened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1.jpg +0 -0
- package/docs-dev/assets/style.css +18702 -0
- package/docs-dev/demos/accordion/index.html +4809 -0
- package/docs-dev/demos/button/index.html +4621 -0
- package/docs-dev/demos/callout/index.html +4661 -0
- package/docs-dev/demos/captioned-figure/index.html +4683 -0
- package/docs-dev/demos/card/index.html +5040 -0
- package/docs-dev/demos/css-icons/index.html +5272 -0
- package/docs-dev/demos/data-grid/index.html +5606 -0
- package/docs-dev/demos/data-table/index.html +4697 -0
- package/docs-dev/demos/file-save/index.html +4672 -0
- package/docs-dev/demos/flipcard/index.html +5221 -0
- package/docs-dev/demos/form-theme/index.html +4852 -0
- package/docs-dev/demos/hero/index.html +301 -0
- package/docs-dev/demos/image-grid/index.html +157 -0
- package/docs-dev/demos/index.html +4610 -0
- package/docs-dev/demos/menu-stack/index.html +4751 -0
- package/docs-dev/demos/modals/index.html +4718 -0
- package/docs-dev/demos/nav-strip/index.html +4758 -0
- package/docs-dev/demos/overlay-section/index.html +4628 -0
- package/docs-dev/demos/popovers/index.html +4628 -0
- package/docs-dev/demos/print/index.html +4630 -0
- package/docs-dev/demos/pull-quote/index.html +4629 -0
- package/docs-dev/demos/rule/index.html +4679 -0
- package/docs-dev/demos/scroll-slider/index.html +204 -0
- package/docs-dev/demos/scrollpoints/index.html +4648 -0
- package/docs-dev/demos/slider/index.html +164 -0
- package/docs-dev/demos/spoke-spinner/index.html +4625 -0
- package/docs-dev/demos/tabs/index.html +4714 -0
- package/docs-dev/demos/tag/index.html +4630 -0
- package/docs-dev/demos/tile-grid-overlay/index.html +382 -0
- package/docs-dev/demos/tiles/index.html +4879 -0
- package/docs-dev/demos/tooltip/index.html +4658 -0
- package/docs-dev/guide/building-stylesheet/index.html +4679 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +4731 -0
- package/docs-dev/guide/index.html +4612 -0
- package/docs-dev/index.html +4659 -0
- package/docs-dev/javascript/events/index.html +4770 -0
- package/docs-dev/javascript/index.html +4625 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +5070 -0
- package/docs-dev/javascript/ui-collapsible/index.html +4737 -0
- package/docs-dev/javascript/ui-dialog/index.html +4771 -0
- package/docs-dev/javascript/ui-flipcard/index.html +4621 -0
- package/docs-dev/javascript/ui-grid/index.html +4678 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +4760 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +4610 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +4628 -0
- package/docs-dev/javascript/ui-page/index.html +4625 -0
- package/docs-dev/javascript/ui-popover/index.html +4664 -0
- package/docs-dev/javascript/ui-print/index.html +4677 -0
- package/docs-dev/javascript/ui-print-details/index.html +4640 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +4610 -0
- package/docs-dev/javascript/ui-proxy-click/index.html +4654 -0
- package/docs-dev/javascript/ui-resizer/index.html +4680 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +4639 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +4857 -0
- package/docs-dev/javascript/ui-slider/index.html +4621 -0
- package/docs-dev/javascript/ui-tabs/index.html +4742 -0
- package/docs-dev/javascript/ui-tooltip/index.html +4757 -0
- package/docs-dev/javascript/utils-class-logger/index.html +4745 -0
- package/docs-dev/javascript/utils-dom/index.html +4790 -0
- package/docs-dev/javascript/utils-file-save/index.html +4782 -0
- package/docs-dev/javascript/utils-floating-ui/index.html +4642 -0
- package/docs-dev/javascript/utils-id/index.html +4652 -0
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +4660 -0
- package/docs-dev/sass/base/color/index.html +4643 -0
- package/docs-dev/sass/base/elements/index.html +4814 -0
- package/docs-dev/sass/base/index/index.html +4813 -0
- package/docs-dev/sass/base/index.html +4619 -0
- package/docs-dev/sass/base/keyframes/index.html +4645 -0
- package/docs-dev/sass/base/layout/index.html +4805 -0
- package/docs-dev/sass/base/normalize/index.html +4653 -0
- package/docs-dev/sass/base/print/index.html +4649 -0
- package/docs-dev/sass/base/root/index.html +4669 -0
- package/docs-dev/sass/base/typography/index.html +4669 -0
- package/docs-dev/sass/components/accordion/index.html +4971 -0
- package/docs-dev/sass/components/adaptive-spacing/index.html +4914 -0
- package/docs-dev/sass/components/badge/index.html +4862 -0
- package/docs-dev/sass/components/button/index.html +4798 -0
- package/docs-dev/sass/components/button-verbose/index.html +4910 -0
- package/docs-dev/sass/components/callout/index.html +4937 -0
- package/docs-dev/sass/components/captioned-figure/index.html +4788 -0
- package/docs-dev/sass/components/card/index.html +5146 -0
- package/docs-dev/sass/components/card-grid/index.html +4812 -0
- package/docs-dev/sass/components/css-icon/index.html +4909 -0
- package/docs-dev/sass/components/data-grid/index.html +5044 -0
- package/docs-dev/sass/components/data-table/index.html +4795 -0
- package/docs-dev/sass/components/fill-context/index.html +4678 -0
- package/docs-dev/sass/components/flipcard/index.html +4948 -0
- package/docs-dev/sass/components/flipcard-grid/index.html +4799 -0
- package/docs-dev/sass/components/form-theme/index.html +5428 -0
- package/docs-dev/sass/components/hero/index.html +4800 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +4797 -0
- package/docs-dev/sass/components/image-grid/index.html +4804 -0
- package/docs-dev/sass/components/index/index.html +4848 -0
- package/docs-dev/sass/components/index.html +4619 -0
- package/docs-dev/sass/components/links/index.html +4648 -0
- package/docs-dev/sass/components/list-lines/index.html +4843 -0
- package/docs-dev/sass/components/list-ordered/index.html +4644 -0
- package/docs-dev/sass/components/list-unordered/index.html +4648 -0
- package/docs-dev/sass/components/menu-stack/index.html +4978 -0
- package/docs-dev/sass/components/modal/index.html +5025 -0
- package/docs-dev/sass/components/nav-strip/index.html +4898 -0
- package/docs-dev/sass/components/overlay-section/index.html +4842 -0
- package/docs-dev/sass/components/pager/index.html +4960 -0
- package/docs-dev/sass/components/placeholder-block/index.html +4882 -0
- package/docs-dev/sass/components/popover/index.html +4957 -0
- package/docs-dev/sass/components/pull-quote/index.html +4856 -0
- package/docs-dev/sass/components/ratio-box/index.html +4802 -0
- package/docs-dev/sass/components/rule/index.html +4804 -0
- package/docs-dev/sass/components/scroll-slider/index.html +4915 -0
- package/docs-dev/sass/components/skip-link/index.html +4788 -0
- package/docs-dev/sass/components/slider/index.html +4924 -0
- package/docs-dev/sass/components/spoke-spinner/index.html +4862 -0
- package/docs-dev/sass/components/tabs/index.html +4938 -0
- package/docs-dev/sass/components/tag/index.html +4963 -0
- package/docs-dev/sass/components/tile-button/index.html +4843 -0
- package/docs-dev/sass/components/tile-grid/index.html +4978 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +4779 -0
- package/docs-dev/sass/components/vignette/index.html +4792 -0
- package/docs-dev/sass/components/wysiwyg/index.html +4808 -0
- package/docs-dev/sass/core/breakpoint/index.html +5401 -0
- package/docs-dev/sass/core/button/index.html +5535 -0
- package/docs-dev/sass/core/color/index.html +5385 -0
- package/docs-dev/sass/core/cssvar/index.html +5410 -0
- package/docs-dev/sass/core/element/index.html +5533 -0
- package/docs-dev/sass/core/index.html +4608 -0
- package/docs-dev/sass/core/layout/index.html +5368 -0
- package/docs-dev/sass/core/path/index.html +4777 -0
- package/docs-dev/sass/core/selector/index.html +4856 -0
- package/docs-dev/sass/core/typography/index.html +5782 -0
- package/docs-dev/sass/core/units/index.html +4815 -0
- package/docs-dev/sass/core/utils/index.html +6256 -0
- package/docs-dev/sass/helpers/color/index.html +4643 -0
- package/docs-dev/sass/helpers/display/index.html +4648 -0
- package/docs-dev/sass/helpers/index/index.html +4810 -0
- package/docs-dev/sass/helpers/index.html +4619 -0
- package/docs-dev/sass/helpers/print/index.html +4648 -0
- package/docs-dev/sass/helpers/typography/index.html +4671 -0
- package/docs-dev/sass/helpers/units/index.html +4817 -0
- package/docs-dev/sass/helpers/utilities/index.html +4648 -0
- package/docs-dev/sass/index.html +4670 -0
- package/js/ui/tabs.js +24 -4
- package/package.json +5 -6
- package/scss/_color.scss +1 -1
- package/scss/base/_typography.scss +7 -7
- package/scss/components/_accordion.scss +2 -2
- package/scss/components/_adaptive-spacing.scss +3 -3
- package/scss/components/_badge.scss +2 -2
- package/scss/components/_button-verbose.scss +20 -20
- package/scss/components/_button.scss +2 -0
- package/scss/components/_callout.scss +2 -2
- package/scss/components/_captioned-figure.scss +2 -3
- package/scss/components/_card-grid.scss +2 -2
- package/scss/components/_card.scss +5 -2
- package/scss/components/_css-icon.scss +2 -2
- package/scss/components/_data-grid.scss +2 -2
- package/scss/components/_data-table.scss +2 -2
- package/scss/components/_flipcard-grid.scss +2 -2
- package/scss/components/_flipcard.scss +2 -2
- package/scss/components/_form-theme.scss +2 -2
- package/scss/components/_hero.scss +2 -2
- package/scss/components/_image-grid.scss +2 -2
- package/scss/components/_list-lines.scss +2 -2
- package/scss/components/_menu-stack.scss +2 -2
- package/scss/components/_modal.scss +1 -14
- package/scss/components/_nav-strip.scss +3 -3
- package/scss/components/_overlay-section.scss +2 -3
- package/scss/components/_pager.scss +5 -5
- package/scss/components/_placeholder-block.scss +2 -2
- package/scss/components/_popover.scss +2 -2
- package/scss/components/_pull-quote.scss +2 -2
- package/scss/components/_ratio-box.scss +2 -2
- package/scss/components/_rule.scss +5 -5
- package/scss/components/_scroll-slider.scss +2 -2
- package/scss/components/_slider.scss +4 -40
- package/scss/components/_tabs.scss +118 -53
- package/scss/components/_tag.scss +2 -2
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
/// Module Settings
|
|
16
16
|
/// @type Map
|
|
17
17
|
/// @prop {String} background-color [link] The background color of the pager. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
18
|
-
/// @prop {String} background-color-hover [
|
|
18
|
+
/// @prop {String} background-color-hover [link-hover] The background color of the pager when hovered or focused. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
19
19
|
/// @prop {String} border-color [link] The border color of the pager item. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
20
|
-
/// @prop {String} border-color-hover [
|
|
20
|
+
/// @prop {String} border-color-hover [link-hover] The border color of the pager item when hovered or focused. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
21
21
|
/// @prop {Dimension} border-radius [50%] The border radius of the pager item.
|
|
22
22
|
/// @prop {Dimension} border-width [1px] The border width of the pager item.
|
|
23
23
|
/// @prop {Color} color [white] The type color of the pager item.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/// @prop {Color} active-color [type] The type color when active. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
33
33
|
/// @prop {CssValue} active-font-weight [bold] The font weight of the pager when focused or hovered.
|
|
34
34
|
/// @prop {String} action-background-color [link] The background color of the actions options of the pager. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
35
|
-
/// @prop {String} action-background-color-hover [
|
|
35
|
+
/// @prop {String} action-background-color-hover [link-hover] The background color of the actions options of the pager when focused or hovered. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
36
36
|
/// @prop {Color} action-border-color [transparent] The border color of the action options of the pager.
|
|
37
37
|
/// @prop {String} action-border-color-hover [link] The border color of the action options of the pager when focused or hovered. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
38
38
|
/// @prop {Color} action-color [white] The type color of the actions options of the pager.
|
|
@@ -72,7 +72,7 @@ $config: (
|
|
|
72
72
|
|
|
73
73
|
/// Change modules $config
|
|
74
74
|
/// @param {Map} $changes Map of changes
|
|
75
|
-
/// @example
|
|
75
|
+
/// @example scss
|
|
76
76
|
/// @include ulu.component-pager-set(( "property" : value ));
|
|
77
77
|
|
|
78
78
|
@mixin set($changes) {
|
|
@@ -81,7 +81,7 @@ $config: (
|
|
|
81
81
|
|
|
82
82
|
/// Get a config option
|
|
83
83
|
/// @param {Map} $name Name of property
|
|
84
|
-
/// @example
|
|
84
|
+
/// @example scss
|
|
85
85
|
/// @include ulu.component-pager-get("property");
|
|
86
86
|
|
|
87
87
|
|
|
@@ -67,7 +67,7 @@ $config: (
|
|
|
67
67
|
|
|
68
68
|
/// Change modules $config
|
|
69
69
|
/// @param {Map} $changes Map of changes
|
|
70
|
-
/// @example
|
|
70
|
+
/// @example scss
|
|
71
71
|
/// @include ulu.component-placeholder-block-set(( "property" : value ));
|
|
72
72
|
|
|
73
73
|
@mixin set($changes) {
|
|
@@ -76,7 +76,7 @@ $config: (
|
|
|
76
76
|
|
|
77
77
|
/// Get a config option
|
|
78
78
|
/// @param {Map} $name Name of property
|
|
79
|
-
/// @example
|
|
79
|
+
/// @example scss
|
|
80
80
|
/// @include ulu.component-placeholder-block-get("property");
|
|
81
81
|
|
|
82
82
|
@function get($name) {
|
|
@@ -94,7 +94,7 @@ $config: (
|
|
|
94
94
|
|
|
95
95
|
/// Change modules $config
|
|
96
96
|
/// @param {Map} $changes Map of changes
|
|
97
|
-
/// @example
|
|
97
|
+
/// @example scss
|
|
98
98
|
/// @include ulu.component-popover-set(( "property" : value ));
|
|
99
99
|
|
|
100
100
|
@mixin set($changes) {
|
|
@@ -103,7 +103,7 @@ $config: (
|
|
|
103
103
|
|
|
104
104
|
/// Get a config option
|
|
105
105
|
/// @param {Map} $name Name of property
|
|
106
|
-
/// @example
|
|
106
|
+
/// @example scss
|
|
107
107
|
/// @include ulu.component-popover-get("property");
|
|
108
108
|
|
|
109
109
|
@function get($name) {
|
|
@@ -52,7 +52,7 @@ $config: (
|
|
|
52
52
|
|
|
53
53
|
/// Change modules $config
|
|
54
54
|
/// @param {Map} $changes Map of changes
|
|
55
|
-
/// @example
|
|
55
|
+
/// @example scss
|
|
56
56
|
/// @include ulu.component-pull-quote-set(( "property" : value ));
|
|
57
57
|
|
|
58
58
|
@mixin set($changes) {
|
|
@@ -61,7 +61,7 @@ $config: (
|
|
|
61
61
|
|
|
62
62
|
/// Get a config option
|
|
63
63
|
/// @param {Map} $name Name of property
|
|
64
|
-
/// @example
|
|
64
|
+
/// @example scss
|
|
65
65
|
/// @include ulu.component-pull-quote-get("property");
|
|
66
66
|
|
|
67
67
|
@function get($name) {
|
|
@@ -22,7 +22,7 @@ $config: (
|
|
|
22
22
|
|
|
23
23
|
/// Change modules $config
|
|
24
24
|
/// @param {Map} $changes Map of changes
|
|
25
|
-
/// @example
|
|
25
|
+
/// @example scss
|
|
26
26
|
/// @include ulu.component-ratio-box-set(( "property" : value ));
|
|
27
27
|
|
|
28
28
|
@mixin set($changes) {
|
|
@@ -31,7 +31,7 @@ $config: (
|
|
|
31
31
|
|
|
32
32
|
/// Get a config option
|
|
33
33
|
/// @param {Map} $name Name of property
|
|
34
|
-
/// @example
|
|
34
|
+
/// @example scss
|
|
35
35
|
/// @include ulu.component-ratio-box-get("property");
|
|
36
36
|
|
|
37
37
|
@function get($name) {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
/// Module Settings
|
|
12
12
|
/// @type Map
|
|
13
|
-
/// @prop {
|
|
14
|
-
/// @prop {
|
|
15
|
-
/// @prop {
|
|
13
|
+
/// @prop {Dimension} short-border-width [4px] Short rule width of border
|
|
14
|
+
/// @prop {Object} short-modifiers [false] Objects to adjust the styles of different short rule styles.
|
|
15
|
+
/// @prop {Dimension} short-width [2.75rem] Short rule width (like an inline rule, normally used above headings), Setting this to false will disable output
|
|
16
16
|
|
|
17
17
|
$config: (
|
|
18
18
|
"short-border-width" : 4px,
|
|
@@ -22,7 +22,7 @@ $config: (
|
|
|
22
22
|
|
|
23
23
|
/// Change modules $config
|
|
24
24
|
/// @param {Map} $changes Map of changes
|
|
25
|
-
/// @example
|
|
25
|
+
/// @example scss
|
|
26
26
|
/// @include ulu.component-rule-set(( "property" : value ));
|
|
27
27
|
|
|
28
28
|
@mixin set($changes) {
|
|
@@ -31,7 +31,7 @@ $config: (
|
|
|
31
31
|
|
|
32
32
|
/// Get a config option
|
|
33
33
|
/// @param {Map} $name Name of property
|
|
34
|
-
/// @example
|
|
34
|
+
/// @example scss
|
|
35
35
|
/// @include ulu.component-rule-get("property");
|
|
36
36
|
|
|
37
37
|
@function get($name) {
|
|
@@ -64,7 +64,7 @@ $config: (
|
|
|
64
64
|
|
|
65
65
|
/// Change modules $config
|
|
66
66
|
/// @param {Map} $changes Map of changes
|
|
67
|
-
/// @example scss
|
|
67
|
+
/// @example scss
|
|
68
68
|
/// @include ulu.component-scroll-slider-set(( "property" : value ));
|
|
69
69
|
|
|
70
70
|
@mixin set($changes) {
|
|
@@ -73,7 +73,7 @@ $config: (
|
|
|
73
73
|
|
|
74
74
|
/// Get a config option
|
|
75
75
|
/// @param {Map} $name Name of property
|
|
76
|
-
/// @example scss
|
|
76
|
+
/// @example scss
|
|
77
77
|
/// @include ulu.component-scroll-slider-get("property");
|
|
78
78
|
|
|
79
79
|
@function get($name) {
|
|
@@ -7,34 +7,19 @@
|
|
|
7
7
|
|
|
8
8
|
@use "../color";
|
|
9
9
|
@use "../utils";
|
|
10
|
-
@use "../breakpoint";
|
|
11
10
|
@use "../selector";
|
|
12
11
|
|
|
13
12
|
/// Module Settings
|
|
14
13
|
/// @type Map
|
|
15
14
|
/// @prop {Color} background-color [transparent] Background color for the entire slider section.
|
|
16
|
-
/// @prop {List} breakpoint ["small"] Currently commented out @joe-check
|
|
17
15
|
/// @prop {Dimension} margin-bottom [3rem] Bottom margin color for the entire slider section.
|
|
18
16
|
/// @prop {Dimension} margin-top [1rem] Top margin color for the entire slider section.
|
|
19
17
|
/// @prop {Dimension} padding-bottom [0] Bottom padding for individual slides.
|
|
20
|
-
/// @prop {Dimension} padding-bottom-small [0] Smaller option for bottom padding for individual slides. Currently commented out @joe-check
|
|
21
18
|
/// @prop {Dimension} padding-top [0] Top padding for individual slides.
|
|
22
|
-
/// @prop {Dimension}
|
|
23
|
-
/// @prop {Color} button-background-color [transparent] Currently unused @joe-check
|
|
24
|
-
/// @prop {Color} button-background-color-hover [color.get("link-hover")] Currently unused @joe-check
|
|
25
|
-
/// @prop {CssValue} button-border [2px solid color.get("link")] Currently unused @joe-check
|
|
26
|
-
/// @prop {Color} button-border-color-hover [color.get("link-hover")] Currently unused @joe-check
|
|
27
|
-
/// @prop {Dimension} button-border-radius [50%] Currently unused @joe-check
|
|
28
|
-
/// @prop {Color} button-color [color.get("link")] Currently unused @joe-check
|
|
29
|
-
/// @prop {Color} button-color-hover [white] Currently unused @joe-check
|
|
30
|
-
/// @prop {Dimension} button-font-size [1.35rem] Currently unused @joe-check
|
|
31
|
-
/// @prop {Dimension} button-font-size-small [false] Currently unused @joe-check
|
|
32
|
-
/// @prop {Dimension} button-icon-offset-x [false] Offsets the control icons in from their respective sides. @joe-check
|
|
19
|
+
/// @prop {Dimension} button-icon-offset-x [false] Offsets the control icons in from their respective sides.
|
|
33
20
|
/// @prop {Dimension} button-icon-offset-y [false] Offsets the control options down by adding a margin.
|
|
34
21
|
/// @prop {Dimension} button-margin [0.75rem] The margin between the controls and the slide content when using .slider__slide-gap-for-controls
|
|
35
|
-
/// @prop {Dimension} button-margin-small [0.75rem] Currently commented out @joe-check
|
|
36
22
|
/// @prop {Dimension} button-size [3rem] Size of the button. Likely antiquated and replaced with button-width and button-height
|
|
37
|
-
/// @prop {Dimension} button-size-small [false] Currently commented out @joe-check
|
|
38
23
|
/// @prop {Color} dot-background-color [transparent] The color of the dot when unselected.
|
|
39
24
|
/// @prop {Color} dot-background-color-hover [color.get("link")] The color of the dot when hovered.
|
|
40
25
|
/// @prop {Color} dot-background-color-selected [color.get("link")] The color of the dot when selected.
|
|
@@ -49,24 +34,12 @@
|
|
|
49
34
|
|
|
50
35
|
$config: (
|
|
51
36
|
"background-color" : transparent,
|
|
52
|
-
"breakpoint" : "small",
|
|
53
37
|
"margin-bottom" : 3rem,
|
|
54
38
|
"margin-top" : 1rem,
|
|
55
|
-
"button-background-color" : transparent,
|
|
56
|
-
"button-border" : 2px solid color.get("link"),
|
|
57
|
-
"button-border-color-hover" : color.get("link-hover"),
|
|
58
|
-
"button-border-radius" : 50%,
|
|
59
|
-
"button-color-hover" : white,
|
|
60
|
-
"button-background-color-hover" : color.get("link-hover"),
|
|
61
|
-
"button-color" : color.get("link"),
|
|
62
|
-
"button-font-size" : 1.35rem,
|
|
63
39
|
"button-icon-offset-x" : 2rem,
|
|
64
40
|
"button-icon-offset-y" : false,
|
|
65
|
-
"button-font-size-small" : false,
|
|
66
41
|
"button-margin" : 2rem,
|
|
67
|
-
"button-margin-small" : 0.75rem,
|
|
68
42
|
"button-size" : 3rem,
|
|
69
|
-
"button-size-small" : false,
|
|
70
43
|
"button-height": 2.5rem,
|
|
71
44
|
"button-width": 2.5rem,
|
|
72
45
|
"dot-background-color" : transparent,
|
|
@@ -79,14 +52,12 @@ $config: (
|
|
|
79
52
|
"dot-border-width" : 2px,
|
|
80
53
|
"dot-size" : 1rem,
|
|
81
54
|
"padding-bottom" : 0,
|
|
82
|
-
"padding-bottom-small" : 0,
|
|
83
55
|
"padding-top" : 0,
|
|
84
|
-
"padding-top-small" : 0,
|
|
85
56
|
) !default;
|
|
86
57
|
|
|
87
58
|
/// Change modules $config
|
|
88
59
|
/// @param {Map} $changes Map of changes
|
|
89
|
-
/// @example scss
|
|
60
|
+
/// @example scss
|
|
90
61
|
/// @include ulu.component-slider-set(( "property" : value ));
|
|
91
62
|
|
|
92
63
|
@mixin set($changes) {
|
|
@@ -95,7 +66,7 @@ $config: (
|
|
|
95
66
|
|
|
96
67
|
/// Get a config option
|
|
97
68
|
/// @param {Map} $name Name of property
|
|
98
|
-
/// @example scss
|
|
69
|
+
/// @example scss
|
|
99
70
|
/// @include ulu.component-slider-get("property");
|
|
100
71
|
|
|
101
72
|
@function get($name) {
|
|
@@ -180,14 +151,7 @@ $config: (
|
|
|
180
151
|
}
|
|
181
152
|
#{ $prefix }__slide {
|
|
182
153
|
margin: 0;
|
|
183
|
-
|
|
184
|
-
// @include breakpoint.max(get("breakpoint")) {
|
|
185
|
-
// $bp-slide-padding: get("button-size-small") + get("button-margin-small");
|
|
186
|
-
// padding: get("padding-top-small") $bp-slide-padding get("padding-bottom-small") $bp-slide-padding;
|
|
187
|
-
// }
|
|
188
|
-
// }
|
|
189
|
-
}
|
|
190
|
-
// @joe-check should we remove this modifier for universal slide padding in favor of the individualized modifiers below?
|
|
154
|
+
}
|
|
191
155
|
#{ $prefix }--slide-control-margins {
|
|
192
156
|
#{ $prefix }__slide {
|
|
193
157
|
padding: get("padding-top") $slide-padding-x get("padding-bottom") $slide-padding-x;
|
|
@@ -9,41 +9,74 @@
|
|
|
9
9
|
@use "../color";
|
|
10
10
|
@use "../selector";
|
|
11
11
|
@use "../breakpoint";
|
|
12
|
+
@use "../typography";
|
|
12
13
|
@use "../element";
|
|
13
14
|
@use "../utils";
|
|
14
15
|
|
|
15
16
|
// Used for function fallback
|
|
16
17
|
$-fallbacks: (
|
|
17
|
-
"tablist-
|
|
18
|
+
"tablist-divider" : (
|
|
18
19
|
"function" : meta.get-function("get-rule-style", false, "element"),
|
|
19
20
|
"arguments" : ("light",)
|
|
21
|
+
),
|
|
22
|
+
"tab-font-weight" : (
|
|
23
|
+
"function" : meta.get-function("get", false, "typography"),
|
|
24
|
+
"property" : "font-weight-semibold"
|
|
25
|
+
),
|
|
26
|
+
"vertical-breakpoint" : (
|
|
27
|
+
"function" : meta.get-function("get", false, "breakpoint"),
|
|
28
|
+
"property" : "default"
|
|
20
29
|
)
|
|
21
30
|
);
|
|
22
31
|
|
|
23
32
|
/// Module Settings
|
|
24
33
|
/// @type Map
|
|
25
|
-
/// @prop {Dimension}
|
|
26
|
-
/// @prop {Dimension} border-width [0.25em] The width of the tab border.
|
|
27
|
-
/// @prop {Dimension} margin [2rem] The gap between tabs and above and below tabs.
|
|
34
|
+
/// @prop {Dimension} margin [(2rem, 0)] The margin for the tabs container
|
|
28
35
|
/// @prop {Dimension} print-margin [1.5em] Margin between tabs when stacked for print
|
|
29
|
-
/// @prop {CssValue} tablist-
|
|
36
|
+
/// @prop {CssValue} tablist-divider [true] The border separating the tabs from the panels. By default (true) will use element rule light style
|
|
37
|
+
/// @prop {Dimension} tablist-divider-width [1px] The width of the divider
|
|
30
38
|
/// @prop {Color} tabpanel-background-color [rgb(245, 245, 245)] The tabpanel background color.
|
|
31
|
-
/// @prop {
|
|
32
|
-
/// @prop {
|
|
33
|
-
/// @prop {
|
|
34
|
-
/// @prop {
|
|
39
|
+
/// @prop {Dimension} tabpanel-padding [(2rem,)] Padding for the tabpanel
|
|
40
|
+
/// @prop {Dimension} indicator-size [0.25em] The size of the tab's active border/indicator
|
|
41
|
+
/// @prop {Color} indicator-color [currentColor] The color of the indicator
|
|
42
|
+
/// @prop {Color} tab-color [link] The type color for the tabs. This uses color.scss, so the value of this options should be a variable from color.scss.
|
|
43
|
+
/// @prop {Color} tab-color-hover [link-hover] The type color for the tabs when hovered or focused. This uses color.scss, so the value of this options should be a variable from color.scss.
|
|
44
|
+
/// @prop {Color} tab-color-selected [selected] The tab type color when selected. This uses color.scss, so the value of this options should be a variable from color.scss.
|
|
45
|
+
/// @prop {Color} tab-background-color-selected [null] The tab background color when selected
|
|
46
|
+
/// @prop {CssValue} tab-font-weight [true] The font weight for the tab, defaults to typography "font-weight-semibold"
|
|
47
|
+
/// @prop {Dimension} tab-padding [0.75em 0.1em 0.75em 0.1em] Padding for the tab
|
|
48
|
+
/// @prop {Dimension} tab-gap [1em] Gap between tabs
|
|
49
|
+
/// @prop {Dimension} vertical-tablist-width [minmax(15rem, 30%),] The width of the tablist column when tabs are layout is vertical
|
|
50
|
+
/// @prop {Dimension} vertical-tab-padding [(0.25em 0.75em)] Tab padding when vertical
|
|
51
|
+
/// @prop {Dimension} vertical-divider-width [0px] Divider between tabs and panels when vertical
|
|
52
|
+
/// @prop {Dimension} vertical-tab-gap [0.75em] The gap between tabs when vertical
|
|
53
|
+
/// @prop {Boolean} vertical-indicator-left [true] The indicator for selected tab should be on the left when vertical (false will be on right/inside)
|
|
54
|
+
/// @prop {Boolean} vertical-breakpoint [true] Set the breakpoint when the vertical tabs should switch to horizontal (defaults to breakpoint 'default')
|
|
55
|
+
/// @prop {Boolean} horizontal-tab-wrap [false] Set to true to allow line wrapping when the tabs are in horizontal orientation, vertical is always allowed to wrap
|
|
35
56
|
|
|
36
57
|
$config: (
|
|
37
|
-
"
|
|
38
|
-
"border-width" : 0.25em,
|
|
39
|
-
"margin" : 2rem,
|
|
58
|
+
"margin" : (2rem, 0),
|
|
40
59
|
"print-margin" : 1.5em,
|
|
41
|
-
"tablist-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
60
|
+
"tablist-divider" : true,
|
|
61
|
+
"tablist-divider-width" : 1px,
|
|
62
|
+
"indicator-size" : 3px,
|
|
63
|
+
"indicator-color" : currentColor,
|
|
64
|
+
"tab-color" : "type-tertiary",
|
|
45
65
|
"tab-color-hover" : "link-hover",
|
|
46
66
|
"tab-color-selected" : "selected",
|
|
67
|
+
"tab-background-color-selected" : null,
|
|
68
|
+
"tab-font-weight" : true,
|
|
69
|
+
"tab-padding" : (0.75em),
|
|
70
|
+
"tab-gap" : 1em,
|
|
71
|
+
"tabpanel-background-color" : #f6f6f6,
|
|
72
|
+
"tabpanel-padding" : (2rem),
|
|
73
|
+
"vertical-tablist-width" : minmax(15rem, 30%),
|
|
74
|
+
"vertical-tab-padding" : (0.25em 0.75em),
|
|
75
|
+
"vertical-divider-width" : 0px,
|
|
76
|
+
"vertical-tab-gap" : 0.75em,
|
|
77
|
+
"vertical-indicator-left" : true,
|
|
78
|
+
"vertical-breakpoint" : true,
|
|
79
|
+
"horizontal-tab-wrap" : false
|
|
47
80
|
) !default;
|
|
48
81
|
|
|
49
82
|
/// Change modules $config
|
|
@@ -73,75 +106,107 @@ $config: (
|
|
|
73
106
|
@include utils.file-header("component", "tabs");
|
|
74
107
|
|
|
75
108
|
$prefix: selector.class("tabs");
|
|
109
|
+
$tabpanel-spacing: utils.get-spacing(get("tabpanel-padding"));
|
|
76
110
|
|
|
77
111
|
#{ $prefix } {
|
|
78
|
-
margin
|
|
79
|
-
margin-top: get("margin");
|
|
112
|
+
margin: get("margin");
|
|
80
113
|
[role="tablist"] {
|
|
81
114
|
position: relative;
|
|
82
115
|
z-index: 2;
|
|
83
116
|
display: flex;
|
|
117
|
+
gap: get("tab-gap");
|
|
84
118
|
overflow-x: auto;
|
|
85
|
-
|
|
86
|
-
border-bottom: get("tablist-
|
|
119
|
+
border-bottom: get("tablist-divider");
|
|
120
|
+
border-bottom-width: get("tablist-divider-width");
|
|
87
121
|
}
|
|
88
122
|
[role="tab"] {
|
|
89
123
|
display: block;
|
|
90
124
|
position: relative;
|
|
91
125
|
cursor: pointer;
|
|
92
|
-
padding: 0.75em 0.1em 0.75em 0.1em;
|
|
93
|
-
color: color.get(get("tab-color"));
|
|
94
|
-
font-weight: bold;
|
|
95
|
-
border-bottom: get("border-width") solid transparent;
|
|
96
126
|
text-align: center;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
127
|
+
padding: get("tab-padding");
|
|
128
|
+
color: color.get(get("tab-color"));
|
|
129
|
+
font-weight: get("tab-font-weight");
|
|
130
|
+
@if (not get("horizontal-tab-wrap")) {
|
|
131
|
+
white-space: nowrap;
|
|
132
|
+
}
|
|
133
|
+
// Indicator
|
|
134
|
+
&::after {
|
|
135
|
+
content: "";
|
|
136
|
+
position: absolute;
|
|
137
|
+
background-color: color.get(get("indicator-color"));
|
|
138
|
+
opacity: 0;
|
|
139
|
+
bottom: 0;
|
|
140
|
+
left: 0;
|
|
141
|
+
right: 0;
|
|
142
|
+
height: get("indicator-size");
|
|
103
143
|
}
|
|
104
144
|
&:hover {
|
|
105
145
|
color: color.get(get("tab-color-hover"));
|
|
106
146
|
}
|
|
107
|
-
&:hover,
|
|
108
|
-
&:focus,
|
|
109
|
-
&[aria-selected="true"] {
|
|
110
|
-
border-bottom-color: currentColor;
|
|
111
|
-
}
|
|
112
147
|
&[aria-selected="true"] {
|
|
113
148
|
color: color.get(get("tab-color-selected"));
|
|
114
|
-
|
|
115
|
-
|
|
149
|
+
background-color: color.get(get("tab-background-color-selected"));
|
|
150
|
+
&::after {
|
|
151
|
+
opacity: 1;
|
|
152
|
+
}
|
|
116
153
|
}
|
|
117
154
|
}
|
|
118
155
|
[role="tabpanel"] {
|
|
119
156
|
position: relative;
|
|
120
157
|
z-index: 1;
|
|
121
|
-
padding:
|
|
122
|
-
margin-bottom: -1px;
|
|
158
|
+
padding: get("tabpanel-padding");
|
|
123
159
|
overflow: hidden;
|
|
124
|
-
|
|
125
160
|
background-color: get("tabpanel-background-color");
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// For images, etc that should fill tabpanel
|
|
164
|
+
#{ $prefix }__tabpanel-content-fill {
|
|
165
|
+
margin-left: -(map.get($tabpanel-spacing, "left"));
|
|
166
|
+
margin-right: -(map.get($tabpanel-spacing, "right"));
|
|
167
|
+
width: calc(100% + #{ map.get($tabpanel-spacing, "left") + map.get($tabpanel-spacing, "right") });
|
|
168
|
+
max-width: none;
|
|
169
|
+
&:first-child {
|
|
170
|
+
margin-top: -(map.get($tabpanel-spacing, "top"));
|
|
171
|
+
}
|
|
172
|
+
&:last-child {
|
|
173
|
+
margin-bottom: -(map.get($tabpanel-spacing, "bottom"));
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@include breakpoint.min(get("vertical-breakpoint")) {
|
|
178
|
+
#{ $prefix }--vertical {
|
|
179
|
+
display: grid;
|
|
180
|
+
grid-template-columns: get("vertical-tablist-width") auto;
|
|
181
|
+
[role="tablist"] {
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
gap: get("vertical-tab-gap");
|
|
184
|
+
border-right: get("tablist-divider");
|
|
185
|
+
border-right-width: get("vertical-divider-width");
|
|
186
|
+
grid-column: 1;
|
|
187
|
+
}
|
|
188
|
+
[role="tab"] {
|
|
189
|
+
padding: get("vertical-tab-padding");
|
|
190
|
+
white-space: normal;
|
|
191
|
+
text-align: left;
|
|
192
|
+
&::after {
|
|
193
|
+
left: if(get("vertical-indicator-left"), 0, auto);
|
|
194
|
+
right: if(not get("vertical-indicator-left"), 0, auto);;
|
|
195
|
+
bottom: 0;
|
|
196
|
+
top: 0;
|
|
197
|
+
width: get("indicator-size");
|
|
198
|
+
height: auto;
|
|
137
199
|
}
|
|
138
200
|
}
|
|
201
|
+
[role="tabpanel"] {
|
|
202
|
+
grid-column: 2; // needed for equalHeights in vertical
|
|
203
|
+
}
|
|
139
204
|
}
|
|
140
205
|
}
|
|
206
|
+
|
|
141
207
|
#{ $prefix }--transparent {
|
|
142
208
|
[role="tablist"] {
|
|
143
209
|
background-color: transparent;
|
|
144
|
-
box-shadow: none;
|
|
145
210
|
padding-left: 0;
|
|
146
211
|
padding-right: 0;
|
|
147
212
|
}
|
|
@@ -155,13 +220,13 @@ $config: (
|
|
|
155
220
|
#{ $prefix }--full-width {
|
|
156
221
|
> [role="tablist"] {
|
|
157
222
|
justify-content: safe center;
|
|
158
|
-
box-shadow: 0 4px 4px rgba(0,0,0,0.2);
|
|
159
223
|
}
|
|
160
224
|
>[role="tabpanel"] {
|
|
161
225
|
background-color: transparent;
|
|
162
226
|
padding: 0;
|
|
163
227
|
}
|
|
164
228
|
}
|
|
229
|
+
|
|
165
230
|
// Display all tabs during print
|
|
166
231
|
#{ $prefix }--print {
|
|
167
232
|
@media print {
|
|
@@ -28,8 +28,8 @@ $-fallbacks: (
|
|
|
28
28
|
/// @prop {CssValue} box-shadow [none] Box shadow for the tag.
|
|
29
29
|
/// @prop {Dimension} padding [(0.4em 0.75em)] Inner padding for the tag.
|
|
30
30
|
/// @prop {CssValue} vertical-align [baseline] Vertical alignment of tag text.
|
|
31
|
-
/// @prop {Dimension} margin-between [0.5em] Margin between
|
|
32
|
-
/// @prop {Dimension} margin-between-tags [0]
|
|
31
|
+
/// @prop {Dimension} margin-between [0.5em] Margin between tag and other elements.
|
|
32
|
+
/// @prop {Dimension} margin-between-tags [0] Margin between tag and other tags.
|
|
33
33
|
/// @prop {Number} line-height [1] Line height for the tag text.
|
|
34
34
|
/// @prop {String} type-size ["small"] Font size for the tag text.
|
|
35
35
|
/// @prop {Color} background-color [#eaeaea] Background color of the tag.
|