@universal-material/web 3.0.140 → 3.0.142
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/app-bar/top-app-bar.d.ts +47 -0
- package/app-bar/top-app-bar.d.ts.map +1 -0
- package/app-bar/top-app-bar.js +174 -0
- package/app-bar/top-app-bar.js.map +1 -0
- package/app-bar/top-app-bar.styles.d.ts +2 -0
- package/app-bar/top-app-bar.styles.d.ts.map +1 -0
- package/app-bar/top-app-bar.styles.js +117 -0
- package/app-bar/top-app-bar.styles.js.map +1 -0
- package/button/button-base.d.ts +12 -0
- package/button/button-base.d.ts.map +1 -0
- package/button/button-base.js +46 -0
- package/button/button-base.js.map +1 -0
- package/button/button-base.styles.d.ts +2 -0
- package/button/button-base.styles.d.ts.map +1 -0
- package/button/button-base.styles.js +16 -0
- package/button/button-base.styles.js.map +1 -0
- package/button/button-set.d.ts +15 -0
- package/button/button-set.d.ts.map +1 -0
- package/button/button-set.js +23 -0
- package/button/button-set.js.map +1 -0
- package/button/button-set.styles.d.ts +2 -0
- package/button/button-set.styles.d.ts.map +1 -0
- package/button/button-set.styles.js +20 -0
- package/button/button-set.styles.js.map +1 -0
- package/button/button.d.ts +33 -0
- package/button/button.d.ts.map +1 -0
- package/button/button.js +55 -0
- package/button/button.js.map +1 -0
- package/button/button.styles.d.ts +2 -0
- package/button/button.styles.d.ts.map +1 -0
- package/button/button.styles.js +103 -0
- package/button/button.styles.js.map +1 -0
- package/button/fab.d.ts +31 -0
- package/button/fab.d.ts.map +1 -0
- package/button/fab.js +57 -0
- package/button/fab.js.map +1 -0
- package/button/fab.styles.d.ts +2 -0
- package/button/fab.styles.d.ts.map +1 -0
- package/button/fab.styles.js +89 -0
- package/button/fab.styles.js.map +1 -0
- package/button/icon-button.d.ts +34 -0
- package/button/icon-button.d.ts.map +1 -0
- package/button/icon-button.js +75 -0
- package/button/icon-button.js.map +1 -0
- package/button/icon-button.styles.d.ts +2 -0
- package/button/icon-button.styles.d.ts.map +1 -0
- package/button/icon-button.styles.js +77 -0
- package/button/icon-button.styles.js.map +1 -0
- package/button-field/button-field.d.ts +18 -0
- package/button-field/button-field.d.ts.map +1 -0
- package/button-field/button-field.js +54 -0
- package/button-field/button-field.js.map +1 -0
- package/button-field/button-field.styles.d.ts +2 -0
- package/button-field/button-field.styles.d.ts.map +1 -0
- package/button-field/button-field.styles.js +17 -0
- package/button-field/button-field.styles.js.map +1 -0
- package/calendar/calendar-adapter.d.ts +6 -0
- package/calendar/calendar-adapter.d.ts.map +1 -0
- package/calendar/calendar-adapter.js +2 -0
- package/calendar/calendar-adapter.js.map +1 -0
- package/calendar/calendar-base.d.ts +30 -0
- package/calendar/calendar-base.d.ts.map +1 -0
- package/calendar/calendar-base.js +188 -0
- package/calendar/calendar-base.js.map +1 -0
- package/calendar/calendar-base.styles.d.ts +2 -0
- package/calendar/calendar-base.styles.d.ts.map +1 -0
- package/calendar/calendar-base.styles.js +81 -0
- package/calendar/calendar-base.styles.js.map +1 -0
- package/calendar/calendar.d.ts +11 -0
- package/calendar/calendar.d.ts.map +1 -0
- package/calendar/calendar.js +43 -0
- package/calendar/calendar.js.map +1 -0
- package/calendar/calendar.styles.d.ts +2 -0
- package/calendar/calendar.styles.d.ts.map +1 -0
- package/calendar/calendar.styles.js +5 -0
- package/calendar/calendar.styles.js.map +1 -0
- package/calendar/default-calendar-adapter.d.ts +10 -0
- package/calendar/default-calendar-adapter.d.ts.map +1 -0
- package/calendar/default-calendar-adapter.js +32 -0
- package/calendar/default-calendar-adapter.js.map +1 -0
- package/calendar/range-calendar.d.ts +16 -0
- package/calendar/range-calendar.d.ts.map +1 -0
- package/calendar/range-calendar.js +113 -0
- package/calendar/range-calendar.js.map +1 -0
- package/calendar/range-calendar.styles.d.ts +2 -0
- package/calendar/range-calendar.styles.d.ts.map +1 -0
- package/calendar/range-calendar.styles.js +41 -0
- package/calendar/range-calendar.styles.js.map +1 -0
- package/card/card-content.d.ts +13 -0
- package/card/card-content.d.ts.map +1 -0
- package/card/card-content.js +39 -0
- package/card/card-content.js.map +1 -0
- package/card/card-content.styles.d.ts +2 -0
- package/card/card-content.styles.d.ts.map +1 -0
- package/card/card-content.styles.js +19 -0
- package/card/card-content.styles.js.map +1 -0
- package/card/card-media.d.ts +12 -0
- package/card/card-media.d.ts.map +1 -0
- package/card/card-media.js +24 -0
- package/card/card-media.js.map +1 -0
- package/card/card-media.styles.d.ts +2 -0
- package/card/card-media.styles.d.ts.map +1 -0
- package/card/card-media.styles.js +13 -0
- package/card/card-media.styles.js.map +1 -0
- package/card/card.d.ts +19 -0
- package/card/card.d.ts.map +1 -0
- package/card/card.js +36 -0
- package/card/card.js.map +1 -0
- package/card/card.styles.d.ts +2 -0
- package/card/card.styles.d.ts.map +1 -0
- package/card/card.styles.js +31 -0
- package/card/card.styles.js.map +1 -0
- package/checkbox/checkbox-list-item.d.ts +11 -0
- package/checkbox/checkbox-list-item.d.ts.map +1 -0
- package/checkbox/checkbox-list-item.js +11 -0
- package/checkbox/checkbox-list-item.js.map +1 -0
- package/checkbox/checkbox.d.ts +21 -0
- package/checkbox/checkbox.d.ts.map +1 -0
- package/checkbox/checkbox.js +53 -0
- package/checkbox/checkbox.js.map +1 -0
- package/checkbox/checkbox.styles.d.ts +2 -0
- package/checkbox/checkbox.styles.d.ts.map +1 -0
- package/checkbox/checkbox.styles.js +62 -0
- package/checkbox/checkbox.styles.js.map +1 -0
- package/chip/chip-set.d.ts +10 -0
- package/chip/chip-set.d.ts.map +1 -0
- package/chip/chip-set.js +12 -0
- package/chip/chip-set.js.map +1 -0
- package/chip/chip-set.styles.d.ts +2 -0
- package/chip/chip-set.styles.d.ts.map +1 -0
- package/chip/chip-set.styles.js +7 -0
- package/chip/chip-set.styles.js.map +1 -0
- package/chip/chip.d.ts +64 -0
- package/chip/chip.d.ts.map +1 -0
- package/chip/chip.js +187 -0
- package/chip/chip.js.map +1 -0
- package/chip/chip.styles.d.ts +2 -0
- package/chip/chip.styles.d.ts.map +1 -0
- package/chip/chip.styles.js +168 -0
- package/chip/chip.styles.js.map +1 -0
- package/chip-field/chip-field.d.ts +42 -0
- package/chip-field/chip-field.d.ts.map +1 -0
- package/chip-field/chip-field.js +145 -0
- package/chip-field/chip-field.js.map +1 -0
- package/chip-field/chip-field.styles.d.ts +2 -0
- package/chip-field/chip-field.styles.d.ts.map +1 -0
- package/chip-field/chip-field.styles.js +22 -0
- package/chip-field/chip-field.styles.js.map +1 -0
- package/config.d.ts +16 -0
- package/config.d.ts.map +1 -0
- package/config.js +25 -0
- package/config.js.map +1 -0
- package/custom-elements.json +21401 -0
- package/datepicker/datepicker.d.ts +1 -0
- package/datepicker/datepicker.d.ts.map +1 -0
- package/datepicker/datepicker.js +2 -0
- package/datepicker/datepicker.js.map +1 -0
- package/datepicker/datepicker.styles.d.ts +2 -0
- package/datepicker/datepicker.styles.d.ts.map +1 -0
- package/datepicker/datepicker.styles.js +5 -0
- package/datepicker/datepicker.styles.js.map +1 -0
- package/dialog/confirm-dialog-builder.d.ts +12 -0
- package/dialog/confirm-dialog-builder.d.ts.map +1 -0
- package/dialog/confirm-dialog-builder.js +26 -0
- package/dialog/confirm-dialog-builder.js.map +1 -0
- package/dialog/dialog-builder.d.ts +15 -0
- package/dialog/dialog-builder.d.ts.map +1 -0
- package/dialog/dialog-builder.js +42 -0
- package/dialog/dialog-builder.js.map +1 -0
- package/dialog/dialog-button-def.d.ts +6 -0
- package/dialog/dialog-button-def.d.ts.map +1 -0
- package/dialog/dialog-button-def.js +2 -0
- package/dialog/dialog-button-def.js.map +1 -0
- package/dialog/dialog.d.ts +44 -0
- package/dialog/dialog.d.ts.map +1 -0
- package/dialog/dialog.js +216 -0
- package/dialog/dialog.js.map +1 -0
- package/dialog/dialog.styles.d.ts +2 -0
- package/dialog/dialog.styles.d.ts.map +1 -0
- package/dialog/dialog.styles.js +165 -0
- package/dialog/dialog.styles.js.map +1 -0
- package/dialog/message-dialog-builder.d.ts +10 -0
- package/dialog/message-dialog-builder.d.ts.map +1 -0
- package/dialog/message-dialog-builder.js +16 -0
- package/dialog/message-dialog-builder.js.map +1 -0
- package/elevation/elevation.d.ts +11 -0
- package/elevation/elevation.d.ts.map +1 -0
- package/elevation/elevation.js +16 -0
- package/elevation/elevation.js.map +1 -0
- package/elevation/elevation.styles.d.ts +2 -0
- package/elevation/elevation.styles.d.ts.map +1 -0
- package/elevation/elevation.styles.js +28 -0
- package/elevation/elevation.styles.js.map +1 -0
- package/field/field-base.d.ts +68 -0
- package/field/field-base.d.ts.map +1 -0
- package/field/field-base.js +174 -0
- package/field/field-base.js.map +1 -0
- package/field/field-base.styles.d.ts +2 -0
- package/field/field-base.styles.d.ts.map +1 -0
- package/field/field-base.styles.js +372 -0
- package/field/field-base.styles.js.map +1 -0
- package/field/field-defaults-context.d.ts +5 -0
- package/field/field-defaults-context.d.ts.map +1 -0
- package/field/field-defaults-context.js +3 -0
- package/field/field-defaults-context.js.map +1 -0
- package/field/field-defaults.d.ts +5 -0
- package/field/field-defaults.d.ts.map +1 -0
- package/field/field-defaults.js +2 -0
- package/field/field-defaults.js.map +1 -0
- package/field/field-variant.d.ts +2 -0
- package/field/field-variant.d.ts.map +1 -0
- package/field/field-variant.js +2 -0
- package/field/field-variant.js.map +1 -0
- package/field/field.d.ts +15 -0
- package/field/field.d.ts.map +1 -0
- package/field/field.js +44 -0
- package/field/field.js.map +1 -0
- package/index.d.ts +80 -0
- package/index.d.ts.map +1 -0
- package/index.js +80 -0
- package/index.js.map +1 -0
- package/list/list-item.d.ts +13 -0
- package/list/list-item.d.ts.map +1 -0
- package/list/list-item.js +38 -0
- package/list/list-item.js.map +1 -0
- package/list/list-item.styles.d.ts +2 -0
- package/list/list-item.styles.d.ts.map +1 -0
- package/list/list-item.styles.js +48 -0
- package/list/list-item.styles.js.map +1 -0
- package/list/list.d.ts +11 -0
- package/list/list.d.ts.map +1 -0
- package/list/list.js +15 -0
- package/list/list.js.map +1 -0
- package/list/list.styles.d.ts +2 -0
- package/list/list.styles.d.ts.map +1 -0
- package/list/list.styles.js +8 -0
- package/list/list.styles.js.map +1 -0
- package/menu/menu-item.d.ts +40 -0
- package/menu/menu-item.d.ts.map +1 -0
- package/menu/menu-item.js +98 -0
- package/menu/menu-item.js.map +1 -0
- package/menu/menu-item.styles.d.ts +2 -0
- package/menu/menu-item.styles.d.ts.map +1 -0
- package/menu/menu-item.styles.js +54 -0
- package/menu/menu-item.styles.js.map +1 -0
- package/menu/menu.d.ts +48 -0
- package/menu/menu.d.ts.map +1 -0
- package/menu/menu.js +328 -0
- package/menu/menu.js.map +1 -0
- package/menu/menu.styles.d.ts +2 -0
- package/menu/menu.styles.d.ts.map +1 -0
- package/menu/menu.styles.js +69 -0
- package/menu/menu.styles.js.map +1 -0
- package/navigation/drawer-item.d.ts +40 -0
- package/navigation/drawer-item.d.ts.map +1 -0
- package/navigation/drawer-item.js +94 -0
- package/navigation/drawer-item.js.map +1 -0
- package/navigation/drawer-item.styles.d.ts +2 -0
- package/navigation/drawer-item.styles.d.ts.map +1 -0
- package/navigation/drawer-item.styles.js +52 -0
- package/navigation/drawer-item.styles.js.map +1 -0
- package/navigation/drawer.d.ts +11 -0
- package/navigation/drawer.d.ts.map +1 -0
- package/navigation/drawer.js +23 -0
- package/navigation/drawer.js.map +1 -0
- package/navigation/drawer.styles.d.ts +2 -0
- package/navigation/drawer.styles.d.ts.map +1 -0
- package/navigation/drawer.styles.js +22 -0
- package/navigation/drawer.styles.js.map +1 -0
- package/navigation/side-navigation-swiper.styles.d.ts +2 -0
- package/navigation/side-navigation-swiper.styles.d.ts.map +1 -0
- package/navigation/side-navigation-swiper.styles.js +131 -0
- package/navigation/side-navigation-swiper.styles.js.map +1 -0
- package/navigation/side-navigation.d.ts +33 -0
- package/navigation/side-navigation.d.ts.map +1 -0
- package/navigation/side-navigation.js +138 -0
- package/navigation/side-navigation.js.map +1 -0
- package/navigation/side-navigation.styles.d.ts +2 -0
- package/navigation/side-navigation.styles.d.ts.map +1 -0
- package/navigation/side-navigation.styles.js +124 -0
- package/navigation/side-navigation.styles.js.map +1 -0
- package/package.json +2 -4
- package/progress/circular-progress.d.ts +14 -0
- package/progress/circular-progress.d.ts.map +1 -0
- package/progress/circular-progress.js +80 -0
- package/progress/circular-progress.js.map +1 -0
- package/progress/circular-progress.styles.d.ts +2 -0
- package/progress/circular-progress.styles.d.ts.map +1 -0
- package/progress/circular-progress.styles.js +75 -0
- package/progress/circular-progress.styles.js.map +1 -0
- package/progress/progress-bar.d.ts +14 -0
- package/progress/progress-bar.d.ts.map +1 -0
- package/progress/progress-bar.js +49 -0
- package/progress/progress-bar.js.map +1 -0
- package/progress/progress-bar.styles.d.ts +2 -0
- package/progress/progress-bar.styles.d.ts.map +1 -0
- package/progress/progress-bar.styles.js +152 -0
- package/progress/progress-bar.styles.js.map +1 -0
- package/radio/radio-list-item.d.ts +11 -0
- package/radio/radio-list-item.d.ts.map +1 -0
- package/radio/radio-list-item.js +11 -0
- package/radio/radio-list-item.js.map +1 -0
- package/radio/radio.d.ts +24 -0
- package/radio/radio.d.ts.map +1 -0
- package/radio/radio.js +125 -0
- package/radio/radio.js.map +1 -0
- package/radio/radio.styles.d.ts +2 -0
- package/radio/radio.styles.d.ts.map +1 -0
- package/radio/radio.styles.js +33 -0
- package/radio/radio.styles.js.map +1 -0
- package/ripple/ripple.d.ts +28 -0
- package/ripple/ripple.d.ts.map +1 -0
- package/ripple/ripple.js +120 -0
- package/ripple/ripple.js.map +1 -0
- package/ripple/ripple.styles.d.ts +2 -0
- package/ripple/ripple.styles.d.ts.map +1 -0
- package/ripple/ripple.styles.js +74 -0
- package/ripple/ripple.styles.js.map +1 -0
- package/select/extended-option.d.ts +5 -0
- package/select/extended-option.d.ts.map +1 -0
- package/select/extended-option.js +2 -0
- package/select/extended-option.js.map +1 -0
- package/select/extended-select.d.ts +6 -0
- package/select/extended-select.d.ts.map +1 -0
- package/select/extended-select.js +2 -0
- package/select/extended-select.js.map +1 -0
- package/select/option.d.ts +27 -0
- package/select/option.d.ts.map +1 -0
- package/select/option.js +132 -0
- package/select/option.js.map +1 -0
- package/select/option.styles.d.ts +2 -0
- package/select/option.styles.d.ts.map +1 -0
- package/select/option.styles.js +15 -0
- package/select/option.styles.js.map +1 -0
- package/select/select-navigation-controller.d.ts +14 -0
- package/select/select-navigation-controller.d.ts.map +1 -0
- package/select/select-navigation-controller.js +82 -0
- package/select/select-navigation-controller.js.map +1 -0
- package/select/select.d.ts +47 -0
- package/select/select.d.ts.map +1 -0
- package/select/select.js +268 -0
- package/select/select.js.map +1 -0
- package/select/select.styles.d.ts +2 -0
- package/select/select.styles.d.ts.map +1 -0
- package/select/select.styles.js +39 -0
- package/select/select.styles.js.map +1 -0
- package/shared/base.styles.d.ts +2 -0
- package/shared/base.styles.d.ts.map +1 -0
- package/shared/base.styles.js +31 -0
- package/shared/base.styles.js.map +1 -0
- package/shared/button-wrapper.d.ts +39 -0
- package/shared/button-wrapper.d.ts.map +1 -0
- package/shared/button-wrapper.js +123 -0
- package/shared/button-wrapper.js.map +1 -0
- package/shared/button-wrapper.styles.d.ts +2 -0
- package/shared/button-wrapper.styles.d.ts.map +1 -0
- package/shared/button-wrapper.styles.js +63 -0
- package/shared/button-wrapper.styles.js.map +1 -0
- package/shared/char-count-text-field/native-text-field-wrapper.d.ts +15 -0
- package/shared/char-count-text-field/native-text-field-wrapper.d.ts.map +1 -0
- package/shared/char-count-text-field/native-text-field-wrapper.js +54 -0
- package/shared/char-count-text-field/native-text-field-wrapper.js.map +1 -0
- package/shared/compare-text.d.ts +2 -0
- package/shared/compare-text.d.ts.map +1 -0
- package/shared/compare-text.js +5 -0
- package/shared/compare-text.js.map +1 -0
- package/shared/events/dispatch-event.d.ts +1 -0
- package/shared/events/dispatch-event.d.ts.map +1 -0
- package/shared/events/dispatch-event.js +2 -0
- package/shared/events/dispatch-event.js.map +1 -0
- package/shared/events/redispatch-event.d.ts +2 -0
- package/shared/events/redispatch-event.d.ts.map +1 -0
- package/shared/events/redispatch-event.js +14 -0
- package/shared/events/redispatch-event.js.map +1 -0
- package/shared/extract-template-html.d.ts +2 -0
- package/shared/extract-template-html.d.ts.map +1 -0
- package/shared/extract-template-html.js +8 -0
- package/shared/extract-template-html.js.map +1 -0
- package/shared/menu-field/menu-field-navigation-controller.d.ts +20 -0
- package/shared/menu-field/menu-field-navigation-controller.d.ts.map +1 -0
- package/shared/menu-field/menu-field-navigation-controller.js +108 -0
- package/shared/menu-field/menu-field-navigation-controller.js.map +1 -0
- package/shared/menu-field/menu-field.d.ts +7 -0
- package/shared/menu-field/menu-field.d.ts.map +1 -0
- package/shared/menu-field/menu-field.js +2 -0
- package/shared/menu-field/menu-field.js.map +1 -0
- package/shared/mixin-attribute-properties.d.ts +4 -0
- package/shared/mixin-attribute-properties.d.ts.map +1 -0
- package/shared/mixin-attribute-properties.js +27 -0
- package/shared/mixin-attribute-properties.js.map +1 -0
- package/shared/mixin.d.ts +3 -0
- package/shared/mixin.d.ts.map +1 -0
- package/shared/mixin.js +2 -0
- package/shared/mixin.js.map +1 -0
- package/shared/normalize-text.d.ts +2 -0
- package/shared/normalize-text.d.ts.map +1 -0
- package/shared/normalize-text.js +9 -0
- package/shared/normalize-text.js.map +1 -0
- package/shared/selection-control/checkbox-base.d.ts +1 -0
- package/shared/selection-control/checkbox-base.d.ts.map +1 -0
- package/shared/selection-control/checkbox-base.js +7 -0
- package/shared/selection-control/checkbox-base.js.map +1 -0
- package/shared/selection-control/selection-control-list-item.d.ts +4 -0
- package/shared/selection-control/selection-control-list-item.d.ts.map +1 -0
- package/shared/selection-control/selection-control-list-item.js +44 -0
- package/shared/selection-control/selection-control-list-item.js.map +1 -0
- package/shared/selection-control/selection-control.d.ts +36 -0
- package/shared/selection-control/selection-control.d.ts.map +1 -0
- package/shared/selection-control/selection-control.js +155 -0
- package/shared/selection-control/selection-control.js.map +1 -0
- package/shared/selection-control/selection-control.styles.d.ts +2 -0
- package/shared/selection-control/selection-control.styles.d.ts.map +1 -0
- package/shared/selection-control/selection-control.styles.js +67 -0
- package/shared/selection-control/selection-control.styles.js.map +1 -0
- package/shared/sets/set-base.d.ts +11 -0
- package/shared/sets/set-base.d.ts.map +1 -0
- package/shared/sets/set-base.js +22 -0
- package/shared/sets/set-base.js.map +1 -0
- package/shared/sets/set-base.styles.d.ts +2 -0
- package/shared/sets/set-base.styles.d.ts.map +1 -0
- package/shared/sets/set-base.styles.js +22 -0
- package/shared/sets/set-base.styles.js.map +1 -0
- package/shared/text-field-base/text-field-base.d.ts +16 -0
- package/shared/text-field-base/text-field-base.d.ts.map +1 -0
- package/shared/text-field-base/text-field-base.js +29 -0
- package/shared/text-field-base/text-field-base.js.map +1 -0
- package/shared/text-field-base/text-field-base.styles.d.ts +2 -0
- package/shared/text-field-base/text-field-base.styles.d.ts.map +1 -0
- package/shared/text-field-base/text-field-base.styles.js +11 -0
- package/shared/text-field-base/text-field-base.styles.js.map +1 -0
- package/snackbar/snackbar.d.ts +40 -0
- package/snackbar/snackbar.d.ts.map +1 -0
- package/snackbar/snackbar.js +133 -0
- package/snackbar/snackbar.js.map +1 -0
- package/snackbar/snackbar.styles.d.ts +2 -0
- package/snackbar/snackbar.styles.d.ts.map +1 -0
- package/snackbar/snackbar.styles.js +81 -0
- package/snackbar/snackbar.styles.js.map +1 -0
- package/switch/switch-list-item.d.ts +11 -0
- package/switch/switch-list-item.d.ts.map +1 -0
- package/switch/switch-list-item.js +11 -0
- package/switch/switch-list-item.js.map +1 -0
- package/switch/switch.d.ts +14 -0
- package/switch/switch.d.ts.map +1 -0
- package/switch/switch.js +26 -0
- package/switch/switch.js.map +1 -0
- package/switch/switch.styles.d.ts +2 -0
- package/switch/switch.styles.d.ts.map +1 -0
- package/switch/switch.styles.js +78 -0
- package/switch/switch.styles.js.map +1 -0
- package/tab-bar/tab-bar.d.ts +28 -0
- package/tab-bar/tab-bar.d.ts.map +1 -0
- package/tab-bar/tab-bar.js +200 -0
- package/tab-bar/tab-bar.js.map +1 -0
- package/tab-bar/tab-bar.styles.d.ts +2 -0
- package/tab-bar/tab-bar.styles.d.ts.map +1 -0
- package/tab-bar/tab-bar.styles.js +72 -0
- package/tab-bar/tab-bar.styles.js.map +1 -0
- package/tab-bar/tab.d.ts +22 -0
- package/tab-bar/tab.d.ts.map +1 -0
- package/tab-bar/tab.js +91 -0
- package/tab-bar/tab.js.map +1 -0
- package/tab-bar/tab.styles.d.ts +2 -0
- package/tab-bar/tab.styles.d.ts.map +1 -0
- package/tab-bar/tab.styles.js +56 -0
- package/tab-bar/tab.styles.js.map +1 -0
- package/text-area/text-area.d.ts +15 -0
- package/text-area/text-area.d.ts.map +1 -0
- package/text-area/text-area.js +46 -0
- package/text-area/text-area.js.map +1 -0
- package/text-area/text-area.styles.d.ts +2 -0
- package/text-area/text-area.styles.d.ts.map +1 -0
- package/text-area/text-area.styles.js +39 -0
- package/text-area/text-area.styles.js.map +1 -0
- package/text-field/text-field.d.ts +19 -0
- package/text-field/text-field.d.ts.map +1 -0
- package/text-field/text-field.js +66 -0
- package/text-field/text-field.js.map +1 -0
- package/text-field/text-field.styles.d.ts +2 -0
- package/text-field/text-field.styles.d.ts.map +1 -0
- package/text-field/text-field.styles.js +41 -0
- package/text-field/text-field.styles.js.map +1 -0
- package/theme/color.d.ts +7 -0
- package/theme/color.d.ts.map +1 -0
- package/theme/color.js +2 -0
- package/theme/color.js.map +1 -0
- package/theme/css-var-builder.d.ts +10 -0
- package/theme/css-var-builder.d.ts.map +1 -0
- package/theme/css-var-builder.js +27 -0
- package/theme/css-var-builder.js.map +1 -0
- package/theme/index.d.ts +2 -0
- package/theme/index.d.ts.map +1 -0
- package/theme/index.js +2 -0
- package/theme/index.js.map +1 -0
- package/theme/neutral-colors.d.ts +4 -0
- package/theme/neutral-colors.d.ts.map +1 -0
- package/theme/neutral-colors.js +24 -0
- package/theme/neutral-colors.js.map +1 -0
- package/theme/theme-builder.d.ts +26 -0
- package/theme/theme-builder.d.ts.map +1 -0
- package/theme/theme-builder.js +146 -0
- package/theme/theme-builder.js.map +1 -0
- package/theme/theme-color.d.ts +6 -0
- package/theme/theme-color.d.ts.map +1 -0
- package/theme/theme-color.js +2 -0
- package/theme/theme-color.js.map +1 -0
- package/typeahead/highlight.d.ts +24 -0
- package/typeahead/highlight.d.ts.map +1 -0
- package/typeahead/highlight.js +69 -0
- package/typeahead/highlight.js.map +1 -0
- package/typeahead/highlight.styles.d.ts +2 -0
- package/typeahead/highlight.styles.d.ts.map +1 -0
- package/typeahead/highlight.styles.js +7 -0
- package/typeahead/highlight.styles.js.map +1 -0
- package/typeahead/typeahead.d.ts +94 -0
- package/typeahead/typeahead.d.ts.map +1 -0
- package/typeahead/typeahead.js +362 -0
- package/typeahead/typeahead.js.map +1 -0
- package/typeahead/typeahead.styles.d.ts +2 -0
- package/typeahead/typeahead.styles.d.ts.map +1 -0
- package/typeahead/typeahead.styles.js +11 -0
- package/typeahead/typeahead.styles.js.map +1 -0
- package/.editorconfig +0 -8
- package/.eleventy.cjs +0 -21
- package/.vscode/extensions.json +0 -9
- package/CHANGELOG.md +0 -98
- package/LICENSE +0 -28
- package/add-custom-elements-schemas.cjs +0 -75
- package/change-compiler-to-add-custom-elements.js +0 -26
- package/change-schematics-to-generate-pug.js +0 -32
- package/docs/angular.json +0 -110
- package/docs/src/app/app.component.pug +0 -199
- package/docs/src/app/app.component.scss +0 -109
- package/docs/src/app/app.component.ts +0 -158
- package/docs/src/app/app.config.ts +0 -26
- package/docs/src/app/app.routes.ts +0 -140
- package/docs/src/app/components/button-set/button-set.component.pug +0 -13
- package/docs/src/app/components/button-set/button-set.component.scss +0 -0
- package/docs/src/app/components/button-set/button-set.component.ts +0 -29
- package/docs/src/app/components/button-set/examples/alignment.html +0 -29
- package/docs/src/app/components/button-set/examples/stack.html +0 -5
- package/docs/src/app/components/button-set/examples/usage.html +0 -35
- package/docs/src/app/components/cards/cards.component.pug +0 -15
- package/docs/src/app/components/cards/cards.component.scss +0 -0
- package/docs/src/app/components/cards/cards.component.ts +0 -29
- package/docs/src/app/components/cards/examples/card-media.html +0 -39
- package/docs/src/app/components/cards/examples/card-with-actions.html +0 -40
- package/docs/src/app/components/cards/examples/simple-card.html +0 -5
- package/docs/src/app/components/checkbox/checkbox.component.pug +0 -5
- package/docs/src/app/components/checkbox/checkbox.component.scss +0 -0
- package/docs/src/app/components/checkbox/checkbox.component.ts +0 -23
- package/docs/src/app/components/checkbox/examples/usage.html +0 -33
- package/docs/src/app/components/chip-field/chip-field.component.pug +0 -17
- package/docs/src/app/components/chip-field/chip-field.component.scss +0 -0
- package/docs/src/app/components/chip-field/chip-field.component.ts +0 -42
- package/docs/src/app/components/chip-field/examples/object-values.html +0 -15
- package/docs/src/app/components/chip-field/examples/simple.html +0 -1
- package/docs/src/app/components/chips/chips.component.pug +0 -69
- package/docs/src/app/components/chips/chips.component.scss +0 -0
- package/docs/src/app/components/chips/chips.component.ts +0 -131
- package/docs/src/app/components/common-buttons/common-buttons.component.pug +0 -23
- package/docs/src/app/components/common-buttons/common-buttons.component.scss +0 -0
- package/docs/src/app/components/common-buttons/common-buttons.component.ts +0 -35
- package/docs/src/app/components/common-buttons/examples/anchor-buttons.html +0 -6
- package/docs/src/app/components/common-buttons/examples/buttons-icons.html +0 -24
- package/docs/src/app/components/common-buttons/examples/buttons-trailing-icons.html +0 -25
- package/docs/src/app/components/common-buttons/examples/buttons-variants.html +0 -6
- package/docs/src/app/components/common-buttons/examples/filled-colors.html +0 -4
- package/docs/src/app/components/context-test/context-test.component.pug +0 -11
- package/docs/src/app/components/context-test/context-test.component.scss +0 -0
- package/docs/src/app/components/context-test/context-test.component.ts +0 -23
- package/docs/src/app/components/datepicker/datepicker.component.pug +0 -1
- package/docs/src/app/components/datepicker/datepicker.component.scss +0 -0
- package/docs/src/app/components/datepicker/datepicker.component.ts +0 -20
- package/docs/src/app/components/dialogs/dialogs.component.pug +0 -24
- package/docs/src/app/components/dialogs/dialogs.component.scss +0 -0
- package/docs/src/app/components/dialogs/dialogs.component.ts +0 -33
- package/docs/src/app/components/dialogs/examples/example.html +0 -3
- package/docs/src/app/components/expansion-panel/expansion-panel.component.pug +0 -1
- package/docs/src/app/components/expansion-panel/expansion-panel.component.scss +0 -0
- package/docs/src/app/components/expansion-panel/expansion-panel.component.ts +0 -20
- package/docs/src/app/components/fab/examples/button-colors.html +0 -18
- package/docs/src/app/components/fab/examples/button-sizes.html +0 -11
- package/docs/src/app/components/fab/examples/extended-buttons.html +0 -18
- package/docs/src/app/components/fab/examples/floating-action-area.html +0 -5
- package/docs/src/app/components/fab/examples/floating-menu.html +0 -10
- package/docs/src/app/components/fab/examples/lowered-buttons.html +0 -6
- package/docs/src/app/components/fab/fab.component.pug +0 -27
- package/docs/src/app/components/fab/fab.component.scss +0 -0
- package/docs/src/app/components/fab/fab.component.ts +0 -38
- package/docs/src/app/components/icon-buttons/examples/anchor-buttons.html +0 -15
- package/docs/src/app/components/icon-buttons/examples/buttons-variants.html +0 -15
- package/docs/src/app/components/icon-buttons/examples/toggle-buttons-manual.html +0 -4
- package/docs/src/app/components/icon-buttons/examples/toggle-buttons.html +0 -48
- package/docs/src/app/components/icon-buttons/icon-buttons.component.pug +0 -19
- package/docs/src/app/components/icon-buttons/icon-buttons.component.scss +0 -0
- package/docs/src/app/components/icon-buttons/icon-buttons.component.ts +0 -32
- package/docs/src/app/components/lists/examples/list-avatars.html +0 -14
- package/docs/src/app/components/lists/examples/list-custom-dividers.html +0 -23
- package/docs/src/app/components/lists/examples/list-dividers.html +0 -17
- package/docs/src/app/components/lists/examples/list-dynamic.html +0 -26
- package/docs/src/app/components/lists/examples/list-hover.html +0 -17
- package/docs/src/app/components/lists/examples/list-icons.html +0 -17
- package/docs/src/app/components/lists/examples/list-indexed.html +0 -123
- package/docs/src/app/components/lists/examples/list-sections.html +0 -16
- package/docs/src/app/components/lists/examples/list-three-lines.html +0 -20
- package/docs/src/app/components/lists/examples/list-two-lines.html +0 -20
- package/docs/src/app/components/lists/examples/list-with-action.html +0 -26
- package/docs/src/app/components/lists/examples/list-with-activated-item.html +0 -17
- package/docs/src/app/components/lists/examples/simple-list.html +0 -17
- package/docs/src/app/components/lists/lists.component.pug +0 -19
- package/docs/src/app/components/lists/lists.component.scss +0 -0
- package/docs/src/app/components/lists/lists.component.ts +0 -20
- package/docs/src/app/components/menus/examples/down-end.html +0 -15
- package/docs/src/app/components/menus/examples/down-left.html +0 -10
- package/docs/src/app/components/menus/examples/down-right.html +0 -10
- package/docs/src/app/components/menus/examples/down-start.html +0 -10
- package/docs/src/app/components/menus/examples/down.html +0 -10
- package/docs/src/app/components/menus/examples/up-end.html +0 -10
- package/docs/src/app/components/menus/examples/up-left.html +0 -10
- package/docs/src/app/components/menus/examples/up-right.html +0 -10
- package/docs/src/app/components/menus/examples/up-start.html +0 -10
- package/docs/src/app/components/menus/examples/up.html +0 -10
- package/docs/src/app/components/menus/menus.component.pug +0 -43
- package/docs/src/app/components/menus/menus.component.scss +0 -15
- package/docs/src/app/components/menus/menus.component.ts +0 -60
- package/docs/src/app/components/navigation-item.model.ts +0 -4
- package/docs/src/app/components/progress/examples/circular-progress.html +0 -13
- package/docs/src/app/components/progress/examples/determinate-progress.html +0 -3
- package/docs/src/app/components/progress/examples/indeterminate-progress.html +0 -3
- package/docs/src/app/components/progress/examples/progress-color.html +0 -3
- package/docs/src/app/components/progress/progress.component.pug +0 -34
- package/docs/src/app/components/progress/progress.component.scss +0 -0
- package/docs/src/app/components/progress/progress.component.ts +0 -34
- package/docs/src/app/components/ripple/examples/usage.html +0 -9
- package/docs/src/app/components/ripple/ripple.component.pug +0 -7
- package/docs/src/app/components/ripple/ripple.component.scss +0 -0
- package/docs/src/app/components/ripple/ripple.component.ts +0 -23
- package/docs/src/app/components/select/select.component.pug +0 -175
- package/docs/src/app/components/select/select.component.scss +0 -3
- package/docs/src/app/components/select/select.component.ts +0 -35
- package/docs/src/app/components/selection-controls/examples/checkbox.html +0 -22
- package/docs/src/app/components/selection-controls/examples/radio-button.html +0 -36
- package/docs/src/app/components/selection-controls/examples/switch.html +0 -12
- package/docs/src/app/components/selection-controls/selection-controls.component.pug +0 -13
- package/docs/src/app/components/selection-controls/selection-controls.component.scss +0 -0
- package/docs/src/app/components/selection-controls/selection-controls.component.ts +0 -29
- package/docs/src/app/components/sliders/examples/example.html +0 -42
- package/docs/src/app/components/sliders/sliders.component.pug +0 -5
- package/docs/src/app/components/sliders/sliders.component.scss +0 -0
- package/docs/src/app/components/sliders/sliders.component.ts +0 -23
- package/docs/src/app/components/snackbars/examples/example.html +0 -35
- package/docs/src/app/components/snackbars/snackbars.component.pug +0 -5
- package/docs/src/app/components/snackbars/snackbars.component.scss +0 -0
- package/docs/src/app/components/snackbars/snackbars.component.ts +0 -23
- package/docs/src/app/components/steppers/steppers.component.pug +0 -1
- package/docs/src/app/components/steppers/steppers.component.scss +0 -0
- package/docs/src/app/components/steppers/steppers.component.ts +0 -20
- package/docs/src/app/components/tables/examples/overview.html +0 -49
- package/docs/src/app/components/tables/examples/table-hover.html +0 -67
- package/docs/src/app/components/tables/tables.component.pug +0 -74
- package/docs/src/app/components/tables/tables.component.scss +0 -0
- package/docs/src/app/components/tables/tables.component.ts +0 -29
- package/docs/src/app/components/tabs/examples/example.html +0 -45
- package/docs/src/app/components/tabs/tabs.component.pug +0 -14
- package/docs/src/app/components/tabs/tabs.component.scss +0 -0
- package/docs/src/app/components/tabs/tabs.component.ts +0 -32
- package/docs/src/app/components/text-fields/text-fields.component.pug +0 -122
- package/docs/src/app/components/text-fields/text-fields.component.scss +0 -3
- package/docs/src/app/components/text-fields/text-fields.component.ts +0 -130
- package/docs/src/app/components/toolbars/examples/simple-toolbar.html +0 -33
- package/docs/src/app/components/toolbars/toolbars.component.pug +0 -5
- package/docs/src/app/components/toolbars/toolbars.component.scss +0 -0
- package/docs/src/app/components/toolbars/toolbars.component.ts +0 -23
- package/docs/src/app/components/typeahead/examples/handling-selection.html +0 -27
- package/docs/src/app/components/typeahead/examples/object-results.html +0 -9
- package/docs/src/app/components/typeahead/examples/simple.html +0 -8
- package/docs/src/app/components/typeahead/typeahead.component.pug +0 -43
- package/docs/src/app/components/typeahead/typeahead.component.scss +0 -0
- package/docs/src/app/components/typeahead/typeahead.component.ts +0 -52
- package/docs/src/app/content/typography/examples/typos.html +0 -17
- package/docs/src/app/content/typography/typography.component.pug +0 -4
- package/docs/src/app/content/typography/typography.component.scss +0 -0
- package/docs/src/app/content/typography/typography.component.ts +0 -21
- package/docs/src/app/docs/apis-table/apis-table.component.pug +0 -26
- package/docs/src/app/docs/apis-table/apis-table.component.scss +0 -9
- package/docs/src/app/docs/apis-table/apis-table.component.ts +0 -26
- package/docs/src/app/docs/example/example.component.pug +0 -17
- package/docs/src/app/docs/example/example.component.scss +0 -21
- package/docs/src/app/docs/example/example.component.ts +0 -39
- package/docs/src/app/docs/link-active.directive.ts +0 -38
- package/docs/src/app/docs/shared/title-to-hash.ts +0 -7
- package/docs/src/app/docs/submenu/submenu.component.pug +0 -7
- package/docs/src/app/docs/submenu/submenu.component.scss +0 -9
- package/docs/src/app/docs/submenu/submenu.component.ts +0 -21
- package/docs/src/app/docs/title/title.component.pug +0 -5
- package/docs/src/app/docs/title/title.component.scss +0 -3
- package/docs/src/app/docs/title/title.component.ts +0 -19
- package/docs/src/app/dummy/dummy.component.pug +0 -1
- package/docs/src/app/dummy/dummy.component.scss +0 -0
- package/docs/src/app/dummy/dummy.component.ts +0 -14
- package/docs/src/app/introduction/introduction.component.pug +0 -26
- package/docs/src/app/introduction/introduction.component.scss +0 -7
- package/docs/src/app/introduction/introduction.component.ts +0 -58
- package/docs/src/app/layout/container/container.component.pug +0 -77
- package/docs/src/app/layout/container/container.component.scss +0 -0
- package/docs/src/app/layout/container/container.component.ts +0 -32
- package/docs/src/app/layout/container/examples/default-container.html +0 -3
- package/docs/src/app/layout/container/examples/fluid-container.html +0 -3
- package/docs/src/app/layout/container/overview.md +0 -5
- package/docs/src/app/layout/grid/examples/overview.html +0 -12
- package/docs/src/app/layout/grid/grid.component.pug +0 -47
- package/docs/src/app/layout/grid/grid.component.scss +0 -0
- package/docs/src/app/layout/grid/grid.component.ts +0 -26
- package/docs/src/app/shared/states.model.ts +0 -61
- package/docs/src/app/utilities/background-colors/background-colors.component.pug +0 -9
- package/docs/src/app/utilities/background-colors/background-colors.component.scss +0 -0
- package/docs/src/app/utilities/background-colors/background-colors.component.ts +0 -27
- package/docs/src/app/utilities/background-colors/examples/colors.html +0 -31
- package/docs/src/app/utilities/dividers/dividers.component.pug +0 -37
- package/docs/src/app/utilities/dividers/dividers.component.scss +0 -0
- package/docs/src/app/utilities/dividers/dividers.component.ts +0 -29
- package/docs/src/app/utilities/dividers/examples/no-margin.html +0 -9
- package/docs/src/app/utilities/dividers/examples/usage.html +0 -21
- package/docs/src/app/utilities/text-and-background-colors/examples/colors.html +0 -30
- package/docs/src/app/utilities/text-and-background-colors/text-and-background-colors.component.pug +0 -9
- package/docs/src/app/utilities/text-and-background-colors/text-and-background-colors.component.scss +0 -0
- package/docs/src/app/utilities/text-and-background-colors/text-and-background-colors.component.ts +0 -26
- package/docs/src/app/utilities/text-colors/examples/colors.html +0 -39
- package/docs/src/app/utilities/text-colors/text-colors.component.pug +0 -9
- package/docs/src/app/utilities/text-colors/text-colors.component.scss +0 -0
- package/docs/src/app/utilities/text-colors/text-colors.component.ts +0 -28
- package/docs/src/app/utilities/text-emphasis/examples/usage.html +0 -17
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.pug +0 -5
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.scss +0 -0
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.ts +0 -19
- package/docs/src/favicon.ico +0 -0
- package/docs/src/index.html +0 -20
- package/docs/src/main.ts +0 -13
- package/docs/src/styles.scss +0 -129
- package/docs/tsconfig.app.json +0 -14
- package/docs/tsconfig.json +0 -40
- package/eslint.config.mjs +0 -457
- package/gulp-tasks/docs-api.js +0 -76
- package/gulp-tasks/docs.js +0 -59
- package/gulp-tasks/sass.js +0 -31
- package/gulp-tasks/scripts.js +0 -52
- package/gulpfile.js +0 -3
- package/index.html +0 -11
- package/remove-scripts-from-package.js +0 -9
- package/rollup.config.js +0 -42
- package/src/app-bar/top-app-bar.styles.scss +0 -108
- package/src/app-bar/top-app-bar.ts +0 -198
- package/src/button/button-base.styles.scss +0 -12
- package/src/button/button-base.ts +0 -57
- package/src/button/button-set.styles.scss +0 -16
- package/src/button/button-set.ts +0 -23
- package/src/button/button.styles.scss +0 -104
- package/src/button/button.ts +0 -60
- package/src/button/fab.styles.scss +0 -90
- package/src/button/fab.ts +0 -54
- package/src/button/icon-button.styles.scss +0 -80
- package/src/button/icon-button.ts +0 -75
- package/src/button-field/button-field.styles.scss +0 -13
- package/src/button-field/button-field.ts +0 -53
- package/src/calendar/calendar-adapter.ts +0 -5
- package/src/calendar/calendar-base.styles.scss +0 -82
- package/src/calendar/calendar-base.ts +0 -225
- package/src/calendar/calendar.styles.scss +0 -0
- package/src/calendar/calendar.ts +0 -44
- package/src/calendar/default-calendar-adapter.ts +0 -40
- package/src/calendar/range-calendar.styles.scss +0 -119
- package/src/calendar/range-calendar.ts +0 -135
- package/src/card/card-content.styles.scss +0 -15
- package/src/card/card-content.ts +0 -45
- package/src/card/card-media.styles.scss +0 -9
- package/src/card/card-media.ts +0 -24
- package/src/card/card.styles.scss +0 -30
- package/src/card/card.ts +0 -38
- package/src/checkbox/checkbox-list-item.ts +0 -15
- package/src/checkbox/checkbox.styles.scss +0 -69
- package/src/checkbox/checkbox.ts +0 -64
- package/src/chip/chip-set.styles.scss +0 -3
- package/src/chip/chip-set.ts +0 -15
- package/src/chip/chip.styles.scss +0 -185
- package/src/chip/chip.ts +0 -186
- package/src/chip-field/chip-field.styles.scss +0 -22
- package/src/chip-field/chip-field.ts +0 -182
- package/src/config.ts +0 -28
- package/src/datepicker/datepicker.styles.scss +0 -0
- package/src/datepicker/datepicker.ts +0 -0
- package/src/dialog/confirm-dialog-builder.ts +0 -43
- package/src/dialog/dialog-builder.ts +0 -57
- package/src/dialog/dialog-button-def.ts +0 -6
- package/src/dialog/dialog.styles.scss +0 -176
- package/src/dialog/dialog.ts +0 -255
- package/src/dialog/message-dialog-builder.ts +0 -25
- package/src/elevation/elevation.styles.scss +0 -31
- package/src/elevation/elevation.ts +0 -20
- package/src/field/field-base.styles.scss +0 -429
- package/src/field/field-base.ts +0 -184
- package/src/field/field-defaults-context.ts +0 -5
- package/src/field/field-defaults.ts +0 -5
- package/src/field/field-variant.ts +0 -1
- package/src/field/field.ts +0 -48
- package/src/index.ts +0 -81
- package/src/list/list-item.styles.scss +0 -38
- package/src/list/list-item.ts +0 -39
- package/src/list/list.styles.scss +0 -4
- package/src/list/list.ts +0 -19
- package/src/menu/menu-item.styles.scss +0 -50
- package/src/menu/menu-item.ts +0 -101
- package/src/menu/menu.styles.scss +0 -70
- package/src/menu/menu.ts +0 -423
- package/src/navigation/_side-navigation-base.styles.scss +0 -101
- package/src/navigation/drawer-item.styles.scss +0 -49
- package/src/navigation/drawer-item.ts +0 -94
- package/src/navigation/drawer.styles.scss +0 -21
- package/src/navigation/drawer.ts +0 -27
- package/src/navigation/side-navigation-swiper.styles.scss +0 -53
- package/src/navigation/side-navigation.styles.scss +0 -47
- package/src/navigation/side-navigation.ts +0 -149
- package/src/progress/circular-progress.styles.scss +0 -83
- package/src/progress/circular-progress.ts +0 -83
- package/src/progress/progress-bar.styles.scss +0 -159
- package/src/progress/progress-bar.ts +0 -50
- package/src/radio/radio-list-item.ts +0 -15
- package/src/radio/radio.styles.scss +0 -34
- package/src/radio/radio.ts +0 -164
- package/src/ripple/ripple.styles.scss +0 -81
- package/src/ripple/ripple.ts +0 -158
- package/src/select/extended-option.ts +0 -3
- package/src/select/extended-select.ts +0 -6
- package/src/select/option.styles.scss +0 -16
- package/src/select/option.ts +0 -165
- package/src/select/select-navigation-controller.ts +0 -113
- package/src/select/select.styles.scss +0 -36
- package/src/select/select.ts +0 -333
- package/src/shared/base.styles.scss +0 -29
- package/src/shared/button-wrapper.styles.scss +0 -64
- package/src/shared/button-wrapper.ts +0 -144
- package/src/shared/char-count-text-field/native-text-field-wrapper.ts +0 -54
- package/src/shared/compare-text.ts +0 -6
- package/src/shared/events/dispatch-event.ts +0 -0
- package/src/shared/events/redispatch-event.ts +0 -16
- package/src/shared/extract-template-html.ts +0 -9
- package/src/shared/menu-field/menu-field-navigation-controller.ts +0 -152
- package/src/shared/menu-field/menu-field.ts +0 -7
- package/src/shared/mixin-attribute-properties.ts +0 -33
- package/src/shared/mixin.ts +0 -11
- package/src/shared/normalize-text.ts +0 -9
- package/src/shared/selection-control/checkbox-base.ts +0 -5
- package/src/shared/selection-control/selection-control-list-item.ts +0 -44
- package/src/shared/selection-control/selection-control.styles.scss +0 -74
- package/src/shared/selection-control/selection-control.ts +0 -180
- package/src/shared/sets/set-base.styles.scss +0 -18
- package/src/shared/sets/set-base.ts +0 -21
- package/src/shared/text-field-base/text-field-base.styles.scss +0 -11
- package/src/shared/text-field-base/text-field-base.ts +0 -36
- package/src/snackbar/snackbar.styles.scss +0 -88
- package/src/snackbar/snackbar.ts +0 -156
- package/src/switch/switch-list-item.ts +0 -15
- package/src/switch/switch.styles.scss +0 -87
- package/src/switch/switch.ts +0 -32
- package/src/tab-bar/tab-bar.styles.scss +0 -77
- package/src/tab-bar/tab-bar.ts +0 -232
- package/src/tab-bar/tab.styles.scss +0 -53
- package/src/tab-bar/tab.ts +0 -113
- package/src/text-area/text-area.styles.scss +0 -46
- package/src/text-area/text-area.ts +0 -46
- package/src/text-field/text-field.styles.scss +0 -55
- package/src/text-field/text-field.ts +0 -57
- package/src/theme/color.ts +0 -6
- package/src/theme/css-var-builder.ts +0 -39
- package/src/theme/index.ts +0 -1
- package/src/theme/neutral-colors.ts +0 -26
- package/src/theme/theme-builder.ts +0 -197
- package/src/theme/theme-color.ts +0 -7
- package/src/typeahead/highlight.styles.scss +0 -3
- package/src/typeahead/highlight.ts +0 -79
- package/src/typeahead/typeahead.styles.scss +0 -9
- package/src/typeahead/typeahead.ts +0 -440
- package/tsconfig.json +0 -49
- package/vendor/ngx-pug-builders-19.0.0.tgz +0 -0
- package/web-dev-server.config.js +0 -25
- package/web-test-runner.config.js +0 -120
- /package/{src/scss → scss}/_api.scss +0 -0
- /package/{src/scss → scss}/_colors.scss +0 -0
- /package/{src/scss → scss}/_css-vars.scss +0 -0
- /package/{src/scss → scss}/_functions.scss +0 -0
- /package/{src/scss → scss}/_global.scss +0 -0
- /package/{src/scss → scss}/_layout.scss +0 -0
- /package/{src/scss → scss}/_mixins.scss +0 -0
- /package/{src/scss → scss}/_reboot.scss +0 -0
- /package/{src/scss → scss}/_utilities.scss +0 -0
- /package/{src/scss → scss}/_variables.scss +0 -0
- /package/{src/scss → scss}/colors/_text-bg.scss +0 -0
- /package/{src/scss → scss}/colors/_text.scss +0 -0
- /package/{src/scss → scss}/functions/_font.scss +0 -0
- /package/{src/scss → scss}/layout/_container.scss +0 -0
- /package/{src/scss → scss}/layout/_grid.scss +0 -0
- /package/{src/scss → scss}/layout/_margin-and-gutters.scss +0 -0
- /package/{src/scss → scss}/mixins/_breakpoints.scss +0 -0
- /package/{src/scss → scss}/mixins/_colors.scss +0 -0
- /package/{src/scss → scss}/mixins/_text-bg.scss +0 -0
- /package/{src/scss → scss}/mixins/_typo.scss +0 -0
- /package/{src/scss → scss}/table/_table.scss +0 -0
- /package/{src/scss → scss}/typo/_font.scss +0 -0
- /package/{src/scss → scss}/typo/_typo.scss +0 -0
- /package/{src/scss → scss}/typo/_variables.scss +0 -0
- /package/{src/scss → scss}/universal-material.scss +0 -0
- /package/{src/scss → scss}/utilities/_divider.scss +0 -0
- /package/{src/scss → scss}/utilities/_scheme.scss +0 -0
- /package/{src/scss → scss}/utilities/_spacing.scss +0 -0
- /package/{src/scss → scss}/utilities/_text.scss +0 -0
package/eslint.config.mjs
DELETED
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
import _import from "eslint-plugin-import";
|
|
2
|
-
import importHelpers from "eslint-plugin-import-helpers";
|
|
3
|
-
import jsdoc from "eslint-plugin-jsdoc";
|
|
4
|
-
import preferArrow from "eslint-plugin-prefer-arrow";
|
|
5
|
-
import unusedImports from "eslint-plugin-unused-imports";
|
|
6
|
-
import angularEslintEslintPlugin from "@angular-eslint/eslint-plugin";
|
|
7
|
-
import angularEslintEslintPluginTemplate from "@angular-eslint/eslint-plugin-template";
|
|
8
|
-
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
9
|
-
import stylistic from "@stylistic/eslint-plugin";
|
|
10
|
-
import { fixupPluginRules } from "@eslint/compat";
|
|
11
|
-
import tsParser from "@typescript-eslint/parser";
|
|
12
|
-
import path from "node:path";
|
|
13
|
-
import { fileURLToPath } from "node:url";
|
|
14
|
-
import js from "@eslint/js";
|
|
15
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
16
|
-
|
|
17
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
18
|
-
const __dirname = path.dirname(__filename);
|
|
19
|
-
const compat = new FlatCompat({
|
|
20
|
-
baseDirectory: __dirname,
|
|
21
|
-
recommendedConfig: js.configs.recommended,
|
|
22
|
-
allConfig: js.configs.all
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export default [{
|
|
26
|
-
ignores: [
|
|
27
|
-
"node_modules/*",
|
|
28
|
-
"**/custom-elements.json",
|
|
29
|
-
"projects/**/*",
|
|
30
|
-
"dist/*",
|
|
31
|
-
"**/*.js",
|
|
32
|
-
"**/*.styles.ts",
|
|
33
|
-
],
|
|
34
|
-
}, ...compat.extends(
|
|
35
|
-
"plugin:@angular-eslint/recommended",
|
|
36
|
-
"plugin:@angular-eslint/template/process-inline-templates",
|
|
37
|
-
).map(config => ({
|
|
38
|
-
...config,
|
|
39
|
-
files: ["**/*.ts"],
|
|
40
|
-
})), {
|
|
41
|
-
files: ["**/*.ts"],
|
|
42
|
-
|
|
43
|
-
plugins: {
|
|
44
|
-
import: fixupPluginRules(_import),
|
|
45
|
-
"import-helpers": importHelpers,
|
|
46
|
-
jsdoc,
|
|
47
|
-
"prefer-arrow": preferArrow,
|
|
48
|
-
"unused-imports": unusedImports,
|
|
49
|
-
"@angular-eslint": angularEslintEslintPlugin,
|
|
50
|
-
"@angular-eslint/template": angularEslintEslintPluginTemplate,
|
|
51
|
-
"@typescript-eslint": typescriptEslint,
|
|
52
|
-
"@stylistic": stylistic,
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
languageOptions: {
|
|
56
|
-
parser: tsParser,
|
|
57
|
-
ecmaVersion: 5,
|
|
58
|
-
sourceType: "script",
|
|
59
|
-
|
|
60
|
-
parserOptions: {
|
|
61
|
-
project: ["tsconfig.json"],
|
|
62
|
-
createDefaultProgram: true,
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
rules: {
|
|
67
|
-
"@angular-eslint/directive-selector": ["error", {
|
|
68
|
-
type: "attribute",
|
|
69
|
-
prefix: "app",
|
|
70
|
-
style: "camelCase",
|
|
71
|
-
}],
|
|
72
|
-
|
|
73
|
-
"@angular-eslint/component-selector": ["error", {
|
|
74
|
-
type: "element",
|
|
75
|
-
prefix: "app",
|
|
76
|
-
style: "kebab-case",
|
|
77
|
-
}],
|
|
78
|
-
|
|
79
|
-
"@angular-eslint/no-conflicting-lifecycle": "error",
|
|
80
|
-
"@angular-eslint/no-input-rename": "error",
|
|
81
|
-
"@angular-eslint/no-inputs-metadata-property": "error",
|
|
82
|
-
"@angular-eslint/no-output-native": "error",
|
|
83
|
-
"@angular-eslint/no-output-on-prefix": "error",
|
|
84
|
-
"@angular-eslint/no-output-rename": "error",
|
|
85
|
-
"@angular-eslint/no-outputs-metadata-property": "error",
|
|
86
|
-
"@angular-eslint/use-lifecycle-interface": "error",
|
|
87
|
-
"@angular-eslint/use-pipe-transform-interface": "error",
|
|
88
|
-
"@angular-eslint/prefer-standalone": "off",
|
|
89
|
-
|
|
90
|
-
"@stylistic/array-bracket-newline": ["error", {
|
|
91
|
-
multiline: true,
|
|
92
|
-
}],
|
|
93
|
-
|
|
94
|
-
"@stylistic/array-bracket-spacing": ["error", "never"],
|
|
95
|
-
"@stylistic/array-element-newline": ["error", "consistent"],
|
|
96
|
-
"@stylistic/arrow-parens": ["error", "as-needed"],
|
|
97
|
-
"@stylistic/block-spacing": "error",
|
|
98
|
-
"@stylistic/brace-style": "error",
|
|
99
|
-
"@stylistic/comma-dangle": ["error", "always-multiline"],
|
|
100
|
-
"@stylistic/comma-spacing": "error",
|
|
101
|
-
"@stylistic/comma-style": "error",
|
|
102
|
-
"@stylistic/computed-property-spacing": "error",
|
|
103
|
-
"@stylistic/curly-newline": ["error", "always"],
|
|
104
|
-
"@stylistic/dot-location": ["error", "property"],
|
|
105
|
-
"@stylistic/eol-last": "error",
|
|
106
|
-
"@stylistic/function-call-spacing": "error",
|
|
107
|
-
"@stylistic/function-call-argument-newline": ["error", "consistent"],
|
|
108
|
-
|
|
109
|
-
"@stylistic/indent": ["error", 2, {
|
|
110
|
-
SwitchCase: 1,
|
|
111
|
-
|
|
112
|
-
FunctionDeclaration: {
|
|
113
|
-
parameters: "first",
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
FunctionExpression: {
|
|
117
|
-
parameters: "first",
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
VariableDeclarator: "first",
|
|
121
|
-
ObjectExpression: "first",
|
|
122
|
-
}],
|
|
123
|
-
|
|
124
|
-
"@stylistic/indent-binary-ops": ["error", 2],
|
|
125
|
-
|
|
126
|
-
"@stylistic/key-spacing": ["error", {
|
|
127
|
-
afterColon: true,
|
|
128
|
-
}],
|
|
129
|
-
|
|
130
|
-
"@stylistic/keyword-spacing": "error",
|
|
131
|
-
|
|
132
|
-
"@stylistic/lines-between-class-members": ["error", {
|
|
133
|
-
enforce: [{
|
|
134
|
-
blankLine: "always",
|
|
135
|
-
prev: "method",
|
|
136
|
-
next: "*",
|
|
137
|
-
}],
|
|
138
|
-
}, {
|
|
139
|
-
exceptAfterSingleLine: true,
|
|
140
|
-
}],
|
|
141
|
-
|
|
142
|
-
"@stylistic/member-delimiter-style": ["error", {
|
|
143
|
-
multiline: {
|
|
144
|
-
delimiter: "semi",
|
|
145
|
-
requireLast: true,
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
singleline: {
|
|
149
|
-
delimiter: "semi",
|
|
150
|
-
requireLast: false,
|
|
151
|
-
},
|
|
152
|
-
}],
|
|
153
|
-
|
|
154
|
-
"@stylistic/new-parens": "error",
|
|
155
|
-
"@stylistic/newline-per-chained-call": "error",
|
|
156
|
-
|
|
157
|
-
"@stylistic/no-extra-parens": ["error", "all", {
|
|
158
|
-
conditionalAssign: false,
|
|
159
|
-
nestedBinaryExpressions: false,
|
|
160
|
-
nestedConditionalExpressions: false,
|
|
161
|
-
ternaryOperandBinaryExpressions: false,
|
|
162
|
-
}],
|
|
163
|
-
|
|
164
|
-
"@stylistic/no-extra-semi": "error",
|
|
165
|
-
"@stylistic/no-multi-spaces": "error",
|
|
166
|
-
|
|
167
|
-
"@stylistic/no-multiple-empty-lines": ["error", {
|
|
168
|
-
max: 1,
|
|
169
|
-
maxEOF: 0,
|
|
170
|
-
maxBOF: 0,
|
|
171
|
-
}],
|
|
172
|
-
|
|
173
|
-
"@stylistic/no-tabs": "error",
|
|
174
|
-
"@stylistic/no-trailing-spaces": "error",
|
|
175
|
-
"@stylistic/no-whitespace-before-property": "error",
|
|
176
|
-
|
|
177
|
-
"@stylistic/object-curly-newline": ["error", {
|
|
178
|
-
consistent: true,
|
|
179
|
-
}],
|
|
180
|
-
|
|
181
|
-
"@stylistic/object-curly-spacing": ["error", "always"],
|
|
182
|
-
"@stylistic/one-var-declaration-per-line": ["error", "always"],
|
|
183
|
-
|
|
184
|
-
"@stylistic/operator-linebreak": ["error", "before", {
|
|
185
|
-
overrides: {
|
|
186
|
-
"=": "after",
|
|
187
|
-
"+=": "after",
|
|
188
|
-
"-=": "after",
|
|
189
|
-
"=+": "after",
|
|
190
|
-
"=_": "after",
|
|
191
|
-
},
|
|
192
|
-
}],
|
|
193
|
-
|
|
194
|
-
"@stylistic/quote-props": ["error", "as-needed"],
|
|
195
|
-
"@stylistic/quotes": ["error", "single"],
|
|
196
|
-
"@stylistic/rest-spread-spacing": "error",
|
|
197
|
-
"@stylistic/semi": ["error", "always"],
|
|
198
|
-
"@stylistic/semi-spacing": "error",
|
|
199
|
-
"@stylistic/semi-style": "error",
|
|
200
|
-
"@stylistic/space-before-blocks": "error",
|
|
201
|
-
|
|
202
|
-
"@stylistic/space-before-function-paren": ["error", {
|
|
203
|
-
anonymous: "always",
|
|
204
|
-
named: "never",
|
|
205
|
-
asyncArrow: "always",
|
|
206
|
-
}],
|
|
207
|
-
|
|
208
|
-
"@stylistic/space-in-parens": ["error", "never"],
|
|
209
|
-
"@stylistic/space-infix-ops": "error",
|
|
210
|
-
"@stylistic/space-unary-ops": "error",
|
|
211
|
-
"@stylistic/spaced-comment": "error",
|
|
212
|
-
"@stylistic/switch-colon-spacing": "error",
|
|
213
|
-
"@stylistic/template-curly-spacing": "error",
|
|
214
|
-
"@stylistic/template-tag-spacing": "error",
|
|
215
|
-
"@stylistic/type-annotation-spacing": "error",
|
|
216
|
-
"@stylistic/type-generic-spacing": "error",
|
|
217
|
-
"@stylistic/type-named-tuple-spacing": "error",
|
|
218
|
-
"@stylistic/wrap-iife": ["error", "inside"],
|
|
219
|
-
"@stylistic/wrap-regex": "error",
|
|
220
|
-
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
221
|
-
"@typescript-eslint/array-type": "error",
|
|
222
|
-
"@typescript-eslint/await-thenable": "error",
|
|
223
|
-
"@typescript-eslint/ban-ts-comment": "off",
|
|
224
|
-
"@typescript-eslint/class-literal-property-style": "error",
|
|
225
|
-
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
226
|
-
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
227
|
-
"@typescript-eslint/consistent-type-assertions": "error",
|
|
228
|
-
"default-param-last": "off",
|
|
229
|
-
"@typescript-eslint/default-param-last": "error",
|
|
230
|
-
"dot-notation": "off",
|
|
231
|
-
"@typescript-eslint/dot-notation": "error",
|
|
232
|
-
|
|
233
|
-
"@typescript-eslint/explicit-member-accessibility": ["error", {
|
|
234
|
-
accessibility: "no-public",
|
|
235
|
-
}],
|
|
236
|
-
|
|
237
|
-
"@typescript-eslint/member-ordering": "off",
|
|
238
|
-
"no-array-constructor": "off",
|
|
239
|
-
"@typescript-eslint/no-array-constructor": "error",
|
|
240
|
-
"@typescript-eslint/no-array-delete": "error",
|
|
241
|
-
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
242
|
-
"no-dupe-class-members": "off",
|
|
243
|
-
"@typescript-eslint/no-dupe-class-members": "error",
|
|
244
|
-
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
245
|
-
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
246
|
-
"no-empty-function": "off",
|
|
247
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
248
|
-
"@typescript-eslint/no-empty-interface": "error",
|
|
249
|
-
"@typescript-eslint/no-empty-object-type": "error",
|
|
250
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
251
|
-
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
252
|
-
"@typescript-eslint/no-for-in-array": "error",
|
|
253
|
-
"no-implied-eval": "off",
|
|
254
|
-
"@typescript-eslint/no-implied-eval": "error",
|
|
255
|
-
|
|
256
|
-
"@typescript-eslint/no-inferrable-types": ["error", {
|
|
257
|
-
ignoreParameters: true,
|
|
258
|
-
}],
|
|
259
|
-
|
|
260
|
-
"no-loss-of-precision": "off",
|
|
261
|
-
"@typescript-eslint/no-loss-of-precision": "error",
|
|
262
|
-
"@typescript-eslint/no-meaningless-void-operator": "error",
|
|
263
|
-
"@typescript-eslint/no-misused-new": "error",
|
|
264
|
-
"@typescript-eslint/no-misused-spread": "error",
|
|
265
|
-
"@typescript-eslint/no-mixed-enums": "error",
|
|
266
|
-
"@typescript-eslint/no-namespace": "error",
|
|
267
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
268
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
269
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
270
|
-
"@typescript-eslint/no-require-imports": "error",
|
|
271
|
-
"no-shadow": "off",
|
|
272
|
-
"@typescript-eslint/no-shadow": "error",
|
|
273
|
-
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
274
|
-
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
275
|
-
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
276
|
-
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
277
|
-
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
278
|
-
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
279
|
-
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
280
|
-
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
281
|
-
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
282
|
-
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
283
|
-
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
284
|
-
"@typescript-eslint/no-unused-expressions": "error",
|
|
285
|
-
"no-unused-vars": "off",
|
|
286
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
287
|
-
"no-use-before-define": "off",
|
|
288
|
-
"@typescript-eslint/no-use-before-define": "off",
|
|
289
|
-
"no-useless-constructor": "off",
|
|
290
|
-
"@typescript-eslint/no-useless-constructor": "off",
|
|
291
|
-
"@typescript-eslint/no-useless-empty-export": "error",
|
|
292
|
-
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
293
|
-
"@typescript-eslint/non-nullable-type-assertion-style": "error",
|
|
294
|
-
"@typescript-eslint/only-throw-error": "error",
|
|
295
|
-
|
|
296
|
-
"@typescript-eslint/parameter-properties": ["error", {
|
|
297
|
-
allow: [
|
|
298
|
-
"readonly",
|
|
299
|
-
"private",
|
|
300
|
-
"protected",
|
|
301
|
-
"private readonly",
|
|
302
|
-
"protected readonly",
|
|
303
|
-
],
|
|
304
|
-
}],
|
|
305
|
-
|
|
306
|
-
"@typescript-eslint/prefer-as-const": "error",
|
|
307
|
-
"@typescript-eslint/prefer-find": "error",
|
|
308
|
-
"@typescript-eslint/prefer-for-of": "error",
|
|
309
|
-
"@typescript-eslint/prefer-function-type": "error",
|
|
310
|
-
"@typescript-eslint/prefer-includes": "error",
|
|
311
|
-
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
312
|
-
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
313
|
-
"@typescript-eslint/prefer-optional-chain": "error",
|
|
314
|
-
"@typescript-eslint/prefer-readonly": "error",
|
|
315
|
-
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
316
|
-
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
317
|
-
"require-await": "off",
|
|
318
|
-
"@typescript-eslint/require-await": "error",
|
|
319
|
-
"@typescript-eslint/restrict-plus-operands": "error",
|
|
320
|
-
|
|
321
|
-
"@typescript-eslint/triple-slash-reference": ["error", {
|
|
322
|
-
path: "always",
|
|
323
|
-
types: "prefer-import",
|
|
324
|
-
lib: "always",
|
|
325
|
-
}],
|
|
326
|
-
|
|
327
|
-
"@typescript-eslint/unified-signatures": "off",
|
|
328
|
-
"arrow-body-style": "error",
|
|
329
|
-
complexity: "off",
|
|
330
|
-
"constructor-super": "error",
|
|
331
|
-
curly: "error",
|
|
332
|
-
eqeqeq: ["error", "smart"],
|
|
333
|
-
"guard-for-in": "error",
|
|
334
|
-
|
|
335
|
-
"id-blacklist": [
|
|
336
|
-
"error",
|
|
337
|
-
"any",
|
|
338
|
-
"Number",
|
|
339
|
-
"number",
|
|
340
|
-
"String",
|
|
341
|
-
"string",
|
|
342
|
-
"Boolean",
|
|
343
|
-
"boolean",
|
|
344
|
-
"Undefined",
|
|
345
|
-
"undefined",
|
|
346
|
-
],
|
|
347
|
-
|
|
348
|
-
"id-match": "error",
|
|
349
|
-
"no-lonely-if": "error",
|
|
350
|
-
|
|
351
|
-
"no-else-return": ["error", {
|
|
352
|
-
allowElseIf: false,
|
|
353
|
-
}],
|
|
354
|
-
|
|
355
|
-
"padding-line-between-statements": ["error", {
|
|
356
|
-
blankLine: "always",
|
|
357
|
-
prev: "block-like",
|
|
358
|
-
next: "*",
|
|
359
|
-
}, {
|
|
360
|
-
blankLine: "always",
|
|
361
|
-
prev: "*",
|
|
362
|
-
next: "block-like",
|
|
363
|
-
}],
|
|
364
|
-
|
|
365
|
-
"max-classes-per-file": "off",
|
|
366
|
-
|
|
367
|
-
"max-len": ["error", {
|
|
368
|
-
code: 200,
|
|
369
|
-
}],
|
|
370
|
-
|
|
371
|
-
"no-bitwise": "error",
|
|
372
|
-
"no-caller": "error",
|
|
373
|
-
"no-cond-assign": "error",
|
|
374
|
-
|
|
375
|
-
"no-console": ["error", {
|
|
376
|
-
allow: [
|
|
377
|
-
"log",
|
|
378
|
-
"warn",
|
|
379
|
-
"dir",
|
|
380
|
-
"timeLog",
|
|
381
|
-
"assert",
|
|
382
|
-
"clear",
|
|
383
|
-
"count",
|
|
384
|
-
"countReset",
|
|
385
|
-
"group",
|
|
386
|
-
"groupEnd",
|
|
387
|
-
"table",
|
|
388
|
-
"dirxml",
|
|
389
|
-
"error",
|
|
390
|
-
"groupCollapsed",
|
|
391
|
-
"Console",
|
|
392
|
-
"profile",
|
|
393
|
-
"profileEnd",
|
|
394
|
-
"timeStamp",
|
|
395
|
-
"context",
|
|
396
|
-
],
|
|
397
|
-
}],
|
|
398
|
-
|
|
399
|
-
"no-debugger": "error",
|
|
400
|
-
"no-empty": "off",
|
|
401
|
-
"no-eval": "error",
|
|
402
|
-
"no-fallthrough": "error",
|
|
403
|
-
"no-invalid-this": "off",
|
|
404
|
-
"no-new-wrappers": "error",
|
|
405
|
-
"no-restricted-imports": ["error", "rxjs/Rx"],
|
|
406
|
-
"no-throw-literal": "error",
|
|
407
|
-
"no-undef-init": "error",
|
|
408
|
-
"no-unsafe-finally": "error",
|
|
409
|
-
"no-unused-labels": "error",
|
|
410
|
-
"no-unused-private-class-members": "error",
|
|
411
|
-
"no-var": "error",
|
|
412
|
-
"object-shorthand": "error",
|
|
413
|
-
"one-var": ["error", "never"],
|
|
414
|
-
"prefer-arrow/prefer-arrow-functions": "error",
|
|
415
|
-
"prefer-const": "error",
|
|
416
|
-
radix: "error",
|
|
417
|
-
"sort-keys": 0,
|
|
418
|
-
"use-isnan": "error",
|
|
419
|
-
"valid-typeof": "off",
|
|
420
|
-
"jsdoc/check-alignment": "error",
|
|
421
|
-
"jsdoc/check-indentation": "error",
|
|
422
|
-
"jsdoc/no-types": "error",
|
|
423
|
-
"import/no-deprecated": "warn",
|
|
424
|
-
|
|
425
|
-
"import-helpers/order-imports": ["error", {
|
|
426
|
-
alphabetize: {
|
|
427
|
-
order: "asc",
|
|
428
|
-
ignoreCase: true,
|
|
429
|
-
},
|
|
430
|
-
|
|
431
|
-
newlinesBetween: "always",
|
|
432
|
-
|
|
433
|
-
groups: [
|
|
434
|
-
"/^@angular|^rxjs/",
|
|
435
|
-
"/^@lit/",
|
|
436
|
-
"/^lit/",
|
|
437
|
-
"module",
|
|
438
|
-
["parent", "sibling", "index"],
|
|
439
|
-
],
|
|
440
|
-
}],
|
|
441
|
-
|
|
442
|
-
"unused-imports/no-unused-imports": "error",
|
|
443
|
-
|
|
444
|
-
"unused-imports/no-unused-vars": ["error", {
|
|
445
|
-
vars: "all",
|
|
446
|
-
varsIgnorePattern: "^_",
|
|
447
|
-
args: "after-used",
|
|
448
|
-
argsIgnorePattern: "^_",
|
|
449
|
-
}],
|
|
450
|
-
},
|
|
451
|
-
}, ...compat.extends("plugin:@angular-eslint/template/recommended").map(config => ({
|
|
452
|
-
...config,
|
|
453
|
-
files: ["**/*.html"],
|
|
454
|
-
})), {
|
|
455
|
-
files: ["**/*.html"],
|
|
456
|
-
rules: {},
|
|
457
|
-
}];
|
package/gulp-tasks/docs-api.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { SyntaxKind } from 'ts-morph';
|
|
2
|
-
|
|
3
|
-
function getAttributeName(property) {
|
|
4
|
-
const decorators = property.getDecorators();
|
|
5
|
-
const propertyDecorator = decorators.find(d => d.getName() === 'property');
|
|
6
|
-
|
|
7
|
-
if (!propertyDecorator) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const optionsArgument = propertyDecorator.getArguments()[0];
|
|
12
|
-
|
|
13
|
-
if (!optionsArgument) {
|
|
14
|
-
return property.getName();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return optionsArgument
|
|
18
|
-
.getProperty('attribute')
|
|
19
|
-
?.getInitializer()
|
|
20
|
-
?.getText()
|
|
21
|
-
?.replaceAll(`'`, '') ?? property.getName();
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function getJsDocsDescription(property) {
|
|
25
|
-
const jsDocs = property.getJsDocs()[0];
|
|
26
|
-
|
|
27
|
-
if (!jsDocs) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
return jsDocs.getDescription().trim();
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function setClassInfo(classDeclaration, classInfo) {
|
|
35
|
-
|
|
36
|
-
if (!classDeclaration || classDeclaration.getSourceFile().getFilePath().includes('node_modules')) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
for (const property of classDeclaration.getProperties().concat(classDeclaration.getGetAccessors())) {
|
|
41
|
-
|
|
42
|
-
const propertyName = property.getName();
|
|
43
|
-
|
|
44
|
-
if (property.isStatic()
|
|
45
|
-
|| property.hasModifier(SyntaxKind.PrivateKeyword)
|
|
46
|
-
|| property.hasModifier(SyntaxKind.ProtectedKeyword)
|
|
47
|
-
|| propertyName.startsWith('#')
|
|
48
|
-
|| propertyName.startsWith('_')) {
|
|
49
|
-
continue;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const attributeName = getAttributeName(property);
|
|
53
|
-
|
|
54
|
-
const description = getJsDocsDescription(property);
|
|
55
|
-
const typeText = property
|
|
56
|
-
.getType()
|
|
57
|
-
.getBaseTypeOfLiteralType()
|
|
58
|
-
.getText();
|
|
59
|
-
|
|
60
|
-
classInfo.push({
|
|
61
|
-
type: typeText.includes('|')
|
|
62
|
-
? 'string'
|
|
63
|
-
: typeText.replace(/import\(.+?\)\./, ''),
|
|
64
|
-
attribute: attributeName,
|
|
65
|
-
default: property.getInitializer
|
|
66
|
-
? property.getInitializer()?.getText() ?? 'undefined'
|
|
67
|
-
: null,
|
|
68
|
-
name: propertyName.startsWith('_')
|
|
69
|
-
? null
|
|
70
|
-
: propertyName,
|
|
71
|
-
description: description
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
setClassInfo(classDeclaration.getBaseClass(), classInfo);
|
|
76
|
-
}
|
package/gulp-tasks/docs.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import gulp from 'gulp';
|
|
2
|
-
import fs from 'node:fs';
|
|
3
|
-
import { Project } from 'ts-morph';
|
|
4
|
-
|
|
5
|
-
import { setClassInfo } from './docs-api.js';
|
|
6
|
-
|
|
7
|
-
const watch = () => {
|
|
8
|
-
gulp.watch(['**/*.ts', '!**/*.styles.ts'], {cwd: 'src'}, buildPugApis);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const buildPugApis = cb => {
|
|
12
|
-
|
|
13
|
-
console.log('Generating APIs model....');
|
|
14
|
-
|
|
15
|
-
const project = new Project();
|
|
16
|
-
project.addSourceFilesAtPaths('src/**/*.ts');
|
|
17
|
-
|
|
18
|
-
const apis = {};
|
|
19
|
-
|
|
20
|
-
for (const sourceFile of project.getSourceFiles()) {
|
|
21
|
-
|
|
22
|
-
if (sourceFile.getFilePath().includes('node_modules')) {
|
|
23
|
-
continue;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
for (const classDeclaration of sourceFile.getClasses()) {
|
|
27
|
-
|
|
28
|
-
if (classDeclaration.isAbstract()) {
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
const classInfo = [];
|
|
33
|
-
|
|
34
|
-
setClassInfo(classDeclaration, classInfo);
|
|
35
|
-
|
|
36
|
-
if (!classInfo.length) {
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const className = classDeclaration.getName();
|
|
41
|
-
const apiName = `${className[2].toLowerCase()}${className.slice(3)}`;
|
|
42
|
-
apis[apiName] = classInfo;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
fs.writeFile('./docs/src/app/apis.ts', `export const Apis = ${JSON.stringify(apis, null, 2)}`, err => {
|
|
47
|
-
if (err) {
|
|
48
|
-
console.error(err);
|
|
49
|
-
cb(err);
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
cb()
|
|
54
|
-
console.log('Done.');
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
gulp.task('docs:apis', buildPugApis);
|
|
59
|
-
gulp.task('docs:apis:watch', watch);
|
package/gulp-tasks/sass.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import gulp from 'gulp';
|
|
2
|
-
import rename from 'gulp-rename';
|
|
3
|
-
import gulpSass from 'gulp-sass';
|
|
4
|
-
import sourcemaps from 'gulp-sourcemaps';
|
|
5
|
-
import * as dartSass from 'sass';
|
|
6
|
-
|
|
7
|
-
const sass = gulpSass(dartSass);
|
|
8
|
-
|
|
9
|
-
const buildSassBase = minify => {
|
|
10
|
-
let pipeline = gulp
|
|
11
|
-
.src('./src/scss/universal-material.scss')
|
|
12
|
-
.pipe(sourcemaps.init())
|
|
13
|
-
.pipe(sass({outputStyle: minify ? 'compressed' : 'expanded'}).on('error', sass.logError));
|
|
14
|
-
|
|
15
|
-
if (minify) {
|
|
16
|
-
pipeline = pipeline.pipe(rename({suffix: '.min'}))
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
return pipeline
|
|
20
|
-
.pipe(sourcemaps.write())
|
|
21
|
-
.pipe(gulp.dest('./dist/css'));
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const buildSassExpanded = () => buildSassBase(false);
|
|
25
|
-
const buildSassMin = () => buildSassBase(true);
|
|
26
|
-
const buildSass = gulp.parallel(buildSassExpanded, buildSassMin);
|
|
27
|
-
|
|
28
|
-
const watch = () => gulp.watch('./scss/styles/**/*.scss', buildSass);
|
|
29
|
-
|
|
30
|
-
gulp.task('sass', buildSass);
|
|
31
|
-
gulp.task('sass:watch', gulp.series(buildSass, watch));
|
package/gulp-tasks/scripts.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import gulp from 'gulp';
|
|
2
|
-
import changed from 'gulp-changed';
|
|
3
|
-
import gulpSass from 'gulp-sass';
|
|
4
|
-
import ts from 'gulp-typescript';
|
|
5
|
-
import * as dartSass from 'sass';
|
|
6
|
-
import through2 from 'through2';
|
|
7
|
-
|
|
8
|
-
const tsProject = ts.createProject('tsconfig.json');
|
|
9
|
-
|
|
10
|
-
const scriptDest = './dist';
|
|
11
|
-
const buildScripts = () =>
|
|
12
|
-
tsProject
|
|
13
|
-
.src()
|
|
14
|
-
.pipe(changed(scriptDest, {extension: 'js'}))
|
|
15
|
-
.pipe(tsProject())
|
|
16
|
-
.pipe(gulp.dest(scriptDest));
|
|
17
|
-
|
|
18
|
-
const sass = gulpSass(dartSass);
|
|
19
|
-
|
|
20
|
-
const options = {cwd: 'src'};
|
|
21
|
-
|
|
22
|
-
const sassToTsDest = 'src';
|
|
23
|
-
const sassToTs = () =>
|
|
24
|
-
gulp
|
|
25
|
-
.src('**/*.styles.scss', options)
|
|
26
|
-
.pipe(changed(sassToTsDest, {extension: 'ts'}))
|
|
27
|
-
.pipe(sass({outputStyle: 'expanded'}).on('error', sass.logError))
|
|
28
|
-
.pipe(through2({objectMode: true}, (file, enc, cb) => {
|
|
29
|
-
let content = file.contents.toString();
|
|
30
|
-
content = content.replaceAll(/^(.)/gm, ' $1');
|
|
31
|
-
|
|
32
|
-
const newContent = `import { css } from 'lit';
|
|
33
|
-
|
|
34
|
-
export const styles = css \`
|
|
35
|
-
${content}
|
|
36
|
-
\`;
|
|
37
|
-
`
|
|
38
|
-
|
|
39
|
-
file.contents = new Buffer(newContent);
|
|
40
|
-
file.path = file.path.replace('.css', '.ts')
|
|
41
|
-
return cb(null, file);
|
|
42
|
-
}))
|
|
43
|
-
.pipe(gulp.dest(sassToTsDest));
|
|
44
|
-
|
|
45
|
-
const allInSeries = gulp.series(sassToTs, buildScripts);
|
|
46
|
-
|
|
47
|
-
const watch = () =>
|
|
48
|
-
gulp.watch(['**/*.scss', '**/*.ts'], options, allInSeries);
|
|
49
|
-
|
|
50
|
-
gulp.task('scripts:build', buildScripts);
|
|
51
|
-
gulp.task('scripts:sass-to-ts', sassToTs);
|
|
52
|
-
gulp.task('scripts:watch', gulp.series(allInSeries, watch));
|
package/gulpfile.js
DELETED