Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR
2022-11-11explicitly use `banner` function, avoiding passing argumentsGeorge Sotiropoulos
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot
2022-09-20Update devDependencies (#37177)XhmikosR
2022-02-15Update devDependencies (#35841)XhmikosR
* 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 variablesXhmikosR
2022-01-13build-plugins.js: use globby package (#35586)XhmikosR
We already use it in the change-version.js file
2022-01-03Bump copyright year to 2022 (#35639)XhmikosR
2021-12-15build/postcss.config.js: minor tweaks (#35506)XhmikosR
2021-12-01Remove the now outdated build/svgo.yml (#35447)XhmikosR
2021-11-24build/change-version.js: fix wrong map usage (#35395)XhmikosR
2021-11-23build: read & dynamically resolve `imports` on plugins build (#34509)GeoSot
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 <xhmikosr@gmail.com>
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR
2021-10-04rollup: specify `generatedCode: 'es2015'` (#35070)XhmikosR
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]
* 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] <support@github.com> * 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 <redux@splintered.co.uk> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-23Use the `switch` statement instead of `if`Rohit Sharma
2021-06-22build/vnu-jar.js: clean up ignores (#34279)XhmikosR
2021-06-08Improve vnu-jar.js (#34075)XhmikosR
* 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)GeoSot
* 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 <rohit2sharma95@gmail.com>
2021-03-16Change the name of the `Offcanvas` constructor (#33261)Rohit Sharma
2021-03-11Improve change-version.js (#33148)XhmikosR
* 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)XhmikosR
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)XhmikosR
2021-03-02Offcanvas as component (#29017)GeoSot
* 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 <xhmikosr@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-02Rename _gh_pages to _site. (#33129)XhmikosR
2021-02-09vnu-jar.js: quote vnu path (#33016)XhmikosR
Should work now with folders with spaces
2021-01-29change-version: remove vendor, add resources (#32917)XhmikosR
2021-01-14Update zip-examples.js (#32799)XhmikosR
Remove previously created zip files before creating a new one
2021-01-14build-plugins: build Base component too (#32313)XhmikosR
2021-01-13Improve zip-examples.js (#32469)XhmikosR
Only include the needed dist files: ~1.27 MB -> ~410 KB
2021-01-10package.json: move `version_short` variable under the `config` object (#32737)XhmikosR
This is so that it works on npm 7.x too.
2021-01-07Bump copyright year to 2021 (#32713)XhmikosR
2020-12-07build-plugins: switch to "bundled" for babel helpers (#32312)XhmikosR
2020-12-06Update to popper.js v2.xJohann-S
2020-12-04Move rtlcss to postcss.config.jsXhmikosR
2020-12-04chore(RTL): add RTLCSSGaël Poupard
2020-12-02Remove Polyfill leftovers (#32310)XhmikosR
Leftovers from #32057
2020-11-23postcss.config.js: remove arrow return (#32235)XhmikosR
2020-11-21Improve build/generate-sri.js regex (#29753)Noah Rosenzweig
When using single-quotes in config.yml, the previous regular expression in build/generate-cli.js wasn't working correctly, it was replacing ALL string values with hashes. Now both double- and single-quotes can be used in config.yml, and the RegExp will work as expected. Also, allow trailing whitespaces and empty ("") values to be matched. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-14Switch to `Set#has()`XhmikosR
2020-11-05Remove the now unneeded polyfills.XhmikosR
2020-09-10Fix the remaining instances using the old logos.XhmikosR
2020-07-07Update to `@rollup/plugin-node-resolve` v8.1.0. (#31249)XhmikosR
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-16Rename "master" to "main". (#31050)XhmikosR
2020-05-26Update to `@rollup/plugin-babel` (#30742)XhmikosR
2020-05-11Improve build/zip-examples.js (#30759)XhmikosR
* remove favicons meta tags * copy the two brand images we use in the examples * opy dist and brand images into an assets folder
2020-05-06ensure build plugins can exit in error (#30744)Johann-S
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05build-plugins.js: add missing shebang (#30743)XhmikosR
2020-05-04Move babel whitelist helpers to a common file (#30723)XhmikosR