@coreui/coreui 5.0.0-beta.2 → 5.0.0-rc.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.
- package/README.md +1 -1
- package/dist/css/coreui-grid.css +1 -1
- package/dist/css/coreui-grid.css.map +1 -1
- package/dist/css/coreui-grid.min.css +1 -1
- package/dist/css/coreui-grid.min.css.map +1 -1
- package/dist/css/coreui-grid.rtl.css +1 -1
- package/dist/css/coreui-grid.rtl.css.map +1 -1
- package/dist/css/coreui-grid.rtl.min.css +1 -1
- package/dist/css/coreui-grid.rtl.min.css.map +1 -1
- package/dist/css/coreui-reboot.css +1 -1
- package/dist/css/coreui-reboot.css.map +1 -1
- package/dist/css/coreui-reboot.min.css +1 -1
- package/dist/css/coreui-reboot.min.css.map +1 -1
- package/dist/css/coreui-reboot.rtl.css +2 -2
- package/dist/css/coreui-reboot.rtl.css.map +1 -1
- package/dist/css/coreui-reboot.rtl.min.css +2 -2
- package/dist/css/coreui-reboot.rtl.min.css.map +1 -1
- package/dist/css/coreui-utilities.css +1 -1
- package/dist/css/coreui-utilities.css.map +1 -1
- package/dist/css/coreui-utilities.min.css +1 -1
- package/dist/css/coreui-utilities.min.css.map +1 -1
- package/dist/css/coreui-utilities.rtl.css +9 -9
- package/dist/css/coreui-utilities.rtl.css.map +1 -1
- package/dist/css/coreui-utilities.rtl.min.css +2 -2
- package/dist/css/coreui-utilities.rtl.min.css.map +1 -1
- package/dist/css/coreui.css +16 -16
- package/dist/css/coreui.css.map +1 -1
- package/dist/css/coreui.min.css +2 -2
- package/dist/css/coreui.min.css.map +1 -1
- package/dist/css/coreui.rtl.css +32 -29
- package/dist/css/coreui.rtl.css.map +1 -1
- package/dist/css/coreui.rtl.min.css +2 -2
- package/dist/css/coreui.rtl.min.css.map +1 -1
- package/dist/js/coreui.bundle.js +2 -2
- package/dist/js/coreui.bundle.js.map +1 -1
- package/dist/js/coreui.bundle.min.js +2 -2
- package/dist/js/coreui.bundle.min.js.map +1 -1
- package/dist/js/coreui.esm.js +2 -2
- package/dist/js/coreui.esm.js.map +1 -1
- package/dist/js/coreui.esm.min.js +2 -2
- package/dist/js/coreui.esm.min.js.map +1 -1
- package/dist/js/coreui.js +2 -2
- package/dist/js/coreui.js.map +1 -1
- package/dist/js/coreui.min.js +2 -2
- package/dist/js/coreui.min.js.map +1 -1
- package/js/dist/alert.js +1 -1
- package/js/dist/base-component.js +2 -2
- package/js/dist/base-component.js.map +1 -1
- package/js/dist/button.js +1 -1
- package/js/dist/carousel.js +1 -1
- package/js/dist/collapse.js +1 -1
- package/js/dist/dom/data.js +1 -1
- package/js/dist/dom/event-handler.js +1 -1
- package/js/dist/dom/manipulator.js +1 -1
- package/js/dist/dom/selector-engine.js +1 -1
- package/js/dist/dropdown.js +1 -1
- package/js/dist/modal.js +1 -1
- package/js/dist/navigation.js +1 -1
- package/js/dist/offcanvas.js +1 -1
- package/js/dist/popover.js +1 -1
- package/js/dist/scrollspy.js +1 -1
- package/js/dist/sidebar.js +1 -1
- package/js/dist/tab.js +1 -1
- package/js/dist/toast.js +1 -1
- package/js/dist/tooltip.js +1 -1
- package/js/dist/util/backdrop.js +1 -1
- package/js/dist/util/component-functions.js +1 -1
- package/js/dist/util/config.js +1 -1
- package/js/dist/util/focustrap.js +1 -1
- package/js/dist/util/index.js +1 -1
- package/js/dist/util/sanitizer.js +1 -1
- package/js/dist/util/scrollbar.js +1 -1
- package/js/dist/util/swipe.js +1 -1
- package/js/dist/util/template-factory.js +1 -1
- package/js/src/base-component.js +1 -1
- package/package.json +7 -7
- package/scss/_accordion.scss +1 -1
- package/scss/_dropdown.scss +1 -1
- package/scss/_reboot.scss +1 -1
- package/scss/_utilities.scss +8 -5
- package/scss/_variables.scss +15 -15
- package/scss/mixins/_banner.scss +1 -1
- package/scss/mixins/_reset-text.scss +1 -1
- package/scss/mixins/_utilities.scss +5 -2
- package/scss/sidebar/_sidebar-narrow.scss +8 -8
- package/scss/sidebar/_sidebar.scss +8 -6
package/js/dist/alert.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI base-component.js v5.0.0-
|
|
2
|
+
* CoreUI base-component.js v5.0.0-rc.1 (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-
|
|
27
|
+
const VERSION = '5.0.0-rc.1';
|
|
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-
|
|
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-rc.1'\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,YAAY,CAAA;;EAE5B;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,QAAQ,GAAGH,OAAO,CAAA;MACvB,IAAI,CAACI,OAAO,GAAG,IAAI,CAACC,UAAU,CAACJ,MAAM,CAAC,CAAA;EAEtCK,IAAAA,IAAI,CAACC,GAAG,CAAC,IAAI,CAACJ,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,EAAE,IAAI,CAAC,CAAA;EAC1D,GAAA;;EAEA;EACAC,EAAAA,OAAOA,GAAG;EACRH,IAAAA,IAAI,CAACI,MAAM,CAAC,IAAI,CAACP,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACS,QAAQ,CAAC,CAAA;EACrDG,IAAAA,YAAY,CAACC,GAAG,CAAC,IAAI,CAACT,QAAQ,EAAE,IAAI,CAACJ,WAAW,CAACc,SAAS,CAAC,CAAA;MAE3D,KAAK,MAAMC,YAAY,IAAIC,MAAM,CAACC,mBAAmB,CAAC,IAAI,CAAC,EAAE;EAC3D,MAAA,IAAI,CAACF,YAAY,CAAC,GAAG,IAAI,CAAA;EAC3B,KAAA;EACF,GAAA;IAEAG,cAAcA,CAACC,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,GAAG,IAAI,EAAE;EACnDC,IAAAA,+BAAsB,CAACF,QAAQ,EAAElB,OAAO,EAAEmB,UAAU,CAAC,CAAA;EACvD,GAAA;IAEAd,UAAUA,CAACJ,MAAM,EAAE;MACjBA,MAAM,GAAG,IAAI,CAACoB,eAAe,CAACpB,MAAM,EAAE,IAAI,CAACE,QAAQ,CAAC,CAAA;EACpDF,IAAAA,MAAM,GAAG,IAAI,CAACqB,iBAAiB,CAACrB,MAAM,CAAC,CAAA;EACvC,IAAA,IAAI,CAACsB,gBAAgB,CAACtB,MAAM,CAAC,CAAA;EAC7B,IAAA,OAAOA,MAAM,CAAA;EACf,GAAA;;EAEA;IACA,OAAOuB,WAAWA,CAACxB,OAAO,EAAE;EAC1B,IAAA,OAAOM,IAAI,CAACmB,GAAG,CAACvB,mBAAU,CAACF,OAAO,CAAC,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;;;;;;;;"}
|
package/js/dist/button.js
CHANGED
package/js/dist/carousel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI carousel.js v5.0.0-
|
|
2
|
+
* CoreUI carousel.js v5.0.0-rc.1 (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/collapse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI collapse.js v5.0.0-
|
|
2
|
+
* CoreUI collapse.js v5.0.0-rc.1 (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/dom/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI event-handler.js v5.0.0-
|
|
2
|
+
* CoreUI event-handler.js v5.0.0-rc.1 (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-
|
|
2
|
+
* CoreUI manipulator.js v5.0.0-rc.1 (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-
|
|
2
|
+
* CoreUI selector-engine.js v5.0.0-rc.1 (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/dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI dropdown.js v5.0.0-
|
|
2
|
+
* CoreUI dropdown.js v5.0.0-rc.1 (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
package/js/dist/navigation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI navigation.js v5.0.0-
|
|
2
|
+
* CoreUI navigation.js v5.0.0-rc.1 (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/offcanvas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI offcanvas.js v5.0.0-
|
|
2
|
+
* CoreUI offcanvas.js v5.0.0-rc.1 (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/popover.js
CHANGED
package/js/dist/scrollspy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI scrollspy.js v5.0.0-
|
|
2
|
+
* CoreUI scrollspy.js v5.0.0-rc.1 (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/sidebar.js
CHANGED
package/js/dist/tab.js
CHANGED
package/js/dist/toast.js
CHANGED
package/js/dist/tooltip.js
CHANGED
package/js/dist/util/backdrop.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI backdrop.js v5.0.0-
|
|
2
|
+
* CoreUI backdrop.js v5.0.0-rc.1 (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-
|
|
2
|
+
* CoreUI component-functions.js v5.0.0-rc.1 (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/util/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI focustrap.js v5.0.0-
|
|
2
|
+
* CoreUI focustrap.js v5.0.0-rc.1 (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/util/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI sanitizer.js v5.0.0-
|
|
2
|
+
* CoreUI sanitizer.js v5.0.0-rc.1 (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-
|
|
2
|
+
* CoreUI scrollbar.js v5.0.0-rc.1 (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/util/swipe.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI template-factory.js v5.0.0-
|
|
2
|
+
* CoreUI template-factory.js v5.0.0-rc.1 (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/src/base-component.js
CHANGED
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-
|
|
4
|
+
"version": "5.0.0-rc.1",
|
|
5
5
|
"config": {
|
|
6
6
|
"version_short": "5.0"
|
|
7
7
|
},
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"@popperjs/core": "^2.11.8"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@babel/cli": "^7.23.
|
|
97
|
-
"@babel/core": "^7.23.
|
|
98
|
-
"@babel/preset-env": "^7.23.
|
|
96
|
+
"@babel/cli": "^7.23.4",
|
|
97
|
+
"@babel/core": "^7.23.3",
|
|
98
|
+
"@babel/preset-env": "^7.23.3",
|
|
99
99
|
"@popperjs/core": "^2.11.8",
|
|
100
100
|
"@rollup/plugin-babel": "^6.0.4",
|
|
101
101
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"bundlewatch": "^0.3.3",
|
|
106
106
|
"clean-css-cli": "^5.6.2",
|
|
107
107
|
"cross-env": "^7.0.3",
|
|
108
|
-
"eslint": "^8.
|
|
108
|
+
"eslint": "^8.54.0",
|
|
109
109
|
"eslint-config-xo": "^0.43.1",
|
|
110
110
|
"eslint-plugin-html": "^7.1.0",
|
|
111
111
|
"eslint-plugin-import": "^2.29.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
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.116.
|
|
117
|
+
"hugo-bin": "^0.116.4",
|
|
118
118
|
"ip": "^2.0.0",
|
|
119
119
|
"jasmine": "^4.6.0",
|
|
120
120
|
"jquery": "^3.7.1",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"postcss": "^8.4.31",
|
|
134
134
|
"postcss-cli": "^10.1.0",
|
|
135
135
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
136
|
-
"rollup": "^4.
|
|
136
|
+
"rollup": "^4.5.2",
|
|
137
137
|
"rollup-plugin-istanbul": "^5.0.0",
|
|
138
138
|
"rtlcss": "^4.1.1",
|
|
139
139
|
"sass": "^1.69.5",
|
package/scss/_accordion.scss
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);
|
|
38
38
|
@include font-size($font-size-base);
|
|
39
39
|
color: var(--#{$prefix}accordion-btn-color);
|
|
40
|
-
text-align
|
|
40
|
+
@include ltr-rtl("text-align", left); // Reset button style
|
|
41
41
|
background-color: var(--#{$prefix}accordion-btn-bg);
|
|
42
42
|
border: 0;
|
|
43
43
|
@include border-radius(0);
|
package/scss/_dropdown.scss
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
margin: 0; // Override default margin of ul
|
|
55
55
|
@include font-size(var(--#{$prefix}dropdown-font-size));
|
|
56
56
|
color: var(--#{$prefix}dropdown-color);
|
|
57
|
-
text-align
|
|
57
|
+
@include ltr-rtl("text-align", left); // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
|
58
58
|
list-style: none;
|
|
59
59
|
background-color: var(--#{$prefix}dropdown-bg);
|
|
60
60
|
background-clip: padding-box;
|
package/scss/_reboot.scss
CHANGED
|
@@ -350,7 +350,7 @@ caption {
|
|
|
350
350
|
padding-top: $table-cell-padding-y;
|
|
351
351
|
padding-bottom: $table-cell-padding-y;
|
|
352
352
|
color: var(--#{$prefix}table-caption-color, $table-caption-color);
|
|
353
|
-
text-align
|
|
353
|
+
@include ltr-rtl("text-align", left);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
// 1. Removes font-weight bold by inheriting
|
package/scss/_utilities.scss
CHANGED
|
@@ -109,21 +109,24 @@ $utilities: map-merge(
|
|
|
109
109
|
"start": (
|
|
110
110
|
property: left,
|
|
111
111
|
class: start,
|
|
112
|
-
values: $position-values
|
|
112
|
+
values: $position-values,
|
|
113
|
+
rtl: true
|
|
113
114
|
),
|
|
114
115
|
"end": (
|
|
115
116
|
property: right,
|
|
116
117
|
class: end,
|
|
117
|
-
values: $position-values
|
|
118
|
+
values: $position-values,
|
|
119
|
+
rtl: true
|
|
118
120
|
),
|
|
119
121
|
"translate-middle": (
|
|
120
122
|
property: transform,
|
|
121
123
|
class: translate-middle,
|
|
122
124
|
values: (
|
|
123
|
-
null: translate(-50%, -50%),
|
|
124
|
-
x: translateX(-50%),
|
|
125
|
+
null: ("ltr": translate(-50%, -50%), "rtl": translate(50%, -50%)),
|
|
126
|
+
x: ("ltr": translateX(-50%), "rtl": translateX(50%)),
|
|
125
127
|
y: translateY(-50%),
|
|
126
|
-
)
|
|
128
|
+
),
|
|
129
|
+
rtl: true
|
|
127
130
|
),
|
|
128
131
|
// scss-docs-end utils-position
|
|
129
132
|
// scss-docs-start utils-borders
|
package/scss/_variables.scss
CHANGED
|
@@ -1896,21 +1896,21 @@ $sidebar-nav-link-icon-bullet-border-width: 1px !default;
|
|
|
1896
1896
|
$sidebar-nav-link-icon-bullet-border-color: var(--#{$prefix}tertiary-color) !default;
|
|
1897
1897
|
$sidebar-nav-link-icon-bullet-border-radius: 50rem !default;
|
|
1898
1898
|
|
|
1899
|
-
$sidebar-nav-link-hover-color:
|
|
1900
|
-
$sidebar-nav-link-hover-bg:
|
|
1901
|
-
$sidebar-nav-link-hover-icon-color:
|
|
1902
|
-
$sidebar-nav-link-hover-icon-bullet-bg:
|
|
1903
|
-
$sidebar-nav-link-hover-icon-bullet-border-color:
|
|
1904
|
-
|
|
1905
|
-
$sidebar-nav-link-active-color:
|
|
1906
|
-
$sidebar-nav-link-active-bg:
|
|
1907
|
-
$sidebar-nav-link-active-icon-color:
|
|
1908
|
-
$sidebar-nav-link-active-icon-bullet-bg:
|
|
1909
|
-
$sidebar-nav-link-active-icon-bullet-border-color:
|
|
1910
|
-
|
|
1911
|
-
$sidebar-nav-link-disabled-color:
|
|
1912
|
-
$sidebar-nav-link-disabled-icon-color:
|
|
1913
|
-
$sidebar-nav-link-disabled-icon-bullet-bg:
|
|
1899
|
+
$sidebar-nav-link-hover-color: var(--#{$prefix}emphasis-color) !default;
|
|
1900
|
+
$sidebar-nav-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
|
1901
|
+
$sidebar-nav-link-hover-icon-color: var(--#{$prefix}body-color) !default;
|
|
1902
|
+
$sidebar-nav-link-hover-icon-bullet-bg: transparent !default;
|
|
1903
|
+
$sidebar-nav-link-hover-icon-bullet-border-color: var(--#{$prefix}body-color) !default;
|
|
1904
|
+
|
|
1905
|
+
$sidebar-nav-link-active-color: var(--#{$prefix}emphasis-color) !default;
|
|
1906
|
+
$sidebar-nav-link-active-bg: var(--#{$prefix}tertiary-bg) !default;
|
|
1907
|
+
$sidebar-nav-link-active-icon-color: var(--#{$prefix}emphasis-color) !default;
|
|
1908
|
+
$sidebar-nav-link-active-icon-bullet-bg: transparent !default;
|
|
1909
|
+
$sidebar-nav-link-active-icon-bullet-border-color: var(--#{$prefix}emphasis-color) !default;
|
|
1910
|
+
|
|
1911
|
+
$sidebar-nav-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
|
|
1912
|
+
$sidebar-nav-link-disabled-icon-color: var(--#{$prefix}tertiary-color) !default;
|
|
1913
|
+
$sidebar-nav-link-disabled-icon-bullet-bg: transparent !default;
|
|
1914
1914
|
$sidebar-nav-link-disabled-icon-bullet-border-color: var(--#{$prefix}tertiary-color) !default;
|
|
1915
1915
|
|
|
1916
1916
|
$sidebar-nav-group-bg: transparent !default;
|
package/scss/mixins/_banner.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin bsBanner($file) {
|
|
2
2
|
/*!
|
|
3
|
-
* CoreUI #{$file} v5.0.0-
|
|
3
|
+
* CoreUI #{$file} v5.0.0-rc.1 (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
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
font-style: normal;
|
|
5
5
|
font-weight: $font-weight-normal;
|
|
6
6
|
line-height: $line-height-base;
|
|
7
|
-
text-align
|
|
7
|
+
@include ltr-rtl("text-align", left); // Fallback for where `start` is not supported
|
|
8
8
|
text-align: start;
|
|
9
9
|
text-decoration: none;
|
|
10
10
|
text-shadow: none;
|
|
@@ -93,11 +93,14 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
@if $is-rtl == true {
|
|
96
|
-
@
|
|
96
|
+
@if (type-of($value) == 'map') {
|
|
97
|
+
@include ltr-rtl($property, map-get($value, "ltr"), null, map-get($value, "rtl"), if($enable-important-utilities, !important, null));
|
|
98
|
+
} @else {
|
|
99
|
+
@include ltr-rtl($property, $value, null, null, if($enable-important-utilities, !important, null));
|
|
100
|
+
}
|
|
97
101
|
} @else {
|
|
98
102
|
#{$property}: $value if($enable-important-utilities, !important, null);
|
|
99
103
|
}
|
|
100
|
-
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
}
|
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
--#{$prefix}sidebar-narrow-width: #{$sidebar-narrow-width};
|
|
4
4
|
// scss-docs-end sidebar-narrow-css-vars
|
|
5
5
|
|
|
6
|
-
.sidebar-nav {
|
|
7
|
-
--#{$prefix}sidebar-nav-link-padding-x: #{$sidebar-narrow-nav-link-padding-x};
|
|
8
|
-
--#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-narrow-nav-link-padding-y};
|
|
9
|
-
}
|
|
10
|
-
|
|
11
6
|
@include media-breakpoint-up($mobile-breakpoint) {
|
|
12
7
|
flex: 0 0 var(--#{$prefix}sidebar-narrow-width);
|
|
13
8
|
width: var(--#{$prefix}sidebar-narrow-width);
|
|
@@ -32,6 +27,11 @@
|
|
|
32
27
|
padding-left: 0;
|
|
33
28
|
}
|
|
34
29
|
|
|
30
|
+
.sidebar-nav {
|
|
31
|
+
--#{$prefix}sidebar-nav-link-padding-x: #{$sidebar-narrow-nav-link-padding-x};
|
|
32
|
+
--#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-narrow-nav-link-padding-y};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
35
|
.nav-icon {
|
|
36
36
|
flex: 0 0 calc(var(--#{$prefix}sidebar-narrow-width) - (var(--#{$prefix}sidebar-nav-padding-x) * 2) - (var(--#{$prefix}sidebar-nav-link-padding-x) * 2)); // stylelint-disable-line function-disallowed-list
|
|
37
37
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
opacity: 0;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.sidebar-toggler {
|
|
52
|
+
.sidebar-toggler::before {
|
|
53
53
|
@include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
&:hover {
|
|
91
91
|
box-shadow: $box-shadow;
|
|
92
92
|
|
|
93
|
-
.sidebar-toggler {
|
|
93
|
+
.sidebar-toggler::before {
|
|
94
94
|
@include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
&.sidebar-end .sidebar-toggler {
|
|
97
|
+
&.sidebar-end .sidebar-toggler::before {
|
|
98
98
|
transform: rotate(0deg);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
position: relative;
|
|
16
16
|
display: flex;
|
|
17
|
-
// $sidebar-width is the width of the columns
|
|
18
17
|
flex: 0 0 var(--#{$prefix}sidebar-width);
|
|
19
18
|
flex-direction: column;
|
|
20
19
|
// put the nav on the left
|
|
@@ -107,9 +106,9 @@
|
|
|
107
106
|
}
|
|
108
107
|
|
|
109
108
|
&.sidebar-overlaid {
|
|
110
|
-
// scss-docs-start sidebar-css-vars
|
|
109
|
+
// scss-docs-start sidebar-overlaid-css-vars
|
|
111
110
|
--#{$prefix}sidebar-overlaid-box-shadow: #{$sidebar-overlaid-box-shadow};
|
|
112
|
-
// scss-docs-end sidebar-css-vars
|
|
111
|
+
// scss-docs-end sidebar-overlaid-css-vars
|
|
113
112
|
|
|
114
113
|
position: fixed;
|
|
115
114
|
top: 0;
|
|
@@ -137,7 +136,7 @@
|
|
|
137
136
|
&:not(.sidebar-end) {
|
|
138
137
|
@include ltr-rtl("margin-left", 0);
|
|
139
138
|
}
|
|
140
|
-
|
|
139
|
+
|
|
141
140
|
&.sidebar-end {
|
|
142
141
|
@include ltr-rtl("margin-right", 0);
|
|
143
142
|
}
|
|
@@ -215,7 +214,7 @@
|
|
|
215
214
|
--#{$prefix}sidebar-toggler-width: #{$sidebar-toggler-width};
|
|
216
215
|
--#{$prefix}sidebar-toggler-height: #{$sidebar-toggler-height};
|
|
217
216
|
--#{$prefix}sidebar-toggler-color: #{$sidebar-toggler-color};
|
|
218
|
-
--#{$prefix}sidebar-toggler-bg: #{
|
|
217
|
+
--#{$prefix}sidebar-toggler-bg: #{escape-svg($sidebar-toggler-bg)};
|
|
219
218
|
--#{$prefix}sidebar-toggler-hover-color: #{$sidebar-toggler-hover-color};
|
|
220
219
|
--#{$prefix}sidebar-toggler-focus-shadow: #{$sidebar-toggler-focus-shadow};
|
|
221
220
|
--#{$prefix}sidebar-toggler-focus-color: #{$sidebar-toggler-focus-color};
|
|
@@ -230,7 +229,6 @@
|
|
|
230
229
|
background-color: transparent;
|
|
231
230
|
border: 0;
|
|
232
231
|
@include border-radius();
|
|
233
|
-
@include transition(var(--#{$prefix}sidebar-toggler-transition));
|
|
234
232
|
|
|
235
233
|
&::before {
|
|
236
234
|
position: absolute;
|
|
@@ -241,6 +239,10 @@
|
|
|
241
239
|
content: "";
|
|
242
240
|
background-color: var(--#{$prefix}sidebar-toggler-color);
|
|
243
241
|
mask: var(--#{$prefix}sidebar-toggler-bg) no-repeat center;
|
|
242
|
+
@include transition(var(--#{$prefix}sidebar-toggler-transition));
|
|
243
|
+
@include rtl() {
|
|
244
|
+
transform: rotate(-180deg);
|
|
245
|
+
}
|
|
244
246
|
}
|
|
245
247
|
|
|
246
248
|
// Override <a>'s hover style
|