bootstrap 4.6.0 → 5.0.0.beta2

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.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/README.md +7 -4
  4. data/assets/javascripts/bootstrap-global-this-define.js +6 -0
  5. data/assets/javascripts/bootstrap-global-this-undefine.js +2 -0
  6. data/assets/javascripts/bootstrap-sprockets.js +14 -8
  7. data/assets/javascripts/bootstrap.js +2152 -1633
  8. data/assets/javascripts/bootstrap.min.js +2 -2
  9. data/assets/javascripts/bootstrap/alert.js +179 -64
  10. data/assets/javascripts/bootstrap/base-component.js +75 -0
  11. data/assets/javascripts/bootstrap/button.js +94 -143
  12. data/assets/javascripts/bootstrap/carousel.js +386 -202
  13. data/assets/javascripts/bootstrap/collapse.js +349 -132
  14. data/assets/javascripts/bootstrap/dom/data.js +81 -0
  15. data/assets/javascripts/bootstrap/dom/event-handler.js +310 -0
  16. data/assets/javascripts/bootstrap/dom/manipulator.js +86 -0
  17. data/assets/javascripts/bootstrap/dom/selector-engine.js +93 -0
  18. data/assets/javascripts/bootstrap/dropdown.js +387 -224
  19. data/assets/javascripts/bootstrap/modal.js +391 -220
  20. data/assets/javascripts/bootstrap/popover.js +94 -49
  21. data/assets/javascripts/bootstrap/scrollspy.js +212 -80
  22. data/assets/javascripts/bootstrap/tab.js +198 -79
  23. data/assets/javascripts/bootstrap/toast.js +211 -78
  24. data/assets/javascripts/bootstrap/tooltip.js +558 -300
  25. data/assets/stylesheets/_bootstrap-grid.scss +51 -16
  26. data/assets/stylesheets/_bootstrap-reboot.scss +4 -1
  27. data/assets/stylesheets/_bootstrap.scss +15 -8
  28. data/assets/stylesheets/bootstrap/_accordion.scss +126 -0
  29. data/assets/stylesheets/bootstrap/_alert.scss +15 -10
  30. data/assets/stylesheets/bootstrap/_badge.scss +2 -27
  31. data/assets/stylesheets/bootstrap/_breadcrumb.scss +3 -17
  32. data/assets/stylesheets/bootstrap/_button-group.scss +21 -45
  33. data/assets/stylesheets/bootstrap/_buttons.scss +27 -60
  34. data/assets/stylesheets/bootstrap/_card.scss +21 -92
  35. data/assets/stylesheets/bootstrap/_carousel.scss +65 -33
  36. data/assets/stylesheets/bootstrap/_close.scss +30 -30
  37. data/assets/stylesheets/bootstrap/_containers.scss +41 -0
  38. data/assets/stylesheets/bootstrap/_dropdown.scss +95 -38
  39. data/assets/stylesheets/bootstrap/_forms.scss +9 -347
  40. data/assets/stylesheets/bootstrap/_functions.scss +84 -23
  41. data/assets/stylesheets/bootstrap/_grid.scss +3 -54
  42. data/assets/stylesheets/bootstrap/_helpers.scss +7 -0
  43. data/assets/stylesheets/bootstrap/_list-group.scss +17 -8
  44. data/assets/stylesheets/bootstrap/_mixins.scss +7 -13
  45. data/assets/stylesheets/bootstrap/_modal.scss +41 -46
  46. data/assets/stylesheets/bootstrap/_nav.scss +16 -4
  47. data/assets/stylesheets/bootstrap/_navbar.scss +43 -71
  48. data/assets/stylesheets/bootstrap/_pagination.scss +10 -20
  49. data/assets/stylesheets/bootstrap/_popover.scss +15 -27
  50. data/assets/stylesheets/bootstrap/_progress.scss +2 -4
  51. data/assets/stylesheets/bootstrap/_reboot.scss +314 -163
  52. data/assets/stylesheets/bootstrap/_root.scss +5 -8
  53. data/assets/stylesheets/bootstrap/_spinners.scss +5 -5
  54. data/assets/stylesheets/bootstrap/_tables.scss +79 -114
  55. data/assets/stylesheets/bootstrap/_toasts.scss +20 -15
  56. data/assets/stylesheets/bootstrap/_tooltip.scss +17 -17
  57. data/assets/stylesheets/bootstrap/_transitions.scss +0 -1
  58. data/assets/stylesheets/bootstrap/_type.scss +38 -59
  59. data/assets/stylesheets/bootstrap/_utilities.scss +566 -18
  60. data/assets/stylesheets/bootstrap/_variables.scss +673 -463
  61. data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +18 -0
  62. data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +61 -0
  63. data/assets/stylesheets/bootstrap/forms/_form-check.scss +152 -0
  64. data/assets/stylesheets/bootstrap/forms/_form-control.scss +223 -0
  65. data/assets/stylesheets/bootstrap/forms/_form-range.scss +91 -0
  66. data/assets/stylesheets/bootstrap/forms/_form-select.scss +67 -0
  67. data/assets/stylesheets/bootstrap/forms/_form-text.scss +11 -0
  68. data/assets/stylesheets/bootstrap/forms/_input-group.scss +121 -0
  69. data/assets/stylesheets/bootstrap/forms/_labels.scss +36 -0
  70. data/assets/stylesheets/bootstrap/forms/_validation.scss +12 -0
  71. data/assets/stylesheets/bootstrap/{utilities → helpers}/_clearfix.scss +0 -0
  72. data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +12 -0
  73. data/assets/stylesheets/bootstrap/helpers/_position.scss +30 -0
  74. data/assets/stylesheets/bootstrap/helpers/_ratio.scss +26 -0
  75. data/assets/stylesheets/bootstrap/helpers/_stretched-link.scss +15 -0
  76. data/assets/stylesheets/bootstrap/helpers/_text-truncation.scss +7 -0
  77. data/assets/stylesheets/bootstrap/helpers/_visually-hidden.scss +8 -0
  78. data/assets/stylesheets/bootstrap/mixins/_alert.scss +1 -5
  79. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +8 -8
  80. data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +7 -9
  81. data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +14 -10
  82. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +65 -47
  83. data/assets/stylesheets/bootstrap/mixins/_caret.scss +8 -8
  84. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
  85. data/assets/stylesheets/bootstrap/mixins/_container.scss +9 -0
  86. data/assets/stylesheets/bootstrap/mixins/_forms.scss +27 -88
  87. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +13 -11
  88. data/assets/stylesheets/bootstrap/mixins/_grid.scss +83 -32
  89. data/assets/stylesheets/bootstrap/mixins/_image.scss +1 -21
  90. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -2
  91. data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
  92. data/assets/stylesheets/bootstrap/mixins/_pagination.scss +15 -8
  93. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +2 -2
  94. data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +21 -0
  95. data/assets/stylesheets/bootstrap/mixins/_transition.scss +1 -1
  96. data/assets/stylesheets/bootstrap/mixins/_utilities.scss +68 -0
  97. data/assets/stylesheets/bootstrap/mixins/_visually-hidden.scss +29 -0
  98. data/assets/stylesheets/bootstrap/utilities/_api.scss +47 -0
  99. data/assets/stylesheets/bootstrap/vendor/_rfs.scss +234 -126
  100. data/bootstrap.gemspec +1 -3
  101. data/lib/bootstrap/version.rb +2 -2
  102. data/tasks/updater/js.rb +20 -5
  103. data/test/dummy_rails/app/assets/javascripts/application.js +4 -3
  104. data/test/dummy_rails/app/views/layouts/application.html.erb +3 -1
  105. data/test/dummy_rails/app/views/pages/root.html +89 -0
  106. data/test/dummy_rails/config/application.rb +0 -3
  107. data/test/gemfiles/rails_6_1.gemfile +7 -0
  108. metadata +44 -75
  109. data/assets/javascripts/bootstrap/util.js +0 -192
  110. data/assets/stylesheets/bootstrap/_code.scss +0 -48
  111. data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -526
  112. data/assets/stylesheets/bootstrap/_input-group.scss +0 -208
  113. data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -17
  114. data/assets/stylesheets/bootstrap/_media.scss +0 -8
  115. data/assets/stylesheets/bootstrap/_print.scss +0 -141
  116. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -23
  117. data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -17
  118. data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -14
  119. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -80
  120. data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
  121. data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -11
  122. data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -34
  123. data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -7
  124. data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -39
  125. data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -17
  126. data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -11
  127. data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -8
  128. data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
  129. data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
  130. data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -75
  131. data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -26
  132. data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -39
  133. data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -51
  134. data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -11
  135. data/assets/stylesheets/bootstrap/utilities/_interactions.scss +0 -5
  136. data/assets/stylesheets/bootstrap/utilities/_overflow.scss +0 -5
  137. data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -32
  138. data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
  139. data/assets/stylesheets/bootstrap/utilities/_shadows.scss +0 -6
  140. data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -20
  141. data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -73
  142. data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +0 -19
  143. data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -72
  144. data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -13
  145. data/test/dummy_rails/app/views/pages/root.html.slim +0 -58
