aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-30Update browsers.jsXhmikosR-patch-4XhmikosR1-3/+3
2020-11-30Remove the `show` property from the modal plugin (#32279)Rohit Sharma2-12/+2
Drop the support of show property from the modal plugin. When creating the new modal instance in v5, the `show` property does not work anymore, so instead of fixing the behavior just removing it permanently to keep the consistency between all the plugins. (All other plugins require the `show()` method to be called on the instances to be shown) Co-authored-by: XhmikosR <[email protected]>
2020-11-30tooltip.js: reuse existent variableXhmikosR1-2/+2
2020-11-30Add testsXhmikosR1-0/+53
2020-11-30Extra check for existence of any `aria-label`Patrick H. Lauke1-2/+2
before overwriting it...
2020-11-30Accessibility update for tooltip.jsMatty Williams1-0/+4
Update to the tooltip.js to add an aria-label attribute that contains the original title of the element, but only if the element doesn't have an existing aria-label attribute. This is to address cases where screen readers are not capturing the aria-describedby attribute that is added when the tooltip is triggered. This should also avoid a race condition between the screen reader and the appearance of the tooltip.
2020-11-30Keep rounded corners for the first .btn in vertical button group (#31303)Rohit Sharma1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-11-30Remove default linear gradient (#32277)Martijn Cuppens1-1/+0
Remove the default invisible gradient causing the performance issue in #32266. By removing the custom property, the linear gradient will become invalid, thus not appear by default. There can still be a performance issue with striped tables though. Co-authored-by: XhmikosR <[email protected]>
2020-11-30Add mention of link underline change to migration and typography (#32281)Patrick H. Lauke2-1/+2
x-ref https://github.com/twbs/bootstrap/discussions/32276#discussioncomment-141850 Co-authored-by: XhmikosR <[email protected]>
2020-11-29Remove setData from construtors (#32264)Rohit Sharma7-9/+0
2020-11-29remove data key in base componentJohann-S1-4/+0
2020-11-29Move `VERSION` to BaseComponent (#32254)Rohit Sharma12-55/+12
2020-11-29add dispose in base componentJohann-S11-32/+13
2020-11-29Switch to Jasmine's `toBeInstanceOf` matcherXhmikosR11-11/+11
2020-11-29create a base componentJohann-S23-113/+229
2020-11-25homepage: fix wrong `alt` attribute (#32258)XhmikosR1-1/+1
2020-11-25npm scripts: run integration tests in parallel (#32232)XhmikosR1-2/+3
2020-11-25Ability to add custom class in tooltip/popover (#32217)Rohit Sharma6-1/+97
Porting of #31834 to main. Co-authored-by: XhmikosR <[email protected]>
2020-11-24Update codeql.yml (#32125)XhmikosR1-34/+9
Specify the branches and clean up the comments
2020-11-24Update devDependencies (#32229)XhmikosR2-619/+434
* @babel/cli ^7.12.1 → ^7.12.8 * @babel/core ^7.12.3 → ^7.12.8 * @babel/preset-env ^7.12.1 → ^7.12.7 * eslint ^7.13.0 → ^7.14.0 * postcss ^8.1.7 → ^8.1.10 * postcss-cli ^8.2.0 → ^8.3.0 * rollup ^2.33.2 → ^2.33.3 * stylelint ^13.7.2 → ^13.8.0
2020-11-23introduction: split comments (#32223)XhmikosR1-1/+2
2020-11-23tests/integration/index.html: revert accidental changesXhmikosR1-7/+1
2020-11-23Update bundle.js in tests/integration (#32233)Rohit Sharma3-14/+25
* Use `[].concat` instead of direct spreading nodelist Co-authored-by: XhmikosR <[email protected]>
2020-11-23Update _syntax.scss (#32117)XhmikosR1-38/+46
* Update _syntax.scss with the latest chroma selectors * Sort selectors * Remove no longer needed chroma workaround * remove comments
2020-11-23CI: specify `FORCE_COLOR:2` (#32222)XhmikosR7-0/+7
This should show any colors in the output
2020-11-23postcss.config.js: remove arrow return (#32235)XhmikosR1-12/+14
2020-11-23Dist (#32216)XhmikosR52-406/+418
2020-11-21Improve build/generate-sri.js regex (#29753)Noah Rosenzweig1-1/+1
When using single-quotes in config.yml, the previous regular expression in build/generate-cli.js wasn't working correctly, it was replacing ALL string values with hashes. Now both double- and single-quotes can be used in config.yml, and the RegExp will work as expected. Also, allow trailing whitespaces and empty ("") values to be matched. Co-authored-by: XhmikosR <[email protected]>
2020-11-21docs: use `event` instead of `e` (#32226)XhmikosR4-15/+15
It's better for clarity.
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR14-48/+48
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-20Add missing tags in unit tests (#32221)Rohit Sharma1-15/+15
2020-11-20Don't hide modal when keyboard is set to false in modal's configuration (#32179)Rohit Sharma2-29/+28
* Don't hide modal when config.keyboard is false * Update unit test - Modal should not be closed when pressing esc key if keyboard = false and backdrop is 'static' Co-authored-by: XhmikosR <[email protected]>
2020-11-20Make the attribute methods bs specific (#32173)Rohit Sharma3-30/+34
Co-authored-by: XhmikosR <[email protected]>
2020-11-20_reboot.scss: remove needless Stylelint disable (#32213)XhmikosR1-1/+1
2020-11-19Revert "Use Hugo mounts for our docs vendor files." (#32210)XhmikosR7-605/+31
* Revert "Adapt to the recent main changes" This reverts commit 50d892167036f440f9224327b0a48cf72a2e44b6. * Revert "Add Hugo Pipes logic for local and vendored scripts." This reverts commit 3fcfd606f2c264f1d3434e99c140a05edec461c3. * Revert "Use Hugo mounts for our docs vendor JS files." This reverts commit 6b071116f3b09b59a423ad999efbd67f8645bfa5.
2020-11-19Adapt to the recent main changesXhmikosR2-6/+4
* remove `bs-custom-file-input.min.js` * switch to errorf * change error message
2020-11-19Add Hugo Pipes logic for local and vendored scripts.Regis Philibert3-17/+83
2020-11-19Use Hugo mounts for our docs vendor JS files.XhmikosR6-18/+528
2020-11-19fix(container): use $variable-prefix (#32201)Gaël Poupard1-2/+2
Missed that while merging.
2020-11-19Fix a few typos (#32204)XhmikosR4-4/+4
2020-11-19Manually optimize SVGs (#32187)Martijn Cuppens3-3/+3
2020-11-19docs: update selector CodePen example (#32163)XhmikosR2-2/+2
2020-11-19examples: add the version number in `title` (#32198)XhmikosR1-1/+1
2020-11-19Update migration guide about w-100Mark Otto1-1/+1
2020-11-19examples: fix `.btn-block` instancesXhmikosR3-5/+5
2020-11-19Docs: fix homepage npm install version (#32194)Jiang Yan1-1/+1
2020-11-18Docs: change sidebar collapse controls to actual button elements (#31098)Patrick H. Lauke2-18/+31
apart from the visual styling, there's probably no good reason why these shouldn't be `<button>` elements, semantically the buttons still look a shade too button-like, despite using `.btn-light`. the last remnant of button styling can probably be suppressed further, *or* this makes the case for expanding the core button styles to have one that looks completely non-button and non-link like (for cases where an additional style/hint was given already, or it's clear from context that something's an actionable button or link) Co-authored-by: XhmikosR <[email protected]>
2020-11-18correct "breakpoint" typo (#32191)Matt Shaw1-1/+1
breakpoing --> breakpoint
2020-11-18docs: Add missing `.has-validation` class for input group example (#32162)Kyle Tsang1-1/+1
Co-authored-by: Martijn Cuppens <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-11-18Update karma.conf.js (#32182)XhmikosR1-1/+1
When we are on CI, this statement won't be reached.