Ryan Berliner
7646f6bd33
Add shift-tab keyboard support for dialogs (modal & Offcanvas components) ( #33865 )
...
* consolidate dialog focus trap logic
* add shift-tab support to focustrap
* remove redundant null check of trap element
Co-authored-by: GeoSot <geo.sotis@gmail.com>
* remove area support forom focusableChildren
* fix no expectations warning in focustrap tests
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:01:04 +03:00
Gaël Poupard
8536474583
More concise improvements for add()
and subtract()
( #34432 )
2021-07-27 07:48:08 +03:00
Mark Otto
d140981fdb
Make note of _root.scss being required
2021-07-26 17:28:06 -05:00
Mark Otto
e208774fc1
Clean up a couple CSS Grid issues ( #34572 )
...
- Moves the make-cssgrid() mixin to the grid mixins stylesheet
- Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399 )
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:45:10 +03:00
Mark Otto
905db7dadb
Update the custom Sass import docs ( #34573 )
...
Now includes mentino of the two utilities stylesheets, plus how and why to include the API stylesheet last
Fixes #34397
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:41:43 +03:00
Jitan Gupta
e805a5e287
Update nav-tab.md
...
Updated the from anchor tag to button in sample examples
2021-07-26 10:07:27 -05:00
TheFakeCake
9ef7ca5156
Make default $accordion-icon-color consistent
...
Change the $accordion-icon-color variable default value to
$accordion-button-color
2021-07-25 21:06:42 -05:00
XhmikosR
dd303fa971
docs: minor image compression improvements ( #34557 )
...
Before: 121 KB (124.549 bytes)
After: 121 KB (124.367 bytes)
2021-07-25 20:33:45 +03:00
Ben Koshy
2bdbb42dcf
docs: Add Github Octicons to the list ( #34526 )
...
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-22 18:29:47 +03:00
GeoSot
41292a5257
Toasts: Change showing timings and classes to keep toast display:none
by default ( #33610 )
2021-07-22 18:13:13 +03:00
GeoSot
e85a6ed77c
make dataApiKeydownHandler
to handle specific instance, avoiding extra manipulations
2021-07-22 17:54:48 +03:00
GeoSot
9916191311
extract createPopper method
2021-07-22 17:54:48 +03:00
GeoSot
b1dad0943f
handle click event in one place, remove undocumented click listener on element in case of not having the proper markup
2021-07-22 17:54:48 +03:00
GeoSot
d01a08547d
use classList add
instead of toggle
on show
2021-07-22 17:54:48 +03:00
GeoSot
d130b00cad
simplify toggle
2021-07-22 17:54:48 +03:00
GeoSot
3533e2d637
Merge dropdownInterface
to jQueryInterface
2021-07-22 17:54:48 +03:00
GeoSot
d3c6f25fd0
Add isShown
method and reuse it
2021-07-22 17:54:48 +03:00
GeoSot
da2db218ed
Use on private method to set content & cleanup template
2021-07-22 17:20:38 +03:00
GeoSot
9c3ceaa25b
popover: Move common code in tooltip's getTipElement()
2021-07-22 17:20:38 +03:00
GeoSot
a97fd1cd24
use one private method to resolve string or function
2021-07-22 17:20:38 +03:00
GeoSot
3716603dbc
Use getOrCreateInstance
on _initializeOnDelegatedTarget
2021-07-22 17:20:38 +03:00
GeoSot
92c7056619
_getDelegateConfig()
: add a comment and remove an unneeded config check
2021-07-22 17:20:38 +03:00
GeoSot
c4e189df40
use a class private getter to decouple same methods usage
2021-07-22 17:20:38 +03:00
XhmikosR
75b2934596
Update devDependencies ( #34552 )
...
* @babel/cli ^7.14.5 → ^7.14.8
* @babel/core ^7.14.6 → ^7.14.8
* @babel/preset-env ^7.14.7 → ^7.14.8
* eslint-config-xo ^0.36.0 → ^0.37.0
* eslint-plugin-unicorn ^31.0.0 → ^34.0.1
* hugo-bin ^0.73.0 → ^0.74.0
2021-07-21 15:57:47 +03:00
dependabot[bot]
3e01830d92
Bump rollup from 2.53.2 to 2.53.3 ( #34548 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.53.2 to 2.53.3.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.53.2...v2.53.3 )
---
updated-dependencies:
- dependency-name: rollup
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>
2021-07-21 14:06:40 +03:00
Ryan Berliner
119cfc3dfe
Remove whitespace at beginning of util/index.js ( #34545 )
2021-07-21 07:49:55 +03:00
GeoSot
5541179b38
Fix Util.reflow
function and add documentation ( #34543 )
...
* add documentation to reflow function
* refactor to void as it should be
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 17:20:43 +03:00
dependabot[bot]
365b9e5af0
Bump @rollup/plugin-replace from 2.4.2 to 3.0.0 ( #34536 )
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace ) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/wasm-v3.0.0/packages/replace )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
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>
2021-07-20 17:13:58 +03:00
dependabot[bot]
5eaf73baa6
Bump stylelint-config-twbs-bootstrap from 2.2.1 to 2.2.3 ( #34541 )
...
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases )
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: stylelint-config-twbs-bootstrap
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>
2021-07-20 17:05:29 +03:00
dependabot[bot]
7218c3e3be
Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2 ( #34540 )
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 13.0.0 to 13.0.2.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.2/packages/node-resolve )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
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>
2021-07-20 17:01:49 +03:00
dependabot[bot]
3f7476bd16
Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1 ( #34539 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.1/packages/commonjs )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
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>
2021-07-20 16:54:38 +03:00
dependabot[bot]
ed9850cbfb
Bump eslint from 7.30.0 to 7.31.0 ( #34538 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.30.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.31.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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 16:50:04 +03:00
dependabot[bot]
95e5b76d83
Bump rollup from 2.53.1 to 2.53.2 ( #34537 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.53.1 to 2.53.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.53.1...v2.53.2 )
---
updated-dependencies:
- dependency-name: rollup
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>
2021-07-20 16:41:59 +03:00
XhmikosR
2721f6042b
CI: make use of the actions/setup-node
's cache
option ( #34453 )
2021-07-19 18:38:49 +03:00
GeoSot
dfafb9a60c
modal: change data-dismiss
so that it can be outside of a modal using bs-target
( #33403 )
...
* change data-dismiss, so can be outside modal, using a bs-target
* Update site/content/docs/5.0/components/modal.md
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-07-19 16:56:05 +03:00
craftwerk
06a1ca5623
Add new offcanvas support to navbars
...
Co-Authored-By: craftwerk <1193597+craftwerk@users.noreply.github.com>
2021-07-17 20:33:34 -07:00
Mark Otto
ed3f2d46c4
Bump bundlewatch
2021-07-16 15:11:40 -07:00
Mark Otto
aee169d192
Split .vr from stacks as a new helper
2021-07-16 15:11:40 -07:00
Mark Otto
2bc6de1f5e
Add hstack and vstack helpers
2021-07-16 15:11:40 -07:00
XhmikosR
5c1691ac3a
Regenerate package-lock.json ( #34499 )
2021-07-15 00:10:22 +03:00
Gaël Poupard
054f8781a8
fix(forms): prevent color control from shrinking ( #34445 )
...
* fix(forms): prevent color control from shrinking
Fixes #34195
Setting `min-width` alongside `max-width` wouldn't make any sense IMHO. The only concern I have is whether we should introduce a dedicated variable for said width?
* feat(forms): introduce ` $form-color-width`
* feat(forms): use ` $form-color-width`
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 09:19:28 +03:00
GeoSot
e45b25e08e
util.js: remove Selector.findOne()
dependency ( #34441 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 09:08:10 +03:00
dependabot[bot]
2b297b977a
Bump rtlcss from 3.2.1 to 3.3.0 ( #34490 )
...
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss ) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases )
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/v3.2.1...v3.3.0 )
---
updated-dependencies:
- dependency-name: rtlcss
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>
2021-07-14 08:55:08 +03:00
dependabot[bot]
96db1780e1
Bump nodemon from 2.0.9 to 2.0.12 ( #34489 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 2.0.9 to 2.0.12.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v2.0.9...v2.0.12 )
---
updated-dependencies:
- dependency-name: nodemon
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>
2021-07-14 08:47:25 +03:00
dependabot[bot]
f50ce6179d
Bump karma-jasmine-html-reporter from 1.6.0 to 1.7.0 ( #34492 )
...
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases )
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: karma-jasmine-html-reporter
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>
2021-07-14 08:34:25 +03:00
dependabot[bot]
3f3f8dddb8
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 ( #34491 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3 )
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
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>
2021-07-14 08:29:28 +03:00
dependabot[bot]
da524f6b7d
Bump rollup from 2.52.8 to 2.53.1 ( #34493 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.52.8 to 2.53.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.52.8...v2.53.1 )
---
updated-dependencies:
- dependency-name: rollup
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>
2021-07-14 08:24:01 +03:00
Eric Horstmanshof
145aaee2a7
Added new Offcanvas file to import example
...
Added the new B5 Offcanvas component in the import examples.
2021-07-12 13:49:42 -07:00
XhmikosR
452e2f0689
npm scripts: add aggregate-output
( #32907 )
2021-07-08 09:55:20 +03:00
Mark Otto
0fc117cec5
Add null $card-box-shadow
variable ( #34440 )
...
Fixes #34421
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 09:44:55 +03:00