aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2020-11-05Drop Legacy Edge support.XhmikosR3-30/+1
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-03dropdown.js: simplify code (#32055)XhmikosR1-4/+3
2020-11-02tests: tweak Jasmine usage (#32046)XhmikosR4-9/+9
* jasmine/expect-matcher * jasmine/prefer-jasmine-matcher Found with `eslint-plugin-jasmine`
2020-11-02tests: fix sanitizer test. (#32045)XhmikosR1-1/+1
The test template does not include a `script` tag so the test always returned true.
2020-11-02tests: switch to using `toContain()` to check for substring presence (#32043)XhmikosR2-5/+5
2020-11-01karma: stop excluding polyfill.js from istanbul (#30740)XhmikosR2-7/+5
2020-11-01Streamline jQuery comment. (#32016)XhmikosR11-9/+11
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha14-127/+185
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <[email protected]>
2020-11-01Check for data-interval on the first slide of carousel (#31818)Mitchell Bryson2-16/+54
* check for data-interval on the first slide of carousel * add updateInterval method for elements of a carousel * add test for carousel interval being set during cycle * update activeElement as soon as slide has finished (before transition end) * only updateInterval before using it Co-authored-by: XhmikosR <[email protected]>
2020-11-01polyfill.js minor tweaks (#32011)XhmikosR1-7/+3
* rename function to `supportsScopeQuery` * use a ternary in `findOne` function return value
2020-10-31toast.spec.js: fix typo (#32026)XhmikosR1-2/+2
2020-10-30Remove obsolete prefixes (#32012)XhmikosR1-2/+0
2020-10-27v5: Floating labels (#30449)Mark Otto18-31/+24
* v5: Promote floating labels example to component - Adds new .form-floating - Stubs out basics of a docs page - Removes existing Example * Update floating labels to support .form-select, make inputs and selects more consistent - To do this, I made the .form-control and .form-select consistent in min-height vs height - Removed some unused variables now - Updated -color to be the -color because I don't know why this was any different before - Update page to include some examples for layout, validation, and value - Rewrite styles to not modify padding, but instead transform and opacity * Streamline and bulletproof some things - Apply some optimizations from code review - Removed unecessary properties from the label - Add some comments for what properties are required - Move from fixed height for labels to height 100% so we can support textareas - Improve docs a little bit, add ToC * Move some values to variables, switch from scaling font-size to scale, update transforms * Bring over changes from #30966 and add to them to tighten things up * Delete the now unused example images * Fix typo * Allowlist the calc function * Add transform-origin, update transform values * Test out autofill fix * Fix linter issue * Mention it in the migration guide * Bump bundlesize * Add one more variable per review * Shave .25rem off the height Co-authored-by: XhmikosR <[email protected]>
2020-10-22Move `href` attribute first (#31835)XhmikosR12-12/+12
2020-10-14Remove redundant visually hidden "(current)" from pagination controls (#31892)Patrick H. Lauke2-2/+2
* Replace visually hidden span with aria-current in tests * Remove redundant visually hidden "(current)" when `aria-current` already used Closes #31891
2020-10-05Remove `Manipulator.toggleClass` (#31842)XhmikosR3-42/+4
It's only used in one place so it makes more sense to remove it for the time being.
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR52-92/+96
2020-09-24fix tooltip hide method when already hidden (#31115)Hiws2-0/+18
Co-authored-by: XhmikosR <[email protected]>
2020-09-14Dist (#31644)XhmikosR31-427/+425
2020-07-12Join template literalsXhmikosR1-3/+1
2020-07-12Add parentheses around multiple spread conditionsXhmikosR6-7/+7
2020-07-12Move functionXhmikosR1-2/+2
2020-07-12tooltip.js: remove variable used once.XhmikosR1-2/+1
2020-07-12scrollspy.js: minor refactoringXhmikosR1-6/+1
2020-07-12Unbreak lines.XhmikosR7-62/+47
2020-07-12toasts: make default duration 5s (#31109)Rohit Sharma1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-07-11Clear timeout before showing the toast (#31155)Rohit Sharma2-2/+35
* clear timeout before showing the toast * Add unit test * Remove the check for timeout * Check for clearTimeout to have been called Co-authored-by: XhmikosR <[email protected]>
2020-07-07Update to `@rollup/plugin-node-resolve` v8.1.0. (#31249)XhmikosR2-4/+5
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke4-11/+11
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-25BrowserStack: stop testing on latest Edge. (#31125)XhmikosR1-7/+0
It's Chromium-based so it seems redundant.
2020-06-25Prevent overflowing static backdrop modal animation (#30326)Shohei Yoshida2-1/+33
Co-authored-by: XhmikosR <[email protected]>
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke3-19/+19
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-06-18Fix tooltip when hovering a children element (delegateTarget) (#30928)Tanguy Krotoff3-9/+33
Co-authored-by: XhmikosR <[email protected]>
2020-06-17collapse.js: return early.XhmikosR1-13/+13
2020-06-17Remove a couple of variables used onceXhmikosR2-7/+2
2020-06-17Unbreak short linesXhmikosR6-59/+41
2020-06-17data: reword storage key in domJohann-S2-15/+15
2020-06-16Run dist.XhmikosR32-120/+59
2020-06-16Rename "master" to "main". (#31050)XhmikosR21-21/+21
2020-06-16Fix a broken link and a redirect. (#31045)XhmikosR1-1/+1
2020-06-15Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens2-234/+5
2020-06-14Run dist on latestMark Otto27-660/+130
2020-06-09Remove .nav-item from .nav-link to make it consistentRohit Sharma1-5/+5
- Closes #28423
2020-06-04Add role="dialog" in modals via JavaScript (#30936)Rohit Sharma3-4/+12
2020-05-26Update to `@rollup/plugin-babel` (#30742)XhmikosR2-9/+6
2020-05-18Fix some easy Markdown linting issuesMark Otto1-6/+6
- Always use dashes for bullets - Add some basic alt text for our readme OC sponsors
2020-05-14Replace double tilde with `Math.floor` (#30691)XhmikosR1-1/+1
Nowadays, browser engines have improved a lot and `Math.floor` is the same, if not faster. Also, clarity is better than micro-optimizations in this case.
2020-05-13Partially Revert "Use regex.test() when we want to check for a Boolean. ↵XhmikosR1-2/+2
(#29969)" (#30770) This partially reverts commit 9c2b9ac74d4abb5ec8b7864054315de3409d5f3a.
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR52-92/+92
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13Dist (#30694)XhmikosR28-151/+105