@gitlab/ui 94.2.0 → 94.4.0

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 (240) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/experimental/duo/chat/duo_chat.js +1 -2
  3. package/dist/vendor/bootstrap-vue/src/components/badge/index.js +0 -10
  4. package/dist/vendor/bootstrap-vue/src/components/breadcrumb/index.js +0 -14
  5. package/dist/vendor/bootstrap-vue/src/components/button/index.js +0 -14
  6. package/dist/vendor/bootstrap-vue/src/components/button-group/index.js +0 -11
  7. package/dist/vendor/bootstrap-vue/src/components/collapse/index.js +0 -14
  8. package/dist/vendor/bootstrap-vue/src/components/dropdown/index.js +0 -34
  9. package/dist/vendor/bootstrap-vue/src/components/form/index.js +0 -20
  10. package/dist/vendor/bootstrap-vue/src/components/form-checkbox/index.js +0 -16
  11. package/dist/vendor/bootstrap-vue/src/components/form-group/index.js +0 -11
  12. package/dist/vendor/bootstrap-vue/src/components/form-input/index.js +0 -11
  13. package/dist/vendor/bootstrap-vue/src/components/form-radio/index.js +0 -14
  14. package/dist/vendor/bootstrap-vue/src/components/form-select/index.js +0 -17
  15. package/dist/vendor/bootstrap-vue/src/components/form-textarea/index.js +0 -11
  16. package/dist/vendor/bootstrap-vue/src/components/index.js +1 -49
  17. package/dist/vendor/bootstrap-vue/src/components/input-group/index.js +0 -18
  18. package/dist/vendor/bootstrap-vue/src/components/layout/index.js +0 -12
  19. package/dist/vendor/bootstrap-vue/src/components/link/index.js +0 -10
  20. package/dist/vendor/bootstrap-vue/src/components/modal/index.js +0 -19
  21. package/dist/vendor/bootstrap-vue/src/components/nav/index.js +0 -21
  22. package/dist/vendor/bootstrap-vue/src/components/navbar/index.js +0 -20
  23. package/dist/vendor/bootstrap-vue/src/components/popover/index.js +0 -14
  24. package/dist/vendor/bootstrap-vue/src/components/progress/index.js +0 -12
  25. package/dist/vendor/bootstrap-vue/src/components/table/index.js +0 -38
  26. package/dist/vendor/bootstrap-vue/src/components/tabs/index.js +0 -12
  27. package/dist/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip.js +1 -1
  28. package/dist/vendor/bootstrap-vue/src/components/tooltip/index.js +0 -14
  29. package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -2
  30. package/dist/vendor/bootstrap-vue/src/constants/env.js +1 -2
  31. package/dist/vendor/bootstrap-vue/src/constants/regex.js +1 -3
  32. package/dist/vendor/bootstrap-vue/src/directives/modal/index.js +0 -10
  33. package/dist/vendor/bootstrap-vue/src/directives/toggle/index.js +0 -10
  34. package/dist/vendor/bootstrap-vue/src/directives/tooltip/index.js +0 -10
  35. package/dist/vendor/bootstrap-vue/src/directives/visible/index.js +0 -10
  36. package/dist/vendor/bootstrap-vue/src/index.js +1 -38
  37. package/dist/vendor/bootstrap-vue/src/utils/object.js +1 -3
  38. package/dist/vendor/bootstrap-vue/src/utils/warn.js +2 -17
  39. package/package.json +2 -1
  40. package/src/components/experimental/duo/chat/duo_chat.vue +0 -10
  41. package/src/vendor/bootstrap/LICENSE +22 -0
  42. package/src/vendor/bootstrap/scss/_alert.scss +52 -0
  43. package/src/vendor/bootstrap/scss/_badge.scss +54 -0
  44. package/src/vendor/bootstrap/scss/_breadcrumb.scss +42 -0
  45. package/src/vendor/bootstrap/scss/_button-group.scss +163 -0
  46. package/src/vendor/bootstrap/scss/_buttons.scss +142 -0
  47. package/src/vendor/bootstrap/scss/_card.scss +286 -0
  48. package/src/vendor/bootstrap/scss/_carousel.scss +200 -0
  49. package/src/vendor/bootstrap/scss/_close.scss +40 -0
  50. package/src/vendor/bootstrap/scss/_code.scss +48 -0
  51. package/src/vendor/bootstrap/scss/_custom-forms.scss +526 -0
  52. package/src/vendor/bootstrap/scss/_dropdown.scss +192 -0
  53. package/src/vendor/bootstrap/scss/_forms.scss +347 -0
  54. package/src/vendor/bootstrap/scss/_functions.scss +190 -0
  55. package/src/vendor/bootstrap/scss/_grid.scss +73 -0
  56. package/src/vendor/bootstrap/scss/_images.scss +42 -0
  57. package/src/vendor/bootstrap/scss/_input-group.scss +211 -0
  58. package/src/vendor/bootstrap/scss/_jumbotron.scss +17 -0
  59. package/src/vendor/bootstrap/scss/_list-group.scss +154 -0
  60. package/src/vendor/bootstrap/scss/_media.scss +8 -0
  61. package/src/vendor/bootstrap/scss/_mixins.scss +47 -0
  62. package/src/vendor/bootstrap/scss/_modal.scss +240 -0
  63. package/src/vendor/bootstrap/scss/_nav.scss +125 -0
  64. package/src/vendor/bootstrap/scss/_navbar.scss +332 -0
  65. package/src/vendor/bootstrap/scss/_pagination.scss +74 -0
  66. package/src/vendor/bootstrap/scss/_popover.scss +170 -0
  67. package/src/vendor/bootstrap/scss/_print.scss +132 -0
  68. package/src/vendor/bootstrap/scss/_progress.scss +47 -0
  69. package/src/vendor/bootstrap/scss/_reboot.scss +484 -0
  70. package/src/vendor/bootstrap/scss/_root.scss +19 -0
  71. package/src/vendor/bootstrap/scss/_spinners.scss +65 -0
  72. package/src/vendor/bootstrap/scss/_tables.scss +185 -0
  73. package/src/vendor/bootstrap/scss/_toasts.scss +46 -0
  74. package/src/vendor/bootstrap/scss/_tooltip.scss +115 -0
  75. package/src/vendor/bootstrap/scss/_transitions.scss +26 -0
  76. package/src/vendor/bootstrap/scss/_type.scss +125 -0
  77. package/src/vendor/bootstrap/scss/_utilities.scss +18 -0
  78. package/src/vendor/bootstrap/scss/_variables.scss +1149 -0
  79. package/src/vendor/bootstrap/scss/bootstrap-grid.scss +30 -0
  80. package/src/vendor/bootstrap/scss/bootstrap-reboot.scss +12 -0
  81. package/src/vendor/bootstrap/scss/bootstrap.scss +44 -0
  82. package/src/vendor/bootstrap/scss/mixins/_alert.scss +13 -0
  83. package/src/vendor/bootstrap/scss/mixins/_background-variant.scss +23 -0
  84. package/src/vendor/bootstrap/scss/mixins/_badge.scss +17 -0
  85. package/src/vendor/bootstrap/scss/mixins/_border-radius.scss +76 -0
  86. package/src/vendor/bootstrap/scss/mixins/_box-shadow.scss +20 -0
  87. package/src/vendor/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  88. package/src/vendor/bootstrap/scss/mixins/_buttons.scss +110 -0
  89. package/src/vendor/bootstrap/scss/mixins/_caret.scss +62 -0
  90. package/src/vendor/bootstrap/scss/mixins/_clearfix.scss +7 -0
  91. package/src/vendor/bootstrap/scss/mixins/_deprecate.scss +10 -0
  92. package/src/vendor/bootstrap/scss/mixins/_float.scss +14 -0
  93. package/src/vendor/bootstrap/scss/mixins/_forms.scss +195 -0
  94. package/src/vendor/bootstrap/scss/mixins/_gradients.scss +45 -0
  95. package/src/vendor/bootstrap/scss/mixins/_grid-framework.scss +80 -0
  96. package/src/vendor/bootstrap/scss/mixins/_grid.scss +69 -0
  97. package/src/vendor/bootstrap/scss/mixins/_hover.scss +37 -0
  98. package/src/vendor/bootstrap/scss/mixins/_image.scss +36 -0
  99. package/src/vendor/bootstrap/scss/mixins/_list-group.scss +21 -0
  100. package/src/vendor/bootstrap/scss/mixins/_lists.scss +7 -0
  101. package/src/vendor/bootstrap/scss/mixins/_nav-divider.scss +11 -0
  102. package/src/vendor/bootstrap/scss/mixins/_pagination.scss +22 -0
  103. package/src/vendor/bootstrap/scss/mixins/_reset-text.scss +17 -0
  104. package/src/vendor/bootstrap/scss/mixins/_resize.scss +6 -0
  105. package/src/vendor/bootstrap/scss/mixins/_screen-reader.scss +34 -0
  106. package/src/vendor/bootstrap/scss/mixins/_size.scss +7 -0
  107. package/src/vendor/bootstrap/scss/mixins/_table-row.scss +39 -0
  108. package/src/vendor/bootstrap/scss/mixins/_text-emphasis.scss +17 -0
  109. package/src/vendor/bootstrap/scss/mixins/_text-hide.scss +11 -0
  110. package/src/vendor/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  111. package/src/vendor/bootstrap/scss/mixins/_transition.scss +26 -0
  112. package/src/vendor/bootstrap/scss/mixins/_visibility.scss +8 -0
  113. package/src/vendor/bootstrap/scss/utilities/_align.scss +8 -0
  114. package/src/vendor/bootstrap/scss/utilities/_background.scss +19 -0
  115. package/src/vendor/bootstrap/scss/utilities/_borders.scss +75 -0
  116. package/src/vendor/bootstrap/scss/utilities/_clearfix.scss +3 -0
  117. package/src/vendor/bootstrap/scss/utilities/_display.scss +26 -0
  118. package/src/vendor/bootstrap/scss/utilities/_embed.scss +39 -0
  119. package/src/vendor/bootstrap/scss/utilities/_flex.scss +51 -0
  120. package/src/vendor/bootstrap/scss/utilities/_float.scss +11 -0
  121. package/src/vendor/bootstrap/scss/utilities/_interactions.scss +5 -0
  122. package/src/vendor/bootstrap/scss/utilities/_overflow.scss +5 -0
  123. package/src/vendor/bootstrap/scss/utilities/_position.scss +32 -0
  124. package/src/vendor/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  125. package/src/vendor/bootstrap/scss/utilities/_shadows.scss +6 -0
  126. package/src/vendor/bootstrap/scss/utilities/_sizing.scss +20 -0
  127. package/src/vendor/bootstrap/scss/utilities/_spacing.scss +73 -0
  128. package/src/vendor/bootstrap/scss/utilities/_stretched-link.scss +19 -0
  129. package/src/vendor/bootstrap/scss/utilities/_text.scss +72 -0
  130. package/src/vendor/bootstrap/scss/utilities/_visibility.scss +13 -0
  131. package/src/vendor/bootstrap/scss/vendor/_rfs.scss +228 -0
  132. package/src/vendor/bootstrap-vue/src/components/badge/index.d.ts +1 -5
  133. package/src/vendor/bootstrap-vue/src/components/badge/index.js +1 -6
  134. package/src/vendor/bootstrap-vue/src/components/breadcrumb/index.d.ts +1 -5
  135. package/src/vendor/bootstrap-vue/src/components/breadcrumb/index.js +1 -6
  136. package/src/vendor/bootstrap-vue/src/components/button/index.d.ts +1 -5
  137. package/src/vendor/bootstrap-vue/src/components/button/index.js +1 -11
  138. package/src/vendor/bootstrap-vue/src/components/button-group/index.d.ts +1 -5
  139. package/src/vendor/bootstrap-vue/src/components/button-group/index.js +1 -9
  140. package/src/vendor/bootstrap-vue/src/components/collapse/index.d.ts +1 -5
  141. package/src/vendor/bootstrap-vue/src/components/collapse/index.js +1 -8
  142. package/src/vendor/bootstrap-vue/src/components/dropdown/index.d.ts +1 -5
  143. package/src/vendor/bootstrap-vue/src/components/dropdown/index.js +0 -25
  144. package/src/vendor/bootstrap-vue/src/components/form/index.d.ts +1 -5
  145. package/src/vendor/bootstrap-vue/src/components/form/index.js +1 -15
  146. package/src/vendor/bootstrap-vue/src/components/form-checkbox/index.d.ts +1 -5
  147. package/src/vendor/bootstrap-vue/src/components/form-checkbox/index.js +1 -13
  148. package/src/vendor/bootstrap-vue/src/components/form-group/index.d.ts +1 -5
  149. package/src/vendor/bootstrap-vue/src/components/form-group/index.js +1 -9
  150. package/src/vendor/bootstrap-vue/src/components/form-input/index.d.ts +1 -5
  151. package/src/vendor/bootstrap-vue/src/components/form-input/index.js +1 -9
  152. package/src/vendor/bootstrap-vue/src/components/form-radio/index.d.ts +1 -5
  153. package/src/vendor/bootstrap-vue/src/components/form-radio/index.js +1 -11
  154. package/src/vendor/bootstrap-vue/src/components/form-select/index.d.ts +1 -5
  155. package/src/vendor/bootstrap-vue/src/components/form-select/index.js +1 -13
  156. package/src/vendor/bootstrap-vue/src/components/form-textarea/index.d.ts +1 -5
  157. package/src/vendor/bootstrap-vue/src/components/form-textarea/index.js +1 -9
  158. package/src/vendor/bootstrap-vue/src/components/index.js +1 -50
  159. package/src/vendor/bootstrap-vue/src/components/input-group/index.d.ts +1 -5
  160. package/src/vendor/bootstrap-vue/src/components/input-group/index.js +1 -19
  161. package/src/vendor/bootstrap-vue/src/components/layout/index.d.ts +1 -5
  162. package/src/vendor/bootstrap-vue/src/components/layout/index.js +1 -9
  163. package/src/vendor/bootstrap-vue/src/components/link/index.d.ts +1 -5
  164. package/src/vendor/bootstrap-vue/src/components/link/index.js +1 -6
  165. package/src/vendor/bootstrap-vue/src/components/modal/README.md +0 -8
  166. package/src/vendor/bootstrap-vue/src/components/modal/index.d.ts +2 -5
  167. package/src/vendor/bootstrap-vue/src/components/modal/index.js +1 -11
  168. package/src/vendor/bootstrap-vue/src/components/modal/package.json +0 -3
  169. package/src/vendor/bootstrap-vue/src/components/nav/index.d.ts +1 -5
  170. package/src/vendor/bootstrap-vue/src/components/nav/index.js +1 -17
  171. package/src/vendor/bootstrap-vue/src/components/nav/package.json +0 -3
  172. package/src/vendor/bootstrap-vue/src/components/navbar/index.d.ts +1 -4
  173. package/src/vendor/bootstrap-vue/src/components/navbar/index.js +1 -17
  174. package/src/vendor/bootstrap-vue/src/components/navbar/package.json +0 -5
  175. package/src/vendor/bootstrap-vue/src/components/popover/README.md +1 -46
  176. package/src/vendor/bootstrap-vue/src/components/popover/index.d.ts +1 -5
  177. package/src/vendor/bootstrap-vue/src/components/popover/index.js +1 -8
  178. package/src/vendor/bootstrap-vue/src/components/popover/package.json +1 -4
  179. package/src/vendor/bootstrap-vue/src/components/progress/index.d.ts +1 -5
  180. package/src/vendor/bootstrap-vue/src/components/progress/index.js +1 -9
  181. package/src/vendor/bootstrap-vue/src/components/table/README.md +3 -15
  182. package/src/vendor/bootstrap-vue/src/components/table/index.d.ts +1 -7
  183. package/src/vendor/bootstrap-vue/src/components/table/index.js +0 -33
  184. package/src/vendor/bootstrap-vue/src/components/table/package.json +0 -4
  185. package/src/vendor/bootstrap-vue/src/components/tabs/index.d.ts +1 -5
  186. package/src/vendor/bootstrap-vue/src/components/tabs/index.js +1 -9
  187. package/src/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip.js +1 -1
  188. package/src/vendor/bootstrap-vue/src/components/tooltip/index.d.ts +1 -5
  189. package/src/vendor/bootstrap-vue/src/components/tooltip/index.js +1 -8
  190. package/src/vendor/bootstrap-vue/src/components/tooltip/package.json +0 -3
  191. package/src/vendor/bootstrap-vue/src/constants/components.js +0 -1
  192. package/src/vendor/bootstrap-vue/src/constants/env.js +0 -1
  193. package/src/vendor/bootstrap-vue/src/constants/regex.js +0 -3
  194. package/src/vendor/bootstrap-vue/src/directives/modal/index.d.ts +1 -4
  195. package/src/vendor/bootstrap-vue/src/directives/modal/index.js +1 -6
  196. package/src/vendor/bootstrap-vue/src/directives/toggle/index.d.ts +1 -5
  197. package/src/vendor/bootstrap-vue/src/directives/toggle/index.js +1 -6
  198. package/src/vendor/bootstrap-vue/src/directives/tooltip/README.md +0 -1
  199. package/src/vendor/bootstrap-vue/src/directives/tooltip/index.d.ts +1 -5
  200. package/src/vendor/bootstrap-vue/src/directives/tooltip/index.js +1 -6
  201. package/src/vendor/bootstrap-vue/src/directives/visible/index.d.ts +1 -5
  202. package/src/vendor/bootstrap-vue/src/directives/visible/index.js +1 -6
  203. package/src/vendor/bootstrap-vue/src/icons/icons.js +1 -4
  204. package/src/vendor/bootstrap-vue/src/index.d.ts +0 -3
  205. package/src/vendor/bootstrap-vue/src/index.js +2 -45
  206. package/src/vendor/bootstrap-vue/src/utils/config.spec.js +2 -2
  207. package/src/vendor/bootstrap-vue/src/utils/object.js +0 -2
  208. package/src/vendor/bootstrap-vue/src/utils/warn.js +1 -16
  209. package/translations.js +0 -2
  210. package/dist/vendor/bootstrap-vue/src/components/modal/helpers/bv-modal.js +0 -279
  211. package/dist/vendor/bootstrap-vue/src/directives/hover/hover.js +0 -61
  212. package/dist/vendor/bootstrap-vue/src/directives/hover/index.js +0 -11
  213. package/dist/vendor/bootstrap-vue/src/directives/index.js +0 -23
  214. package/dist/vendor/bootstrap-vue/src/directives/popover/index.js +0 -11
  215. package/dist/vendor/bootstrap-vue/src/directives/popover/popover.js +0 -265
  216. package/dist/vendor/bootstrap-vue/src/directives/scrollspy/helpers/bv-scrollspy.class.js +0 -404
  217. package/dist/vendor/bootstrap-vue/src/directives/scrollspy/index.js +0 -11
  218. package/dist/vendor/bootstrap-vue/src/directives/scrollspy/scrollspy.js +0 -112
  219. package/src/vendor/bootstrap-vue/src/components/modal/helpers/bv-modal.js +0 -279
  220. package/src/vendor/bootstrap-vue/src/components/modal/helpers/bv-modal.spec.js +0 -178
  221. package/src/vendor/bootstrap-vue/src/directives/hover/README.md +0 -87
  222. package/src/vendor/bootstrap-vue/src/directives/hover/hover.js +0 -54
  223. package/src/vendor/bootstrap-vue/src/directives/hover/hover.spec.js +0 -49
  224. package/src/vendor/bootstrap-vue/src/directives/hover/index.d.ts +0 -11
  225. package/src/vendor/bootstrap-vue/src/directives/hover/index.js +0 -8
  226. package/src/vendor/bootstrap-vue/src/directives/hover/package.json +0 -13
  227. package/src/vendor/bootstrap-vue/src/directives/index.d.ts +0 -13
  228. package/src/vendor/bootstrap-vue/src/directives/index.js +0 -22
  229. package/src/vendor/bootstrap-vue/src/directives/popover/README.md +0 -648
  230. package/src/vendor/bootstrap-vue/src/directives/popover/index.d.ts +0 -11
  231. package/src/vendor/bootstrap-vue/src/directives/popover/index.js +0 -8
  232. package/src/vendor/bootstrap-vue/src/directives/popover/package.json +0 -111
  233. package/src/vendor/bootstrap-vue/src/directives/popover/popover.js +0 -275
  234. package/src/vendor/bootstrap-vue/src/directives/popover/popover.spec.js +0 -129
  235. package/src/vendor/bootstrap-vue/src/directives/scrollspy/README.md +0 -411
  236. package/src/vendor/bootstrap-vue/src/directives/scrollspy/helpers/bv-scrollspy.class.js +0 -480
  237. package/src/vendor/bootstrap-vue/src/directives/scrollspy/index.d.ts +0 -11
  238. package/src/vendor/bootstrap-vue/src/directives/scrollspy/index.js +0 -8
  239. package/src/vendor/bootstrap-vue/src/directives/scrollspy/package.json +0 -38
  240. package/src/vendor/bootstrap-vue/src/directives/scrollspy/scrollspy.js +0 -117
