@coreui/coreui 5.4.2 → 5.5.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 (127) hide show
  1. package/README.md +4 -2
  2. package/dist/css/coreui-grid.css +1 -1
  3. package/dist/css/coreui-grid.css.map +1 -1
  4. package/dist/css/coreui-grid.min.css +1 -1
  5. package/dist/css/coreui-grid.min.css.map +1 -1
  6. package/dist/css/coreui-grid.rtl.css +1 -1
  7. package/dist/css/coreui-grid.rtl.css.map +1 -1
  8. package/dist/css/coreui-grid.rtl.min.css +1 -1
  9. package/dist/css/coreui-grid.rtl.min.css.map +1 -1
  10. package/dist/css/coreui-reboot.css +5 -1
  11. package/dist/css/coreui-reboot.css.map +1 -1
  12. package/dist/css/coreui-reboot.min.css +2 -2
  13. package/dist/css/coreui-reboot.min.css.map +1 -1
  14. package/dist/css/coreui-reboot.rtl.css +5 -1
  15. package/dist/css/coreui-reboot.rtl.css.map +1 -1
  16. package/dist/css/coreui-reboot.rtl.min.css +2 -2
  17. package/dist/css/coreui-reboot.rtl.min.css.map +1 -1
  18. package/dist/css/coreui-utilities.css +1 -1
  19. package/dist/css/coreui-utilities.css.map +1 -1
  20. package/dist/css/coreui-utilities.min.css +1 -1
  21. package/dist/css/coreui-utilities.min.css.map +1 -1
  22. package/dist/css/coreui-utilities.rtl.css +1 -1
  23. package/dist/css/coreui-utilities.rtl.css.map +1 -1
  24. package/dist/css/coreui-utilities.rtl.min.css +1 -1
  25. package/dist/css/coreui-utilities.rtl.min.css.map +1 -1
  26. package/dist/css/coreui.css +6 -1
  27. package/dist/css/coreui.css.map +1 -1
  28. package/dist/css/coreui.min.css +2 -2
  29. package/dist/css/coreui.min.css.map +1 -1
  30. package/dist/css/coreui.rtl.css +6 -1
  31. package/dist/css/coreui.rtl.css.map +1 -1
  32. package/dist/css/coreui.rtl.min.css +2 -2
  33. package/dist/css/coreui.rtl.min.css.map +1 -1
  34. package/dist/css/themes/bootstrap/bootstrap.css +24 -19
  35. package/dist/css/themes/bootstrap/bootstrap.css.map +1 -1
  36. package/dist/css/themes/bootstrap/bootstrap.min.css +2 -2
  37. package/dist/css/themes/bootstrap/bootstrap.min.css.map +1 -1
  38. package/dist/css/themes/bootstrap/bootstrap.rtl.css +23 -18
  39. package/dist/css/themes/bootstrap/bootstrap.rtl.css.map +1 -1
  40. package/dist/css/themes/bootstrap/bootstrap.rtl.min.css +2 -2
  41. package/dist/css/themes/bootstrap/bootstrap.rtl.min.css.map +1 -1
  42. package/dist/js/bootstrap.bundle.js +2 -2
  43. package/dist/js/bootstrap.bundle.js.map +1 -1
  44. package/dist/js/bootstrap.bundle.min.js +2 -2
  45. package/dist/js/bootstrap.bundle.min.js.map +1 -1
  46. package/dist/js/bootstrap.esm.js +2 -2
  47. package/dist/js/bootstrap.esm.js.map +1 -1
  48. package/dist/js/bootstrap.esm.min.js +2 -2
  49. package/dist/js/bootstrap.esm.min.js.map +1 -1
  50. package/dist/js/bootstrap.js +2 -2
  51. package/dist/js/bootstrap.js.map +1 -1
  52. package/dist/js/bootstrap.min.js +2 -2
  53. package/dist/js/bootstrap.min.js.map +1 -1
  54. package/dist/js/coreui.bundle.js +2 -2
  55. package/dist/js/coreui.bundle.js.map +1 -1
  56. package/dist/js/coreui.bundle.min.js +2 -2
  57. package/dist/js/coreui.bundle.min.js.map +1 -1
  58. package/dist/js/coreui.esm.js +2 -2
  59. package/dist/js/coreui.esm.js.map +1 -1
  60. package/dist/js/coreui.esm.min.js +2 -2
  61. package/dist/js/coreui.esm.min.js.map +1 -1
  62. package/dist/js/coreui.js +2 -2
  63. package/dist/js/coreui.js.map +1 -1
  64. package/dist/js/coreui.min.js +2 -2
  65. package/dist/js/coreui.min.js.map +1 -1
  66. package/js/dist/alert.js +1 -1
  67. package/js/dist/base-component.js +2 -2
  68. package/js/dist/base-component.js.map +1 -1
  69. package/js/dist/button.js +1 -1
  70. package/js/dist/carousel.js +1 -1
  71. package/js/dist/collapse.js +1 -1
  72. package/js/dist/dom/data.js +1 -1
  73. package/js/dist/dom/event-handler.js +1 -1
  74. package/js/dist/dom/manipulator.js +1 -1
  75. package/js/dist/dom/selector-engine.js +1 -1
  76. package/js/dist/dropdown.js +1 -1
  77. package/js/dist/modal.js +1 -1
  78. package/js/dist/navigation.js +1 -1
  79. package/js/dist/offcanvas.js +1 -1
  80. package/js/dist/popover.js +1 -1
  81. package/js/dist/scrollspy.js +1 -1
  82. package/js/dist/sidebar.js +1 -1
  83. package/js/dist/tab.js +1 -1
  84. package/js/dist/toast.js +1 -1
  85. package/js/dist/tooltip.js +1 -1
  86. package/js/dist/util/backdrop.js +1 -1
  87. package/js/dist/util/component-functions.js +1 -1
  88. package/js/dist/util/config.js +1 -1
  89. package/js/dist/util/focustrap.js +1 -1
  90. package/js/dist/util/index.js +1 -1
  91. package/js/dist/util/sanitizer.js +1 -1
  92. package/js/dist/util/scrollbar.js +1 -1
  93. package/js/dist/util/swipe.js +1 -1
  94. package/js/dist/util/template-factory.js +1 -1
  95. package/js/src/base-component.js +1 -1
  96. package/package.json +31 -30
  97. package/scss/_banner.scss +1 -1
  98. package/scss/_buttons.scss +9 -5
  99. package/scss/_card.scss +2 -1
  100. package/scss/_carousel.scss +4 -2
  101. package/scss/_dropdown.scss +5 -3
  102. package/scss/_header.scss +3 -2
  103. package/scss/_list-group.scss +1 -1
  104. package/scss/_maps.scss +2 -1
  105. package/scss/_modal.scss +2 -1
  106. package/scss/_nav.scss +3 -2
  107. package/scss/_navbar.scss +5 -3
  108. package/scss/_pagination.scss +3 -2
  109. package/scss/_reboot.scss +6 -0
  110. package/scss/_spinners.scss +1 -0
  111. package/scss/forms/_form-control.scss +2 -1
  112. package/scss/functions/_color-contrast-variables.scss +1 -1
  113. package/scss/functions/_color-contrast.scss +1 -1
  114. package/scss/functions/_color.scss +5 -1
  115. package/scss/functions/_contrast-ratio.scss +11 -6
  116. package/scss/functions/_maps.scss +9 -1
  117. package/scss/functions/_math.scss +4 -3
  118. package/scss/helpers/_color-bg.scss +8 -4
  119. package/scss/helpers/_colored-links.scss +18 -9
  120. package/scss/mixins/_breakpoints.scss +9 -4
  121. package/scss/mixins/_buttons.scss +4 -4
  122. package/scss/mixins/_forms.scss +3 -3
  123. package/scss/mixins/_grid.scss +4 -2
  124. package/scss/mixins/_ltr-rtl.scss +24 -12
  125. package/scss/mixins/_table-variants.scss +6 -4
  126. package/scss/mixins/_utilities.scss +22 -12
  127. package/scss/vendor/_rfs.scss +27 -19
