@graupl/core 1.0.0-beta.22 → 1.0.0-beta.24
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/css/base/button.css +2 -2
- package/dist/css/base/button.css.map +1 -1
- package/dist/css/base/form.css +2 -2
- package/dist/css/base/form.css.map +1 -1
- package/dist/css/base/link.css +2 -2
- package/dist/css/base/link.css.map +1 -1
- package/dist/css/base/table.css +2 -2
- package/dist/css/base/table.css.map +1 -1
- package/dist/css/base.css +2 -2
- package/dist/css/base.css.map +1 -1
- package/dist/css/component/accordion.css +2 -5
- package/dist/css/component/accordion.css.map +1 -1
- package/dist/css/component/alert.css +2 -2
- package/dist/css/component/alert.css.map +1 -1
- package/dist/css/component/badge.css +2 -2
- package/dist/css/component/badge.css.map +1 -1
- package/dist/css/component/card.css +2 -2
- package/dist/css/component/card.css.map +1 -1
- package/dist/css/component/carousel.css +2 -2
- package/dist/css/component/carousel.css.map +1 -1
- package/dist/css/component/disclosure.css +2 -2
- package/dist/css/component/disclosure.css.map +1 -1
- package/dist/css/component/input-group.css +2 -2
- package/dist/css/component/input-group.css.map +1 -1
- package/dist/css/component/list.css +2 -2
- package/dist/css/component/list.css.map +1 -1
- package/dist/css/component/menu.css +2 -2
- package/dist/css/component/menu.css.map +1 -1
- package/dist/css/component/navigation.css +2 -2
- package/dist/css/component/navigation.css.map +1 -1
- package/dist/css/component.css +2 -5
- package/dist/css/component.css.map +1 -1
- package/dist/css/graupl.css +2 -5
- package/dist/css/graupl.css.map +1 -1
- package/dist/css/init.css +2 -2
- package/dist/css/init.css.map +1 -1
- package/dist/css/layout/columns.css +2 -2
- package/dist/css/layout/columns.css.map +1 -1
- package/dist/css/layout/container.css +2 -2
- package/dist/css/layout/container.css.map +1 -1
- package/dist/css/layout/flex-columns.css +2 -2
- package/dist/css/layout/flex-columns.css.map +1 -1
- package/dist/css/layout.css +2 -5
- package/dist/css/layout.css.map +1 -1
- package/dist/css/normalize.css +2 -2
- package/dist/css/normalize.css.map +1 -1
- package/dist/css/state/focus.css +2 -2
- package/dist/css/state/focus.css.map +1 -1
- package/dist/css/state.css +2 -2
- package/dist/css/state.css.map +1 -1
- package/dist/css/theme/color.css +2 -2
- package/dist/css/theme/color.css.map +1 -1
- package/dist/css/theme/typography.css +2 -2
- package/dist/css/theme/typography.css.map +1 -1
- package/dist/css/theme.css +2 -2
- package/dist/css/theme.css.map +1 -1
- package/dist/css/utilities/alignment.css +1 -1
- package/dist/css/utilities/alignment.css.map +1 -1
- package/dist/css/utilities/background.css +2 -2
- package/dist/css/utilities/background.css.map +1 -1
- package/dist/css/utilities/border.css +2 -2
- package/dist/css/utilities/border.css.map +1 -1
- package/dist/css/utilities/color.css +2 -2
- package/dist/css/utilities/color.css.map +1 -1
- package/dist/css/utilities/container.css +1 -1
- package/dist/css/utilities/container.css.map +1 -1
- package/dist/css/utilities/display.css +2 -2
- package/dist/css/utilities/display.css.map +1 -1
- package/dist/css/utilities/flex.css +2 -2
- package/dist/css/utilities/flex.css.map +1 -1
- package/dist/css/utilities/gradient.css +2 -2
- package/dist/css/utilities/gradient.css.map +1 -1
- package/dist/css/utilities/height.css +2 -2
- package/dist/css/utilities/height.css.map +1 -1
- package/dist/css/utilities/inset.css +2 -2
- package/dist/css/utilities/inset.css.map +1 -1
- package/dist/css/utilities/justification.css +1 -1
- package/dist/css/utilities/justification.css.map +1 -1
- package/dist/css/utilities/list.css +1 -1
- package/dist/css/utilities/list.css.map +1 -1
- package/dist/css/utilities/order.css +2 -2
- package/dist/css/utilities/order.css.map +1 -1
- package/dist/css/utilities/position.css +2 -2
- package/dist/css/utilities/position.css.map +1 -1
- package/dist/css/utilities/ratio.css +2 -2
- package/dist/css/utilities/ratio.css.map +1 -1
- package/dist/css/utilities/spacing.css +2 -2
- package/dist/css/utilities/spacing.css.map +1 -1
- package/dist/css/utilities/typography.css +2 -2
- package/dist/css/utilities/typography.css.map +1 -1
- package/dist/css/utilities/visibility.css +2 -2
- package/dist/css/utilities/visibility.css.map +1 -1
- package/dist/css/utilities/visually-hidden.css +2 -2
- package/dist/css/utilities/visually-hidden.css.map +1 -1
- package/dist/css/utilities/width.css +2 -2
- package/dist/css/utilities/width.css.map +1 -1
- package/dist/css/utilities/z-index.css +1 -1
- package/dist/css/utilities/z-index.css.map +1 -1
- package/dist/css/utilities.css +2 -2
- package/dist/css/utilities.css.map +1 -1
- package/dist/js/accordion.js.map +1 -1
- package/dist/js/alert.js.map +1 -1
- package/dist/js/carousel.js.map +1 -1
- package/dist/js/component/accordion.cjs.js.map +1 -1
- package/dist/js/component/accordion.es.js.map +1 -1
- package/dist/js/component/accordion.iife.js.map +1 -1
- package/dist/js/component/alert.cjs.js.map +1 -1
- package/dist/js/component/alert.es.js.map +1 -1
- package/dist/js/component/alert.iife.js.map +1 -1
- package/dist/js/component/carousel.cjs.js.map +1 -1
- package/dist/js/component/carousel.es.js.map +1 -1
- package/dist/js/component/carousel.iife.js.map +1 -1
- package/dist/js/component/disclosure.cjs.js +2 -2
- package/dist/js/component/disclosure.cjs.js.map +1 -1
- package/dist/js/component/disclosure.es.js +2 -2
- package/dist/js/component/disclosure.es.js.map +1 -1
- package/dist/js/component/disclosure.iife.js +2 -2
- package/dist/js/component/disclosure.iife.js.map +1 -1
- package/dist/js/component/tabs.cjs.js +5 -0
- package/dist/js/component/tabs.cjs.js.map +1 -0
- package/dist/js/component/tabs.es.js +5 -0
- package/dist/js/component/tabs.es.js.map +1 -0
- package/dist/js/component/tabs.iife.js +5 -0
- package/dist/js/component/tabs.iife.js.map +1 -0
- package/dist/js/disclosure.js +2 -2
- package/dist/js/disclosure.js.map +1 -1
- package/dist/js/generator/accordion.cjs.js.map +1 -1
- package/dist/js/generator/accordion.es.js.map +1 -1
- package/dist/js/generator/accordion.iife.js.map +1 -1
- package/dist/js/generator/alert.cjs.js.map +1 -1
- package/dist/js/generator/alert.es.js.map +1 -1
- package/dist/js/generator/alert.iife.js.map +1 -1
- package/dist/js/generator/carousel.cjs.js.map +1 -1
- package/dist/js/generator/carousel.es.js.map +1 -1
- package/dist/js/generator/carousel.iife.js.map +1 -1
- package/dist/js/generator/disclosure.cjs.js +2 -2
- package/dist/js/generator/disclosure.cjs.js.map +1 -1
- package/dist/js/generator/disclosure.es.js +2 -2
- package/dist/js/generator/disclosure.es.js.map +1 -1
- package/dist/js/generator/disclosure.iife.js +2 -2
- package/dist/js/generator/disclosure.iife.js.map +1 -1
- package/dist/js/generator/navigation.cjs.js.map +1 -1
- package/dist/js/generator/navigation.es.js.map +1 -1
- package/dist/js/generator/navigation.iife.js.map +1 -1
- package/dist/js/generator/tabs.cjs.js +5 -0
- package/dist/js/generator/tabs.cjs.js.map +1 -0
- package/dist/js/generator/tabs.es.js +5 -0
- package/dist/js/generator/tabs.es.js.map +1 -0
- package/dist/js/generator/tabs.iife.js +5 -0
- package/dist/js/generator/tabs.iife.js.map +1 -0
- package/dist/js/graupl.js +5 -5
- package/dist/js/graupl.js.map +1 -1
- package/dist/js/navigation.js.map +1 -1
- package/dist/js/tabs.js +5 -0
- package/dist/js/tabs.js.map +1 -0
- package/package.json +4 -3
- package/src/js/disclosure/Disclosure.js +25 -45
- package/src/js/domHelpers.js +39 -22
- package/src/js/tabs/TabToggle.js +378 -0
- package/src/js/tabs/Tabs.js +1091 -0
- package/src/js/tabs/generator.js +32 -0
- package/src/js/tabs/index.js +5 -0
- package/src/scss/_defaults.scss +21 -88
- package/src/scss/_variables.scss +70 -0
- package/src/scss/base/button/_defaults.scss +2 -24
- package/src/scss/base/button/_index.scss +53 -52
- package/src/scss/base/button/_mixins.scss +24 -58
- package/src/scss/base/button/_variables.scss +139 -0
- package/src/scss/base/form/_defaults.scss +72 -2
- package/src/scss/base/form/_index.scss +196 -70
- package/src/scss/base/form/_variables.scss +166 -0
- package/src/scss/base/link/_defaults.scss +31 -0
- package/src/scss/base/link/_index.scss +177 -172
- package/src/scss/base/link/_variables.scss +215 -0
- package/src/scss/base/table/_defaults.scss +1 -11
- package/src/scss/base/table/_index.scss +126 -117
- package/src/scss/base/table/_variables.scss +214 -3
- package/src/scss/component/_index.scss +1 -0
- package/src/scss/component/accordion/_defaults.scss +73 -22
- package/src/scss/component/accordion/_index.scss +437 -62
- package/src/scss/component/accordion/_variables.scss +527 -101
- package/src/scss/component/alert/_defaults.scss +23 -32
- package/src/scss/component/alert/_index.scss +236 -30
- package/src/scss/component/alert/_variables.scss +155 -6
- package/src/scss/component/badge/_defaults.scss +1 -0
- package/src/scss/component/badge/_index.scss +25 -28
- package/src/scss/component/badge/_variables.scss +66 -2
- package/src/scss/component/card/_defaults.scss +64 -13
- package/src/scss/component/card/_index.scss +276 -30
- package/src/scss/component/card/_variables.scss +132 -0
- package/src/scss/component/carousel/_defaults.scss +73 -15
- package/src/scss/component/carousel/_index.scss +357 -41
- package/src/scss/component/carousel/_variables.scss +391 -0
- package/src/scss/component/disclosure/_index.scss +4 -4
- package/src/scss/component/disclosure/_variables.scss +127 -2
- package/src/scss/component/input-group/_defaults.scss +10 -3
- package/src/scss/component/input-group/_index.scss +72 -4
- package/src/scss/component/input-group/_variables.scss +37 -0
- package/src/scss/component/list/_defaults.scss +35 -2
- package/src/scss/component/list/_index.scss +159 -5
- package/src/scss/component/list/_variables.scss +152 -0
- package/src/scss/component/menu/_defaults.scss +49 -7
- package/src/scss/component/menu/_index.scss +325 -99
- package/src/scss/component/menu/_variables.scss +484 -1
- package/src/scss/component/navigation/_defaults.scss +45 -3
- package/src/scss/component/navigation/_index.scss +249 -98
- package/src/scss/component/navigation/_variables.scss +334 -5
- package/src/scss/component/tabs/_defaults.scss +82 -0
- package/src/scss/component/tabs/_index.scss +497 -0
- package/src/scss/component/tabs/_variables.scss +974 -0
- package/src/scss/layout/columns/_defaults.scss +5 -3
- package/src/scss/layout/columns/_index.scss +27 -21
- package/src/scss/layout/columns/_variables.scss +13 -0
- package/src/scss/layout/container/_defaults.scss +28 -11
- package/src/scss/layout/container/_index.scss +305 -161
- package/src/scss/layout/container/_variables.scss +148 -15
- package/src/scss/layout/flex-columns/_defaults.scss +5 -3
- package/src/scss/layout/flex-columns/_index.scss +28 -20
- package/src/scss/layout/flex-columns/_variables.scss +9 -0
- package/src/scss/mixins/_state.scss +37 -0
- package/src/scss/mixins/_theme.scss +36 -1
- package/src/scss/state/focus/_index.scss +17 -12
- package/src/scss/state/focus/_variables.scss +30 -4
- package/src/scss/theme/color/_defaults.scss +6 -35
- package/src/scss/theme/color/_index.scss +167 -1
- package/src/scss/theme/color/_variables.scss +155 -0
- package/src/scss/theme/typography/_defaults.scss +26 -19
- package/src/scss/theme/typography/_index.scss +176 -20
- package/src/scss/theme/typography/_variables.scss +186 -0
- package/src/scss/utilities/_template/_index.scss +0 -1
- package/src/scss/utilities/alignment/_defaults.scss +0 -33
- package/src/scss/utilities/alignment/_index.scss +24 -25
- package/src/scss/utilities/background/_defaults.scss +0 -77
- package/src/scss/utilities/background/_index.scss +32 -37
- package/src/scss/utilities/border/_defaults.scss +0 -33
- package/src/scss/utilities/border/_index.scss +25 -26
- package/src/scss/utilities/color/_defaults.scss +0 -19
- package/src/scss/utilities/color/_index.scss +22 -22
- package/src/scss/utilities/container/_defaults.scss +0 -11
- package/src/scss/utilities/container/_index.scss +20 -19
- package/src/scss/utilities/display/_defaults.scss +0 -11
- package/src/scss/utilities/display/_index.scss +20 -19
- package/src/scss/utilities/flex/_defaults.scss +0 -55
- package/src/scss/utilities/flex/_index.scss +28 -31
- package/src/scss/utilities/gradient/_defaults.scss +0 -28
- package/src/scss/utilities/gradient/_index.scss +27 -28
- package/src/scss/utilities/gradient/_variables.scss +15 -0
- package/src/scss/utilities/height/_defaults.scss +0 -8
- package/src/scss/utilities/height/_index.scss +22 -21
- package/src/scss/utilities/inset/_defaults.scss +0 -16
- package/src/scss/utilities/inset/_index.scss +20 -20
- package/src/scss/utilities/justification/_defaults.scss +0 -33
- package/src/scss/utilities/justification/_index.scss +24 -25
- package/src/scss/utilities/list/_defaults.scss +0 -22
- package/src/scss/utilities/list/_index.scss +22 -22
- package/src/scss/utilities/order/_defaults.scss +0 -8
- package/src/scss/utilities/order/_index.scss +20 -19
- package/src/scss/utilities/position/_defaults.scss +0 -11
- package/src/scss/utilities/position/_index.scss +20 -19
- package/src/scss/utilities/ratio/_defaults.scss +0 -8
- package/src/scss/utilities/ratio/_index.scss +22 -21
- package/src/scss/utilities/ratio/_variables.scss +6 -0
- package/src/scss/utilities/spacing/_defaults.scss +0 -11
- package/src/scss/utilities/spacing/_index.scss +18 -17
- package/src/scss/utilities/typography/_defaults.scss +0 -22
- package/src/scss/utilities/typography/_index.scss +27 -26
- package/src/scss/utilities/visibility/_defaults.scss +0 -11
- package/src/scss/utilities/visibility/_index.scss +19 -18
- package/src/scss/utilities/visually-hidden/_index.scss +19 -17
- package/src/scss/utilities/width/_defaults.scss +0 -8
- package/src/scss/utilities/width/_index.scss +21 -20
- package/src/scss/utilities/z-index/_defaults.scss +0 -11
- package/src/scss/utilities/z-index/_index.scss +19 -18
|
@@ -33,19 +33,8 @@ $-background-attachment-properties: (
|
|
|
33
33
|
fixed: fixed,
|
|
34
34
|
local: local,
|
|
35
35
|
);
|
|
36
|
-
$custom-background-attachment-properties: () !default;
|
|
37
36
|
$background-attachment-properties: () !default;
|
|
38
37
|
|
|
39
|
-
// @todo remove this once $custom-background-attachment-properties is removed
|
|
40
|
-
@if $custom-background-attachment-properties != () {
|
|
41
|
-
@warn "`$custom-background-attachment-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-attachment-properties` instead.";
|
|
42
|
-
|
|
43
|
-
$background-attachment-properties: map.merge(
|
|
44
|
-
$background-attachment-properties,
|
|
45
|
-
$custom-background-attachment-properties
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
38
|
// Background clip properties.
|
|
50
39
|
$background-clip-selector-prefix: "bg-clip-" !default;
|
|
51
40
|
$-background-clip-properties: (
|
|
@@ -55,37 +44,15 @@ $-background-clip-properties: (
|
|
|
55
44
|
text: text,
|
|
56
45
|
border-area: border-area,
|
|
57
46
|
);
|
|
58
|
-
$custom-background-clip-properties: () !default;
|
|
59
47
|
$background-clip-properties: () !default;
|
|
60
48
|
|
|
61
|
-
// @todo remove this once $custom-background-clip-properties is removed
|
|
62
|
-
@if $custom-background-clip-properties != () {
|
|
63
|
-
@warn "`$custom-background-clip-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-clip-properties` instead.";
|
|
64
|
-
|
|
65
|
-
$background-clip-properties: map.merge(
|
|
66
|
-
$background-clip-properties,
|
|
67
|
-
$custom-background-clip-properties
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
49
|
// Background image properties.
|
|
72
50
|
$background-image-selector-prefix: "bg-image-" !default;
|
|
73
51
|
$-background-image-properties: (
|
|
74
52
|
none: none,
|
|
75
53
|
);
|
|
76
|
-
$custom-background-image-properties: () !default;
|
|
77
54
|
$background-image-properties: () !default;
|
|
78
55
|
|
|
79
|
-
// @todo remove this once $custom-background-image-properties is removed
|
|
80
|
-
@if $custom-background-image-properties != () {
|
|
81
|
-
@warn "`$custom-background-image-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-image-properties` instead.";
|
|
82
|
-
|
|
83
|
-
$background-image-properties: map.merge(
|
|
84
|
-
$background-image-properties,
|
|
85
|
-
$custom-background-image-properties
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
56
|
// Background origin properties.
|
|
90
57
|
$background-origin-selector-prefix: "bg-origin-" !default;
|
|
91
58
|
$-background-origin-properties: (
|
|
@@ -93,19 +60,8 @@ $-background-origin-properties: (
|
|
|
93
60
|
padding-box: padding-box,
|
|
94
61
|
content-box: content-box,
|
|
95
62
|
);
|
|
96
|
-
$custom-background-origin-properties: () !default;
|
|
97
63
|
$background-origin-properties: () !default;
|
|
98
64
|
|
|
99
|
-
// @todo remove this once $custom-background-origin-properties is removed
|
|
100
|
-
@if $custom-background-origin-properties != () {
|
|
101
|
-
@warn "`$custom-background-origin-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-origin-properties` instead.";
|
|
102
|
-
|
|
103
|
-
$background-origin-properties: map.merge(
|
|
104
|
-
$background-origin-properties,
|
|
105
|
-
$custom-background-origin-properties
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
65
|
// Background position properties.
|
|
110
66
|
$background-position-selector-prefix: "bg-position-" !default;
|
|
111
67
|
$-background-position-properties: (
|
|
@@ -115,19 +71,8 @@ $-background-position-properties: (
|
|
|
115
71
|
left: left,
|
|
116
72
|
center: center,
|
|
117
73
|
);
|
|
118
|
-
$custom-background-position-properties: () !default;
|
|
119
74
|
$background-position-properties: () !default;
|
|
120
75
|
|
|
121
|
-
// @todo remove this once $custom-background-position-properties is removed
|
|
122
|
-
@if $custom-background-position-properties != () {
|
|
123
|
-
@warn "`$custom-background-position-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-position-properties` instead.";
|
|
124
|
-
|
|
125
|
-
$background-position-properties: map.merge(
|
|
126
|
-
$background-position-properties,
|
|
127
|
-
$custom-background-position-properties
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
76
|
// Background repeat properties.
|
|
132
77
|
$background-repeat-selector-prefix: "bg-repeat-" !default;
|
|
133
78
|
$-background-repeat-properties: (
|
|
@@ -138,19 +83,8 @@ $-background-repeat-properties: (
|
|
|
138
83
|
round: round,
|
|
139
84
|
no-repeat: no-repeat,
|
|
140
85
|
);
|
|
141
|
-
$custom-background-repeat-properties: () !default;
|
|
142
86
|
$background-repeat-properties: () !default;
|
|
143
87
|
|
|
144
|
-
// @todo remove this once $custom-background-repeat-properties is removed
|
|
145
|
-
@if $custom-background-repeat-properties != () {
|
|
146
|
-
@warn "`$custom-background-repeat-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-repeat-properties` instead.";
|
|
147
|
-
|
|
148
|
-
$background-repeat-properties: map.merge(
|
|
149
|
-
$background-repeat-properties,
|
|
150
|
-
$custom-background-repeat-properties
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
88
|
// Background size properties.
|
|
155
89
|
$background-size-selector-prefix: "bg-size-" !default;
|
|
156
90
|
$-background-size-properties: (
|
|
@@ -158,19 +92,8 @@ $-background-size-properties: (
|
|
|
158
92
|
cover: cover,
|
|
159
93
|
contain: contain,
|
|
160
94
|
);
|
|
161
|
-
$custom-background-size-properties: () !default;
|
|
162
95
|
$background-size-properties: () !default;
|
|
163
96
|
|
|
164
|
-
// @todo remove this once $custom-background-size-properties is removed
|
|
165
|
-
@if $custom-background-size-properties != () {
|
|
166
|
-
@warn "`$custom-background-size-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-size-properties` instead.";
|
|
167
|
-
|
|
168
|
-
$background-size-properties: map.merge(
|
|
169
|
-
$background-size-properties,
|
|
170
|
-
$custom-background-size-properties
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
97
|
// Merge custom properties with base properties if generating base utilities.
|
|
175
98
|
@if $generate-base-utilities {
|
|
176
99
|
$background-attachment-properties: map.merge(
|
|
@@ -33,43 +33,38 @@
|
|
|
33
33
|
// The following custom properties control the generated classes:
|
|
34
34
|
// - N/A.
|
|
35
35
|
//
|
|
36
|
-
// The following variables control the generated classes:
|
|
37
|
-
//
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
// - `$custom-background-repeat-properties`: [DEPRECATED] The custom properties and values for the background repeat utility classes.
|
|
69
|
-
// - `$background-repeat-properties`: The combined properties and values for the background repeat utility classes.
|
|
70
|
-
// - `$background-size-selector-prefix`: The prefix for the background size utility classes.
|
|
71
|
-
// - `$custom-background-size-properties`: [DEPRECATED] The custom properties and values for the background size utility classes.
|
|
72
|
-
// - `$background-size-properties`: The combined properties and values for the background size utility classes.
|
|
36
|
+
// The following sass variables control the generated classes:
|
|
37
|
+
// | Variable | Description | Default Value |
|
|
38
|
+
// | --- | --- | --- |
|
|
39
|
+
// | `$selector-base` | Base selector for utility classes. | `"."` |
|
|
40
|
+
// | `$use-important` | Append `!important` to generated declarations. | `true` |
|
|
41
|
+
// | `$generate-base-utilities` | Generate the base utilities. | `true` |
|
|
42
|
+
// | `$screen-aware` | Generate screen-aware variants. | `false` |
|
|
43
|
+
// | `$theme-aware` | Generate theme-aware variants. | `false` |
|
|
44
|
+
// | `$state-aware` | Generate state-aware variants. | `false` |
|
|
45
|
+
// | `$container-aware` | Generate container-aware variants. | `false` |
|
|
46
|
+
// | `$screen-aware-separator` | Separator for screen-aware utilities. | `"\\:"` |
|
|
47
|
+
// | `$theme-aware-separator` | Separator for theme-aware utilities. | `"\\:"` |
|
|
48
|
+
// | `$state-aware-separator` | Separator for state-aware utilities. | `"\\:"` |
|
|
49
|
+
// | `$container-aware-separator` | Separator for container-aware utilities. | `"\\:"` |
|
|
50
|
+
// | `$screen-aware-selector-prefix` | Prefix for screen-aware utilities. | `""` |
|
|
51
|
+
// | `$theme-aware-selector-prefix` | Prefix for theme-aware utilities. | `""` |
|
|
52
|
+
// | `$state-aware-selector-prefix` | Prefix for state-aware utilities. | `""` |
|
|
53
|
+
// | `$container-aware-selector-prefix` | Prefix for container-aware utilities. | `"cq\\:"` |
|
|
54
|
+
// | `$background-attachment-selector-prefix` | Prefix for background-attachment utilities. | `"bg-attachment-"` |
|
|
55
|
+
// | `$background-attachment-properties` | Map of background-attachment utility values. | `scroll, fixed, local` |
|
|
56
|
+
// | `$background-clip-selector-prefix` | Prefix for background-clip utilities. | `"bg-clip-"` |
|
|
57
|
+
// | `$background-clip-properties` | Map of background-clip utility values. | `border-box, padding-box, content-box, text, border-area` |
|
|
58
|
+
// | `$background-image-selector-prefix` | Prefix for background-image utilities. | `"bg-image-"` |
|
|
59
|
+
// | `$background-image-properties` | Map of background-image utility values. | `none` |
|
|
60
|
+
// | `$background-origin-selector-prefix` | Prefix for background-origin utilities. | `"bg-origin-"` |
|
|
61
|
+
// | `$background-origin-properties` | Map of background-origin utility values. | `border-box, padding-box, content-box` |
|
|
62
|
+
// | `$background-position-selector-prefix` | Prefix for background-position utilities. | `"bg-position-"` |
|
|
63
|
+
// | `$background-position-properties` | Map of background-position utility values. | `top, right, bottom, left, center` |
|
|
64
|
+
// | `$background-repeat-selector-prefix` | Prefix for background-repeat utilities. | `"bg-repeat-"` |
|
|
65
|
+
// | `$background-repeat-properties` | Map of background-repeat utility values. | `repeat, repeat-x, repeat-y, space, round, no-repeat` |
|
|
66
|
+
// | `$background-size-selector-prefix` | Prefix for background-size utilities. | `"bg-size-"` |
|
|
67
|
+
// | `$background-size-properties` | Map of background-size utility values. | `auto, cover, contain` |
|
|
73
68
|
//
|
|
74
69
|
// Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
|
|
75
70
|
// By default, no responsive utility classes are generated.
|
|
@@ -39,19 +39,8 @@ $-border-width-properties: (
|
|
|
39
39
|
medium: medium,
|
|
40
40
|
none: none,
|
|
41
41
|
);
|
|
42
|
-
$custom-border-width-properties: () !default;
|
|
43
42
|
$border-width-properties: () !default;
|
|
44
43
|
|
|
45
|
-
// @todo remove this once $custom-border-width-properties is removed
|
|
46
|
-
@if $custom-border-width-properties != () {
|
|
47
|
-
@warn "`$custom-border-width-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-width-properties` instead.";
|
|
48
|
-
|
|
49
|
-
$border-width-properties: map.merge(
|
|
50
|
-
$border-width-properties,
|
|
51
|
-
$custom-border-width-properties
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
44
|
// Border color properties.
|
|
56
45
|
$border-color-selector-prefix: "border-" !default;
|
|
57
46
|
$-border-color-properties: (
|
|
@@ -79,19 +68,8 @@ $-border-color-properties: (
|
|
|
79
68
|
}
|
|
80
69
|
}
|
|
81
70
|
|
|
82
|
-
$custom-border-color-properties: () !default;
|
|
83
71
|
$border-color-properties: () !default;
|
|
84
72
|
|
|
85
|
-
// @todo remove this once $custom-border-color-properties is removed
|
|
86
|
-
@if $custom-border-color-properties != () {
|
|
87
|
-
@warn "`$custom-border-color-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-color-properties` instead.";
|
|
88
|
-
|
|
89
|
-
$border-color-properties: map.merge(
|
|
90
|
-
$border-color-properties,
|
|
91
|
-
$custom-border-color-properties
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
73
|
// Border style properties.
|
|
96
74
|
$border-style-selector-prefix: "border-" !default;
|
|
97
75
|
$-border-style-properties: (
|
|
@@ -105,19 +83,8 @@ $-border-style-properties: (
|
|
|
105
83
|
outset: outset,
|
|
106
84
|
none: none,
|
|
107
85
|
);
|
|
108
|
-
$custom-border-style-properties: () !default;
|
|
109
86
|
$border-style-properties: () !default;
|
|
110
87
|
|
|
111
|
-
// @todo remove this once $custom-border-style-properties is removed
|
|
112
|
-
@if $custom-border-style-properties != () {
|
|
113
|
-
@warn "`$custom-border-style-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-style-properties` instead.";
|
|
114
|
-
|
|
115
|
-
$border-style-properties: map.merge(
|
|
116
|
-
$border-style-properties,
|
|
117
|
-
$custom-border-style-properties
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
88
|
// Merge custom properties with base properties if generating base utilities.
|
|
122
89
|
@if $generate-base-utilities {
|
|
123
90
|
$border-width-properties: map.merge(
|
|
@@ -49,32 +49,31 @@
|
|
|
49
49
|
// The following custom properties control the generated classes:
|
|
50
50
|
// - N/A.
|
|
51
51
|
//
|
|
52
|
-
// The following variables control the generated classes:
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
// - `$border-style-properties`: The combined properties and values for the border style utility classes.
|
|
52
|
+
// The following sass variables control the generated classes:
|
|
53
|
+
// | Variable | Description | Default Value |
|
|
54
|
+
// | --- | --- | --- |
|
|
55
|
+
// | `$selector-base` | Base selector for utility classes. | `"."` |
|
|
56
|
+
// | `$use-important` | Append `!important` to generated declarations. | `true` |
|
|
57
|
+
// | `$generate-base-utilities` | Generate the base utilities. | `true` |
|
|
58
|
+
// | `$screen-aware` | Generate screen-aware variants. | `false` |
|
|
59
|
+
// | `$theme-aware` | Generate theme-aware variants. | `false` |
|
|
60
|
+
// | `$state-aware` | Generate state-aware variants. | `false` |
|
|
61
|
+
// | `$container-aware` | Generate container-aware variants. | `false` |
|
|
62
|
+
// | `$screen-aware-separator` | Separator for screen-aware utilities. | `"\\:"` |
|
|
63
|
+
// | `$theme-aware-separator` | Separator for theme-aware utilities. | `"\\:"` |
|
|
64
|
+
// | `$state-aware-separator` | Separator for state-aware utilities. | `"\\:"` |
|
|
65
|
+
// | `$container-aware-separator` | Separator for container-aware utilities. | `"\\:"` |
|
|
66
|
+
// | `$screen-aware-selector-prefix` | Prefix for screen-aware utilities. | `""` |
|
|
67
|
+
// | `$theme-aware-selector-prefix` | Prefix for theme-aware utilities. | `""` |
|
|
68
|
+
// | `$state-aware-selector-prefix` | Prefix for state-aware utilities. | `""` |
|
|
69
|
+
// | `$container-aware-selector-prefix` | Prefix for container-aware utilities. | `"cq\\:"` |
|
|
70
|
+
// | `$default-border-selector` | Selector name for the default border utility. | `"bordered"` |
|
|
71
|
+
// | `$border-width-selector-prefix` | Prefix for border-width utilities. | `"border-"` |
|
|
72
|
+
// | `$border-width-properties` | Map of border-width utility values. | `thick, thin, medium, none` |
|
|
73
|
+
// | `$border-color-selector-prefix` | Prefix for border-color utilities. | `"border-"` |
|
|
74
|
+
// | `$border-color-properties` | Map of border-color utility values (includes theme shades). | `transparent`, all theme colours/shades |
|
|
75
|
+
// | `$border-style-selector-prefix` | Prefix for border-style utilities. | `"border-"` |
|
|
76
|
+
// | `$border-style-properties` | Map of border-style utility values. | `solid, dashed, dotted, double, groove, ridge, inset, outset, none` |
|
|
78
77
|
//
|
|
79
78
|
// Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
|
|
80
79
|
// By default, no responsive utility classes are generated.
|
|
@@ -35,19 +35,8 @@ $-background-properties: (
|
|
|
35
35
|
current: currentcolor,
|
|
36
36
|
transparent: transparent,
|
|
37
37
|
);
|
|
38
|
-
$custom-background-properties: () !default;
|
|
39
38
|
$background-properties: () !default;
|
|
40
39
|
|
|
41
|
-
// @todo remove this once $custom-background-properties is removed
|
|
42
|
-
@if $custom-background-properties != () {
|
|
43
|
-
@warn "`$custom-background-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-properties` instead.";
|
|
44
|
-
|
|
45
|
-
$background-properties: map.merge(
|
|
46
|
-
$background-properties,
|
|
47
|
-
$custom-background-properties
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
40
|
// Text utility properties.
|
|
52
41
|
$text-selector-prefix: "text-" !default;
|
|
53
42
|
$-text-properties: (
|
|
@@ -55,16 +44,8 @@ $-text-properties: (
|
|
|
55
44
|
current: currentcolor,
|
|
56
45
|
transparent: transparent,
|
|
57
46
|
);
|
|
58
|
-
$custom-text-properties: () !default;
|
|
59
47
|
$text-properties: () !default;
|
|
60
48
|
|
|
61
|
-
// @todo remove this once $custom-text-properties is removed
|
|
62
|
-
@if $custom-text-properties != () {
|
|
63
|
-
@warn "`$custom-text-properties` is deprecated and will be removed in a future release of Graupl. Use `$text-properties` instead.";
|
|
64
|
-
|
|
65
|
-
$text-properties: map.merge($text-properties, $custom-text-properties);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
49
|
// Add all of the active theme colours to the text and background base properties.
|
|
69
50
|
@each $color in theme.get-colors() {
|
|
70
51
|
$map: theme.get-color($color);
|
|
@@ -67,28 +67,28 @@
|
|
|
67
67
|
// The following custom properties control the generated classes:
|
|
68
68
|
// - N/A.
|
|
69
69
|
//
|
|
70
|
-
// The following variables control the generated classes:
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
70
|
+
// The following sass variables control the generated classes:
|
|
71
|
+
// | Variable | Description | Default Value |
|
|
72
|
+
// | --- | --- | --- |
|
|
73
|
+
// | `$selector-base` | Base selector for utility classes. | `"."` |
|
|
74
|
+
// | `$use-important` | Append `!important` to generated declarations. | `true` |
|
|
75
|
+
// | `$generate-base-utilities` | Generate the base utilities. | `true` |
|
|
76
|
+
// | `$screen-aware` | Generate screen-aware variants. | `false` |
|
|
77
|
+
// | `$theme-aware` | Generate theme-aware variants. | `true` |
|
|
78
|
+
// | `$state-aware` | Generate state-aware variants. | `true` |
|
|
79
|
+
// | `$container-aware` | Generate container-aware variants. | `false` |
|
|
80
|
+
// | `$screen-aware-separator` | Separator for screen-aware utilities. | `"\\:"` |
|
|
81
|
+
// | `$theme-aware-separator` | Separator for theme-aware utilities. | `"\\:"` |
|
|
82
|
+
// | `$state-aware-separator` | Separator for state-aware utilities. | `"\\:"` |
|
|
83
|
+
// | `$container-aware-separator` | Separator for container-aware utilities. | `"\\:"` |
|
|
84
|
+
// | `$screen-aware-selector-prefix` | Prefix for screen-aware utilities. | `""` |
|
|
85
|
+
// | `$theme-aware-selector-prefix` | Prefix for theme-aware utilities. | `""` |
|
|
86
|
+
// | `$state-aware-selector-prefix` | Prefix for state-aware utilities. | `""` |
|
|
87
|
+
// | `$container-aware-selector-prefix` | Prefix for container-aware utilities. | `"cq\\:"` |
|
|
88
|
+
// | `$background-selector-prefix` | Prefix for background utilities. | `"bg-"` |
|
|
89
|
+
// | `$background-properties` | Map of background utility values (including theme colours/shades). | Includes primary/secondary/tertiary shades, inherit/current/transparent |
|
|
90
|
+
// | `$text-selector-prefix` | Prefix for text utilities. | `"text-"` |
|
|
91
|
+
// | `$text-properties` | Map of text utility values (including theme colours/shades). | Includes primary/secondary/tertiary shades, inherit/current/transparent |
|
|
92
92
|
//
|
|
93
93
|
// Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
|
|
94
94
|
// By default, theme-aware and state-aware utility classes are generated.
|
|
@@ -34,19 +34,8 @@ $-container-type-properties: (
|
|
|
34
34
|
size: "size",
|
|
35
35
|
scroll: "scroll-state",
|
|
36
36
|
);
|
|
37
|
-
$custom-container-type-properties: () !default;
|
|
38
37
|
$container-type-properties: () !default;
|
|
39
38
|
|
|
40
|
-
// @todo remove this once $custom-container-type-properties is removed
|
|
41
|
-
@if $custom-container-type-properties != () {
|
|
42
|
-
@warn "`$custom-container-type-properties` is deprecated and will be removed in a future release of Graupl. Use `$container-type-properties` instead.";
|
|
43
|
-
|
|
44
|
-
$container-type-properties: map.merge(
|
|
45
|
-
$container-type-properties,
|
|
46
|
-
$custom-container-type-properties
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
39
|
// Merge custom properties with base properties if generating base utilities.
|
|
51
40
|
@if $generate-base-utilities {
|
|
52
41
|
$container-type-properties: map.merge(
|
|
@@ -11,25 +11,26 @@
|
|
|
11
11
|
// The following custom properties control the generated classes:
|
|
12
12
|
// - N/A.
|
|
13
13
|
//
|
|
14
|
-
// The following variables control the generated classes:
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
//
|
|
32
|
-
//
|
|
14
|
+
// The following sass variables control the generated classes:
|
|
15
|
+
// | Variable | Description | Default Value |
|
|
16
|
+
// | --- | --- | --- |
|
|
17
|
+
// | `$selector-base` | Base selector for utility classes. | `"."` |
|
|
18
|
+
// | `$use-important` | Append `!important` to generated declarations. | `true` |
|
|
19
|
+
// | `$generate-base-utilities` | Generate the base utilities. | `true` |
|
|
20
|
+
// | `$screen-aware` | Generate screen-aware variants. | `false` |
|
|
21
|
+
// | `$theme-aware` | Generate theme-aware variants. | `false` |
|
|
22
|
+
// | `$state-aware` | Generate state-aware variants. | `false` |
|
|
23
|
+
// | `$container-aware` | Generate container-aware variants. | `false` |
|
|
24
|
+
// | `$screen-aware-separator` | Separator for screen-aware utilities. | `"\\:"` |
|
|
25
|
+
// | `$theme-aware-separator` | Separator for theme-aware utilities. | `"\\:"` |
|
|
26
|
+
// | `$state-aware-separator` | Separator for state-aware utilities. | `"\\:"` |
|
|
27
|
+
// | `$container-aware-separator` | Separator for container-aware utilities. | `"\\:"` |
|
|
28
|
+
// | `$screen-aware-selector-prefix` | Prefix for screen-aware utilities. | `""` |
|
|
29
|
+
// | `$theme-aware-selector-prefix` | Prefix for theme-aware utilities. | `""` |
|
|
30
|
+
// | `$state-aware-selector-prefix` | Prefix for state-aware utilities. | `""` |
|
|
31
|
+
// | `$container-aware-selector-prefix` | Prefix for container-aware utilities. | `"cq\\:"` |
|
|
32
|
+
// | `$container-type-selector-prefix` | Prefix for container-type utilities. | `"container-type-"` |
|
|
33
|
+
// | `$container-type-properties` | Map of container-type utility values. | `inline: inline-size, normal: normal, size: size, scroll: scroll-state` |
|
|
33
34
|
//
|
|
34
35
|
// Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
|
|
35
36
|
// By default, no responsive utility classes are generated.
|
|
@@ -41,19 +41,8 @@ $-display-properties: (
|
|
|
41
41
|
contents: contents,
|
|
42
42
|
list-item: list-item,
|
|
43
43
|
);
|
|
44
|
-
$custom-display-properties: () !default;
|
|
45
44
|
$display-properties: () !default;
|
|
46
45
|
|
|
47
|
-
// @todo remove this once $custom-display-properties is removed
|
|
48
|
-
@if $custom-display-properties != () {
|
|
49
|
-
@warn "`$custom-display-properties` is deprecated and will be removed in a future release of Graupl. Use `$display-properties` instead.";
|
|
50
|
-
|
|
51
|
-
$display-properties: map.merge(
|
|
52
|
-
$display-properties,
|
|
53
|
-
$custom-display-properties
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
46
|
// Merge custom properties with base properties if generating base utilities.
|
|
58
47
|
@if $generate-base-utilities {
|
|
59
48
|
$display-properties: map.merge($-display-properties, $display-properties);
|
|
@@ -18,25 +18,26 @@
|
|
|
18
18
|
// The following custom properties control the generated classes:
|
|
19
19
|
// - N/A.
|
|
20
20
|
//
|
|
21
|
-
// The following variables control the generated classes:
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
//
|
|
32
|
-
//
|
|
33
|
-
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
37
|
-
//
|
|
38
|
-
//
|
|
39
|
-
//
|
|
21
|
+
// The following sass variables control the generated classes:
|
|
22
|
+
// | Variable | Description | Default Value |
|
|
23
|
+
// | --- | --- | --- |
|
|
24
|
+
// | `$selector-base` | Base selector for utility classes. | `"."` |
|
|
25
|
+
// | `$use-important` | Append `!important` to generated declarations. | `true` |
|
|
26
|
+
// | `$generate-base-utilities` | Generate the base utilities. | `true` |
|
|
27
|
+
// | `$screen-aware` | Generate screen-aware variants. | `true` |
|
|
28
|
+
// | `$theme-aware` | Generate theme-aware variants. | `false` |
|
|
29
|
+
// | `$state-aware` | Generate state-aware variants. | `false` |
|
|
30
|
+
// | `$container-aware` | Generate container-aware variants. | `true` |
|
|
31
|
+
// | `$screen-aware-separator` | Separator for screen-aware utilities. | `"\\:"` |
|
|
32
|
+
// | `$theme-aware-separator` | Separator for theme-aware utilities. | `"\\:"` |
|
|
33
|
+
// | `$state-aware-separator` | Separator for state-aware utilities. | `"\\:"` |
|
|
34
|
+
// | `$container-aware-separator` | Separator for container-aware utilities. | `"\\:"` |
|
|
35
|
+
// | `$screen-aware-selector-prefix` | Prefix for screen-aware utilities. | `""` |
|
|
36
|
+
// | `$theme-aware-selector-prefix` | Prefix for theme-aware utilities. | `""` |
|
|
37
|
+
// | `$state-aware-selector-prefix` | Prefix for state-aware utilities. | `""` |
|
|
38
|
+
// | `$container-aware-selector-prefix` | Prefix for container-aware utilities. | `"cq\\:"` |
|
|
39
|
+
// | `$display-selector-prefix` | Prefix for display utilities. | `"display-"` |
|
|
40
|
+
// | `$display-properties` | Map of display utility values. | `block, inline-block, inline, flex, inline-flex, grid, inline-grid, flow-root, none, contents, list-item` |
|
|
40
41
|
//
|
|
41
42
|
// Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
|
|
42
43
|
// By default, only screen-aware utility classes are generated.
|