aboutsummaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12Update globby to v14XhmikosR1-2/+5
Also: * fix globals type * switch to async
2024-02-05Bump copyright year to 2024Julien Déramond5-5/+5
2023-08-21Improve change-version script (#38983)XhmikosR1-16/+27
Only replace the version in specific files instead of blindly all repo files
2023-08-06Convert build scripts to ESM (#38984)XhmikosR8-43/+53
2023-06-18Add `color-modes.js` to `bootstrap-x.y.z-examples.zip` (#38747)Julien Déramond1-1/+9
2023-05-17Rename config.yml to hugo.yml (#38582)Christian Oliff1-2/+2
hugo.yml is now recommended (over the generic sounding config.yml) as the default config based filename REF: https://gohugo.io/getting-started/configuration/#hugotoml-vs-configtoml Changing this may make it easier for code editors and build tools to identify this as a Hugo configuration file and project.
2023-04-12change-version.js: handle rubygems specific version number (#38452)Julien Déramond1-9/+30
* Handle Ruby specific version in `change-version.js` * Guard against the same version --------- Co-authored-by: XhmikosR <[email protected]>
2023-04-09generate-sri.js: use destructuring (#38413)XhmikosR1-4/+4
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR2-15/+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-28zip scripts: remove previous zip files and add quiet flag (#38358)XhmikosR1-1/+1
2023-03-24vnu-jar.js: add more logging (#38314)XhmikosR1-1/+6
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke5-5/+5
2022-12-20Update docs and package information to clarify licenseMark Otto4-4/+0
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR1-1/+1
2022-11-11explicitly use `banner` function, avoiding passing argumentsGeorge Sotiropoulos1-1/+1
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot1-1/+1
2022-09-20Update devDependencies (#37177)XhmikosR7-10/+11
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 variablesXhmikosR3-9/+9
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)XhmikosR5-9/+9
2021-12-15build/postcss.config.js: minor tweaks (#35506)XhmikosR1-9/+9
2021-12-01Remove the now outdated build/svgo.yml (#35447)XhmikosR1-59/+0
2021-11-24build/change-version.js: fix wrong map usage (#35395)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-05Enable `unicorn/no-array-for-each` ruleXhmikosR2-10/+10
2021-10-04rollup: specify `generatedCode: 'es2015'` (#35070)XhmikosR2-1/+3
This will make use of `const` and modern features (which we are already using in our code) in the generated rollup code.
2021-09-07Bump vnu-jar from 21.6.11 to 21.9.2 (#34874)dependabot[bot]1-1/+5
* Bump vnu-jar from 21.6.11 to 21.9.2 Bumps [vnu-jar](https://github.com/validator/validator) from 21.6.11 to 21.9.2. - [Release notes](https://github.com/validator/validator/releases) - [Changelog](https://github.com/validator/validator/blob/main/CHANGELOG.md) - [Commits](https://github.com/validator/validator/compare/21.6.11...21.9.2) --- updated-dependencies: - dependency-name: vnu-jar dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Ignore the `aria-disabled` warnings * Add comment to aria-disabled ignore Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-06-22Use the `switch` statement instead of `if`Rohit Sharma1-63/+54
2021-06-22build/vnu-jar.js: clean up ignores (#34279)XhmikosR1-4/+1
2021-06-08Improve vnu-jar.js (#34075)XhmikosR1-15/+5
* switch to `execFile` for the java version command * simplify our ignores and removed no longer needed ones * remove `--no-langdetect` since it doesn't seem to trigger any issues any more
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-11Improve change-version.js (#33148)XhmikosR1-76/+45
* switch to async/await * remove shelljs * switch to globby; supports .gitignore out of the box * don't write any files to the disk if they are indentical * add two more cmd switches: --dry and --verbose * strip leading "v" from version arguments so that we don't end up with duplicate `v`s
2021-03-10@rollup/plugin-replace: specify `preventAssignment: true` (#33329)XhmikosR1-1/+7
This is to fix a warning since the option will be set to true in the next major version of the plugin
2021-03-10Delete the unused build/ship.sh (#33326)XhmikosR1-55/+0
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-03-02Rename _gh_pages to _site. (#33129)XhmikosR4-4/+4
2021-02-09vnu-jar.js: quote vnu path (#33016)XhmikosR1-1/+1
Should work now with folders with spaces
2021-01-28change-version: remove vendor, add resources (#32917)XhmikosR1-1/+1
2021-01-14Update zip-examples.js (#32799)XhmikosR1-2/+2
Remove previously created zip files before creating a new one
2021-01-14build-plugins: build Base component too (#32313)XhmikosR1-0/+6
2021-01-13Improve zip-examples.js (#32469)XhmikosR1-18/+48
Only include the needed dist files: ~1.27 MB -> ~410 KB
2021-01-10package.json: move `version_short` variable under the `config` object (#32737)XhmikosR1-2/+3
This is so that it works on npm 7.x too.
2021-01-07Bump copyright year to 2021 (#32713)XhmikosR5-9/+9
2020-12-07build-plugins: switch to "bundled" for babel helpers (#32312)XhmikosR1-2/+2
2020-12-06Update to popper.js v2.xJohann-S3-8/+9
2020-12-04Move rtlcss to postcss.config.jsXhmikosR1-1/+2
2020-12-04chore(RTL): add RTLCSSGaël Poupard1-0/+4
2020-12-02Remove Polyfill leftovers (#32310)XhmikosR2-2/+1
Leftovers from #32057