bootstrap 4.5.2 → 5.0.0.beta1

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