package/js/dist/alert.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI alert.js v5.4.2 (https://coreui.io)
2
+ * CoreUI alert.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI base-component.js v5.4.2 (https://coreui.io)
2
+ * CoreUI base-component.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -24,7 +24,7 @@
24
24
  * Constants
25
25
  */
26
26
 
27
- const VERSION = '5.4.2';
27
+ const VERSION = '5.5.0';
28
28
 
29
29
  /**
30
30
  * Class definition
@@ -1 +1 @@
1
- {"version":3,"file":"base-component.js","sources":["../src/base-component.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI base-component.js\n * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)\n *\n * This component is a modified version of the Bootstrap's base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Data from './dom/data.js'\nimport EventHandler from './dom/event-handler.js'\nimport Config from './util/config.js'\nimport { executeAfterTransition, getElement } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst VERSION = '5.4.2'\n\n/**\n * Class definition\n */\n\nclass BaseComponent extends Config {\n constructor(element, config) {\n super()\n\n element = getElement(element)\n if (!element) {\n return\n }\n\n this._element = element\n this._config = this._getConfig(config)\n\n Data.set(this._element, this.constructor.DATA_KEY, this)\n }\n\n // Public\n dispose() {\n Data.remove(this._element, this.constructor.DATA_KEY)\n EventHandler.off(this._element, this.constructor.EVENT_KEY)\n\n for (const propertyName of Object.getOwnPropertyNames(this)) {\n this[propertyName] = null\n }\n }\n\n // Private\n _queueCallback(callback, element, isAnimated = true) {\n executeAfterTransition(callback, element, isAnimated)\n }\n\n _getConfig(config) {\n config = this._mergeConfigObj(config, this._element)\n config = this._configAfterMerge(config)\n this._typeCheckConfig(config)\n return config\n }\n\n // Static\n static getInstance(element) {\n return Data.get(getElement(element), this.DATA_KEY)\n }\n\n static getOrCreateInstance(element, config = {}) {\n return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\n }\n\n static get VERSION() {\n return VERSION\n }\n\n static get DATA_KEY() {\n return `coreui.${this.NAME}`\n }\n\n static get EVENT_KEY() {\n return `.${this.DATA_KEY}`\n }\n\n static eventName(name) {\n return `${name}${this.EVENT_KEY}`\n }\n}\n\nexport default BaseComponent\n"],"names":["VERSION","BaseComponent","Config","constructor","element","config","getElement","_element","_config","_getConfig","Data","set","DATA_KEY","dispose","remove","EventHandler","off","EVENT_KEY","propertyName","Object","getOwnPropertyNames","_queueCallback","callback","isAnimated","executeAfterTransition","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","getInstance","get","getOrCreateInstance","NAME","eventName","name"],"mappings":";;;;;;;;;;;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;EAOA;EACA;EACA;;EAEA,MAAMA,OAAO,GAAG,OAAO;;EAEvB;EACA;EACA;;EAEA,MAAMC,aAAa,SAASC,MAAM,CAAC;EACjCC,EAAAA,WAAWA,CAACC,OAAO,EAAEC,MAAM,EAAE;EAC3B,IAAA,KAAK,EAAE;EAEPD,IAAAA,OAAO,GAAGE,mBAAU,CAACF,OAAO,CAAC;MAC7B,IAAI,CAACA,OAAO,EAAE;EACZ,MAAA;EACF,IAAA;MAEA,IAAI,CAACG,QAAQ,GAAGH,OAAO;MACvB,IAAI,CAACI,OAAO,GAAG,IAAI,CAACC,UAAU,CAACJ,MAAM,CAAC;EAEtCK,IAAAA,IAAI,CAACC,GAAG,CAAC,IAAI,CAACJ,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,EAAE,IAAI,CAAC;EAC1D,EAAA;;EAEA;EACAC,EAAAA,OAAOA,GAAG;EACRH,IAAAA,IAAI,CAACI,MAAM,CAAC,IAAI,CAACP,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,CAAC;EACrDG,IAAAA,YAAY,CAACC,GAAG,CAAC,IAAI,CAACT,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACc,SAAS,CAAC;MAE3D,KAAK,MAAMC,YAAY,IAAIC,MAAM,CAACC,mBAAmB,CAAC,IAAI,CAAC,EAAE;EAC3D,MAAA,IAAI,CAACF,YAAY,CAAC,GAAG,IAAI;EAC3B,IAAA;EACF,EAAA;;EAEA;IACAG,cAAcA,CAACC,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,GAAG,IAAI,EAAE;EACnDC,IAAAA,+BAAsB,CAACF,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,CAAC;EACvD,EAAA;IAEAd,UAAUA,CAACJ,MAAM,EAAE;MACjBA,MAAM,GAAG,IAAI,CAACoB,eAAe,CAACpB,MAAM,EAAE,IAAI,CAACE,QAAQ,CAAC;EACpDF,IAAAA,MAAM,GAAG,IAAI,CAACqB,iBAAiB,CAACrB,MAAM,CAAC;EACvC,IAAA,IAAI,CAACsB,gBAAgB,CAACtB,MAAM,CAAC;EAC7B,IAAA,OAAOA,MAAM;EACf,EAAA;;EAEA;IACA,OAAOuB,WAAWA,CAACxB,OAAO,EAAE;EAC1B,IAAA,OAAOM,IAAI,CAACmB,GAAG,CAACvB,mBAAU,CAACF,OAAO,CAAC,EAAE,IAAI,CAACQ,QAAQ,CAAC;EACrD,EAAA;IAEA,OAAOkB,mBAAmBA,CAAC1B,OAAO,EAAEC,MAAM,GAAG,EAAE,EAAE;MAC/C,OAAO,IAAI,CAACuB,WAAW,CAACxB,OAAO,CAAC,IAAI,IAAI,IAAI,CAACA,OAAO,EAAE,OAAOC,MAAM,KAAK,QAAQ,GAAGA,MAAM,GAAG,IAAI,CAAC;EACnG,EAAA;IAEA,WAAWL,OAAOA,GAAG;EACnB,IAAA,OAAOA,OAAO;EAChB,EAAA;IAEA,WAAWY,QAAQA,GAAG;EACpB,IAAA,OAAO,CAAA,OAAA,EAAU,IAAI,CAACmB,IAAI,CAAA,CAAE;EAC9B,EAAA;IAEA,WAAWd,SAASA,GAAG;EACrB,IAAA,OAAO,CAAA,CAAA,EAAI,IAAI,CAACL,QAAQ,CAAA,CAAE;EAC5B,EAAA;IAEA,OAAOoB,SAASA,CAACC,IAAI,EAAE;EACrB,IAAA,OAAO,GAAGA,IAAI,CAAA,EAAG,IAAI,CAAChB,SAAS,CAAA,CAAE;EACnC,EAAA;EACF;;;;;;;;"}
1
+ {"version":3,"file":"base-component.js","sources":["../src/base-component.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI base-component.js\n * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)\n *\n * This component is a modified version of the Bootstrap's base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Data from './dom/data.js'\nimport EventHandler from './dom/event-handler.js'\nimport Config from './util/config.js'\nimport { executeAfterTransition, getElement } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst VERSION = '5.5.0'\n\n/**\n * Class definition\n */\n\nclass BaseComponent extends Config {\n constructor(element, config) {\n super()\n\n element = getElement(element)\n if (!element) {\n return\n }\n\n this._element = element\n this._config = this._getConfig(config)\n\n Data.set(this._element, this.constructor.DATA_KEY, this)\n }\n\n // Public\n dispose() {\n Data.remove(this._element, this.constructor.DATA_KEY)\n EventHandler.off(this._element, this.constructor.EVENT_KEY)\n\n for (const propertyName of Object.getOwnPropertyNames(this)) {\n this[propertyName] = null\n }\n }\n\n // Private\n _queueCallback(callback, element, isAnimated = true) {\n executeAfterTransition(callback, element, isAnimated)\n }\n\n _getConfig(config) {\n config = this._mergeConfigObj(config, this._element)\n config = this._configAfterMerge(config)\n this._typeCheckConfig(config)\n return config\n }\n\n // Static\n static getInstance(element) {\n return Data.get(getElement(element), this.DATA_KEY)\n }\n\n static getOrCreateInstance(element, config = {}) {\n return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\n }\n\n static get VERSION() {\n return VERSION\n }\n\n static get DATA_KEY() {\n return `coreui.${this.NAME}`\n }\n\n static get EVENT_KEY() {\n return `.${this.DATA_KEY}`\n }\n\n static eventName(name) {\n return `${name}${this.EVENT_KEY}`\n }\n}\n\nexport default BaseComponent\n"],"names":["VERSION","BaseComponent","Config","constructor","element","config","getElement","_element","_config","_getConfig","Data","set","DATA_KEY","dispose","remove","EventHandler","off","EVENT_KEY","propertyName","Object","getOwnPropertyNames","_queueCallback","callback","isAnimated","executeAfterTransition","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","getInstance","get","getOrCreateInstance","NAME","eventName","name"],"mappings":";;;;;;;;;;;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;EAOA;EACA;EACA;;EAEA,MAAMA,OAAO,GAAG,OAAO;;EAEvB;EACA;EACA;;EAEA,MAAMC,aAAa,SAASC,MAAM,CAAC;EACjCC,EAAAA,WAAWA,CAACC,OAAO,EAAEC,MAAM,EAAE;EAC3B,IAAA,KAAK,EAAE;EAEPD,IAAAA,OAAO,GAAGE,mBAAU,CAACF,OAAO,CAAC;MAC7B,IAAI,CAACA,OAAO,EAAE;EACZ,MAAA;EACF,IAAA;MAEA,IAAI,CAACG,QAAQ,GAAGH,OAAO;MACvB,IAAI,CAACI,OAAO,GAAG,IAAI,CAACC,UAAU,CAACJ,MAAM,CAAC;EAEtCK,IAAAA,IAAI,CAACC,GAAG,CAAC,IAAI,CAACJ,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,EAAE,IAAI,CAAC;EAC1D,EAAA;;EAEA;EACAC,EAAAA,OAAOA,GAAG;EACRH,IAAAA,IAAI,CAACI,MAAM,CAAC,IAAI,CAACP,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,CAAC;EACrDG,IAAAA,YAAY,CAACC,GAAG,CAAC,IAAI,CAACT,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACc,SAAS,CAAC;MAE3D,KAAK,MAAMC,YAAY,IAAIC,MAAM,CAACC,mBAAmB,CAAC,IAAI,CAAC,EAAE;EAC3D,MAAA,IAAI,CAACF,YAAY,CAAC,GAAG,IAAI;EAC3B,IAAA;EACF,EAAA;;EAEA;IACAG,cAAcA,CAACC,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,GAAG,IAAI,EAAE;EACnDC,IAAAA,+BAAsB,CAACF,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,CAAC;EACvD,EAAA;IAEAd,UAAUA,CAACJ,MAAM,EAAE;MACjBA,MAAM,GAAG,IAAI,CAACoB,eAAe,CAACpB,MAAM,EAAE,IAAI,CAACE,QAAQ,CAAC;EACpDF,IAAAA,MAAM,GAAG,IAAI,CAACqB,iBAAiB,CAACrB,MAAM,CAAC;EACvC,IAAA,IAAI,CAACsB,gBAAgB,CAACtB,MAAM,CAAC;EAC7B,IAAA,OAAOA,MAAM;EACf,EAAA;;EAEA;IACA,OAAOuB,WAAWA,CAACxB,OAAO,EAAE;EAC1B,IAAA,OAAOM,IAAI,CAACmB,GAAG,CAACvB,mBAAU,CAACF,OAAO,CAAC,EAAE,IAAI,CAACQ,QAAQ,CAAC;EACrD,EAAA;IAEA,OAAOkB,mBAAmBA,CAAC1B,OAAO,EAAEC,MAAM,GAAG,EAAE,EAAE;MAC/C,OAAO,IAAI,CAACuB,WAAW,CAACxB,OAAO,CAAC,IAAI,IAAI,IAAI,CAACA,OAAO,EAAE,OAAOC,MAAM,KAAK,QAAQ,GAAGA,MAAM,GAAG,IAAI,CAAC;EACnG,EAAA;IAEA,WAAWL,OAAOA,GAAG;EACnB,IAAA,OAAOA,OAAO;EAChB,EAAA;IAEA,WAAWY,QAAQA,GAAG;EACpB,IAAA,OAAO,CAAA,OAAA,EAAU,IAAI,CAACmB,IAAI,CAAA,CAAE;EAC9B,EAAA;IAEA,WAAWd,SAASA,GAAG;EACrB,IAAA,OAAO,CAAA,CAAA,EAAI,IAAI,CAACL,QAAQ,CAAA,CAAE;EAC5B,EAAA;IAEA,OAAOoB,SAASA,CAACC,IAAI,EAAE;EACrB,IAAA,OAAO,GAAGA,IAAI,CAAA,EAAG,IAAI,CAAChB,SAAS,CAAA,CAAE;EACnC,EAAA;EACF;;;;;;;;"}
package/js/dist/button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI button.js v5.4.2 (https://coreui.io)
2
+ * CoreUI button.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI carousel.js v5.4.2 (https://coreui.io)
2
+ * CoreUI carousel.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI collapse.js v5.4.2 (https://coreui.io)
2
+ * CoreUI collapse.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI data.js v5.4.2 (https://coreui.io)
2
+ * CoreUI data.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI event-handler.js v5.4.2 (https://coreui.io)
2
+ * CoreUI event-handler.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI manipulator.js v5.4.2 (https://coreui.io)
2
+ * CoreUI manipulator.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI selector-engine.js v5.4.2 (https://coreui.io)
2
+ * CoreUI selector-engine.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI dropdown.js v5.4.2 (https://coreui.io)
2
+ * CoreUI dropdown.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
package/js/dist/modal.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI modal.js v5.4.2 (https://coreui.io)
2
+ * CoreUI modal.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI navigation.js v5.4.2 (https://coreui.io)
2
+ * CoreUI navigation.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI offcanvas.js v5.4.2 (https://coreui.io)
2
+ * CoreUI offcanvas.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI popover.js v5.4.2 (https://coreui.io)
2
+ * CoreUI popover.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI scrollspy.js v5.4.2 (https://coreui.io)
2
+ * CoreUI scrollspy.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI sidebar.js v5.4.2 (https://coreui.io)
2
+ * CoreUI sidebar.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
package/js/dist/tab.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI tab.js v5.4.2 (https://coreui.io)
2
+ * CoreUI tab.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
package/js/dist/toast.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI toast.js v5.4.2 (https://coreui.io)
2
+ * CoreUI toast.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI tooltip.js v5.4.2 (https://coreui.io)
2
+ * CoreUI tooltip.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI backdrop.js v5.4.2 (https://coreui.io)
2
+ * CoreUI backdrop.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI component-functions.js v5.4.2 (https://coreui.io)
2
+ * CoreUI component-functions.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI config.js v5.4.2 (https://coreui.io)
2
+ * CoreUI config.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI focustrap.js v5.4.2 (https://coreui.io)
2
+ * CoreUI focustrap.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI index.js v5.4.2 (https://coreui.io)
2
+ * CoreUI index.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI sanitizer.js v5.4.2 (https://coreui.io)
2
+ * CoreUI sanitizer.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI scrollbar.js v5.4.2 (https://coreui.io)
2
+ * CoreUI scrollbar.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI swipe.js v5.4.2 (https://coreui.io)
2
+ * CoreUI swipe.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI template-factory.js v5.4.2 (https://coreui.io)
2
+ * CoreUI template-factory.js v5.5.0 (https://coreui.io)
3
3
  * Copyright 2025 The CoreUI Team (https://github.com/orgs/coreui/people)
4
4
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
5
5
  */
@@ -17,7 +17,7 @@ import { executeAfterTransition, getElement } from './util/index.js'
17
17
  * Constants
18
18
  */
19
19
 
20
- const VERSION = '5.4.2'
20
+ const VERSION = '5.5.0'
21
21
 
22
22
  /**
23
23
  * Class definition
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@coreui/coreui",
3
3
  "description": "The most popular front-end framework for developing responsive, mobile-first projects on the web rewritten and maintained by the CoreUI Team",
4
- "version": "5.4.2",
4
+ "version": "5.5.0",
5
5
  "config": {
6
- "version_short": "5.4"
6
+ "version_short": "5.5"
7
7
  },
8
8
  "keywords": [
9
9
  "css",
@@ -101,35 +101,36 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@babel/cli": "^7.28.3",
104
- "@babel/core": "^7.28.3",
105
- "@babel/preset-env": "^7.28.3",
106
- "@docsearch/js": "^3.9.0",
107
- "@eslint/markdown": "^7.1.0",
104
+ "@babel/core": "^7.28.5",
105
+ "@babel/preset-env": "^7.28.5",
106
+ "@docsearch/css": "^4.3.2",
107
+ "@docsearch/js": "^4.3.2",
108
+ "@eslint/markdown": "^7.5.1",
108
109
  "@popperjs/core": "^2.11.8",
109
- "@rollup/plugin-babel": "^6.0.4",
110
- "@rollup/plugin-commonjs": "^28.0.6",
111
- "@rollup/plugin-node-resolve": "^16.0.1",
112
- "@rollup/plugin-replace": "^6.0.2",
110
+ "@rollup/plugin-babel": "^6.1.0",
111
+ "@rollup/plugin-commonjs": "^29.0.0",
112
+ "@rollup/plugin-node-resolve": "^16.0.3",
113
+ "@rollup/plugin-replace": "^6.0.3",
113
114
  "@stackblitz/sdk": "^1.11.0",
114
- "autoprefixer": "^10.4.21",
115
- "bootstrap": "^5.3.7",
115
+ "autoprefixer": "^10.4.23",
116
+ "bootstrap": "^5.3.8",
116
117
  "bundlewatch": "^0.4.1",
117
118
  "clean-css-cli": "^5.6.3",
118
119
  "clipboard": "^2.0.11",
119
- "cross-env": "^10.0.0",
120
- "eslint": "^9.33.0",
121
- "eslint-config-xo": "0.48.0",
120
+ "cross-env": "^10.1.0",
121
+ "eslint": "^9.39.2",
122
+ "eslint-config-xo": "0.49.0",
122
123
  "eslint-plugin-html": "^8.1.3",
123
124
  "eslint-plugin-import": "^2.32.0",
124
- "eslint-plugin-unicorn": "^60.0.0",
125
- "find-unused-sass-variables": "^6.1.0",
126
- "globals": "^16.3.0",
127
- "globby": "^14.1.0",
125
+ "eslint-plugin-unicorn": "^62.0.0",
126
+ "find-unused-sass-variables": "^6.1.1",
127
+ "globals": "^16.5.0",
128
+ "globby": "^16.0.0",
128
129
  "hammer-simulator": "0.0.1",
129
130
  "html-entities": "^2.6.0",
130
- "hugo-bin": "^0.145.2",
131
+ "hugo-bin": "^0.149.2",
131
132
  "ip": "^2.0.1",
132
- "jasmine": "^5.9.0",
133
+ "jasmine": "^5.13.0",
133
134
  "jquery": "^3.7.1",
134
135
  "karma": "^6.4.4",
135
136
  "karma-browserstack-launcher": "1.6.0",
@@ -141,20 +142,21 @@
141
142
  "karma-jasmine-html-reporter": "^2.1.0",
142
143
  "karma-rollup-preprocessor": "7.0.8",
143
144
  "lockfile-lint": "^4.14.1",
144
- "nodemon": "^3.1.10",
145
+ "nodemon": "^3.1.11",
145
146
  "npm-run-all": "^4.1.5",
146
147
  "postcss": "^8.5.6",
147
148
  "postcss-cli": "^11.0.1",
148
149
  "postcss-combine-duplicated-selectors": "^10.0.3",
149
- "rollup": "^4.46.2",
150
+ "rimraf": "^6.1.2",
151
+ "rollup": "^4.53.5",
150
152
  "rollup-plugin-istanbul": "^5.0.0",
151
- "sass-embedded": "^1.90.0",
152
- "sass-true": "^9.0.0",
153
+ "sass-embedded": "^1.97.0",
154
+ "sass-true": "^10.1.0",
153
155
  "shelljs": "^0.10.0",
154
- "stylelint": "^16.23.1",
156
+ "stylelint": "^16.26.1",
155
157
  "stylelint-config-twbs-bootstrap": "^16.1.0",
156
- "terser": "5.43.1",
157
- "vnu-jar": "24.10.17"
158
+ "terser": "5.44.1",
159
+ "vnu-jar": "25.11.25"
158
160
  },
159
161
  "files": [
160
162
  "dist/{css,js}/**/*.{css,js,map}",
@@ -182,7 +184,6 @@
182
184
  }
183
185
  },
184
186
  "dependencies": {
185
- "html-entities": "^2.6.0",
186
- "html-to-md": "^0.8.8"
187
+ "html-entities": "^2.6.0"
187
188
  }
188
189
  }
package/scss/_banner.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  $file: "" !default;
2
2
 
3
3
  /*!
4
- * CoreUI #{$file} v5.4.2 (https://coreui.io)
4
+ * CoreUI #{$file} v5.5.0 (https://coreui.io)
5
5
  * Copyright (c) 2025 creativeLabs Łukasz Holeczek
6
6
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
7
7
  */
@@ -40,10 +40,11 @@
40
40
  line-height: var(--#{$prefix}btn-line-height);
41
41
  color: var(--#{$prefix}btn-color);
42
42
  text-align: center;
43
- text-decoration: if($link-decoration == none, null, none);
43
+ text-decoration: if(not sass($link-decoration == none): none);
44
44
  white-space: $btn-white-space;
45
45
  vertical-align: middle;
46
- cursor: if($enable-button-pointers, pointer, null);
46
+ // stylelint-disable-next-line scss/at-function-named-arguments
47
+ cursor: if(sass($enable-button-pointers): pointer);
47
48
  user-select: none;
48
49
  border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);
49
50
  @include border-radius(var(--#{$prefix}btn-border-radius));
@@ -53,7 +54,8 @@
53
54
 
54
55
  &:hover {
55
56
  color: var(--#{$prefix}btn-hover-color);
56
- text-decoration: if($link-hover-decoration == underline, none, null);
57
+ // stylelint-disable-next-line scss/at-function-named-arguments
58
+ text-decoration: if(sass($link-hover-decoration == underline): none);
57
59
  background-color: var(--#{$prefix}btn-hover-bg);
58
60
  border-color: var(--#{$prefix}btn-hover-border-color);
59
61
  }
@@ -97,7 +99,8 @@
97
99
  color: var(--#{$prefix}btn-active-color);
98
100
  background-color: var(--#{$prefix}btn-active-bg);
99
101
  // Remove CSS gradients if they're enabled
100
- background-image: if($enable-gradients, none, null);
102
+ // stylelint-disable-next-line scss/at-function-named-arguments
103
+ background-image: if(sass($enable-gradients): none);
101
104
  border-color: var(--#{$prefix}btn-active-border-color);
102
105
  @include box-shadow(var(--#{$prefix}btn-active-shadow));
103
106
 
@@ -126,7 +129,8 @@
126
129
  color: var(--#{$prefix}btn-disabled-color);
127
130
  pointer-events: none;
128
131
  background-color: var(--#{$prefix}btn-disabled-bg);
129
- background-image: if($enable-gradients, none, null);
132
+ // stylelint-disable-next-line scss/at-function-named-arguments
133
+ background-image: if(sass($enable-gradients): none);
130
134
  border-color: var(--#{$prefix}btn-disabled-border-color);
131
135
  opacity: var(--#{$prefix}btn-disabled-opacity);
132
136
  @include box-shadow(none);
package/scss/_card.scss CHANGED
@@ -96,7 +96,8 @@
96
96
 
97
97
  .card-link {
98
98
  &:hover {
99
- text-decoration: if($link-hover-decoration == underline, none, null);
99
+ // stylelint-disable-next-line scss/at-function-named-arguments
100
+ text-decoration: if(sass($link-hover-decoration == underline): none);
100
101
  }
101
102
 
102
103
  + .card-link {
@@ -123,11 +123,13 @@
123
123
  }
124
124
  .carousel-control-prev {
125
125
  left: 0;
126
- background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null);
126
+ // stylelint-disable-next-line scss/at-function-named-arguments
127
+ background-image: if(sass($enable-gradients): linear-gradient(90deg, rgba($black, .25), rgba($black, .001)));
127
128
  }
128
129
  .carousel-control-next {
129
130
  right: 0;
130
- background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null);
131
+ // stylelint-disable-next-line scss/at-function-named-arguments
132
+ background-image: if(sass($enable-gradients): linear-gradient(270deg, rgba($black, .25), rgba($black, .001)));
131
133
  }
132
134
 
133
135
  // Icons for within
@@ -189,7 +189,7 @@
189
189
  font-weight: $font-weight-normal;
190
190
  color: var(--#{$prefix}dropdown-link-color);
191
191
  text-align: inherit; // For `<button>`s
192
- text-decoration: if($link-decoration == none, null, none);
192
+ text-decoration: if(not sass($link-decoration == none): none);
193
193
  white-space: nowrap; // prevent links from randomly breaking onto new lines
194
194
  background-color: transparent; // For `<button>`s
195
195
  border: 0; // For `<button>`s
@@ -198,7 +198,8 @@
198
198
  &:hover,
199
199
  &:focus {
200
200
  color: var(--#{$prefix}dropdown-link-hover-color);
201
- text-decoration: if($link-hover-decoration == underline, none, null);
201
+ // stylelint-disable-next-line scss/at-function-named-arguments
202
+ text-decoration: if(sass($link-hover-decoration == underline): none);
202
203
  @include gradient-bg(var(--#{$prefix}dropdown-link-hover-bg));
203
204
  }
204
205
 
@@ -215,7 +216,8 @@
215
216
  pointer-events: none;
216
217
  background-color: transparent;
217
218
  // Remove CSS gradients if they're enabled
218
- background-image: if($enable-gradients, none, null);
219
+ // stylelint-disable-next-line scss/at-function-named-arguments
220
+ background-image: if(sass($enable-gradients): none);
219
221
  }
220
222
  }
221
223
 
package/scss/_header.scss CHANGED
@@ -89,13 +89,14 @@
89
89
  margin-inline-end: $header-brand-margin-end;
90
90
  @include font-size($header-brand-font-size);
91
91
  color: var(--#{$prefix}header-brand-color);
92
- text-decoration: if($link-decoration == none, null, none);
92
+ text-decoration: if(not sass($link-decoration == none): none);
93
93
  white-space: nowrap;
94
94
 
95
95
  &:hover,
96
96
  &:focus {
97
97
  color: var(--#{$prefix}header-brand-hover-color);
98
- text-decoration: if($link-hover-decoration == underline, none, null);
98
+ // stylelint-disable-next-line scss/at-function-named-arguments
99
+ text-decoration: if(sass($link-hover-decoration == underline): none);
99
100
  }
100
101
  }
101
102
 
@@ -57,7 +57,7 @@
57
57
  display: block;
58
58
  padding: var(--#{$prefix}list-group-item-padding-y) var(--#{$prefix}list-group-item-padding-x);
59
59
  color: var(--#{$prefix}list-group-color);
60
- text-decoration: if($link-decoration == none, null, none);
60
+ text-decoration: if(not sass($link-decoration == none): none);
61
61
  background-color: var(--#{$prefix}list-group-bg);
62
62
  border: var(--#{$prefix}list-group-border-width) solid var(--#{$prefix}list-group-border-color);
63
63
 
package/scss/_maps.scss CHANGED
@@ -181,6 +181,7 @@ $utilities-border-subtle: (
181
181
 
182
182
  $utilities-links-underline: map-loop($utilities-colors, rgba-css-var, "$prefix", "$key", "link-underline") !default;
183
183
 
184
- $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
184
+ // stylelint-disable-next-line scss/at-function-named-arguments
185
+ $negative-spacers: if(sass($enable-negative-margins): negativify-map($spacers)) !default;
185
186
 
186
187
  $gutters: $spacers !default;
package/scss/_modal.scss CHANGED
@@ -217,7 +217,8 @@
217
217
  // scss-docs-start modal-fullscreen-loop
218
218
  @each $breakpoint in map.keys($grid-breakpoints) {
219
219
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
220
- $postfix: if($infix != "", $infix + "-down", "");
220
+ // stylelint-disable-next-line scss/at-function-named-arguments
221
+ $postfix: if(sass($infix != ""): $infix + "-down"; else: "");
221
222
 
222
223
  @include media-breakpoint-down($breakpoint) {
223
224
  .modal-fullscreen#{$postfix} {
package/scss/_nav.scss CHANGED
@@ -33,7 +33,7 @@
33
33
  @include font-size(var(--#{$prefix}nav-link-font-size));
34
34
  font-weight: var(--#{$prefix}nav-link-font-weight);
35
35
  color: var(--#{$prefix}nav-link-color);
36
- text-decoration: if($link-decoration == none, null, none);
36
+ text-decoration: if(not sass($link-decoration == none): none);
37
37
  background: none;
38
38
  border: 0;
39
39
  @include transition($nav-link-transition);
@@ -41,7 +41,8 @@
41
41
  &:hover,
42
42
  &:focus {
43
43
  color: var(--#{$prefix}nav-link-hover-color);
44
- text-decoration: if($link-hover-decoration == underline, none, null);
44
+ // stylelint-disable-next-line scss/at-function-named-arguments
45
+ text-decoration: if(sass($link-hover-decoration == underline): none);
45
46
  }
46
47
 
47
48
  &:focus-visible {
package/scss/_navbar.scss CHANGED
@@ -17,7 +17,8 @@
17
17
 
18
18
  .navbar {
19
19
  // scss-docs-start navbar-css-vars
20
- --#{$prefix}navbar-padding-x: #{if($navbar-padding-x == null, 0, $navbar-padding-x)};
20
+ // stylelint-disable-next-line scss/at-function-named-arguments
21
+ --#{$prefix}navbar-padding-x: #{if(sass($navbar-padding-x == null): 0; else: $navbar-padding-x)};
21
22
  --#{$prefix}navbar-padding-y: #{$navbar-padding-y};
22
23
  --#{$prefix}navbar-color: #{$navbar-light-color};
23
24
  --#{$prefix}navbar-hover-color: #{$navbar-light-hover-color};
@@ -80,13 +81,14 @@
80
81
  margin-inline-end: var(--#{$prefix}navbar-brand-margin-end);
81
82
  @include font-size(var(--#{$prefix}navbar-brand-font-size));
82
83
  color: var(--#{$prefix}navbar-brand-color);
83
- text-decoration: if($link-decoration == none, null, none);
84
+ text-decoration: if(not sass($link-decoration == none): none);
84
85
  white-space: nowrap;
85
86
 
86
87
  &:hover,
87
88
  &:focus {
88
89
  color: var(--#{$prefix}navbar-brand-hover-color);
89
- text-decoration: if($link-hover-decoration == underline, none, null);
90
+ // stylelint-disable-next-line scss/at-function-named-arguments
91
+ text-decoration: if(sass($link-hover-decoration == underline): none);
90
92
  }
91
93
  }
92
94
 
@@ -40,7 +40,7 @@
40
40
  padding: var(--#{$prefix}pagination-padding-y) var(--#{$prefix}pagination-padding-x);
41
41
  @include font-size(var(--#{$prefix}pagination-font-size));
42
42
  color: var(--#{$prefix}pagination-color);
43
- text-decoration: if($link-decoration == none, null, none);
43
+ text-decoration: if(not sass($link-decoration == none): none);
44
44
  background-color: var(--#{$prefix}pagination-bg);
45
45
  border: var(--#{$prefix}pagination-border-width) solid var(--#{$prefix}pagination-border-color);
46
46
  @include transition($pagination-transition);
@@ -48,7 +48,8 @@
48
48
  &:hover {
49
49
  z-index: 2;
50
50
  color: var(--#{$prefix}pagination-hover-color);
51
- text-decoration: if($link-hover-decoration == underline, none, null);
51
+ // stylelint-disable-next-line scss/at-function-named-arguments
52
+ text-decoration: if(sass($link-hover-decoration == underline): none);
52
53
  background-color: var(--#{$prefix}pagination-hover-bg);
53
54
  border-color: var(--#{$prefix}pagination-hover-border-color);
54
55
  }
package/scss/_reboot.scss CHANGED
@@ -537,6 +537,12 @@ legend {
537
537
  [type="search"] {
538
538
  -webkit-appearance: textfield; // 1
539
539
  outline-offset: -2px; // 2
540
+
541
+ // 3. Better affordance and consistent appearance for search cancel button
542
+ &::-webkit-search-cancel-button {
543
+ cursor: pointer;
544
+ filter: grayscale(1);
545
+ }
540
546
  }
541
547
 
542
548
  // 1. A few input types should stay LTR