@@ -0,0 +1,228 @@
1
+ // stylelint-disable property-blacklist, scss/dollar-variable-default
2
+
3
+ // SCSS RFS mixin
4
+ //
5
+ // Automated responsive font sizes
6
+ //
7
+ // Licensed under MIT (https://github.com/twbs/rfs/blob/v8.x/LICENSE)
8
+
9
+ // Configuration
10
+
11
+ // Base font size
12
+ $rfs-base-font-size: 1.25rem !default;
13
+ $rfs-font-size-unit: rem !default;
14
+
15
+ @if $rfs-font-size-unit != rem and $rfs-font-size-unit != px {
16
+ @error "`#{$rfs-font-size-unit}` is not a valid unit for $rfs-font-size-unit. Use `px` or `rem`.";
17
+ }
18
+
19
+ // Breakpoint at where font-size starts decreasing if screen width is smaller
20
+ $rfs-breakpoint: 1200px !default;
21
+ $rfs-breakpoint-unit: px !default;
22
+
23
+ @if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {
24
+ @error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";
25
+ }
26
+
27
+ // Resize font size based on screen height and width
28
+ $rfs-two-dimensional: false !default;
29
+
30
+ // Factor of decrease
31
+ $rfs-factor: 10 !default;
32
+
33
+ @if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
34
+ @error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";
35
+ }
36
+
37
+ // Generate enable or disable classes. Possibilities: false, "enable" or "disable"
38
+ $rfs-class: false !default;
39
+
40
+ // 1 rem = $rfs-rem-value px
41
+ $rfs-rem-value: 16 !default;
42
+
43
+ // Safari iframe resize bug: https://github.com/twbs/rfs/issues/14
44
+ $rfs-safari-iframe-resize-bug-fix: false !default;
45
+
46
+ // Disable RFS by setting $enable-responsive-font-sizes to false
47
+ $enable-responsive-font-sizes: true !default;
48
+
49
+ // Cache $rfs-base-font-size unit
50
+ $rfs-base-font-size-unit: unit($rfs-base-font-size);
51
+
52
+ @function divide($dividend, $divisor, $precision: 10) {
53
+ $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);
54
+ $dividend: abs($dividend);
55
+ $divisor: abs($divisor);
56
+ @if $dividend == 0 {
57
+ @return 0;
58
+ }
59
+ @if $divisor == 0 {
60
+ @error "Cannot divide by 0";
61
+ }
62
+ $remainder: $dividend;
63
+ $result: 0;
64
+ $factor: 10;
65
+ @while ($remainder > 0 and $precision >= 0) {
66
+ $quotient: 0;
67
+ @while ($remainder >= $divisor) {
68
+ $remainder: $remainder - $divisor;
69
+ $quotient: $quotient + 1;
70
+ }
71
+ $result: $result * 10 + $quotient;
72
+ $factor: $factor * .1;
73
+ $remainder: $remainder * 10;
74
+ $precision: $precision - 1;
75
+ @if ($precision < 0 and $remainder >= $divisor * 5) {
76
+ $result: $result + 1;
77
+ }
78
+ }
79
+ $result: $result * $factor * $sign;
80
+ $dividend-unit: unit($dividend);
81
+ $divisor-unit: unit($divisor);
82
+ $unit-map: (
83
+ "px": 1px,
84
+ "rem": 1rem,
85
+ "em": 1em,
86
+ "%": 1%
87
+ );
88
+ @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
89
+ $result: $result * map-get($unit-map, $dividend-unit);
90
+ }
91
+ @return $result;
92
+ }
93
+
94
+ // Remove px-unit from $rfs-base-font-size for calculations
95
+ @if $rfs-base-font-size-unit == "px" {
96
+ $rfs-base-font-size: divide($rfs-base-font-size, $rfs-base-font-size * 0 + 1);
97
+ }
98
+ @else if $rfs-base-font-size-unit == "rem" {
99
+ $rfs-base-font-size: divide($rfs-base-font-size, divide($rfs-base-font-size * 0 + 1, $rfs-rem-value));
100
+ }
101
+
102
+ // Cache $rfs-breakpoint unit to prevent multiple calls
103
+ $rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
104
+
105
+ // Remove unit from $rfs-breakpoint for calculations
106
+ @if $rfs-breakpoint-unit-cache == "px" {
107
+ $rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);
108
+ }
109
+ @else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {
110
+ $rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));
111
+ }
112
+
113
+ // Internal mixin that adds disable classes to the selector if needed.
114
+ @mixin _rfs-disable-class {
115
+ @if $rfs-class == "disable" {
116
+ // Adding an extra class increases specificity, which prevents the media query to override the font size
117
+ &,
118
+ .disable-responsive-font-size &,
119
+ &.disable-responsive-font-size {
120
+ @content;
121
+ }
122
+ }
123
+ @else {
124
+ @content;
125
+ }
126
+ }
127
+
128
+ // Internal mixin that adds enable classes to the selector if needed.
129
+ @mixin _rfs-enable-class {
130
+ @if $rfs-class == "enable" {
131
+ .enable-responsive-font-size &,
132
+ &.enable-responsive-font-size {
133
+ @content;
134
+ }
135
+ }
136
+ @else {
137
+ @content;
138
+ }
139
+ }
140
+
141
+ // Internal mixin used to determine which media query needs to be used
142
+ @mixin _rfs-media-query($mq-value) {
143
+ @if $rfs-two-dimensional {
144
+ @media (max-width: #{$mq-value}), (max-height: #{$mq-value}) {
145
+ @content;
146
+ }
147
+ }
148
+ @else {
149
+ @media (max-width: #{$mq-value}) {
150
+ @content;
151
+ }
152
+ }
153
+ }
154
+
155
+ // Responsive font size mixin
156
+ @mixin rfs($fs, $important: false) {
157
+ // Cache $fs unit
158
+ $fs-unit: if(type-of($fs) == "number", unit($fs), false);
159
+
160
+ // Add !important suffix if needed
161
+ $rfs-suffix: if($important, " !important", "");
162
+
163
+ // If $fs isn't a number (like inherit) or $fs has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
164
+ @if not $fs-unit or $fs-unit != "" and $fs-unit != "px" and $fs-unit != "rem" or $fs == 0 {
165
+ font-size: #{$fs}#{$rfs-suffix};
166
+ }
167
+ @else {
168
+ // Remove unit from $fs for calculations
169
+ @if $fs-unit == "px" {
170
+ $fs: divide($fs, $fs * 0 + 1);
171
+ }
172
+ @else if $fs-unit == "rem" {
173
+ $fs: divide($fs, divide($fs * 0 + 1, $rfs-rem-value));
174
+ }
175
+
176
+ // Set default font size
177
+ $rfs-static: if($rfs-font-size-unit == rem, #{divide($fs, $rfs-rem-value)}rem, #{$fs}px);
178
+
179
+ // Only add the media query if the font size is bigger than the minimum font size
180
+ @if $fs <= $rfs-base-font-size or not $enable-responsive-font-sizes {
181
+ font-size: #{$rfs-static}#{$rfs-suffix};
182
+ }
183
+ @else {
184
+ // Calculate the minimum font size for $fs
185
+ $fs-min: $rfs-base-font-size + divide($fs - $rfs-base-font-size, $rfs-factor);
186
+
187
+ // Calculate difference between $fs and the minimum font size
188
+ $fs-diff: $fs - $fs-min;
189
+
190
+ // Base font-size formatting
191
+ $min-width: if($rfs-font-size-unit == rem, #{divide($fs-min, $rfs-rem-value)}rem, #{$fs-min}px);
192
+
193
+ // Use `vmin` if two-dimensional is enabled
194
+ $variable-unit: if($rfs-two-dimensional, vmin, vw);
195
+
196
+ // Calculate the variable width between 0 and $rfs-breakpoint
197
+ $variable-width: #{divide($fs-diff * 100, $rfs-breakpoint)}#{$variable-unit};
198
+
199
+ // Set the calculated font-size
200
+ $rfs-fluid: calc(#{$min-width} + #{$variable-width}) #{$rfs-suffix};
201
+
202
+ // Breakpoint formatting
203
+ $mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});
204
+
205
+ @include _rfs-disable-class {
206
+ font-size: #{$rfs-static}#{$rfs-suffix};
207
+ }
208
+
209
+ @include _rfs-media-query($mq-value) {
210
+ @include _rfs-enable-class {
211
+ font-size: $rfs-fluid;
212
+ }
213
+
214
+ // Include safari iframe resize fix if needed
215
+ min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);
216
+ }
217
+ }
218
+ }
219
+ }
220
+
221
+ // The font-size & responsive-font-size mixins use RFS to rescale the font size
222
+ @mixin font-size($fs, $important: false) {
223
+ @include rfs($fs, $important);
224
+ }
225
+
226
+ @mixin responsive-font-size($fs, $important: false) {
227
+ @include rfs($fs, $important);
228
+ }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Badge
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const BadgePlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-badge
11
7
  export declare class BBadge extends BvComponent {}
