XhmikosR
90021886f6
Update devDependencies ( #36513 )
...
* eslint ^8.16.0 → ^8.17.0
* sass ^1.52.1 → ^1.52.2
* stylelint-config-twbs-bootstrap ^3.2.0 → ^4.0.0
2022-06-07 07:33:32 +03:00
Patrick H. Lauke
af0c1d8618
Improve accessible name of version dropdown in docs navbar ( #36495 )
...
- add `aria-hidden="true"` to the "Bootstrap" text that is hidden on large screens
- add separate visually-hidden "Bootstrap", which will be part of the accessible name regardless of whether the other string is visible or not (on large screen)
- extra visually-hidden text to give some context - that the dropdown is about switching versions
- remove the redundant id/aria-labelledby for the dropdown
2022-06-05 09:59:41 +01:00
Julien Déramond
5b0bf3f49a
Docs: Add a Vite Getting Started guide ( #36412 )
...
* Docs: Add a Vite Getting Started guide
* Fix npm run docs temporarily
* Fix cspell and lint
* Uncomment the 2nd part
* .
* Make it work without dist
* Updates after merges of Parcel/Webpack guides rewriting
* Update images
* Replace dev images
* Compress the new images better
* Update site/content/docs/5.2/customize/optimize.md
Co-authored-by: Mark Otto <otto@github.com>
* Update site/content/docs/5.2/getting-started/vite.md
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2022-06-04 09:42:32 -07:00
Patrick H. Lauke
8965b11dd5
Remove confusing unnecessary id/aria-labelledby for dropdown menus ( #36487 )
...
see https://github.com/twbs/bootstrap/discussions/35755
Note that even the APG guide for disclosure widgets doesn't use this optional "nice-to-have" extra bit https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ (though they do use `aria-controls`, which in most current browser/AT combos is borked though)
2022-06-03 11:18:22 +01:00
Patrick H. Lauke
3102b4a3e9
Update some WCAG links, expand sass.md contrast explanation ( #36489 )
2022-06-03 10:42:49 +01:00
Julien Déramond
6d5a70340d
Docs: fix some ARIA Authoring Practices Guides broken links ( #36488 )
...
* Docs: fix some ARIA Authoring Practices Guides broken link
2022-06-02 22:10:22 +01:00
louismaxime.piton
c137d11aa2
Re-ordering js default objects
2022-06-01 19:24:45 -07:00
Mark Otto
824c5a077b
Fix .dropdown-item border-radius when -padding-y is 0
2022-06-01 18:41:26 -07:00
Julien Déramond
ac89c3692b
Docs: remove unused _algolia.scss
2022-06-01 14:24:08 -07:00
Julien Déramond
29766b2db2
Docs: fix Reboot Horizontal rules using border utilities
2022-06-01 14:14:06 -07:00
XhmikosR
eb17d3d760
Update devDependencies ( #36481 )
...
* hugo-bin ^0.87.1 → ^0.88.1
* rollup ^2.74.1 → ^2.75.5
* stylelint-config-twbs-bootstrap ^3.1.0 → ^3.2.0
2022-06-01 18:19:32 +03:00
dependabot[bot]
83cb588f94
Bump streetsidesoftware/cspell-action from 1 to 2 ( #36473 )
...
Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action ) from 1 to 2.
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
dependency-type: direct:production
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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-31 17:52:57 +03:00
dependabot[bot]
dcb4d5e1df
Bump stylelint from 14.8.3 to 14.8.5 ( #36472 )
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.8.3 to 14.8.5.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.8.3...14.8.5 )
---
updated-dependencies:
- dependency-name: stylelint
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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-31 17:51:01 +03:00
dependabot[bot]
753698fea0
Bump @babel/preset-env from 7.18.0 to 7.18.2 ( #36470 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.0 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.2/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
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>
2022-05-31 17:48:37 +03:00
dependabot[bot]
f5dd354a25
Bump @babel/core from 7.18.0 to 7.18.2 ( #36469 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.18.0 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.2/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-31 17:43:18 +03:00
dependabot[bot]
e9b901785a
Bump terser from 5.13.1 to 5.14.0 ( #36468 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.13.1 to 5.14.0.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.13.1...v5.14.0 )
---
updated-dependencies:
- dependency-name: terser
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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-31 17:39:58 +03:00
dependabot[bot]
28b1bc67b1
Bump karma-jasmine-html-reporter from 1.7.0 to 2.0.0 ( #36467 )
...
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter ) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases )
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.7.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: karma-jasmine-html-reporter
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>
2022-05-31 17:36:30 +03:00
Louis-Maxime Piton
d388bd6e1b
JS: tests fixes & standardization of spies usage ( #36398 )
...
* Fix carousel spec typo
* Change carousel test name in align with testing method
* Make the spies declarations the same everywhere
2022-05-31 11:18:32 +03:00
mcoms
78c0ad8044
fix alert border radius
2022-05-30 09:26:41 -07:00
Julien Déramond
ef3ecaf997
Docs: Use example shortcode for all Button groups ( #36450 )
2022-05-30 07:27:48 +02:00
GeoSot
651dae6d0f
Add some details on "javascript" page ( #36363 )
...
* docs: Add more details on "getting-started -> javascript" page & group jQuery stuff
* Update after feedback
* Rewrite some content
- Shorten copy here and there
- Reduce some callouts that are entire sections with h2 headings
- Re-arrange a couple things
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-05-27 19:06:07 -07:00
Julien Déramond
8b85267739
Fix StackBlitz examples by embedding snippets.js when needed ( #36352 )
...
* Fix StackBlitz examples by embedding snippets.js when needed
* Fix Popovers
* Fix tooltips
* Fix Toasts
* Add comment sections
* Fix Alerts
* Indeterminate heckboxes + classes handling
* Nothing to do for links
* Fix modals
* Nothing to do for Offcanvas
* Remove correctly .bd-example
* Add body .p-3 for all StackBlitz examples
2022-05-26 14:29:08 -07:00
Mark Otto
4a3c004c34
Update Sass for computing .table-group-divider
border ( #36446 )
...
* Update Sass for computing .table-group-divider border
* Remove stylelint rule
2022-05-26 14:23:54 -07:00
Mark Otto
23c4a96726
Update import order for utilities API docs ( #36444 )
...
* Update import order for utilities API docs
* Add more complex examples, clarify things
* typo
2022-05-26 14:11:27 -07:00
XhmikosR
0c5cc1bc28
Docs: improve image compression ( #36346 )
2022-05-25 09:41:15 +03:00
Mark Otto
461596e5ea
Add docs info for using JS w/ ESM shim ( #36414 )
...
* Docs: dependencies mgmt for vanilla ESM in browser
Doc change for https://github.com/twbs/bootstrap/issues/31944
* Update javascript.md
* Update javascript.md
* Update .cspell.json
* Update javascript.md
* Update javascript.md
* rewrite
* Add link
* edit
* eslint-skip
Co-authored-by: Caspar MacRae <earcam@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-24 10:52:46 -07:00
Louis-Maxime Piton
dea14df8ca
CSS: doc fixes ( #36425 )
...
* Remove unused attributes
* Use utilities rather than using new CSS
* Removed unused class
* Change StackBlitz icon `aria-label` + small inconsistency
2022-05-24 10:39:57 -07:00
dependabot[bot]
afef596f20
Bump stylelint-config-twbs-bootstrap from 3.0.1 to 3.1.0 ( #36428 )
...
* Bump stylelint-config-twbs-bootstrap from 3.0.1 to 3.1.0
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases )
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v3.0.1...v3.1.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-twbs-bootstrap
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update .stylelintrc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-24 09:47:44 +03:00
XhmikosR
39b609431b
Update devDependencies ( #36427 )
...
* @babel/core ^7.17.10 → ^7.18.0
* @babel/preset-env ^7.17.10 → ^7.18.0
* eslint ^8.15.0 → ^8.16.0
* eslint-config-xo ^0.40.0 → ^0.41.0
* hugo-bin ^0.86.0 → ^0.87.1
* postcss ^8.4.13 → ^8.4.14
* rollup ^2.72.1 → ^2.74.1
* sass ^1.51.0 → ^1.52.1
* stylelint ^14.8.2 → ^14.8.3
2022-05-24 07:24:28 +03:00
Mark Otto
427c089961
Stylelint: Disable custom-property-empty-line-before
2022-05-22 19:58:14 -07:00
Mark Otto
d17fe26dcf
Rewrite Parcel guide ( #36411 )
...
* Rewrite Parcel guide
* update to match latest webpack guide, add images
* eslint-skip
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* match parcel to webpack, share footer, consistent use of no ;
* Update site/content/docs/5.2/getting-started/parcel.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* edits from code review
* Add custom images
* add image compression action from blog
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-05-22 17:47:01 -07:00
HDPham
7ed1a5f821
Truncate text to prevent multiline floating label
2022-05-21 10:47:34 -07:00
汪心禾
8d87997303
Remove is-invalid from textarea validation example
2022-05-21 10:18:16 -07:00
Mark Otto
3a327c9015
Rewrite Webpack guide ( #36382 )
...
* Rewrite Webpack guide
Co-Authored-By: GeoSot <geo.sotis@gmail.com>
Co-Authored-By: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>
* rewrite some pieces
* eslint-skip
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>
2022-05-20 13:43:30 -07:00
Ryan Berliner
27261bd495
add back focus box shadow on btn link
2022-05-20 11:19:17 -07:00
Mark Otto
eaf760e4bc
Update form-control-color sizing and styles ( #36156 )
2022-05-20 11:02:32 -07:00
Louis-Maxime Piton
e2e107fc72
CSS: few proposals ( #36406 )
...
* Something to try about `!important` in color-bg helper
* Better understanding border utility `.border-*-0`
* Having rounded numbers of px
2022-05-20 10:28:31 -07:00
Louis-Maxime Piton
8959bf3f0b
Docs: quick fixes for HTML ( #36395 )
...
* Using the new helper in the doc
* Remove input from `Tab` access
* Change scrollspy code examples
* Reordering tables for JS
* Fix for parcel file
* Center align all the code example texts in layout
* Alphabetical reorder the helpers
2022-05-20 10:21:48 -07:00
Liam
73e45ee36c
Update introduction.md
...
Juste a quotation mark.
2022-05-20 09:38:34 -07:00
Julien Déramond
416f4905f1
Fix missing Swag Store URL
2022-05-17 07:51:58 -07:00
GeoSot
b5a956781f
Assorted Event handler patches ( #36171 )
...
* EventHandler: rename functions & variables
* EventHandler: export event hydration to function
* EventHandler: rename variable
* EventHandler: simplify checks and make use of one variable
Move check of falsie delegated-selector, caused by tooltip.js
* EventHandler: more renaming
* Update event-handler.js
* bump bunldewatch
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-16 07:59:50 -07:00
Christian Oliff
da541014cb
Correct rounded sizes number
2022-05-16 07:14:42 -07:00
Mark Otto
e12e0806fb
Update search box styling and position
2022-05-15 14:22:33 -07:00
Justin Kruit
bb4f9d74fb
Offcanvas not showing with .showing ( #36353 )
...
The transform of .showing was being overridden by .offcanvas.offcanvas-start, while .show wasn't. This resulted in an illusion of the offcanvas waiting for the backdrop, reported in #36347 . Moving the show classes below the position classes fixes this problem.
2022-05-14 21:36:01 +03:00
Mark Otto
46bb9e78d7
Fix homepage npm install snippet
2022-05-13 20:16:05 +03:00
XhmikosR
ab37f63b3d
docs: add the version in npm/yarn commands
2022-05-13 20:16:05 +03:00
XhmikosR
fca04c0713
Dist
2022-05-13 19:44:01 +03:00
Mark Otto
eacee3ad3f
Add Fathom Analytics
2022-05-13 19:44:01 +03:00
Mark Otto
f7e8ca91e0
Prepare v5.2.0-beta1
2022-05-13 19:44:01 +03:00
Julien Déramond
8d016c6cf9
Fix a11y keyboard access to docs navigation ( #36340 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-13 19:28:55 +03:00