aboutsummaryrefslogtreecommitdiff
path: root/build/build-plugins.js
AgeCommit message (Collapse)AuthorFilesLines
2023-08-06Convert build scripts to ESM (#38984)XhmikosR1-103/+0
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-1/+1
2022-12-20Update docs and package information to clarify licenseMark Otto1-1/+0
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR1-1/+1
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot1-1/+1
2022-09-20Update devDependencies (#37177)XhmikosR1-1/+1
2022-02-15Update devDependencies (#35841)XhmikosR1-1/+1
* Update devDependencies * @babel/core ^7.17.0 → ^7.17.2 * @rollup/plugin-replace ^3.0.1 → ^3.1.0 * eslint ^8.8.0 → ^8.9.0 * eslint-config-xo ^0.39.0 → ^0.40.0 * hugo-bin ^0.80.1 → ^0.80.2 * karma ^6.3.15 → ^6.3.16 * rollup ^2.67.1 → ^2.67.2 * Fix new ESLint errors
2022-01-29Rename variablesXhmikosR1-3/+3
2022-01-13build-plugins.js: use globby package (#35586)XhmikosR1-3/+3
We already use it in the change-version.js file
2022-01-03Bump copyright year to 2022 (#35639)XhmikosR1-2/+2
2021-11-23build: read & dynamically resolve `imports` on plugins build (#34509)GeoSot1-141/+62
Our individual js/dist files are now deduplicated properly thus resulting in a size reduction, which varies from ~25% to ~60% depending on the components used. The average savings are 20% uncompressed and ~15% with gzip. This will mostly benefit cases that more than one component is imported from js/dist. In all other cases it doesn't have any effect. Co-authored-by: XhmikosR <[email protected]>
2021-10-04rollup: specify `generatedCode: 'es2015'` (#35070)XhmikosR1-0/+1
This will make use of `const` and modern features (which we are already using in our code) in the generated rollup code.
2021-06-22Use the `switch` statement instead of `if`Rohit Sharma1-63/+54
2021-04-14Decouple BackDrop from modal (#32439)GeoSot1-2/+4
* Create backdrop.js util * revert breaking changes remove PromiseTimout usage revert class name * one more test | change bundlewatch.config * add config obj to backdrop helper | tests for rootElement | use transitionend helper * Minor tweaks — Renaming Co-authored-by: Rohit Sharma <[email protected]>
2021-03-16Change the name of the `Offcanvas` constructor (#33261)Rohit Sharma1-2/+2
2021-03-02Offcanvas as component (#29017)GeoSot1-1/+2
* Add a new offcanvas component * offcanvas.js: switch to string constants and `event.key` * Remove unneeded code * Sass optimizations * Fixes Make sure the element is hidden and not offscreen when inactive fix close icon negative margins Add content in right & bottom examples Re-fix bottom offcanvas height not to cover all viewport * Wording tweaks * update tests and offcanvas class * separate scrollbar functionality and use it in offcanvas * Update .bundlewatch.config.json * fix focus * update btn-close / fix focus on close * add aria-modal and role return focus on trigger when offcanvas is closed change body scrolling timings * move common code to reusable functions * add aria-labelledby * Replace lorem ipsum text * fix focus when offcanvas is closed * updates * revert modal, add tests for scrollbar * show backdrop by default * Update offcanvas.md * Update offcanvas CSS to better match modals - Add background-clip for borders - Move from outline to border (less clever, more consistent) - Add scss-docs in vars * Revamp offcanvas docs - Add static example to show and explain the components - Split live examples and rename them - Simplify example content - Expand docs notes elsewhere - Add sass docs * Add .offcanvas-title instead of .modal-title * Rename offcanvas example to offcanvas-navbar to reflect it's purpose * labelledby references title and not header * Add default shadow to offcanvas * enable offcanvas-body to fill all the remaining wrapper area * Be more descriptive, on Accessibility area * remove redundant classes * ensure in case of an already open offcanvas, not to open another one * bring back backdrop|scroll combinations * bring back toggling class * refactor scrollbar method, plus tests * add check if element is not full-width, according to #30621 * revert all in modal * use documentElement innerWidth * Rename classes to -start and -end Also copyedit some docs wording * omit some things on scrollbar * PASS BrowserStack tests -- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling. * Rename '_handleClosing' to '_addEventListeners' * change pipe usage to comma * change Data.getData to Data.get Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-01-14build-plugins: build Base component too (#32313)XhmikosR1-0/+6
2021-01-07Bump copyright year to 2021 (#32713)XhmikosR1-2/+2
2020-12-07build-plugins: switch to "bundled" for babel helpers (#32312)XhmikosR1-2/+2
2020-12-06Update to popper.js v2.xJohann-S1-3/+3
2020-12-02Remove Polyfill leftovers (#32310)XhmikosR1-1/+0
Leftovers from #32057
2020-11-14Switch to `Set#has()`XhmikosR1-6/+6
2020-11-05Remove the now unneeded polyfills.XhmikosR1-6/+1
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-26Update to `@rollup/plugin-babel` (#30742)XhmikosR1-4/+3
2020-05-06ensure build plugins can exit in error (#30744)Johann-S1-17/+25
Co-authored-by: XhmikosR <[email protected]>
2020-05-05build-plugins.js: add missing shebang (#30743)XhmikosR1-0/+2
2020-05-04Move babel whitelist helpers to a common file (#30723)XhmikosR1-9/+2
2020-05-04build/build-plugins.js: add missing catch (#30722)XhmikosR1-0/+1
2020-03-25Adapt rollup config for recent `@babel/present-env` versionXhmikosR1-2/+4
2020-01-02Bump copyright year to 2020. (#29944)XhmikosR1-2/+2
2019-10-03return to the original file structure to avoid breaking modularityJohann-S1-13/+13
2019-07-23rewrite tab unit testsJohann-S1-1/+1
2019-07-23rewrite scrollspy unit testsJohann-S1-1/+1
2019-07-23rewrite tooltip unit testsJohann-S1-1/+1
2019-07-23rewrite popover unit testsJohann-S1-1/+1
2019-07-23rewrite modal unit testsJohann-S1-1/+1
2019-07-23rewrite toast unit testsAnton Bershanskiy1-1/+1
2019-07-23rewrite dropdown unit testsJohann-S1-1/+1
2019-07-23rewrite collapse unit testsJohann-S1-1/+1
2019-07-23rewrite carousel unit testsJohann-S1-1/+1
2019-07-23rewrite button unit testsJohann-S1-1/+1
2019-07-23Switch from QUnit to Jasmine.Johann-S1-8/+2
2019-07-17updated babelJohann-S1-1/+1
2019-07-10separate file for our polyfills to have lighter pluginsJohann-S1-2/+7
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR1-2/+2
2019-05-08improve build plugin script to keep file nameJohann-S1-15/+15
2019-03-18Add back support for IE 11Johann-S1-14/+2
2019-03-11Comply to the new rules.XhmikosR1-13/+13
2019-02-26move util in a util folder with the sanitizerJohann-S1-30/+33