@@ -1,8 +1,3 @@
1
1
  import { BBadge } from './badge'
2
- import { pluginFactory } from '../../utils/plugins'
3
2
 
4
- const BadgePlugin = /*#__PURE__*/ pluginFactory({
5
- components: { BBadge }
6
- })
7
-
8
- export { BadgePlugin, BBadge }
3
+ export { BBadge }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Breadcrumb
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const BreadcrumbPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-breadcrumb
11
7
  export declare class BBreadcrumb extends BvComponent {}
@@ -1,10 +1,5 @@
1
1
  import { BBreadcrumb } from './breadcrumb'
2
2
  import { BBreadcrumbItem } from './breadcrumb-item'
3
3
  import { BBreadcrumbLink } from './breadcrumb-link'
4
- import { pluginFactory } from '../../utils/plugins'
5
4
 
6
- const BreadcrumbPlugin = /*#__PURE__*/ pluginFactory({
7
- components: { BBreadcrumb, BBreadcrumbItem, BBreadcrumbLink }
8
- })
9
-
10
- export { BreadcrumbPlugin, BBreadcrumb, BBreadcrumbItem, BBreadcrumbLink }
5
+ export { BBreadcrumb, BBreadcrumbItem, BBreadcrumbLink }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Buttons
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const ButtonPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-button
11
7
  export declare class BButton extends BvComponent {}
