aboutsummaryrefslogtreecommitdiff
path: root/js/src/popover.js
AgeCommit message (Collapse)AuthorFilesLines
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-1/+1
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
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-22Merge branch 'main' into prepare-523XhmikosR1-2/+2
2022-11-21Bump version to 5.2.3XhmikosR1-1/+1
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot1-2/+2
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-06-01Re-ordering js default objectslouismaxime.piton1-7/+7
2022-05-13Prepare v5.2.0-beta1Mark Otto1-1/+1
2022-02-19Make event name helper and use it on tooltip & popover to reduce dist sizes ↵GeoSot1-19/+0
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover
2021-12-15Popover.js: Accept empty content through `data-bs-content` (#35514)GeoSot1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot1-4/+4
Co-authored-by: XhmikosR <[email protected]>
2021-12-01Tooltip/Popover: add underscore prefix to protected functionsGeoSot1-3/+3
2021-12-01Tooltip: refactor jQueryInterfaceGeoSot1-5/+7
2021-11-25Clean tooltip component unneeded functionality (#32692)GeoSot1-5/+0
2021-11-25Add a template factory helper to handle all template cases (#34519)GeoSot1-4/+6
Co-authored-by: XhmikosR <[email protected]>
2021-10-13JS: minor refactoring (#35183)XhmikosR1-15/+4
* add missing comments * shorten block comments * reorder constants * reorder public/private methods * sort exports alphabetically in util/index.js * fix a couple of typos
2021-10-09Bump version to 5.1.3.XhmikosR1-1/+1
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-08-03Regression on tooltip template creation process. (#34628)GeoSot1-3/+1
* Regression on tooltip template creation process. * check if template content does not exist, or given argument is empty * call `setContent()` once.
2021-07-22Use on private method to set content & cleanup templateGeoSot1-27/+2
2021-07-22popover: Move common code in tooltip's `getTipElement()`GeoSot1-5/+0
2021-07-22use one private method to resolve string or functionGeoSot1-1/+1
2021-07-22use a class private getter to decouple same methods usageGeoSot1-12/+2
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR1-1/+1
* Bump version to v5.0.2. * Dist
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-8/+1
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-05-25Change `element.parentNode.removeChild(element)` to `element.remove()` (#34071)GeoSot1-2/+2
2021-05-20Allow use of `dispose/hide` methods on Tooltip & Popover from ↵GeoSot1-4/+0
jQueryInterface, when component does not exists. (#33371)
2021-05-18Don't add empty content holder when there is no content available (#33982)Rohit Sharma1-1/+19
* Remove content holder when there is no content * Add tests to check the removal of header/content Co-authored-by: XhmikosR <[email protected]>
2021-05-13Release v5.0.1 (#33972)v5.0.1XhmikosR1-1/+1
* Bump version to 5.0.1. * Dist
2021-05-12Popover/Tooltip: streamline config property to start with underscore (#33381)GeoSot1-1/+1
2021-05-11Extract static `DATA_KEY` & `EVENT_KEY` to base-component (#33635)GeoSot1-9/+1
* Force each plugin that extends base-components to implement a static method `NAME()` * Remove redundant `NAME` argument from 'Utils.defineJQueryPlugin' & fix test
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-03-02refactor: use a Map instead of an Object in dom/data (#32180)alpadev1-2/+2
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Rohit Sharma <[email protected]>
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR1-1/+1
* Bump version to 5.0.0-beta2 * Dist
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma1-0/+1
* Remove the margin from dropdown in favor of Popper - Set the default margin to 0 for dropdowns (To remove the Popper's warning) - Set the required offset in dropdown's defaults * Remove the margin from the popover component Co-authored-by: XhmikosR <[email protected]>
2020-12-08Refactor components to use a utility function to define jQuery plugins (#32285)alpadev1-14/+2
* refactor: use an utility function to define jQuery plugins * test: add spec for defineJQueryPlugin utility function * Update .bundlewatch.config.json Co-authored-by: XhmikosR <[email protected]>
2020-12-07Prepare v5.0.0-beta1.XhmikosR1-1/+1
2020-12-04feat(RTL): implement RTLGaël Poupard1-1/+1
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-12-02Unbreak lines. (#32304)XhmikosR1-4/+4
2020-11-29Move `VERSION` to BaseComponent (#32254)Rohit Sharma1-5/+0
2020-11-29create a base componentJohann-S1-6/+2
2020-11-14Add `bs` in data attributesRohit Sharma1-1/+1
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-2/+2
2020-11-01Streamline jQuery comment. (#32016)XhmikosR1-0/+1