@@ -13,7 +13,6 @@
13
13
  }
14
14
 
15
15
  .collapsing {
16
- position: relative;
17
16
  height: 0;
18
17
  overflow: hidden;
19
18
  @include transition($transition-collapse);
@@ -1,82 +1,56 @@
1
- // stylelint-disable selector-list-comma-newline-after
2
-
3
1
  //
4
2
  // Headings
5
3
  //
6
-
7
- h1, h2, h3, h4, h5, h6,
8
- .h1, .h2, .h3, .h4, .h5, .h6 {
9
- margin-bottom: $headings-margin-bottom;
10
- font-family: $headings-font-family;
11
- font-weight: $headings-font-weight;
12
- line-height: $headings-line-height;
13
- color: $headings-color;
4
+ .h1 {
5
+ @extend h1;
14
6
  }
15
7
 
16
- h1, .h1 { @include font-size($h1-font-size); }
17
- h2, .h2 { @include font-size($h2-font-size); }
18
- h3, .h3 { @include font-size($h3-font-size); }
19
- h4, .h4 { @include font-size($h4-font-size); }
20
- h5, .h5 { @include font-size($h5-font-size); }
21
- h6, .h6 { @include font-size($h6-font-size); }
22
-
23
- .lead {
24
- @include font-size($lead-font-size);
25
- font-weight: $lead-font-weight;
8
+ .h2 {
9
+ @extend h2;
26
10
  }
27
11
 
28
- // Type display classes
29
- .display-1 {
30
- @include font-size($display1-size);
31
- font-weight: $display1-weight;
32
- line-height: $display-line-height;
12
+ .h3 {
13
+ @extend h3;
33
14
  }
34
- .display-2 {
35
- @include font-size($display2-size);
36
- font-weight: $display2-weight;
37
- line-height: $display-line-height;
15
+
16
+ .h4 {
17
+ @extend h4;
38
18
  }
39
- .display-3 {
40
- @include font-size($display3-size);
41
- font-weight: $display3-weight;
42
- line-height: $display-line-height;
19
+
20
+ .h5 {
21
+ @extend h5;
43
22
  }
44
- .display-4 {
45
- @include font-size($display4-size);
46
- font-weight: $display4-weight;
47
- line-height: $display-line-height;
23
+
24
+ .h6 {
25
+ @extend h6;
48
26
  }
49
27
 
50
28
 
51
- //
52
- // Horizontal rules
53
- //
54
-
55
- hr {
56
- margin-top: $hr-margin-y;
57
- margin-bottom: $hr-margin-y;
58
- border: 0;
59
- border-top: $hr-border-width solid $hr-border-color;
29
+ .lead {
30
+ @include font-size($lead-font-size);
31
+ font-weight: $lead-font-weight;
60
32
  }
61
33
 
34
+ // Type display classes
35
+ @each $display, $font-size in $display-font-sizes {
36
+ .display-#{$display} {
37
+ @include font-size($font-size);
38
+ font-weight: $display-font-weight;
39
+ line-height: $display-line-height;
40
+ }
41
+ }
62
42
 
63
43
  //
64
44
  // Emphasis
65
45
  //
66
-
67
- small,
68
46
  .small {
69
- @include font-size($small-font-size);
70
- font-weight: $font-weight-normal;
47
+ @extend small;
71
48
  }
72
49
 
73
- mark,
74
50
  .mark {
75
- padding: $mark-padding;
76
- background-color: $mark-bg;
51
+ @extend mark;
77
52
  }
78
53
 
79
-
80
54
  //
81
55
  // Lists
82
56
  //
@@ -104,20 +78,25 @@ mark,
104
78
 
105
79
  // Builds on `abbr`
106
80
  .initialism {
107
- @include font-size(90%);
81
+ @include font-size($initialism-font-size);
108
82
  text-transform: uppercase;
109
83
  }
110
84
 
111
85
  // Blockquotes
112
86
  .blockquote {
113
- margin-bottom: $spacer;
87
+ margin-bottom: $blockquote-margin-y;
114
88
  @include font-size($blockquote-font-size);
89
+
90
+ > :last-child {
91
+ margin-bottom: 0;
92
+ }
115
93
  }
116
94
 
117
95
  .blockquote-footer {
118
- display: block;
119
- @include font-size($blockquote-small-font-size);
120
- color: $blockquote-small-color;
96
+ margin-top: -$blockquote-margin-y;
97
+ margin-bottom: $blockquote-margin-y;
98
+ @include font-size($blockquote-footer-font-size);
99
+ color: $blockquote-footer-color;
121
100
 
122
101
  &::before {
123
102
  content: "\2014\00A0"; // em dash, nbsp
@@ -1,18 +1,566 @@
1
- @import "utilities/align";
2
- @import "utilities/background";
3
- @import "utilities/borders";
4
- @import "utilities/clearfix";
5
- @import "utilities/display";
6
- @import "utilities/embed";
7
- @import "utilities/flex";
8
- @import "utilities/float";
9
- @import "utilities/interactions";
10
- @import "utilities/overflow";
11
- @import "utilities/position";
12
- @import "utilities/screenreaders";
13
- @import "utilities/shadows";
14
- @import "utilities/sizing";
15
- @import "utilities/spacing";
16
- @import "utilities/stretched-link";
17
- @import "utilities/text";
18
- @import "utilities/visibility";
1
+ // Utilities
2
+
3
+ $utilities: () !default;
4
+ // stylelint-disable-next-line scss/dollar-variable-default
5
+ $utilities: map-merge(
6
+ (
7
+ "align": (
8
+ property: vertical-align,
9
+ class: align,
10
+ values: baseline top middle bottom text-bottom text-top
11
+ ),
12
+ "float": (
13
+ responsive: true,
14
+ property: float,
15
+ values: (
16
+ start: left,
17
+ end: right,
18
+ none: none,
19
+ )
20
+ ),
21
+ "overflow": (
22
+ property: overflow,
23
+ values: auto hidden visible scroll,
24
+ ),
25
+ // scss-docs-start utils-display
26
+ "display": (
27
+ responsive: true,
28
+ print: true,
29
+ property: display,
30
+ class: d,
31
+ values: inline inline-block block grid table table-row table-cell flex inline-flex none
32
+ ),
33
+ // scss-docs-end utils-display
34
+ "shadow": (
35
+ property: box-shadow,
36
+ class: shadow,
37
+ values: (
38
+ null: $box-shadow,
39
+ sm: $box-shadow-sm,
40
+ lg: $box-shadow-lg,
41
+ none: none,
42
+ )
43
+ ),
44
+ "position": (
45
+ property: position,
46
+ values: static relative absolute fixed sticky
47
+ ),
48
+ "top": (
49
+ property: top,
50
+ values: $position-values
51
+ ),
52
+ "bottom": (
53
+ property: bottom,
54
+ values: $position-values
55
+ ),
56
+ "start": (
57
+ property: left,
58
+ class: start,
59
+ values: $position-values
60
+ ),
61
+ "end": (
62
+ property: right,
63
+ class: end,
64
+ values: $position-values
65
+ ),
66
+ "translate-middle": (
67
+ property: transform,
68
+ class: translate-middle,
69
+ values: (
70
+ null: translate(-50%, -50%),
71
+ x: translateX(-50%),
72
+ y: translateY(-50%),
73
+ )
74
+ ),
75
+ "border": (
76
+ property: border,
77
+ values: (
78
+ null: $border-width solid $border-color,
79
+ 0: 0,
80
+ )
81
+ ),
82
+ "border-top": (
83
+ property: border-top,
84
+ values: (
85
+ null: $border-width solid $border-color,
86
+ 0: 0,
87
+ )
88
+ ),
89
+ "border-end": (
90
+ property: border-right,
91
+ class: border-end,
92
+ values: (
93
+ null: $border-width solid $border-color,
94
+ 0: 0,
95
+ )
96
+ ),
97
+ "border-bottom": (
98
+ property: border-bottom,
99
+ values: (
100
+ null: $border-width solid $border-color,
101
+ 0: 0,
102
+ )
103
+ ),
104
+ "border-start": (
105
+ property: border-left,
106
+ class: border-start,
107
+ values: (
108
+ null: $border-width solid $border-color,
109
+ 0: 0,
110
+ )
111
+ ),
112
+ "border-color": (
113
+ property: border-color,
114
+ class: border,
115
+ values: map-merge($theme-colors, ("white": $white))
116
+ ),
117
+ "border-width": (
118
+ property: border-width,
119
+ class: border,
120
+ values: $border-widths
121
+ ),
122
+ // Sizing utilities
123
+ "width": (
124
+ property: width,
125
+ class: w,
126
+ values: (
127
+ 25: 25%,
128
+ 50: 50%,
129
+ 75: 75%,
130
+ 100: 100%,
131
+ auto: auto
132
+ )
133
+ ),
134
+ "max-width": (
135
+ property: max-width,
136
+ class: mw,
137
+ values: (100: 100%)
138
+ ),
139
+ "viewport-width": (
140
+ property: width,
141
+ class: vw,
142
+ values: (100: 100vw)
143
+ ),
144
+ "min-viewport-width": (
145
+ property: min-width,
146
+ class: min-vw,
147
+ values: (100: 100vw)
148
+ ),
149
+ "height": (
150
+ property: height,
151
+ class: h,
152
+ values: (
153
+ 25: 25%,
154
+ 50: 50%,
155
+ 75: 75%,
156
+ 100: 100%,
157
+ auto: auto
158
+ )
159
+ ),
160
+ "max-height": (
161
+ property: max-height,
162
+ class: mh,
163
+ values: (100: 100%)
164
+ ),
165
+ "viewport-height": (
166
+ property: height,
167
+ class: vh,
168
+ values: (100: 100vh)
169
+ ),
170
+ "min-viewport-height": (
171
+ property: min-height,
172
+ class: min-vh,
173
+ values: (100: 100vh)
174
+ ),
175
+ // Flex utilities
176
+ "flex": (
177
+ responsive: true,
178
+ property: flex,
179
+ values: (fill: 1 1 auto)
180
+ ),
181
+ "flex-direction": (
182
+ responsive: true,
183
+ property: flex-direction,
184
+ class: flex,
185
+ values: row column row-reverse column-reverse
186
+ ),
187
+ "flex-grow": (
188
+ responsive: true,
189
+ property: flex-grow,
190
+ class: flex,
191
+ values: (
192
+ grow-0: 0,
193
+ grow-1: 1,
194
+ )
195
+ ),
196
+ "flex-shrink": (
197
+ responsive: true,
198
+ property: flex-shrink,
199
+ class: flex,
200
+ values: (
201
+ shrink-0: 0,
202
+ shrink-1: 1,
203
+ )
204
+ ),
205
+ "flex-wrap": (
206
+ responsive: true,
207
+ property: flex-wrap,
208
+ class: flex,
209
+ values: wrap nowrap wrap-reverse
210
+ ),
211
+ "gap": (
212
+ responsive: true,
213
+ property: gap,
214
+ class: gap,
215
+ values: $spacers
216
+ ),
217
+ "justify-content": (
218
+ responsive: true,
219
+ property: justify-content,
220
+ values: (
221
+ start: flex-start,
222
+ end: flex-end,
223
+ center: center,
224
+ between: space-between,
225
+ around: space-around,
226
+ evenly: space-evenly,
227
+ )
228
+ ),
229
+ "align-items": (
230
+ responsive: true,
231
+ property: align-items,
232
+ values: (
233
+ start: flex-start,
234
+ end: flex-end,
235
+ center: center,
236
+ baseline: baseline,
237
+ stretch: stretch,
238
+ )
239
+ ),
240
+ "align-content": (
241
+ responsive: true,
242
+ property: align-content,
243
+ values: (
244
+ start: flex-start,
245
+ end: flex-end,
246
+ center: center,
247
+ between: space-between,
248
+ around: space-around,
249
+ stretch: stretch,
250
+ )
251
+ ),
252
+ "align-self": (
253
+ responsive: true,
254
+ property: align-self,
255
+ values: (
256
+ auto: auto,
257
+ start: flex-start,
258
+ end: flex-end,
259
+ center: center,
260
+ baseline: baseline,
261
+ stretch: stretch,
262
+ )
263
+ ),
264
+ "order": (
265
+ responsive: true,
266
+ property: order,
267
+ values: (
268
+ first: -1,
269
+ 0: 0,
270
+ 1: 1,
271
+ 2: 2,
272
+ 3: 3,
273
+ 4: 4,
274
+ 5: 5,
275
+ last: 6,
276
+ ),
277
+ ),
278
+ // Margin utilities
279
+ "margin": (
280
+ responsive: true,
281
+ property: margin,
282
+ class: m,
283
+ values: map-merge($spacers, (auto: auto))
284
+ ),
285
+ "margin-x": (
286
+ responsive: true,
287
+ property: margin-right margin-left,
288
+ class: mx,
289
+ values: map-merge($spacers, (auto: auto))
290
+ ),
291
+ "margin-y": (
292
+ responsive: true,
293
+ property: margin-top margin-bottom,
294
+ class: my,
295
+ values: map-merge($spacers, (auto: auto))
296
+ ),
297
+ "margin-top": (
298
+ responsive: true,
299
+ property: margin-top,
300
+ class: mt,
301
+ values: map-merge($spacers, (auto: auto))
302
+ ),
303
+ "margin-end": (
304
+ responsive: true,
305
+ property: margin-right,
306
+ class: me,
307
+ values: map-merge($spacers, (auto: auto))
308
+ ),
309
+ "margin-bottom": (
310
+ responsive: true,
311
+ property: margin-bottom,
312
+ class: mb,
313
+ values: map-merge($spacers, (auto: auto))
314
+ ),
315
+ "margin-start": (
316
+ responsive: true,
317
+ property: margin-left,
318
+ class: ms,
319
+ values: map-merge($spacers, (auto: auto))
320
+ ),
321
+ // Negative margin utilities
322
+ "negative-margin": (
323
+ responsive: true,
324
+ property: margin,
325
+ class: m,
326
+ values: $negative-spacers
327
+ ),
328
+ "negative-margin-x": (
329
+ responsive: true,
330
+ property: margin-right margin-left,
331
+ class: mx,
332
+ values: $negative-spacers
333
+ ),
334
+ "negative-margin-y": (
335
+ responsive: true,
336
+ property: margin-top margin-bottom,
337
+ class: my,
338
+ values: $negative-spacers
339
+ ),
340
+ "negative-margin-top": (
341
+ responsive: true,
342
+ property: margin-top,
343
+ class: mt,
344
+ values: $negative-spacers
345
+ ),
346
+ "negative-margin-end": (
347
+ responsive: true,
348
+ property: margin-right,
349
+ class: me,
350
+ values: $negative-spacers
351
+ ),
352
+ "negative-margin-bottom": (
353
+ responsive: true,
354
+ property: margin-bottom,
355
+ class: mb,
356
+ values: $negative-spacers
357
+ ),
358
+ "negative-margin-start": (
359
+ responsive: true,
360
+ property: margin-left,
361
+ class: ms,
362
+ values: $negative-spacers
363
+ ),
364
+ // Padding utilities
365
+ "padding": (
366
+ responsive: true,
367
+ property: padding,
368
+ class: p,
369
+ values: $spacers
370
+ ),
371
+ "padding-x": (
372
+ responsive: true,
373
+ property: padding-right padding-left,
374
+ class: px,
375
+ values: $spacers
376
+ ),
377
+ "padding-y": (
378
+ responsive: true,
379
+ property: padding-top padding-bottom,
380
+ class: py,
381
+ values: $spacers
382
+ ),
383
+ "padding-top": (
384
+ responsive: true,
385
+ property: padding-top,
386
+ class: pt,
387
+ values: $spacers
388
+ ),
389
+ "padding-end": (
390
+ responsive: true,
391
+ property: padding-right,
392
+ class: pe,
393
+ values: $spacers
394
+ ),
395
+ "padding-bottom": (
396
+ responsive: true,
397
+ property: padding-bottom,
398
+ class: pb,
399
+ values: $spacers
400
+ ),
401
+ "padding-start": (
402
+ responsive: true,
403
+ property: padding-left,
404
+ class: ps,
405
+ values: $spacers
406
+ ),
407
+ // Text
408
+ "font-size": (
409
+ rfs: true,
410
+ property: font-size,
411
+ class: fs,
412
+ values: $font-sizes
413
+ ),
414
+ "font-style": (
415
+ property: font-style,
416
+ class: fst,
417
+ values: italic normal
418
+ ),
419
+ "font-weight": (
420
+ property: font-weight,
421
+ class: fw,
422
+ values: (
423
+ light: $font-weight-light,
424
+ lighter: $font-weight-lighter,
425
+ normal: $font-weight-normal,
426
+ bold: $font-weight-bold,
427
+ bolder: $font-weight-bolder
428
+ )
429
+ ),
430
+ "text-transform": (
431
+ property: text-transform,
432
+ class: text,
433
+ values: lowercase uppercase capitalize
434
+ ),
435
+ "text-align": (
436
+ responsive: true,
437
+ property: text-align,
438
+ class: text,
439
+ values: (
440
+ start: left,
441
+ end: right,
442
+ center: center,
443
+ )
444
+ ),
445
+ // scss-docs-start utils-color
446
+ "color": (
447
+ property: color,
448
+ class: text,
449
+ values: map-merge(
450
+ $theme-colors,
451
+ (
452
+ "white": $white,
453
+ "body": $body-color,
454
+ "muted": $text-muted,
455
+ "black-50": rgba($black, .5),
456
+ "white-50": rgba($white, .5),
457
+ "reset": inherit,
458
+ )
459
+ )
460
+ ),
461
+ // scss-docs-end utils-color
462
+ "line-height": (
463
+ property: line-height,
464
+ class: lh,
465
+ values: (
466
+ 1: 1,
467
+ sm: $line-height-sm,
468
+ base: $line-height-base,
469
+ lg: $line-height-lg,
470
+ )
471
+ ),
472
+ // scss-docs-start utils-bg-color
473
+ "background-color": (
474
+ property: background-color,
475
+ class: bg,
476
+ values: map-merge(
477
+ $theme-colors,
478
+ (
479
+ "body": $body-bg,
480
+ "white": $white,
481
+ "transparent": transparent
482
+ )
483
+ )
484
+ ),
485
+ // scss-docs-end utils-bg-color
486
+ "gradient": (
487
+ property: background-image,
488
+ class: bg,
489
+ values: (gradient: var(--#{$variable-prefix}gradient))
490
+ ),
491
+ "white-space": (
492
+ property: white-space,
493
+ class: text,
494
+ values: (
495
+ wrap: normal,
496
+ nowrap: nowrap,
497
+ )
498
+ ),
499
+ "text-decoration": (
500
+ property: text-decoration,
501
+ values: none underline line-through
502
+ ),
503
+ "word-wrap": (
504
+ property: word-wrap word-break,
505
+ class: text,
506
+ values: (break: break-word),
507
+ rtl: false
508
+ ),
509
+ "font-family": (
510
+ property: font-family,
511
+ class: font,
512
+ values: (monospace: var(--#{$variable-prefix}font-monospace))
513
+ ),
514
+ "user-select": (
515
+ property: user-select,
516
+ values: all auto none
517
+ ),
518
+ "pointer-events": (
519
+ property: pointer-events,
520
+ class: pe,
521
+ values: none auto,
522
+ ),
523
+ "rounded": (
524
+ property: border-radius,
525
+ class: rounded,
526
+ values: (
527
+ null: $border-radius,
528
+ 0: 0,
529
+ 1: $border-radius-sm,
530
+ 2: $border-radius,
531
+ 3: $border-radius-lg,
532
+ circle: 50%,
533
+ pill: $border-radius-pill
534
+ )
535
+ ),
536
+ "rounded-top": (
537
+ property: border-top-left-radius border-top-right-radius,
538
+ class: rounded-top,
539
+ values: (null: $border-radius)
540
+ ),
541
+ "rounded-end": (
542
+ property: border-top-right-radius border-bottom-right-radius,
543
+ class: rounded-end,
544
+ values: (null: $border-radius)
545
+ ),
546
+ "rounded-bottom": (
547
+ property: border-bottom-right-radius border-bottom-left-radius,
548
+ class: rounded-bottom,
549
+ values: (null: $border-radius)
550
+ ),
551
+ "rounded-start": (
552
+ property: border-bottom-left-radius border-top-left-radius,
553
+ class: rounded-start,
554
+ values: (null: $border-radius)
555
+ ),
556
+ "visibility": (
557
+ property: visibility,
558
+ class: null,
559
+ values: (
560
+ visible: visible,
561
+ invisible: hidden,
562
+ )
563
+ )
564
+ ),
565
+ $utilities
566
+ );