@aurodesignsystem/auro-formkit 1.6.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +3 -0
- package/.turbo/cache/013a48308b893dac-meta.json +1 -0
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/049b9083252d38be-meta.json +1 -0
- package/.turbo/cache/049b9083252d38be.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a1dd4481355cb0b-meta.json +1 -0
- package/.turbo/cache/0a1dd4481355cb0b.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/13cf37c850bd8cf4-meta.json +1 -0
- package/.turbo/cache/13cf37c850bd8cf4.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/3323eb841acb9c4e-meta.json +1 -0
- package/.turbo/cache/3323eb841acb9c4e.tar.zst +0 -0
- package/.turbo/cache/34ba23e2e2d652ad-meta.json +1 -0
- package/.turbo/cache/34ba23e2e2d652ad.tar.zst +0 -0
- package/.turbo/cache/368cd6fed7975ad2-meta.json +1 -0
- package/.turbo/cache/368cd6fed7975ad2.tar.zst +0 -0
- package/.turbo/cache/3924bce8e51f0ffa-meta.json +1 -0
- package/.turbo/cache/3924bce8e51f0ffa.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/4567487084a055b7-meta.json +1 -0
- package/.turbo/cache/4567487084a055b7.tar.zst +0 -0
- package/.turbo/cache/4763278a7d3dbc16-meta.json +1 -0
- package/.turbo/cache/4763278a7d3dbc16.tar.zst +0 -0
- package/.turbo/cache/549e6ef9f9ffd9a8-meta.json +1 -0
- package/.turbo/cache/549e6ef9f9ffd9a8.tar.zst +0 -0
- package/.turbo/cache/59ccd8430174883c-meta.json +1 -0
- package/.turbo/cache/59ccd8430174883c.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/683d4c0e20c077a9-meta.json +1 -0
- package/.turbo/cache/683d4c0e20c077a9.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +1 -0
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +1 -0
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8f8ffe35cc79d1a9-meta.json +1 -0
- package/.turbo/cache/8f8ffe35cc79d1a9.tar.zst +0 -0
- package/.turbo/cache/926d632729ca6536-meta.json +1 -0
- package/.turbo/cache/926d632729ca6536.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/9e7be41cc3a7ef43-meta.json +1 -0
- package/.turbo/cache/9e7be41cc3a7ef43.tar.zst +0 -0
- package/.turbo/cache/9ee793063ea89126-meta.json +1 -0
- package/.turbo/cache/9ee793063ea89126.tar.zst +0 -0
- package/.turbo/cache/a1558cef51c034da-meta.json +1 -0
- package/.turbo/cache/a1558cef51c034da.tar.zst +0 -0
- package/.turbo/cache/a24f2ff8e94e56e8-meta.json +1 -0
- package/.turbo/cache/a24f2ff8e94e56e8.tar.zst +0 -0
- package/.turbo/cache/a2705cf095a2ceb0-meta.json +1 -0
- package/.turbo/cache/a2705cf095a2ceb0.tar.zst +0 -0
- package/.turbo/cache/a33c0749886a41b5-meta.json +1 -0
- package/.turbo/cache/a33c0749886a41b5.tar.zst +0 -0
- package/.turbo/cache/a66b465385a30a2b-meta.json +1 -0
- package/.turbo/cache/a66b465385a30a2b.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/c1b72a92dec4fe37-meta.json +1 -0
- package/.turbo/cache/c1b72a92dec4fe37.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e25ac25a8a0ad126-meta.json +1 -0
- package/.turbo/cache/e25ac25a8a0ad126.tar.zst +0 -0
- package/.turbo/cache/e671573e4ef02c47-meta.json +1 -0
- package/.turbo/cache/e671573e4ef02c47.tar.zst +0 -0
- package/.turbo/cache/e86cee22dff5e281-meta.json +1 -0
- package/.turbo/cache/e86cee22dff5e281.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f680556a8e954eac-meta.json +1 -0
- package/.turbo/cache/f680556a8e954eac.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ffec4500b911b85a-meta.json +1 -0
- package/.turbo/cache/ffec4500b911b85a.tar.zst +0 -0
- package/CHANGELOG.md +430 -0
- package/LICENSE +201 -0
- package/README.md +225 -0
- package/components/checkbox/.stylelintrc.json +3 -0
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +98 -0
- package/components/checkbox/.turbo/turbo-build.log +182 -0
- package/components/checkbox/.turbo/turbo-bundler.log +13 -0
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/checkbox/.turbo/turbo-types.log +4 -0
- package/components/checkbox/README.md +187 -0
- package/components/checkbox/demo/api.html +48 -0
- package/components/checkbox/demo/api.js +1 -0
- package/components/checkbox/demo/api.md +272 -0
- package/components/checkbox/demo/api.min.js +845 -0
- package/components/checkbox/demo/index.js +8 -0
- package/components/checkbox/demo/index.md +306 -0
- package/components/checkbox/demo/index.min.js +845 -0
- package/components/checkbox/dist/auro-checkbox-group.d.ts +119 -0
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +75 -0
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -0
- package/components/checkbox/dist/index.d.ts +4 -0
- package/components/checkbox/dist/index.d.ts.map +1 -0
- package/components/checkbox/dist/index.js +844 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +3 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +3 -0
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/color-css.d.ts +3 -0
- package/components/checkbox/dist/styles/color-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +3 -0
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/tokens-css.d.ts +3 -0
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/checkbox/node_modules/chalk/package.json +83 -0
- package/components/checkbox/node_modules/chalk/readme.md +325 -0
- package/components/checkbox/node_modules/chalk/source/index.d.ts +320 -0
- package/components/checkbox/node_modules/chalk/source/index.js +225 -0
- package/components/checkbox/node_modules/chalk/source/utilities.js +33 -0
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/checkbox/package.json +68 -0
- package/components/checkbox/src/auro-checkbox-group.js +319 -0
- package/components/checkbox/src/auro-checkbox.js +184 -0
- package/components/checkbox/src/index.js +8 -0
- package/components/checkbox/src/styles/auro-checkbox-css.js +2 -0
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +2 -0
- package/components/checkbox/src/styles/auro-checkbox-group.css +26 -0
- package/components/checkbox/src/styles/auro-checkbox-group.scss +38 -0
- package/components/checkbox/src/styles/auro-checkbox.css +123 -0
- package/components/checkbox/src/styles/auro-checkbox.scss +100 -0
- package/components/checkbox/src/styles/color-css.js +2 -0
- package/components/checkbox/src/styles/color.css +84 -0
- package/components/checkbox/src/styles/color.scss +118 -0
- package/components/checkbox/src/styles/colorGroup-css.js +2 -0
- package/components/checkbox/src/styles/colorGroup.css +16 -0
- package/components/checkbox/src/styles/colorGroup.scss +24 -0
- package/components/checkbox/src/styles/tokens-css.js +2 -0
- package/components/checkbox/src/styles/tokens.css +9 -0
- package/components/checkbox/src/styles/tokens.scss +11 -0
- package/components/combobox/.stylelintrc.json +3 -0
- package/components/combobox/.turbo/turbo-build$colon$sass.log +46 -0
- package/components/combobox/.turbo/turbo-build.log +160 -0
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/combobox/.turbo/turbo-sass$colon$render.log +10 -0
- package/components/combobox/README.md +200 -0
- package/components/combobox/demo/api.html +55 -0
- package/components/combobox/demo/api.js +34 -0
- package/components/combobox/demo/api.md +816 -0
- package/components/combobox/demo/api.min.js +9165 -0
- package/components/combobox/demo/index.js +26 -0
- package/components/combobox/demo/index.md +626 -0
- package/components/combobox/demo/index.min.js +9028 -0
- package/components/combobox/dist/auro-combobox.d.ts +241 -0
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -0
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts +3 -0
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.d.ts +3 -0
- package/components/combobox/dist/index.d.ts.map +1 -0
- package/components/combobox/dist/index.js +7898 -0
- package/components/combobox/dist/styles/style-css.d.ts +3 -0
- package/components/combobox/dist/styles/style-css.d.ts.map +1 -0
- package/components/combobox/node_modules/chalk/package.json +83 -0
- package/components/combobox/node_modules/chalk/readme.md +325 -0
- package/components/combobox/node_modules/chalk/source/index.d.ts +320 -0
- package/components/combobox/node_modules/chalk/source/index.js +225 -0
- package/components/combobox/node_modules/chalk/source/utilities.js +33 -0
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/combobox/package.json +67 -0
- package/components/combobox/src/auro-combobox.js +711 -0
- package/components/combobox/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/combobox/src/formkit/auro-inputVersion.js +1 -0
- package/components/combobox/src/index.js +6 -0
- package/components/combobox/src/styles/style-css.js +2 -0
- package/components/combobox/src/styles/style.css +60 -0
- package/components/combobox/src/styles/style.scss +46 -0
- package/components/counter/.stylelintrc.json +3 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +66 -0
- package/components/counter/.turbo/turbo-build.log +87 -0
- package/components/counter/.turbo/turbo-bundler.log +13 -0
- package/components/counter/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/counter/.turbo/turbo-sass$colon$render.log +16 -0
- package/components/counter/.turbo/turbo-types.log +4 -0
- package/components/counter/demo/api.html +52 -0
- package/components/counter/demo/api.js +16 -0
- package/components/counter/demo/api.md +1053 -0
- package/components/counter/demo/api.min.js +115 -0
- package/components/counter/demo/index.js +20 -0
- package/components/counter/demo/index.min.js +71 -0
- package/components/counter/dist/auro-counter-group.d.ts +20 -0
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -0
- package/components/counter/dist/index.d.ts +4 -0
- package/components/counter/dist/index.d.ts.map +1 -0
- package/components/counter/dist/index.js +110 -0
- package/components/counter/dist/styles/counter-group-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-css.d.ts.map +1 -0
- package/components/counter/dist/styles/style-css.d.ts +3 -0
- package/components/counter/dist/styles/style-css.d.ts.map +1 -0
- package/components/counter/node_modules/chalk/package.json +83 -0
- package/components/counter/node_modules/chalk/readme.md +325 -0
- package/components/counter/node_modules/chalk/source/index.d.ts +320 -0
- package/components/counter/node_modules/chalk/source/index.js +225 -0
- package/components/counter/node_modules/chalk/source/utilities.js +33 -0
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/counter/package.json +50 -0
- package/components/counter/src/auro-counter-group.js +48 -0
- package/components/counter/src/auro-counter.js +29 -0
- package/components/counter/src/index.js +8 -0
- package/components/counter/src/styles/counter-group-css.js +2 -0
- package/components/counter/src/styles/counter-group.css +4 -0
- package/components/counter/src/styles/counter-group.scss +17 -0
- package/components/counter/src/styles/style-css.js +2 -0
- package/components/counter/src/styles/style.css +4 -0
- package/components/counter/src/styles/style.scss +17 -0
- package/components/datepicker/.stylelintrc.json +3 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +352 -0
- package/components/datepicker/.turbo/turbo-build.log +489 -0
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +58 -0
- package/components/datepicker/README.md +181 -0
- package/components/datepicker/demo/api.html +58 -0
- package/components/datepicker/demo/api.js +33 -0
- package/components/datepicker/demo/api.md +1172 -0
- package/components/datepicker/demo/api.min.js +18466 -0
- package/components/datepicker/demo/index.js +19 -0
- package/components/datepicker/demo/index.md +107 -0
- package/components/datepicker/demo/index.min.js +18195 -0
- package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +1 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +5 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +1 -0
- package/components/datepicker/dist/auro-calendar.d.ts +105 -0
- package/components/datepicker/dist/auro-calendar.d.ts.map +1 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +336 -0
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -0
- package/components/datepicker/dist/dropdownVersion.d.ts +1 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -0
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +3 -0
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/index.d.ts +3 -0
- package/components/datepicker/dist/index.d.ts.map +1 -0
- package/components/datepicker/dist/index.js +18191 -0
- package/components/datepicker/dist/popoverVersion.d.ts +3 -0
- package/components/datepicker/dist/popoverVersion.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-cell-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-month-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/tokens-css.d.ts +3 -0
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/datepicker/dist/utilities.d.ts +47 -0
- package/components/datepicker/dist/utilities.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +51 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +6 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +61 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +2 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +58 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +1 -0
- package/components/datepicker/node_modules/chalk/package.json +83 -0
- package/components/datepicker/node_modules/chalk/readme.md +325 -0
- package/components/datepicker/node_modules/chalk/source/index.d.ts +320 -0
- package/components/datepicker/node_modules/chalk/source/index.js +225 -0
- package/components/datepicker/node_modules/chalk/source/utilities.js +33 -0
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +137 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +75 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +51 -0
- package/components/datepicker/package.json +79 -0
- package/components/datepicker/src/auro-calendar-cell.js +381 -0
- package/components/datepicker/src/auro-calendar-month.js +128 -0
- package/components/datepicker/src/auro-calendar.js +329 -0
- package/components/datepicker/src/auro-datepicker.js +969 -0
- package/components/datepicker/src/dropdownVersion.js +0 -0
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/datepicker/src/formkit/auro-inputVersion.js +1 -0
- package/components/datepicker/src/index.js +6 -0
- package/components/datepicker/src/popoverVersion.js +1 -0
- package/components/datepicker/src/styles/color-calendar-css.js +2 -0
- package/components/datepicker/src/styles/color-calendar.css +35 -0
- package/components/datepicker/src/styles/color-calendar.scss +51 -0
- package/components/datepicker/src/styles/color-cell-css.js +2 -0
- package/components/datepicker/src/styles/color-cell.css +45 -0
- package/components/datepicker/src/styles/color-cell.scss +73 -0
- package/components/datepicker/src/styles/color-css.js +2 -0
- package/components/datepicker/src/styles/color-month-css.js +2 -0
- package/components/datepicker/src/styles/color-month.css +34 -0
- package/components/datepicker/src/styles/color-month.scss +27 -0
- package/components/datepicker/src/styles/color.css +43 -0
- package/components/datepicker/src/styles/color.scss +30 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +123 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +147 -0
- package/components/datepicker/src/styles/style-auro-calendar-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-month.css +121 -0
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +141 -0
- package/components/datepicker/src/styles/style-auro-calendar.css +152 -0
- package/components/datepicker/src/styles/style-auro-calendar.scss +191 -0
- package/components/datepicker/src/styles/style-css.js +2 -0
- package/components/datepicker/src/styles/style.css +111 -0
- package/components/datepicker/src/styles/style.scss +107 -0
- package/components/datepicker/src/styles/tokens-css.js +2 -0
- package/components/datepicker/src/styles/tokens.css +22 -0
- package/components/datepicker/src/styles/tokens.scss +25 -0
- package/components/datepicker/src/utilities.js +87 -0
- package/components/datepicker/src/utilitiesCalendar.js +138 -0
- package/components/datepicker/src/utilitiesCalendarRender.js +156 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +8 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +521 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +211 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +254 -0
- package/components/dropdown/.stylelintrc.json +3 -0
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +75 -0
- package/components/dropdown/.turbo/turbo-build$colon$version.log +7 -0
- package/components/dropdown/.turbo/turbo-build.log +206 -0
- package/components/dropdown/.turbo/turbo-bundler.log +13 -0
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/dropdown/.turbo/turbo-types.log +4 -0
- package/components/dropdown/README.md +188 -0
- package/components/dropdown/demo/api.html +55 -0
- package/components/dropdown/demo/api.js +21 -0
- package/components/dropdown/demo/api.md +1179 -0
- package/components/dropdown/demo/api.min.js +2885 -0
- package/components/dropdown/demo/index.js +22 -0
- package/components/dropdown/demo/index.md +404 -0
- package/components/dropdown/demo/index.min.js +2851 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +194 -0
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts +33 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -0
- package/components/dropdown/dist/iconVersion.d.ts +3 -0
- package/components/dropdown/dist/iconVersion.d.ts.map +1 -0
- package/components/dropdown/dist/index.d.ts +3 -0
- package/components/dropdown/dist/index.d.ts.map +1 -0
- package/components/dropdown/dist/index.js +2842 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +3 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +3 -0
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/color-css.d.ts +3 -0
- package/components/dropdown/dist/styles/color-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/style-css.d.ts +3 -0
- package/components/dropdown/dist/styles/style-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/tokens-css.d.ts +3 -0
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/dropdown/node_modules/chalk/package.json +83 -0
- package/components/dropdown/node_modules/chalk/readme.md +325 -0
- package/components/dropdown/node_modules/chalk/source/index.d.ts +320 -0
- package/components/dropdown/node_modules/chalk/source/index.js +225 -0
- package/components/dropdown/node_modules/chalk/source/utilities.js +33 -0
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/dropdown/package.json +57 -0
- package/components/dropdown/src/auro-dropdown.js +359 -0
- package/components/dropdown/src/auro-dropdownBib.js +97 -0
- package/components/dropdown/src/iconVersion.js +1 -0
- package/components/dropdown/src/index.js +6 -0
- package/components/dropdown/src/styles/bibColors-css.js +2 -0
- package/components/dropdown/src/styles/bibColors.css +6 -0
- package/components/dropdown/src/styles/bibColors.scss +18 -0
- package/components/dropdown/src/styles/bibStyles-css.js +2 -0
- package/components/dropdown/src/styles/bibStyles.css +48 -0
- package/components/dropdown/src/styles/bibStyles.scss +67 -0
- package/components/dropdown/src/styles/color-css.js +2 -0
- package/components/dropdown/src/styles/color.css +59 -0
- package/components/dropdown/src/styles/color.scss +79 -0
- package/components/dropdown/src/styles/style-css.js +2 -0
- package/components/dropdown/src/styles/style.css +88 -0
- package/components/dropdown/src/styles/style.scss +117 -0
- package/components/dropdown/src/styles/tokens-css.js +2 -0
- package/components/dropdown/src/styles/tokens.css +13 -0
- package/components/dropdown/src/styles/tokens.scss +15 -0
- package/components/form/.stylelintrc.json +3 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +57 -0
- package/components/form/.turbo/turbo-build$colon$version.log +4 -0
- package/components/form/.turbo/turbo-build.log +113 -0
- package/components/form/.turbo/turbo-bundler.log +13 -0
- package/components/form/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/form/.turbo/turbo-sass$colon$render.log +10 -0
- package/components/form/.turbo/turbo-types.log +4 -0
- package/components/form/README.md +186 -0
- package/components/form/demo/api.html +48 -0
- package/components/form/demo/api.js +3 -0
- package/components/form/demo/api.md +0 -0
- package/components/form/demo/api.min.js +160 -0
- package/components/form/demo/index.js +4 -0
- package/components/form/demo/index.md +40 -0
- package/components/form/demo/index.min.js +161 -0
- package/components/form/dist/auro-form.d.ts +26 -0
- package/components/form/dist/auro-form.d.ts.map +1 -0
- package/components/form/dist/index.d.ts +3 -0
- package/components/form/dist/index.d.ts.map +1 -0
- package/components/form/dist/index.js +162 -0
- package/components/form/dist/styles/style-css.d.ts +3 -0
- package/components/form/dist/styles/style-css.d.ts.map +1 -0
- package/components/form/node_modules/chalk/package.json +83 -0
- package/components/form/node_modules/chalk/readme.md +325 -0
- package/components/form/node_modules/chalk/source/index.d.ts +320 -0
- package/components/form/node_modules/chalk/source/index.js +225 -0
- package/components/form/node_modules/chalk/source/utilities.js +33 -0
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/form/package.json +72 -0
- package/components/form/src/auro-form.js +74 -0
- package/components/form/src/index.js +6 -0
- package/components/form/src/styles/style-css.js +2 -0
- package/components/form/src/styles/style.css +36 -0
- package/components/form/src/styles/style.scss +37 -0
- package/components/input/.stylelintrc.json +3 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +148 -0
- package/components/input/.turbo/turbo-build$colon$version.log +10 -0
- package/components/input/.turbo/turbo-build.log +300 -0
- package/components/input/.turbo/turbo-bundler.log +13 -0
- package/components/input/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/input/.turbo/turbo-sass$colon$render.log +52 -0
- package/components/input/.turbo/turbo-types.log +4 -0
- package/components/input/README.md +176 -0
- package/components/input/demo/api.html +40 -0
- package/components/input/demo/api.js +25 -0
- package/components/input/demo/api.md +1251 -0
- package/components/input/demo/api.min.js +4070 -0
- package/components/input/demo/index.js +20 -0
- package/components/input/demo/index.md +253 -0
- package/components/input/demo/index.min.js +4012 -0
- package/components/input/dist/auro-input.d.ts +29 -0
- package/components/input/dist/auro-input.d.ts.map +1 -0
- package/components/input/dist/base-input.d.ts +359 -0
- package/components/input/dist/base-input.d.ts.map +1 -0
- package/components/input/dist/buttonVersion.d.ts +3 -0
- package/components/input/dist/buttonVersion.d.ts.map +1 -0
- package/components/input/dist/i18n.d.ts +19 -0
- package/components/input/dist/i18n.d.ts.map +1 -0
- package/components/input/dist/iconVersion.d.ts +3 -0
- package/components/input/dist/iconVersion.d.ts.map +1 -0
- package/components/input/dist/index.d.ts +3 -0
- package/components/input/dist/index.d.ts.map +1 -0
- package/components/input/dist/index.js +3979 -0
- package/components/input/dist/styles/borders-css.d.ts +3 -0
- package/components/input/dist/styles/borders-css.d.ts.map +1 -0
- package/components/input/dist/styles/color-css.d.ts +3 -0
- package/components/input/dist/styles/color-css.d.ts.map +1 -0
- package/components/input/dist/styles/helpText-css.d.ts +3 -0
- package/components/input/dist/styles/helpText-css.d.ts.map +1 -0
- package/components/input/dist/styles/input-css.d.ts +3 -0
- package/components/input/dist/styles/input-css.d.ts.map +1 -0
- package/components/input/dist/styles/label-css.d.ts +3 -0
- package/components/input/dist/styles/label-css.d.ts.map +1 -0
- package/components/input/dist/styles/notificationIcons-css.d.ts +3 -0
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +1 -0
- package/components/input/dist/styles/style-css.d.ts +3 -0
- package/components/input/dist/styles/style-css.d.ts.map +1 -0
- package/components/input/dist/styles/tokens-css.d.ts +3 -0
- package/components/input/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/input/node_modules/chalk/package.json +83 -0
- package/components/input/node_modules/chalk/readme.md +325 -0
- package/components/input/node_modules/chalk/source/index.d.ts +320 -0
- package/components/input/node_modules/chalk/source/index.js +225 -0
- package/components/input/node_modules/chalk/source/utilities.js +33 -0
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/input/package.json +75 -0
- package/components/input/src/auro-input.js +242 -0
- package/components/input/src/base-input.js +942 -0
- package/components/input/src/buttonVersion.js +1 -0
- package/components/input/src/i18n.js +102 -0
- package/components/input/src/iconVersion.js +1 -0
- package/components/input/src/index.js +6 -0
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +2 -0
- package/components/input/src/styles/borders.css +35 -0
- package/components/input/src/styles/borders.scss +65 -0
- package/components/input/src/styles/color-css.js +2 -0
- package/components/input/src/styles/color.css +63 -0
- package/components/input/src/styles/color.scss +96 -0
- package/components/input/src/styles/helpText-css.js +2 -0
- package/components/input/src/styles/helpText.css +6 -0
- package/components/input/src/styles/helpText.scss +9 -0
- package/components/input/src/styles/input-css.js +2 -0
- package/components/input/src/styles/input.css +22 -0
- package/components/input/src/styles/input.scss +29 -0
- package/components/input/src/styles/label-css.js +2 -0
- package/components/input/src/styles/label.css +45 -0
- package/components/input/src/styles/label.scss +75 -0
- package/components/input/src/styles/notificationIcons-css.js +2 -0
- package/components/input/src/styles/notificationIcons.css +76 -0
- package/components/input/src/styles/notificationIcons.scss +103 -0
- package/components/input/src/styles/style-css.js +2 -0
- package/components/input/src/styles/style.css +272 -0
- package/components/input/src/styles/style.scss +57 -0
- package/components/input/src/styles/tokens-css.js +2 -0
- package/components/input/src/styles/tokens.css +9 -0
- package/components/input/src/styles/tokens.scss +11 -0
- package/components/menu/.stylelintrc.json +3 -0
- package/components/menu/.turbo/turbo-build$colon$sass.log +86 -0
- package/components/menu/.turbo/turbo-build$colon$version.log +7 -0
- package/components/menu/.turbo/turbo-build.log +184 -0
- package/components/menu/.turbo/turbo-bundler.log +13 -0
- package/components/menu/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/menu/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/menu/.turbo/turbo-types.log +4 -0
- package/components/menu/README.md +190 -0
- package/components/menu/demo/api.html +53 -0
- package/components/menu/demo/api.js +27 -0
- package/components/menu/demo/api.md +923 -0
- package/components/menu/demo/api.min.js +1293 -0
- package/components/menu/demo/index.js +28 -0
- package/components/menu/demo/index.md +104 -0
- package/components/menu/demo/index.min.js +1239 -0
- package/components/menu/dist/auro-menu.d.ts +194 -0
- package/components/menu/dist/auro-menu.d.ts.map +1 -0
- package/components/menu/dist/auro-menuoption.d.ts +65 -0
- package/components/menu/dist/auro-menuoption.d.ts.map +1 -0
- package/components/menu/dist/iconVersion.d.ts +3 -0
- package/components/menu/dist/iconVersion.d.ts.map +1 -0
- package/components/menu/dist/index.d.ts +4 -0
- package/components/menu/dist/index.d.ts.map +1 -0
- package/components/menu/dist/index.js +1231 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +3 -0
- package/components/menu/dist/styles/color-menu-css.d.ts.map +1 -0
- package/components/menu/dist/styles/color-menuoption-css.d.ts +3 -0
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +1 -0
- package/components/menu/dist/styles/style-menu-css.d.ts +3 -0
- package/components/menu/dist/styles/style-menu-css.d.ts.map +1 -0
- package/components/menu/dist/styles/style-menuoption-css.d.ts +3 -0
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +1 -0
- package/components/menu/dist/styles/tokens-css.d.ts +3 -0
- package/components/menu/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/menu/node_modules/chalk/package.json +83 -0
- package/components/menu/node_modules/chalk/readme.md +325 -0
- package/components/menu/node_modules/chalk/source/index.d.ts +320 -0
- package/components/menu/node_modules/chalk/source/index.js +225 -0
- package/components/menu/node_modules/chalk/source/utilities.js +33 -0
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/menu/node_modules/mime/CHANGELOG.md +296 -0
- package/components/menu/node_modules/mime/Mime.js +97 -0
- package/components/menu/node_modules/mime/README.md +187 -0
- package/components/menu/node_modules/mime/cli.js +46 -0
- package/components/menu/node_modules/mime/index.js +4 -0
- package/components/menu/node_modules/mime/lite.js +4 -0
- package/components/menu/node_modules/mime/package.json +52 -0
- package/components/menu/node_modules/mime/types/other.js +1 -0
- package/components/menu/node_modules/mime/types/standard.js +1 -0
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/menu/node_modules/rollup-plugin-serve/README.md +135 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/menu/node_modules/rollup-plugin-serve/package.json +44 -0
- package/components/menu/package.json +70 -0
- package/components/menu/src/auro-menu.js +571 -0
- package/components/menu/src/auro-menuoption.js +148 -0
- package/components/menu/src/iconVersion.js +1 -0
- package/components/menu/src/index.js +8 -0
- package/components/menu/src/styles/color-menu-css.js +2 -0
- package/components/menu/src/styles/color-menu.css +4 -0
- package/components/menu/src/styles/color-menu.scss +12 -0
- package/components/menu/src/styles/color-menuoption-css.js +2 -0
- package/components/menu/src/styles/color-menuoption.css +23 -0
- package/components/menu/src/styles/color-menuoption.scss +33 -0
- package/components/menu/src/styles/style-menu-css.js +2 -0
- package/components/menu/src/styles/style-menu.css +2061 -0
- package/components/menu/src/styles/style-menu.scss +80 -0
- package/components/menu/src/styles/style-menuoption-css.js +2 -0
- package/components/menu/src/styles/style-menuoption.css +45 -0
- package/components/menu/src/styles/style-menuoption.scss +66 -0
- package/components/menu/src/styles/tokens-css.js +2 -0
- package/components/menu/src/styles/tokens.css +6 -0
- package/components/menu/src/styles/tokens.scss +6 -0
- package/components/radio/.stylelintrc.json +3 -0
- package/components/radio/.turbo/turbo-build$colon$sass.log +130 -0
- package/components/radio/.turbo/turbo-build.log +213 -0
- package/components/radio/.turbo/turbo-bundler.log +13 -0
- package/components/radio/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/radio/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/radio/.turbo/turbo-types.log +4 -0
- package/components/radio/README.md +176 -0
- package/components/radio/demo/api.html +50 -0
- package/components/radio/demo/api.js +17 -0
- package/components/radio/demo/api.md +401 -0
- package/components/radio/demo/api.min.js +1050 -0
- package/components/radio/demo/index.js +8 -0
- package/components/radio/demo/index.md +122 -0
- package/components/radio/demo/index.min.js +1016 -0
- package/components/radio/dist/auro-radio-group.d.ts +171 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -0
- package/components/radio/dist/auro-radio.d.ts +113 -0
- package/components/radio/dist/auro-radio.d.ts.map +1 -0
- package/components/radio/dist/index.d.ts +4 -0
- package/components/radio/dist/index.d.ts.map +1 -0
- package/components/radio/dist/index.js +1015 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +3 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +1 -0
- package/components/radio/dist/styles/color-css.d.ts +3 -0
- package/components/radio/dist/styles/color-css.d.ts.map +1 -0
- package/components/radio/dist/styles/groupColor-css.d.ts +3 -0
- package/components/radio/dist/styles/groupColor-css.d.ts.map +1 -0
- package/components/radio/dist/styles/style-css.d.ts +3 -0
- package/components/radio/dist/styles/style-css.d.ts.map +1 -0
- package/components/radio/dist/styles/tokens-css.d.ts +3 -0
- package/components/radio/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/radio/node_modules/chalk/package.json +83 -0
- package/components/radio/node_modules/chalk/readme.md +325 -0
- package/components/radio/node_modules/chalk/source/index.d.ts +320 -0
- package/components/radio/node_modules/chalk/source/index.js +225 -0
- package/components/radio/node_modules/chalk/source/utilities.js +33 -0
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/radio/package.json +69 -0
- package/components/radio/src/auro-radio-group.js +433 -0
- package/components/radio/src/auro-radio.js +247 -0
- package/components/radio/src/index.js +8 -0
- package/components/radio/src/styles/auro-radio-group-css.js +2 -0
- package/components/radio/src/styles/auro-radio-group.css +23 -0
- package/components/radio/src/styles/auro-radio-group.scss +36 -0
- package/components/radio/src/styles/color-css.js +2 -0
- package/components/radio/src/styles/color.css +45 -0
- package/components/radio/src/styles/color.scss +56 -0
- package/components/radio/src/styles/groupColor-css.js +2 -0
- package/components/radio/src/styles/groupColor.css +21 -0
- package/components/radio/src/styles/groupColor.scss +33 -0
- package/components/radio/src/styles/style-css.js +2 -0
- package/components/radio/src/styles/style.css +113 -0
- package/components/radio/src/styles/style.scss +99 -0
- package/components/radio/src/styles/tokens-css.js +2 -0
- package/components/radio/src/styles/tokens.css +9 -0
- package/components/radio/src/styles/tokens.scss +12 -0
- package/components/select/.stylelintrc.json +3 -0
- package/components/select/.turbo/turbo-build$colon$sass.log +122 -0
- package/components/select/.turbo/turbo-build.log +240 -0
- package/components/select/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/select/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/select/README.md +205 -0
- package/components/select/demo/alertValue.js +6 -0
- package/components/select/demo/api.html +54 -0
- package/components/select/demo/api.js +33 -0
- package/components/select/demo/api.md +814 -0
- package/components/select/demo/api.min.js +4980 -0
- package/components/select/demo/index.js +9 -0
- package/components/select/demo/index.md +470 -0
- package/components/select/demo/index.min.js +4871 -0
- package/components/select/dist/auro-select.d.ts +193 -0
- package/components/select/dist/auro-select.d.ts.map +1 -0
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.d.ts +3 -0
- package/components/select/dist/index.d.ts.map +1 -0
- package/components/select/dist/index.js +3782 -0
- package/components/select/dist/styles/color-css.d.ts +3 -0
- package/components/select/dist/styles/color-css.d.ts.map +1 -0
- package/components/select/dist/styles/style-css.d.ts +3 -0
- package/components/select/dist/styles/style-css.d.ts.map +1 -0
- package/components/select/dist/styles/tokens-css.d.ts +3 -0
- package/components/select/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/select/node_modules/chalk/package.json +83 -0
- package/components/select/node_modules/chalk/readme.md +325 -0
- package/components/select/node_modules/chalk/source/index.d.ts +320 -0
- package/components/select/node_modules/chalk/source/index.js +225 -0
- package/components/select/node_modules/chalk/source/utilities.js +33 -0
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/select/node_modules/mime/CHANGELOG.md +296 -0
- package/components/select/node_modules/mime/Mime.js +97 -0
- package/components/select/node_modules/mime/README.md +187 -0
- package/components/select/node_modules/mime/cli.js +46 -0
- package/components/select/node_modules/mime/index.js +4 -0
- package/components/select/node_modules/mime/lite.js +4 -0
- package/components/select/node_modules/mime/package.json +52 -0
- package/components/select/node_modules/mime/types/other.js +1 -0
- package/components/select/node_modules/mime/types/standard.js +1 -0
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/select/node_modules/rollup-plugin-serve/README.md +135 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/select/node_modules/rollup-plugin-serve/package.json +44 -0
- package/components/select/package.json +70 -0
- package/components/select/packageScripts/postinstall.mjs +28 -0
- package/components/select/src/auro-select.js +570 -0
- package/components/select/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/select/src/index.js +6 -0
- package/components/select/src/styles/color-css.js +2 -0
- package/components/select/src/styles/color.css +63 -0
- package/components/select/src/styles/color.scss +33 -0
- package/components/select/src/styles/style-css.js +2 -0
- package/components/select/src/styles/style.css +97 -0
- package/components/select/src/styles/style.scss +66 -0
- package/components/select/src/styles/tokens-css.js +2 -0
- package/components/select/src/styles/tokens.css +3 -0
- package/components/select/src/styles/tokens.scss +5 -0
- package/package.json +142 -0
- package/packages/build-tools/package.json +15 -0
- package/packages/build-tools/src/docProcessor.mjs +104 -0
- package/packages/build-tools/src/formVersionWriter.mjs +75 -0
- package/packages/build-tools/src/index.js +1 -0
- package/packages/build-tools/src/kitDocProcessor.mjs +66 -0
- package/packages/form-validation/package.json +12 -0
- package/packages/form-validation/src/index.js +1 -0
- package/packages/form-validation/src/validation.js +239 -0
- package/packages/typescript/base.json +19 -0
- package/packages/typescript/package.json +20 -0
- package/turbo.json +100 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fs = require('fs');
|
|
4
|
+
var https = require('https');
|
|
5
|
+
var http = require('http');
|
|
6
|
+
var path = require('path');
|
|
7
|
+
var lite = require('mime/lite');
|
|
8
|
+
var standardTypes = require('mime/types/standard.js');
|
|
9
|
+
var otherTypes = require('mime/types/other.js');
|
|
10
|
+
var opener = require('opener');
|
|
11
|
+
|
|
12
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
+
|
|
14
|
+
var standardTypes__default = /*#__PURE__*/_interopDefaultLegacy(standardTypes);
|
|
15
|
+
var otherTypes__default = /*#__PURE__*/_interopDefaultLegacy(otherTypes);
|
|
16
|
+
var opener__default = /*#__PURE__*/_interopDefaultLegacy(opener);
|
|
17
|
+
|
|
18
|
+
var server;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Serve your rolled up bundle like webpack-dev-server
|
|
22
|
+
* @param {import('..').RollupServeOptions} options
|
|
23
|
+
*/
|
|
24
|
+
function serve (options) {
|
|
25
|
+
if ( options === void 0 ) options = { contentBase: '' };
|
|
26
|
+
|
|
27
|
+
var mime = new lite.Mime(standardTypes__default["default"], otherTypes__default["default"]);
|
|
28
|
+
if (Array.isArray(options) || typeof options === 'string') {
|
|
29
|
+
options = { contentBase: options };
|
|
30
|
+
}
|
|
31
|
+
options.contentBase = Array.isArray(options.contentBase) ? options.contentBase : [options.contentBase || ''];
|
|
32
|
+
options.port = options.port || 10001;
|
|
33
|
+
options.headers = options.headers || {};
|
|
34
|
+
options.https = options.https || false;
|
|
35
|
+
options.openPage = options.openPage || '';
|
|
36
|
+
options.onListening = options.onListening || function noop () { };
|
|
37
|
+
|
|
38
|
+
if (options.mimeTypes) {
|
|
39
|
+
mime.define(options.mimeTypes, true);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var requestListener = function (request, response) {
|
|
43
|
+
// Remove querystring
|
|
44
|
+
var unsafePath = decodeURI(request.url.split('?')[0]);
|
|
45
|
+
|
|
46
|
+
// Don't allow path traversal
|
|
47
|
+
var urlPath = path.posix.normalize(unsafePath);
|
|
48
|
+
|
|
49
|
+
Object.keys(options.headers).forEach(function (key) {
|
|
50
|
+
response.setHeader(key, options.headers[key]);
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
readFileFromContentBase(options.contentBase, urlPath, function (error, content, filePath) {
|
|
54
|
+
if (!error) {
|
|
55
|
+
return found(response, mime.getType(filePath), content)
|
|
56
|
+
}
|
|
57
|
+
if (error.code !== 'ENOENT') {
|
|
58
|
+
response.writeHead(500);
|
|
59
|
+
response.end('500 Internal Server Error' +
|
|
60
|
+
'\n\n' + filePath +
|
|
61
|
+
'\n\n' + Object.values(error).join('\n') +
|
|
62
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
63
|
+
return
|
|
64
|
+
}
|
|
65
|
+
if (options.historyApiFallback) {
|
|
66
|
+
var fallbackPath = typeof options.historyApiFallback === 'string' ? options.historyApiFallback : '/index.html';
|
|
67
|
+
readFileFromContentBase(options.contentBase, fallbackPath, function (error, content, filePath) {
|
|
68
|
+
if (error) {
|
|
69
|
+
notFound(response, filePath);
|
|
70
|
+
} else {
|
|
71
|
+
found(response, mime.getType(filePath), content);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
} else {
|
|
75
|
+
notFound(response, filePath);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
// release previous server instance if rollup is reloading configuration in watch mode
|
|
81
|
+
if (server) {
|
|
82
|
+
server.close();
|
|
83
|
+
} else {
|
|
84
|
+
closeServerOnTermination();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// If HTTPS options are available, create an HTTPS server
|
|
88
|
+
server = options.https
|
|
89
|
+
? https.createServer(options.https, requestListener)
|
|
90
|
+
: http.createServer(requestListener);
|
|
91
|
+
server.listen(options.port, options.host, function () { return options.onListening(server); });
|
|
92
|
+
|
|
93
|
+
// Assemble url for error and info messages
|
|
94
|
+
var url = (options.https ? 'https' : 'http') + '://' + (options.host || 'localhost') + ':' + options.port;
|
|
95
|
+
|
|
96
|
+
// Handle common server errors
|
|
97
|
+
server.on('error', function (e) {
|
|
98
|
+
if (e.code === 'EADDRINUSE') {
|
|
99
|
+
console.error(url + ' is in use, either stop the other server or use a different port.');
|
|
100
|
+
process.exit();
|
|
101
|
+
} else {
|
|
102
|
+
throw e
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
var first = true;
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
name: 'serve',
|
|
110
|
+
generateBundle: function generateBundle () {
|
|
111
|
+
if (first) {
|
|
112
|
+
first = false;
|
|
113
|
+
|
|
114
|
+
// Log which url to visit
|
|
115
|
+
if (options.verbose !== false) {
|
|
116
|
+
options.contentBase.forEach(function (base) {
|
|
117
|
+
console.log(green(url) + ' -> ' + path.resolve(base));
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Open browser
|
|
122
|
+
if (options.open) {
|
|
123
|
+
if (/https?:\/\/.+/.test(options.openPage)) {
|
|
124
|
+
opener__default["default"](options.openPage);
|
|
125
|
+
} else {
|
|
126
|
+
opener__default["default"](url + options.openPage);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
function readFileFromContentBase (contentBase, urlPath, callback) {
|
|
135
|
+
var filePath = path.resolve(contentBase[0] || '.', '.' + urlPath);
|
|
136
|
+
|
|
137
|
+
// Load index.html in directories
|
|
138
|
+
if (urlPath.endsWith('/')) {
|
|
139
|
+
filePath = path.resolve(filePath, 'index.html');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
fs.readFile(filePath, function (error, content) {
|
|
143
|
+
if (error && contentBase.length > 1) {
|
|
144
|
+
// Try to read from next contentBase
|
|
145
|
+
readFileFromContentBase(contentBase.slice(1), urlPath, callback);
|
|
146
|
+
} else {
|
|
147
|
+
// We know enough
|
|
148
|
+
callback(error, content, filePath);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function notFound (response, filePath) {
|
|
154
|
+
response.writeHead(404);
|
|
155
|
+
response.end('404 Not Found' +
|
|
156
|
+
'\n\n' + filePath +
|
|
157
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
function found (response, mimeType, content) {
|
|
161
|
+
response.writeHead(200, { 'Content-Type': mimeType || 'text/plain' });
|
|
162
|
+
response.end(content, 'utf-8');
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function green (text) {
|
|
166
|
+
return '\u001b[1m\u001b[32m' + text + '\u001b[39m\u001b[22m'
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function closeServerOnTermination () {
|
|
170
|
+
var terminationSignals = ['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP'];
|
|
171
|
+
terminationSignals.forEach(function (signal) {
|
|
172
|
+
process.on(signal, function () {
|
|
173
|
+
if (server) {
|
|
174
|
+
server.close();
|
|
175
|
+
process.exit();
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
module.exports = serve;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var fs = require('fs');
|
|
6
|
+
var https = require('https');
|
|
7
|
+
var http = require('http');
|
|
8
|
+
var path = require('path');
|
|
9
|
+
var mime = _interopDefault(require('mime'));
|
|
10
|
+
var opener = _interopDefault(require('opener'));
|
|
11
|
+
|
|
12
|
+
var server;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Serve your rolled up bundle like webpack-dev-server
|
|
16
|
+
* @param {ServeOptions|string|string[]} options
|
|
17
|
+
*/
|
|
18
|
+
function serve (options) {
|
|
19
|
+
if ( options === void 0 ) options = { contentBase: '' };
|
|
20
|
+
|
|
21
|
+
if (Array.isArray(options) || typeof options === 'string') {
|
|
22
|
+
options = { contentBase: options };
|
|
23
|
+
}
|
|
24
|
+
options.contentBase = Array.isArray(options.contentBase) ? options.contentBase : [options.contentBase || ''];
|
|
25
|
+
options.port = options.port || 10001;
|
|
26
|
+
options.headers = options.headers || {};
|
|
27
|
+
options.https = options.https || false;
|
|
28
|
+
options.openPage = options.openPage || '';
|
|
29
|
+
options.onListening = options.onListening || function noop () { };
|
|
30
|
+
mime.default_type = 'text/plain';
|
|
31
|
+
|
|
32
|
+
if (options.mimeTypes) {
|
|
33
|
+
mime.define(options.mimeTypes, true);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
var requestListener = function (request, response) {
|
|
37
|
+
// Remove querystring
|
|
38
|
+
var unsafePath = decodeURI(request.url.split('?')[0]);
|
|
39
|
+
|
|
40
|
+
// Don't allow path traversal
|
|
41
|
+
var urlPath = path.posix.normalize(unsafePath);
|
|
42
|
+
|
|
43
|
+
Object.keys(options.headers).forEach(function (key) {
|
|
44
|
+
response.setHeader(key, options.headers[key]);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
readFileFromContentBase(options.contentBase, urlPath, function (error, content, filePath) {
|
|
48
|
+
if (!error) {
|
|
49
|
+
return found(response, filePath, content)
|
|
50
|
+
}
|
|
51
|
+
if (error.code !== 'ENOENT') {
|
|
52
|
+
response.writeHead(500);
|
|
53
|
+
response.end('500 Internal Server Error' +
|
|
54
|
+
'\n\n' + filePath +
|
|
55
|
+
'\n\n' + Object.values(error).join('\n') +
|
|
56
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
57
|
+
return
|
|
58
|
+
}
|
|
59
|
+
if (options.historyApiFallback) {
|
|
60
|
+
var fallbackPath = typeof options.historyApiFallback === 'string' ? options.historyApiFallback : '/index.html';
|
|
61
|
+
readFileFromContentBase(options.contentBase, fallbackPath, function (error, content, filePath) {
|
|
62
|
+
if (error) {
|
|
63
|
+
notFound(response, filePath);
|
|
64
|
+
} else {
|
|
65
|
+
found(response, filePath, content);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
} else {
|
|
69
|
+
notFound(response, filePath);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// release previous server instance if rollup is reloading configuration in watch mode
|
|
75
|
+
if (server) {
|
|
76
|
+
server.close();
|
|
77
|
+
} else {
|
|
78
|
+
closeServerOnTermination();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// If HTTPS options are available, create an HTTPS server
|
|
82
|
+
server = options.https
|
|
83
|
+
? https.createServer(options.https, requestListener)
|
|
84
|
+
: http.createServer(requestListener);
|
|
85
|
+
server.listen(options.port, options.host, function () { return options.onListening(server); });
|
|
86
|
+
|
|
87
|
+
// Assemble url for error and info messages
|
|
88
|
+
var url = (options.https ? 'https' : 'http') + '://' + (options.host || 'localhost') + ':' + options.port;
|
|
89
|
+
|
|
90
|
+
// Handle common server errors
|
|
91
|
+
server.on('error', function (e) {
|
|
92
|
+
if (e.code === 'EADDRINUSE') {
|
|
93
|
+
console.error(url + ' is in use, either stop the other server or use a different port.');
|
|
94
|
+
process.exit();
|
|
95
|
+
} else {
|
|
96
|
+
throw e
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
var first = true;
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
name: 'serve',
|
|
104
|
+
generateBundle: function generateBundle () {
|
|
105
|
+
if (first) {
|
|
106
|
+
first = false;
|
|
107
|
+
|
|
108
|
+
// Log which url to visit
|
|
109
|
+
if (options.verbose !== false) {
|
|
110
|
+
options.contentBase.forEach(function (base) {
|
|
111
|
+
console.log(green(url) + ' -> ' + path.resolve(base));
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Open browser
|
|
116
|
+
if (options.open) {
|
|
117
|
+
if (/https?:\/\/.+/.test(options.openPage)) {
|
|
118
|
+
opener(options.openPage);
|
|
119
|
+
} else {
|
|
120
|
+
opener(url + options.openPage);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function readFileFromContentBase (contentBase, urlPath, callback) {
|
|
129
|
+
var filePath = path.resolve(contentBase[0] || '.', '.' + urlPath);
|
|
130
|
+
|
|
131
|
+
// Load index.html in directories
|
|
132
|
+
if (urlPath.endsWith('/')) {
|
|
133
|
+
filePath = path.resolve(filePath, 'index.html');
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
fs.readFile(filePath, function (error, content) {
|
|
137
|
+
if (error && contentBase.length > 1) {
|
|
138
|
+
// Try to read from next contentBase
|
|
139
|
+
readFileFromContentBase(contentBase.slice(1), urlPath, callback);
|
|
140
|
+
} else {
|
|
141
|
+
// We know enough
|
|
142
|
+
callback(error, content, filePath);
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function notFound (response, filePath) {
|
|
148
|
+
response.writeHead(404);
|
|
149
|
+
response.end('404 Not Found' +
|
|
150
|
+
'\n\n' + filePath +
|
|
151
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function found (response, filePath, content) {
|
|
155
|
+
response.writeHead(200, { 'Content-Type': mime.getType(filePath) });
|
|
156
|
+
response.end(content, 'utf-8');
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function green (text) {
|
|
160
|
+
return '\u001b[1m\u001b[32m' + text + '\u001b[39m\u001b[22m'
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function closeServerOnTermination () {
|
|
164
|
+
var terminationSignals = ['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP'];
|
|
165
|
+
terminationSignals.forEach(function (signal) {
|
|
166
|
+
process.on(signal, function () {
|
|
167
|
+
if (server) {
|
|
168
|
+
server.close();
|
|
169
|
+
process.exit();
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @typedef {Object} ServeOptions
|
|
177
|
+
* @property {boolean} [open=false] Launch in browser (default: `false`)
|
|
178
|
+
* @property {string} [openPage=''] Page to navigate to when opening the browser. Will not do anything if `open` is `false`. Remember to start with a slash e.g. `'/different/page'`
|
|
179
|
+
* @property {boolean} [verbose=true] Show server address in console (default: `true`)
|
|
180
|
+
* @property {string|string[]} [contentBase=''] Folder(s) to serve files from
|
|
181
|
+
* @property {string|boolean} [historyApiFallback] Path to fallback page. Set to `true` to return index.html (200) instead of error page (404)
|
|
182
|
+
* @property {string} [host='localhost'] Server host (default: `'localhost'`)
|
|
183
|
+
* @property {number} [port=10001] Server port (default: `10001`)
|
|
184
|
+
* @property {function} [onListening] Execute a function when server starts listening for connections on a port
|
|
185
|
+
* @property {ServeOptionsHttps} [https=false] By default server will be served over HTTP (https: `false`). It can optionally be served over HTTPS
|
|
186
|
+
* @property {{[header:string]: string}} [headers] Set headers
|
|
187
|
+
*/
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @typedef {Object} ServeOptionsHttps
|
|
191
|
+
* @property {string|Buffer|Buffer[]|Object[]} key
|
|
192
|
+
* @property {string|Buffer|Array<string|Buffer>} cert
|
|
193
|
+
* @property {string|Buffer|Array<string|Buffer>} ca
|
|
194
|
+
* @see https.ServerOptions
|
|
195
|
+
*/
|
|
196
|
+
|
|
197
|
+
module.exports = serve;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { readFile } from 'fs';
|
|
2
|
+
import { createServer } from 'https';
|
|
3
|
+
import { createServer as createServer$1 } from 'http';
|
|
4
|
+
import { resolve, posix } from 'path';
|
|
5
|
+
import mime from 'mime';
|
|
6
|
+
import opener from 'opener';
|
|
7
|
+
|
|
8
|
+
var server;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Serve your rolled up bundle like webpack-dev-server
|
|
12
|
+
* @param {ServeOptions|string|string[]} options
|
|
13
|
+
*/
|
|
14
|
+
function serve (options) {
|
|
15
|
+
if ( options === void 0 ) options = { contentBase: '' };
|
|
16
|
+
|
|
17
|
+
if (Array.isArray(options) || typeof options === 'string') {
|
|
18
|
+
options = { contentBase: options };
|
|
19
|
+
}
|
|
20
|
+
options.contentBase = Array.isArray(options.contentBase) ? options.contentBase : [options.contentBase || ''];
|
|
21
|
+
options.port = options.port || 10001;
|
|
22
|
+
options.headers = options.headers || {};
|
|
23
|
+
options.https = options.https || false;
|
|
24
|
+
options.openPage = options.openPage || '';
|
|
25
|
+
options.onListening = options.onListening || function noop () { };
|
|
26
|
+
mime.default_type = 'text/plain';
|
|
27
|
+
|
|
28
|
+
if (options.mimeTypes) {
|
|
29
|
+
mime.define(options.mimeTypes, true);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var requestListener = function (request, response) {
|
|
33
|
+
// Remove querystring
|
|
34
|
+
var unsafePath = decodeURI(request.url.split('?')[0]);
|
|
35
|
+
|
|
36
|
+
// Don't allow path traversal
|
|
37
|
+
var urlPath = posix.normalize(unsafePath);
|
|
38
|
+
|
|
39
|
+
Object.keys(options.headers).forEach(function (key) {
|
|
40
|
+
response.setHeader(key, options.headers[key]);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
readFileFromContentBase(options.contentBase, urlPath, function (error, content, filePath) {
|
|
44
|
+
if (!error) {
|
|
45
|
+
return found(response, filePath, content)
|
|
46
|
+
}
|
|
47
|
+
if (error.code !== 'ENOENT') {
|
|
48
|
+
response.writeHead(500);
|
|
49
|
+
response.end('500 Internal Server Error' +
|
|
50
|
+
'\n\n' + filePath +
|
|
51
|
+
'\n\n' + Object.values(error).join('\n') +
|
|
52
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
if (options.historyApiFallback) {
|
|
56
|
+
var fallbackPath = typeof options.historyApiFallback === 'string' ? options.historyApiFallback : '/index.html';
|
|
57
|
+
readFileFromContentBase(options.contentBase, fallbackPath, function (error, content, filePath) {
|
|
58
|
+
if (error) {
|
|
59
|
+
notFound(response, filePath);
|
|
60
|
+
} else {
|
|
61
|
+
found(response, filePath, content);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
} else {
|
|
65
|
+
notFound(response, filePath);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// release previous server instance if rollup is reloading configuration in watch mode
|
|
71
|
+
if (server) {
|
|
72
|
+
server.close();
|
|
73
|
+
} else {
|
|
74
|
+
closeServerOnTermination();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// If HTTPS options are available, create an HTTPS server
|
|
78
|
+
server = options.https
|
|
79
|
+
? createServer(options.https, requestListener)
|
|
80
|
+
: createServer$1(requestListener);
|
|
81
|
+
server.listen(options.port, options.host, function () { return options.onListening(server); });
|
|
82
|
+
|
|
83
|
+
// Assemble url for error and info messages
|
|
84
|
+
var url = (options.https ? 'https' : 'http') + '://' + (options.host || 'localhost') + ':' + options.port;
|
|
85
|
+
|
|
86
|
+
// Handle common server errors
|
|
87
|
+
server.on('error', function (e) {
|
|
88
|
+
if (e.code === 'EADDRINUSE') {
|
|
89
|
+
console.error(url + ' is in use, either stop the other server or use a different port.');
|
|
90
|
+
process.exit();
|
|
91
|
+
} else {
|
|
92
|
+
throw e
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
var first = true;
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
name: 'serve',
|
|
100
|
+
generateBundle: function generateBundle () {
|
|
101
|
+
if (first) {
|
|
102
|
+
first = false;
|
|
103
|
+
|
|
104
|
+
// Log which url to visit
|
|
105
|
+
if (options.verbose !== false) {
|
|
106
|
+
options.contentBase.forEach(function (base) {
|
|
107
|
+
console.log(green(url) + ' -> ' + resolve(base));
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Open browser
|
|
112
|
+
if (options.open) {
|
|
113
|
+
if (/https?:\/\/.+/.test(options.openPage)) {
|
|
114
|
+
opener(options.openPage);
|
|
115
|
+
} else {
|
|
116
|
+
opener(url + options.openPage);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function readFileFromContentBase (contentBase, urlPath, callback) {
|
|
125
|
+
var filePath = resolve(contentBase[0] || '.', '.' + urlPath);
|
|
126
|
+
|
|
127
|
+
// Load index.html in directories
|
|
128
|
+
if (urlPath.endsWith('/')) {
|
|
129
|
+
filePath = resolve(filePath, 'index.html');
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
readFile(filePath, function (error, content) {
|
|
133
|
+
if (error && contentBase.length > 1) {
|
|
134
|
+
// Try to read from next contentBase
|
|
135
|
+
readFileFromContentBase(contentBase.slice(1), urlPath, callback);
|
|
136
|
+
} else {
|
|
137
|
+
// We know enough
|
|
138
|
+
callback(error, content, filePath);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function notFound (response, filePath) {
|
|
144
|
+
response.writeHead(404);
|
|
145
|
+
response.end('404 Not Found' +
|
|
146
|
+
'\n\n' + filePath +
|
|
147
|
+
'\n\n(rollup-plugin-serve)', 'utf-8');
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function found (response, filePath, content) {
|
|
151
|
+
response.writeHead(200, { 'Content-Type': mime.getType(filePath) });
|
|
152
|
+
response.end(content, 'utf-8');
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function green (text) {
|
|
156
|
+
return '\u001b[1m\u001b[32m' + text + '\u001b[39m\u001b[22m'
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function closeServerOnTermination () {
|
|
160
|
+
var terminationSignals = ['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP'];
|
|
161
|
+
terminationSignals.forEach(function (signal) {
|
|
162
|
+
process.on(signal, function () {
|
|
163
|
+
if (server) {
|
|
164
|
+
server.close();
|
|
165
|
+
process.exit();
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @typedef {Object} ServeOptions
|
|
173
|
+
* @property {boolean} [open=false] Launch in browser (default: `false`)
|
|
174
|
+
* @property {string} [openPage=''] Page to navigate to when opening the browser. Will not do anything if `open` is `false`. Remember to start with a slash e.g. `'/different/page'`
|
|
175
|
+
* @property {boolean} [verbose=true] Show server address in console (default: `true`)
|
|
176
|
+
* @property {string|string[]} [contentBase=''] Folder(s) to serve files from
|
|
177
|
+
* @property {string|boolean} [historyApiFallback] Path to fallback page. Set to `true` to return index.html (200) instead of error page (404)
|
|
178
|
+
* @property {string} [host='localhost'] Server host (default: `'localhost'`)
|
|
179
|
+
* @property {number} [port=10001] Server port (default: `10001`)
|
|
180
|
+
* @property {function} [onListening] Execute a function when server starts listening for connections on a port
|
|
181
|
+
* @property {ServeOptionsHttps} [https=false] By default server will be served over HTTP (https: `false`). It can optionally be served over HTTPS
|
|
182
|
+
* @property {{[header:string]: string}} [headers] Set headers
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @typedef {Object} ServeOptionsHttps
|
|
187
|
+
* @property {string|Buffer|Buffer[]|Object[]} key
|
|
188
|
+
* @property {string|Buffer|Array<string|Buffer>} cert
|
|
189
|
+
* @property {string|Buffer|Array<string|Buffer>} ca
|
|
190
|
+
* @see https.ServerOptions
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
export default serve;
|