@coreui/coreui 5.0.0-alpha.3 → 5.0.0-beta.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 (82) hide show
  1. package/README.md +1 -1
  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 +1 -1
  11. package/dist/css/coreui-reboot.css.map +1 -1
  12. package/dist/css/coreui-reboot.min.css +1 -1
  13. package/dist/css/coreui-reboot.min.css.map +1 -1
  14. package/dist/css/coreui-reboot.rtl.css +1 -1
  15. package/dist/css/coreui-reboot.rtl.css.map +1 -1
  16. package/dist/css/coreui-reboot.rtl.min.css +1 -1
  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 +10 -11
  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 +10 -11
  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/js/coreui.bundle.js +2 -2
  35. package/dist/js/coreui.bundle.js.map +1 -1
  36. package/dist/js/coreui.bundle.min.js +2 -2
  37. package/dist/js/coreui.bundle.min.js.map +1 -1
  38. package/dist/js/coreui.esm.js +2 -2
  39. package/dist/js/coreui.esm.js.map +1 -1
  40. package/dist/js/coreui.esm.min.js +2 -2
  41. package/dist/js/coreui.esm.min.js.map +1 -1
  42. package/dist/js/coreui.js +2 -2
  43. package/dist/js/coreui.js.map +1 -1
  44. package/dist/js/coreui.min.js +2 -2
  45. package/dist/js/coreui.min.js.map +1 -1
  46. package/js/dist/alert.js +1 -1
  47. package/js/dist/base-component.js +2 -2
  48. package/js/dist/base-component.js.map +1 -1
  49. package/js/dist/button.js +1 -1
  50. package/js/dist/carousel.js +1 -1
  51. package/js/dist/collapse.js +1 -1
  52. package/js/dist/dom/data.js +1 -1
  53. package/js/dist/dom/event-handler.js +1 -1
  54. package/js/dist/dom/manipulator.js +1 -1
  55. package/js/dist/dom/selector-engine.js +1 -1
  56. package/js/dist/dropdown.js +1 -1
  57. package/js/dist/modal.js +1 -1
  58. package/js/dist/navigation.js +1 -1
  59. package/js/dist/offcanvas.js +1 -1
  60. package/js/dist/popover.js +1 -1
  61. package/js/dist/scrollspy.js +1 -1
  62. package/js/dist/sidebar.js +1 -1
  63. package/js/dist/tab.js +1 -1
  64. package/js/dist/toast.js +1 -1
  65. package/js/dist/tooltip.js +1 -1
  66. package/js/dist/util/backdrop.js +1 -1
  67. package/js/dist/util/component-functions.js +1 -1
  68. package/js/dist/util/config.js +1 -1
  69. package/js/dist/util/focustrap.js +1 -1
  70. package/js/dist/util/index.js +1 -1
  71. package/js/dist/util/sanitizer.js +1 -1
  72. package/js/dist/util/scrollbar.js +1 -1
  73. package/js/dist/util/swipe.js +1 -1
  74. package/js/dist/util/template-factory.js +1 -1
  75. package/js/src/base-component.js +1 -1
  76. package/package.json +15 -15
  77. package/scss/_header.scss +1 -1
  78. package/scss/_variables.scss +6 -4
  79. package/scss/mixins/_banner.scss +1 -1
  80. package/scss/sidebar/_sidebar-narrow.scss +0 -3
  81. package/scss/sidebar/_sidebar-nav.scss +1 -1
  82. package/scss/sidebar/_sidebar.scss +8 -3
