aboutsummaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2021-03-16build-plugins: use object spreadXhmikosR-patch-5XhmikosR1-2/+2
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
2020-11-23postcss.config.js: remove arrow return (#32235)XhmikosR1-12/+14
2020-11-21Improve build/generate-sri.js regex (#29753)Noah Rosenzweig1-1/+1
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 <[email protected]>
2020-11-14Switch to `Set#has()`XhmikosR1-6/+6
2020-11-05Remove the now unneeded polyfills.XhmikosR1-6/+1
2020-09-10Fix the remaining instances using the old logos.XhmikosR1-2/+2
2020-07-07Update to `@rollup/plugin-node-resolve` v8.1.0. (#31249)XhmikosR1-2/+2
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke1-1/+1
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-06-16Rename "master" to "main". (#31050)XhmikosR7-7/+7
2020-05-26Update to `@rollup/plugin-babel` (#30742)XhmikosR3-22/+6
2020-05-11Improve build/zip-examples.js (#30759)XhmikosR1-12/+20
* 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-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)XhmikosR3-18/+18
2020-05-04build/build-plugins.js: add missing catch (#30722)XhmikosR1-0/+1
2020-05-04Clean up lint rules (#30721)XhmikosR1-1/+2
* Remove unneeded rule suppression * Format tests/unit/.eslintrc.json * build/.eslintrc.json: add strict for consistency
2020-04-29Add a script to zip the built examples (#30130)XhmikosR1-0/+51
2020-03-25Adapt rollup config for recent `@babel/present-env` versionXhmikosR2-4/+8
2020-03-18Remove Internet Explorer leftoversXhmikosR1-4/+1
2020-03-05build/ship.sh: shellcheck fixes. (#30197)XhmikosR1-16/+19
Also add `set -e` so that if a command fails the whole script fails too.
2020-02-13change-version.js: Remove nuspec files (#30161)XhmikosR1-1/+0
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
2020-02-05Change file permissions to 644. (#30106)XhmikosR2-0/+0
2020-01-07Fix the new lint errors.XhmikosR1-2/+2
2020-01-07Use regex.test() when we want to check for a Boolean. (#29969)XhmikosR1-1/+1
2020-01-02Bump copyright year to 2020. (#29944)XhmikosR4-8/+8
2019-12-25Switch to @rollup/plugin-node-resolve (#29851)XhmikosR1-1/+1
2019-11-26Update change-version.js (#29736)XhmikosR1-0/+1
Add `.nuspec` to the extensions list
2019-10-25Enable eslint no-console rule except for build directory (#29585)Pawel Wolak1-1/+4
2019-10-03return to the original file structure to avoid breaking modularityJohann-S1-13/+13
2019-08-19change-version.js: Add _gh_pages folder in ignores. (#29270)XhmikosR1-0/+1
2019-08-16Use US locale consistently. (#29255)XhmikosR1-1/+1
2019-07-25Reboot updatesMartijn Cuppens1-0/+4
- Remove unsupported browsers fixes - More consistent comment blocks - Reorganise order of some blocks - Add height fix for date/month/week/time inputs (#18842) - Remove redundant type selectors - Additional resets and theming options for `legend` - Add date & color inputs to reboot page - Use the same borders for text search, text inputs, textareas and date inputs - Move code styling to reboot