@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.51
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/CHANGELOG.md +522 -0
- package/NOTICE +2 -0
- package/README.md +83 -15
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
- package/components/bibtemplate/dist/index.d.ts +2 -0
- package/components/bibtemplate/dist/index.js +790 -0
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
- package/components/checkbox/README.md +27 -35
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +498 -102
- package/components/checkbox/demo/index.html +49 -0
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +498 -102
- package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
- package/components/checkbox/dist/helptextVersion.d.ts +2 -0
- package/components/checkbox/dist/index.d.ts +0 -1
- package/components/checkbox/dist/index.js +498 -105
- package/components/checkbox/dist/registered.js +1279 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
- package/components/combobox/README.md +25 -28
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.md +116 -32
- package/components/combobox/demo/api.min.js +8211 -3863
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.md +19 -3
- package/components/combobox/demo/index.min.js +8208 -3860
- package/components/combobox/dist/auro-combobox.d.ts +123 -76
- package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
- package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +7848 -3816
- package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
- package/components/combobox/dist/registered.js +12269 -0
- package/components/combobox/dist/styles/style-css.d.ts +0 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.js +3 -2
- package/components/counter/demo/api.md +185 -1018
- package/components/counter/demo/api.min.js +6190 -40
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +298 -0
- package/components/counter/demo/index.min.js +6187 -19
- package/components/counter/dist/auro-counter-button.d.ts +12 -0
- package/components/counter/dist/auro-counter-group.d.ts +168 -5
- package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
- package/components/counter/dist/auro-counter.d.ts +91 -1
- package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
- package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
- package/components/counter/dist/iconVersion.d.ts +2 -0
- package/components/counter/dist/index.d.ts +0 -1
- package/components/counter/dist/index.js +6158 -38
- package/components/counter/dist/registered.js +6231 -0
- package/components/counter/dist/styles/color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
- package/components/counter/dist/styles/style-css.d.ts +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts +2 -0
- package/components/datepicker/README.md +25 -28
- package/components/datepicker/demo/api.js +3 -3
- package/components/datepicker/demo/api.md +219 -105
- package/components/datepicker/demo/api.min.js +6367 -2448
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.md +7 -1
- package/components/datepicker/demo/index.min.js +6355 -2435
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
- package/components/datepicker/dist/auro-calendar.d.ts +25 -2
- package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
- package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
- package/components/datepicker/dist/index.d.ts +0 -1
- package/components/datepicker/dist/index.js +6353 -2435
- package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts +0 -1
- package/components/datepicker/dist/registered.js +22466 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/dist/utilities.d.ts +25 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
- package/components/dropdown/README.md +19 -27
- package/components/dropdown/demo/api.js +1 -1
- package/components/dropdown/demo/api.md +43 -29
- package/components/dropdown/demo/api.min.js +525 -124
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +525 -127
- package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
- package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
- package/components/dropdown/dist/helptextVersion.d.ts +2 -0
- package/components/dropdown/dist/iconVersion.d.ts +0 -1
- package/components/dropdown/dist/index.d.ts +0 -1
- package/components/dropdown/dist/index.js +525 -126
- package/components/dropdown/dist/registered.js +3365 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
- package/components/form/README.md +29 -35
- package/components/form/demo/api.js +1 -1
- package/components/form/demo/api.min.js +497 -25
- package/components/form/demo/index.html +48 -0
- package/components/form/demo/index.min.js +497 -25
- package/components/form/demo/registerDemoDeps.js +22 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +194 -3
- package/components/form/dist/index.d.ts +0 -1
- package/components/form/dist/index.js +497 -27
- package/components/form/dist/registered.d.ts +1 -0
- package/components/form/dist/registered.js +632 -0
- package/components/form/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/auro-helptext.d.ts +53 -0
- package/components/helptext/dist/index.d.ts +2 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/registered.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +2 -0
- package/components/helptext/dist/styles/style-css.d.ts +2 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
- package/components/input/README.md +19 -29
- package/components/input/demo/api.md +152 -318
- package/components/input/demo/api.min.js +4214 -1780
- package/components/input/demo/index.html +41 -0
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +4214 -1780
- package/components/input/dist/auro-input.d.ts +4 -2
- package/components/input/dist/base-input.d.ts +49 -16
- package/components/input/dist/buttonVersion.d.ts +0 -1
- package/components/input/dist/helptextVersion.d.ts +2 -0
- package/components/input/dist/i18n.d.ts +0 -1
- package/components/input/dist/iconVersion.d.ts +0 -1
- package/components/input/dist/index.d.ts +0 -1
- package/components/input/dist/index.js +4214 -1782
- package/components/input/dist/registered.js +6591 -0
- package/components/input/dist/styles/borders-css.d.ts +0 -1
- package/components/input/dist/styles/color-css.d.ts +0 -1
- package/components/input/dist/styles/input-css.d.ts +0 -1
- package/components/input/dist/styles/label-css.d.ts +0 -1
- package/components/input/dist/styles/mixins-css.d.ts +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
- package/components/input/dist/styles/style-css.d.ts +0 -1
- package/components/input/dist/styles/tokens-css.d.ts +0 -1
- package/components/input/dist/utilities.d.ts +25 -0
- package/components/menu/README.md +19 -27
- package/components/menu/demo/api.js +1 -1
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +628 -314
- package/components/menu/demo/index.html +50 -0
- package/components/menu/demo/index.min.js +626 -312
- package/components/menu/dist/auro-menu-utils.d.ts +42 -0
- package/components/menu/dist/auro-menu.d.ts +97 -82
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/menu/dist/dropdownVersion.d.ts +2 -0
- package/components/menu/dist/iconVersion.d.ts +0 -1
- package/components/menu/dist/index.d.ts +1 -1
- package/components/menu/dist/index.js +627 -316
- package/components/menu/dist/registered.js +1510 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts +0 -1
- package/components/radio/README.md +19 -27
- package/components/radio/demo/api.md +9 -8
- package/components/radio/demo/api.min.js +429 -75
- package/components/radio/demo/index.html +48 -0
- package/components/radio/demo/index.min.js +429 -75
- package/components/radio/dist/auro-radio-group.d.ts +12 -3
- package/components/radio/dist/auro-radio.d.ts +0 -1
- package/components/radio/dist/helptextVersion.d.ts +2 -0
- package/components/radio/dist/index.d.ts +0 -1
- package/components/radio/dist/index.js +429 -78
- package/components/radio/dist/registered.js +1396 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
- package/components/radio/dist/styles/color-css.d.ts +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
- package/components/radio/dist/styles/style-css.d.ts +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts +0 -1
- package/components/select/README.md +24 -43
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.md +149 -32
- package/components/select/demo/api.min.js +2563 -749
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.md +21 -16
- package/components/select/demo/index.min.js +2570 -756
- package/components/select/dist/auro-select.d.ts +60 -8
- package/components/select/dist/bibtemplateVersion.d.ts +2 -0
- package/components/select/dist/dropdownVersion.d.ts +2 -0
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +1932 -434
- package/components/select/dist/registered.js +5425 -0
- package/components/select/dist/styles/color-css.d.ts +0 -1
- package/components/select/dist/styles/style-css.d.ts +0 -1
- package/components/select/dist/styles/tokens-css.d.ts +0 -1
- package/package.json +138 -66
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
- package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
- package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
- package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
- package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
- package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
- package/components/checkbox/.stylelintrc.json +0 -3
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
- package/components/checkbox/.turbo/turbo-build.log +0 -185
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
- package/components/checkbox/dist/index.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/checkbox/node_modules/chalk/package.json +0 -83
- package/components/checkbox/node_modules/chalk/readme.md +0 -325
- package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
- package/components/checkbox/node_modules/chalk/source/index.js +0 -225
- package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/checkbox/package.json +0 -68
- package/components/checkbox/src/auro-checkbox-group.js +0 -331
- package/components/checkbox/src/auro-checkbox.js +0 -193
- package/components/checkbox/src/index.js +0 -8
- package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
- package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
- package/components/checkbox/src/styles/auro-checkbox.css +0 -123
- package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
- package/components/checkbox/src/styles/color-css.js +0 -2
- package/components/checkbox/src/styles/color.css +0 -84
- package/components/checkbox/src/styles/color.scss +0 -118
- package/components/checkbox/src/styles/colorGroup-css.js +0 -2
- package/components/checkbox/src/styles/colorGroup.css +0 -16
- package/components/checkbox/src/styles/colorGroup.scss +0 -24
- package/components/checkbox/src/styles/tokens-css.js +0 -2
- package/components/checkbox/src/styles/tokens.css +0 -9
- package/components/checkbox/src/styles/tokens.scss +0 -11
- package/components/combobox/.stylelintrc.json +0 -3
- package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
- package/components/combobox/.turbo/turbo-build.log +0 -163
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/index.d.ts.map +0 -1
- package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
- package/components/combobox/node_modules/chalk/package.json +0 -83
- package/components/combobox/node_modules/chalk/readme.md +0 -325
- package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
- package/components/combobox/node_modules/chalk/source/index.js +0 -225
- package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/combobox/package.json +0 -67
- package/components/combobox/src/auro-combobox.js +0 -724
- package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
- package/components/combobox/src/index.js +0 -6
- package/components/combobox/src/styles/style-css.js +0 -2
- package/components/combobox/src/styles/style.css +0 -60
- package/components/combobox/src/styles/style.scss +0 -46
- package/components/counter/.stylelintrc.json +0 -3
- package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
- package/components/counter/.turbo/turbo-build.log +0 -87
- package/components/counter/.turbo/turbo-bundler.log +0 -13
- package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
- package/components/counter/.turbo/turbo-types.log +0 -4
- package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
- package/components/counter/dist/auro-counter.d.ts.map +0 -1
- package/components/counter/dist/index.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
- package/components/counter/dist/styles/style-css.d.ts.map +0 -1
- package/components/counter/node_modules/chalk/package.json +0 -83
- package/components/counter/node_modules/chalk/readme.md +0 -325
- package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
- package/components/counter/node_modules/chalk/source/index.js +0 -225
- package/components/counter/node_modules/chalk/source/utilities.js +0 -33
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/counter/package.json +0 -50
- package/components/counter/src/auro-counter-group.js +0 -48
- package/components/counter/src/auro-counter.js +0 -29
- package/components/counter/src/index.js +0 -8
- package/components/counter/src/styles/counter-group-css.js +0 -2
- package/components/counter/src/styles/counter-group.css +0 -4
- package/components/counter/src/styles/counter-group.scss +0 -17
- package/components/counter/src/styles/style-css.js +0 -2
- package/components/counter/src/styles/style.css +0 -4
- package/components/counter/src/styles/style.scss +0 -17
- package/components/datepicker/.stylelintrc.json +0 -3
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
- package/components/datepicker/.turbo/turbo-build.log +0 -493
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/index.d.ts.map +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/datepicker/dist/utilities.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
- package/components/datepicker/node_modules/chalk/package.json +0 -83
- package/components/datepicker/node_modules/chalk/readme.md +0 -325
- package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
- package/components/datepicker/node_modules/chalk/source/index.js +0 -225
- package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
- package/components/datepicker/package.json +0 -79
- package/components/datepicker/src/auro-calendar-cell.js +0 -381
- package/components/datepicker/src/auro-calendar-month.js +0 -128
- package/components/datepicker/src/auro-calendar.js +0 -329
- package/components/datepicker/src/auro-datepicker.js +0 -1002
- package/components/datepicker/src/dropdownVersion.js +0 -0
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
- package/components/datepicker/src/index.js +0 -6
- package/components/datepicker/src/popoverVersion.js +0 -1
- package/components/datepicker/src/styles/color-calendar-css.js +0 -2
- package/components/datepicker/src/styles/color-calendar.css +0 -35
- package/components/datepicker/src/styles/color-calendar.scss +0 -51
- package/components/datepicker/src/styles/color-cell-css.js +0 -2
- package/components/datepicker/src/styles/color-cell.css +0 -45
- package/components/datepicker/src/styles/color-cell.scss +0 -73
- package/components/datepicker/src/styles/color-css.js +0 -2
- package/components/datepicker/src/styles/color-month-css.js +0 -2
- package/components/datepicker/src/styles/color-month.css +0 -34
- package/components/datepicker/src/styles/color-month.scss +0 -27
- package/components/datepicker/src/styles/color.css +0 -43
- package/components/datepicker/src/styles/color.scss +0 -30
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
- package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
- package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
- package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
- package/components/datepicker/src/styles/style-css.js +0 -2
- package/components/datepicker/src/styles/style.css +0 -111
- package/components/datepicker/src/styles/style.scss +0 -107
- package/components/datepicker/src/styles/tokens-css.js +0 -2
- package/components/datepicker/src/styles/tokens.css +0 -22
- package/components/datepicker/src/styles/tokens.scss +0 -25
- package/components/datepicker/src/utilities.js +0 -87
- package/components/datepicker/src/utilitiesCalendar.js +0 -138
- package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
- package/components/dropdown/.stylelintrc.json +0 -3
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-build.log +0 -206
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
- package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
- package/components/dropdown/dist/index.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/dropdown/node_modules/chalk/package.json +0 -83
- package/components/dropdown/node_modules/chalk/readme.md +0 -325
- package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
- package/components/dropdown/node_modules/chalk/source/index.js +0 -225
- package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/dropdown/package.json +0 -57
- package/components/dropdown/src/auro-dropdown.js +0 -474
- package/components/dropdown/src/auro-dropdownBib.js +0 -106
- package/components/dropdown/src/iconVersion.js +0 -1
- package/components/dropdown/src/index.js +0 -6
- package/components/dropdown/src/styles/bibColors-css.js +0 -2
- package/components/dropdown/src/styles/bibColors.css +0 -6
- package/components/dropdown/src/styles/bibColors.scss +0 -18
- package/components/dropdown/src/styles/bibStyles-css.js +0 -2
- package/components/dropdown/src/styles/bibStyles.css +0 -43
- package/components/dropdown/src/styles/bibStyles.scss +0 -60
- package/components/dropdown/src/styles/color-css.js +0 -2
- package/components/dropdown/src/styles/color.css +0 -59
- package/components/dropdown/src/styles/color.scss +0 -79
- package/components/dropdown/src/styles/style-css.js +0 -2
- package/components/dropdown/src/styles/style.css +0 -92
- package/components/dropdown/src/styles/style.scss +0 -122
- package/components/dropdown/src/styles/tokens-css.js +0 -2
- package/components/dropdown/src/styles/tokens.css +0 -13
- package/components/dropdown/src/styles/tokens.scss +0 -15
- package/components/form/.stylelintrc.json +0 -3
- package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
- package/components/form/.turbo/turbo-build$colon$version.log +0 -4
- package/components/form/.turbo/turbo-build.log +0 -113
- package/components/form/.turbo/turbo-bundler.log +0 -13
- package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/form/.turbo/turbo-types.log +0 -4
- package/components/form/dist/auro-form.d.ts.map +0 -1
- package/components/form/dist/index.d.ts.map +0 -1
- package/components/form/dist/styles/style-css.d.ts.map +0 -1
- package/components/form/node_modules/chalk/package.json +0 -83
- package/components/form/node_modules/chalk/readme.md +0 -325
- package/components/form/node_modules/chalk/source/index.d.ts +0 -320
- package/components/form/node_modules/chalk/source/index.js +0 -225
- package/components/form/node_modules/chalk/source/utilities.js +0 -33
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/form/package.json +0 -72
- package/components/form/src/auro-form.js +0 -74
- package/components/form/src/index.js +0 -6
- package/components/form/src/styles/style-css.js +0 -2
- package/components/form/src/styles/style.css +0 -36
- package/components/form/src/styles/style.scss +0 -37
- package/components/input/.stylelintrc.json +0 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
- package/components/input/.turbo/turbo-build$colon$version.log +0 -10
- package/components/input/.turbo/turbo-build.log +0 -353
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/auro-input.d.ts.map +0 -1
- package/components/input/dist/base-input.d.ts.map +0 -1
- package/components/input/dist/buttonVersion.d.ts.map +0 -1
- package/components/input/dist/i18n.d.ts.map +0 -1
- package/components/input/dist/iconVersion.d.ts.map +0 -1
- package/components/input/dist/index.d.ts.map +0 -1
- package/components/input/dist/styles/borders-css.d.ts.map +0 -1
- package/components/input/dist/styles/color-css.d.ts.map +0 -1
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/dist/styles/input-css.d.ts.map +0 -1
- package/components/input/dist/styles/label-css.d.ts.map +0 -1
- package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
- package/components/input/dist/styles/style-css.d.ts.map +0 -1
- package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/input/node_modules/chalk/package.json +0 -83
- package/components/input/node_modules/chalk/readme.md +0 -325
- package/components/input/node_modules/chalk/source/index.d.ts +0 -320
- package/components/input/node_modules/chalk/source/index.js +0 -225
- package/components/input/node_modules/chalk/source/utilities.js +0 -33
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/input/package.json +0 -75
- package/components/input/src/auro-input.js +0 -241
- package/components/input/src/base-input.js +0 -1103
- package/components/input/src/buttonVersion.js +0 -1
- package/components/input/src/i18n.js +0 -102
- package/components/input/src/iconVersion.js +0 -1
- package/components/input/src/index.js +0 -6
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +0 -2
- package/components/input/src/styles/borders.css +0 -35
- package/components/input/src/styles/borders.scss +0 -49
- package/components/input/src/styles/color-css.js +0 -2
- package/components/input/src/styles/color.css +0 -62
- package/components/input/src/styles/color.scss +0 -89
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/input/src/styles/input-css.js +0 -2
- package/components/input/src/styles/input.css +0 -35
- package/components/input/src/styles/input.scss +0 -53
- package/components/input/src/styles/label-css.js +0 -2
- package/components/input/src/styles/label.css +0 -45
- package/components/input/src/styles/label.scss +0 -71
- package/components/input/src/styles/mixins-css.js +0 -2
- package/components/input/src/styles/mixins.css +0 -1
- package/components/input/src/styles/mixins.scss +0 -45
- package/components/input/src/styles/notificationIcons-css.js +0 -2
- package/components/input/src/styles/notificationIcons.css +0 -84
- package/components/input/src/styles/notificationIcons.scss +0 -109
- package/components/input/src/styles/style-css.js +0 -2
- package/components/input/src/styles/style.css +0 -290
- package/components/input/src/styles/style.scss +0 -53
- package/components/input/src/styles/tokens-css.js +0 -2
- package/components/input/src/styles/tokens.css +0 -9
- package/components/input/src/styles/tokens.scss +0 -11
- package/components/menu/.stylelintrc.json +0 -3
- package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
- package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
- package/components/menu/.turbo/turbo-build.log +0 -184
- package/components/menu/.turbo/turbo-bundler.log +0 -13
- package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/menu/.turbo/turbo-types.log +0 -4
- package/components/menu/dist/auro-menu.d.ts.map +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
- package/components/menu/dist/iconVersion.d.ts.map +0 -1
- package/components/menu/dist/index.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/menu/node_modules/chalk/package.json +0 -83
- package/components/menu/node_modules/chalk/readme.md +0 -325
- package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
- package/components/menu/node_modules/chalk/source/index.js +0 -225
- package/components/menu/node_modules/chalk/source/utilities.js +0 -33
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
- package/components/menu/node_modules/mime/Mime.js +0 -97
- package/components/menu/node_modules/mime/README.md +0 -187
- package/components/menu/node_modules/mime/cli.js +0 -46
- package/components/menu/node_modules/mime/index.js +0 -4
- package/components/menu/node_modules/mime/lite.js +0 -4
- package/components/menu/node_modules/mime/package.json +0 -52
- package/components/menu/node_modules/mime/types/other.js +0 -1
- package/components/menu/node_modules/mime/types/standard.js +0 -1
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/menu/package.json +0 -70
- package/components/menu/src/auro-menu.js +0 -539
- package/components/menu/src/auro-menuoption.js +0 -147
- package/components/menu/src/iconVersion.js +0 -1
- package/components/menu/src/index.js +0 -8
- package/components/menu/src/styles/color-menu-css.js +0 -2
- package/components/menu/src/styles/color-menu.css +0 -4
- package/components/menu/src/styles/color-menu.scss +0 -12
- package/components/menu/src/styles/color-menuoption-css.js +0 -2
- package/components/menu/src/styles/color-menuoption.css +0 -23
- package/components/menu/src/styles/color-menuoption.scss +0 -33
- package/components/menu/src/styles/style-menu-css.js +0 -2
- package/components/menu/src/styles/style-menu.css +0 -2061
- package/components/menu/src/styles/style-menu.scss +0 -80
- package/components/menu/src/styles/style-menuoption-css.js +0 -2
- package/components/menu/src/styles/style-menuoption.css +0 -45
- package/components/menu/src/styles/style-menuoption.scss +0 -66
- package/components/menu/src/styles/tokens-css.js +0 -2
- package/components/menu/src/styles/tokens.css +0 -6
- package/components/menu/src/styles/tokens.scss +0 -6
- package/components/radio/.stylelintrc.json +0 -3
- package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
- package/components/radio/.turbo/turbo-build.log +0 -216
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/radio/.turbo/turbo-types.log +0 -4
- package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
- package/components/radio/dist/auro-radio.d.ts.map +0 -1
- package/components/radio/dist/index.d.ts.map +0 -1
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
- package/components/radio/dist/styles/color-css.d.ts.map +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
- package/components/radio/dist/styles/style-css.d.ts.map +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/radio/node_modules/chalk/package.json +0 -83
- package/components/radio/node_modules/chalk/readme.md +0 -325
- package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
- package/components/radio/node_modules/chalk/source/index.js +0 -225
- package/components/radio/node_modules/chalk/source/utilities.js +0 -33
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/radio/package.json +0 -69
- package/components/radio/src/auro-radio-group.js +0 -433
- package/components/radio/src/auro-radio.js +0 -256
- package/components/radio/src/index.js +0 -8
- package/components/radio/src/styles/auro-radio-group-css.js +0 -2
- package/components/radio/src/styles/auro-radio-group.css +0 -23
- package/components/radio/src/styles/auro-radio-group.scss +0 -36
- package/components/radio/src/styles/color-css.js +0 -2
- package/components/radio/src/styles/color.css +0 -45
- package/components/radio/src/styles/color.scss +0 -56
- package/components/radio/src/styles/groupColor-css.js +0 -2
- package/components/radio/src/styles/groupColor.css +0 -21
- package/components/radio/src/styles/groupColor.scss +0 -33
- package/components/radio/src/styles/style-css.js +0 -2
- package/components/radio/src/styles/style.css +0 -113
- package/components/radio/src/styles/style.scss +0 -99
- package/components/radio/src/styles/tokens-css.js +0 -2
- package/components/radio/src/styles/tokens.css +0 -9
- package/components/radio/src/styles/tokens.scss +0 -12
- package/components/select/.stylelintrc.json +0 -3
- package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
- package/components/select/.turbo/turbo-build.log +0 -241
- package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/select/dist/auro-select.d.ts.map +0 -1
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/index.d.ts.map +0 -1
- package/components/select/dist/styles/color-css.d.ts.map +0 -1
- package/components/select/dist/styles/style-css.d.ts.map +0 -1
- package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/select/node_modules/chalk/package.json +0 -83
- package/components/select/node_modules/chalk/readme.md +0 -325
- package/components/select/node_modules/chalk/source/index.d.ts +0 -320
- package/components/select/node_modules/chalk/source/index.js +0 -225
- package/components/select/node_modules/chalk/source/utilities.js +0 -33
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/select/node_modules/mime/CHANGELOG.md +0 -296
- package/components/select/node_modules/mime/Mime.js +0 -97
- package/components/select/node_modules/mime/README.md +0 -187
- package/components/select/node_modules/mime/cli.js +0 -46
- package/components/select/node_modules/mime/index.js +0 -4
- package/components/select/node_modules/mime/lite.js +0 -4
- package/components/select/node_modules/mime/package.json +0 -52
- package/components/select/node_modules/mime/types/other.js +0 -1
- package/components/select/node_modules/mime/types/standard.js +0 -1
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/select/package.json +0 -70
- package/components/select/packageScripts/postinstall.mjs +0 -28
- package/components/select/src/auro-select.js +0 -559
- package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/select/src/index.js +0 -6
- package/components/select/src/styles/color-css.js +0 -2
- package/components/select/src/styles/color.css +0 -63
- package/components/select/src/styles/color.scss +0 -33
- package/components/select/src/styles/style-css.js +0 -2
- package/components/select/src/styles/style.css +0 -104
- package/components/select/src/styles/style.scss +0 -76
- package/components/select/src/styles/tokens-css.js +0 -2
- package/components/select/src/styles/tokens.css +0 -3
- package/components/select/src/styles/tokens.scss +0 -5
- package/packages/build-tools/package.json +0 -15
- package/packages/build-tools/src/docProcessor.mjs +0 -104
- package/packages/build-tools/src/formVersionWriter.mjs +0 -75
- package/packages/build-tools/src/index.js +0 -1
- package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
- package/packages/form-validation/package.json +0 -12
- package/packages/form-validation/src/index.js +0 -1
- package/packages/form-validation/src/validation.js +0 -259
- package/packages/typescript/base.json +0 -19
- package/packages/typescript/package.json +0 -20
- package/turbo.json +0 -100
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* eslint-env browser */
|
|
2
|
-
|
|
3
|
-
const level = (() => {
|
|
4
|
-
if (navigator.userAgentData) {
|
|
5
|
-
const brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');
|
|
6
|
-
if (brand && brand.version > 93) {
|
|
7
|
-
return 3;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
if (/\b(Chrome|Chromium)\//.test(navigator.userAgent)) {
|
|
12
|
-
return 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
return 0;
|
|
16
|
-
})();
|
|
17
|
-
|
|
18
|
-
const colorSupport = level !== 0 && {
|
|
19
|
-
level,
|
|
20
|
-
hasBasic: true,
|
|
21
|
-
has256: level >= 2,
|
|
22
|
-
has16m: level >= 3,
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const supportsColor = {
|
|
26
|
-
stdout: colorSupport,
|
|
27
|
-
stderr: colorSupport,
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default supportsColor;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type {WriteStream} from 'node:tty';
|
|
2
|
-
|
|
3
|
-
export type Options = {
|
|
4
|
-
/**
|
|
5
|
-
Whether `process.argv` should be sniffed for `--color` and `--no-color` flags.
|
|
6
|
-
|
|
7
|
-
@default true
|
|
8
|
-
*/
|
|
9
|
-
readonly sniffFlags?: boolean;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
Levels:
|
|
14
|
-
- `0` - All colors disabled.
|
|
15
|
-
- `1` - Basic 16 colors support.
|
|
16
|
-
- `2` - ANSI 256 colors support.
|
|
17
|
-
- `3` - Truecolor 16 million colors support.
|
|
18
|
-
*/
|
|
19
|
-
export type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
Detect whether the terminal supports color.
|
|
23
|
-
*/
|
|
24
|
-
export type ColorSupport = {
|
|
25
|
-
/**
|
|
26
|
-
The color level.
|
|
27
|
-
*/
|
|
28
|
-
level: ColorSupportLevel;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
Whether basic 16 colors are supported.
|
|
32
|
-
*/
|
|
33
|
-
hasBasic: boolean;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
Whether ANSI 256 colors are supported.
|
|
37
|
-
*/
|
|
38
|
-
has256: boolean;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
Whether Truecolor 16 million colors are supported.
|
|
42
|
-
*/
|
|
43
|
-
has16m: boolean;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export type ColorInfo = ColorSupport | false;
|
|
47
|
-
|
|
48
|
-
export function createSupportsColor(stream?: WriteStream, options?: Options): ColorInfo;
|
|
49
|
-
|
|
50
|
-
declare const supportsColor: {
|
|
51
|
-
stdout: ColorInfo;
|
|
52
|
-
stderr: ColorInfo;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export default supportsColor;
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';
|
|
2
|
-
import os from 'node:os';
|
|
3
|
-
import tty from 'node:tty';
|
|
4
|
-
|
|
5
|
-
// From: https://github.com/sindresorhus/has-flag/blob/main/index.js
|
|
6
|
-
/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {
|
|
7
|
-
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
|
|
8
|
-
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
9
|
-
const position = argv.indexOf(prefix + flag);
|
|
10
|
-
const terminatorPosition = argv.indexOf('--');
|
|
11
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const {env} = process;
|
|
15
|
-
|
|
16
|
-
let flagForceColor;
|
|
17
|
-
if (
|
|
18
|
-
hasFlag('no-color')
|
|
19
|
-
|| hasFlag('no-colors')
|
|
20
|
-
|| hasFlag('color=false')
|
|
21
|
-
|| hasFlag('color=never')
|
|
22
|
-
) {
|
|
23
|
-
flagForceColor = 0;
|
|
24
|
-
} else if (
|
|
25
|
-
hasFlag('color')
|
|
26
|
-
|| hasFlag('colors')
|
|
27
|
-
|| hasFlag('color=true')
|
|
28
|
-
|| hasFlag('color=always')
|
|
29
|
-
) {
|
|
30
|
-
flagForceColor = 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
function envForceColor() {
|
|
34
|
-
if ('FORCE_COLOR' in env) {
|
|
35
|
-
if (env.FORCE_COLOR === 'true') {
|
|
36
|
-
return 1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
if (env.FORCE_COLOR === 'false') {
|
|
40
|
-
return 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function translateLevel(level) {
|
|
48
|
-
if (level === 0) {
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return {
|
|
53
|
-
level,
|
|
54
|
-
hasBasic: true,
|
|
55
|
-
has256: level >= 2,
|
|
56
|
-
has16m: level >= 3,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
|
61
|
-
const noFlagForceColor = envForceColor();
|
|
62
|
-
if (noFlagForceColor !== undefined) {
|
|
63
|
-
flagForceColor = noFlagForceColor;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
67
|
-
|
|
68
|
-
if (forceColor === 0) {
|
|
69
|
-
return 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (sniffFlags) {
|
|
73
|
-
if (hasFlag('color=16m')
|
|
74
|
-
|| hasFlag('color=full')
|
|
75
|
-
|| hasFlag('color=truecolor')) {
|
|
76
|
-
return 3;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (hasFlag('color=256')) {
|
|
80
|
-
return 2;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// Check for Azure DevOps pipelines.
|
|
85
|
-
// Has to be above the `!streamIsTTY` check.
|
|
86
|
-
if ('TF_BUILD' in env && 'AGENT_NAME' in env) {
|
|
87
|
-
return 1;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
91
|
-
return 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
const min = forceColor || 0;
|
|
95
|
-
|
|
96
|
-
if (env.TERM === 'dumb') {
|
|
97
|
-
return min;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (process.platform === 'win32') {
|
|
101
|
-
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
102
|
-
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
103
|
-
const osRelease = os.release().split('.');
|
|
104
|
-
if (
|
|
105
|
-
Number(osRelease[0]) >= 10
|
|
106
|
-
&& Number(osRelease[2]) >= 10_586
|
|
107
|
-
) {
|
|
108
|
-
return Number(osRelease[2]) >= 14_931 ? 3 : 2;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
return 1;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
if ('CI' in env) {
|
|
115
|
-
if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) {
|
|
116
|
-
return 3;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
120
|
-
return 1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
return min;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if ('TEAMCITY_VERSION' in env) {
|
|
127
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (env.COLORTERM === 'truecolor') {
|
|
131
|
-
return 3;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
if (env.TERM === 'xterm-kitty') {
|
|
135
|
-
return 3;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
if ('TERM_PROGRAM' in env) {
|
|
139
|
-
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
140
|
-
|
|
141
|
-
switch (env.TERM_PROGRAM) {
|
|
142
|
-
case 'iTerm.app': {
|
|
143
|
-
return version >= 3 ? 3 : 2;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
case 'Apple_Terminal': {
|
|
147
|
-
return 2;
|
|
148
|
-
}
|
|
149
|
-
// No default
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
154
|
-
return 2;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
158
|
-
return 1;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
if ('COLORTERM' in env) {
|
|
162
|
-
return 1;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
return min;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export function createSupportsColor(stream, options = {}) {
|
|
169
|
-
const level = _supportsColor(stream, {
|
|
170
|
-
streamIsTTY: stream && stream.isTTY,
|
|
171
|
-
...options,
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
return translateLevel(level);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
const supportsColor = {
|
|
178
|
-
stdout: createSupportsColor({isTTY: tty.isatty(1)}),
|
|
179
|
-
stderr: createSupportsColor({isTTY: tty.isatty(2)}),
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
export default supportsColor;
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## [2.6.0](https://github.com/broofa/mime/compare/v2.5.2...v2.6.0) (2021-11-02)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* mime-db@1.50.0 ([cef0cc4](https://github.com/broofa/mime/commit/cef0cc484ff6d05ff1e12b54ca3e8b856fbc14d8))
|
|
11
|
-
|
|
12
|
-
### [2.5.2](https://github.com/broofa/mime/compare/v2.5.0...v2.5.2) (2021-02-17)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
* update to mime-db@1.46.0, fixes [#253](https://github.com/broofa/mime/issues/253) ([f10e6aa](https://github.com/broofa/mime/commit/f10e6aa62e1356de7e2491d7fb4374c8dac65800))
|
|
18
|
-
|
|
19
|
-
## [2.5.0](https://github.com/broofa/mime/compare/v2.4.7...v2.5.0) (2021-01-16)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Features
|
|
23
|
-
|
|
24
|
-
* improved CLI ([#244](https://github.com/broofa/mime/issues/244)) ([c8a8356](https://github.com/broofa/mime/commit/c8a8356e3b27f3ef46b64b89b428fdb547b14d5f))
|
|
25
|
-
|
|
26
|
-
### [2.4.7](https://github.com/broofa/mime/compare/v2.4.6...v2.4.7) (2020-12-16)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Bug Fixes
|
|
30
|
-
|
|
31
|
-
* update to latest mime-db ([43b09ef](https://github.com/broofa/mime/commit/43b09eff0233eacc449af2b1f99a19ba9e104a44))
|
|
32
|
-
|
|
33
|
-
### [2.4.6](https://github.com/broofa/mime/compare/v2.4.5...v2.4.6) (2020-05-27)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Bug Fixes
|
|
37
|
-
|
|
38
|
-
* add cli.js to package.json files ([#237](https://github.com/broofa/mime/issues/237)) ([6c070bc](https://github.com/broofa/mime/commit/6c070bc298fa12a48e2ed126fbb9de641a1e7ebc))
|
|
39
|
-
|
|
40
|
-
### [2.4.5](https://github.com/broofa/mime/compare/v2.4.4...v2.4.5) (2020-05-01)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
* fix [#236](https://github.com/broofa/mime/issues/236) ([7f4ecd0](https://github.com/broofa/mime/commit/7f4ecd0d850ed22c9e3bfda2c11fc74e4dde12a7))
|
|
46
|
-
* update to latest mime-db ([c5cb3f2](https://github.com/broofa/mime/commit/c5cb3f2ab8b07642a066efbde1142af1b90c927b))
|
|
47
|
-
|
|
48
|
-
### [2.4.4](https://github.com/broofa/mime/compare/v2.4.3...v2.4.4) (2019-06-07)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### [2.4.3](https://github.com/broofa/mime/compare/v2.4.2...v2.4.3) (2019-05-15)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
### [2.4.2](https://github.com/broofa/mime/compare/v2.4.1...v2.4.2) (2019-04-07)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Bug Fixes
|
|
60
|
-
|
|
61
|
-
* don't use arrow function introduced in 2.4.1 ([2e00b5c](https://github.com/broofa/mime/commit/2e00b5c))
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### [2.4.1](https://github.com/broofa/mime/compare/v2.4.0...v2.4.1) (2019-04-03)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### Bug Fixes
|
|
69
|
-
|
|
70
|
-
* update MDN and mime-db types ([3e567a9](https://github.com/broofa/mime/commit/3e567a9))
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
# [2.4.0](https://github.com/broofa/mime/compare/v2.3.1...v2.4.0) (2018-11-26)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
### Features
|
|
78
|
-
|
|
79
|
-
* Bind exported methods ([9d2a7b8](https://github.com/broofa/mime/commit/9d2a7b8))
|
|
80
|
-
* update to mime-db@1.37.0 ([49e6e41](https://github.com/broofa/mime/commit/49e6e41))
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
### [2.3.1](https://github.com/broofa/mime/compare/v2.3.0...v2.3.1) (2018-04-11)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
### Bug Fixes
|
|
88
|
-
|
|
89
|
-
* fix [#198](https://github.com/broofa/mime/issues/198) ([25ca180](https://github.com/broofa/mime/commit/25ca180))
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
# [2.3.0](https://github.com/broofa/mime/compare/v2.2.2...v2.3.0) (2018-04-11)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Bug Fixes
|
|
97
|
-
|
|
98
|
-
* fix [#192](https://github.com/broofa/mime/issues/192) ([5c35df6](https://github.com/broofa/mime/commit/5c35df6))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
### Features
|
|
102
|
-
|
|
103
|
-
* add travis-ci testing ([d64160f](https://github.com/broofa/mime/commit/d64160f))
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### [2.2.2](https://github.com/broofa/mime/compare/v2.2.1...v2.2.2) (2018-03-30)
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
### Bug Fixes
|
|
111
|
-
|
|
112
|
-
* update types files to mime-db@1.32.0 ([85aac16](https://github.com/broofa/mime/commit/85aac16))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
### [2.2.1](https://github.com/broofa/mime/compare/v2.2.0...v2.2.1) (2018-03-30)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
* Retain type->extension mappings for non-default types. Fixes [#180](https://github.com/broofa/mime/issues/180) ([b5c83fb](https://github.com/broofa/mime/commit/b5c83fb))
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
# [2.2.0](https://github.com/broofa/mime/compare/v2.1.0...v2.2.0) (2018-01-04)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Features
|
|
128
|
-
|
|
129
|
-
* Retain type->extension mappings for non-default types. Fixes [#180](https://github.com/broofa/mime/issues/180) ([10f82ac](https://github.com/broofa/mime/commit/10f82ac))
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
# [2.1.0](https://github.com/broofa/mime/compare/v2.0.5...v2.1.0) (2017-12-22)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
### Features
|
|
137
|
-
|
|
138
|
-
* Upgrade to mime-db@1.32.0. Fixes [#185](https://github.com/broofa/mime/issues/185) ([3f775ba](https://github.com/broofa/mime/commit/3f775ba))
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### [2.0.5](https://github.com/broofa/mime/compare/v2.0.1...v2.0.5) (2017-12-22)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
### Bug Fixes
|
|
146
|
-
|
|
147
|
-
* ES5 support (back to node v0.4) ([f14ccb6](https://github.com/broofa/mime/commit/f14ccb6))
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
# Changelog
|
|
152
|
-
|
|
153
|
-
### v2.0.4 (24/11/2017)
|
|
154
|
-
- [**closed**] Switch to mime-score module for resolving extension contention issues. [#182](https://github.com/broofa/mime/issues/182)
|
|
155
|
-
- [**closed**] Update mime-db to 1.31.0 in v1.x branch [#181](https://github.com/broofa/mime/issues/181)
|
|
156
|
-
|
|
157
|
-
---
|
|
158
|
-
|
|
159
|
-
## v1.5.0 (22/11/2017)
|
|
160
|
-
- [**closed**] need ES5 version ready in npm package [#179](https://github.com/broofa/mime/issues/179)
|
|
161
|
-
- [**closed**] mime-db no trace of iWork - pages / numbers / etc. [#178](https://github.com/broofa/mime/issues/178)
|
|
162
|
-
- [**closed**] How it works in brownser ? [#176](https://github.com/broofa/mime/issues/176)
|
|
163
|
-
- [**closed**] Missing `./Mime` [#175](https://github.com/broofa/mime/issues/175)
|
|
164
|
-
- [**closed**] Vulnerable Regular Expression [#167](https://github.com/broofa/mime/issues/167)
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
### v2.0.3 (25/09/2017)
|
|
169
|
-
*No changelog for this release.*
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
### v1.4.1 (25/09/2017)
|
|
174
|
-
- [**closed**] Issue when bundling with webpack [#172](https://github.com/broofa/mime/issues/172)
|
|
175
|
-
|
|
176
|
-
---
|
|
177
|
-
|
|
178
|
-
### v2.0.2 (15/09/2017)
|
|
179
|
-
- [**V2**] fs.readFileSync is not a function [#165](https://github.com/broofa/mime/issues/165)
|
|
180
|
-
- [**closed**] The extension for video/quicktime should map to .mov, not .qt [#164](https://github.com/broofa/mime/issues/164)
|
|
181
|
-
- [**V2**] [v2 Feedback request] Mime class API [#163](https://github.com/broofa/mime/issues/163)
|
|
182
|
-
- [**V2**] [v2 Feedback request] Resolving conflicts over extensions [#162](https://github.com/broofa/mime/issues/162)
|
|
183
|
-
- [**V2**] Allow callers to load module with official, full, or no defined types. [#161](https://github.com/broofa/mime/issues/161)
|
|
184
|
-
- [**V2**] Use "facets" to resolve extension conflicts [#160](https://github.com/broofa/mime/issues/160)
|
|
185
|
-
- [**V2**] Remove fs and path dependencies [#152](https://github.com/broofa/mime/issues/152)
|
|
186
|
-
- [**V2**] Default content-type should not be application/octet-stream [#139](https://github.com/broofa/mime/issues/139)
|
|
187
|
-
- [**V2**] reset mime-types [#124](https://github.com/broofa/mime/issues/124)
|
|
188
|
-
- [**V2**] Extensionless paths should return null or false [#113](https://github.com/broofa/mime/issues/113)
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
### v2.0.1 (14/09/2017)
|
|
193
|
-
- [**closed**] Changelog for v2.0 does not mention breaking changes [#171](https://github.com/broofa/mime/issues/171)
|
|
194
|
-
- [**closed**] MIME breaking with 'class' declaration as it is without 'use strict mode' [#170](https://github.com/broofa/mime/issues/170)
|
|
195
|
-
|
|
196
|
-
---
|
|
197
|
-
|
|
198
|
-
## v2.0.0 (12/09/2017)
|
|
199
|
-
- [**closed**] woff and woff2 [#168](https://github.com/broofa/mime/issues/168)
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
## v1.4.0 (28/08/2017)
|
|
204
|
-
- [**closed**] support for ac3 voc files [#159](https://github.com/broofa/mime/issues/159)
|
|
205
|
-
- [**closed**] Help understanding change from application/xml to text/xml [#158](https://github.com/broofa/mime/issues/158)
|
|
206
|
-
- [**closed**] no longer able to override mimetype [#157](https://github.com/broofa/mime/issues/157)
|
|
207
|
-
- [**closed**] application/vnd.adobe.photoshop [#147](https://github.com/broofa/mime/issues/147)
|
|
208
|
-
- [**closed**] Directories should appear as something other than application/octet-stream [#135](https://github.com/broofa/mime/issues/135)
|
|
209
|
-
- [**closed**] requested features [#131](https://github.com/broofa/mime/issues/131)
|
|
210
|
-
- [**closed**] Make types.json loading optional? [#129](https://github.com/broofa/mime/issues/129)
|
|
211
|
-
- [**closed**] Cannot find module './types.json' [#120](https://github.com/broofa/mime/issues/120)
|
|
212
|
-
- [**V2**] .wav files show up as "audio/x-wav" instead of "audio/x-wave" [#118](https://github.com/broofa/mime/issues/118)
|
|
213
|
-
- [**closed**] Don't be a pain in the ass for node community [#108](https://github.com/broofa/mime/issues/108)
|
|
214
|
-
- [**closed**] don't make default_type global [#78](https://github.com/broofa/mime/issues/78)
|
|
215
|
-
- [**closed**] mime.extension() fails if the content-type is parameterized [#74](https://github.com/broofa/mime/issues/74)
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
### v1.3.6 (11/05/2017)
|
|
220
|
-
- [**closed**] .md should be text/markdown as of March 2016 [#154](https://github.com/broofa/mime/issues/154)
|
|
221
|
-
- [**closed**] Error while installing mime [#153](https://github.com/broofa/mime/issues/153)
|
|
222
|
-
- [**closed**] application/manifest+json [#149](https://github.com/broofa/mime/issues/149)
|
|
223
|
-
- [**closed**] Dynamic adaptive streaming over HTTP (DASH) file extension typo [#141](https://github.com/broofa/mime/issues/141)
|
|
224
|
-
- [**closed**] charsets image/png undefined [#140](https://github.com/broofa/mime/issues/140)
|
|
225
|
-
- [**closed**] Mime-db dependency out of date [#130](https://github.com/broofa/mime/issues/130)
|
|
226
|
-
- [**closed**] how to support plist? [#126](https://github.com/broofa/mime/issues/126)
|
|
227
|
-
- [**closed**] how does .types file format look like? [#123](https://github.com/broofa/mime/issues/123)
|
|
228
|
-
- [**closed**] Feature: support for expanding MIME patterns [#121](https://github.com/broofa/mime/issues/121)
|
|
229
|
-
- [**closed**] DEBUG_MIME doesn't work [#117](https://github.com/broofa/mime/issues/117)
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
### v1.3.4 (06/02/2015)
|
|
234
|
-
*No changelog for this release.*
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
### v1.3.3 (06/02/2015)
|
|
239
|
-
*No changelog for this release.*
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
### v1.3.1 (05/02/2015)
|
|
244
|
-
- [**closed**] Consider adding support for Handlebars .hbs file ending [#111](https://github.com/broofa/mime/issues/111)
|
|
245
|
-
- [**closed**] Consider adding support for hjson. [#110](https://github.com/broofa/mime/issues/110)
|
|
246
|
-
- [**closed**] Add mime type for Opus audio files [#94](https://github.com/broofa/mime/issues/94)
|
|
247
|
-
- [**closed**] Consider making the `Requesting New Types` information more visible [#77](https://github.com/broofa/mime/issues/77)
|
|
248
|
-
|
|
249
|
-
---
|
|
250
|
-
|
|
251
|
-
## v1.3.0 (05/02/2015)
|
|
252
|
-
- [**closed**] Add common name? [#114](https://github.com/broofa/mime/issues/114)
|
|
253
|
-
- [**closed**] application/x-yaml [#104](https://github.com/broofa/mime/issues/104)
|
|
254
|
-
- [**closed**] Add mime type for WOFF file format 2.0 [#102](https://github.com/broofa/mime/issues/102)
|
|
255
|
-
- [**closed**] application/x-msi for .msi [#99](https://github.com/broofa/mime/issues/99)
|
|
256
|
-
- [**closed**] Add mimetype for gettext translation files [#98](https://github.com/broofa/mime/issues/98)
|
|
257
|
-
- [**closed**] collaborators [#88](https://github.com/broofa/mime/issues/88)
|
|
258
|
-
- [**closed**] getting errot in installation of mime module...any1 can help? [#87](https://github.com/broofa/mime/issues/87)
|
|
259
|
-
- [**closed**] should application/json's charset be utf8? [#86](https://github.com/broofa/mime/issues/86)
|
|
260
|
-
- [**closed**] Add "license" and "licenses" to package.json [#81](https://github.com/broofa/mime/issues/81)
|
|
261
|
-
- [**closed**] lookup with extension-less file on Windows returns wrong type [#68](https://github.com/broofa/mime/issues/68)
|
|
262
|
-
|
|
263
|
-
---
|
|
264
|
-
|
|
265
|
-
### v1.2.11 (15/08/2013)
|
|
266
|
-
- [**closed**] Update mime.types [#65](https://github.com/broofa/mime/issues/65)
|
|
267
|
-
- [**closed**] Publish a new version [#63](https://github.com/broofa/mime/issues/63)
|
|
268
|
-
- [**closed**] README should state upfront that "application/octet-stream" is default for unknown extension [#55](https://github.com/broofa/mime/issues/55)
|
|
269
|
-
- [**closed**] Suggested improvement to the charset API [#52](https://github.com/broofa/mime/issues/52)
|
|
270
|
-
|
|
271
|
-
---
|
|
272
|
-
|
|
273
|
-
### v1.2.10 (25/07/2013)
|
|
274
|
-
- [**closed**] Mime type for woff files should be application/font-woff and not application/x-font-woff [#62](https://github.com/broofa/mime/issues/62)
|
|
275
|
-
- [**closed**] node.types in conflict with mime.types [#51](https://github.com/broofa/mime/issues/51)
|
|
276
|
-
|
|
277
|
-
---
|
|
278
|
-
|
|
279
|
-
### v1.2.9 (17/01/2013)
|
|
280
|
-
- [**closed**] Please update "mime" NPM [#49](https://github.com/broofa/mime/issues/49)
|
|
281
|
-
- [**closed**] Please add semicolon [#46](https://github.com/broofa/mime/issues/46)
|
|
282
|
-
- [**closed**] parse full mime types [#43](https://github.com/broofa/mime/issues/43)
|
|
283
|
-
|
|
284
|
-
---
|
|
285
|
-
|
|
286
|
-
### v1.2.8 (10/01/2013)
|
|
287
|
-
- [**closed**] /js directory mime is application/javascript. Is it correct? [#47](https://github.com/broofa/mime/issues/47)
|
|
288
|
-
- [**closed**] Add mime types for lua code. [#45](https://github.com/broofa/mime/issues/45)
|
|
289
|
-
|
|
290
|
-
---
|
|
291
|
-
|
|
292
|
-
### v1.2.7 (19/10/2012)
|
|
293
|
-
- [**closed**] cannot install 1.2.7 via npm [#41](https://github.com/broofa/mime/issues/41)
|
|
294
|
-
- [**closed**] Transfer ownership to @broofa [#36](https://github.com/broofa/mime/issues/36)
|
|
295
|
-
- [**closed**] it's wrong to set charset to UTF-8 for text [#30](https://github.com/broofa/mime/issues/30)
|
|
296
|
-
- [**closed**] Allow multiple instances of MIME types container [#27](https://github.com/broofa/mime/issues/27)
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @param typeMap [Object] Map of MIME type -> Array[extensions]
|
|
5
|
-
* @param ...
|
|
6
|
-
*/
|
|
7
|
-
function Mime() {
|
|
8
|
-
this._types = Object.create(null);
|
|
9
|
-
this._extensions = Object.create(null);
|
|
10
|
-
|
|
11
|
-
for (let i = 0; i < arguments.length; i++) {
|
|
12
|
-
this.define(arguments[i]);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
this.define = this.define.bind(this);
|
|
16
|
-
this.getType = this.getType.bind(this);
|
|
17
|
-
this.getExtension = this.getExtension.bind(this);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Define mimetype -> extension mappings. Each key is a mime-type that maps
|
|
22
|
-
* to an array of extensions associated with the type. The first extension is
|
|
23
|
-
* used as the default extension for the type.
|
|
24
|
-
*
|
|
25
|
-
* e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});
|
|
26
|
-
*
|
|
27
|
-
* If a type declares an extension that has already been defined, an error will
|
|
28
|
-
* be thrown. To suppress this error and force the extension to be associated
|
|
29
|
-
* with the new type, pass `force`=true. Alternatively, you may prefix the
|
|
30
|
-
* extension with "*" to map the type to extension, without mapping the
|
|
31
|
-
* extension to the type.
|
|
32
|
-
*
|
|
33
|
-
* e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']});
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* @param map (Object) type definitions
|
|
37
|
-
* @param force (Boolean) if true, force overriding of existing definitions
|
|
38
|
-
*/
|
|
39
|
-
Mime.prototype.define = function(typeMap, force) {
|
|
40
|
-
for (let type in typeMap) {
|
|
41
|
-
let extensions = typeMap[type].map(function(t) {
|
|
42
|
-
return t.toLowerCase();
|
|
43
|
-
});
|
|
44
|
-
type = type.toLowerCase();
|
|
45
|
-
|
|
46
|
-
for (let i = 0; i < extensions.length; i++) {
|
|
47
|
-
const ext = extensions[i];
|
|
48
|
-
|
|
49
|
-
// '*' prefix = not the preferred type for this extension. So fixup the
|
|
50
|
-
// extension, and skip it.
|
|
51
|
-
if (ext[0] === '*') {
|
|
52
|
-
continue;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
if (!force && (ext in this._types)) {
|
|
56
|
-
throw new Error(
|
|
57
|
-
'Attempt to change mapping for "' + ext +
|
|
58
|
-
'" extension from "' + this._types[ext] + '" to "' + type +
|
|
59
|
-
'". Pass `force=true` to allow this, otherwise remove "' + ext +
|
|
60
|
-
'" from the list of extensions for "' + type + '".'
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
this._types[ext] = type;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Use first extension as default
|
|
68
|
-
if (force || !this._extensions[type]) {
|
|
69
|
-
const ext = extensions[0];
|
|
70
|
-
this._extensions[type] = (ext[0] !== '*') ? ext : ext.substr(1);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Lookup a mime type based on extension
|
|
77
|
-
*/
|
|
78
|
-
Mime.prototype.getType = function(path) {
|
|
79
|
-
path = String(path);
|
|
80
|
-
let last = path.replace(/^.*[/\\]/, '').toLowerCase();
|
|
81
|
-
let ext = last.replace(/^.*\./, '').toLowerCase();
|
|
82
|
-
|
|
83
|
-
let hasPath = last.length < path.length;
|
|
84
|
-
let hasDot = ext.length < last.length - 1;
|
|
85
|
-
|
|
86
|
-
return (hasDot || !hasPath) && this._types[ext] || null;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Return file extension associated with a mime type
|
|
91
|
-
*/
|
|
92
|
-
Mime.prototype.getExtension = function(type) {
|
|
93
|
-
type = /^\s*([^;\s]*)/.test(type) && RegExp.$1;
|
|
94
|
-
return type && this._extensions[type.toLowerCase()] || null;
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
module.exports = Mime;
|