diff --git a/.browserslistrc b/.browserslistrc
index c71c8b9c71..cddd230052 100644
--- a/.browserslistrc
+++ b/.browserslistrc
@@ -9,3 +9,4 @@ Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
+not kaios <= 2.5 # fix floating label issues in Firefox (see https://github.com/postcss/autoprefixer/issues/1533)
diff --git a/.bundlewatch.config.json b/.bundlewatch.config.json
index 6357c22479..63c347c370 100644
--- a/.bundlewatch.config.json
+++ b/.bundlewatch.config.json
@@ -2,7 +2,7 @@
"files": [
{
"path": "./dist/css/coreui-grid.css",
- "maxSize": "7.5 kB"
+ "maxSize": "7.50 kB"
},
{
"path": "./dist/css/coreui-grid.min.css",
@@ -10,51 +10,51 @@
},
{
"path": "./dist/css/coreui-reboot.css",
- "maxSize": "2.75 kB"
+ "maxSize": "3.70 kB"
},
{
"path": "./dist/css/coreui-reboot.min.css",
- "maxSize": "2.5 kB"
+ "maxSize": "3.60 kB"
},
{
"path": "./dist/css/coreui-utilities.css",
- "maxSize": "9.25 kB"
+ "maxSize": "13.55 kB"
},
{
"path": "./dist/css/coreui-utilities.min.css",
- "maxSize": "8.5 kB"
+ "maxSize": "12.5 kB"
},
{
"path": "./dist/css/coreui.css",
- "maxSize": "28.75 kB"
+ "maxSize": "42.25 kB"
},
{
"path": "./dist/css/coreui.min.css",
- "maxSize": "26.5 kB"
+ "maxSize": "39.45 kB"
},
{
"path": "./dist/js/coreui.bundle.js",
- "maxSize": "43.25 kB"
+ "maxSize": "45.85 kB"
},
{
"path": "./dist/js/coreui.bundle.min.js",
- "maxSize": "24.60 kB"
+ "maxSize": "24.80 kB"
},
{
"path": "./dist/js/coreui.esm.js",
- "maxSize": "28 kB"
+ "maxSize": "30.80 kB"
},
{
"path": "./dist/js/coreui.esm.min.js",
- "maxSize": "18.5 kB"
+ "maxSize": "19.80 kB"
},
{
"path": "./dist/js/coreui.js",
- "maxSize": "28.75 kB"
+ "maxSize": "31.55 kB"
},
{
"path": "./dist/js/coreui.min.js",
- "maxSize": "16.25 kB"
+ "maxSize": "17.70 kB"
}
],
"ci": {
diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 5a1c1d7eeb..0000000000
--- a/.eslintignore
+++ /dev/null
@@ -1,9 +0,0 @@
-**/*.min.js
-**/dist/
-**/vendor/
-/_gh_pages/
-/js/coverage/
-/js/tests/integration/
-/docs/content/_index.html
-/docs/static/sw.js
-/docs/layouts/
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index 5443b97bc5..0000000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "root": true,
- "extends": [
- "plugin:import/errors",
- "plugin:import/warnings",
- "plugin:unicorn/recommended",
- "xo",
- "xo/browser"
- ],
- "rules": {
- "arrow-body-style": "off",
- "capitalized-comments": "off",
- "comma-dangle": [
- "error",
- "never"
- ],
- "indent": [
- "error",
- 2,
- {
- "MemberExpression": "off",
- "SwitchCase": 1
- }
- ],
- "max-params": [
- "warn",
- 5
- ],
- "multiline-ternary": [
- "error",
- "always-multiline"
- ],
- "new-cap": [
- "error",
- {
- "properties": false
- }
- ],
- "no-console": "error",
- "no-negated-condition": "off",
- "object-curly-spacing": [
- "error",
- "always"
- ],
- "operator-linebreak": [
- "error",
- "after"
- ],
- "prefer-template": "error",
- "semi": [
- "error",
- "never"
- ],
- "unicorn/explicit-length-check": "off",
- "unicorn/no-array-callback-reference": "off",
- "unicorn/no-array-method-this-argument": "off",
- "unicorn/no-null": "off",
- "unicorn/no-typeof-undefined": "off",
- "unicorn/no-unused-properties": "error",
- "unicorn/prefer-array-flat": "off",
- "unicorn/prefer-dom-node-dataset": "off",
- "unicorn/prefer-module": "off",
- "unicorn/prefer-query-selector": "off",
- "unicorn/prefer-spread": "off",
- "unicorn/prevent-abbreviations": "off"
- }
-}
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 5f36aa1673..5995b2cfc8 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -165,7 +165,7 @@ Please use following commit message format.
[Adhere to the Code Guide.](http://codeguide.co/#css)
-- When feasible, default color palettes should comply with [WCAG color contrast guidelines](http://www.w3.org/TR/WCAG20/#visual-audio-contrast).
+- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG/#distinguishable).
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](http://a11yproject.com/posts/never-remove-css-outlines) for more details.
### JS
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
new file mode 100644
index 0000000000..99bef0eb7a
--- /dev/null
+++ b/.github/codeql/codeql-config.yml
@@ -0,0 +1,3 @@
+name: "CodeQL config"
+paths-ignore:
+ - dist
\ No newline at end of file
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
deleted file mode 100644
index 0289984bec..0000000000
--- a/.github/release-drafter.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-name-template: 'v$NEXT_MAJOR_VERSION'
-tag-template: 'v$NEXT_MAJOR_VERSION'
-prerelease: true
-exclude-labels:
- - 'skip-changelog'
-categories:
- - title: 'β Breaking Changes'
- labels:
- - 'breaking-change'
- - title: 'π Highlights'
- labels:
- - 'release-highlight'
- - title: 'π Features'
- labels:
- - 'new-feature'
- - 'feature'
- - 'enhancement'
- - title: 'π Bug fixes'
- labels:
- - 'fix'
- - 'bugfix'
- - 'bug'
- - title: 'β‘ Performance improvements'
- labels:
- - 'performance'
- - title: 'π¨ CSS'
- labels:
- - 'css'
- - title: 'βοΈ JavaScript'
- labels:
- - 'js'
- - title: 'π Docs'
- labels:
- - 'docs'
- - title: 'π Examples'
- labels:
- - 'examples'
- - title: 'π Accessibility'
- labels:
- - 'accessibility'
- - title: 'π§ Utility API'
- labels:
- - 'utility API'
- - 'utilities'
- - title: 'π Tests'
- labels:
- - 'tests'
- - title: 'π§° Misc'
- labels:
- - 'build'
- - 'meta'
- - 'chore'
- - 'CI'
- - title: 'π¦ Dependencies'
- labels:
- - 'dependencies'
-change-template: '- #$NUMBER: $TITLE'
-template: |
- ## Changes
- $CHANGES
diff --git a/.github/stale.yml b/.github/stale.yml
deleted file mode 100644
index 26e0120aab..0000000000
--- a/.github/stale.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-# Number of days of inactivity before an issue becomes stale
-daysUntilStale: 360
-# Number of days of inactivity before a stale issue is closed
-daysUntilClose: 7
-# Issues with these labels will never be considered stale
-exemptLabels:
- - pinned
- - security
-# Label to use when marking an issue as stale
-staleLabel: wontfix
-# Comment to post when marking an issue as stale. Set to `false` to disable
-markComment: >
- This issue has been automatically marked as stale because it has not had
- recent activity. It will be closed if no further activity occurs. Thank you
- for your contributions.
-# Comment to post when closing a stale issue. Set to `false` to disable
-closeComment: false
diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml
deleted file mode 100644
index 425c566844..0000000000
--- a/.github/workflows/browserstack.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: BrowserStack
-
-on:
- push:
- workflow_dispatch:
-
-env:
- FORCE_COLOR: 2
- NODE: 16
-
-jobs:
- browserstack:
- runs-on: ubuntu-latest
- if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]'))
- timeout-minutes: 30
-
- steps:
- - name: Clone repository
- uses: actions/checkout@v3
-
- - name: Set up Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "${{ env.NODE }}"
- cache: npm
-
- - name: Install npm dependencies
- run: npm ci
-
- - name: Run dist
- run: npm run dist
-
- - name: Run BrowserStack tests
- run: npm run js-test-cloud
- env:
- BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
- BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
- GITHUB_SHA: "${{ github.sha }}"
diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml
index d1a174784d..d7e6ae2319 100644
--- a/.github/workflows/bundlewatch.yml
+++ b/.github/workflows/bundlewatch.yml
@@ -2,14 +2,17 @@ name: Bundlewatch
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 22
+
+permissions:
+ contents: read
jobs:
bundlewatch:
@@ -17,16 +20,18 @@ jobs:
steps:
- name: Clone repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
- run: npm ci
+ run: npm ci --ignore-scripts
- name: Run dist
run: npm run dist
@@ -35,4 +40,4 @@ jobs:
run: npm run bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
- CI_BRANCH_BASE: main
+ CI_BRANCH_BASE: main
\ No newline at end of file
diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml
deleted file mode 100644
index e23f5626e4..0000000000
--- a/.github/workflows/calibreapp-image-actions.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: Compress Images
-
-on:
- pull_request:
- paths:
- - '**.jpg'
- - '**.jpeg'
- - '**.png'
- - '**.webp'
-
-jobs:
- build:
- # Only run on Pull Requests within the same repository, and not from forks.
- if: github.event.pull_request.head.repo.full_name == github.repository
- name: calibreapp/image-actions
- runs-on: ubuntu-latest
- steps:
- - name: Checkout Repo
- uses: actions/checkout@v3
-
- - name: Compress Images
- uses: calibreapp/image-actions@1.1.0
- with:
- githubToken: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 0093b19764..f3671bada9 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -4,16 +4,13 @@ on:
push:
branches:
- main
- - dev
- "!dependabot/**"
pull_request:
- # The branches below must be a subset of the branches above
branches:
- main
- - v4-dev
- "!dependabot/**"
schedule:
- - cron: "0 2 * * 5"
+ - cron: "0 2 * * 4"
workflow_dispatch:
jobs:
@@ -21,18 +18,25 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
permissions:
- actions: read
- contents: read
security-events: write
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
+ uses: github/codeql-action/init@v3
with:
+ config-file: ./.github/codeql/codeql-config.yml
languages: "javascript"
+ queries: +security-and-quality
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ uses: github/codeql-action/analyze@v3
+ with:
+ category: "/language:javascript"
\ No newline at end of file
diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml
deleted file mode 100644
index 3751ad3395..0000000000
--- a/.github/workflows/cspell.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: cspell
-
-on:
- push:
- branches-ignore:
- - "dependabot/**"
- pull_request:
- workflow_dispatch:
-
-env:
- FORCE_COLOR: 2
- NODE: 16
-
-jobs:
- cspell:
- runs-on: ubuntu-latest
-
- steps:
- - name: Clone repository
- uses: actions/checkout@v3
-
- - name: Run cspell
- uses: streetsidesoftware/cspell-action@v2
- with:
- config: ".cspell.json"
- files: "**/*.md"
- inline: error
- incremental_files_only: false
diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml
index 857a5672cb..44727ae195 100644
--- a/.github/workflows/css.yml
+++ b/.github/workflows/css.yml
@@ -2,14 +2,19 @@ name: CSS
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
+ branches:
+ - main
workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 22
+
+permissions:
+ contents: read
jobs:
css:
@@ -17,16 +22,21 @@ jobs:
steps:
- name: Clone repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
- run: npm ci
+ run: npm ci --ignore-scripts
- name: Build CSS
run: npm run css
+
+ - name: Run CSS tests
+ run: npm run css-test
\ No newline at end of file
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index f33413eb4b..6fbe1d4db9 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -2,14 +2,19 @@ name: Docs
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
+ branches:
+ - main
workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 22
+
+permissions:
+ contents: read
jobs:
docs:
@@ -17,10 +22,12 @@ jobs:
steps:
- name: Clone repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
@@ -39,7 +46,7 @@ jobs:
- name: Run linkinator
uses: JustinBeckwith/linkinator-action@v1
with:
- paths: _site
+ paths: _gh_pages
recurse: true
verbosity: error
- skip: "^(?!http://localhost)"
+ skip: "^(?!http://localhost)"
\ No newline at end of file
diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml
deleted file mode 100644
index b251cd75ee..0000000000
--- a/.github/workflows/issue-close-require.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Close Issue Awaiting Reply
-
-on:
- schedule:
- - cron: "0 0 * * *"
-
-jobs:
- issue-close-require:
- runs-on: ubuntu-latest
- if: github.repository == 'twbs/bootstrap'
- steps:
- - name: awaiting reply
- uses: actions-cool/issues-helper@v3
- with:
- actions: "close-issues"
- labels: "awaiting-reply"
- inactive-day: 14
- body: |
- As the issue was labeled with `awaiting-reply`, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply.
diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml
deleted file mode 100644
index 3a1cfa9b6b..0000000000
--- a/.github/workflows/issue-labeled.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Issue Labeled
-
-on:
- issues:
- types: [labeled]
-
-jobs:
- issue-labeled:
- if: github.repository == 'twbs/bootstrap'
- runs-on: ubuntu-latest
- steps:
- - name: awaiting reply
- if: github.event.label.name == 'needs-example'
- uses: actions-cool/issues-helper@v3
- with:
- actions: "create-comment"
- token: ${{ secrets.GITHUB_TOKEN }}
- body: |
- Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details.
diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml
index 82616c5743..29d2545034 100644
--- a/.github/workflows/js.yml
+++ b/.github/workflows/js.yml
@@ -2,26 +2,37 @@ name: JS Tests
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
+ branches:
+ - main
workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 22
+
+permissions:
+ contents: read
jobs:
run:
+ permissions:
+ # allow coverallsapp/github-action to create new checks issues and fetch code
+ checks: write
+ contents: read
name: JS Tests
runs-on: ubuntu-latest
steps:
- name: Clone repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE }}
cache: npm
@@ -36,7 +47,8 @@ jobs:
run: npm run js-test
- name: Run Coveralls
- uses: coverallsapp/github-action@1.1.3
+ uses: coverallsapp/github-action@v2
+ if: ${{ !github.event.repository.fork }}
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- path-to-lcov: "./js/coverage/lcov.info"
+ path-to-lcov: "./js/coverage/lcov.info"
\ No newline at end of file
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 816694ec28..51053eb79c 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -2,14 +2,19 @@ name: Lint
on:
push:
- branches-ignore:
- - "dependabot/**"
+ branches:
+ - main
pull_request:
+ branches:
+ - main
workflow_dispatch:
env:
FORCE_COLOR: 2
- NODE: 16
+ NODE: 22
+
+permissions:
+ contents: read
jobs:
lint:
@@ -17,10 +22,12 @@ jobs:
steps:
- name: Clone repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- name: Set up Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
@@ -29,4 +36,4 @@ jobs:
run: npm ci
- name: Lint
- run: npm run lint
+ run: npm run lint
\ No newline at end of file
diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml
deleted file mode 100644
index 465cee4850..0000000000
--- a/.github/workflows/node-sass.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: CSS (node-sass)
-
-on:
- push:
- branches-ignore:
- - "dependabot/**"
- pull_request:
- workflow_dispatch:
-
-env:
- FORCE_COLOR: 2
- NODE: 16
-
-jobs:
- css:
- runs-on: ubuntu-latest
-
- steps:
- - name: Clone repository
- uses: actions/checkout@v3
-
- - name: Set up Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "${{ env.NODE }}"
-
- - name: Build CSS with node-sass
- run: |
- npx --package node-sass@latest node-sass --version
- npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/
- ls -Al dist-sass/css
diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
deleted file mode 100644
index bbd0a2448b..0000000000
--- a/.github/workflows/release-notes.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-name: Release notes
-
-on:
- push:
- branches:
- - main
- workflow_dispatch:
-
-jobs:
- update_release_draft:
- runs-on: ubuntu-latest
- if: github.repository == 'twbs/bootstrap'
- steps:
- - uses: release-drafter/release-drafter@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 4b8b9175eb..2642528c21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,5 +38,6 @@ Thumbs.db
*.komodoproject
# Folders to ignore
+/dist-sass/
/js/coverage/
/node_modules/
diff --git a/.stylelintrc b/.stylelintrc
index 7a7ca3ffcb..ee52ad0f69 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -2,39 +2,59 @@
"extends": [
"stylelint-config-twbs-bootstrap"
],
- "rules": {
- "declaration-property-value-disallowed-list": {
- "border": "none",
- "outline": "none"
- },
- "function-disallowed-list": [
- "calc",
- "lighten",
- "darken"
- ],
- "property-disallowed-list": [
- "border-radius",
- "border-top-left-radius",
- "border-top-right-radius",
- "border-bottom-right-radius",
- "border-bottom-left-radius",
- "transition"
- ],
- "scss/dollar-variable-default": [
- true,
- {
- "ignore": "local"
- }
- ],
- "scss/selector-no-union-class-name": true
- },
+ "reportInvalidScopeDisables": true,
+ "reportNeedlessDisables": true,
"overrides": [
+ {
+ "files": "**/*.scss",
+ "rules": {
+ "declaration-property-value-disallowed-list": {
+ "border": "none",
+ "outline": "none"
+ },
+ "function-disallowed-list": [
+ "calc",
+ "lighten",
+ "darken"
+ ],
+ "property-disallowed-list": [
+ "border-radius",
+ "border-top-left-radius",
+ "border-top-right-radius",
+ "border-bottom-right-radius",
+ "border-bottom-left-radius",
+ "transition"
+ ],
+ "scss/dollar-variable-default": [
+ true,
+ {
+ "ignore": "local"
+ }
+ ],
+ "scss/selector-no-union-class-name": true
+ }
+ },
{
"files": "scss/**/*.{test,spec}.scss",
"rules": {
"scss/dollar-variable-default": null,
"declaration-no-important": null
}
+ },
+ {
+ "files": "docs/**/*.scss",
+ "rules": {
+ "scss/dollar-variable-default": null
+ }
+ },
+ {
+ "files": "docs/**/examples/**/*.css",
+ "rules": {
+ "comment-empty-line-before": null,
+ "property-no-vendor-prefix": null,
+ "selector-no-qualifying-type": null,
+ "value-no-vendor-prefix": null
+ }
}
]
-}
+}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 4049f3018d..0000000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,174 +0,0 @@
-# Changelog
-
-## [v4.2.6](https://github.com/coreui/coreui/compare/v4.1.5...v4.2.6)
-
-> 9 June 2022
-
-- fix(scss) Replace color-adjust to print-color-adjust in _form-check.scss
-
-## [v4.1.5](https://github.com/coreui/coreui/compare/v4.1.4...v4.1.5)
-
-> 5 May 2022
-
-- fix(forms): revert angular validation classes commit
-
-
-## [v4.1.4](https://github.com/coreui/coreui/compare/v4.1.3...v4.1.4)
-
-> 28 April 2022
-
-- fix(Modal): set the proper close button position when RTL direction is enabled
-- fix(Toast): set the proper close button position when RTL direction is enabled
-
-## [v4.1.3](https://github.com/coreui/coreui/compare/v4.1.2...v4.1.3)
-
-> 10 March 2022
-
-- refactor(Offcanvas): add CSS vars support
-- fix(Offcanvas): offcanvas is not visible when LTR and RTL are enabled
-- docs: update content
-- fix: wrong select background-position and validation icon position when RTL is enabled.
-- refactor: update `reflect` function
-
-## [v4.1.2](https://github.com/coreui/coreui/compare/v4.1.1...v4.1.2)
-
-> 7 March 2022
-
-- fix: generate rtl utilities
-
-## [v4.1.1](https://github.com/coreui/coreui/compare/v4.1.0...v4.1.1)
-
-> 4 March 2022
-
-- chore: update dependencies and devDependencies
-- chore: update workflows
-- refactor(Sidebar): add variables to set `.nav-group-items` paddings
-- docs: update theme
-- build: update build scripts
-- build: update bundle watch
-- refactor: update `isVisible` function
-- fix(Sidebar): improve backdrop behavior
-- build: update build tools
-- chore: fix eslint errors
-- chore: fix stylelint warnings
-- fix(Sidebar): click outside listener on mobile devices
-- docs: remove version number from url
-
-## [v4.1.0](https://github.com/coreui/coreui/compare/v4.0.5...v4.1.0)
-
-> 29 November 2021
-
-
-- chore: update short version
-- refactor: update utilities generator
-- docs: update content
-- chore: update comments
-- refactor: update selectors
-- refactor: change DATA_KEY
-- tests: update tests
-- fix(Offcanvas): fix RTL
-- chore: update comments
-- refactor(Tables): update borders
-
-## [v4.0.5-alpha.4](https://github.com/coreui/coreui/compare/v4.0.5-alpha.3...v4.0.5-alpha.4)
-
-> 22 March 2021
-
-### Features
-
-- feat: allow to generate CSS Variables without callbacks [`d8ccba7`](https://github.com/coreui/coreui/commit/d8ccba78684ac3cbea15a246b6408f6f218cc6ec)
-
-### Refactor
-
-- refactor: move all variables to mixin [`654005e`](https://github.com/coreui/coreui/commit/654005e76f2cf2fb5464463ffdb28a67d2efb61f)
-- refactor: change `background` to `bg` [`6c32a05`](https://github.com/coreui/coreui/commit/6c32a05d759de9570bea3cc53c75d13a42efdbce)
-- refactor(Utilities): update generator [`6839124`](https://github.com/coreui/coreui/commit/68391246b2a2e003d8d4e928386c15638ed90128)
-
-## [v4.0.5-alpha.3](https://github.com/coreui/coreui/compare/v4.0.5-alpha.2...v4.0.5-alpha.3)
-
-> 19 March 2021
-
-### Features
-
-- feat: add RTL support [`0934ada`](https://github.com/coreui/coreui/commit/0934ada4355c90607d13b3bf19dd82252339387e)
-- feat: add RTL support to text align utilities [`a176bdc`](https://github.com/coreui/coreui/commit/a176bdcc8ce8b0202fe7af1d9a9c38a8a1be2237)
-- feat: add `--cui-body-color` to `:root` [`9c37e9a`](https://github.com/coreui/coreui/commit/9c37e9a50a71e0f718471fe60ec6e8d2c27ae3e6)
-
-### Fix
-
-- fix: wrong names in colors map [`eefccbf`](https://github.com/coreui/coreui/commit/eefccbfcb6e8a3d1dbc7fa406a3f498e738aabbe)
-- fix: generate proper properties and values if only `$enable-rtl` is set to `true` [`582a6f8`](https://github.com/coreui/coreui/commit/582a6f85a3117759f50f5f97bfaf805cc1185ada)
-- fix: rename wrong CSS Variables names [`c187b59`](https://github.com/coreui/coreui/commit/c187b59bc2f8c2dcf591541891b401743101c731)
-- fix: no borders [`b6da406`](https://github.com/coreui/coreui/commit/b6da40674d17503a418a05648ffc5075d63814b4)
-- fix: add missing CSS variables [`dc06098`](https://github.com/coreui/coreui/commit/dc06098f395d328f7bd99d0660654a246542ced3)
-- fix(_root.scss): add custom properties - breakpoint-* and mobile-breakpoint [`32fcd38`](https://github.com/coreui/coreui/commit/32fcd380170c45e7adc4f26a98d255fd5c62d118)
-- fix: prevent adding `active` class to `.nav-group-toggle` [`e3f247f`](https://github.com/coreui/coreui/commit/e3f247f07a935147a196ffc4ea8e5a8938752b51)
-- fix: `.compact` shouldn't overwrite `padding-left` and `padding-right` properties [`4b47c72`](https://github.com/coreui/coreui/commit/4b47c721c2bf3ac1ec1f0db8829e01e3e858309a)
-- fix(_sidebar.scss): add $variable-prefix to --is-mobile custom property [`acab8bc`](https://github.com/coreui/coreui/commit/acab8bc26c0a04f4318b90125de2541f1582b576)
-- fix: remove unused variable [`ace0c6a`](https://github.com/coreui/coreui/commit/ace0c6a8f511c694859c6e6bbb596e655951cb0e)
-- fix: add missing CSS Variable [`8f852a6`](https://github.com/coreui/coreui/commit/8f852a6431fd82d069771e6d7ed7beb875047555)
-
-### Refactor
-
-- refactor: generate CSS variables for color variants instead of styles [`5cf8f7a`](https://github.com/coreui/coreui/commit/5cf8f7a6da6d3a2052447765a1e4369191ab5b4d)
-- refactor: improve buttons generator syntax [`22eff29`](https://github.com/coreui/coreui/commit/22eff298e17574b8bf26d0ef46eac2421d850190)
-- refactor: change `--cui-sidebar-occupy` to `--cui-sidebar-occupy-start` and add `--cui-sidebar-occupy-end` [`3d9c15b`](https://github.com/coreui/coreui/commit/3d9c15b262ba171f29434b0f67f09efc95f4b44a)
-- refactor: add SCSS files to generate RTL only version [`d8221f7`](https://github.com/coreui/coreui/commit/d8221f791567b63988b069021e9a1ce66ae41ca3)
-- refactor: change `.sidebar-right` to `.sidebar-end` [`e1cb24c`](https://github.com/coreui/coreui/commit/e1cb24c267635c0763e2bccd9aa093e87739eb75)
-- refactor: remove str-replace function from SVG icons [`845c82c`](https://github.com/coreui/coreui/commit/845c82c2a8b655ad15c119e642c870d505d9d87e)
-- refactor: update `.nav-group-toggle` icon [`f5047b3`](https://github.com/coreui/coreui/commit/f5047b39c879b7ff2d0bb242ad1ad6d9e4187425)
-- refactor(Progress): improve syntax [`1b22531`](https://github.com/coreui/coreui/commit/1b225310f7bae2480ba21fc7b89c5a1ea2fc2e1a)
-- refactor: update utilities generator [`b09346b`](https://github.com/coreui/coreui/commit/b09346b69c28865b27a5251c853ebb498c01f2c3)
-- refactor: change `.sidebar-nav-sm` to `.compact` [`818540b`](https://github.com/coreui/coreui/commit/818540b7396545b9a039b360c897940f81b8002d)
-- refactor: disable RTL by default [`58c153f`](https://github.com/coreui/coreui/commit/58c153ffa99c054c938ee680af518804b416d885)
-- refactor: change `--#{$variable-prefix}alert-bg` to `--#{$variable-prefix}alert-background` [`1b8f9e7`](https://github.com/coreui/coreui/commit/1b8f9e71dfc2da45b64008207d5b91f72f8c8ee3)
-
-## [v4.0.5-alpha.2](https://github.com/coreui/coreui/compare/v4.0.5-alpha.1...v4.0.5-alpha.2)
-
-> 19 March 2021
-
-### Features
-
-- feat(Badge): add `badge-sm` [`8afa29b`](https://github.com/coreui/coreui/commit/8afa29be9a15696fb6755b7cb9bac3f67b478838)
-- feat: add CSS Vars to border utilities [`d96aa5b`](https://github.com/coreui/coreui/commit/d96aa5bf8d89080644a0d896ed31cf8595f0db63)
-- feat: add `contrast-ratio-correction` function [`c3e2cdc`](https://github.com/coreui/coreui/commit/c3e2cdc0d084a2b8cd4a4fa1b01f4824cc4e13e6)
-
-### Fix
-
-- fix(carousel): switch prev/next directions in RTL [`b85ca04`](https://github.com/coreui/coreui/commit/b85ca045e057d6f5982cc0cc9de4bfbf8b252a3d)
-- fix: remove $ [`3c210f8`](https://github.com/coreui/coreui/commit/3c210f8373c500e017867e1d6a44a095c77c7a1d)
-- fix(navs): ensure button will grow in fill/justified nav [`bed8fc8`](https://github.com/coreui/coreui/commit/bed8fc8381be8f9aad7ac95727be4ab8975b4f94)
-- fix(forms): validated controls in input-group [`ac3a106`](https://github.com/coreui/coreui/commit/ac3a1069b139c12d95ca1b6ac2798e56cf01a83e)
-- fix: wrong name in border-color property [`554aa81`](https://github.com/coreui/coreui/commit/554aa819955d45a862511ea1f99803e67ebeba93)
-- fix: the wrong contrast ratio for default text colors [`b5d3fb6`](https://github.com/coreui/coreui/commit/b5d3fb65037a5e4c6c81fad7db1789aa54ca6579)
-- fix: wrong `nth-child` value [`e07c7ec`](https://github.com/coreui/coreui/commit/e07c7ec0a78a5f4dee7f8270888e2d03873256d0)
-- fix(list-group): properly set a color on list-group-items [`0bdf931`](https://github.com/coreui/coreui/commit/0bdf9315077d22022a1f35b60b830398825098ce)
-- fix(Sidebar Nav): nav-link has wrong bg color on hover [`55f4403`](https://github.com/coreui/coreui/commit/55f440350bb0c775d2b413d4e2a089067d12da75)
-
-### Refactor
-
-- refactor(Sidebar): change default responsive behaviour [`8f9ba8e`](https://github.com/coreui/coreui/commit/8f9ba8e2b1ebe2edf528c01364000a74856578bc)
-- refactor: update text colors [`007ec95`](https://github.com/coreui/coreui/commit/007ec958dbc4ecfd858e8ab49f65dcd51a75fdd1)
-- refactor: simplify CSS Variables [`75706ab`](https://github.com/coreui/coreui/commit/75706ab512cfaac62c80e5ba01de5b062f202a30)
-- refactor: update togglers [`238590a`](https://github.com/coreui/coreui/commit/238590ab0ec36d4dc6b98c465b8e60bc7296feca)
-- refactor(Sidebar): refactor responsive behavior [`0a02a32`](https://github.com/coreui/coreui/commit/0a02a32f8897c34c7eefe7752e31e049e848e291)
-- refactor: add contrast ratio checker [`bcc6db7`](https://github.com/coreui/coreui/commit/bcc6db7d7611ac65d7a2057172d28a4f6f48c03b)
-- refactor: add CSS Variables [`a165df0`](https://github.com/coreui/coreui/commit/a165df026d58529379a98e2a48eb08f9e0246b72)
-- refactor: add missing CSS Variables [`beee33b`](https://github.com/coreui/coreui/commit/beee33b3edc2ff5ca9ed512007bcf3cc0d1f28e8)
-- refactor: rename `_sidebarInterface` to `sidebarInterface` [`993069d`](https://github.com/coreui/coreui/commit/993069deef08f349a0e4092c36f9dfb4fa953a80)
-- refactor: add CSS Variables [`b823216`](https://github.com/coreui/coreui/commit/b823216f9e0c74fa18c2854b7eafcb3014422bf3)
-
-## [v4.0.5-alpha.1](https://github.com/coreui/coreui/compare/v4.0.5-alpha.0...v4.0.5-alpha.1)
-
-> 17 January 2021
-
-### Fix
-
-- fix: replace `border-{left|right}` utilities with `border-{start|end}` [`ba0ee67`](https://github.com/coreui/coreui/commit/ba0ee673b181f27a136982594e8fd8765b150ffc)
-- refactor: update size of navs; fix: position of close button [`bf3f6fc`](https://github.com/coreui/coreui/commit/bf3f6fc522d61327e610a48cbeabb635e1364e32)
-
-### Refactor
-
-- refactor: update size of navs; fix: position of close button [`bf3f6fc`](https://github.com/coreui/coreui/commit/bf3f6fc522d61327e610a48cbeabb635e1364e32)
-- refactor: redesign close button [`4d33268`](https://github.com/coreui/coreui/commit/4d33268d9031afa43ff932de4976fb872b011d00)
-- refactor: update subcomponents heights [`26f9252`](https://github.com/coreui/coreui/commit/26f9252cd9f0dbefb8ed405502560f30c1439397)
diff --git a/LICENSE b/LICENSE
index dda75ca9a5..011fbbab11 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2011-2022 Twitter, Inc.
-Copyright (c) 2011-2022 The Bootstrap Authors
+Copyright (c) 2025 creativeLabs Εukasz Holeczek
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -10,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
index 15f7ce4bb7..d6554cebe9 100644
--- a/README.md
+++ b/README.md
@@ -7,23 +7,40 @@
CoreUI
- Open Source UI Components Library built on top of Bootstrap 5.
+ An advanced UI library based on Bootstrap 5 β CoreUI extends Bootstrap with PRO components, and ready-to-use admin templates for React, Angular, Vue, and more.
- Explore CoreUI docs Β»
+ Explore CoreUI docs Β»