0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

Compare commits

...

10 Commits

Author SHA1 Message Date
Simmon Li
8563f957f0
Update site/content/docs/5.3/components/modal.md
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-27 11:58:05 -05:00
Simmon Li
3c53220510
Update site/content/docs/5.3/components/modal.md
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-27 11:57:53 -05:00
Simmon Li
19bdf8997a
Update site/content/docs/5.3/components/modal.md 2024-02-27 11:53:39 -05:00
Julien Déramond
e851f97565
Merge branch 'main' into patch-1 2024-02-27 17:49:55 +01:00
dependabot[bot]
99562ba37c
Build(deps-dev): Bump sass-true from 7.0.1 to 8.0.0 (#39714)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 58s
CodeQL / Analyze (push) Failing after 37s
cspell / cspell (push) Successful in 22s
CSS / css (push) Successful in 48s
Docs / docs (push) Failing after 23s
JS Tests / JS Tests (push) Failing after 42s
Lint / lint (push) Successful in 44s
CSS (node-sass) / css (push) Successful in 36s
Release notes / update_release_draft (push) Has been skipped
Bumps [sass-true](https://github.com/oddbird/true) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/oddbird/true/releases)
- [Changelog](https://github.com/oddbird/true/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oddbird/true/compare/v7.0.1...v8.0.0)

---
updated-dependencies:
- dependency-name: sass-true
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:24:40 +02:00
dependabot[bot]
723fff975e
Build(deps-dev): Bump eslint from 8.56.0 to 8.57.0 (#39711)
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:20:22 +02:00
dependabot[bot]
c55a5fa698
Build(deps-dev): Bump nodemon from 3.0.3 to 3.1.0 (#39713)
Bumps [nodemon](https://github.com/remy/nodemon) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.0.3...v3.1.0)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:19:08 +02:00
dependabot[bot]
6f1300068b
Build(deps-dev): Bump hugo-bin from 0.120.2 to 0.120.4 (#39715)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.120.2 to 0.120.4.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.120.2...v0.120.4)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:17:48 +02:00
dependabot[bot]
4f1fb5094f
Build(deps-dev): Bump hugo-bin from 0.119.0 to 0.120.2 (#39704)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 59s
CodeQL / Analyze (push) Failing after 40s
cspell / cspell (push) Successful in 22s
CSS / css (push) Successful in 48s
Docs / docs (push) Failing after 22s
JS Tests / JS Tests (push) Failing after 41s
Lint / lint (push) Successful in 43s
CSS (node-sass) / css (push) Successful in 38s
Release notes / update_release_draft (push) Has been skipped
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.119.0 to 0.120.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.119.0...v0.120.2)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 22:04:59 +02:00
dependabot[bot]
dc7ce9fbda
Build(deps-dev): Bump lockfile-lint from 4.13.1 to 4.13.2 (#39703)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint/tree/HEAD/packages/lockfile-lint) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Changelog](https://github.com/lirantal/lockfile-lint/blob/main/packages/lockfile-lint/CHANGELOG.md)
- [Commits](https://github.com/lirantal/lockfile-lint/commits/lockfile-lint@4.13.2/packages/lockfile-lint)

---
updated-dependencies:
- dependency-name: lockfile-lint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 21:59:12 +02:00
3 changed files with 56 additions and 59 deletions

99
package-lock.json generated
View File

@ -31,7 +31,7 @@
"bundlewatch": "^0.3.3",
"clean-css-cli": "^5.6.3",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-xo": "^0.44.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.29.1",
@ -40,7 +40,7 @@
"find-unused-sass-variables": "^5.0.0",
"globby": "^11.1.0",
"hammer-simulator": "0.0.1",
"hugo-bin": "^0.119.0",
"hugo-bin": "^0.120.4",
"ip": "^2.0.1",
"jasmine": "^5.1.0",
"jquery": "^3.7.1",
@ -53,8 +53,8 @@
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-rollup-preprocessor": "7.0.7",
"lockfile-lint": "^4.13.1",
"nodemon": "^3.0.3",
"lockfile-lint": "^4.13.2",
"nodemon": "^3.1.0",
"npm-run-all2": "^6.1.2",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
@ -62,7 +62,7 @@
"rollup-plugin-istanbul": "^5.0.0",
"rtlcss": "^4.1.1",
"sass": "^1.71.1",
"sass-true": "^7.0.1",
"sass-true": "^8.0.0",
"shelljs": "^0.8.5",
"stylelint": "^16.2.1",
"stylelint-config-twbs-bootstrap": "^14.0.0",
@ -1954,9 +1954,9 @@
}
},
"node_modules/@eslint/js": {
"version": "8.56.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz",
"integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==",
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@ -4802,16 +4802,16 @@
}
},
"node_modules/eslint": {
"version": "8.56.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz",
"integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==",
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "8.56.0",
"@humanwhocodes/config-array": "^0.11.13",
"@eslint/js": "8.57.0",
"@humanwhocodes/config-array": "^0.11.14",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
@ -6316,9 +6316,9 @@
}
},
"node_modules/hugo-bin": {
"version": "0.119.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.119.0.tgz",
"integrity": "sha512-RnjlxHKdOjo7i7yRX/001t53142tC9NTa5JVrnPCTpX2kNQQCz5XdI/WWX7emf0dNkxipj55Z58EsA2ft9W16g==",
"version": "0.120.4",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.120.4.tgz",
"integrity": "sha512-XmyGkto8OXSdd/iqgKZ4soLilqK5sYEbHEK1qVMCYS3qnQ6Ed0hnmkIWzMNTP9ghHAGkiyLle3SwlMoiLh/XDA==",
"dev": true,
"funding": [
{
@ -7622,9 +7622,9 @@
}
},
"node_modules/lockfile-lint": {
"version": "4.13.1",
"resolved": "https://registry.npmjs.org/lockfile-lint/-/lockfile-lint-4.13.1.tgz",
"integrity": "sha512-JUOsgO2wUGSvo5UzVAj4z0IwQkRLgDY3OnsusnWy/uCUzpG9PDUJtMn718KjkSmnmmxwXqqWlc/Fvho1GaEFGg==",
"version": "4.13.2",
"resolved": "https://registry.npmjs.org/lockfile-lint/-/lockfile-lint-4.13.2.tgz",
"integrity": "sha512-yeg0vJ3NjC6OVMZtC+nSLLavu/e8LE5FZp9u0Itqyt7I0gYYCgGxAsJV3TJ7WtaJd4PahineJvHqSk/4sqzU8w==",
"dev": true,
"dependencies": {
"cosmiconfig": "^8.2.0",
@ -8062,9 +8062,9 @@
"dev": true
},
"node_modules/nodemon": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.3.tgz",
"integrity": "sha512-7jH/NXbFPxVaMwmBCC2B9F/V6X1VkEdNgx3iu9jji8WxWcvhMWkmhNWhI5077zknOnZnBzba9hZP6bCPJLSReQ==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.0.tgz",
"integrity": "sha512-xqlktYlDMCepBJd43ZQhjWwMw2obW/JRvkrLxq5RCNcuDDX1DbcPT+qT1IlIIdf+DhnWs90JpTMe+Y5KxOchvA==",
"dev": true,
"dependencies": {
"chokidar": "^3.5.2",
@ -9812,20 +9812,17 @@
}
},
"node_modules/sass-true": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/sass-true/-/sass-true-7.0.1.tgz",
"integrity": "sha512-7qt24tkX45b3Cs/U5e6+OiHHoorCISzrDACQLtPV8cHDZc//++KMUFSJisXhoVfwuWEVJugzImQITI1GfzoTFQ==",
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/sass-true/-/sass-true-8.0.0.tgz",
"integrity": "sha512-bk6m12BFxjRWnu0DHfqmsF36Eoxg3grLlLM4PhcgN6Znd9DvK2xVGJtWQ05u5RqEos3JaIX50MMN+gsAYUnEDA==",
"dev": true,
"dependencies": {
"@adobe/css-tools": "^4.3.2",
"@adobe/css-tools": "^4.3.3",
"jest-diff": "^29.7.0",
"lodash": "^4.17.21"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"peerDependencies": {
"sass": ">=1.45.0"
"node": ">=18"
}
},
"node_modules/seek-bzip": {
@ -13079,9 +13076,9 @@
}
},
"@eslint/js": {
"version": "8.56.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz",
"integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==",
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
"dev": true
},
"@humanwhocodes/config-array": {
@ -15119,16 +15116,16 @@
"dev": true
},
"eslint": {
"version": "8.56.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz",
"integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==",
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "8.56.0",
"@humanwhocodes/config-array": "^0.11.13",
"@eslint/js": "8.57.0",
"@humanwhocodes/config-array": "^0.11.14",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
@ -16223,9 +16220,9 @@
}
},
"hugo-bin": {
"version": "0.119.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.119.0.tgz",
"integrity": "sha512-RnjlxHKdOjo7i7yRX/001t53142tC9NTa5JVrnPCTpX2kNQQCz5XdI/WWX7emf0dNkxipj55Z58EsA2ft9W16g==",
"version": "0.120.4",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.120.4.tgz",
"integrity": "sha512-XmyGkto8OXSdd/iqgKZ4soLilqK5sYEbHEK1qVMCYS3qnQ6Ed0hnmkIWzMNTP9ghHAGkiyLle3SwlMoiLh/XDA==",
"dev": true,
"requires": {
"@xhmikosr/bin-wrapper": "^12.0.0",
@ -17173,9 +17170,9 @@
}
},
"lockfile-lint": {
"version": "4.13.1",
"resolved": "https://registry.npmjs.org/lockfile-lint/-/lockfile-lint-4.13.1.tgz",
"integrity": "sha512-JUOsgO2wUGSvo5UzVAj4z0IwQkRLgDY3OnsusnWy/uCUzpG9PDUJtMn718KjkSmnmmxwXqqWlc/Fvho1GaEFGg==",
"version": "4.13.2",
"resolved": "https://registry.npmjs.org/lockfile-lint/-/lockfile-lint-4.13.2.tgz",
"integrity": "sha512-yeg0vJ3NjC6OVMZtC+nSLLavu/e8LE5FZp9u0Itqyt7I0gYYCgGxAsJV3TJ7WtaJd4PahineJvHqSk/4sqzU8w==",
"dev": true,
"requires": {
"cosmiconfig": "^8.2.0",
@ -17490,9 +17487,9 @@
"dev": true
},
"nodemon": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.3.tgz",
"integrity": "sha512-7jH/NXbFPxVaMwmBCC2B9F/V6X1VkEdNgx3iu9jji8WxWcvhMWkmhNWhI5077zknOnZnBzba9hZP6bCPJLSReQ==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.0.tgz",
"integrity": "sha512-xqlktYlDMCepBJd43ZQhjWwMw2obW/JRvkrLxq5RCNcuDDX1DbcPT+qT1IlIIdf+DhnWs90JpTMe+Y5KxOchvA==",
"dev": true,
"requires": {
"chokidar": "^3.5.2",
@ -18661,12 +18658,12 @@
}
},
"sass-true": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/sass-true/-/sass-true-7.0.1.tgz",
"integrity": "sha512-7qt24tkX45b3Cs/U5e6+OiHHoorCISzrDACQLtPV8cHDZc//++KMUFSJisXhoVfwuWEVJugzImQITI1GfzoTFQ==",
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/sass-true/-/sass-true-8.0.0.tgz",
"integrity": "sha512-bk6m12BFxjRWnu0DHfqmsF36Eoxg3grLlLM4PhcgN6Znd9DvK2xVGJtWQ05u5RqEos3JaIX50MMN+gsAYUnEDA==",
"dev": true,
"requires": {
"@adobe/css-tools": "^4.3.2",
"@adobe/css-tools": "^4.3.3",
"jest-diff": "^29.7.0",
"lodash": "^4.17.21"
}

View File

@ -115,7 +115,7 @@
"bundlewatch": "^0.3.3",
"clean-css-cli": "^5.6.3",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-xo": "^0.44.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.29.1",
@ -124,7 +124,7 @@
"find-unused-sass-variables": "^5.0.0",
"globby": "^11.1.0",
"hammer-simulator": "0.0.1",
"hugo-bin": "^0.119.0",
"hugo-bin": "^0.120.4",
"ip": "^2.0.1",
"jasmine": "^5.1.0",
"jquery": "^3.7.1",
@ -137,8 +137,8 @@
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-rollup-preprocessor": "7.0.7",
"lockfile-lint": "^4.13.1",
"nodemon": "^3.0.3",
"lockfile-lint": "^4.13.2",
"nodemon": "^3.1.0",
"npm-run-all2": "^6.1.2",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
@ -146,7 +146,7 @@
"rollup-plugin-istanbul": "^5.0.0",
"rtlcss": "^4.1.1",
"sass": "^1.71.1",
"sass-true": "^7.0.1",
"sass-true": "^8.0.0",
"shelljs": "^0.8.5",
"stylelint": "^16.2.1",
"stylelint-config-twbs-bootstrap": "^14.0.0",

View File

@ -869,10 +869,10 @@ myModalEl.addEventListener('hidden.bs.modal', event => {
// do something...
})
myModalEl.addEventListner('hide.bs.modal', event => {
myModalEl.addEventListener('hide.bs.modal', event => {
// you can also abort the event...
if (!valid) {
return event.preventDefault();
return event.preventDefault()
}
}
})
```