@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.50
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 +510 -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 +22 -43
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.md +52 -15
- package/components/select/demo/api.min.js +1564 -613
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +1563 -612
- package/components/select/dist/auro-select.d.ts +23 -7
- package/components/select/dist/dropdownVersion.d.ts +2 -0
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +848 -213
- package/components/select/dist/registered.js +4562 -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,521 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { html, css, LitElement } from 'lit';
|
|
3
|
-
import { property } from 'lit/decorators.js';
|
|
4
|
-
import { addDays, addMonths, addYears, endOfMonth, format, getDay, parse, startOfDay, subMonths, subYears, } from 'date-fns';
|
|
5
|
-
import { enUS } from 'date-fns/locale';
|
|
6
|
-
import './range-datepicker-cell.js';
|
|
7
|
-
import { Day } from './day.js';
|
|
8
|
-
|
|
9
|
-
/* eslint-disable max-lines, no-void, no-magic-numbers, no-underscore-dangle, init-declarations, no-extra-parens, prefer-destructuring, no-unused-expressions */
|
|
10
|
-
|
|
11
|
-
import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
12
|
-
export class RangeDatepickerCalendar extends LitElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Date from. Format is Unix timestamp.
|
|
18
|
-
*/
|
|
19
|
-
this.dateFrom = null;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Date to. Format is Unix timestamp.
|
|
23
|
-
*/
|
|
24
|
-
this.dateTo = null;
|
|
25
|
-
this.hoveredDate = null;
|
|
26
|
-
this.enableYearChange = false;
|
|
27
|
-
this.month = '01';
|
|
28
|
-
this.narrow = false;
|
|
29
|
-
this.noRange = false;
|
|
30
|
-
this.next = false;
|
|
31
|
-
this.prev = false;
|
|
32
|
-
this.year = 2020;
|
|
33
|
-
this.disabledDays = [];
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Max date. Format is Unix timestamp.
|
|
37
|
-
*/
|
|
38
|
-
this.max = null;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Minimal date. Format is Unix timestamp.
|
|
42
|
-
*/
|
|
43
|
-
this.min = null;
|
|
44
|
-
this.yearsList = [];
|
|
45
|
-
this.monthsList = [];
|
|
46
|
-
this.dayNamesOfTheWeek = [];
|
|
47
|
-
this.daysOfMonth = [];
|
|
48
|
-
this._locale = null;
|
|
49
|
-
this.currentDate = parseInt(format(startOfDay(Date.now()), 't'), 10);
|
|
50
|
-
this.localeChanged();
|
|
51
|
-
this.yearAndMonthChanged(this.year, this.month);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
get locale() {
|
|
55
|
-
return this._locale ? this._locale : enUS;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
set locale(value) {
|
|
59
|
-
const oldValue = this._locale;
|
|
60
|
-
this._locale = value;
|
|
61
|
-
this.requestUpdate('locale', oldValue);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
render() {
|
|
65
|
-
let _a, _b;
|
|
66
|
-
return html`
|
|
67
|
-
<div>
|
|
68
|
-
<div class="header">
|
|
69
|
-
${this.renderPrevButton()}
|
|
70
|
-
<div class="headerTitle">
|
|
71
|
-
<div>${this.computeCurrentMonthName(this.month, this.year)}</div>
|
|
72
|
-
<div>${this.renderYear()}</div>
|
|
73
|
-
</div>
|
|
74
|
-
${this.renderNextButton()}
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<div class="table">
|
|
78
|
-
<div class="thead">
|
|
79
|
-
<div class="tr">
|
|
80
|
-
${(_a = this.dayNamesOfTheWeek) === null || _a === void 0 ? void 0 : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
<div class="tbody">
|
|
84
|
-
${(_b = this.daysOfMonth) === null || _b === void 0 ? void 0 : _b.map((week) => this.renderWeek(week))}
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
`;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
renderPrevButton() {
|
|
92
|
-
if (this.prev || this.narrow || this.enableYearChange) {
|
|
93
|
-
return html`
|
|
94
|
-
<button
|
|
95
|
-
icon="chevron_left"
|
|
96
|
-
@click="${this.handlePrevMonth}">
|
|
97
|
-
</button>
|
|
98
|
-
`;
|
|
99
|
-
}
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
renderNextButton() {
|
|
104
|
-
if (this.next || this.narrow || this.enableYearChange) {
|
|
105
|
-
return html`
|
|
106
|
-
<button
|
|
107
|
-
icon="chevron_right"
|
|
108
|
-
@click="${this.handleNextMonth}">
|
|
109
|
-
</button>`;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return null;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
renderYear() {
|
|
116
|
-
return html`${this.year}`;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
renderDayOfWeek(dayOfWeek) {
|
|
120
|
-
return html`<div class="th">${dayOfWeek}</div>`;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
renderWeek(week) {
|
|
124
|
-
return html`
|
|
125
|
-
<div class="tr">${week.map((day) => this.renderDay(day))}</div>
|
|
126
|
-
`;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
renderDay(day) {
|
|
130
|
-
return html`
|
|
131
|
-
<div class="td ${this.tdIsEnabled(day)}">
|
|
132
|
-
${day ? html`
|
|
133
|
-
<wc-range-datepicker-cell
|
|
134
|
-
.disabledDays="${this.disabledDays}"
|
|
135
|
-
.min="${this.min}"
|
|
136
|
-
.max="${this.max}"
|
|
137
|
-
.month="${this.month}"
|
|
138
|
-
.hoveredDate="${this.hoveredDate}"
|
|
139
|
-
.dateTo="${this.dateTo}"
|
|
140
|
-
.dateFrom="${this.dateFrom}"
|
|
141
|
-
.locale="${this.locale}"
|
|
142
|
-
.day="${day}"
|
|
143
|
-
?isCurrentDate="${this.isCurrentDate(day)}"
|
|
144
|
-
@date-is-selected="${this.handleDateSelected}"
|
|
145
|
-
@date-is-hovered="${this.handleDateHovered}">
|
|
146
|
-
</wc-range-datepicker-cell>
|
|
147
|
-
` : null}
|
|
148
|
-
</div>
|
|
149
|
-
`;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
async firstUpdated() {
|
|
153
|
-
this.monthsList = [
|
|
154
|
-
'01',
|
|
155
|
-
'02',
|
|
156
|
-
'03',
|
|
157
|
-
'04',
|
|
158
|
-
'05',
|
|
159
|
-
'06',
|
|
160
|
-
'07',
|
|
161
|
-
'08',
|
|
162
|
-
'09',
|
|
163
|
-
'10',
|
|
164
|
-
'11',
|
|
165
|
-
'12',
|
|
166
|
-
];
|
|
167
|
-
setTimeout(() => {
|
|
168
|
-
this.setYears(1930, 2100);
|
|
169
|
-
});
|
|
170
|
-
await this.updateComplete;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
updated(properties) {
|
|
174
|
-
if (properties.has('locale')) {
|
|
175
|
-
this.localeChanged();
|
|
176
|
-
}
|
|
177
|
-
if (properties.has('year')) {
|
|
178
|
-
this.dispatchEvent(new CustomEvent('year-changed', { detail: { value: this.year } }));
|
|
179
|
-
}
|
|
180
|
-
if (properties.has('year') || properties.has('month')) {
|
|
181
|
-
this.yearAndMonthChanged(this.year, this.month);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
isCurrentDate(day) {
|
|
186
|
-
const dayDate = day.date;
|
|
187
|
-
return dayDate === this.currentDate;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
localeChanged() {
|
|
191
|
-
const dayNamesOfTheWeek = [];
|
|
192
|
-
for (let index = 0; index < 7; index += 1) {
|
|
193
|
-
dayNamesOfTheWeek.push(this.locale.localize.day(index, { width: 'short' }));
|
|
194
|
-
}
|
|
195
|
-
const firstDayOfWeek = this.locale.options.weekStartsOn
|
|
196
|
-
? this.locale.options.weekStartsOn
|
|
197
|
-
: 0;
|
|
198
|
-
const tmp = dayNamesOfTheWeek.slice().splice(0, firstDayOfWeek);
|
|
199
|
-
const newDayNamesOfTheWeek = dayNamesOfTheWeek
|
|
200
|
-
.slice() // eslint-disable-line dot-location
|
|
201
|
-
.splice(firstDayOfWeek, dayNamesOfTheWeek.length) // eslint-disable-line dot-location
|
|
202
|
-
.concat(tmp); // eslint-disable-line dot-location
|
|
203
|
-
this.dayNamesOfTheWeek = newDayNamesOfTheWeek;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
yearAndMonthChanged(year, month) {
|
|
207
|
-
if (year && month) {
|
|
208
|
-
let monthMinus = `${month}`;
|
|
209
|
-
monthMinus = monthMinus.substring(monthMinus.length - 2);
|
|
210
|
-
let startDateString = `01/${monthMinus}/${year}`;
|
|
211
|
-
let startDateFn = parse(startDateString, 'dd/MM/yyyy', new Date());
|
|
212
|
-
const endDateFn = endOfMonth(startDateFn);
|
|
213
|
-
const endDateString = format(endDateFn, 'dd/MM/yyyy');
|
|
214
|
-
const firstDayOfWeek = this.locale.options.weekStartsOn
|
|
215
|
-
? this.locale.options.weekStartsOn
|
|
216
|
-
: 0;
|
|
217
|
-
const rows = [];
|
|
218
|
-
let columns = [];
|
|
219
|
-
const lastDayOfWeek = 6;
|
|
220
|
-
while (startDateString !== endDateString) {
|
|
221
|
-
let dayNumberFn = getDay(startDateFn) - firstDayOfWeek;
|
|
222
|
-
if (dayNumberFn < 0) {
|
|
223
|
-
dayNumberFn = 6;
|
|
224
|
-
}
|
|
225
|
-
const columnFn = new Day(startDateFn);
|
|
226
|
-
columns.push(columnFn);
|
|
227
|
-
if (dayNumberFn === lastDayOfWeek) {
|
|
228
|
-
for (let index = columns.length; index < lastDayOfWeek + 1; index += 1) {
|
|
229
|
-
columns.unshift(null);
|
|
230
|
-
}
|
|
231
|
-
rows.push(columns.slice());
|
|
232
|
-
columns = [];
|
|
233
|
-
}
|
|
234
|
-
startDateFn = addDays(startDateFn, 1);
|
|
235
|
-
startDateString = format(startDateFn, 'dd/MM/yyyy');
|
|
236
|
-
if (startDateString === endDateString) {
|
|
237
|
-
const endColumnFn = new Day(startDateFn);
|
|
238
|
-
columns.push(endColumnFn);
|
|
239
|
-
for (let index = columns.length; index <= lastDayOfWeek; index += 1) {
|
|
240
|
-
columns.push(null);
|
|
241
|
-
}
|
|
242
|
-
rows.push(columns.slice());
|
|
243
|
-
columns = [];
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
this.daysOfMonth = rows;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
computeCurrentMonthName(month, year) {
|
|
251
|
-
return format(new Date(year, parseInt(month, 10) - 1), 'MMMM', {
|
|
252
|
-
locale: this.locale,
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
tdIsEnabled(day) {
|
|
257
|
-
return day ? 'enabled' : '';
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
handleDateSelected(event) {
|
|
261
|
-
const { detail } = event;
|
|
262
|
-
const { date } = detail;
|
|
263
|
-
if (!this.noRange) {
|
|
264
|
-
if (this.dateFrom && this.dateTo) {
|
|
265
|
-
this.dateFrom = date;
|
|
266
|
-
this.dateTo = null;
|
|
267
|
-
this.hoveredDate = null;
|
|
268
|
-
} else if (!this.dateFrom || (this.dateFrom && date < this.dateFrom)) {
|
|
269
|
-
this.dateFrom = date;
|
|
270
|
-
} else if (!this.dateTo || (this.dateTo && date > this.dateTo)) {
|
|
271
|
-
this.dateTo = date;
|
|
272
|
-
}
|
|
273
|
-
} else {
|
|
274
|
-
this.dateFrom = date;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
this.dispatchEvent(new CustomEvent('date-from-changed', { detail: { value: this.dateFrom } }));
|
|
278
|
-
this.dispatchEvent(new CustomEvent('date-to-changed', { detail: { value: this.dateTo } }));
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
handleOpenYearSelection() {
|
|
282
|
-
let _a;
|
|
283
|
-
const menu = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.year-change');
|
|
284
|
-
const index = menu.items.findIndex((item) => item.value === this.year.toString());
|
|
285
|
-
menu.select(index);
|
|
286
|
-
menu.show();
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
handleYearSelected() {
|
|
290
|
-
let _a;
|
|
291
|
-
const menu = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.year-change');
|
|
292
|
-
const selected = menu.selected;
|
|
293
|
-
this.year = parseInt(selected === null || selected === void 0 ? void 0 : selected.value, 10);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
handleDateHovered(event) {
|
|
297
|
-
this.hoveredDate = event.detail.date;
|
|
298
|
-
this.dispatchEvent(new CustomEvent('hovered-date-changed', {
|
|
299
|
-
detail: { value: this.hoveredDate },
|
|
300
|
-
}));
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
handleNextMonth() {
|
|
304
|
-
let _a, _b;
|
|
305
|
-
const tbody = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.tbody');
|
|
306
|
-
const monthName = (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.header > div');
|
|
307
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
|
|
308
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToLeft');
|
|
309
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
|
|
310
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToLeft');
|
|
311
|
-
const month = parse(this.month, 'MM', new Date());
|
|
312
|
-
const monthPlusDate = addMonths(month, 1);
|
|
313
|
-
const monthPlusString = format(monthPlusDate, 'MM', {
|
|
314
|
-
locale: this.locale,
|
|
315
|
-
});
|
|
316
|
-
this.month = monthPlusString;
|
|
317
|
-
if (this.month === '01') {
|
|
318
|
-
const year = parse(this.year.toString(), 'yyyy', new Date());
|
|
319
|
-
const yearPlusDate = addYears(year, 1);
|
|
320
|
-
const yearPlusString = format(yearPlusDate, 'yyyy', {
|
|
321
|
-
locale: this.locale,
|
|
322
|
-
});
|
|
323
|
-
this.year = parseInt(yearPlusString, 10);
|
|
324
|
-
}
|
|
325
|
-
this.dispatchEvent(new CustomEvent('next-month'));
|
|
326
|
-
setTimeout(() => {
|
|
327
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
|
|
328
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToRight');
|
|
329
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToLeft');
|
|
330
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
|
|
331
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToRight');
|
|
332
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToLeft');
|
|
333
|
-
setTimeout(() => {
|
|
334
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
|
|
335
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToRight');
|
|
336
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
|
|
337
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToRight');
|
|
338
|
-
setTimeout(() => {
|
|
339
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
|
|
340
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
|
|
341
|
-
}, 100);
|
|
342
|
-
}, 100);
|
|
343
|
-
}, 100);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
handlePrevMonth() {
|
|
347
|
-
let _a, _b;
|
|
348
|
-
const tbody = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.tbody');
|
|
349
|
-
const monthName = (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.header > div');
|
|
350
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
|
|
351
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToRight');
|
|
352
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
|
|
353
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToRight');
|
|
354
|
-
const month = parse(this.month, 'MM', new Date());
|
|
355
|
-
const monthMinusDate = subMonths(month, 1);
|
|
356
|
-
const monthMinusString = format(monthMinusDate, 'MM', {
|
|
357
|
-
locale: this.locale,
|
|
358
|
-
});
|
|
359
|
-
this.month = monthMinusString;
|
|
360
|
-
if (this.month === '12') {
|
|
361
|
-
const year = parse(this.year.toString(), 'yyyy', new Date());
|
|
362
|
-
const yearMinusDate = subYears(year, 1);
|
|
363
|
-
const yearMinusString = format(yearMinusDate, 'yyyy', {
|
|
364
|
-
locale: this.locale,
|
|
365
|
-
});
|
|
366
|
-
this.year = parseInt(yearMinusString, 10);
|
|
367
|
-
}
|
|
368
|
-
this.dispatchEvent(new CustomEvent('prev-month'));
|
|
369
|
-
setTimeout(() => {
|
|
370
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
|
|
371
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToLeft');
|
|
372
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToRight');
|
|
373
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
|
|
374
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToLeft');
|
|
375
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToRight');
|
|
376
|
-
setTimeout(() => {
|
|
377
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
|
|
378
|
-
tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToLeft');
|
|
379
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
|
|
380
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToLeft');
|
|
381
|
-
setTimeout(() => {
|
|
382
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
|
|
383
|
-
monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
|
|
384
|
-
}, 100);
|
|
385
|
-
}, 100);
|
|
386
|
-
}, 100);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
setYears(from, to) {
|
|
390
|
-
const yearsList = [];
|
|
391
|
-
for (let index = from; index <= to; index += 1) {
|
|
392
|
-
yearsList.push(index);
|
|
393
|
-
}
|
|
394
|
-
this.yearsList = yearsList;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
RangeDatepickerCalendar.styles = css`
|
|
399
|
-
:host {
|
|
400
|
-
display: block;
|
|
401
|
-
width: 266px;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
:host > div {
|
|
405
|
-
overflow: hidden;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
div.table {
|
|
409
|
-
display: table;
|
|
410
|
-
border-collapse: collapse;
|
|
411
|
-
table-layout: fixed;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
div.th {
|
|
415
|
-
display: table-cell;
|
|
416
|
-
color: var(--range-datepicker-day-names-text, rgb(117, 117, 117));
|
|
417
|
-
font-size: 11px;
|
|
418
|
-
width: 38px;
|
|
419
|
-
padding: 0;
|
|
420
|
-
margin: 0;
|
|
421
|
-
text-align: center;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
div.tr {
|
|
425
|
-
display: table-row;
|
|
426
|
-
height: 38px;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
div.td {
|
|
430
|
-
display: table-cell;
|
|
431
|
-
padding: 0;
|
|
432
|
-
width: 38px;
|
|
433
|
-
margin: 0;
|
|
434
|
-
height: 38px;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.header {
|
|
438
|
-
display: flex;
|
|
439
|
-
flex-direction: row;
|
|
440
|
-
align-items: center;
|
|
441
|
-
width: 266px;
|
|
442
|
-
margin: 10px 0;
|
|
443
|
-
text-align: center;
|
|
444
|
-
color: var(--range-datepicker-month-text);
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.headerTitle {
|
|
448
|
-
display: flex;
|
|
449
|
-
flex: 1;
|
|
450
|
-
flex-direction: row;
|
|
451
|
-
align-items: center;
|
|
452
|
-
justify-content: center;
|
|
453
|
-
font-size: 20px;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.header mwc-icon-button {
|
|
457
|
-
padding: 0;
|
|
458
|
-
--mdc-icon-size: 30px;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.header::first-letter {
|
|
462
|
-
text-transform: uppercase;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.header > div > div {
|
|
466
|
-
margin-right: 8px;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
div.tbody {
|
|
470
|
-
transition: all 0ms;
|
|
471
|
-
transform: translateX(0);
|
|
472
|
-
height: 235px;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
.withTransition {
|
|
476
|
-
transition: all 100ms;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.moveToLeft {
|
|
480
|
-
transform: translateX(-274px);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.moveToRight {
|
|
484
|
-
transform: translateX(274px);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.withTransition td,
|
|
488
|
-
.moveToLeft td,
|
|
489
|
-
.moveToRight td {
|
|
490
|
-
border: none;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.year-container {
|
|
494
|
-
position: relative;
|
|
495
|
-
display: flex;
|
|
496
|
-
align-items: center;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
.year-change {
|
|
500
|
-
max-height: 200px;
|
|
501
|
-
}
|
|
502
|
-
`;
|
|
503
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", void 0);
|
|
504
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", void 0);
|
|
505
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", void 0);
|
|
506
|
-
__decorate([property({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", void 0);
|
|
507
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "month", void 0);
|
|
508
|
-
__decorate([property({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", void 0);
|
|
509
|
-
__decorate([property({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", void 0);
|
|
510
|
-
__decorate([property({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", void 0);
|
|
511
|
-
__decorate([property({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", void 0);
|
|
512
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "year", void 0);
|
|
513
|
-
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", void 0);
|
|
514
|
-
__decorate([property({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
515
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "max", void 0);
|
|
516
|
-
__decorate([property({ type: String })], RangeDatepickerCalendar.prototype, "min", void 0);
|
|
517
|
-
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", void 0);
|
|
518
|
-
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
519
|
-
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
520
|
-
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
521
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|