@coreui/coreui 5.4.3 → 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.
- package/README.md +2 -2
- 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 +1 -1
- package/dist/css/coreui-reboot.rtl.css.map +1 -1
- package/dist/css/coreui-reboot.rtl.min.css +1 -1
- 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 +1 -1
- package/dist/css/coreui-utilities.rtl.css.map +1 -1
- package/dist/css/coreui-utilities.rtl.min.css +1 -1
- package/dist/css/coreui-utilities.rtl.min.css.map +1 -1
- package/dist/css/coreui.css +1 -1
- package/dist/css/coreui.css.map +1 -1
- package/dist/css/coreui.min.css +1 -1
- package/dist/css/coreui.min.css.map +1 -1
- package/dist/css/coreui.rtl.css +1 -1
- package/dist/css/coreui.rtl.css.map +1 -1
- package/dist/css/coreui.rtl.min.css +1 -1
- package/dist/css/coreui.rtl.min.css.map +1 -1
- package/dist/css/themes/bootstrap/bootstrap.css +1 -1
- package/dist/css/themes/bootstrap/bootstrap.css.map +1 -1
- package/dist/css/themes/bootstrap/bootstrap.min.css +1 -1
- package/dist/css/themes/bootstrap/bootstrap.min.css.map +1 -1
- package/dist/css/themes/bootstrap/bootstrap.rtl.css +1 -1
- package/dist/css/themes/bootstrap/bootstrap.rtl.css.map +1 -1
- package/dist/css/themes/bootstrap/bootstrap.rtl.min.css +1 -1
- package/dist/css/themes/bootstrap/bootstrap.rtl.min.css.map +1 -1
- package/dist/js/bootstrap.bundle.js +2 -2
- package/dist/js/bootstrap.bundle.js.map +1 -1
- package/dist/js/bootstrap.bundle.min.js +2 -2
- package/dist/js/bootstrap.bundle.min.js.map +1 -1
- package/dist/js/bootstrap.esm.js +2 -2
- package/dist/js/bootstrap.esm.js.map +1 -1
- package/dist/js/bootstrap.esm.min.js +2 -2
- package/dist/js/bootstrap.esm.min.js.map +1 -1
- package/dist/js/bootstrap.js +2 -2
- package/dist/js/bootstrap.js.map +1 -1
- package/dist/js/bootstrap.min.js +2 -2
- package/dist/js/bootstrap.min.js.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 +29 -28
- package/scss/_banner.scss +1 -1
- package/scss/_buttons.scss +9 -5
- package/scss/_card.scss +2 -1
- package/scss/_carousel.scss +4 -2
- package/scss/_dropdown.scss +5 -3
- package/scss/_header.scss +3 -2
- package/scss/_list-group.scss +1 -1
- package/scss/_maps.scss +2 -1
- package/scss/_modal.scss +2 -1
- package/scss/_nav.scss +3 -2
- package/scss/_navbar.scss +5 -3
- package/scss/_pagination.scss +3 -2
- package/scss/forms/_form-control.scss +2 -1
- package/scss/functions/_color.scss +5 -1
- package/scss/functions/_contrast-ratio.scss +3 -2
- package/scss/functions/_maps.scss +9 -1
- package/scss/functions/_math.scss +4 -3
- package/scss/helpers/_color-bg.scss +8 -4
- package/scss/helpers/_colored-links.scss +18 -9
- package/scss/mixins/_breakpoints.scss +9 -4
- package/scss/mixins/_buttons.scss +4 -4
- package/scss/mixins/_forms.scss +3 -3
- package/scss/mixins/_grid.scss +4 -2
- package/scss/mixins/_ltr-rtl.scss +24 -12
- package/scss/mixins/_table-variants.scss +6 -4
- package/scss/mixins/_utilities.scss +22 -12
- package/scss/vendor/_rfs.scss +27 -19
package/js/dist/alert.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI base-component.js v5.
|
|
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.
|
|
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.
|
|
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
package/js/dist/carousel.js
CHANGED
package/js/dist/collapse.js
CHANGED
package/js/dist/dom/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI selector-engine.js v5.
|
|
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
|
*/
|
package/js/dist/dropdown.js
CHANGED
package/js/dist/modal.js
CHANGED
package/js/dist/navigation.js
CHANGED
package/js/dist/offcanvas.js
CHANGED
package/js/dist/popover.js
CHANGED
package/js/dist/scrollspy.js
CHANGED
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 component-functions.js v5.
|
|
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
|
*/
|
package/js/dist/util/config.js
CHANGED
package/js/dist/util/index.js
CHANGED
package/js/dist/util/swipe.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI template-factory.js v5.
|
|
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
|
*/
|
package/js/src/base-component.js
CHANGED
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
|
+
"version": "5.5.0",
|
|
5
5
|
"config": {
|
|
6
|
-
"version_short": "5.
|
|
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.
|
|
105
|
-
"@babel/preset-env": "^7.28.
|
|
106
|
-
"@docsearch/
|
|
107
|
-
"@
|
|
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
|
|
110
|
-
"@rollup/plugin-commonjs": "^
|
|
111
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
112
|
-
"@rollup/plugin-replace": "^6.0.
|
|
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.
|
|
115
|
+
"autoprefixer": "^10.4.23",
|
|
115
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.
|
|
120
|
-
"eslint": "^9.
|
|
120
|
+
"cross-env": "^10.1.0",
|
|
121
|
+
"eslint": "^9.39.2",
|
|
121
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": "^
|
|
125
|
-
"find-unused-sass-variables": "^6.1.
|
|
126
|
-
"globals": "^16.
|
|
127
|
-
"globby": "^
|
|
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.
|
|
131
|
+
"hugo-bin": "^0.149.2",
|
|
131
132
|
"ip": "^2.0.1",
|
|
132
|
-
"jasmine": "^5.
|
|
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.
|
|
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
|
-
"
|
|
150
|
+
"rimraf": "^6.1.2",
|
|
151
|
+
"rollup": "^4.53.5",
|
|
150
152
|
"rollup-plugin-istanbul": "^5.0.0",
|
|
151
|
-
"sass-embedded": "^1.
|
|
152
|
-
"sass-true": "^
|
|
153
|
+
"sass-embedded": "^1.97.0",
|
|
154
|
+
"sass-true": "^10.1.0",
|
|
153
155
|
"shelljs": "^0.10.0",
|
|
154
|
-
"stylelint": "^16.
|
|
156
|
+
"stylelint": "^16.26.1",
|
|
155
157
|
"stylelint-config-twbs-bootstrap": "^16.1.0",
|
|
156
|
-
"terser": "5.
|
|
157
|
-
"vnu-jar": "
|
|
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
package/scss/_buttons.scss
CHANGED
|
@@ -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
|
|
43
|
+
text-decoration: if(not sass($link-decoration == none): none);
|
|
44
44
|
white-space: $btn-white-space;
|
|
45
45
|
vertical-align: middle;
|
|
46
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
package/scss/_carousel.scss
CHANGED
|
@@ -123,11 +123,13 @@
|
|
|
123
123
|
}
|
|
124
124
|
.carousel-control-prev {
|
|
125
125
|
left: 0;
|
|
126
|
-
|
|
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
|
-
|
|
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
|
package/scss/_dropdown.scss
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
package/scss/_list-group.scss
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
package/scss/_pagination.scss
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
}
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
// https://github.com/twbs/bootstrap/issues/23307
|
|
65
65
|
// TODO: we can remove this workaround once https://bugs.webkit.org/show_bug.cgi?id=198959 is resolved
|
|
66
66
|
// Multiply line-height by 1em if it has no unit
|
|
67
|
-
|
|
67
|
+
// stylelint-disable-next-line scss/at-function-named-arguments
|
|
68
|
+
height: if(sass(math.unit($input-line-height) == ""): $input-line-height * 1em; else: $input-line-height);
|
|
68
69
|
|
|
69
70
|
// Android Chrome type="date" is taller than the other inputs
|
|
70
71
|
// because of "margin: 1px 24px 1px 4px" inside the shadow DOM
|