aboutsummaryrefslogtreecommitdiff
path: root/js/src/dom/manipulator.js
AgeCommit message (Collapse)AuthorFilesLines
2024-07-29Update devDependencies and regenerate package-lock.json (#40673)XhmikosR1-1/+1
* @babel/preset-env ^7.24.8 → ^7.25.0 * eslint-plugin-unicorn ^54.0.0 → ^55.0.0 * hugo-bin ^0.126.0 → ^0.127.0 * postcss ^8.4.39 → ^8.4.40 * rollup ^4.19.0 → ^4.19.1 * rtlcss ^4.1.1 → ^4.2.0
2023-03-22Remove version comment from JavaScript src files (#38294)GeoSot1-1/+1
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-11-21Bump version to 5.2.3XhmikosR1-1/+1
2022-10-03Release v5.2.2 (#37236)XhmikosR1-1/+1
* Bump version to v5.2.2 * Dist
2022-09-07Release v5.2.1 (#37098)XhmikosR1-1/+1
* Bump version to v5.2.1. * Dist
2022-07-19Release v5.2.0 (#36768)XhmikosR1-1/+1
* Bump version to 5.2.0 * Dist * Update masthead.html
2022-05-13Prepare v5.2.0-beta1Mark Otto1-1/+1
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot1-2/+10
Support parsing JSON from each component's main element using the `data-bs-config` attribute. The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing. With this commit, every component, will create its config object, using: * defaults * data-bs-config * the rest of data attributes * configuration object given during instance initialization Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-04-13Revamp Scrollspy using Intersection observer (#33421)GeoSot1-16/+0
* Revamp scrollspy to use IntersectionObserver * Add smooth scroll support * Update scrollspy.js/md * move functionality to method * Update scrollspy.js * Add SmoothScroll to docs example * Refactor Using `Maps` and smaller methods * Update scrollspy.md/js * Update scrollspy.spec.js * Support backwards compatibility * minor optimizations * Merge activation functionality * Update scrollspy.md * Update scrollspy.js * Rewording some of the documentation changes * Update scrollspy.js * Update scrollspy.md * tweaking calculation functionality & drop text that suggests, to deactivate target when wrapper is not visible * tweak calculation * Fix lint * Support scrollspy in body & tests * change doc example to a more valid solution Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2022-01-29Rename variablesXhmikosR1-7/+7
2021-10-09Merge remote-tracking branch 'remotes/origin/v513'XhmikosR1-1/+1
2021-10-09Bump version to 5.1.3.XhmikosR1-1/+1
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-7/+6
2021-10-05Release v5.1.2 (#35114)XhmikosR1-1/+1
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR1-1/+1
* Prepare v5.1.1. * Dist
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-1/+1
2021-07-28Fix `Manipulator.offset()` (#33603)alpadev1-2/+2
* test: add more test cases for Manipulator.offset() * fix: Manipulator.offset() is using obsolete properties to get scroll position Co-authored-by: XhmikosR <[email protected]> Co-authored-by: GeoSot <[email protected]>
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR1-1/+1
* Bump version to v5.0.2. * Dist
2021-05-13Release v5.0.1 (#33972)v5.0.1XhmikosR1-1/+1
* Bump version to 5.0.1. * Dist
2021-05-05Release v5.0.0 (#33647)v5.0.0XhmikosR1-1/+1
* Bump version to 5.0.0 * Fix npm tag * Dist
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR1-1/+1
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR1-1/+1
* Bump version to 5.0.0-beta2 * Dist
2020-12-07Prepare v5.0.0-beta1.XhmikosR1-1/+1
2020-11-20Make the attribute methods bs specific (#32173)Rohit Sharma1-3/+3
Co-authored-by: XhmikosR <[email protected]>
2020-11-14Get only bs prefixed data attributesRohit Sharma1-5/+3
2020-11-14Add `bs` in data attributesRohit Sharma1-3/+7
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-1/+1
2020-10-05Remove `Manipulator.toggleClass` (#31842)XhmikosR1-12/+0
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-alpha2XhmikosR1-1/+1
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-1/+1
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2019-10-31Update normalizeDataKey to match the spec (#29609)Steffen Roßkamp1-1/+1
2019-03-11Comply to the new rules.XhmikosR1-2/+2
2019-02-26dom/manipulator.js: minor simplification. (#28358)XhmikosR1-15/+14
Combine two checks since we return the same value for both.
2019-02-20Simplify checks.XhmikosR1-1/+1
2019-02-20use only dataset to get data attributesJohann-S1-21/+3
2019-02-204.3.1.XhmikosR1-1/+1
2019-02-20Improve manipulator coverageJohann-S1-7/+4
2019-02-20Remove IE support and button bsChecked hackAlessandro Chitolina1-14/+0
2019-02-20chore(update): bump to 4.1.3Johann-S1-1/+1
2019-02-20fix(manipulator): increase coverage for manipulatorJohann-S1-13/+67
2019-02-20rewritten scrollspy without jqueryAlessandro Chitolina1-0/+16
2019-02-20Dropdown without jQueryJohann-S1-0/+12
2019-02-20Rewritten modal without jquery (#23955)Alessandro Chitolina1-0/+20
* Trigger jquery events if available in event handler * Rewritten modal without jquery
2019-02-20Add Manipulator object to add shortcuts for dom manipulationsJohann-S1-0/+24