bootstrap-italia 2.12.1 → 2.13.1

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 (380) hide show
  1. package/README.EN.md +1 -1
  2. package/README.md +1 -1
  3. package/dist/bootstrap-italia.esm.js +1 -1
  4. package/dist/css/bootstrap-italia.min.css +9 -1
  5. package/dist/css/bootstrap-italia.min.css.map +1 -1
  6. package/dist/js/bootstrap-italia.bundle.min.js +19 -23
  7. package/dist/js/bootstrap-italia.min.js +18 -2
  8. package/dist/plugins/accept-overlay.js +19 -9
  9. package/dist/plugins/accept-overlay.js.map +1 -1
  10. package/dist/plugins/accordion.js +19 -24
  11. package/dist/plugins/accordion.js.map +1 -1
  12. package/dist/plugins/alert.js +67 -2
  13. package/dist/plugins/alert.js.map +1 -1
  14. package/dist/plugins/{backToTop.js → back-to-top.js} +14 -5
  15. package/dist/plugins/back-to-top.js.map +1 -0
  16. package/dist/plugins/base-component.js +91 -0
  17. package/dist/plugins/base-component.js.map +1 -0
  18. package/dist/plugins/button.js +58 -2
  19. package/dist/plugins/button.js.map +1 -1
  20. package/dist/plugins/carousel-bi.js +19 -9
  21. package/dist/plugins/carousel-bi.js.map +1 -1
  22. package/dist/plugins/carousel.js +445 -2
  23. package/dist/plugins/carousel.js.map +1 -1
  24. package/dist/plugins/collapse.js +273 -2
  25. package/dist/plugins/collapse.js.map +1 -1
  26. package/dist/plugins/cookiebar.js +39 -52
  27. package/dist/plugins/cookiebar.js.map +1 -1
  28. package/dist/plugins/dimmer.js +19 -8
  29. package/dist/plugins/dimmer.js.map +1 -1
  30. package/dist/plugins/dom/data.js +61 -0
  31. package/dist/plugins/dom/data.js.map +1 -0
  32. package/dist/plugins/dom/event-handler.js +296 -0
  33. package/dist/plugins/dom/event-handler.js.map +1 -0
  34. package/dist/plugins/dom/manipulator.js +76 -0
  35. package/dist/plugins/dom/manipulator.js.map +1 -0
  36. package/dist/plugins/dom/selector-engine.js +82 -0
  37. package/dist/plugins/dom/selector-engine.js.map +1 -0
  38. package/dist/plugins/dropdown.js +433 -2
  39. package/dist/plugins/dropdown.js.map +1 -1
  40. package/dist/plugins/fonts-loader.js +9 -1
  41. package/dist/plugins/fonts-loader.js.map +1 -1
  42. package/dist/plugins/form-validate.js +22 -8
  43. package/dist/plugins/form-validate.js.map +1 -1
  44. package/dist/plugins/forward.js +21 -18
  45. package/dist/plugins/forward.js.map +1 -1
  46. package/dist/plugins/header-sticky.js +11 -2
  47. package/dist/plugins/header-sticky.js.map +1 -1
  48. package/dist/plugins/history-back.js +17 -17
  49. package/dist/plugins/history-back.js.map +1 -1
  50. package/dist/plugins/init.js +9 -0
  51. package/dist/plugins/init.js.map +1 -1
  52. package/dist/plugins/input-label.js +14 -3
  53. package/dist/plugins/input-label.js.map +1 -1
  54. package/dist/plugins/input-number.js +13 -4
  55. package/dist/plugins/input-number.js.map +1 -1
  56. package/dist/plugins/input-password.js +48 -37
  57. package/dist/plugins/input-password.js.map +1 -1
  58. package/dist/plugins/input-search-autocomplete.js +9 -11
  59. package/dist/plugins/input-search-autocomplete.js.map +1 -1
  60. package/dist/plugins/input.js +12 -3
  61. package/dist/plugins/input.js.map +1 -1
  62. package/dist/plugins/list.js +23 -12
  63. package/dist/plugins/list.js.map +1 -1
  64. package/dist/plugins/masonry.js +29 -29
  65. package/dist/plugins/masonry.js.map +1 -1
  66. package/dist/plugins/modal.js +358 -2
  67. package/dist/plugins/modal.js.map +1 -1
  68. package/dist/plugins/navbar-collapsible.js +55 -45
  69. package/dist/plugins/navbar-collapsible.js.map +1 -1
  70. package/dist/plugins/navscroll.js +16 -23
  71. package/dist/plugins/navscroll.js.map +1 -1
  72. package/dist/plugins/notification.js +34 -23
  73. package/dist/plugins/notification.js.map +1 -1
  74. package/dist/plugins/offcanvas.js +259 -2
  75. package/dist/plugins/offcanvas.js.map +1 -1
  76. package/dist/plugins/popover.js +76 -2
  77. package/dist/plugins/popover.js.map +1 -1
  78. package/dist/plugins/progress-donut.js +19 -12
  79. package/dist/plugins/progress-donut.js.map +1 -1
  80. package/dist/plugins/scrollspy.js +273 -2
  81. package/dist/plugins/scrollspy.js.map +1 -1
  82. package/dist/plugins/select-autocomplete.js +10 -1
  83. package/dist/plugins/select-autocomplete.js.map +1 -1
  84. package/dist/plugins/sticky.js +21 -18
  85. package/dist/plugins/sticky.js.map +1 -1
  86. package/dist/plugins/tab.js +244 -27
  87. package/dist/plugins/tab.js.map +1 -1
  88. package/dist/plugins/toast.js +203 -2
  89. package/dist/plugins/toast.js.map +1 -1
  90. package/dist/plugins/tooltip.js +602 -2
  91. package/dist/plugins/tooltip.js.map +1 -1
  92. package/dist/plugins/track-focus.js +8 -0
  93. package/dist/plugins/track-focus.js.map +1 -1
  94. package/dist/plugins/transfer.js +11 -16
  95. package/dist/plugins/transfer.js.map +1 -1
  96. package/dist/plugins/upload-dragdrop.js +13 -4
  97. package/dist/plugins/upload-dragdrop.js.map +1 -1
  98. package/dist/plugins/util/backdrop.js +155 -0
  99. package/dist/plugins/util/backdrop.js.map +1 -0
  100. package/dist/plugins/util/component-functions.js +38 -0
  101. package/dist/plugins/util/component-functions.js.map +1 -0
  102. package/dist/plugins/util/config.js +70 -0
  103. package/dist/plugins/util/config.js.map +1 -0
  104. package/dist/plugins/util/cookies.js +8 -0
  105. package/dist/plugins/util/cookies.js.map +1 -1
  106. package/dist/plugins/util/device.js +0 -3
  107. package/dist/plugins/util/device.js.map +1 -1
  108. package/dist/plugins/util/dom.js +8 -0
  109. package/dist/plugins/util/dom.js.map +1 -1
  110. package/dist/plugins/util/focustrap.js +121 -0
  111. package/dist/plugins/util/focustrap.js.map +1 -0
  112. package/dist/plugins/util/index.js +280 -0
  113. package/dist/plugins/util/index.js.map +1 -0
  114. package/dist/plugins/util/observer.js +8 -0
  115. package/dist/plugins/util/observer.js.map +1 -1
  116. package/dist/plugins/util/on-document-scroll.js +20 -9
  117. package/dist/plugins/util/on-document-scroll.js.map +1 -1
  118. package/dist/plugins/util/pageScroll.js +8 -0
  119. package/dist/plugins/util/pageScroll.js.map +1 -1
  120. package/dist/plugins/util/sanitizer.js +115 -0
  121. package/dist/plugins/util/sanitizer.js.map +1 -0
  122. package/dist/plugins/util/scrollbar.js +120 -0
  123. package/dist/plugins/util/scrollbar.js.map +1 -0
  124. package/dist/plugins/util/swipe.js +150 -0
  125. package/dist/plugins/util/swipe.js.map +1 -0
  126. package/dist/plugins/util/template-factory.js +166 -0
  127. package/dist/plugins/util/template-factory.js.map +1 -0
  128. package/dist/plugins/util/tween.js +10 -1
  129. package/dist/plugins/util/tween.js.map +1 -1
  130. package/dist/plugins/util/youtube-video.js +12 -21
  131. package/dist/plugins/util/youtube-video.js.map +1 -1
  132. package/dist/plugins/videoplayer.js +19 -8
  133. package/dist/plugins/videoplayer.js.map +1 -1
  134. package/dist/version.js +10 -3
  135. package/dist/version.js.map +1 -1
  136. package/package.json +6 -7
  137. package/src/js/bootstrap-italia.entry.js +8 -0
  138. package/src/js/bootstrap-italia.esm.js +9 -1
  139. package/src/js/icons.js +8 -0
  140. package/src/js/load-plugin.js +8 -0
  141. package/src/js/plugins/accept-overlay.js +18 -10
  142. package/src/js/plugins/accordion.js +16 -22
  143. package/src/js/plugins/alert.js +66 -2
  144. package/src/js/plugins/{backToTop.js → back-to-top.js} +12 -4
  145. package/src/js/plugins/base-component.js +89 -0
  146. package/src/js/plugins/button.js +57 -2
  147. package/src/js/plugins/carousel-bi.js +18 -9
  148. package/src/js/plugins/carousel.js +444 -2
  149. package/src/js/plugins/collapse.js +272 -2
  150. package/src/js/plugins/cookiebar.js +37 -60
  151. package/src/js/plugins/dimmer.js +18 -8
  152. package/src/js/plugins/dom/data.js +58 -0
  153. package/src/js/plugins/dom/event-handler.js +301 -0
  154. package/src/js/plugins/dom/manipulator.js +75 -0
  155. package/src/js/plugins/dom/selector-engine.js +80 -0
  156. package/src/js/plugins/dropdown.js +432 -2
  157. package/src/js/plugins/fonts-loader.js +9 -1
  158. package/src/js/plugins/form-validate.js +21 -8
  159. package/src/js/plugins/form.js +11 -3
  160. package/src/js/plugins/forward.js +18 -16
  161. package/src/js/plugins/header-sticky.js +10 -2
  162. package/src/js/plugins/history-back.js +14 -14
  163. package/src/js/plugins/init.js +8 -0
  164. package/src/js/plugins/input-label.js +13 -3
  165. package/src/js/plugins/input-number.js +12 -4
  166. package/src/js/plugins/input-password.js +46 -36
  167. package/src/js/plugins/input-search-autocomplete.js +9 -13
  168. package/src/js/plugins/input.js +11 -3
  169. package/src/js/plugins/list.js +22 -12
  170. package/src/js/plugins/masonry.js +26 -27
  171. package/src/js/plugins/modal.js +357 -2
  172. package/src/js/plugins/navbar-collapsible.js +55 -53
  173. package/src/js/plugins/navscroll.js +16 -23
  174. package/src/js/plugins/notification.js +33 -23
  175. package/src/js/plugins/offcanvas.js +258 -2
  176. package/src/js/plugins/popover.js +75 -2
  177. package/src/js/plugins/progress-donut.js +17 -13
  178. package/src/js/plugins/scrollspy.js +272 -2
  179. package/src/js/plugins/select-autocomplete.js +9 -1
  180. package/src/js/plugins/sticky.js +21 -23
  181. package/src/js/plugins/tab.js +243 -27
  182. package/src/js/plugins/toast.js +206 -2
  183. package/src/js/plugins/tooltip.js +601 -2
  184. package/src/js/plugins/track-focus.js +8 -0
  185. package/src/js/plugins/transfer.js +12 -24
  186. package/src/js/plugins/upload-dragdrop.js +12 -4
  187. package/src/js/plugins/util/backdrop.js +153 -0
  188. package/src/js/plugins/util/component-functions.js +36 -0
  189. package/src/js/plugins/util/config.js +68 -0
  190. package/src/js/plugins/util/cookies.js +8 -0
  191. package/src/js/plugins/util/device.js +0 -3
  192. package/src/js/plugins/util/dom.js +8 -0
  193. package/src/js/plugins/util/focustrap.js +119 -0
  194. package/src/js/plugins/util/index.js +317 -0
  195. package/src/js/plugins/util/observer.js +8 -0
  196. package/src/js/plugins/util/on-document-scroll.js +19 -9
  197. package/src/js/plugins/util/pageScroll.js +8 -0
  198. package/src/js/plugins/util/sanitizer.js +112 -0
  199. package/src/js/plugins/util/scrollbar.js +118 -0
  200. package/src/js/plugins/util/swipe.js +148 -0
  201. package/src/js/plugins/util/template-factory.js +164 -0
  202. package/src/js/plugins/util/tween.js +9 -1
  203. package/src/js/plugins/util/youtube-video.js +12 -21
  204. package/src/js/plugins/videoplayer.js +18 -8
  205. package/src/js/version.js +10 -3
  206. package/src/scss/base/_containers.scss +41 -0
  207. package/src/scss/base/_functions.scss +373 -0
  208. package/src/scss/base/_helpers.scss +10 -0
  209. package/src/scss/base/_maps.scss +54 -0
  210. package/src/scss/base/_mixins.scss +44 -0
  211. package/src/scss/base/_reboot.scss +590 -0
  212. package/src/scss/base/_root.scss +73 -0
  213. package/src/scss/base/_transitions.scss +27 -0
  214. package/src/scss/base/_utilities.scss +742 -0
  215. package/src/scss/base/_variables.scss +2123 -0
  216. package/src/scss/base/_version.scss +3 -0
  217. package/src/scss/base/helpers/_clearfix.scss +3 -0
  218. package/src/scss/base/helpers/_color-bg.scss +10 -0
  219. package/src/scss/base/helpers/_colored-links.scss +16 -0
  220. package/src/scss/base/helpers/_position.scss +36 -0
  221. package/src/scss/base/helpers/_ratio.scss +26 -0
  222. package/src/scss/base/helpers/_stacks.scss +15 -0
  223. package/src/scss/base/helpers/_stretched-link.scss +15 -0
  224. package/src/scss/base/helpers/_text-truncation.scss +7 -0
  225. package/src/scss/base/helpers/_visually-hidden.scss +8 -0
  226. package/src/scss/base/helpers/_vr.scss +8 -0
  227. package/src/scss/base/mixins/_alert.scss +15 -0
  228. package/src/scss/base/mixins/_backdrop.scss +18 -0
  229. package/src/scss/base/mixins/_banner.scss +11 -0
  230. package/src/scss/base/mixins/_border-radius.scss +77 -0
  231. package/src/scss/base/mixins/_box-shadow.scss +18 -0
  232. package/src/scss/base/mixins/_breakpoints.scss +127 -0
  233. package/src/scss/base/mixins/_buttons.scss +141 -0
  234. package/src/scss/base/mixins/_caret.scss +64 -0
  235. package/src/scss/base/mixins/_clearfix.scss +9 -0
  236. package/src/scss/base/mixins/_color-scheme.scss +7 -0
  237. package/src/scss/base/mixins/_container.scss +11 -0
  238. package/src/scss/base/mixins/_deprecate.scss +10 -0
  239. package/src/scss/base/mixins/_forms.scss +152 -0
  240. package/src/scss/base/mixins/_gradients.scss +47 -0
  241. package/src/scss/base/mixins/_grid.scss +151 -0
  242. package/src/scss/base/mixins/_image.scss +15 -0
  243. package/src/scss/base/mixins/_list-group.scss +24 -0
  244. package/src/scss/base/mixins/_lists.scss +7 -0
  245. package/src/scss/base/mixins/_pagination.scss +10 -0
  246. package/src/scss/base/mixins/_reset-text.scss +17 -0
  247. package/src/scss/base/mixins/_resize.scss +6 -0
  248. package/src/scss/base/mixins/_table-variants.scss +24 -0
  249. package/src/scss/base/mixins/_text-truncate.scss +8 -0
  250. package/src/scss/base/mixins/_transition.scss +26 -0
  251. package/src/scss/base/mixins/_utilities.scss +96 -0
  252. package/src/scss/base/mixins/_visually-hidden.scss +29 -0
  253. package/src/scss/base/utilities/_api.scss +45 -0
  254. package/src/scss/base/vendor/_rfs.scss +337 -0
  255. package/src/scss/bootstrap-italia.scss +137 -156
  256. package/src/scss/{custom → components}/_accept-overlay.scss +2 -1
  257. package/src/scss/components/_accordion.scss +297 -0
  258. package/src/scss/components/_badge.scss +60 -0
  259. package/src/scss/components/_breadcrumb.scss +95 -0
  260. package/src/scss/components/_button-group.scss +143 -0
  261. package/src/scss/components/_buttons.scss +467 -0
  262. package/src/scss/{custom → components}/_card.scss +228 -0
  263. package/src/scss/{custom → components}/_carousel.scss +225 -3
  264. package/src/scss/components/_dropdown.scss +480 -0
  265. package/src/scss/{custom → components}/_grid.scss +33 -0
  266. package/src/scss/{custom → components}/_gridlist.scss +7 -0
  267. package/src/scss/{custom → components}/_hero.scss +23 -57
  268. package/src/scss/components/_images.scss +48 -0
  269. package/src/scss/{custom → components}/_linklist.scss +0 -1
  270. package/src/scss/components/_list-group.scss +190 -0
  271. package/src/scss/components/_modal.scss +475 -0
  272. package/src/scss/components/_nav.scss +169 -0
  273. package/src/scss/components/_navbar.scss +274 -0
  274. package/src/scss/components/_offcanvas.scss +144 -0
  275. package/src/scss/components/_pagination.scss +108 -0
  276. package/src/scss/components/_placeholders.scss +51 -0
  277. package/src/scss/components/_popover.scss +298 -0
  278. package/src/scss/components/_progress-bars.scss +126 -0
  279. package/src/scss/{custom → components}/_steppers.scss +2 -2
  280. package/src/scss/{custom → components}/_tab.scss +3 -7
  281. package/src/scss/components/_tables.scss +171 -0
  282. package/src/scss/components/_toasts.scss +73 -0
  283. package/src/scss/{custom → components}/_toolbar.scss +19 -12
  284. package/src/scss/components/_tooltip.scss +139 -0
  285. package/src/scss/{custom → components}/_type.scss +92 -0
  286. package/src/scss/forms/_accessible-autocomplete.scss +188 -0
  287. package/src/scss/forms/_floating-labels.scss +75 -0
  288. package/src/scss/forms/_form-check.scss +163 -0
  289. package/src/scss/forms/_form-control.scss +201 -0
  290. package/src/scss/forms/_form-range.scss +95 -0
  291. package/src/scss/{custom → forms}/_form-select.scss +72 -0
  292. package/src/scss/forms/_form-text.scss +11 -0
  293. package/src/scss/{custom → forms}/_forms.scss +8 -12
  294. package/src/scss/forms/_input-group.scss +129 -0
  295. package/src/scss/forms/_labels.scss +36 -0
  296. package/src/scss/forms/_validation.scss +12 -0
  297. package/src/scss/utilities/icons.scss +5 -5
  298. package/types/index.d.ts +4 -1
  299. package/types/plugins/video.ts +33 -0
  300. package/dist/plugins/backToTop.js.map +0 -1
  301. package/src/scss/_functions.scss +0 -38
  302. package/src/scss/_variables.scss +0 -639
  303. package/src/scss/custom/_accessible-autocomplete.scss +0 -30
  304. package/src/scss/custom/_accordion.scss +0 -176
  305. package/src/scss/custom/_badge.scss +0 -29
  306. package/src/scss/custom/_breadcrumb.scss +0 -51
  307. package/src/scss/custom/_buttons.scss +0 -235
  308. package/src/scss/custom/_componente-base.scss +0 -6
  309. package/src/scss/custom/_dropdown.scss +0 -248
  310. package/src/scss/custom/_form-datepicker.scss +0 -604
  311. package/src/scss/custom/_images.scss +0 -10
  312. package/src/scss/custom/_modal.scss +0 -248
  313. package/src/scss/custom/_popover.scss +0 -106
  314. package/src/scss/custom/_progress-bars.scss +0 -70
  315. package/src/scss/custom/_tables.scss +0 -11
  316. package/src/scss/custom/_timepicker.scss +0 -252
  317. package/src/scss/custom/_tooltip.scss +0 -33
  318. package/src/scss/custom/_version.scss +0 -3
  319. package/src/scss/custom/mixins/_buttons.scss +0 -67
  320. package/src/scss/utilities/colors_vars.scss +0 -426
  321. /package/src/scss/{custom → base}/mixins/_text-emphasis.scss +0 -0
  322. /package/src/scss/{custom → components}/_affix.scss +0 -0
  323. /package/src/scss/{custom → components}/_alert.scss +0 -0
  324. /package/src/scss/{custom → components}/_anchor.scss +0 -0
  325. /package/src/scss/{custom → components}/_avatar.scss +0 -0
  326. /package/src/scss/{custom → components}/_back-to-top.scss +0 -0
  327. /package/src/scss/{custom → components}/_bottomnav.scss +0 -0
  328. /package/src/scss/{custom → components}/_calendar.scss +0 -0
  329. /package/src/scss/{custom → components}/_callout.scss +0 -0
  330. /package/src/scss/{custom → components}/_chips.scss +0 -0
  331. /package/src/scss/{custom → components}/_code.scss +0 -0
  332. /package/src/scss/{custom → components}/_cookiebar.scss +0 -0
  333. /package/src/scss/{custom → components}/_dimmer.scss +0 -0
  334. /package/src/scss/{custom → components}/_figcaption.scss +0 -0
  335. /package/src/scss/{custom → components}/_font.scss +0 -0
  336. /package/src/scss/{custom → components}/_footer.scss +0 -0
  337. /package/src/scss/{custom → components}/_forward.scss +0 -0
  338. /package/src/scss/{custom → components}/_header.scss +0 -0
  339. /package/src/scss/{custom → components}/_headercenter.scss +0 -0
  340. /package/src/scss/{custom → components}/_headercentertheme.scss +0 -0
  341. /package/src/scss/{custom → components}/_headernavbar.scss +0 -0
  342. /package/src/scss/{custom → components}/_headernavbartheme.scss +0 -0
  343. /package/src/scss/{custom → components}/_headerslim.scss +0 -0
  344. /package/src/scss/{custom → components}/_headerslimtheme.scss +0 -0
  345. /package/src/scss/{custom → components}/_imgresponsive.scss +0 -0
  346. /package/src/scss/{custom → components}/_list.scss +0 -0
  347. /package/src/scss/{custom → components}/_map.scss +0 -0
  348. /package/src/scss/{custom → components}/_masonry-loader.scss +0 -0
  349. /package/src/scss/{custom → components}/_megamenu.scss +0 -0
  350. /package/src/scss/{custom → components}/_navigation.scss +0 -0
  351. /package/src/scss/{custom → components}/_navigationtheme.scss +0 -0
  352. /package/src/scss/{custom → components}/_navscroll.scss +0 -0
  353. /package/src/scss/{custom → components}/_navscrolltheme.scss +0 -0
  354. /package/src/scss/{custom → components}/_notifications.scss +0 -0
  355. /package/src/scss/{custom → components}/_overlay-panel.scss +0 -0
  356. /package/src/scss/{custom → components}/_page-scroll.scss +0 -0
  357. /package/src/scss/{custom → components}/_pager.scss +0 -0
  358. /package/src/scss/{custom → components}/_point-list.scss +0 -0
  359. /package/src/scss/{custom → components}/_print.scss +0 -0
  360. /package/src/scss/{custom → components}/_progress-donuts.scss +0 -0
  361. /package/src/scss/{custom → components}/_progress-spinners.scss +0 -0
  362. /package/src/scss/{custom → components}/_rating-list.scss +0 -0
  363. /package/src/scss/{custom → components}/_rating.scss +0 -0
  364. /package/src/scss/{custom → components}/_sections.scss +0 -0
  365. /package/src/scss/{custom → components}/_sidebar.scss +0 -0
  366. /package/src/scss/{custom → components}/_sidebarthemes.scss +0 -0
  367. /package/src/scss/{custom → components}/_skiplinks.scss +0 -0
  368. /package/src/scss/{custom → components}/_sticky.scss +0 -0
  369. /package/src/scss/{custom → components}/_thumbnav.scss +0 -0
  370. /package/src/scss/{custom → components}/_timeline.scss +0 -0
  371. /package/src/scss/{custom → components}/_videoplayer.scss +0 -0
  372. /package/src/scss/{custom → forms}/_autocomplete.scss +0 -0
  373. /package/src/scss/{custom → forms}/_form-input-file.scss +0 -0
  374. /package/src/scss/{custom → forms}/_form-input-number.scss +0 -0
  375. /package/src/scss/{custom → forms}/_form-input-upload.scss +0 -0
  376. /package/src/scss/{custom → forms}/_form-password.scss +0 -0
  377. /package/src/scss/{custom → forms}/_form-toggles.scss +0 -0
  378. /package/src/scss/{custom → forms}/_form-transfer.scss +0 -0
  379. /package/src/scss/{custom → forms}/_just-validate.scss +0 -0
  380. /package/types/plugins/{backToTop.d.ts → back-to-top.d.ts} +0 -0