package/js/dist/alert.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI alert.js v5.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI alert.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI base-component.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3';
27
+ const VERSION = '5.0.0-beta.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.0.0-alpha.3'\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 _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,eAAe,CAAA;;EAE/B;EACA;EACA;;EAEA,MAAMC,aAAa,SAASC,MAAM,CAAC;EACjCC,EAAAA,WAAWA,CAACC,OAAO,EAAEC,MAAM,EAAE;EAC3B,IAAA,KAAK,EAAE,CAAA;EAEPD,IAAAA,OAAO,GAAGE,mBAAU,CAACF,OAAO,CAAC,CAAA;MAC7B,IAAI,CAACA,OAAO,EAAE;EACZ,MAAA,OAAA;EACF,KAAA;MAEA,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EAAE,IAAI,CAACQ,QAAQ,CAAC,CAAA;EACrD,GAAA;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,CAAA;EACnG,GAAA;IAEA,WAAWL,OAAOA,GAAG;EACnB,IAAA,OAAOA,OAAO,CAAA;EAChB,GAAA;IAEA,WAAWY,QAAQA,GAAG;EACpB,IAAA,OAAQ,CAAS,OAAA,EAAA,IAAI,CAACmB,IAAK,CAAC,CAAA,CAAA;EAC9B,GAAA;IAEA,WAAWd,SAASA,GAAG;EACrB,IAAA,OAAQ,CAAG,CAAA,EAAA,IAAI,CAACL,QAAS,CAAC,CAAA,CAAA;EAC5B,GAAA;IAEA,OAAOoB,SAASA,CAACC,IAAI,EAAE;EACrB,IAAA,OAAQ,GAAEA,IAAK,CAAA,EAAE,IAAI,CAAChB,SAAU,CAAC,CAAA,CAAA;EACnC,GAAA;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.0.0-beta.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 _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,cAAc,CAAA;;EAE9B;EACA;EACA;;EAEA,MAAMC,aAAa,SAASC,MAAM,CAAC;EACjCC,EAAAA,WAAWA,CAACC,OAAO,EAAEC,MAAM,EAAE;EAC3B,IAAA,KAAK,EAAE,CAAA;EAEPD,IAAAA,OAAO,GAAGE,mBAAU,CAACF,OAAO,CAAC,CAAA;MAC7B,IAAI,CAACA,OAAO,EAAE;EACZ,MAAA,OAAA;EACF,KAAA;MAEA,IAAI,CAACG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,CAACQ,QAAQ,CAAC,CAAA;EACrD,GAAA;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,CAAA;EACnG,GAAA;IAEA,WAAWL,OAAOA,GAAG;EACnB,IAAA,OAAOA,OAAO,CAAA;EAChB,GAAA;IAEA,WAAWY,QAAQA,GAAG;EACpB,IAAA,OAAQ,CAAS,OAAA,EAAA,IAAI,CAACmB,IAAK,CAAC,CAAA,CAAA;EAC9B,GAAA;IAEA,WAAWd,SAASA,GAAG;EACrB,IAAA,OAAQ,CAAG,CAAA,EAAA,IAAI,CAACL,QAAS,CAAC,CAAA,CAAA;EAC5B,GAAA;IAEA,OAAOoB,SAASA,CAACC,IAAI,EAAE;EACrB,IAAA,OAAQ,GAAEA,IAAK,CAAA,EAAE,IAAI,CAAChB,SAAU,CAAC,CAAA,CAAA;EACnC,GAAA;EACF;;;;;;;;"}
package/js/dist/button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI button.js v5.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI button.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI carousel.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI collapse.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI data.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI event-handler.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI manipulator.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI selector-engine.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI dropdown.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI modal.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI navigation.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI offcanvas.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI popover.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI scrollspy.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI sidebar.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI tab.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI toast.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI tooltip.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI backdrop.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI component-functions.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI config.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI focustrap.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI index.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI sanitizer.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI scrollbar.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI swipe.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3 (https://coreui.io)
2
+ * CoreUI template-factory.js v5.0.0-beta.0 (https://coreui.io)
3
3
  * Copyright 2023 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.0.0-alpha.3'
20
+ const VERSION = '5.0.0-beta.0'
21
21
 
22
22
  /**
23
23
  * Class definition
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.0.0-alpha.3",
4
+ "version": "5.0.0-beta.0",
5
5
  "config": {
6
6
  "version_short": "5.0"
7
7
  },
@@ -94,27 +94,27 @@
94
94
  },
95
95
  "devDependencies": {
96
96
  "@babel/cli": "^7.23.0",
97
- "@babel/core": "^7.23.0",
98
- "@babel/preset-env": "^7.22.20",
97
+ "@babel/core": "^7.23.2",
98
+ "@babel/preset-env": "^7.23.2",
99
99
  "@popperjs/core": "^2.11.8",
100
- "@rollup/plugin-babel": "^6.0.3",
101
- "@rollup/plugin-commonjs": "^25.0.4",
102
- "@rollup/plugin-node-resolve": "^15.2.1",
103
- "@rollup/plugin-replace": "^5.0.2",
100
+ "@rollup/plugin-babel": "^6.0.4",
101
+ "@rollup/plugin-commonjs": "^25.0.7",
102
+ "@rollup/plugin-node-resolve": "^15.2.3",
103
+ "@rollup/plugin-replace": "^5.0.4",
104
104
  "autoprefixer": "^10.4.16",
105
105
  "bundlewatch": "^0.3.3",
106
106
  "clean-css-cli": "^5.6.2",
107
107
  "cross-env": "^7.0.3",
108
- "eslint": "^8.50.0",
108
+ "eslint": "^8.52.0",
109
109
  "eslint-config-xo": "^0.43.1",
110
110
  "eslint-plugin-html": "^7.1.0",
111
- "eslint-plugin-import": "^2.28.1",
111
+ "eslint-plugin-import": "^2.29.0",
112
112
  "eslint-plugin-markdown": "^3.0.1",
113
113
  "eslint-plugin-unicorn": "^48.0.1",
114
114
  "find-unused-sass-variables": "^5.0.0",
115
115
  "globby": "^11.1.0",
116
116
  "hammer-simulator": "0.0.1",
117
- "hugo-bin": "^0.114.2",
117
+ "hugo-bin": "^0.115.0",
118
118
  "ip": "^2.0.0",
119
119
  "jasmine": "^4.6.0",
120
120
  "jquery": "^3.7.1",
@@ -130,18 +130,18 @@
130
130
  "lockfile-lint": "^4.12.1",
131
131
  "nodemon": "^3.0.1",
132
132
  "npm-run-all": "^4.1.5",
133
- "postcss": "^8.4.30",
133
+ "postcss": "^8.4.31",
134
134
  "postcss-cli": "^10.1.0",
135
135
  "postcss-combine-duplicated-selectors": "^10.0.3",
136
- "rollup": "^3.29.3",
136
+ "rollup": "^3.29.4",
137
137
  "rollup-plugin-istanbul": "^4.0.0",
138
138
  "rtlcss": "^4.1.1",
139
- "sass": "^1.68.0",
139
+ "sass": "^1.69.4",
140
140
  "sass-true": "^7.0.0",
141
141
  "shelljs": "^0.8.5",
142
- "stylelint": "^15.10.3",
142
+ "stylelint": "^15.11.0",
143
143
  "stylelint-config-twbs-bootstrap": "^11.0.1",
144
- "terser": "5.20.0",
144
+ "terser": "5.22.0",
145
145
  "vnu-jar": "23.4.11"
146
146
  },
147
147
  "files": [
package/scss/_header.scss CHANGED
@@ -63,7 +63,7 @@
63
63
  &.header-sticky {
64
64
  position: sticky;
65
65
  top: 0;
66
- z-index: $zindex-fixed - 1;
66
+ z-index: $zindex-sticky;
67
67
  }
68
68
  }
69
69
 
@@ -1195,10 +1195,10 @@ $form-validation-states: (
1195
1195
  $zindex-dropdown: 1000 !default;
1196
1196
  $zindex-sticky: 1020 !default;
1197
1197
  $zindex-fixed: 1030 !default;
1198
+ $zindex-sidebar-backdrop: 1034 !default;
1199
+ $zindex-sidebar: 1035 !default;
1198
1200
  $zindex-offcanvas-backdrop: 1040 !default;
1199
- $zindex-sidebar-backdrop: 1040 !default;
1200
1201
  $zindex-offcanvas: 1045 !default;
1201
- $zindex-sidebar-overlaid: 1045 !default;
1202
1202
  $zindex-modal-backdrop: 1050 !default;
1203
1203
  $zindex-modal: 1055 !default;
1204
1204
  $zindex-popover: 1070 !default;
@@ -1659,7 +1659,7 @@ $callout-margin-x: 0 !default;
1659
1659
  $callout-border-radius: var(--#{$prefix}border-radius) !default;
1660
1660
  $callout-border-width: var(--#{$prefix}border-width) !default;
1661
1661
  $callout-border-color: var(--#{$prefix}border-color) !default;
1662
- $callout-border-left-width: calc($callout-border-width * 4) !default; // stylelint-disable-line function-disallowed-list
1662
+ $callout-border-left-width: calc(#{$callout-border-width} * 4) !default; // stylelint-disable-line function-disallowed-list
1663
1663
 
1664
1664
  $callout-variants: (
1665
1665
  "primary": $primary,
@@ -1878,8 +1878,10 @@ $sidebar-nav-link-border-color: transparent !default;
1878
1878
  $sidebar-nav-link-border-radius: var(--#{$prefix}border-radius) !default;
1879
1879
  $sidebar-nav-link-transition: background .15s ease, color .15s ease, gap .15s ease !default;
1880
1880
 
1881
+ $sidebar-compact-nav-link-padding-y: .75rem !default;
1882
+
1881
1883
  $sidebar-narrow-nav-link-padding-y: .75rem !default;
1882
- $sidebar-narrow-nav-link-padding-x: .5rem !default;
1884
+ $sidebar-narrow-nav-link-padding-x: .5625rem !default;
1883
1885
 
1884
1886
  $sidebar-nav-link-icon-margin: .75rem !default;
1885
1887
  $sidebar-nav-link-icon-color: var(--#{$prefix}tertiary-color) !default;
@@ -1,6 +1,6 @@
1
1
  @mixin bsBanner($file) {
2
2
  /*!
3
- * CoreUI #{$file} v5.0.0-alpha.3 (https://coreui.io)
3
+ * CoreUI #{$file} v5.0.0-beta.0 (https://coreui.io)
4
4
  * Copyright (c) 2023 creativeLabs Łukasz Holeczek
5
5
  * Licensed under MIT (https://github.com/coreui/coreui/blob/main/LICENSE)
6
6
  */
@@ -9,14 +9,12 @@
9
9
  }
10
10
 
11
11
  @include media-breakpoint-up($mobile-breakpoint) {
12
- z-index: $zindex-fixed + 1;
13
12
  flex: 0 0 var(--#{$prefix}sidebar-narrow-width);
14
13
  width: var(--#{$prefix}sidebar-narrow-width);
15
14
  padding-bottom: var(--#{$prefix}sidebar-toggler-height);
16
15
  overflow: visible;
17
16
 
18
17
  &.sidebar-fixed {
19
- z-index: $zindex-fixed + 1;
20
18
  width: var(--#{$prefix}sidebar-narrow-width);
21
19
  }
22
20
 
@@ -77,7 +75,6 @@
77
75
 
78
76
  .sidebar-narrow-unfoldable {
79
77
  position: fixed;
80
- z-index: $zindex-fixed + 1;
81
78
 
82
79
  &:not(.sidebar-end) ~ * {
83
80
  --#{$prefix}sidebar-occupy-start: #{$sidebar-narrow-width};
@@ -261,7 +261,7 @@
261
261
  &.compact,
262
262
  .compact {
263
263
  .nav-link {
264
- --#{$prefix}sidebar-nav-link-padding-y: #{calc($sidebar-nav-link-padding-y * .75)};
264
+ --#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-compact-nav-link-padding-y};
265
265
  }
266
266
  }
267
267
  }
@@ -2,6 +2,7 @@
2
2
 
3
3
  .sidebar {
4
4
  // scss-docs-start sidebar-css-vars
5
+ --#{$prefix}sidebar-zindex: #{$zindex-sidebar};
5
6
  --#{$prefix}sidebar-width: #{$sidebar-width};
6
7
  --#{$prefix}sidebar-bg: #{$sidebar-bg};
7
8
  --#{$prefix}sidebar-padding-x: #{$sidebar-padding-x};
@@ -9,7 +10,6 @@
9
10
  --#{$prefix}sidebar-color: #{$sidebar-color};
10
11
  --#{$prefix}sidebar-brand-color: #{$sidebar-brand-color};
11
12
  --#{$prefix}sidebar-brand-bg: #{$sidebar-brand-bg};
12
- --#{$prefix}sidebar-overlaid-zindex: #{$zindex-sidebar-overlaid};
13
13
  // scss-docs-end sidebar-css-vars
14
14
 
15
15
  position: relative;
@@ -25,6 +25,12 @@
25
25
  box-shadow: none;
26
26
  @include transition($sidebar-transition);
27
27
 
28
+ &.sidebar-fixed,
29
+ &.sidebar-narrow,
30
+ &.sidebar-narrow-unfoldable {
31
+ z-index: var(--#{$prefix}sidebar-zindex);
32
+ }
33
+
28
34
  &:not(.sidebar-end){
29
35
  @include ltr-rtl("margin-left", 0);
30
36
  ~ * {
@@ -103,7 +109,6 @@
103
109
  position: fixed;
104
110
  top: 0;
105
111
  bottom: 0;
106
- z-index: var(--#{$prefix}sidebar-overlaid-zindex);
107
112
 
108
113
  &:not(.hide) {
109
114
  box-shadow: $box-shadow;
@@ -130,7 +135,7 @@
130
135
  position: fixed;
131
136
  top: 0;
132
137
  bottom: 0;
133
- z-index: var(--#{$prefix}sidebar-overlaid-zindex);
138
+ z-index: var(--#{$prefix}sidebar-zindex);
134
139
 
135
140
  &:not(.sidebar-end) {
136
141
  @include ltr-rtl("left", 0);