]>
git.ipfire.org Git - thirdparty/bootstrap.git/log
XhmikosR [Fri, 3 Dec 2021 12:46:37 +0000 (14:46 +0200)]
WIP
XhmikosR [Wed, 28 Aug 2019 14:05:00 +0000 (17:05 +0300)]
Add pa11y-ci for accessibility testing.
Use pa11y-ci-reporter-html and also upload the HTML results to CI if there are any failures
Mark Otto [Fri, 3 Dec 2021 08:08:01 +0000 (00:08 -0800)]
Docs offcanvas navbar (#34487)
* Redesign docs navbar to use offcanvas, tweak overall padding while I'm here
* Match code snippets to new gutter width
* Replace value with docs-specific variable
Opted not to do a CSS variable here since on .bd-content it would be inherited into our examples
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Thu, 2 Dec 2021 21:02:11 +0000 (23:02 +0200)]
CI: add `workflow_dispatch` (#35454)
XhmikosR [Thu, 2 Dec 2021 20:53:12 +0000 (22:53 +0200)]
README.md: wrap file contents in a `details` element (#35452)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Louis-Maxime Piton [Thu, 2 Dec 2021 10:01:11 +0000 (11:01 +0100)]
Tests: Minor fixes (#35455)
GeoSot [Mon, 29 Nov 2021 14:25:12 +0000 (16:25 +0200)]
Tooltip/Popover: add underscore prefix to protected functions
GeoSot [Mon, 29 Nov 2021 14:16:42 +0000 (16:16 +0200)]
Tooltip: a simple code-block position change
GeoSot [Sun, 28 Nov 2021 12:18:59 +0000 (14:18 +0200)]
Tooltip: simplify popper check
GeoSot [Sun, 28 Nov 2021 02:02:10 +0000 (04:02 +0200)]
Tooltip: refactor `_hoverState` to Boolean to achieve better control
GeoSot [Sun, 28 Nov 2021 01:58:59 +0000 (03:58 +0200)]
Tooltip: merge timeout functionality
GeoSot [Sun, 28 Nov 2021 01:09:42 +0000 (03:09 +0200)]
Tooltip: Change `_enter` & `_leave` to work without arguments
GeoSot [Sun, 28 Nov 2021 01:06:15 +0000 (03:06 +0200)]
Tooltip: Remove redundant `config.delay` check
`config.delay` is always an object after initialization
GeoSot [Sun, 28 Nov 2021 00:46:28 +0000 (02:46 +0200)]
Tooltip: Remove `Data.set` usage for dynamically created tip
This is not used any further, so we were just setting it.
GeoSot [Fri, 26 Nov 2021 00:15:24 +0000 (02:15 +0200)]
Tooltip: merge `isAnimated` checks
GeoSot [Thu, 25 Nov 2021 18:33:42 +0000 (20:33 +0200)]
Tooltip: refactor jQueryInterface
GeoSot [Wed, 24 Nov 2021 00:07:17 +0000 (02:07 +0200)]
Dropdown: change doc for `data-bs-popper=none`
GeoSot [Sun, 10 Oct 2021 14:56:34 +0000 (17:56 +0300)]
Dropdown: clearMenus is always an event callback
GeoSot [Sun, 10 Oct 2021 13:47:02 +0000 (16:47 +0300)]
Dropdown: Clean more
GeoSot [Sun, 10 Oct 2021 13:39:47 +0000 (16:39 +0300)]
Dropdown: rename vars
GeoSot [Sun, 10 Oct 2021 13:31:39 +0000 (16:31 +0300)]
Dropdown: Remove redundant `Space` check
GeoSot [Sun, 10 Oct 2021 13:21:34 +0000 (16:21 +0300)]
Dropdown: Deduplicate complex check
GeoSot [Sun, 10 Oct 2021 12:39:47 +0000 (15:39 +0300)]
Dropdown: Remove redundant check since the `show` method already does it
GeoSot [Sun, 10 Oct 2021 12:24:07 +0000 (15:24 +0300)]
Dropdown: Change constant to the way we use it
GeoSot [Sun, 10 Oct 2021 12:09:57 +0000 (15:09 +0300)]
Dropdown: Merge `display='static'` & `isNavbar` functionality activating static popper with no styles attached
GeoSot [Sun, 10 Oct 2021 11:59:12 +0000 (14:59 +0300)]
Dropdown: Remove static method used once
GeoSot [Wed, 1 Dec 2021 14:49:02 +0000 (16:49 +0200)]
Dropdown tests: Use a function to improve readability (#35448)
XhmikosR [Wed, 1 Dec 2021 13:16:24 +0000 (15:16 +0200)]
Remove the now outdated build/svgo.yml (#35447)
GeoSot [Wed, 1 Dec 2021 13:10:10 +0000 (15:10 +0200)]
Fix popover arrow & tooltip template after the `setContent` addition (#35441)
GeoSot [Wed, 1 Dec 2021 12:53:56 +0000 (14:53 +0200)]
Tooltip: remove leftover method (#35440)
Remove a leftover after #32692
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Ethan Clevenger [Wed, 1 Dec 2021 12:34:03 +0000 (04:34 -0800)]
Update edge-to-edge design instructions (#35446)
Add note about margins to prevent overflow.
XhmikosR [Fri, 26 Nov 2021 08:15:58 +0000 (10:15 +0200)]
tests/unit/util/scrollbar.spec.js: rename function
`parseInt` is a global one.
XhmikosR [Fri, 26 Nov 2021 08:09:12 +0000 (10:09 +0200)]
tests: fix a few typos
XhmikosR [Fri, 26 Nov 2021 07:16:59 +0000 (09:16 +0200)]
tests: remove extra spaces, unneeded arrays and add missing newlines
XhmikosR [Thu, 14 Oct 2021 15:16:54 +0000 (18:16 +0300)]
tests: tweak Jasmine's matchers usage
Use:
* toBeNull
* toEqual
* toBeTrue
* toBeFalse
* toHaveSize
* toHaveClass
XhmikosR [Wed, 13 Oct 2021 05:42:21 +0000 (08:42 +0300)]
tests/browsers.js: remove unneeded export
Christopher Boik [Tue, 30 Nov 2021 14:41:08 +0000 (16:41 +0200)]
Fix variable name in customizing comment (#35414)
Correct table lightening variable to match the variable name defined and described in the loop variable section above
XhmikosR [Tue, 30 Nov 2021 06:36:39 +0000 (08:36 +0200)]
Update devDependencies (#35421)
* @popperjs/core ^2.10.2 → ^2.11.0
* cspell ^5.13.0 → ^5.13.1
* postcss ^8.3.11 → ^8.4.4
* rollup ^2.60.1 → ^2.60.2
* sass ^1.43.4 → ^1.44.0
GeoSot [Mon, 29 Nov 2021 12:32:11 +0000 (14:32 +0200)]
Alert: add a couple more tests (#35419)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
GeoSot [Mon, 29 Nov 2021 12:27:03 +0000 (14:27 +0200)]
BaseComponent: add a couple more tests (#35410)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
François Karman [Mon, 11 Oct 2021 19:07:46 +0000 (21:07 +0200)]
Update typography.md
remove a unnecessary <abbr> tag
Travis Risner [Fri, 26 Nov 2021 00:01:19 +0000 (18:01 -0600)]
Correctly implement RFS in `:root` CSS variable for `$body-font-size` (#35326)
* rfs fix
* Update scss/_root.scss
* Update _reboot.scss
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Si Nguyen [Tue, 16 Nov 2021 08:41:44 +0000 (15:41 +0700)]
Update _close.scss
GeoSot [Thu, 25 Nov 2021 18:08:11 +0000 (20:08 +0200)]
Clean tooltip component unneeded functionality (#32692)
GeoSot [Thu, 25 Nov 2021 17:39:13 +0000 (19:39 +0200)]
tooltip.js: use array.includes instead of for iteration (#35127)
GeoSot [Fri, 8 Oct 2021 09:14:45 +0000 (12:14 +0300)]
Change adjustDialog's if conditions to improve readability
GeoSot [Fri, 8 Oct 2021 00:23:23 +0000 (03:23 +0300)]
Add test for modal-content
GeoSot [Fri, 8 Oct 2021 00:19:18 +0000 (03:19 +0300)]
Respect modal's initial overflowY
GeoSot [Thu, 7 Oct 2021 23:55:11 +0000 (02:55 +0300)]
Remove some uncovered code that seems to be unused
GeoSot [Thu, 7 Oct 2021 23:46:11 +0000 (02:46 +0300)]
Change check for dynamic modal
GeoSot [Thu, 7 Oct 2021 23:27:00 +0000 (02:27 +0300)]
Tweak methods
Name them to be more descriptive and have agnostic functionality
GeoSot [Thu, 7 Oct 2021 23:19:19 +0000 (02:19 +0300)]
Some refactoring on modal, to improve readability and generic functionality
GeoSot [Thu, 25 Nov 2021 17:14:02 +0000 (19:14 +0200)]
Add a template factory helper to handle all template cases (#34519)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Wed, 24 Nov 2021 08:49:35 +0000 (10:49 +0200)]
build/change-version.js: fix wrong map usage (#35395)
GeoSot [Tue, 23 Nov 2021 15:37:14 +0000 (17:37 +0200)]
build: read & dynamically resolve `imports` on plugins build (#34509)
Our individual js/dist files are now deduplicated properly thus resulting in a size reduction, which varies from ~25% to ~60% depending on the components used. The average savings are 20% uncompressed and ~15% with gzip.
This will mostly benefit cases that more than one component is imported from js/dist. In all other cases it doesn't have any effect.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Neeraj Kumar Das [Tue, 23 Nov 2021 14:15:46 +0000 (19:45 +0530)]
Make footer examples responsive to mobile screens (#35365)
Julien Déramond [Tue, 23 Nov 2021 08:06:33 +0000 (09:06 +0100)]
Add missing scss/maps imports (#35373)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Tue, 23 Nov 2021 07:58:35 +0000 (09:58 +0200)]
Update devDependencies (#35368)
* @babel/preset-env ^7.16.0 → ^7.16.4
* cspell ^5.12.6 → ^5.13.0
* eslint ^8.2.0 → ^8.3.0
* eslint-plugin-unicorn ^38.0.1 → ^39.0.0
* hugo-bin ^0.77.2 → ^0.77.4
* karma ^6.3.8 → ^6.3.9
* rollup ^2.60.0 → ^2.60.1
XhmikosR [Tue, 16 Nov 2021 06:10:32 +0000 (08:10 +0200)]
Update devDependencies (#35356)
* eslint-plugin-import ^2.25.2 → ^2.25.3
* linkinator ^2.14.5 → ^2.16.2
* nodemon ^2.0.14 → ^2.0.15
* rollup ^2.59.0 → ^2.60.0
* terser ^5.9.0 → ^5.10.0
Mark Otto [Mon, 15 Nov 2021 11:03:48 +0000 (03:03 -0800)]
Move reassigned Sass maps for colors to another stylesheet (#34942)
Tobias Nießen [Mon, 15 Nov 2021 10:52:06 +0000 (11:52 +0100)]
Fix typo in vertical alignment of table cells (#35348)
XhmikosR [Tue, 9 Nov 2021 06:02:36 +0000 (08:02 +0200)]
Update devDependencies (#35322)
* cspell ^5.12.4 → ^5.12.6
* eslint ^8.1.0 → ^8.2.0
* eslint-plugin-unicorn ^37.0.1 → ^38.0.1
* hugo-bin ^0.76.1 → ^0.77.2
* karma ^6.3.7 → ^6.3.8
* linkinator ^2.14.4 → ^2.14.5
* postcss-cli ^9.0.1 → ^9.0.2
* rtlcss ^3.4.0 → ^3.5.0
Scott O'Hara [Tue, 9 Nov 2021 05:54:42 +0000 (00:54 -0500)]
floating-labels: remove aria-label in the select example (#35327)
While it is understood that this is just an example, the visible text (label) of "Works with selects" and the `aria-label="Floating label select example"` created a [WCAG 2.5.3 Label in name](https://www.w3.org/WAI/WCAG21/quickref/#label-in-name) failure.
As the `aria-label` isn't necessary here since this `select` is already provided an accessible name by its `label` element, removing the unnecessary `aria-label` seems the best course of action as:
* removing it solves the WCAG issue
* it removes the potential implication to developers that they'd even _need_ an `aria-label` here, let alone indirectly suggesting that it's ok for the visible text and accessible name to be out of alignment
Julien Déramond [Fri, 5 Nov 2021 18:36:56 +0000 (19:36 +0100)]
Fix spacing utility classes mentioned in navbar supported content documentation (#35328)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Christian Oliff [Wed, 3 Nov 2021 12:36:39 +0000 (21:36 +0900)]
README.md remove broken "David DM" dependency badges (#35313)
Mark Otto [Wed, 3 Nov 2021 12:31:21 +0000 (05:31 -0700)]
Update import stacks required for modifying utilities (#35320)
kyletsang [Sun, 10 Oct 2021 05:05:50 +0000 (22:05 -0700)]
Add top placement info to offcanvas docs
XhmikosR [Tue, 2 Nov 2021 06:09:33 +0000 (08:09 +0200)]
Update devDependencies (#35270)
* @babel/cli ^7.15.7 → ^7.16.0
* @babel/core ^7.15.8 → ^7.16.0
* @babel/preset-env ^7.15.8 → ^7.16.0
* autoprefixer ^10.3.7 → ^10.4.0
* cspell ^5.12.3 → ^5.12.4
* eslint ^8.0.1 → ^8.1.0
* karma ^6.3.5 → ^6.3.7
* karma-firefox-launcher ^2.1.1 → ^2.1.2
* rollup ^2.58.0 → ^2.59.0
* sass ^1.43.2 → ^1.43.4
Michael Sørensen [Mon, 1 Nov 2021 06:59:21 +0000 (07:59 +0100)]
`make-col-ready()`: remove the unused `$gutter` variable (#34334)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Mark Otto [Mon, 1 Nov 2021 06:39:48 +0000 (23:39 -0700)]
Always set the CSS variables for gutters in containers (#34644)
We already do this in rows, so to best support our containers, we need
to do it at the container level as well.
Fixes #32658, fixes #34614, closes #32658.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Julien Déramond [Mon, 1 Nov 2021 06:33:39 +0000 (07:33 +0100)]
Add missing `role="search"` and `type="search"` in navbar doc and examples (#35223)
* Add missing `role="search"` and `type="search"` in navbar doc and examples
* Update site/content/docs/5.1/components/navbar.md
* Remove warning callout about ensuring correct search role in navbar doc
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Christian Oliff [Mon, 1 Nov 2021 06:29:31 +0000 (15:29 +0900)]
update grid example docs (#35308)
Gaël Poupard [Fri, 29 Oct 2021 06:00:36 +0000 (08:00 +0200)]
Don't override CSS `direction` in code elements (#35230)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Gaël Poupard [Fri, 29 Oct 2021 05:53:42 +0000 (07:53 +0200)]
Ensure sufficient contrast in `accordion-item` (#35231)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Gaël Poupard [Fri, 29 Oct 2021 05:47:24 +0000 (07:47 +0200)]
Drop prefixed version of `::file-selector-button` (#35232)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Barabas [Thu, 28 Oct 2021 11:22:32 +0000 (13:22 +0200)]
images.md: remove zero-width space (#35234)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Oxydent [Tue, 26 Oct 2021 11:37:45 +0000 (13:37 +0200)]
fix(offcanvas): Adding titles class where missing (#35264)
Co-authored-by: louismaximepiton <louismaxime.piton@orange.com>
XhmikosR [Thu, 21 Oct 2021 13:40:29 +0000 (16:40 +0300)]
Update devDependencies (#35233)
* @rollup/plugin-commonjs ^21.0.0 → ^21.0.1
* @rollup/plugin-node-resolve ^13.0.5 → ^13.0.6
* clean-css-cli ^5.4.1 → ^5.4.2
* eslint ^8.0.0 → ^8.0.1
* karma ^6.3.4 → ^6.3.5
* nodemon ^2.0.13 → ^2.0.14
* postcss ^8.3.9 → ^8.3.11
* rtlcss ^3.3.0 → ^3.4.0
* sass ^1.42.1 → ^1.43.2
Gaël Poupard [Thu, 21 Oct 2021 13:33:29 +0000 (15:33 +0200)]
Fix typo in RTL Hello World! sentence (#35236)
* docs(RTL): fix typo in Hello World! sentence
* chore(docs): Cspell arabic words update
GeoSot [Wed, 13 Oct 2021 14:45:39 +0000 (17:45 +0300)]
tests: try to fix a few random failures (#35184)
* Change `Swipe` dispose spy on EventHandler
* Modal hide spy on backdrop hide
GeoSot [Sun, 10 Oct 2021 11:35:52 +0000 (14:35 +0300)]
Change the way collapse handles its children on opening
GeoSot [Sun, 10 Oct 2021 09:36:18 +0000 (12:36 +0300)]
collapse: extract duplicate code to a function
XhmikosR [Wed, 13 Oct 2021 12:56:37 +0000 (15:56 +0300)]
Update devDependencies (#35174)
* eslint ^7.32.0 → ^8.0.0
* eslint-plugin-import ^2.24.2 → ^2.25.2
* eslint-plugin-unicorn ^36.0.0 → ^37.0.1
* vnu-jar 21.10.8 → 21.10.12
XhmikosR [Wed, 13 Oct 2021 12:26:48 +0000 (15:26 +0300)]
Switch to Node.js 16 and npm 8. (#35178)
XhmikosR [Wed, 13 Oct 2021 12:19:28 +0000 (15:19 +0300)]
JS: minor refactoring (#35183)
* add missing comments
* shorten block comments
* reorder constants
* reorder public/private methods
* sort exports alphabetically in util/index.js
* fix a couple of typos
GeoSot [Tue, 12 Oct 2021 12:48:19 +0000 (15:48 +0300)]
Swipe: add test to ensure that it ignores `pinch` events (#35161)
Jesse Mandel [Mon, 11 Oct 2021 16:31:53 +0000 (09:31 -0700)]
Update nuget docs to specify only .NET Framework projects are supported. (#35124)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Mon, 11 Oct 2021 16:07:43 +0000 (19:07 +0300)]
Update devDependencies (#35155)
* @babel/core ^7.15.5 → ^7.15.8
* @babel/preset-env ^7.15.6 → ^7.15.8
* cspell ^5.12.0 → ^5.12.3
* linkinator ^2.14.3 → ^2.14.4
* vnu-jar 21.9.2 → 21.10.8
Geremia Taglialatela [Mon, 11 Oct 2021 14:41:43 +0000 (16:41 +0200)]
Add color and border-color css variables to tables (#35055)
GeoSot [Mon, 11 Oct 2021 14:04:43 +0000 (17:04 +0300)]
Extract Carousel's swipe functionality to a separate Class (#32999)
Mark Otto [Sun, 10 Oct 2021 11:56:35 +0000 (04:56 -0700)]
Reset z-index on .navbar-expand .offcanvas, plus prevent box-shadow issues (#35153)
XhmikosR [Sun, 10 Oct 2021 11:49:41 +0000 (14:49 +0300)]
tooltip.js: ignore a LGTM error (#35147)
The code on this line is either sanitized or the user chose to not sanitize it.
XhmikosR [Sat, 9 Oct 2021 15:28:28 +0000 (18:28 +0300)]
Merge remote-tracking branch 'remotes/origin/v513'
XhmikosR [Sat, 9 Oct 2021 06:33:12 +0000 (09:33 +0300)]
Bump version to 5.1.3.
Mark Otto [Sat, 9 Oct 2021 06:34:32 +0000 (23:34 -0700)]
Revert "Add `align-self: center` to buttons for improved rendering in flex containers" (#35143)
This reverts commit
94c80ff613dce6620591acd7f9930ce8f40c5ed0 .
XhmikosR [Fri, 8 Oct 2021 09:47:55 +0000 (12:47 +0300)]
ESLint: disable `no-negated-condition` rule (#35137)
XhmikosR [Fri, 8 Oct 2021 09:32:11 +0000 (12:32 +0300)]
tests: minor cleanup (#35138)
* tests: minor cleanup
* tests: use the util noop function
XhmikosR [Fri, 8 Oct 2021 09:28:05 +0000 (12:28 +0300)]
scrollspy.js: chain functions (#35139)
XhmikosR [Thu, 7 Oct 2021 14:48:36 +0000 (17:48 +0300)]
Sanitizer: fix logic and add a test. (#35133)
This was broken in
2596c97 inadvertently.
Added a test so that we don't hit this in the future.
Chris Midgley [Thu, 7 Oct 2021 13:42:22 +0000 (14:42 +0100)]
docs: remove 'and' in middle of list (#35113)