@@ -0,0 +1,590 @@
1
+ // stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
2
+
3
+ // Reboot
4
+ //
5
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
6
+ // styles targeting irrelevant browsers while applying new styles.
7
+ //
8
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
9
+
10
+ // Document
11
+ //
12
+ // Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
13
+
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
19
+
20
+ // Root
21
+ //
22
+ // Ability to the value of the root font sizes, affecting the value of `rem`.
23
+ // null by default, thus nothing is generated.
24
+
25
+ :root {
26
+ @if $font-size-root != null {
27
+ @include font-size(var(--#{$prefix}root-font-size));
28
+ }
29
+
30
+ @if $enable-smooth-scroll {
31
+ @media (prefers-reduced-motion: no-preference) {
32
+ scroll-behavior: smooth;
33
+ }
34
+ }
35
+ }
36
+
37
+ // Body
38
+ //
39
+ // 1. Remove the margin in all browsers.
40
+ // 2. As a best practice, apply a default `background-color`.
41
+ // 3. Prevent adjustments of font size after orientation changes in iOS.
42
+ // 4. Change the default tap highlight to be completely transparent in iOS.
43
+
44
+ // scss-docs-start reboot-body-rules
45
+ body {
46
+ margin: 0; // 1
47
+ font-family: var(--#{$prefix}body-font-family);
48
+ @include font-size(var(--#{$prefix}body-font-size));
49
+ font-weight: var(--#{$prefix}body-font-weight);
50
+ line-height: var(--#{$prefix}body-line-height);
51
+ color: var(--#{$prefix}body-color);
52
+ text-align: var(--#{$prefix}body-text-align);
53
+ background-color: var(--#{$prefix}body-bg); // 2
54
+ -webkit-text-size-adjust: 100%; // 3
55
+ -webkit-tap-highlight-color: rgba($black, 0); // 4
56
+ }
57
+ // scss-docs-end reboot-body-rules
58
+
59
+ // Content grouping
60
+ //
61
+ // 1. Reset Firefox's gray color
62
+
63
+ hr {
64
+ margin: $hr-margin-y 0;
65
+ color: $hr-color; // 1
66
+ border: 0;
67
+ border-top: $hr-border-width solid $hr-border-color;
68
+ opacity: $hr-opacity;
69
+ }
70
+
71
+ // Typography
72
+ //
73
+ // 1. Remove top margins from headings
74
+ // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
75
+ // margin for easier control within type scales as it avoids margin collapsing.
76
+
77
+ %heading {
78
+ margin-top: 0; // 1
79
+ margin-bottom: $headings-margin-bottom;
80
+ font-family: $headings-font-family;
81
+ font-style: $headings-font-style;
82
+ font-weight: $headings-font-weight;
83
+ line-height: $headings-line-height;
84
+ color: $headings-color;
85
+ }
86
+
87
+ h1 {
88
+ @extend %heading;
89
+ @include font-size($h1-font-size);
90
+ }
91
+
92
+ h2 {
93
+ @extend %heading;
94
+ @include font-size($h2-font-size);
95
+ }
96
+
97
+ h3 {
98
+ @extend %heading;
99
+ @include font-size($h3-font-size);
100
+ }
101
+
102
+ h4 {
103
+ @extend %heading;
104
+ @include font-size($h4-font-size);
105
+ }
106
+
107
+ h5 {
108
+ @extend %heading;
109
+ @include font-size($h5-font-size);
110
+ }
111
+
112
+ h6 {
113
+ @extend %heading;
114
+ @include font-size($h6-font-size);
115
+ }
116
+
117
+ // Reset margins on paragraphs
118
+ //
119
+ // Similarly, the top margin on `<p>`s get reset. However, we also reset the
120
+ // bottom margin to use `rem` units instead of `em`.
121
+
122
+ p {
123
+ margin-top: 0;
124
+ margin-bottom: $paragraph-margin-bottom;
125
+ }
126
+
127
+ // Abbreviations
128
+ //
129
+ // 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
130
+ // 2. Add explicit cursor to indicate changed behavior.
131
+ // 3. Prevent the text-decoration to be skipped.
132
+
133
+ abbr[title] {
134
+ text-decoration: underline dotted; // 1
135
+ cursor: help; // 2
136
+ text-decoration-skip-ink: none; // 3
137
+ }
138
+
139
+ // Address
140
+
141
+ address {
142
+ margin-bottom: 1rem;
143
+ font-style: normal;
144
+ line-height: inherit;
145
+ }
146
+
147
+ // Lists
148
+
149
+ ol,
150
+ ul {
151
+ padding-left: 2rem;
152
+ }
153
+
154
+ ol,
155
+ ul,
156
+ dl {
157
+ margin-top: 0;
158
+ margin-bottom: 1rem;
159
+ }
160
+
161
+ ol ol,
162
+ ul ul,
163
+ ol ul,
164
+ ul ol {
165
+ margin-bottom: 0;
166
+ }
167
+
168
+ dt {
169
+ font-weight: $dt-font-weight;
170
+ }
171
+
172
+ // 1. Undo browser default
173
+
174
+ dd {
175
+ margin-bottom: 0.5rem;
176
+ margin-left: 0; // 1
177
+ }
178
+
179
+ // Blockquote
180
+
181
+ blockquote {
182
+ margin: 0 0 1rem;
183
+ }
184
+
185
+ // Strong
186
+ //
187
+ // Add the correct font weight in Chrome, Edge, and Safari
188
+
189
+ b,
190
+ strong {
191
+ font-weight: $font-weight-bolder;
192
+ }
193
+
194
+ // Small
195
+ //
196
+ // Add the correct font size in all browsers
197
+
198
+ small {
199
+ @include font-size($small-font-size);
200
+ }
201
+
202
+ // Mark
203
+
204
+ mark {
205
+ padding: $mark-padding;
206
+ background-color: var(--#{$prefix}highlight-bg);
207
+ }
208
+
209
+ // Sub and Sup
210
+ //
211
+ // Prevent `sub` and `sup` elements from affecting the line height in
212
+ // all browsers.
213
+
214
+ sub,
215
+ sup {
216
+ position: relative;
217
+ @include font-size($sub-sup-font-size);
218
+ line-height: 0;
219
+ vertical-align: baseline;
220
+ }
221
+
222
+ sub {
223
+ bottom: -0.25em;
224
+ }
225
+ sup {
226
+ top: -0.5em;
227
+ }
228
+
229
+ // Links
230
+
231
+ a {
232
+ color: var(--#{$prefix}link-color);
233
+ text-decoration: $link-decoration;
234
+
235
+ &:hover {
236
+ color: var(--#{$prefix}link-hover-color);
237
+ text-decoration: $link-hover-decoration;
238
+ }
239
+ }
240
+
241
+ // And undo these styles for placeholder links/named anchors (without href).
242
+ // It would be more straightforward to just use a[href] in previous block, but that
243
+ // causes specificity issues in many other styles that are too complex to fix.
244
+ // See https://github.com/twbs/bootstrap/issues/19402
245
+
246
+ a:not([href]):not([class]) {
247
+ &,
248
+ &:hover {
249
+ color: inherit;
250
+ text-decoration: none;
251
+ }
252
+ }
253
+
254
+ // Code
255
+
256
+ pre,
257
+ code,
258
+ kbd,
259
+ samp {
260
+ font-family: $font-family-code;
261
+ @include font-size(1em); // Correct the odd `em` font sizing in all browsers.
262
+ }
263
+
264
+ // 1. Remove browser default top margin
265
+ // 2. Reset browser default of `1em` to use `rem`s
266
+ // 3. Don't allow content to break outside
267
+
268
+ pre {
269
+ display: block;
270
+ margin-top: 0; // 1
271
+ margin-bottom: 1rem; // 2
272
+ overflow: auto; // 3
273
+ @include font-size($code-font-size);
274
+ color: $pre-color;
275
+
276
+ // Account for some code outputs that place code tags in pre tags
277
+ code {
278
+ @include font-size(inherit);
279
+ color: inherit;
280
+ word-break: normal;
281
+ }
282
+ }
283
+
284
+ code {
285
+ @include font-size($code-font-size);
286
+ color: var(--#{$prefix}code-color);
287
+ word-wrap: break-word;
288
+
289
+ // Streamline the style when inside anchors to avoid broken underline and more
290
+ a > & {
291
+ color: inherit;
292
+ }
293
+ }
294
+
295
+ kbd {
296
+ padding: $kbd-padding-y $kbd-padding-x;
297
+ @include font-size($kbd-font-size);
298
+ color: $kbd-color;
299
+ background-color: $kbd-bg;
300
+ @include border-radius($border-radius-sm);
301
+
302
+ kbd {
303
+ padding: 0;
304
+ @include font-size(1em);
305
+ font-weight: $nested-kbd-font-weight;
306
+ }
307
+ }
308
+
309
+ // Figures
310
+ //
311
+ // Apply a consistent margin strategy (matches our type styles).
312
+
313
+ figure {
314
+ margin: 0 0 1rem;
315
+ }
316
+
317
+ // Images and content
318
+
319
+ img,
320
+ svg {
321
+ vertical-align: middle;
322
+ }
323
+
324
+ // Tables
325
+ //
326
+ // Prevent double borders
327
+
328
+ table {
329
+ caption-side: bottom;
330
+ border-collapse: collapse;
331
+ }
332
+
333
+ caption {
334
+ padding-top: $table-cell-padding-y;
335
+ padding-bottom: $table-cell-padding-y;
336
+ color: $table-caption-color;
337
+ text-align: left;
338
+ }
339
+
340
+ // 1. Removes font-weight bold by inheriting
341
+ // 2. Matches default `<td>` alignment by inheriting `text-align`.
342
+ // 3. Fix alignment for Safari
343
+
344
+ th {
345
+ font-weight: $table-th-font-weight; // 1
346
+ text-align: inherit; // 2
347
+ text-align: -webkit-match-parent; // 3
348
+ }
349
+
350
+ thead,
351
+ tbody,
352
+ tfoot,
353
+ tr,
354
+ td,
355
+ th {
356
+ border-color: inherit;
357
+ border-style: solid;
358
+ border-width: 0;
359
+ }
360
+
361
+ // Forms
362
+ //
363
+ // 1. Allow labels to use `margin` for spacing.
364
+
365
+ label {
366
+ display: inline-block; // 1
367
+ }
368
+
369
+ // Remove the default `border-radius` that macOS Chrome adds.
370
+ // See https://github.com/twbs/bootstrap/issues/24093
371
+
372
+ button {
373
+ // stylelint-disable-next-line property-disallowed-list
374
+ border-radius: 0;
375
+ }
376
+
377
+ // Explicitly remove focus outline in Chromium when it shouldn't be
378
+ // visible (e.g. as result of mouse click or touch tap). It already
379
+ // should be doing this automatically, but seems to currently be
380
+ // confused and applies its very visible two-tone outline anyway.
381
+
382
+ button:focus:not(:focus-visible) {
383
+ outline: 0;
384
+ }
385
+
386
+ // 1. Remove the margin in Firefox and Safari
387
+
388
+ input,
389
+ button,
390
+ select,
391
+ optgroup,
392
+ textarea {
393
+ margin: 0; // 1
394
+ font-family: inherit;
395
+ @include font-size(inherit);
396
+ line-height: inherit;
397
+ }
398
+
399
+ // Remove the inheritance of text transform in Firefox
400
+ button,
401
+ select {
402
+ text-transform: none;
403
+ }
404
+ // Set the cursor for non-`<button>` buttons
405
+ //
406
+ // Details at https://github.com/twbs/bootstrap/pull/30562
407
+ [role='button'] {
408
+ cursor: pointer;
409
+ }
410
+
411
+ select {
412
+ // Remove the inheritance of word-wrap in Safari.
413
+ // See https://github.com/twbs/bootstrap/issues/24990
414
+ word-wrap: normal;
415
+
416
+ // Undo the opacity change from Chrome
417
+ &:disabled {
418
+ opacity: 1;
419
+ }
420
+ }
421
+
422
+ // Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
423
+ // See https://stackoverflow.com/a/54997118
424
+
425
+ [list]:not([type='date']):not([type='datetime-local']):not([type='month']):not([type='week']):not([type='time'])::-webkit-calendar-picker-indicator {
426
+ display: none !important;
427
+ }
428
+
429
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
430
+ // controls in Android 4.
431
+ // 2. Correct the inability to style clickable types in iOS and Safari.
432
+ // 3. Opinionated: add "hand" cursor to non-disabled button elements.
433
+
434
+ button,
435
+ [type="button"], // 1
436
+ [type="reset"],
437
+ [type="submit"] {
438
+ -webkit-appearance: button; // 2
439
+
440
+ @if $enable-button-pointers {
441
+ &:not(:disabled) {
442
+ cursor: pointer; // 3
443
+ }
444
+ }
445
+ }
446
+
447
+ // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
448
+
449
+ ::-moz-focus-inner {
450
+ padding: 0;
451
+ border-style: none;
452
+ }
453
+
454
+ // 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
455
+
456
+ textarea {
457
+ resize: vertical; // 1
458
+ }
459
+
460
+ // 1. Browsers set a default `min-width: min-content;` on fieldsets,
461
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
462
+ // So we reset that to ensure fieldsets behave more like a standard block element.
463
+ // See https://github.com/twbs/bootstrap/issues/12359
464
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
465
+ // 2. Reset the default outline behavior of fieldsets so they don't affect page layout.
466
+
467
+ fieldset {
468
+ min-width: 0; // 1
469
+ padding: 0; // 2
470
+ margin: 0; // 2
471
+ border: 0; // 2
472
+ }
473
+
474
+ // 1. By using `float: left`, the legend will behave like a block element.
475
+ // This way the border of a fieldset wraps around the legend if present.
476
+ // 2. Fix wrapping bug.
477
+ // See https://github.com/twbs/bootstrap/issues/29712
478
+
479
+ legend {
480
+ float: left; // 1
481
+ width: 100%;
482
+ padding: 0;
483
+ margin-bottom: $legend-margin-bottom;
484
+ @include font-size($legend-font-size);
485
+ font-weight: $legend-font-weight;
486
+ line-height: inherit;
487
+
488
+ + * {
489
+ clear: left; // 2
490
+ }
491
+ }
492
+
493
+ // Fix height of inputs with a type of datetime-local, date, month, week, or time
494
+ // See https://github.com/twbs/bootstrap/issues/18842
495
+
496
+ ::-webkit-datetime-edit-fields-wrapper,
497
+ ::-webkit-datetime-edit-text,
498
+ ::-webkit-datetime-edit-minute,
499
+ ::-webkit-datetime-edit-hour-field,
500
+ ::-webkit-datetime-edit-day-field,
501
+ ::-webkit-datetime-edit-month-field,
502
+ ::-webkit-datetime-edit-year-field {
503
+ padding: 0;
504
+ }
505
+
506
+ ::-webkit-inner-spin-button {
507
+ height: auto;
508
+ }
509
+
510
+ // 1. Correct the outline style in Safari.
511
+ // 2. This overrides the extra rounded corners on search inputs in iOS so that our
512
+ // `.form-control` class can properly style them. Note that this cannot simply
513
+ // be added to `.form-control` as it's not specific enough. For details, see
514
+ // https://github.com/twbs/bootstrap/issues/11586.
515
+
516
+ [type='search'] {
517
+ outline-offset: -2px; // 1
518
+ -webkit-appearance: textfield; // 2
519
+ }
520
+
521
+ // 1. A few input types should stay LTR
522
+ // See https://rtlstyling.com/posts/rtl-styling#form-inputs
523
+ // 2. RTL only output
524
+ // See https://rtlcss.com/learn/usage-guide/control-directives/#raw
525
+
526
+ /* rtl:raw:
527
+ [type="tel"],
528
+ [type="url"],
529
+ [type="email"],
530
+ [type="number"] {
531
+ direction: ltr;
532
+ }
533
+ */
534
+
535
+ // Remove the inner padding in Chrome and Safari on macOS.
536
+
537
+ ::-webkit-search-decoration {
538
+ -webkit-appearance: none;
539
+ }
540
+
541
+ // Remove padding around color pickers in webkit browsers
542
+
543
+ ::-webkit-color-swatch-wrapper {
544
+ padding: 0;
545
+ }
546
+
547
+ // 1. Inherit font family and line height for file input buttons
548
+ // 2. Correct the inability to style clickable types in iOS and Safari.
549
+
550
+ ::file-selector-button {
551
+ font: inherit; // 1
552
+ -webkit-appearance: button; // 2
553
+ }
554
+
555
+ // Correct element displays
556
+
557
+ output {
558
+ display: inline-block;
559
+ }
560
+
561
+ // Remove border from iframe
562
+
563
+ iframe {
564
+ border: 0;
565
+ }
566
+
567
+ // Summary
568
+ //
569
+ // 1. Add the correct display in all browsers
570
+
571
+ summary {
572
+ display: list-item; // 1
573
+ cursor: pointer;
574
+ }
575
+
576
+ // Progress
577
+ //
578
+ // Add the correct vertical alignment in Chrome, Firefox, and Opera.
579
+
580
+ progress {
581
+ vertical-align: baseline;
582
+ }
583
+
584
+ // Hidden attribute
585
+ //
586
+ // Always hide an element with the `hidden` HTML attribute.
587
+
588
+ [hidden] {
589
+ display: none !important;
590
+ }
@@ -0,0 +1,73 @@
1
+ :root {
2
+ // Note: Custom variable values only support SassScript inside `#{}`.
3
+
4
+ // Colors
5
+ //
6
+ // Generate palettes for full colors, grays, and theme colors.
7
+
8
+ @each $color, $value in $colors {
9
+ --#{$prefix}#{$color}: #{$value};
10
+ }
11
+
12
+ @each $color, $value in $grays {
13
+ --#{$prefix}gray-#{$color}: #{$value};
14
+ }
15
+
16
+ @each $color, $value in $theme-colors {
17
+ --#{$prefix}#{$color}: #{$value};
18
+ }
19
+
20
+ @each $color, $value in $theme-colors-rgb {
21
+ --#{$prefix}#{$color}-rgb: #{$value};
22
+ }
23
+
24
+ --#{$prefix}white-rgb: #{to-rgb($white)};
25
+ --#{$prefix}black-rgb: #{to-rgb($black)};
26
+ --#{$prefix}body-color-rgb: #{to-rgb($body-color)};
27
+ --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
28
+
29
+ // Fonts
30
+
31
+ // Note: Use `inspect` for lists so that quoted items keep the quotes.
32
+ // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
33
+ --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
34
+ --#{$prefix}font-monospace: #{inspect($font-family-monospace)};
35
+ --#{$prefix}gradient: #{$gradient};
36
+
37
+ // Root and body
38
+ // scss-docs-start root-body-variables
39
+ @if $font-size-root != null {
40
+ --#{$prefix}root-font-size: #{$font-size-root};
41
+ }
42
+ --#{$prefix}body-font-family: #{$font-family-base};
43
+ @include rfs($font-size-base, --#{$prefix}body-font-size);
44
+ --#{$prefix}body-font-weight: #{$font-weight-base};
45
+ --#{$prefix}body-line-height: #{$line-height-base};
46
+ --#{$prefix}body-color: #{$body-color};
47
+ @if $body-text-align != null {
48
+ --#{$prefix}body-text-align: #{$body-text-align};
49
+ }
50
+ --#{$prefix}body-bg: #{$body-bg};
51
+ // scss-docs-end root-body-variables
52
+
53
+ // scss-docs-start root-border-var
54
+ --#{$prefix}border-width: #{$border-width};
55
+ --#{$prefix}border-style: #{$border-style};
56
+ --#{$prefix}border-color: #{$border-color};
57
+ --#{$prefix}border-color-translucent: #{$border-color-translucent};
58
+
59
+ --#{$prefix}border-radius: #{$border-radius};
60
+ --#{$prefix}border-radius-sm: #{$border-radius-sm};
61
+ --#{$prefix}border-radius-lg: #{$border-radius-lg};
62
+ --#{$prefix}border-radius-xl: #{$border-radius-xl};
63
+ --#{$prefix}border-radius-2xl: #{$border-radius-2xl};
64
+ --#{$prefix}border-radius-pill: #{$border-radius-pill};
65
+ // scss-docs-end root-border-var
66
+
67
+ --#{$prefix}link-color: #{$link-color};
68
+ --#{$prefix}link-hover-color: #{$link-hover-color};
69
+
70
+ --#{$prefix}code-color: #{$code-color};
71
+
72
+ --#{$prefix}highlight-bg: #{$mark-bg};
73
+ }
@@ -0,0 +1,27 @@
1
+ .fade {
2
+ @include transition($transition-fade);
3
+
4
+ &:not(.show) {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ // scss-docs-start collapse-classes
10
+ .collapse {
11
+ &:not(.show) {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .collapsing {
17
+ height: 0;
18
+ overflow: hidden;
19
+ @include transition($transition-collapse);
20
+
21
+ &.collapse-horizontal {
22
+ width: 0;
23
+ height: auto;
24
+ @include transition($transition-collapse-width);
25
+ }
26
+ }
27
+ // scss-docs-end collapse-classes