@@ -1,14 +1,4 @@
1
1
  import { BButton } from './button'
2
2
  import { BButtonClose } from './button-close'
3
- import { pluginFactory } from '../../utils/plugins'
4
3
 
5
- const ButtonPlugin = /*#__PURE__*/ pluginFactory({
6
- components: {
7
- BButton,
8
- BBtn: BButton,
9
- BButtonClose,
10
- BBtnClose: BButtonClose
11
- }
12
- })
13
-
14
- export { ButtonPlugin, BButton, BButtonClose }
4
+ export { BButton, BButtonClose }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Button Group
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const ButtonGroupPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-button-group
11
7
  export declare class BButtonGroup extends BvComponent {}
@@ -1,11 +1,3 @@
1
1
  import { BButtonGroup } from './button-group'
2
- import { pluginFactory } from '../../utils/plugins'
3
2
 
4
- const ButtonGroupPlugin = /*#__PURE__*/ pluginFactory({
5
- components: {
6
- BButtonGroup,
7
- BBtnGroup: BButtonGroup
8
- }
9
- })
10
-
11
- export { ButtonGroupPlugin, BButtonGroup }
3
+ export { BButtonGroup }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Collapse
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const CollapsePlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-collapse
11
7
  export declare class BCollapse extends BvComponent {
@@ -1,10 +1,3 @@
1
1
  import { BCollapse } from './collapse'
2
- import { VBTogglePlugin } from '../../directives/toggle'
3
- import { pluginFactory } from '../../utils/plugins'
4
2
 
5
- const CollapsePlugin = /*#__PURE__*/ pluginFactory({
6
- components: { BCollapse },
7
- plugins: { VBTogglePlugin }
8
- })
9
-
10
- export { CollapsePlugin, BCollapse }
3
+ export { BCollapse }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Dropdown
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const DropdownPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-dropdown
11
7
  export declare class BDropdown extends BvComponent {
@@ -6,33 +6,8 @@ import { BDropdownDivider } from './dropdown-divider'
6
6
  import { BDropdownForm } from './dropdown-form'
7
7
  import { BDropdownText } from './dropdown-text'
8
8
  import { BDropdownGroup } from './dropdown-group'
9
- import { pluginFactory } from '../../utils/plugins'
10
-
11
- const DropdownPlugin = /*#__PURE__*/ pluginFactory({
12
- components: {
13
- BDropdown,
14
- BDd: BDropdown,
15
- BDropdownItem,
16
- BDdItem: BDropdownItem,
17
- BDropdownItemButton,
18
- BDropdownItemBtn: BDropdownItemButton,
19
- BDdItemButton: BDropdownItemButton,
20
- BDdItemBtn: BDropdownItemButton,
21
- BDropdownHeader,
22
- BDdHeader: BDropdownHeader,
23
- BDropdownDivider,
24
- BDdDivider: BDropdownDivider,
25
- BDropdownForm,
26
- BDdForm: BDropdownForm,
27
- BDropdownText,
28
- BDdText: BDropdownText,
29
- BDropdownGroup,
30
- BDdGroup: BDropdownGroup
31
- }
32
- })
33
9
 
34
10
  export {
35
- DropdownPlugin,
36
11
  BDropdown,
37
12
  BDropdownItem,
38
13
  BDropdownItemButton,
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form
11
7
  export declare class BForm extends BvComponent {}
@@ -2,20 +2,6 @@ import { BForm } from './form'
2
2
  import { BFormText } from './form-text'
3
3
  import { BFormInvalidFeedback } from './form-invalid-feedback'
4
4
  import { BFormValidFeedback } from './form-valid-feedback'
5
- import { BFormRow } from '../layout/form-row'
6
- import { pluginFactory } from '../../utils/plugins'
7
-
8
- const FormPlugin = /*#__PURE__*/ pluginFactory({
9
- components: {
10
- BForm,
11
- BFormText,
12
- BFormInvalidFeedback,
13
- BFormFeedback: BFormInvalidFeedback,
14
- BFormValidFeedback,
15
- // Added here for convenience
16
- BFormRow
17
- }
18
- })
19
5
 
20
6
  // BFormRow is not exported here as a named export, as it is exported by Layout
21
- export { FormPlugin, BForm, BFormText, BFormInvalidFeedback, BFormValidFeedback }
7
+ export { BForm, BFormText, BFormInvalidFeedback, BFormValidFeedback }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Checkbox
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormCheckboxPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-checkbox
11
7
  export declare class BFormCheckbox extends BvComponent {}
@@ -1,16 +1,4 @@
1
1
  import { BFormCheckbox } from './form-checkbox'
2
2
  import { BFormCheckboxGroup } from './form-checkbox-group'
3
- import { pluginFactory } from '../../utils/plugins'
4
3
 
5
- const FormCheckboxPlugin = /*#__PURE__*/ pluginFactory({
6
- components: {
7
- BFormCheckbox,
8
- BCheckbox: BFormCheckbox,
9
- BCheck: BFormCheckbox,
10
- BFormCheckboxGroup,
11
- BCheckboxGroup: BFormCheckboxGroup,
12
- BCheckGroup: BFormCheckboxGroup
13
- }
14
- })
15
-
16
- export { FormCheckboxPlugin, BFormCheckbox, BFormCheckboxGroup }
4
+ export { BFormCheckbox, BFormCheckboxGroup }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Group
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormGroupPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-group
11
7
  export declare class BFormGroup extends BvComponent {}
@@ -1,11 +1,3 @@
1
1
  import { BFormGroup } from './form-group'
2
- import { pluginFactory } from '../../utils/plugins'
3
2
 
4
- const FormGroupPlugin = /*#__PURE__*/ pluginFactory({
5
- components: {
6
- BFormGroup,
7
- BFormFieldset: BFormGroup
8
- }
9
- })
10
-
11
- export { FormGroupPlugin, BFormGroup }
3
+ export { BFormGroup }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Input
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormInputPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-input
11
7
  export declare class BFormInput extends BvComponent {
@@ -1,11 +1,3 @@
1
1
  import { BFormInput } from './form-input'
2
- import { pluginFactory } from '../../utils/plugins'
3
2
 
4
- const FormInputPlugin = /*#__PURE__*/ pluginFactory({
5
- components: {
6
- BFormInput,
7
- BInput: BFormInput
8
- }
9
- })
10
-
11
- export { FormInputPlugin, BFormInput }
3
+ export { BFormInput }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Radio
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormRadioPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-radio
11
7
  export declare class BFormRadio extends BvComponent {}
@@ -1,14 +1,4 @@
1
1
  import { BFormRadio } from './form-radio'
2
2
  import { BFormRadioGroup } from './form-radio-group'
3
- import { pluginFactory } from '../../utils/plugins'
4
3
 
5
- const FormRadioPlugin = /*#__PURE__*/ pluginFactory({
6
- components: {
7
- BFormRadio,
8
- BRadio: BFormRadio,
9
- BFormRadioGroup,
10
- BRadioGroup: BFormRadioGroup
11
- }
12
- })
13
-
14
- export { FormRadioPlugin, BFormRadio, BFormRadioGroup }
4
+ export { BFormRadio, BFormRadioGroup }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Select
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormSelectPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-select
11
7
  export declare class BFormSelect extends BvComponent {}
@@ -1,17 +1,5 @@
1
1
  import { BFormSelect } from './form-select'
2
2
  import { BFormSelectOption } from './form-select-option'
3
3
  import { BFormSelectOptionGroup } from './form-select-option-group'
4
- import { pluginFactory } from '../../utils/plugins'
5
4
 
6
- const FormSelectPlugin = /*#__PURE__*/ pluginFactory({
7
- components: {
8
- BFormSelect,
9
- BFormSelectOption,
10
- BFormSelectOptionGroup,
11
- BSelect: BFormSelect,
12
- BSelectOption: BFormSelectOption,
13
- BSelectOptionGroup: BFormSelectOptionGroup
14
- }
15
- })
16
-
17
- export { FormSelectPlugin, BFormSelect, BFormSelectOption, BFormSelectOptionGroup }
5
+ export { BFormSelect, BFormSelectOption, BFormSelectOptionGroup }
@@ -1,11 +1,7 @@
1
1
  //
2
2
  // Form Textarea
3
3
  //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const FormTextareaPlugin: BvPlugin
4
+ import { BvComponent } from '../../'
9
5
 
10
6
  // Component: b-form-textarea
11
7
  export declare class BFormTextarea extends BvComponent {
@@ -1,11 +1,3 @@
1
1
  import { BFormTextarea } from './form-textarea'
2
- import { pluginFactory } from '../../utils/plugins'
3
2
 
4
- const FormTextareaPlugin = /*#__PURE__*/ pluginFactory({
5
- components: {
6
- BFormTextarea,
7
- BTextarea: BFormTextarea
8
- }
9
- })
10
-
11
- export { FormTextareaPlugin, BFormTextarea }
3
+ export { BFormTextarea }