@universal-material/web 3.0.138 → 3.0.140
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/.editorconfig +8 -0
- package/.eleventy.cjs +21 -0
- package/.vscode/extensions.json +9 -0
- package/CHANGELOG.md +98 -0
- package/LICENSE +28 -0
- package/add-custom-elements-schemas.cjs +75 -0
- package/change-compiler-to-add-custom-elements.js +26 -0
- package/change-schematics-to-generate-pug.js +32 -0
- package/docs/angular.json +110 -0
- package/docs/src/app/app.component.pug +199 -0
- package/docs/src/app/app.component.scss +109 -0
- package/docs/src/app/app.component.ts +158 -0
- package/docs/src/app/app.config.ts +26 -0
- package/docs/src/app/app.routes.ts +140 -0
- package/docs/src/app/components/button-set/button-set.component.pug +13 -0
- package/docs/src/app/components/button-set/button-set.component.scss +0 -0
- package/docs/src/app/components/button-set/button-set.component.ts +29 -0
- package/docs/src/app/components/button-set/examples/alignment.html +29 -0
- package/docs/src/app/components/button-set/examples/stack.html +5 -0
- package/docs/src/app/components/button-set/examples/usage.html +35 -0
- package/docs/src/app/components/cards/cards.component.pug +15 -0
- package/docs/src/app/components/cards/cards.component.scss +0 -0
- package/docs/src/app/components/cards/cards.component.ts +29 -0
- package/docs/src/app/components/cards/examples/card-media.html +39 -0
- package/docs/src/app/components/cards/examples/card-with-actions.html +40 -0
- package/docs/src/app/components/cards/examples/simple-card.html +5 -0
- package/docs/src/app/components/checkbox/checkbox.component.pug +5 -0
- package/docs/src/app/components/checkbox/checkbox.component.scss +0 -0
- package/docs/src/app/components/checkbox/checkbox.component.ts +23 -0
- package/docs/src/app/components/checkbox/examples/usage.html +33 -0
- package/docs/src/app/components/chip-field/chip-field.component.pug +17 -0
- package/docs/src/app/components/chip-field/chip-field.component.scss +0 -0
- package/docs/src/app/components/chip-field/chip-field.component.ts +42 -0
- package/docs/src/app/components/chip-field/examples/object-values.html +15 -0
- package/docs/src/app/components/chip-field/examples/simple.html +1 -0
- package/docs/src/app/components/chips/chips.component.pug +69 -0
- package/docs/src/app/components/chips/chips.component.scss +0 -0
- package/docs/src/app/components/chips/chips.component.ts +131 -0
- package/docs/src/app/components/common-buttons/common-buttons.component.pug +23 -0
- package/docs/src/app/components/common-buttons/common-buttons.component.scss +0 -0
- package/docs/src/app/components/common-buttons/common-buttons.component.ts +35 -0
- package/docs/src/app/components/common-buttons/examples/anchor-buttons.html +6 -0
- package/docs/src/app/components/common-buttons/examples/buttons-icons.html +24 -0
- package/docs/src/app/components/common-buttons/examples/buttons-trailing-icons.html +25 -0
- package/docs/src/app/components/common-buttons/examples/buttons-variants.html +6 -0
- package/docs/src/app/components/common-buttons/examples/filled-colors.html +4 -0
- package/docs/src/app/components/context-test/context-test.component.pug +11 -0
- package/docs/src/app/components/context-test/context-test.component.scss +0 -0
- package/docs/src/app/components/context-test/context-test.component.ts +23 -0
- package/docs/src/app/components/datepicker/datepicker.component.pug +1 -0
- package/docs/src/app/components/datepicker/datepicker.component.scss +0 -0
- package/docs/src/app/components/datepicker/datepicker.component.ts +20 -0
- package/docs/src/app/components/dialogs/dialogs.component.pug +24 -0
- package/docs/src/app/components/dialogs/dialogs.component.scss +0 -0
- package/docs/src/app/components/dialogs/dialogs.component.ts +33 -0
- package/docs/src/app/components/dialogs/examples/example.html +3 -0
- package/docs/src/app/components/expansion-panel/expansion-panel.component.pug +1 -0
- package/docs/src/app/components/expansion-panel/expansion-panel.component.scss +0 -0
- package/docs/src/app/components/expansion-panel/expansion-panel.component.ts +20 -0
- package/docs/src/app/components/fab/examples/button-colors.html +18 -0
- package/docs/src/app/components/fab/examples/button-sizes.html +11 -0
- package/docs/src/app/components/fab/examples/extended-buttons.html +18 -0
- package/docs/src/app/components/fab/examples/floating-action-area.html +5 -0
- package/docs/src/app/components/fab/examples/floating-menu.html +10 -0
- package/docs/src/app/components/fab/examples/lowered-buttons.html +6 -0
- package/docs/src/app/components/fab/fab.component.pug +27 -0
- package/docs/src/app/components/fab/fab.component.scss +0 -0
- package/docs/src/app/components/fab/fab.component.ts +38 -0
- package/docs/src/app/components/icon-buttons/examples/anchor-buttons.html +15 -0
- package/docs/src/app/components/icon-buttons/examples/buttons-variants.html +15 -0
- package/docs/src/app/components/icon-buttons/examples/toggle-buttons-manual.html +4 -0
- package/docs/src/app/components/icon-buttons/examples/toggle-buttons.html +48 -0
- package/docs/src/app/components/icon-buttons/icon-buttons.component.pug +19 -0
- package/docs/src/app/components/icon-buttons/icon-buttons.component.scss +0 -0
- package/docs/src/app/components/icon-buttons/icon-buttons.component.ts +32 -0
- package/docs/src/app/components/lists/examples/list-avatars.html +14 -0
- package/docs/src/app/components/lists/examples/list-custom-dividers.html +23 -0
- package/docs/src/app/components/lists/examples/list-dividers.html +17 -0
- package/docs/src/app/components/lists/examples/list-dynamic.html +26 -0
- package/docs/src/app/components/lists/examples/list-hover.html +17 -0
- package/docs/src/app/components/lists/examples/list-icons.html +17 -0
- package/docs/src/app/components/lists/examples/list-indexed.html +123 -0
- package/docs/src/app/components/lists/examples/list-sections.html +16 -0
- package/docs/src/app/components/lists/examples/list-three-lines.html +20 -0
- package/docs/src/app/components/lists/examples/list-two-lines.html +20 -0
- package/docs/src/app/components/lists/examples/list-with-action.html +26 -0
- package/docs/src/app/components/lists/examples/list-with-activated-item.html +17 -0
- package/docs/src/app/components/lists/examples/simple-list.html +17 -0
- package/docs/src/app/components/lists/lists.component.pug +19 -0
- package/docs/src/app/components/lists/lists.component.scss +0 -0
- package/docs/src/app/components/lists/lists.component.ts +20 -0
- package/docs/src/app/components/menus/examples/down-end.html +15 -0
- package/docs/src/app/components/menus/examples/down-left.html +10 -0
- package/docs/src/app/components/menus/examples/down-right.html +10 -0
- package/docs/src/app/components/menus/examples/down-start.html +10 -0
- package/docs/src/app/components/menus/examples/down.html +10 -0
- package/docs/src/app/components/menus/examples/up-end.html +10 -0
- package/docs/src/app/components/menus/examples/up-left.html +10 -0
- package/docs/src/app/components/menus/examples/up-right.html +10 -0
- package/docs/src/app/components/menus/examples/up-start.html +10 -0
- package/docs/src/app/components/menus/examples/up.html +10 -0
- package/docs/src/app/components/menus/menus.component.pug +43 -0
- package/docs/src/app/components/menus/menus.component.scss +15 -0
- package/docs/src/app/components/menus/menus.component.ts +60 -0
- package/docs/src/app/components/navigation-item.model.ts +4 -0
- package/docs/src/app/components/progress/examples/circular-progress.html +13 -0
- package/docs/src/app/components/progress/examples/determinate-progress.html +3 -0
- package/docs/src/app/components/progress/examples/indeterminate-progress.html +3 -0
- package/docs/src/app/components/progress/examples/progress-color.html +3 -0
- package/docs/src/app/components/progress/progress.component.pug +34 -0
- package/docs/src/app/components/progress/progress.component.scss +0 -0
- package/docs/src/app/components/progress/progress.component.ts +34 -0
- package/docs/src/app/components/ripple/examples/usage.html +9 -0
- package/docs/src/app/components/ripple/ripple.component.pug +7 -0
- package/docs/src/app/components/ripple/ripple.component.scss +0 -0
- package/docs/src/app/components/ripple/ripple.component.ts +23 -0
- package/docs/src/app/components/select/select.component.pug +175 -0
- package/docs/src/app/components/select/select.component.scss +3 -0
- package/docs/src/app/components/select/select.component.ts +35 -0
- package/docs/src/app/components/selection-controls/examples/checkbox.html +22 -0
- package/docs/src/app/components/selection-controls/examples/radio-button.html +36 -0
- package/docs/src/app/components/selection-controls/examples/switch.html +12 -0
- package/docs/src/app/components/selection-controls/selection-controls.component.pug +13 -0
- package/docs/src/app/components/selection-controls/selection-controls.component.scss +0 -0
- package/docs/src/app/components/selection-controls/selection-controls.component.ts +29 -0
- package/docs/src/app/components/sliders/examples/example.html +42 -0
- package/docs/src/app/components/sliders/sliders.component.pug +5 -0
- package/docs/src/app/components/sliders/sliders.component.scss +0 -0
- package/docs/src/app/components/sliders/sliders.component.ts +23 -0
- package/docs/src/app/components/snackbars/examples/example.html +35 -0
- package/docs/src/app/components/snackbars/snackbars.component.pug +5 -0
- package/docs/src/app/components/snackbars/snackbars.component.scss +0 -0
- package/docs/src/app/components/snackbars/snackbars.component.ts +23 -0
- package/docs/src/app/components/steppers/steppers.component.pug +1 -0
- package/docs/src/app/components/steppers/steppers.component.scss +0 -0
- package/docs/src/app/components/steppers/steppers.component.ts +20 -0
- package/docs/src/app/components/tables/examples/overview.html +49 -0
- package/docs/src/app/components/tables/examples/table-hover.html +67 -0
- package/docs/src/app/components/tables/tables.component.pug +74 -0
- package/docs/src/app/components/tables/tables.component.scss +0 -0
- package/docs/src/app/components/tables/tables.component.ts +29 -0
- package/docs/src/app/components/tabs/examples/example.html +45 -0
- package/docs/src/app/components/tabs/tabs.component.pug +14 -0
- package/docs/src/app/components/tabs/tabs.component.scss +0 -0
- package/docs/src/app/components/tabs/tabs.component.ts +32 -0
- package/docs/src/app/components/text-fields/text-fields.component.pug +122 -0
- package/docs/src/app/components/text-fields/text-fields.component.scss +3 -0
- package/docs/src/app/components/text-fields/text-fields.component.ts +130 -0
- package/docs/src/app/components/toolbars/examples/simple-toolbar.html +33 -0
- package/docs/src/app/components/toolbars/toolbars.component.pug +5 -0
- package/docs/src/app/components/toolbars/toolbars.component.scss +0 -0
- package/docs/src/app/components/toolbars/toolbars.component.ts +23 -0
- package/docs/src/app/components/typeahead/examples/handling-selection.html +27 -0
- package/docs/src/app/components/typeahead/examples/object-results.html +9 -0
- package/docs/src/app/components/typeahead/examples/simple.html +8 -0
- package/docs/src/app/components/typeahead/typeahead.component.pug +43 -0
- package/docs/src/app/components/typeahead/typeahead.component.scss +0 -0
- package/docs/src/app/components/typeahead/typeahead.component.ts +52 -0
- package/docs/src/app/content/typography/examples/typos.html +17 -0
- package/docs/src/app/content/typography/typography.component.pug +4 -0
- package/docs/src/app/content/typography/typography.component.scss +0 -0
- package/docs/src/app/content/typography/typography.component.ts +21 -0
- package/docs/src/app/docs/apis-table/apis-table.component.pug +26 -0
- package/docs/src/app/docs/apis-table/apis-table.component.scss +9 -0
- package/docs/src/app/docs/apis-table/apis-table.component.ts +26 -0
- package/docs/src/app/docs/example/example.component.pug +17 -0
- package/docs/src/app/docs/example/example.component.scss +21 -0
- package/docs/src/app/docs/example/example.component.ts +39 -0
- package/docs/src/app/docs/link-active.directive.ts +38 -0
- package/docs/src/app/docs/shared/title-to-hash.ts +7 -0
- package/docs/src/app/docs/submenu/submenu.component.pug +7 -0
- package/docs/src/app/docs/submenu/submenu.component.scss +9 -0
- package/docs/src/app/docs/submenu/submenu.component.ts +21 -0
- package/docs/src/app/docs/title/title.component.pug +5 -0
- package/docs/src/app/docs/title/title.component.scss +3 -0
- package/docs/src/app/docs/title/title.component.ts +19 -0
- package/docs/src/app/dummy/dummy.component.pug +1 -0
- package/docs/src/app/dummy/dummy.component.scss +0 -0
- package/docs/src/app/dummy/dummy.component.ts +14 -0
- package/docs/src/app/introduction/introduction.component.pug +26 -0
- package/docs/src/app/introduction/introduction.component.scss +7 -0
- package/docs/src/app/introduction/introduction.component.ts +58 -0
- package/docs/src/app/layout/container/container.component.pug +77 -0
- package/docs/src/app/layout/container/container.component.scss +0 -0
- package/docs/src/app/layout/container/container.component.ts +32 -0
- package/docs/src/app/layout/container/examples/default-container.html +3 -0
- package/docs/src/app/layout/container/examples/fluid-container.html +3 -0
- package/docs/src/app/layout/container/overview.md +5 -0
- package/docs/src/app/layout/grid/examples/overview.html +12 -0
- package/docs/src/app/layout/grid/grid.component.pug +47 -0
- package/docs/src/app/layout/grid/grid.component.scss +0 -0
- package/docs/src/app/layout/grid/grid.component.ts +26 -0
- package/docs/src/app/shared/states.model.ts +61 -0
- package/docs/src/app/utilities/background-colors/background-colors.component.pug +9 -0
- package/docs/src/app/utilities/background-colors/background-colors.component.scss +0 -0
- package/docs/src/app/utilities/background-colors/background-colors.component.ts +27 -0
- package/docs/src/app/utilities/background-colors/examples/colors.html +31 -0
- package/docs/src/app/utilities/dividers/dividers.component.pug +37 -0
- package/docs/src/app/utilities/dividers/dividers.component.scss +0 -0
- package/docs/src/app/utilities/dividers/dividers.component.ts +29 -0
- package/docs/src/app/utilities/dividers/examples/no-margin.html +9 -0
- package/docs/src/app/utilities/dividers/examples/usage.html +21 -0
- package/docs/src/app/utilities/text-and-background-colors/examples/colors.html +30 -0
- package/docs/src/app/utilities/text-and-background-colors/text-and-background-colors.component.pug +9 -0
- 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 +26 -0
- package/docs/src/app/utilities/text-colors/examples/colors.html +39 -0
- package/docs/src/app/utilities/text-colors/text-colors.component.pug +9 -0
- package/docs/src/app/utilities/text-colors/text-colors.component.scss +0 -0
- package/docs/src/app/utilities/text-colors/text-colors.component.ts +28 -0
- package/docs/src/app/utilities/text-emphasis/examples/usage.html +17 -0
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.pug +5 -0
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.scss +0 -0
- package/docs/src/app/utilities/text-emphasis/text-emphasis.component.ts +19 -0
- package/docs/src/favicon.ico +0 -0
- package/docs/src/index.html +20 -0
- package/docs/src/main.ts +13 -0
- package/docs/src/styles.scss +129 -0
- package/docs/tsconfig.app.json +14 -0
- package/docs/tsconfig.json +40 -0
- package/eslint.config.mjs +457 -0
- package/gulp-tasks/docs-api.js +76 -0
- package/gulp-tasks/docs.js +59 -0
- package/gulp-tasks/sass.js +31 -0
- package/gulp-tasks/scripts.js +52 -0
- package/gulpfile.js +3 -0
- package/index.html +11 -0
- package/package.json +1 -1
- package/remove-scripts-from-package.js +9 -0
- package/rollup.config.js +42 -0
- package/src/app-bar/top-app-bar.styles.scss +108 -0
- package/src/app-bar/top-app-bar.ts +198 -0
- package/src/button/button-base.styles.scss +12 -0
- package/src/button/button-base.ts +57 -0
- package/src/button/button-set.styles.scss +16 -0
- package/src/button/button-set.ts +23 -0
- package/src/button/button.styles.scss +104 -0
- package/src/button/button.ts +60 -0
- package/src/button/fab.styles.scss +90 -0
- package/src/button/fab.ts +54 -0
- package/src/button/icon-button.styles.scss +80 -0
- package/src/button/icon-button.ts +75 -0
- package/src/button-field/button-field.styles.scss +13 -0
- package/src/button-field/button-field.ts +53 -0
- package/src/calendar/calendar-adapter.ts +5 -0
- package/src/calendar/calendar-base.styles.scss +82 -0
- package/src/calendar/calendar-base.ts +225 -0
- package/src/calendar/calendar.styles.scss +0 -0
- package/src/calendar/calendar.ts +44 -0
- package/src/calendar/default-calendar-adapter.ts +40 -0
- package/src/calendar/range-calendar.styles.scss +119 -0
- package/src/calendar/range-calendar.ts +135 -0
- package/src/card/card-content.styles.scss +15 -0
- package/src/card/card-content.ts +45 -0
- package/src/card/card-media.styles.scss +9 -0
- package/src/card/card-media.ts +24 -0
- package/src/card/card.styles.scss +30 -0
- package/src/card/card.ts +38 -0
- package/src/checkbox/checkbox-list-item.ts +15 -0
- package/src/checkbox/checkbox.styles.scss +69 -0
- package/src/checkbox/checkbox.ts +64 -0
- package/src/chip/chip-set.styles.scss +3 -0
- package/src/chip/chip-set.ts +15 -0
- package/src/chip/chip.styles.scss +185 -0
- package/src/chip/chip.ts +186 -0
- package/src/chip-field/chip-field.styles.scss +22 -0
- package/src/chip-field/chip-field.ts +182 -0
- package/src/config.ts +28 -0
- package/src/datepicker/datepicker.styles.scss +0 -0
- package/src/datepicker/datepicker.ts +0 -0
- package/src/dialog/confirm-dialog-builder.ts +43 -0
- package/src/dialog/dialog-builder.ts +57 -0
- package/src/dialog/dialog-button-def.ts +6 -0
- package/src/dialog/dialog.styles.scss +176 -0
- package/src/dialog/dialog.ts +255 -0
- package/src/dialog/message-dialog-builder.ts +25 -0
- package/src/elevation/elevation.styles.scss +31 -0
- package/src/elevation/elevation.ts +20 -0
- package/src/field/field-base.styles.scss +429 -0
- package/src/field/field-base.ts +184 -0
- package/src/field/field-defaults-context.ts +5 -0
- package/src/field/field-defaults.ts +5 -0
- package/src/field/field-variant.ts +1 -0
- package/src/field/field.ts +48 -0
- package/src/index.ts +81 -0
- package/src/list/list-item.styles.scss +38 -0
- package/src/list/list-item.ts +39 -0
- package/src/list/list.styles.scss +4 -0
- package/src/list/list.ts +19 -0
- package/src/menu/menu-item.styles.scss +50 -0
- package/src/menu/menu-item.ts +101 -0
- package/src/menu/menu.styles.scss +70 -0
- package/src/menu/menu.ts +423 -0
- package/src/navigation/_side-navigation-base.styles.scss +101 -0
- package/src/navigation/drawer-item.styles.scss +49 -0
- package/src/navigation/drawer-item.ts +94 -0
- package/src/navigation/drawer.styles.scss +21 -0
- package/src/navigation/drawer.ts +27 -0
- package/src/navigation/side-navigation-swiper.styles.scss +53 -0
- package/src/navigation/side-navigation.styles.scss +47 -0
- package/src/navigation/side-navigation.ts +149 -0
- package/src/progress/circular-progress.styles.scss +83 -0
- package/src/progress/circular-progress.ts +83 -0
- package/src/progress/progress-bar.styles.scss +159 -0
- package/src/progress/progress-bar.ts +50 -0
- package/src/radio/radio-list-item.ts +15 -0
- package/src/radio/radio.styles.scss +34 -0
- package/src/radio/radio.ts +164 -0
- package/src/ripple/ripple.styles.scss +81 -0
- package/src/ripple/ripple.ts +158 -0
- package/src/select/extended-option.ts +3 -0
- package/src/select/extended-select.ts +6 -0
- package/src/select/option.styles.scss +16 -0
- package/src/select/option.ts +165 -0
- package/src/select/select-navigation-controller.ts +113 -0
- package/src/select/select.styles.scss +36 -0
- package/src/select/select.ts +333 -0
- package/src/shared/base.styles.scss +29 -0
- package/src/shared/button-wrapper.styles.scss +64 -0
- package/src/shared/button-wrapper.ts +144 -0
- package/src/shared/char-count-text-field/native-text-field-wrapper.ts +54 -0
- package/src/shared/compare-text.ts +6 -0
- package/src/shared/events/dispatch-event.ts +0 -0
- package/src/shared/events/redispatch-event.ts +16 -0
- package/src/shared/extract-template-html.ts +9 -0
- package/src/shared/menu-field/menu-field-navigation-controller.ts +152 -0
- package/src/shared/menu-field/menu-field.ts +7 -0
- package/src/shared/mixin-attribute-properties.ts +33 -0
- package/src/shared/mixin.ts +11 -0
- package/src/shared/normalize-text.ts +9 -0
- package/src/shared/selection-control/checkbox-base.ts +5 -0
- package/src/shared/selection-control/selection-control-list-item.ts +44 -0
- package/src/shared/selection-control/selection-control.styles.scss +74 -0
- package/src/shared/selection-control/selection-control.ts +180 -0
- package/src/shared/sets/set-base.styles.scss +18 -0
- package/src/shared/sets/set-base.ts +21 -0
- package/src/shared/text-field-base/text-field-base.styles.scss +11 -0
- package/src/shared/text-field-base/text-field-base.ts +36 -0
- package/src/snackbar/snackbar.styles.scss +88 -0
- package/src/snackbar/snackbar.ts +156 -0
- package/src/switch/switch-list-item.ts +15 -0
- package/src/switch/switch.styles.scss +87 -0
- package/src/switch/switch.ts +32 -0
- package/src/tab-bar/tab-bar.styles.scss +77 -0
- package/src/tab-bar/tab-bar.ts +232 -0
- package/src/tab-bar/tab.styles.scss +53 -0
- package/src/tab-bar/tab.ts +113 -0
- package/src/text-area/text-area.styles.scss +46 -0
- package/src/text-area/text-area.ts +46 -0
- package/src/text-field/text-field.styles.scss +55 -0
- package/src/text-field/text-field.ts +57 -0
- package/src/theme/color.ts +6 -0
- package/src/theme/css-var-builder.ts +39 -0
- package/src/theme/index.ts +1 -0
- package/src/theme/neutral-colors.ts +26 -0
- package/src/theme/theme-builder.ts +197 -0
- package/src/theme/theme-color.ts +7 -0
- package/src/typeahead/highlight.styles.scss +3 -0
- package/src/typeahead/highlight.ts +79 -0
- package/src/typeahead/typeahead.styles.scss +9 -0
- package/src/typeahead/typeahead.ts +440 -0
- package/tsconfig.json +49 -0
- package/vendor/ngx-pug-builders-19.0.0.tgz +0 -0
- package/web-dev-server.config.js +25 -0
- package/web-test-runner.config.js +120 -0
- package/app-bar/top-app-bar.d.ts +0 -47
- package/app-bar/top-app-bar.d.ts.map +0 -1
- package/app-bar/top-app-bar.js +0 -174
- package/app-bar/top-app-bar.js.map +0 -1
- package/app-bar/top-app-bar.styles.d.ts +0 -2
- package/app-bar/top-app-bar.styles.d.ts.map +0 -1
- package/app-bar/top-app-bar.styles.js +0 -117
- package/app-bar/top-app-bar.styles.js.map +0 -1
- package/button/button-base.d.ts +0 -12
- package/button/button-base.d.ts.map +0 -1
- package/button/button-base.js +0 -46
- package/button/button-base.js.map +0 -1
- package/button/button-base.styles.d.ts +0 -2
- package/button/button-base.styles.d.ts.map +0 -1
- package/button/button-base.styles.js +0 -16
- package/button/button-base.styles.js.map +0 -1
- package/button/button-set.d.ts +0 -15
- package/button/button-set.d.ts.map +0 -1
- package/button/button-set.js +0 -23
- package/button/button-set.js.map +0 -1
- package/button/button-set.styles.d.ts +0 -2
- package/button/button-set.styles.d.ts.map +0 -1
- package/button/button-set.styles.js +0 -20
- package/button/button-set.styles.js.map +0 -1
- package/button/button.d.ts +0 -33
- package/button/button.d.ts.map +0 -1
- package/button/button.js +0 -55
- package/button/button.js.map +0 -1
- package/button/button.styles.d.ts +0 -2
- package/button/button.styles.d.ts.map +0 -1
- package/button/button.styles.js +0 -103
- package/button/button.styles.js.map +0 -1
- package/button/fab.d.ts +0 -31
- package/button/fab.d.ts.map +0 -1
- package/button/fab.js +0 -57
- package/button/fab.js.map +0 -1
- package/button/fab.styles.d.ts +0 -2
- package/button/fab.styles.d.ts.map +0 -1
- package/button/fab.styles.js +0 -89
- package/button/fab.styles.js.map +0 -1
- package/button/icon-button.d.ts +0 -34
- package/button/icon-button.d.ts.map +0 -1
- package/button/icon-button.js +0 -75
- package/button/icon-button.js.map +0 -1
- package/button/icon-button.styles.d.ts +0 -2
- package/button/icon-button.styles.d.ts.map +0 -1
- package/button/icon-button.styles.js +0 -77
- package/button/icon-button.styles.js.map +0 -1
- package/button-field/button-field.d.ts +0 -18
- package/button-field/button-field.d.ts.map +0 -1
- package/button-field/button-field.js +0 -54
- package/button-field/button-field.js.map +0 -1
- package/button-field/button-field.styles.d.ts +0 -2
- package/button-field/button-field.styles.d.ts.map +0 -1
- package/button-field/button-field.styles.js +0 -17
- package/button-field/button-field.styles.js.map +0 -1
- package/calendar/calendar-adapter.d.ts +0 -6
- package/calendar/calendar-adapter.d.ts.map +0 -1
- package/calendar/calendar-adapter.js +0 -2
- package/calendar/calendar-adapter.js.map +0 -1
- package/calendar/calendar-base.d.ts +0 -30
- package/calendar/calendar-base.d.ts.map +0 -1
- package/calendar/calendar-base.js +0 -188
- package/calendar/calendar-base.js.map +0 -1
- package/calendar/calendar-base.styles.d.ts +0 -2
- package/calendar/calendar-base.styles.d.ts.map +0 -1
- package/calendar/calendar-base.styles.js +0 -81
- package/calendar/calendar-base.styles.js.map +0 -1
- package/calendar/calendar.d.ts +0 -11
- package/calendar/calendar.d.ts.map +0 -1
- package/calendar/calendar.js +0 -43
- package/calendar/calendar.js.map +0 -1
- package/calendar/calendar.styles.d.ts +0 -2
- package/calendar/calendar.styles.d.ts.map +0 -1
- package/calendar/calendar.styles.js +0 -5
- package/calendar/calendar.styles.js.map +0 -1
- package/calendar/default-calendar-adapter.d.ts +0 -10
- package/calendar/default-calendar-adapter.d.ts.map +0 -1
- package/calendar/default-calendar-adapter.js +0 -32
- package/calendar/default-calendar-adapter.js.map +0 -1
- package/calendar/range-calendar.d.ts +0 -16
- package/calendar/range-calendar.d.ts.map +0 -1
- package/calendar/range-calendar.js +0 -113
- package/calendar/range-calendar.js.map +0 -1
- package/calendar/range-calendar.styles.d.ts +0 -2
- package/calendar/range-calendar.styles.d.ts.map +0 -1
- package/calendar/range-calendar.styles.js +0 -41
- package/calendar/range-calendar.styles.js.map +0 -1
- package/card/card-content.d.ts +0 -13
- package/card/card-content.d.ts.map +0 -1
- package/card/card-content.js +0 -39
- package/card/card-content.js.map +0 -1
- package/card/card-content.styles.d.ts +0 -2
- package/card/card-content.styles.d.ts.map +0 -1
- package/card/card-content.styles.js +0 -19
- package/card/card-content.styles.js.map +0 -1
- package/card/card-media.d.ts +0 -12
- package/card/card-media.d.ts.map +0 -1
- package/card/card-media.js +0 -24
- package/card/card-media.js.map +0 -1
- package/card/card-media.styles.d.ts +0 -2
- package/card/card-media.styles.d.ts.map +0 -1
- package/card/card-media.styles.js +0 -13
- package/card/card-media.styles.js.map +0 -1
- package/card/card.d.ts +0 -19
- package/card/card.d.ts.map +0 -1
- package/card/card.js +0 -36
- package/card/card.js.map +0 -1
- package/card/card.styles.d.ts +0 -2
- package/card/card.styles.d.ts.map +0 -1
- package/card/card.styles.js +0 -31
- package/card/card.styles.js.map +0 -1
- package/checkbox/checkbox-list-item.d.ts +0 -11
- package/checkbox/checkbox-list-item.d.ts.map +0 -1
- package/checkbox/checkbox-list-item.js +0 -11
- package/checkbox/checkbox-list-item.js.map +0 -1
- package/checkbox/checkbox.d.ts +0 -21
- package/checkbox/checkbox.d.ts.map +0 -1
- package/checkbox/checkbox.js +0 -53
- package/checkbox/checkbox.js.map +0 -1
- package/checkbox/checkbox.styles.d.ts +0 -2
- package/checkbox/checkbox.styles.d.ts.map +0 -1
- package/checkbox/checkbox.styles.js +0 -62
- package/checkbox/checkbox.styles.js.map +0 -1
- package/chip/chip-set.d.ts +0 -10
- package/chip/chip-set.d.ts.map +0 -1
- package/chip/chip-set.js +0 -12
- package/chip/chip-set.js.map +0 -1
- package/chip/chip-set.styles.d.ts +0 -2
- package/chip/chip-set.styles.d.ts.map +0 -1
- package/chip/chip-set.styles.js +0 -7
- package/chip/chip-set.styles.js.map +0 -1
- package/chip/chip.d.ts +0 -64
- package/chip/chip.d.ts.map +0 -1
- package/chip/chip.js +0 -187
- package/chip/chip.js.map +0 -1
- package/chip/chip.styles.d.ts +0 -2
- package/chip/chip.styles.d.ts.map +0 -1
- package/chip/chip.styles.js +0 -168
- package/chip/chip.styles.js.map +0 -1
- package/chip-field/chip-field.d.ts +0 -42
- package/chip-field/chip-field.d.ts.map +0 -1
- package/chip-field/chip-field.js +0 -145
- package/chip-field/chip-field.js.map +0 -1
- package/chip-field/chip-field.styles.d.ts +0 -2
- package/chip-field/chip-field.styles.d.ts.map +0 -1
- package/chip-field/chip-field.styles.js +0 -22
- package/chip-field/chip-field.styles.js.map +0 -1
- package/config.d.ts +0 -16
- package/config.d.ts.map +0 -1
- package/config.js +0 -25
- package/config.js.map +0 -1
- package/custom-elements.json +0 -21401
- package/datepicker/datepicker.d.ts +0 -1
- package/datepicker/datepicker.d.ts.map +0 -1
- package/datepicker/datepicker.js +0 -2
- package/datepicker/datepicker.js.map +0 -1
- package/datepicker/datepicker.styles.d.ts +0 -2
- package/datepicker/datepicker.styles.d.ts.map +0 -1
- package/datepicker/datepicker.styles.js +0 -5
- package/datepicker/datepicker.styles.js.map +0 -1
- package/dialog/confirm-dialog-builder.d.ts +0 -12
- package/dialog/confirm-dialog-builder.d.ts.map +0 -1
- package/dialog/confirm-dialog-builder.js +0 -26
- package/dialog/confirm-dialog-builder.js.map +0 -1
- package/dialog/dialog-builder.d.ts +0 -15
- package/dialog/dialog-builder.d.ts.map +0 -1
- package/dialog/dialog-builder.js +0 -42
- package/dialog/dialog-builder.js.map +0 -1
- package/dialog/dialog-button-def.d.ts +0 -6
- package/dialog/dialog-button-def.d.ts.map +0 -1
- package/dialog/dialog-button-def.js +0 -2
- package/dialog/dialog-button-def.js.map +0 -1
- package/dialog/dialog.d.ts +0 -44
- package/dialog/dialog.d.ts.map +0 -1
- package/dialog/dialog.js +0 -216
- package/dialog/dialog.js.map +0 -1
- package/dialog/dialog.styles.d.ts +0 -2
- package/dialog/dialog.styles.d.ts.map +0 -1
- package/dialog/dialog.styles.js +0 -165
- package/dialog/dialog.styles.js.map +0 -1
- package/dialog/message-dialog-builder.d.ts +0 -10
- package/dialog/message-dialog-builder.d.ts.map +0 -1
- package/dialog/message-dialog-builder.js +0 -16
- package/dialog/message-dialog-builder.js.map +0 -1
- package/elevation/elevation.d.ts +0 -11
- package/elevation/elevation.d.ts.map +0 -1
- package/elevation/elevation.js +0 -16
- package/elevation/elevation.js.map +0 -1
- package/elevation/elevation.styles.d.ts +0 -2
- package/elevation/elevation.styles.d.ts.map +0 -1
- package/elevation/elevation.styles.js +0 -28
- package/elevation/elevation.styles.js.map +0 -1
- package/field/field-base.d.ts +0 -68
- package/field/field-base.d.ts.map +0 -1
- package/field/field-base.js +0 -174
- package/field/field-base.js.map +0 -1
- package/field/field-base.styles.d.ts +0 -2
- package/field/field-base.styles.d.ts.map +0 -1
- package/field/field-base.styles.js +0 -372
- package/field/field-base.styles.js.map +0 -1
- package/field/field-defaults-context.d.ts +0 -5
- package/field/field-defaults-context.d.ts.map +0 -1
- package/field/field-defaults-context.js +0 -3
- package/field/field-defaults-context.js.map +0 -1
- package/field/field-defaults.d.ts +0 -5
- package/field/field-defaults.d.ts.map +0 -1
- package/field/field-defaults.js +0 -2
- package/field/field-defaults.js.map +0 -1
- package/field/field-variant.d.ts +0 -2
- package/field/field-variant.d.ts.map +0 -1
- package/field/field-variant.js +0 -2
- package/field/field-variant.js.map +0 -1
- package/field/field.d.ts +0 -15
- package/field/field.d.ts.map +0 -1
- package/field/field.js +0 -44
- package/field/field.js.map +0 -1
- package/index.d.ts +0 -80
- package/index.d.ts.map +0 -1
- package/index.js +0 -80
- package/index.js.map +0 -1
- package/list/list-item.d.ts +0 -13
- package/list/list-item.d.ts.map +0 -1
- package/list/list-item.js +0 -38
- package/list/list-item.js.map +0 -1
- package/list/list-item.styles.d.ts +0 -2
- package/list/list-item.styles.d.ts.map +0 -1
- package/list/list-item.styles.js +0 -48
- package/list/list-item.styles.js.map +0 -1
- package/list/list.d.ts +0 -11
- package/list/list.d.ts.map +0 -1
- package/list/list.js +0 -15
- package/list/list.js.map +0 -1
- package/list/list.styles.d.ts +0 -2
- package/list/list.styles.d.ts.map +0 -1
- package/list/list.styles.js +0 -8
- package/list/list.styles.js.map +0 -1
- package/menu/menu-item.d.ts +0 -40
- package/menu/menu-item.d.ts.map +0 -1
- package/menu/menu-item.js +0 -98
- package/menu/menu-item.js.map +0 -1
- package/menu/menu-item.styles.d.ts +0 -2
- package/menu/menu-item.styles.d.ts.map +0 -1
- package/menu/menu-item.styles.js +0 -54
- package/menu/menu-item.styles.js.map +0 -1
- package/menu/menu.d.ts +0 -48
- package/menu/menu.d.ts.map +0 -1
- package/menu/menu.js +0 -328
- package/menu/menu.js.map +0 -1
- package/menu/menu.styles.d.ts +0 -2
- package/menu/menu.styles.d.ts.map +0 -1
- package/menu/menu.styles.js +0 -69
- package/menu/menu.styles.js.map +0 -1
- package/navigation/drawer-item.d.ts +0 -40
- package/navigation/drawer-item.d.ts.map +0 -1
- package/navigation/drawer-item.js +0 -94
- package/navigation/drawer-item.js.map +0 -1
- package/navigation/drawer-item.styles.d.ts +0 -2
- package/navigation/drawer-item.styles.d.ts.map +0 -1
- package/navigation/drawer-item.styles.js +0 -52
- package/navigation/drawer-item.styles.js.map +0 -1
- package/navigation/drawer.d.ts +0 -11
- package/navigation/drawer.d.ts.map +0 -1
- package/navigation/drawer.js +0 -23
- package/navigation/drawer.js.map +0 -1
- package/navigation/drawer.styles.d.ts +0 -2
- package/navigation/drawer.styles.d.ts.map +0 -1
- package/navigation/drawer.styles.js +0 -22
- package/navigation/drawer.styles.js.map +0 -1
- package/navigation/side-navigation-swiper.styles.d.ts +0 -2
- package/navigation/side-navigation-swiper.styles.d.ts.map +0 -1
- package/navigation/side-navigation-swiper.styles.js +0 -131
- package/navigation/side-navigation-swiper.styles.js.map +0 -1
- package/navigation/side-navigation.d.ts +0 -33
- package/navigation/side-navigation.d.ts.map +0 -1
- package/navigation/side-navigation.js +0 -138
- package/navigation/side-navigation.js.map +0 -1
- package/navigation/side-navigation.styles.d.ts +0 -2
- package/navigation/side-navigation.styles.d.ts.map +0 -1
- package/navigation/side-navigation.styles.js +0 -124
- package/navigation/side-navigation.styles.js.map +0 -1
- package/progress/circular-progress.d.ts +0 -14
- package/progress/circular-progress.d.ts.map +0 -1
- package/progress/circular-progress.js +0 -80
- package/progress/circular-progress.js.map +0 -1
- package/progress/circular-progress.styles.d.ts +0 -2
- package/progress/circular-progress.styles.d.ts.map +0 -1
- package/progress/circular-progress.styles.js +0 -75
- package/progress/circular-progress.styles.js.map +0 -1
- package/progress/progress-bar.d.ts +0 -14
- package/progress/progress-bar.d.ts.map +0 -1
- package/progress/progress-bar.js +0 -49
- package/progress/progress-bar.js.map +0 -1
- package/progress/progress-bar.styles.d.ts +0 -2
- package/progress/progress-bar.styles.d.ts.map +0 -1
- package/progress/progress-bar.styles.js +0 -152
- package/progress/progress-bar.styles.js.map +0 -1
- package/radio/radio-list-item.d.ts +0 -11
- package/radio/radio-list-item.d.ts.map +0 -1
- package/radio/radio-list-item.js +0 -11
- package/radio/radio-list-item.js.map +0 -1
- package/radio/radio.d.ts +0 -24
- package/radio/radio.d.ts.map +0 -1
- package/radio/radio.js +0 -125
- package/radio/radio.js.map +0 -1
- package/radio/radio.styles.d.ts +0 -2
- package/radio/radio.styles.d.ts.map +0 -1
- package/radio/radio.styles.js +0 -33
- package/radio/radio.styles.js.map +0 -1
- package/ripple/ripple.d.ts +0 -28
- package/ripple/ripple.d.ts.map +0 -1
- package/ripple/ripple.js +0 -120
- package/ripple/ripple.js.map +0 -1
- package/ripple/ripple.styles.d.ts +0 -2
- package/ripple/ripple.styles.d.ts.map +0 -1
- package/ripple/ripple.styles.js +0 -74
- package/ripple/ripple.styles.js.map +0 -1
- package/select/extended-option.d.ts +0 -5
- package/select/extended-option.d.ts.map +0 -1
- package/select/extended-option.js +0 -2
- package/select/extended-option.js.map +0 -1
- package/select/extended-select.d.ts +0 -6
- package/select/extended-select.d.ts.map +0 -1
- package/select/extended-select.js +0 -2
- package/select/extended-select.js.map +0 -1
- package/select/option.d.ts +0 -27
- package/select/option.d.ts.map +0 -1
- package/select/option.js +0 -132
- package/select/option.js.map +0 -1
- package/select/option.styles.d.ts +0 -2
- package/select/option.styles.d.ts.map +0 -1
- package/select/option.styles.js +0 -15
- package/select/option.styles.js.map +0 -1
- package/select/select-navigation-controller.d.ts +0 -14
- package/select/select-navigation-controller.d.ts.map +0 -1
- package/select/select-navigation-controller.js +0 -82
- package/select/select-navigation-controller.js.map +0 -1
- package/select/select.d.ts +0 -47
- package/select/select.d.ts.map +0 -1
- package/select/select.js +0 -268
- package/select/select.js.map +0 -1
- package/select/select.styles.d.ts +0 -2
- package/select/select.styles.d.ts.map +0 -1
- package/select/select.styles.js +0 -39
- package/select/select.styles.js.map +0 -1
- package/shared/base.styles.d.ts +0 -2
- package/shared/base.styles.d.ts.map +0 -1
- package/shared/base.styles.js +0 -31
- package/shared/base.styles.js.map +0 -1
- package/shared/button-wrapper.d.ts +0 -39
- package/shared/button-wrapper.d.ts.map +0 -1
- package/shared/button-wrapper.js +0 -123
- package/shared/button-wrapper.js.map +0 -1
- package/shared/button-wrapper.styles.d.ts +0 -2
- package/shared/button-wrapper.styles.d.ts.map +0 -1
- package/shared/button-wrapper.styles.js +0 -63
- package/shared/button-wrapper.styles.js.map +0 -1
- package/shared/char-count-text-field/native-text-field-wrapper.d.ts +0 -15
- package/shared/char-count-text-field/native-text-field-wrapper.d.ts.map +0 -1
- package/shared/char-count-text-field/native-text-field-wrapper.js +0 -54
- package/shared/char-count-text-field/native-text-field-wrapper.js.map +0 -1
- package/shared/compare-text.d.ts +0 -2
- package/shared/compare-text.d.ts.map +0 -1
- package/shared/compare-text.js +0 -5
- package/shared/compare-text.js.map +0 -1
- package/shared/events/dispatch-event.d.ts +0 -1
- package/shared/events/dispatch-event.d.ts.map +0 -1
- package/shared/events/dispatch-event.js +0 -2
- package/shared/events/dispatch-event.js.map +0 -1
- package/shared/events/redispatch-event.d.ts +0 -2
- package/shared/events/redispatch-event.d.ts.map +0 -1
- package/shared/events/redispatch-event.js +0 -14
- package/shared/events/redispatch-event.js.map +0 -1
- package/shared/extract-template-html.d.ts +0 -2
- package/shared/extract-template-html.d.ts.map +0 -1
- package/shared/extract-template-html.js +0 -8
- package/shared/extract-template-html.js.map +0 -1
- package/shared/menu-field/menu-field-navigation-controller.d.ts +0 -20
- package/shared/menu-field/menu-field-navigation-controller.d.ts.map +0 -1
- package/shared/menu-field/menu-field-navigation-controller.js +0 -108
- package/shared/menu-field/menu-field-navigation-controller.js.map +0 -1
- package/shared/menu-field/menu-field.d.ts +0 -7
- package/shared/menu-field/menu-field.d.ts.map +0 -1
- package/shared/menu-field/menu-field.js +0 -2
- package/shared/menu-field/menu-field.js.map +0 -1
- package/shared/mixin-attribute-properties.d.ts +0 -4
- package/shared/mixin-attribute-properties.d.ts.map +0 -1
- package/shared/mixin-attribute-properties.js +0 -27
- package/shared/mixin-attribute-properties.js.map +0 -1
- package/shared/mixin.d.ts +0 -3
- package/shared/mixin.d.ts.map +0 -1
- package/shared/mixin.js +0 -2
- package/shared/mixin.js.map +0 -1
- package/shared/normalize-text.d.ts +0 -2
- package/shared/normalize-text.d.ts.map +0 -1
- package/shared/normalize-text.js +0 -9
- package/shared/normalize-text.js.map +0 -1
- package/shared/selection-control/checkbox-base.d.ts +0 -1
- package/shared/selection-control/checkbox-base.d.ts.map +0 -1
- package/shared/selection-control/checkbox-base.js +0 -7
- package/shared/selection-control/checkbox-base.js.map +0 -1
- package/shared/selection-control/selection-control-list-item.d.ts +0 -4
- package/shared/selection-control/selection-control-list-item.d.ts.map +0 -1
- package/shared/selection-control/selection-control-list-item.js +0 -44
- package/shared/selection-control/selection-control-list-item.js.map +0 -1
- package/shared/selection-control/selection-control.d.ts +0 -36
- package/shared/selection-control/selection-control.d.ts.map +0 -1
- package/shared/selection-control/selection-control.js +0 -155
- package/shared/selection-control/selection-control.js.map +0 -1
- package/shared/selection-control/selection-control.styles.d.ts +0 -2
- package/shared/selection-control/selection-control.styles.d.ts.map +0 -1
- package/shared/selection-control/selection-control.styles.js +0 -67
- package/shared/selection-control/selection-control.styles.js.map +0 -1
- package/shared/sets/set-base.d.ts +0 -11
- package/shared/sets/set-base.d.ts.map +0 -1
- package/shared/sets/set-base.js +0 -22
- package/shared/sets/set-base.js.map +0 -1
- package/shared/sets/set-base.styles.d.ts +0 -2
- package/shared/sets/set-base.styles.d.ts.map +0 -1
- package/shared/sets/set-base.styles.js +0 -22
- package/shared/sets/set-base.styles.js.map +0 -1
- package/shared/text-field-base/text-field-base.d.ts +0 -16
- package/shared/text-field-base/text-field-base.d.ts.map +0 -1
- package/shared/text-field-base/text-field-base.js +0 -29
- package/shared/text-field-base/text-field-base.js.map +0 -1
- package/shared/text-field-base/text-field-base.styles.d.ts +0 -2
- package/shared/text-field-base/text-field-base.styles.d.ts.map +0 -1
- package/shared/text-field-base/text-field-base.styles.js +0 -11
- package/shared/text-field-base/text-field-base.styles.js.map +0 -1
- package/snackbar/snackbar.d.ts +0 -40
- package/snackbar/snackbar.d.ts.map +0 -1
- package/snackbar/snackbar.js +0 -133
- package/snackbar/snackbar.js.map +0 -1
- package/snackbar/snackbar.styles.d.ts +0 -2
- package/snackbar/snackbar.styles.d.ts.map +0 -1
- package/snackbar/snackbar.styles.js +0 -81
- package/snackbar/snackbar.styles.js.map +0 -1
- package/switch/switch-list-item.d.ts +0 -11
- package/switch/switch-list-item.d.ts.map +0 -1
- package/switch/switch-list-item.js +0 -11
- package/switch/switch-list-item.js.map +0 -1
- package/switch/switch.d.ts +0 -14
- package/switch/switch.d.ts.map +0 -1
- package/switch/switch.js +0 -26
- package/switch/switch.js.map +0 -1
- package/switch/switch.styles.d.ts +0 -2
- package/switch/switch.styles.d.ts.map +0 -1
- package/switch/switch.styles.js +0 -78
- package/switch/switch.styles.js.map +0 -1
- package/tab-bar/tab-bar.d.ts +0 -28
- package/tab-bar/tab-bar.d.ts.map +0 -1
- package/tab-bar/tab-bar.js +0 -200
- package/tab-bar/tab-bar.js.map +0 -1
- package/tab-bar/tab-bar.styles.d.ts +0 -2
- package/tab-bar/tab-bar.styles.d.ts.map +0 -1
- package/tab-bar/tab-bar.styles.js +0 -72
- package/tab-bar/tab-bar.styles.js.map +0 -1
- package/tab-bar/tab.d.ts +0 -22
- package/tab-bar/tab.d.ts.map +0 -1
- package/tab-bar/tab.js +0 -91
- package/tab-bar/tab.js.map +0 -1
- package/tab-bar/tab.styles.d.ts +0 -2
- package/tab-bar/tab.styles.d.ts.map +0 -1
- package/tab-bar/tab.styles.js +0 -56
- package/tab-bar/tab.styles.js.map +0 -1
- package/text-area/text-area.d.ts +0 -15
- package/text-area/text-area.d.ts.map +0 -1
- package/text-area/text-area.js +0 -46
- package/text-area/text-area.js.map +0 -1
- package/text-area/text-area.styles.d.ts +0 -2
- package/text-area/text-area.styles.d.ts.map +0 -1
- package/text-area/text-area.styles.js +0 -39
- package/text-area/text-area.styles.js.map +0 -1
- package/text-field/text-field.d.ts +0 -19
- package/text-field/text-field.d.ts.map +0 -1
- package/text-field/text-field.js +0 -66
- package/text-field/text-field.js.map +0 -1
- package/text-field/text-field.styles.d.ts +0 -2
- package/text-field/text-field.styles.d.ts.map +0 -1
- package/text-field/text-field.styles.js +0 -41
- package/text-field/text-field.styles.js.map +0 -1
- package/theme/color.d.ts +0 -7
- package/theme/color.d.ts.map +0 -1
- package/theme/color.js +0 -2
- package/theme/color.js.map +0 -1
- package/theme/css-var-builder.d.ts +0 -10
- package/theme/css-var-builder.d.ts.map +0 -1
- package/theme/css-var-builder.js +0 -27
- package/theme/css-var-builder.js.map +0 -1
- package/theme/index.d.ts +0 -2
- package/theme/index.d.ts.map +0 -1
- package/theme/index.js +0 -2
- package/theme/index.js.map +0 -1
- package/theme/neutral-colors.d.ts +0 -4
- package/theme/neutral-colors.d.ts.map +0 -1
- package/theme/neutral-colors.js +0 -24
- package/theme/neutral-colors.js.map +0 -1
- package/theme/theme-builder.d.ts +0 -26
- package/theme/theme-builder.d.ts.map +0 -1
- package/theme/theme-builder.js +0 -146
- package/theme/theme-builder.js.map +0 -1
- package/theme/theme-color.d.ts +0 -6
- package/theme/theme-color.d.ts.map +0 -1
- package/theme/theme-color.js +0 -2
- package/theme/theme-color.js.map +0 -1
- package/typeahead/highlight.d.ts +0 -24
- package/typeahead/highlight.d.ts.map +0 -1
- package/typeahead/highlight.js +0 -69
- package/typeahead/highlight.js.map +0 -1
- package/typeahead/highlight.styles.d.ts +0 -2
- package/typeahead/highlight.styles.d.ts.map +0 -1
- package/typeahead/highlight.styles.js +0 -7
- package/typeahead/highlight.styles.js.map +0 -1
- package/typeahead/typeahead.d.ts +0 -94
- package/typeahead/typeahead.d.ts.map +0 -1
- package/typeahead/typeahead.js +0 -362
- package/typeahead/typeahead.js.map +0 -1
- package/typeahead/typeahead.styles.d.ts +0 -2
- package/typeahead/typeahead.styles.d.ts.map +0 -1
- package/typeahead/typeahead.styles.js +0 -11
- package/typeahead/typeahead.styles.js.map +0 -1
- /package/{scss → src/scss}/_api.scss +0 -0
- /package/{scss → src/scss}/_colors.scss +0 -0
- /package/{scss → src/scss}/_css-vars.scss +0 -0
- /package/{scss → src/scss}/_functions.scss +0 -0
- /package/{scss → src/scss}/_global.scss +0 -0
- /package/{scss → src/scss}/_layout.scss +0 -0
- /package/{scss → src/scss}/_mixins.scss +0 -0
- /package/{scss → src/scss}/_reboot.scss +0 -0
- /package/{scss → src/scss}/_utilities.scss +0 -0
- /package/{scss → src/scss}/_variables.scss +0 -0
- /package/{scss → src/scss}/colors/_text-bg.scss +0 -0
- /package/{scss → src/scss}/colors/_text.scss +0 -0
- /package/{scss → src/scss}/functions/_font.scss +0 -0
- /package/{scss → src/scss}/layout/_container.scss +0 -0
- /package/{scss → src/scss}/layout/_grid.scss +0 -0
- /package/{scss → src/scss}/layout/_margin-and-gutters.scss +0 -0
- /package/{scss → src/scss}/mixins/_breakpoints.scss +0 -0
- /package/{scss → src/scss}/mixins/_colors.scss +0 -0
- /package/{scss → src/scss}/mixins/_text-bg.scss +0 -0
- /package/{scss → src/scss}/mixins/_typo.scss +0 -0
- /package/{scss → src/scss}/table/_table.scss +0 -0
- /package/{scss → src/scss}/typo/_font.scss +0 -0
- /package/{scss → src/scss}/typo/_typo.scss +0 -0
- /package/{scss → src/scss}/typo/_variables.scss +0 -0
- /package/{scss → src/scss}/universal-material.scss +0 -0
- /package/{scss → src/scss}/utilities/_divider.scss +0 -0
- /package/{scss → src/scss}/utilities/_scheme.scss +0 -0
- /package/{scss → src/scss}/utilities/_spacing.scss +0 -0
- /package/{scss → src/scss}/utilities/_text.scss +0 -0
|
@@ -0,0 +1,457 @@
|
|
|
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
|
+
}];
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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);
|
|
@@ -0,0 +1,31 @@
|
|
|
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));
|
|
@@ -0,0 +1,52 @@
|
|
|
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
ADDED