bootstrap 4.6.2 → 5.0.0

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