@momentum-ui/web-components 2.5.6 → 2.5.7
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/.eslintignore +6 -0
- package/.eslintrc.js +20 -0
- package/.github/CODEOWNERS +5 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/.github/pull_request_template.md +191 -0
- package/.prettierignore +6 -0
- package/.prettierrc +5 -0
- package/.storybook/main.ts +75 -0
- package/.storybook/manager.ts +14 -0
- package/.storybook/preview-body.html +43 -0
- package/.storybook/preview-head.html +3 -0
- package/.storybook/preview.ts +32 -0
- package/.stylelintignore +6 -0
- package/.stylelintrc.js +18 -0
- package/.vscode/extensions.json +13 -0
- package/.vscode/launch.json +13 -0
- package/.vscode/settings.json +29 -0
- package/ANGULAR_USAGE.md +102 -0
- package/APPLYING_STYLES.md +44 -0
- package/CONTRIBUTING.md +56 -0
- package/REACT_USAGE.md +145 -0
- package/VERSIONING.md +28 -0
- package/WEB_COMPONENTS_CRASH_COURSE.md +255 -0
- package/babel.config.js +4 -0
- package/codecov.yml +10 -0
- package/jest/cssTransform.js +9 -0
- package/jest/imgTransform.js +9 -0
- package/jest.config.js +35 -0
- package/package.json +119 -6
- package/sonar-project.properties +22 -0
- package/sonar.config.js +22 -0
- package/src/[sandbox]/examples/accordion.ts +67 -0
- package/src/[sandbox]/examples/alert-banner.ts +85 -0
- package/src/[sandbox]/examples/alert.ts +27 -0
- package/src/[sandbox]/examples/avatar.ts +56 -0
- package/src/[sandbox]/examples/badge.ts +195 -0
- package/src/[sandbox]/examples/breadcrumb.ts +7 -0
- package/src/[sandbox]/examples/button-group.ts +66 -0
- package/src/[sandbox]/examples/button.ts +214 -0
- package/src/[sandbox]/examples/card.ts +76 -0
- package/src/[sandbox]/examples/chat-message.ts +33 -0
- package/src/[sandbox]/examples/checkbox.ts +51 -0
- package/src/[sandbox]/examples/chip.ts +72 -0
- package/src/[sandbox]/examples/coachmark.ts +90 -0
- package/src/[sandbox]/examples/code-editor.ts +13 -0
- package/src/[sandbox]/examples/colorTable.ts +14 -0
- package/src/[sandbox]/examples/combobox.ts +194 -0
- package/src/[sandbox]/examples/date-range-picker.ts +30 -0
- package/src/[sandbox]/examples/date-time-picker.ts +30 -0
- package/src/[sandbox]/examples/datepicker.ts +33 -0
- package/src/[sandbox]/examples/draggable.ts +72 -0
- package/src/[sandbox]/examples/dropdown.ts +161 -0
- package/src/[sandbox]/examples/editable-field.ts +111 -0
- package/src/[sandbox]/examples/favorite.ts +49 -0
- package/src/[sandbox]/examples/floating-modal.ts +102 -0
- package/src/[sandbox]/examples/form.ts +101 -0
- package/src/[sandbox]/examples/icon.ts +9 -0
- package/src/[sandbox]/examples/index.ts +50 -0
- package/src/[sandbox]/examples/input-file.ts +7 -0
- package/src/[sandbox]/examples/input.ts +363 -0
- package/src/[sandbox]/examples/label.ts +12 -0
- package/src/[sandbox]/examples/link.ts +51 -0
- package/src/[sandbox]/examples/list.ts +45 -0
- package/src/[sandbox]/examples/loading.ts +8 -0
- package/src/[sandbox]/examples/meeting-alert.ts +108 -0
- package/src/[sandbox]/examples/menu-item.ts +33 -0
- package/src/[sandbox]/examples/menu-overlay.ts +415 -0
- package/src/[sandbox]/examples/modal.ts +243 -0
- package/src/[sandbox]/examples/pagination.ts +13 -0
- package/src/[sandbox]/examples/phone-input.ts +72 -0
- package/src/[sandbox]/examples/progress-bar.ts +6 -0
- package/src/[sandbox]/examples/radio-group.ts +36 -0
- package/src/[sandbox]/examples/slider.ts +17 -0
- package/src/[sandbox]/examples/spinner.ts +6 -0
- package/src/[sandbox]/examples/table-advanced.ts +114 -0
- package/src/[sandbox]/examples/table.ts +25 -0
- package/src/[sandbox]/examples/tabs.ts +612 -0
- package/src/[sandbox]/examples/task-item.ts +65 -0
- package/src/[sandbox]/examples/timepicker.ts +26 -0
- package/src/[sandbox]/examples/toggle-switch.ts +29 -0
- package/src/[sandbox]/examples/tooltip.ts +144 -0
- package/src/[sandbox]/favicon.ico +0 -0
- package/src/[sandbox]/index.html +17 -0
- package/src/[sandbox]/sandbox.mock.ts +515 -0
- package/src/[sandbox]/sandbox.scss +37 -0
- package/src/[sandbox]/sandbox.ts +468 -0
- package/src/assets/images/profile.svg +47 -0
- package/src/assets/images/whatsapp.svg +1104 -0
- package/src/assets/images/wxm.svg +8 -0
- package/{dist → src}/assets/styles/fonts.css +0 -0
- package/src/components/accordion/Accordion.stories.ts +41 -0
- package/src/components/accordion/Accordion.test.ts +147 -0
- package/src/components/accordion/Accordion.ts +188 -0
- package/src/components/accordion/AccordionItem.test.ts +130 -0
- package/src/components/accordion/AccordionItem.ts +175 -0
- package/src/components/accordion/scss/accordion-item.scss +63 -0
- package/src/components/accordion/scss/accordion.scss +23 -0
- package/src/components/accordion/scss/mixins.scss +16 -0
- package/src/components/accordion/scss/module.scss +17 -0
- package/src/components/accordion/scss/settings.scss +10 -0
- package/src/components/accordion/tokens/lm-accordion-tokens.js +26 -0
- package/src/components/accordion/tokens/md-accordion-tokens.js +26 -0
- package/src/components/activity-button/ActivityButton.test.ts +55 -0
- package/src/components/activity-button/ActivityButton.ts +92 -0
- package/src/components/activity-button/scss/activity-button.scss +160 -0
- package/src/components/activity-button/scss/module.scss +63 -0
- package/src/components/alert/Alert.stories.ts +48 -0
- package/src/components/alert/Alert.test.ts +145 -0
- package/src/components/alert/Alert.ts +135 -0
- package/src/components/alert/scss/alert.scss +85 -0
- package/src/components/alert/scss/mixins.scss +27 -0
- package/src/components/alert/scss/module.scss +21 -0
- package/src/components/alert/scss/settings.scss +37 -0
- package/src/components/alert/tokens/lm-alert-tokens.js +52 -0
- package/src/components/alert/tokens/md-alert-tokens.js +52 -0
- package/src/components/alert-banner/AlertBanner.stories.ts +48 -0
- package/src/components/alert-banner/AlertBanner.test.ts +84 -0
- package/src/components/alert-banner/AlertBanner.ts +89 -0
- package/src/components/alert-banner/scss/alert-banner.scss +52 -0
- package/src/components/alert-banner/scss/mixins.scss +8 -0
- package/src/components/alert-banner/scss/module.scss +9 -0
- package/src/components/alert-banner/scss/settings.scss +15 -0
- package/src/components/alert-banner/tokens/lm-alertbanner-tokens.js +40 -0
- package/src/components/alert-banner/tokens/md-alertbanner-tokens.js +40 -0
- package/src/components/avatar/Avatar.stories.ts +82 -0
- package/src/components/avatar/Avatar.test.ts +119 -0
- package/src/components/avatar/Avatar.ts +207 -0
- package/src/components/avatar/CompositeAvatar.ts +48 -0
- package/src/components/avatar/scss/avatar.scss +295 -0
- package/src/components/avatar/scss/composite-avatar.scss +89 -0
- package/src/components/avatar/scss/mixins.scss +33 -0
- package/src/components/avatar/scss/module.scss +19 -0
- package/src/components/avatar/scss/settings.scss +204 -0
- package/src/components/avatar/tokens/lm-avatar-tokens.js +170 -0
- package/src/components/avatar/tokens/md-avatar-tokens.js +160 -0
- package/src/components/badge/Badge.stories.ts +70 -0
- package/src/components/badge/Badge.test.ts +127 -0
- package/src/components/badge/Badge.ts +98 -0
- package/src/components/badge/scss/badge.scss +215 -0
- package/src/components/badge/scss/mixins.scss +82 -0
- package/src/components/badge/scss/module.scss +14 -0
- package/src/components/badge/scss/settings.scss +69 -0
- package/src/components/badge/tokens/lm-badge-tokens.js +296 -0
- package/src/components/badge/tokens/md-badge-tokens.js +286 -0
- package/src/components/breadcrumb/Breadcrumb.stories.ts +56 -0
- package/src/components/breadcrumb/Breadcrumb.test.ts +42 -0
- package/src/components/breadcrumb/Breadcrumb.ts +85 -0
- package/src/components/breadcrumb/scss/breadcrumb.scss +39 -0
- package/src/components/breadcrumb/scss/mixins.scss +5 -0
- package/src/components/breadcrumb/scss/module.scss +15 -0
- package/src/components/breadcrumb/scss/settings.scss +6 -0
- package/src/components/breadcrumb/tokens/lm-breadcrumb-token.js +23 -0
- package/src/components/breadcrumb/tokens/md-breadcrumb-token.js +23 -0
- package/src/components/button/Button.mdx +77 -0
- package/src/components/button/Button.stories.ts +115 -0
- package/src/components/button/Button.test.ts +207 -0
- package/src/components/button/Button.ts +360 -0
- package/src/components/button/README.md +72 -0
- package/src/components/button/scss/button.scss +764 -0
- package/src/components/button/scss/mixins.scss +257 -0
- package/src/components/button/scss/module.scss +18 -0
- package/src/components/button/scss/settings.scss +235 -0
- package/src/components/button/tokens/lm-button-tokens.js +292 -0
- package/src/components/button-group/ButtonGroup.stories.ts +41 -0
- package/src/components/button-group/ButtonGroup.test.ts +148 -0
- package/src/components/button-group/ButtonGroup.ts +219 -0
- package/src/components/button-group/scss/button-group.scss +66 -0
- package/src/components/button-group/scss/module.scss +16 -0
- package/src/components/button-group/scss/settings.scss +5 -0
- package/src/components/button-group/tokens/lm-button-group-tokens.js +38 -0
- package/src/components/button-group/tokens/md-button-group-tokens.js +38 -0
- package/src/components/card/Card.stories.ts +84 -0
- package/src/components/card/Card.test.ts +86 -0
- package/src/components/card/Card.ts +177 -0
- package/src/components/card/scss/card.scss +114 -0
- package/src/components/card/scss/module.scss +13 -0
- package/src/components/card/scss/settings.scss +11 -0
- package/src/components/chat-message/ChatMessage.stories.ts +40 -0
- package/src/components/chat-message/ChatMessage.test.ts +55 -0
- package/src/components/chat-message/ChatMessage.ts +54 -0
- package/src/components/chat-message/scss/chat-message.scss +43 -0
- package/src/components/chat-message/scss/mixins.scss +6 -0
- package/src/components/chat-message/scss/module.scss +16 -0
- package/src/components/chat-message/scss/settings.scss +7 -0
- package/src/components/chat-message/tokens/lm-chat-message-tokens.js +18 -0
- package/src/components/chat-message/tokens/md-chat-message-tokens.js +18 -0
- package/src/components/checkbox/Checkbox.stories.ts +53 -0
- package/src/components/checkbox/Checkbox.test.ts +124 -0
- package/src/components/checkbox/Checkbox.ts +172 -0
- package/src/components/checkbox/CheckboxGroup.test.ts +43 -0
- package/src/components/checkbox/CheckboxGroup.ts +91 -0
- package/src/components/checkbox/scss/checkbox.scss +139 -0
- package/src/components/checkbox/scss/checkboxgroup.scss +17 -0
- package/src/components/checkbox/scss/mixins.scss +0 -0
- package/src/components/checkbox/scss/module.scss +13 -0
- package/src/components/checkbox/scss/settings.scss +15 -0
- package/src/components/checkbox/tokens/lm-checkbox-tokens.js +78 -0
- package/src/components/checkbox/tokens/md-checkbox-tokens.js +79 -0
- package/src/components/chip/Chip.stories.ts +82 -0
- package/src/components/chip/Chip.test.ts +129 -0
- package/src/components/chip/Chip.ts +241 -0
- package/src/components/chip/scss/chip.scss +379 -0
- package/src/components/chip/scss/mixins.scss +53 -0
- package/src/components/chip/scss/module.scss +21 -0
- package/src/components/chip/scss/settings.scss +5 -0
- package/src/components/coachmark/Coachmark.stories.ts +49 -0
- package/src/components/coachmark/Coachmark.test.ts +60 -0
- package/src/components/coachmark/Coachmark.ts +144 -0
- package/src/components/coachmark/scss/coachmarks.scss +528 -0
- package/src/components/coachmark/scss/module.scss +14 -0
- package/src/components/coachmark/scss/settings.scss +4 -0
- package/src/components/coachmark/tokens/lm-coachmark-tokens.js +140 -0
- package/src/components/coachmark/tokens/md-coachmark-tokens.js +130 -0
- package/src/components/code-editor/CodeEditor.stories.ts +32 -0
- package/src/components/code-editor/CodeEditor.test.ts +48 -0
- package/src/components/code-editor/CodeEditor.ts +183 -0
- package/src/components/code-editor/scss/code-editor.scss +144 -0
- package/src/components/code-editor/scss/module.scss +12 -0
- package/src/components/code-editor/scss/settings.scss +10 -0
- package/src/components/combobox/ComboBox.stories.ts +167 -0
- package/src/components/combobox/ComboBox.test.ts +1136 -0
- package/src/components/combobox/ComboBox.ts +1093 -0
- package/src/components/combobox/scss/combobox.scss +318 -0
- package/src/components/combobox/scss/mixins.scss +9 -0
- package/src/components/combobox/scss/module.scss +17 -0
- package/src/components/combobox/scss/settings.scss +33 -0
- package/src/components/combobox/tokens/lm-combobox-tokens.js +120 -0
- package/src/components/combobox/tokens/md-combobox-tokens.js +120 -0
- package/src/components/date-range-picker/DateRangePicker.stories.ts +62 -0
- package/src/components/date-range-picker/DateRangePicker.test.ts +184 -0
- package/src/components/date-range-picker/DateRangePicker.ts +92 -0
- package/src/components/date-range-picker/scss/daterangepicker.scss +0 -0
- package/src/components/date-range-picker/tokens/lm-date-range-picker-tokens.js +26 -0
- package/src/components/date-range-picker/tokens/md-date-range-picker-tokens.js +26 -0
- package/src/components/date-time-picker/DateTimePicker.stories.ts +73 -0
- package/src/components/date-time-picker/DateTimePicker.test.ts +43 -0
- package/src/components/date-time-picker/DateTimePicker.ts +175 -0
- package/src/components/date-time-picker/scss/date-time-picker.scss +7 -0
- package/src/components/date-time-picker/scss/module.scss +9 -0
- package/src/components/date-time-picker/scss/settings.scss +1 -0
- package/src/components/datepicker/DatePicker.stories.ts +56 -0
- package/src/components/datepicker/DatePicker.test.ts +101 -0
- package/src/components/datepicker/DatePicker.ts +263 -0
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.test.ts +51 -0
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.ts +175 -0
- package/src/components/datepicker/datepicker-day/DatePickerDay.test.ts +76 -0
- package/src/components/datepicker/datepicker-day/DatePickerDay.ts +162 -0
- package/src/components/datepicker/datepicker-month/DatePickerMonth.test.ts +17 -0
- package/src/components/datepicker/datepicker-month/DatePickerMonth.ts +73 -0
- package/src/components/datepicker/datepicker-week/DatePickerWeek.test.ts +17 -0
- package/src/components/datepicker/datepicker-week/DatePickerWeek.ts +60 -0
- package/src/components/datepicker/scss/datepicker.scss +209 -0
- package/src/components/datepicker/scss/module.scss +9 -0
- package/src/components/datepicker/scss/settings.scss +9 -0
- package/src/components/datepicker/tokens/lm-datepicker-tokens.js +52 -0
- package/src/components/datepicker/tokens/md-datepicker-tokens.js +52 -0
- package/src/components/draggable/Draggable.mdx +258 -0
- package/src/components/draggable/Draggable.stories.ts +181 -0
- package/src/components/draggable/Draggable.test.ts +121 -0
- package/src/components/draggable/Draggable.ts +203 -0
- package/src/components/draggable/DraggableItem.test.ts +49 -0
- package/src/components/draggable/DraggableItem.ts +64 -0
- package/src/components/draggable/scss/draggable-item.scss +53 -0
- package/src/components/draggable/scss/module.scss +12 -0
- package/src/components/draggable/scss/settings.scss +6 -0
- package/src/components/dropdown/Dropdown.stories.ts +83 -0
- package/src/components/dropdown/Dropdown.test.ts +294 -0
- package/src/components/dropdown/Dropdown.ts +495 -0
- package/src/components/dropdown/scss/dropdown.scss +152 -0
- package/src/components/dropdown/scss/mixins.scss +23 -0
- package/src/components/dropdown/scss/module.scss +25 -0
- package/src/components/dropdown/scss/settings.scss +24 -0
- package/src/components/dropdown/tokens/lm-dropdown-tokens.js +58 -0
- package/src/components/dropdown/tokens/md-dropdown-tokens.js +58 -0
- package/src/components/editable-textfield/EditableTextfield.stories.ts +113 -0
- package/src/components/editable-textfield/EditableTextfield.test.ts +232 -0
- package/src/components/editable-textfield/EditableTextfield.ts +258 -0
- package/src/components/editable-textfield/scss/editable-textfield.scss +108 -0
- package/src/components/editable-textfield/scss/module.scss +14 -0
- package/src/components/editable-textfield/scss/settings.scss +6 -0
- package/src/components/editable-textfield/tokens/lm-editabletextfield-tokens.js +130 -0
- package/src/components/editable-textfield/tokens/md-editabletextfield-tokens.js +118 -0
- package/src/components/favorite/Favorite.stories.ts +42 -0
- package/src/components/favorite/Favorite.test.ts +66 -0
- package/src/components/favorite/Favorite.ts +119 -0
- package/src/components/favorite/scss/favorite.scss +73 -0
- package/src/components/favorite/scss/module.scss +18 -0
- package/src/components/favorite/scss/settings.scss +3 -0
- package/src/components/floating-modal/Floating.mdx +42 -0
- package/src/components/floating-modal/FloatingMinimizedModal.test.ts +96 -0
- package/src/components/floating-modal/FloatingMinimizedModal.ts +274 -0
- package/src/components/floating-modal/FloatingModal.stories.ts +75 -0
- package/src/components/floating-modal/FloatingModal.test.ts +119 -0
- package/src/components/floating-modal/FloatingModal.ts +360 -0
- package/src/components/floating-modal/README.md +36 -0
- package/src/components/floating-modal/scss/floating.scss +85 -0
- package/src/components/floating-modal/scss/module.scss +19 -0
- package/src/components/floating-modal/scss/settings.scss +5 -0
- package/src/components/floating-modal/tokens/lm-floating-modal-tokens.js +46 -0
- package/src/components/floating-modal/tokens/md-floating-modal-tokens.js +46 -0
- package/src/components/form/Form.stories.ts +64 -0
- package/src/components/form/Form.test.ts +59 -0
- package/src/components/form/Form.ts +229 -0
- package/src/components/help-text/HelpText.test.ts +39 -0
- package/src/components/help-text/HelpText.ts +60 -0
- package/src/components/help-text/scss/help-text.scss +34 -0
- package/src/components/help-text/scss/mixins.scss +14 -0
- package/src/components/help-text/scss/module.scss +13 -0
- package/src/components/help-text/scss/settings.scss +5 -0
- package/src/components/help-text/tokens/lm-help-text-tokens.js +16 -0
- package/src/components/help-text/tokens/md-help-text-tokens.js +16 -0
- package/src/components/icon/Icon.stories.ts +66 -0
- package/src/components/icon/Icon.test.ts +75 -0
- package/src/components/icon/Icon.ts +168 -0
- package/src/components/icon/scss/icon.scss +15 -0
- package/src/components/icon/scss/module.scss +17 -0
- package/src/components/icon/scss/settings.scss +10 -0
- package/src/components/input/Input.stories.ts +136 -0
- package/src/components/input/Input.test.ts +335 -0
- package/src/components/input/Input.ts +533 -0
- package/src/components/input/scss/input.scss +399 -0
- package/src/components/input/scss/module.scss +26 -0
- package/src/components/input/scss/settings.scss +120 -0
- package/src/components/input/tokens/lm-input-tokens.js +138 -0
- package/src/components/input/tokens/md-input-tokens.js +128 -0
- package/src/components/input-file/InputFile.stories.ts +27 -0
- package/src/components/input-file/InputFile.test.ts +43 -0
- package/src/components/input-file/InputFile.ts +116 -0
- package/src/components/input-file/scss/input-file.scss +8 -0
- package/src/components/input-file/scss/module.scss +6 -0
- package/src/components/label/Label.stories.ts +57 -0
- package/src/components/label/Label.test.ts +27 -0
- package/src/components/label/Label.ts +90 -0
- package/src/components/label/scss/label.scss +36 -0
- package/src/components/label/scss/mixins.scss +25 -0
- package/src/components/label/scss/module.scss +17 -0
- package/src/components/label/scss/settings.scss +8 -0
- package/src/components/label/tokens/lm-label-tokens.js +18 -0
- package/src/components/label/tokens/md-label-tokens.js +18 -0
- package/src/components/link/Link.stories.ts +48 -0
- package/src/components/link/Link.test.ts +72 -0
- package/src/components/link/Link.ts +96 -0
- package/src/components/link/scss/link.scss +27 -0
- package/src/components/link/scss/mixins.scss +124 -0
- package/src/components/link/scss/module.scss +14 -0
- package/src/components/link/scss/settings.scss +5 -0
- package/src/components/link/tokens/lm-link-tokens.js +61 -0
- package/src/components/link/tokens/md-link-tokens.js +127 -0
- package/src/components/list/List.stories.ts +57 -0
- package/src/components/list/List.test.ts +217 -0
- package/src/components/list/List.ts +181 -0
- package/src/components/list/ListItem.test.ts +45 -0
- package/src/components/list/ListItem.ts +68 -0
- package/src/components/list/scss/list.scss +26 -0
- package/src/components/list/scss/listitem.scss +48 -0
- package/src/components/list/scss/mixins.scss +8 -0
- package/src/components/list/scss/module.scss +15 -0
- package/src/components/list/scss/settings.scss +7 -0
- package/src/components/list/tokens/lm-list-tokens.js +38 -0
- package/src/components/list/tokens/md-list-tokens.js +38 -0
- package/src/components/loading/Loading.stories.ts +46 -0
- package/src/components/loading/Loading.test.ts +33 -0
- package/src/components/loading/Loading.ts +48 -0
- package/src/components/loading/scss/loading.scss +69 -0
- package/src/components/loading/scss/module.scss +8 -0
- package/src/components/meeting-alert/CompositeAvatar.ts +37 -0
- package/src/components/meeting-alert/MeetingAlert.stories.ts +95 -0
- package/src/components/meeting-alert/MeetingAlert.test.ts +214 -0
- package/src/components/meeting-alert/MeetingAlert.ts +203 -0
- package/src/components/meeting-alert/scss/alert.scss +244 -0
- package/src/components/meeting-alert/scss/mixins.scss +13 -0
- package/src/components/meeting-alert/scss/module.scss +20 -0
- package/src/components/meeting-alert/scss/settings.scss +30 -0
- package/src/components/menu/Menu.stories.ts +63 -0
- package/src/components/menu/Menu.test.ts +109 -0
- package/src/components/menu/Menu.ts +213 -0
- package/src/components/menu/MenuItem.test.ts +54 -0
- package/src/components/menu/MenuItem.ts +160 -0
- package/src/components/menu/scss/menu-item.scss +34 -0
- package/src/components/menu/scss/menu.scss +31 -0
- package/src/components/menu/scss/module.scss +15 -0
- package/src/components/menu/scss/settings.scss +1 -0
- package/src/components/menu/tokens/lm-menu-tokens.js +27 -0
- package/src/components/menu/tokens/md-menu-tokens.js +27 -0
- package/src/components/menu-overlay/MenuOverlay.stories.ts +85 -0
- package/src/components/menu-overlay/MenuOverlay.test.ts +360 -0
- package/src/components/menu-overlay/MenuOverlay.ts +373 -0
- package/src/components/menu-overlay/scss/menu-overlay.scss +75 -0
- package/src/components/menu-overlay/scss/module.scss +12 -0
- package/src/components/menu-overlay/scss/settings.scss +6 -0
- package/src/components/modal/Modal.stories.ts +81 -0
- package/src/components/modal/Modal.test.ts +169 -0
- package/src/components/modal/Modal.ts +300 -0
- package/src/components/modal/scss/mixins.scss +107 -0
- package/src/components/modal/scss/modal.scss +405 -0
- package/src/components/modal/scss/module.scss +18 -0
- package/src/components/modal/scss/settings.scss +59 -0
- package/src/components/modal/tokens/lm-modal-tokens.js +44 -0
- package/src/components/modal/tokens/md-modal-tokens.js +44 -0
- package/src/components/pagination/Pagination.stories.ts +37 -0
- package/src/components/pagination/Pagination.test.ts +76 -0
- package/src/components/pagination/Pagination.ts +211 -0
- package/src/components/pagination/scss/mixins.scss +11 -0
- package/src/components/pagination/scss/module.scss +18 -0
- package/src/components/pagination/scss/pagination.scss +101 -0
- package/src/components/pagination/scss/settings.scss +11 -0
- package/src/components/pagination/tokens/lm-pagination-tokens.js +49 -0
- package/src/components/pagination/tokens/md-pagination-tokens.js +49 -0
- package/src/components/phone-input/PhoneInput.stories.ts +47 -0
- package/src/components/phone-input/PhoneInput.test.ts +193 -0
- package/src/components/phone-input/PhoneInput.ts +241 -0
- package/src/components/phone-input/scss/module.scss +7 -0
- package/src/components/phone-input/scss/phoneInput.scss +95 -0
- package/src/components/phone-input/scss/settings.scss +3 -0
- package/src/components/phone-input/tokens/lm-phone-input-tokens.js +26 -0
- package/src/components/phone-input/tokens/md-phone-input-tokens.js +26 -0
- package/src/components/progress-bar/ProgressBar.stories.ts +50 -0
- package/src/components/progress-bar/ProgressBar.test.ts +80 -0
- package/src/components/progress-bar/ProgressBar.ts +112 -0
- package/src/components/progress-bar/scss/mixins.scss +48 -0
- package/src/components/progress-bar/scss/module.scss +10 -0
- package/src/components/progress-bar/scss/progress.scss +66 -0
- package/src/components/progress-bar/scss/settings.scss +27 -0
- package/src/components/radio/Radio.test.ts +60 -0
- package/src/components/radio/Radio.ts +93 -0
- package/src/components/radio/RadioGroup.stories.ts +45 -0
- package/src/components/radio/RadioGroup.test.ts +187 -0
- package/src/components/radio/RadioGroup.ts +175 -0
- package/src/components/radio/scss/mixins.scss +7 -0
- package/src/components/radio/scss/module.scss +17 -0
- package/src/components/radio/scss/radio.scss +101 -0
- package/src/components/radio/scss/radiogroup.scss +25 -0
- package/src/components/radio/scss/settings.scss +17 -0
- package/src/components/radio/tokens/lm-radio-tokens.js +80 -0
- package/src/components/radio/tokens/md-radio-tokens.js +80 -0
- package/src/components/sass-stats/README.md +25 -0
- package/src/components/sass-stats/SassStats.test.ts +17 -0
- package/src/components/sass-stats/SassStats.ts +110 -0
- package/src/components/slider/Slider.stories.ts +47 -0
- package/src/components/slider/Slider.test.ts +132 -0
- package/src/components/slider/Slider.ts +274 -0
- package/src/components/slider/scss/mixins.scss +5 -0
- package/src/components/slider/scss/module.scss +17 -0
- package/src/components/slider/scss/settings.scss +10 -0
- package/src/components/slider/scss/slider.scss +139 -0
- package/src/components/slider/tokens/lm-slider-token.js +57 -0
- package/src/components/slider/tokens/md-slider-tokens.js +61 -0
- package/src/components/spinner/Spinner.stories.ts +39 -0
- package/src/components/spinner/Spinner.test.ts +22 -0
- package/src/components/spinner/Spinner.ts +42 -0
- package/src/components/spinner/scss/mixins.scss +34 -0
- package/src/components/spinner/scss/module.scss +10 -0
- package/src/components/spinner/scss/settings.scss +3 -0
- package/src/components/spinner/scss/spinner.scss +37 -0
- package/src/components/spinner/tokens/lm-spinner-tokens.js +16 -0
- package/src/components/spinner/tokens/md-spinner-tokens.js +18 -0
- package/src/components/table/Table.stories.ts +77 -0
- package/src/components/table/Table.test.ts +55 -0
- package/src/components/table/Table.ts +219 -0
- package/src/components/table/scss/mixins.scss +6 -0
- package/src/components/table/scss/module.scss +27 -0
- package/src/components/table/scss/settings.scss +11 -0
- package/src/components/table/scss/table.scss +164 -0
- package/src/components/table/tokens/lm-table-tokens.js +42 -0
- package/src/components/table/tokens/md-table-tokens.js +42 -0
- package/src/components/table-advanced/TableAdvanced.md +232 -0
- package/src/components/table-advanced/TableAdvanced.mdx +239 -0
- package/src/components/table-advanced/TableAdvanced.stories.ts +182 -0
- package/src/components/table-advanced/TableAdvanced.test.ts +299 -0
- package/src/components/table-advanced/TableAdvanced.ts +1068 -0
- package/src/components/table-advanced/scss/module.scss +27 -0
- package/src/components/table-advanced/scss/settings.scss +16 -0
- package/src/components/table-advanced/scss/table-advanced.scss +426 -0
- package/src/components/table-advanced/src/decorators.ts +149 -0
- package/src/components/table-advanced/src/filter.ts +86 -0
- package/src/components/table-advanced/tokens/lm-table-advanced-tokens.js +64 -0
- package/src/components/table-advanced/tokens/md-table-advanced-tokens.js +64 -0
- package/src/components/tabs/Tab.test.ts +119 -0
- package/src/components/tabs/Tab.ts +204 -0
- package/src/components/tabs/TabPanel.test.ts +24 -0
- package/src/components/tabs/TabPanel.ts +46 -0
- package/src/components/tabs/Tabs.stories.ts +177 -0
- package/src/components/tabs/Tabs.test.ts +486 -0
- package/src/components/tabs/Tabs.ts +1081 -0
- package/src/components/tabs/scss/mixins.scss +5 -0
- package/src/components/tabs/scss/module.scss +16 -0
- package/src/components/tabs/scss/settings.scss +18 -0
- package/src/components/tabs/scss/tab.scss +151 -0
- package/src/components/tabs/scss/tabs.scss +227 -0
- package/src/components/tabs/tokens/lm-tabs-tokens.js +76 -0
- package/src/components/tabs/tokens/md-tabs-tokens.js +68 -0
- package/src/components/taskitem/TaskItem.stories.ts +66 -0
- package/src/components/taskitem/TaskItem.test.ts +349 -0
- package/src/components/taskitem/TaskItem.ts +249 -0
- package/src/components/taskitem/scss/mixins.scss +42 -0
- package/src/components/taskitem/scss/module.scss +15 -0
- package/src/components/taskitem/scss/settings.scss +43 -0
- package/src/components/taskitem/scss/task-item.scss +196 -0
- package/src/components/taskitem/tokens/lm-taskitem-tokens.js +66 -0
- package/src/components/taskitem/tokens/md-taskitem-tokens.js +66 -0
- package/src/components/theme/README.md +13 -0
- package/src/components/theme/Theme.test.ts +40 -0
- package/src/components/theme/Theme.ts +342 -0
- package/src/components/theme/index.ts +6 -0
- package/src/components/timepicker/TimePicker.stories.ts +38 -0
- package/src/components/timepicker/TimePicker.test.ts +163 -0
- package/src/components/timepicker/TimePicker.ts +417 -0
- package/src/components/timepicker/scss/module.scss +9 -0
- package/src/components/timepicker/scss/settings.scss +8 -0
- package/src/components/timepicker/scss/timepicker.scss +64 -0
- package/src/components/toggle-switch/ToggleSwitch.stories.ts +43 -0
- package/src/components/toggle-switch/ToggleSwitch.test.ts +60 -0
- package/src/components/toggle-switch/ToggleSwitch.ts +73 -0
- package/src/components/toggle-switch/scss/mixins.scss +93 -0
- package/src/components/toggle-switch/scss/module.scss +12 -0
- package/src/components/toggle-switch/scss/settings.scss +14 -0
- package/src/components/toggle-switch/scss/toggle-switch.scss +94 -0
- package/src/components/toggle-switch/tokens/lm-toggle-tokens.js +52 -0
- package/src/components/toggle-switch/tokens/md-toggle-tokens.js +52 -0
- package/src/components/tooltip/Tooltip.stories.ts +53 -0
- package/src/components/tooltip/Tooltip.test.ts +84 -0
- package/src/components/tooltip/Tooltip.ts +210 -0
- package/src/components/tooltip/scss/module.scss +12 -0
- package/src/components/tooltip/scss/settings.scss +11 -0
- package/src/components/tooltip/scss/tooltip.scss +151 -0
- package/src/components/tooltip/tokens/lm-tooltip-tokens.js +18 -0
- package/src/components/tooltip/tokens/md-tooltip-tokens.js +18 -0
- package/src/constants.ts +37 -0
- package/src/index.ts +75 -0
- package/src/internal-components/color-table/ColorTable.stories.ts +35 -0
- package/src/internal-components/color-table/ColorTable.ts +85 -0
- package/src/internal-components/color-table/data.ts +204 -0
- package/src/internal-components/color-table/scss/color-table.scss +739 -0
- package/src/internal-components/color-table/scss/module.scss +11 -0
- package/src/internal-components/color-table/utils.ts +552 -0
- package/src/mixins/CustomElementCheck.ts +25 -0
- package/src/mixins/DedupeMixin.test.ts +81 -0
- package/src/mixins/DedupeMixin.ts +54 -0
- package/src/mixins/FocusMixin.test.ts +120 -0
- package/src/mixins/FocusMixin.ts +131 -0
- package/src/mixins/FocusTrapMixin.test.ts +438 -0
- package/src/mixins/FocusTrapMixin.ts +379 -0
- package/src/mixins/ResizeMixin.test.ts +86 -0
- package/src/mixins/ResizeMixin.ts +142 -0
- package/src/mixins/RovingTabIndexMixin.test.ts +62 -0
- package/src/mixins/RovingTabIndexMixin.ts +110 -0
- package/src/mixins/SlottedMixin.test.ts +70 -0
- package/src/mixins/SlottedMixin.ts +110 -0
- package/src/mixins/index.ts +17 -0
- package/src/templates/color-table-data-string.hbs +22 -0
- package/src/templates/colors-settings.hbs +21 -0
- package/src/templates/colors.hbs +35 -0
- package/src/templates/component-colors.hbs +31 -0
- package/src/templates/css-color-variables.hbs +22 -0
- package/src/templates/dark-colors.hbs +24 -0
- package/src/templates/light-colors.hbs +24 -0
- package/src/templates/semantic-color-dark.hbs +28 -0
- package/src/templates/semantic-color-light.hbs +28 -0
- package/src/templates/semantic-color-settings.hbs +38 -0
- package/src/tokens/Tokens.test.ts +11 -0
- package/src/tokens/tokenImports.js +7 -0
- package/src/tsconfig.json +25 -0
- package/src/types/declare.d.ts +31 -0
- package/src/types/globals.d.ts +5 -0
- package/src/utils/clearVars.js +47 -0
- package/src/utils/createTokenFilesModule.js +86 -0
- package/src/utils/dateUtils.test.ts +174 -0
- package/src/utils/dateUtils.ts +101 -0
- package/src/utils/enums.ts +720 -0
- package/src/utils/generateColorTableData.js +42 -0
- package/src/utils/generateScssFromTokens.js +249 -0
- package/src/utils/helpers.ts +150 -0
- package/src/utils/validations.ts +28 -0
- package/src/wc_scss/colors/settings-base.scss +208 -0
- package/src/wc_scss/colors/settings-transparencies.scss +52 -0
- package/src/wc_scss/colors/settings.scss +1 -0
- package/src/wc_scss/colors/tests/colors.cy.js +8 -0
- package/src/wc_scss/generic/global.scss +114 -0
- package/src/wc_scss/generic/normalize.scss +422 -0
- package/src/wc_scss/icon/settings.scss +12 -0
- package/src/wc_scss/path.scss +4 -0
- package/src/wc_scss/reset.scss +26 -0
- package/src/wc_scss/settings/avatar.scss +193 -0
- package/src/wc_scss/settings/button-settings.scss +193 -0
- package/src/wc_scss/settings/core.scss +128 -0
- package/src/wc_scss/settings/focus.scss +7 -0
- package/src/wc_scss/settings/form-controls.scss +23 -0
- package/src/wc_scss/settings/forms.scss +26 -0
- package/src/wc_scss/settings/input.scss +59 -0
- package/src/wc_scss/settings/list-item.scss +86 -0
- package/src/wc_scss/settings/list.scss +10 -0
- package/src/wc_scss/settings/media.scss +116 -0
- package/src/wc_scss/settings/overlay.scss +6 -0
- package/src/wc_scss/settings/rem.scss +1 -0
- package/src/wc_scss/settings/z-index.scss +9 -0
- package/src/wc_scss/themes/global--dark.scss +87 -0
- package/src/wc_scss/themes/global--light.scss +87 -0
- package/src/wc_scss/themes/global--lm.scss +4 -0
- package/src/wc_scss/themes/global--md.scss +4 -0
- package/src/wc_scss/tools/functions/core.scss +181 -0
- package/src/wc_scss/tools/mixins/avatar.scss +32 -0
- package/src/wc_scss/tools/mixins/baseline.scss +69 -0
- package/src/wc_scss/tools/mixins/border-radius.scss +26 -0
- package/src/wc_scss/tools/mixins/button.scss +248 -0
- package/src/wc_scss/tools/mixins/core.scss +215 -0
- package/src/wc_scss/tools/mixins/easing.scss +63 -0
- package/src/wc_scss/tools/mixins/flex.scss +14 -0
- package/src/wc_scss/tools/mixins/focus.scss +35 -0
- package/src/wc_scss/tools/mixins/input.scss +136 -0
- package/src/wc_scss/tools/mixins/nav-divider.scss +10 -0
- package/src/wc_scss/tools/mixins/spacing.scss +208 -0
- package/src/wc_scss/tools/mixins/spinner.scss +38 -0
- package/src/wc_scss/typography/mixins.scss +208 -0
- package/src/wc_scss/typography/settings.scss +286 -0
- package/src/wc_scss/typography/tests/typography.cy.js +8 -0
- package/src/wc_scss/typography/typography.scss +319 -0
- package/stats/cssStats.js +17 -0
- package/stats/stats-loader.js +23 -0
- package/stats/utils.js +5 -0
- package/stats/writeFileSyncRecursive.js +20 -0
- package/tsconfig.json +13 -0
- package/webpack.config.dev.server.ts +12 -0
- package/webpack.config.ts +284 -0
- package/webpack.plugin.LoadChunks.ts +67 -0
- package/dist/assets/fonts/CiscoSansTT-Medium.woff +0 -0
- package/dist/assets/fonts/CiscoSansTT-Medium.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTBold.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTBold.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTBoldOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTBoldOblique.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTExtraLight.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTExtraLight.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTExtraLightOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTExtraLightOblique.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTHeavy.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTHeavy.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTHeavyOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTHeavyOblique.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTLight.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTLight.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTLightOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTLightOblique.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTRegular.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTRegular.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTRegularOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTRegularOblique.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTThin.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTThin.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTThinOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTThinOblique.woff2 +0 -0
- package/dist/assets/fonts/index.html +0 -18560
- package/dist/assets/fonts/momentum-ui-icons.svg +0 -9261
- package/dist/assets/fonts/momentum-ui-icons.ttf +0 -0
- package/dist/assets/fonts/momentum-ui-icons.woff +0 -0
- package/dist/assets/fonts/momentum-ui-icons.woff2 +0 -0
- package/dist/assets/icons/fonts/index.html +0 -18560
- package/dist/assets/icons/fonts/momentum-ui-icons.svg +0 -9261
- package/dist/assets/icons/fonts/momentum-ui-icons.ttf +0 -0
- package/dist/assets/icons/fonts/momentum-ui-icons.woff +0 -0
- package/dist/assets/icons/fonts/momentum-ui-icons.woff2 +0 -0
- package/dist/assets/images/avatar-images/barbara.png +0 -0
- package/dist/assets/images/avatar-images/brandon.png +0 -0
- package/dist/assets/images/avatar-images/brenda.png +0 -0
- package/dist/assets/images/avatar-images/giacomo.png +0 -0
- package/dist/assets/images/avatar-images/maria.png +0 -0
- package/dist/assets/images/avatar-images/simon.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-black.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-black.svg +0 -21
- package/dist/assets/images/cisco/cisco-logo-blue.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-blue.svg +0 -21
- package/dist/assets/images/cisco/cisco-logo-white.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-white.svg +0 -21
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-black.png +0 -0
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-black.svg +0 -30
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-blue.png +0 -0
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-blue.svg +0 -30
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-white.png +0 -0
- package/dist/assets/images/cisco-webex/lockup/cisco-webex-lockup-white.svg +0 -30
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-black.png +0 -0
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-black.svg +0 -13
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-blue.png +0 -0
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-blue.svg +0 -13
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-white.png +0 -0
- package/dist/assets/images/cisco-webex/wordmark/cisco-webex-wordmark-white.svg +0 -13
- package/dist/assets/images/flags.png +0 -0
- package/dist/assets/images/flags@2x.png +0 -0
- package/dist/assets/images/momentum/momentum-color-icon.png +0 -0
- package/dist/assets/images/momentum/momentum-color-icon.svg +0 -1
- package/dist/assets/images/momentum/momentum-horiz-color-white.png +0 -0
- package/dist/assets/images/momentum/momentum-horiz-color.png +0 -0
- package/dist/assets/images/momentum/momentum-horiz-color.svg +0 -1
- package/dist/assets/images/momentum/momentum-horiz-outline.png +0 -0
- package/dist/assets/images/momentum/momentum-horiz-outline.svg +0 -1
- package/dist/assets/images/momentum/momentum-outline-icon.png +0 -0
- package/dist/assets/images/momentum/momentum-outline-icon.svg +0 -1
- package/dist/assets/images/momentum/momentum-vert-color.png +0 -0
- package/dist/assets/images/momentum/momentum-vert-color.svg +0 -1
- package/dist/assets/images/momentum/momentum-vert-outline.png +0 -0
- package/dist/assets/images/momentum/momentum-vert-outline.svg +0 -1
- package/dist/assets/images/momentum/momentum.jpg +0 -0
- package/dist/assets/images/opacity-bkgd.jpg +0 -0
- package/dist/assets/images/webex-calling/calling-icon-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-icon-color.svg +0 -14
- package/dist/assets/images/webex-calling/calling-icon-white.png +0 -0
- package/dist/assets/images/webex-calling/calling-icon-white.svg +0 -13
- package/dist/assets/images/webex-calling/calling-with-container-and-label-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-with-container-and-label-color.svg +0 -46
- package/dist/assets/images/webex-calling/calling-with-container-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-with-container-color.svg +0 -19
- package/dist/assets/images/webex-calling/calling-with-label-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-with-label-color.svg +0 -39
- package/dist/assets/images/webex-meetings/meetings-icon-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-icon-color.svg +0 -15
- package/dist/assets/images/webex-meetings/meetings-icon-white.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-icon-white.svg +0 -12
- package/dist/assets/images/webex-meetings/meetings-with-container-and-label-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-with-container-and-label-color.svg +0 -29
- package/dist/assets/images/webex-meetings/meetings-with-container-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-with-container-color.svg +0 -16
- package/dist/assets/images/webex-meetings/meetings-with-label-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-with-label-color.svg +0 -28
- package/dist/assets/images/webex-teams/teams-icon-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-icon-color.svg +0 -18
- package/dist/assets/images/webex-teams/teams-icon-white.png +0 -0
- package/dist/assets/images/webex-teams/teams-icon-white.svg +0 -12
- package/dist/assets/images/webex-teams/teams-with-container-and-label-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-with-container-and-label-color.svg +0 -29
- package/dist/assets/images/webex-teams/teams-with-container-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-with-container-color.svg +0 -19
- package/dist/assets/images/webex-teams/teams-with-label-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-with-label-color.svg +0 -30
- package/dist/assets/styles/momentum-ui-icons.min.css +0 -1
- package/dist/assets/styles/momentum-ui.min.css +0 -7
- package/dist/assets/styles/momentum-ui.min.css.map +0 -1
- package/dist/chunks/md-0.js +0 -1
- package/dist/chunks/md-1.js +0 -1
- package/dist/chunks/md-10.js +0 -12
- package/dist/chunks/md-100.js +0 -1
- package/dist/chunks/md-101.js +0 -1
- package/dist/chunks/md-102.js +0 -1
- package/dist/chunks/md-103.js +0 -1
- package/dist/chunks/md-104.js +0 -1
- package/dist/chunks/md-105.js +0 -1
- package/dist/chunks/md-106.js +0 -1
- package/dist/chunks/md-107.js +0 -1
- package/dist/chunks/md-108.js +0 -1
- package/dist/chunks/md-109.js +0 -1
- package/dist/chunks/md-11.js +0 -1
- package/dist/chunks/md-110.js +0 -1
- package/dist/chunks/md-111.js +0 -1
- package/dist/chunks/md-112.js +0 -1
- package/dist/chunks/md-113.js +0 -1
- package/dist/chunks/md-114.js +0 -1
- package/dist/chunks/md-115.js +0 -1
- package/dist/chunks/md-116.js +0 -1
- package/dist/chunks/md-117.js +0 -1
- package/dist/chunks/md-118.js +0 -1
- package/dist/chunks/md-119.js +0 -1
- package/dist/chunks/md-12.js +0 -6
- package/dist/chunks/md-120.js +0 -1
- package/dist/chunks/md-121.js +0 -1
- package/dist/chunks/md-122.js +0 -1
- package/dist/chunks/md-123.js +0 -1
- package/dist/chunks/md-124.js +0 -1
- package/dist/chunks/md-125.js +0 -1
- package/dist/chunks/md-126.js +0 -1
- package/dist/chunks/md-127.js +0 -1
- package/dist/chunks/md-128.js +0 -1
- package/dist/chunks/md-129.js +0 -1
- package/dist/chunks/md-13.js +0 -13
- package/dist/chunks/md-130.js +0 -1
- package/dist/chunks/md-131.js +0 -1
- package/dist/chunks/md-132.js +0 -1
- package/dist/chunks/md-133.js +0 -1
- package/dist/chunks/md-134.js +0 -1
- package/dist/chunks/md-135.js +0 -1
- package/dist/chunks/md-136.js +0 -1
- package/dist/chunks/md-137.js +0 -1
- package/dist/chunks/md-138.js +0 -1
- package/dist/chunks/md-139.js +0 -1
- package/dist/chunks/md-14.js +0 -1
- package/dist/chunks/md-140.js +0 -1
- package/dist/chunks/md-141.js +0 -1
- package/dist/chunks/md-142.js +0 -1
- package/dist/chunks/md-143.js +0 -1
- package/dist/chunks/md-144.js +0 -1
- package/dist/chunks/md-145.js +0 -1
- package/dist/chunks/md-146.js +0 -1
- package/dist/chunks/md-147.js +0 -1
- package/dist/chunks/md-148.js +0 -1
- package/dist/chunks/md-149.js +0 -1
- package/dist/chunks/md-15.js +0 -118
- package/dist/chunks/md-150.js +0 -1
- package/dist/chunks/md-151.js +0 -1
- package/dist/chunks/md-152.js +0 -1
- package/dist/chunks/md-153.js +0 -1
- package/dist/chunks/md-154.js +0 -1
- package/dist/chunks/md-155.js +0 -1
- package/dist/chunks/md-156.js +0 -1
- package/dist/chunks/md-157.js +0 -1
- package/dist/chunks/md-158.js +0 -1
- package/dist/chunks/md-159.js +0 -1
- package/dist/chunks/md-16.js +0 -19
- package/dist/chunks/md-160.js +0 -1
- package/dist/chunks/md-161.js +0 -1
- package/dist/chunks/md-162.js +0 -1
- package/dist/chunks/md-163.js +0 -1
- package/dist/chunks/md-164.js +0 -1
- package/dist/chunks/md-165.js +0 -1
- package/dist/chunks/md-166.js +0 -1
- package/dist/chunks/md-167.js +0 -1
- package/dist/chunks/md-168.js +0 -1
- package/dist/chunks/md-169.js +0 -1
- package/dist/chunks/md-17.js +0 -17
- package/dist/chunks/md-170.js +0 -1
- package/dist/chunks/md-171.js +0 -1
- package/dist/chunks/md-172.js +0 -1
- package/dist/chunks/md-173.js +0 -1
- package/dist/chunks/md-174.js +0 -1
- package/dist/chunks/md-175.js +0 -1
- package/dist/chunks/md-176.js +0 -1
- package/dist/chunks/md-177.js +0 -1
- package/dist/chunks/md-178.js +0 -1
- package/dist/chunks/md-179.js +0 -1
- package/dist/chunks/md-18.js +0 -12
- package/dist/chunks/md-180.js +0 -1
- package/dist/chunks/md-181.js +0 -1
- package/dist/chunks/md-182.js +0 -1
- package/dist/chunks/md-183.js +0 -1
- package/dist/chunks/md-184.js +0 -1
- package/dist/chunks/md-185.js +0 -1
- package/dist/chunks/md-186.js +0 -1
- package/dist/chunks/md-187.js +0 -1
- package/dist/chunks/md-188.js +0 -1
- package/dist/chunks/md-189.js +0 -1
- package/dist/chunks/md-19.js +0 -1
- package/dist/chunks/md-190.js +0 -1
- package/dist/chunks/md-191.js +0 -1
- package/dist/chunks/md-192.js +0 -1
- package/dist/chunks/md-193.js +0 -1
- package/dist/chunks/md-194.js +0 -1
- package/dist/chunks/md-195.js +0 -1
- package/dist/chunks/md-196.js +0 -1
- package/dist/chunks/md-197.js +0 -1
- package/dist/chunks/md-198.js +0 -1
- package/dist/chunks/md-199.js +0 -1
- package/dist/chunks/md-2.js +0 -1
- package/dist/chunks/md-20.js +0 -7
- package/dist/chunks/md-200.js +0 -1
- package/dist/chunks/md-201.js +0 -1
- package/dist/chunks/md-202.js +0 -1
- package/dist/chunks/md-203.js +0 -1
- package/dist/chunks/md-204.js +0 -1
- package/dist/chunks/md-205.js +0 -1
- package/dist/chunks/md-206.js +0 -1
- package/dist/chunks/md-207.js +0 -1
- package/dist/chunks/md-208.js +0 -1
- package/dist/chunks/md-209.js +0 -1
- package/dist/chunks/md-21.js +0 -12
- package/dist/chunks/md-210.js +0 -1
- package/dist/chunks/md-211.js +0 -1
- package/dist/chunks/md-212.js +0 -1
- package/dist/chunks/md-213.js +0 -1
- package/dist/chunks/md-214.js +0 -1
- package/dist/chunks/md-215.js +0 -1
- package/dist/chunks/md-216.js +0 -1
- package/dist/chunks/md-217.js +0 -1
- package/dist/chunks/md-218.js +0 -1
- package/dist/chunks/md-219.js +0 -1
- package/dist/chunks/md-22.js +0 -1
- package/dist/chunks/md-220.js +0 -1
- package/dist/chunks/md-221.js +0 -1
- package/dist/chunks/md-222.js +0 -1
- package/dist/chunks/md-223.js +0 -1
- package/dist/chunks/md-224.js +0 -1
- package/dist/chunks/md-225.js +0 -1
- package/dist/chunks/md-226.js +0 -1
- package/dist/chunks/md-227.js +0 -1
- package/dist/chunks/md-228.js +0 -1
- package/dist/chunks/md-229.js +0 -1
- package/dist/chunks/md-23.js +0 -36
- package/dist/chunks/md-230.js +0 -1
- package/dist/chunks/md-231.js +0 -1
- package/dist/chunks/md-232.js +0 -1
- package/dist/chunks/md-233.js +0 -1
- package/dist/chunks/md-234.js +0 -1
- package/dist/chunks/md-235.js +0 -1
- package/dist/chunks/md-236.js +0 -1
- package/dist/chunks/md-237.js +0 -1
- package/dist/chunks/md-238.js +0 -1
- package/dist/chunks/md-239.js +0 -1
- package/dist/chunks/md-24.js +0 -1
- package/dist/chunks/md-240.js +0 -1
- package/dist/chunks/md-241.js +0 -1
- package/dist/chunks/md-242.js +0 -1
- package/dist/chunks/md-243.js +0 -1
- package/dist/chunks/md-244.js +0 -1
- package/dist/chunks/md-245.js +0 -1
- package/dist/chunks/md-246.js +0 -1
- package/dist/chunks/md-247.js +0 -1
- package/dist/chunks/md-248.js +0 -1
- package/dist/chunks/md-249.js +0 -1
- package/dist/chunks/md-25.js +0 -1
- package/dist/chunks/md-250.js +0 -1
- package/dist/chunks/md-251.js +0 -1
- package/dist/chunks/md-252.js +0 -1
- package/dist/chunks/md-253.js +0 -1
- package/dist/chunks/md-254.js +0 -1
- package/dist/chunks/md-255.js +0 -1
- package/dist/chunks/md-256.js +0 -1
- package/dist/chunks/md-257.js +0 -1
- package/dist/chunks/md-258.js +0 -1
- package/dist/chunks/md-259.js +0 -1
- package/dist/chunks/md-26.js +0 -55
- package/dist/chunks/md-260.js +0 -1
- package/dist/chunks/md-261.js +0 -1
- package/dist/chunks/md-262.js +0 -1
- package/dist/chunks/md-263.js +0 -1
- package/dist/chunks/md-264.js +0 -1
- package/dist/chunks/md-265.js +0 -1
- package/dist/chunks/md-266.js +0 -1
- package/dist/chunks/md-267.js +0 -1
- package/dist/chunks/md-268.js +0 -1
- package/dist/chunks/md-269.js +0 -1
- package/dist/chunks/md-27.js +0 -1
- package/dist/chunks/md-270.js +0 -1
- package/dist/chunks/md-271.js +0 -1
- package/dist/chunks/md-272.js +0 -1
- package/dist/chunks/md-273.js +0 -1
- package/dist/chunks/md-28.js +0 -1
- package/dist/chunks/md-29.js +0 -20
- package/dist/chunks/md-3.js +0 -1
- package/dist/chunks/md-30.js +0 -22
- package/dist/chunks/md-31.js +0 -5
- package/dist/chunks/md-32.js +0 -5
- package/dist/chunks/md-33.js +0 -1
- package/dist/chunks/md-34.js +0 -21
- package/dist/chunks/md-35.js +0 -20
- package/dist/chunks/md-36.js +0 -119
- package/dist/chunks/md-37.js +0 -34
- package/dist/chunks/md-38.js +0 -1
- package/dist/chunks/md-39.js +0 -33
- package/dist/chunks/md-4.js +0 -1
- package/dist/chunks/md-40.js +0 -15
- package/dist/chunks/md-41.js +0 -1
- package/dist/chunks/md-42.js +0 -27
- package/dist/chunks/md-43.js +0 -5
- package/dist/chunks/md-44.js +0 -34
- package/dist/chunks/md-45.js +0 -13
- package/dist/chunks/md-46.js +0 -20
- package/dist/chunks/md-47.js +0 -46
- package/dist/chunks/md-48.js +0 -13
- package/dist/chunks/md-49.js +0 -5
- package/dist/chunks/md-5.js +0 -1
- package/dist/chunks/md-50.js +0 -68
- package/dist/chunks/md-51.js +0 -24
- package/dist/chunks/md-52.js +0 -14
- package/dist/chunks/md-53.js +0 -5
- package/dist/chunks/md-54.js +0 -39
- package/dist/chunks/md-55.js +0 -22
- package/dist/chunks/md-56.js +0 -5
- package/dist/chunks/md-57.js +0 -1
- package/dist/chunks/md-58.js +0 -22
- package/dist/chunks/md-59.js +0 -5
- package/dist/chunks/md-6.js +0 -3
- package/dist/chunks/md-60.js +0 -15
- package/dist/chunks/md-61.js +0 -42
- package/dist/chunks/md-62.js +0 -30
- package/dist/chunks/md-63.js +0 -72
- package/dist/chunks/md-64.js +0 -19
- package/dist/chunks/md-65.js +0 -17
- package/dist/chunks/md-66.js +0 -22
- package/dist/chunks/md-67.js +0 -84
- package/dist/chunks/md-68.js +0 -7
- package/dist/chunks/md-69.js +0 -77
- package/dist/chunks/md-7.js +0 -82
- package/dist/chunks/md-70.js +0 -72
- package/dist/chunks/md-71.js +0 -61
- package/dist/chunks/md-72.js +0 -16
- package/dist/chunks/md-73.js +0 -5
- package/dist/chunks/md-74.js +0 -30
- package/dist/chunks/md-75.js +0 -3
- package/dist/chunks/md-76.js +0 -179
- package/dist/chunks/md-77.js +0 -39
- package/dist/chunks/md-78.js +0 -85
- package/dist/chunks/md-79.js +0 -104
- package/dist/chunks/md-8.js +0 -1
- package/dist/chunks/md-80.js +0 -12
- package/dist/chunks/md-81.js +0 -43
- package/dist/chunks/md-82.js +0 -21
- package/dist/chunks/md-83.js +0 -1
- package/dist/chunks/md-84.js +0 -1
- package/dist/chunks/md-85.js +0 -1
- package/dist/chunks/md-86.js +0 -1
- package/dist/chunks/md-87.js +0 -1
- package/dist/chunks/md-88.js +0 -1
- package/dist/chunks/md-89.js +0 -1
- package/dist/chunks/md-9.js +0 -1
- package/dist/chunks/md-90.js +0 -1
- package/dist/chunks/md-91.js +0 -1
- package/dist/chunks/md-92.js +0 -1
- package/dist/chunks/md-93.js +0 -1
- package/dist/chunks/md-94.js +0 -1
- package/dist/chunks/md-95.js +0 -1
- package/dist/chunks/md-96.js +0 -1
- package/dist/chunks/md-97.js +0 -1
- package/dist/chunks/md-98.js +0 -1
- package/dist/chunks/md-99.js +0 -1
- package/dist/comp/md-accordion-entry.js +0 -1
- package/dist/comp/md-accordion-item-entry.js +0 -1
- package/dist/comp/md-accordion-item.js +0 -11
- package/dist/comp/md-accordion.js +0 -11
- package/dist/comp/md-activity-button-entry.js +0 -1
- package/dist/comp/md-activity-button.js +0 -8
- package/dist/comp/md-alert-banner-entry.js +0 -1
- package/dist/comp/md-alert-banner.js +0 -8
- package/dist/comp/md-alert-entry.js +0 -1
- package/dist/comp/md-alert.js +0 -8
- package/dist/comp/md-avatar-entry.js +0 -1
- package/dist/comp/md-avatar.js +0 -10
- package/dist/comp/md-badge-entry.js +0 -1
- package/dist/comp/md-badge.js +0 -4
- package/dist/comp/md-breadcrumb-entry.js +0 -1
- package/dist/comp/md-breadcrumb.js +0 -4
- package/dist/comp/md-button-entry.js +0 -1
- package/dist/comp/md-button-group-entry.js +0 -1
- package/dist/comp/md-button-group.js +0 -10
- package/dist/comp/md-button.js +0 -6
- package/dist/comp/md-card-entry.js +0 -1
- package/dist/comp/md-card.js +0 -17
- package/dist/comp/md-chat-message-entry.js +0 -1
- package/dist/comp/md-chat-message.js +0 -11
- package/dist/comp/md-checkbox-entry.js +0 -1
- package/dist/comp/md-checkbox.js +0 -11
- package/dist/comp/md-checkboxgroup-entry.js +0 -1
- package/dist/comp/md-checkboxgroup.js +0 -11
- package/dist/comp/md-chip-entry.js +0 -1
- package/dist/comp/md-chip.js +0 -16
- package/dist/comp/md-coachmark-entry.js +0 -1
- package/dist/comp/md-coachmark.js +0 -12
- package/dist/comp/md-combobox-entry.js +0 -1
- package/dist/comp/md-combobox.js +0 -15
- package/dist/comp/md-composite-avatar-entry.js +0 -1
- package/dist/comp/md-composite-avatar.js +0 -5
- package/dist/comp/md-date-range-picker-entry.js +0 -1
- package/dist/comp/md-date-range-picker.js +0 -23
- package/dist/comp/md-date-time-picker-entry.js +0 -1
- package/dist/comp/md-date-time-picker.js +0 -16
- package/dist/comp/md-datepicker-calendar-entry.js +0 -1
- package/dist/comp/md-datepicker-calendar.js +0 -13
- package/dist/comp/md-datepicker-day-entry.js +0 -1
- package/dist/comp/md-datepicker-day.js +0 -9
- package/dist/comp/md-datepicker-entry.js +0 -1
- package/dist/comp/md-datepicker-month-entry.js +0 -1
- package/dist/comp/md-datepicker-month.js +0 -11
- package/dist/comp/md-datepicker-week-entry.js +0 -1
- package/dist/comp/md-datepicker-week.js +0 -10
- package/dist/comp/md-datepicker.js +0 -22
- package/dist/comp/md-draggable-entry.js +0 -1
- package/dist/comp/md-draggable-item-entry.js +0 -1
- package/dist/comp/md-draggable-item.js +0 -11
- package/dist/comp/md-draggable.js +0 -12
- package/dist/comp/md-dropdown-entry.js +0 -1
- package/dist/comp/md-dropdown.js +0 -13
- package/dist/comp/md-editable-field-entry.js +0 -1
- package/dist/comp/md-editable-field.js +0 -14
- package/dist/comp/md-favorite-entry.js +0 -1
- package/dist/comp/md-favorite.js +0 -13
- package/dist/comp/md-floating-minimize-entry.js +0 -1
- package/dist/comp/md-floating-minimize.js +0 -14
- package/dist/comp/md-floating-modal-entry.js +0 -1
- package/dist/comp/md-floating-modal.js +0 -15
- package/dist/comp/md-form-entry.js +0 -1
- package/dist/comp/md-form.js +0 -9
- package/dist/comp/md-help-text-entry.js +0 -1
- package/dist/comp/md-help-text.js +0 -4
- package/dist/comp/md-icon-entry.js +0 -1
- package/dist/comp/md-icon.js +0 -7
- package/dist/comp/md-inpu.js +0 -12
- package/dist/comp/md-input-entry.js +0 -1
- package/dist/comp/md-input-file.js +0 -1
- package/dist/comp/md-input.js +0 -12
- package/dist/comp/md-label-entry.js +0 -1
- package/dist/comp/md-label.js +0 -4
- package/dist/comp/md-link-entry.js +0 -1
- package/dist/comp/md-link.js +0 -4
- package/dist/comp/md-list-entry.js +0 -1
- package/dist/comp/md-list-item-entry.js +0 -1
- package/dist/comp/md-list-item.js +0 -11
- package/dist/comp/md-list.js +0 -11
- package/dist/comp/md-loading-entry.js +0 -1
- package/dist/comp/md-loading.js +0 -4
- package/dist/comp/md-meeting-alert-entry.js +0 -1
- package/dist/comp/md-meeting-alert.js +0 -11
- package/dist/comp/md-menu-entry.js +0 -1
- package/dist/comp/md-menu-item-entry.js +0 -1
- package/dist/comp/md-menu-item.js +0 -4
- package/dist/comp/md-menu-overlay-entry.js +0 -1
- package/dist/comp/md-menu-overlay.js +0 -7
- package/dist/comp/md-menu.js +0 -8
- package/dist/comp/md-modal-entry.js +0 -1
- package/dist/comp/md-modal.js +0 -13
- package/dist/comp/md-pagination-entry.js +0 -1
- package/dist/comp/md-pagination.js +0 -4
- package/dist/comp/md-phone-input-entry.js +0 -1
- package/dist/comp/md-phone-input.js +0 -18
- package/dist/comp/md-progress-bar-entry.js +0 -1
- package/dist/comp/md-progress-bar.js +0 -4
- package/dist/comp/md-radio-entry.js +0 -1
- package/dist/comp/md-radio.js +0 -11
- package/dist/comp/md-radiogroup-entry.js +0 -1
- package/dist/comp/md-radiogroup.js +0 -11
- package/dist/comp/md-slider-entry.js +0 -1
- package/dist/comp/md-slider.js +0 -10
- package/dist/comp/md-spinner-entry.js +0 -1
- package/dist/comp/md-spinner.js +0 -4
- package/dist/comp/md-tab-entry.js +0 -1
- package/dist/comp/md-tab-panel-entry.js +0 -1
- package/dist/comp/md-tab-panel.js +0 -11
- package/dist/comp/md-tab.js +0 -11
- package/dist/comp/md-table-advanced-entry.js +0 -1
- package/dist/comp/md-table-advanced.js +0 -12
- package/dist/comp/md-table-entry.js +0 -1
- package/dist/comp/md-table.js +0 -4
- package/dist/comp/md-tabs-entry.js +0 -1
- package/dist/comp/md-tabs.js +0 -16
- package/dist/comp/md-task-item-entry.js +0 -1
- package/dist/comp/md-task-item.js +0 -9
- package/dist/comp/md-theme-entry.js +0 -1
- package/dist/comp/md-theme.js +0 -4
- package/dist/comp/md-timepicker-entry.js +0 -1
- package/dist/comp/md-timepicker.js +0 -15
- package/dist/comp/md-toggle-switch-entry.js +0 -1
- package/dist/comp/md-toggle-switch.js +0 -11
- package/dist/comp/md-tooltip-entry.js +0 -1
- package/dist/comp/md-tooltip.js +0 -11
- package/dist/index-entry.js +0 -34
- package/dist/index.js +0 -84
- package/dist/types/components/accordion/Accordion.d.ts +0 -32
- package/dist/types/components/accordion/AccordionItem.d.ts +0 -33
- package/dist/types/components/activity-button/ActivityButton.d.ts +0 -41
- package/dist/types/components/alert/Alert.d.ts +0 -35
- package/dist/types/components/alert-banner/AlertBanner.d.ts +0 -29
- package/dist/types/components/avatar/Avatar.d.ts +0 -48
- package/dist/types/components/avatar/CompositeAvatar.d.ts +0 -25
- package/dist/types/components/badge/Badge.d.ts +0 -36
- package/dist/types/components/breadcrumb/Breadcrumb.d.ts +0 -24
- package/dist/types/components/button/Button.d.ts +0 -104
- package/dist/types/components/button-group/ButtonGroup.d.ts +0 -45
- package/dist/types/components/card/Card.d.ts +0 -35
- package/dist/types/components/chat-message/ChatMessage.d.ts +0 -18
- package/dist/types/components/checkbox/Checkbox.d.ts +0 -44
- package/dist/types/components/checkbox/CheckboxGroup.d.ts +0 -29
- package/dist/types/components/chip/Chip.d.ts +0 -59
- package/dist/types/components/coachmark/Coachmark.d.ts +0 -44
- package/dist/types/components/code-editor/CodeEditor.d.ts +0 -40
- package/dist/types/components/combobox/ComboBox.d.ts +0 -133
- package/dist/types/components/date-range-picker/DateRangePicker.d.ts +0 -27
- package/dist/types/components/date-time-picker/DateTimePicker.d.ts +0 -43
- package/dist/types/components/datepicker/DatePicker.d.ts +0 -51
- package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +0 -39
- package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +0 -45
- package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +0 -26
- package/dist/types/components/datepicker/datepicker-week/DatePickerWeek.d.ts +0 -27
- package/dist/types/components/draggable/Draggable.d.ts +0 -62
- package/dist/types/components/draggable/DraggableItem.d.ts +0 -29
- package/dist/types/components/dropdown/Dropdown.d.ts +0 -82
- package/dist/types/components/editable-textfield/EditableTextfield.d.ts +0 -53
- package/dist/types/components/favorite/Favorite.d.ts +0 -36
- package/dist/types/components/floating-modal/FloatingMinimizedModal.d.ts +0 -53
- package/dist/types/components/floating-modal/FloatingModal.d.ts +0 -68
- package/dist/types/components/form/Form.d.ts +0 -55
- package/dist/types/components/help-text/HelpText.d.ts +0 -26
- package/dist/types/components/icon/Icon.d.ts +0 -57
- package/dist/types/components/input/Input.d.ts +0 -130
- package/dist/types/components/input-file/InputFile.d.ts +0 -25
- package/dist/types/components/label/Label.d.ts +0 -43
- package/dist/types/components/link/Link.d.ts +0 -32
- package/dist/types/components/list/List.d.ts +0 -40
- package/dist/types/components/list/ListItem.d.ts +0 -22
- package/dist/types/components/loading/Loading.d.ts +0 -24
- package/dist/types/components/meeting-alert/CompositeAvatar.d.ts +0 -1
- package/dist/types/components/meeting-alert/MeetingAlert.d.ts +0 -46
- package/dist/types/components/menu/Menu.d.ts +0 -46
- package/dist/types/components/menu/MenuItem.d.ts +0 -46
- package/dist/types/components/menu-overlay/MenuOverlay.d.ts +0 -63
- package/dist/types/components/modal/Modal.d.ts +0 -73
- package/dist/types/components/pagination/Pagination.d.ts +0 -31
- package/dist/types/components/phone-input/PhoneInput.d.ts +0 -61
- package/dist/types/components/progress-bar/ProgressBar.d.ts +0 -35
- package/dist/types/components/radio/Radio.d.ts +0 -33
- package/dist/types/components/radio/RadioGroup.d.ts +0 -40
- package/dist/types/components/sass-stats/SassStats.d.ts +0 -29
- package/dist/types/components/slider/Slider.d.ts +0 -46
- package/dist/types/components/spinner/Spinner.d.ts +0 -24
- package/dist/types/components/table/Table.d.ts +0 -62
- package/dist/types/components/table-advanced/TableAdvanced.d.ts +0 -165
- package/dist/types/components/table-advanced/src/decorators.d.ts +0 -32
- package/dist/types/components/table-advanced/src/filter.d.ts +0 -25
- package/dist/types/components/tabs/Tab.d.ts +0 -58
- package/dist/types/components/tabs/TabPanel.d.ts +0 -25
- package/dist/types/components/tabs/Tabs.d.ts +0 -115
- package/dist/types/components/taskitem/TaskItem.d.ts +0 -37
- package/dist/types/components/theme/Theme.d.ts +0 -82
- package/dist/types/components/theme/index.d.ts +0 -5
- package/dist/types/components/timepicker/TimePicker.d.ts +0 -49
- package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +0 -34
- package/dist/types/components/tooltip/Tooltip.d.ts +0 -49
- package/dist/types/constants.d.ts +0 -35
- package/dist/types/index.d.ts +0 -72
- package/dist/types/internal-components/color-table/ColorTable.d.ts +0 -13
- package/dist/types/internal-components/color-table/data.d.ts +0 -551
- package/dist/types/internal-components/color-table/utils.d.ts +0 -1
- package/dist/types/mixins/CustomElementCheck.d.ts +0 -1
- package/dist/types/mixins/DedupeMixin.d.ts +0 -28
- package/dist/types/mixins/FocusMixin.d.ts +0 -44
- package/dist/types/mixins/FocusTrapMixin.d.ts +0 -18
- package/dist/types/mixins/ResizeMixin.d.ts +0 -52
- package/dist/types/mixins/RovingTabIndexMixin.d.ts +0 -31
- package/dist/types/mixins/SlottedMixin.d.ts +0 -43
- package/dist/types/mixins/index.d.ts +0 -14
- package/dist/types/utils/dateUtils.d.ts +0 -31
- package/dist/types/utils/enums.d.ts +0 -17
- package/dist/types/utils/helpers.d.ts +0 -17
- package/dist/types/utils/validations.d.ts +0 -25
- package/dist/types/wc_scss/colors/vars/color-table-data-string.d.ts +0 -1
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
parser: "@typescript-eslint/parser",
|
|
4
|
+
plugins: [
|
|
5
|
+
"@typescript-eslint",
|
|
6
|
+
"prettier"
|
|
7
|
+
],
|
|
8
|
+
extends: [
|
|
9
|
+
"eslint:recommended",
|
|
10
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
11
|
+
"plugin:@typescript-eslint/recommended"
|
|
12
|
+
],
|
|
13
|
+
rules: {
|
|
14
|
+
"prettier/prettier": "error",
|
|
15
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
16
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
17
|
+
"@typescript-eslint/no-namespace": "off",
|
|
18
|
+
"@typescript-eslint/camelcase": "off",
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**To Reproduce**
|
|
14
|
+
Steps to reproduce the behavior:
|
|
15
|
+
1. Go to '...'
|
|
16
|
+
2. Click on '....'
|
|
17
|
+
3. Scroll down to '....'
|
|
18
|
+
4. See error
|
|
19
|
+
|
|
20
|
+
**Expected behavior**
|
|
21
|
+
A clear and concise description of what you expected to happen.
|
|
22
|
+
|
|
23
|
+
**Screenshots**
|
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
|
25
|
+
|
|
26
|
+
**Desktop (please complete the following information):**
|
|
27
|
+
- OS: [e.g. iOS]
|
|
28
|
+
- Browser [e.g. chrome, safari]
|
|
29
|
+
- Version [e.g. 22]
|
|
30
|
+
|
|
31
|
+
**Smartphone (please complete the following information):**
|
|
32
|
+
- Device: [e.g. iPhone6]
|
|
33
|
+
- OS: [e.g. iOS8.1]
|
|
34
|
+
- Browser [e.g. stock browser, safari]
|
|
35
|
+
- Version [e.g. 22]
|
|
36
|
+
|
|
37
|
+
**Additional context**
|
|
38
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
## Types of changes
|
|
2
|
+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
|
3
|
+
- [ ] Bug fix (non-breaking change which fixes an issue)
|
|
4
|
+
- [ ] New feature (non-breaking change which adds functionality)
|
|
5
|
+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
|
6
|
+
|
|
7
|
+
## Please check if any of the following apply
|
|
8
|
+
- [ ] Awating dependency on `agentx-services`, `uuip-sdk` or other and has a label added (please specify PR link below in *Other* section)
|
|
9
|
+
- [ ] Is a dependency for PR up the chain (in `AgentX` repo) (please specify the PR link below in *Other* section, optional for non-breaking change)
|
|
10
|
+
- [ ] Has a design wiki (please add a link below in *Other* section)
|
|
11
|
+
- [ ] Is relying on Declarative data model (e.g. not subscribing to individual Web Socket events outside of the SERVICE Promise unless truly asynchronous. If not, explain why below in *Other* section)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## What kind of change does this PR introduce?
|
|
15
|
+
#### (Bug fix, feature, docs update, etc...)
|
|
16
|
+
|
|
17
|
+
`[Type here]`
|
|
18
|
+
|
|
19
|
+
## Other relevant information
|
|
20
|
+
#### (Dependency PR link, asynchronous SERVICE event subscription call out, wiki, etc...)
|
|
21
|
+
|
|
22
|
+
<details>
|
|
23
|
+
<summary>
|
|
24
|
+
## If this is a bug fix:
|
|
25
|
+
</summary>
|
|
26
|
+
|
|
27
|
+
## What is the current behavior?
|
|
28
|
+
#### (You can link to an open issue)
|
|
29
|
+
|
|
30
|
+
`[Type here]`
|
|
31
|
+
|
|
32
|
+
## What is the new behavior
|
|
33
|
+
#### (if this is a feature change)?
|
|
34
|
+
|
|
35
|
+
`[Type here]`
|
|
36
|
+
</details>
|
|
37
|
+
|
|
38
|
+
## The Gold Standard Checklist for Web Components
|
|
39
|
+
<details>
|
|
40
|
+
<summary>Is it a new Web Component/custom element? Please assure you are following the checklist below (click to expand)</summary>
|
|
41
|
+
|
|
42
|
+
### Loading
|
|
43
|
+
|
|
44
|
+
- [ ] [Expressed Dependencies](https://github.com/webcomponents/gold-standard/wiki/Expressed-Dependencies) — Does the component import or otherwise load all of its own dependencies?
|
|
45
|
+
|
|
46
|
+
- [ ] [Load Order Independence](https://github.com/webcomponents/gold-standard/wiki/Load-Order-Independence) — Can you load the component at any point?
|
|
47
|
+
|
|
48
|
+
- [ ] [Relative Paths](https://github.com/webcomponents/gold-standard/wiki/Relative-Paths) — Are all paths relative to required resources (images, etc.) relative to the component source?
|
|
49
|
+
|
|
50
|
+
### DOM Presence
|
|
51
|
+
|
|
52
|
+
- [ ] [Plain Tag](https://github.com/webcomponents/gold-standard/wiki/Plain-Tag) — Can you instantiate the component with just a plain tag (<my-element>)?
|
|
53
|
+
|
|
54
|
+
- [ ] [Parent/Child Independence](https://github.com/webcomponents/gold-standard/wiki/Parent-Child-Independence) — Can you use the component inside any type of parent element, or with any type of child elements?
|
|
55
|
+
|
|
56
|
+
- [ ] [Declared Semantics](https://github.com/webcomponents/gold-standard/wiki/Declared-Semantics) — Does the component expose its semantics by wrapping/extending a native element, or using ARIA roles, states, and properties? *Accessibility*
|
|
57
|
+
|
|
58
|
+
- [ ] [Meaningful Structure](https://github.com/webcomponents/gold-standard/wiki/Meaningful-Structure) — Does the component's DOM structure reflect the meaningful relationship between elements, such that those relationships are clear to a user relying on an assistive device? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
59
|
+
|
|
60
|
+
- [ ] [Labels](https://github.com/webcomponents/gold-standard/wiki/Labels) — Are the component's significant elements labeled such that a user relying on an assistive device can understand what those elements are for? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
61
|
+
|
|
62
|
+
- [ ] [Local Effects](https://github.com/webcomponents/gold-standard/wiki/Local-Effects) — Does the component limit its effects to itself (or a designated target element)?
|
|
63
|
+
|
|
64
|
+
- [ ] [Detached Instantiation](https://github.com/webcomponents/gold-standard/wiki/Detached-Instantiation) — Can the component be instantiated without being part of the document?
|
|
65
|
+
|
|
66
|
+
- [ ] [Detachment](https://github.com/webcomponents/gold-standard/wiki/Detachment) — If the component is detached, does it stop listening to page events, and generally suspend non-essential tasks?
|
|
67
|
+
|
|
68
|
+
- [ ] [Reattachment](https://github.com/webcomponents/gold-standard/wiki/Reattachment) — Can a detached component be added back to the page?
|
|
69
|
+
|
|
70
|
+
### Content
|
|
71
|
+
|
|
72
|
+
- [ ] [Children Visible](https://github.com/webcomponents/gold-standard/wiki/Children-Visible) — If the component is visible and given an initial set of children, are those children visible without any attributes, methods, event handlers, or styles required?
|
|
73
|
+
|
|
74
|
+
- [ ] [Content Assignment](https://github.com/webcomponents/gold-standard/wiki/Content-Assignment) — Can you place a `<slot>` element inside a component instance and have the component treat the assigned content as if it were directly inside the component?
|
|
75
|
+
|
|
76
|
+
- [ ] [Content Changes](https://github.com/webcomponents/gold-standard/wiki/Content-Changes) — Will the component respond to runtime changes in its content (including distributed content)?
|
|
77
|
+
|
|
78
|
+
- [ ] [Child Independence](https://github.com/webcomponents/gold-standard/wiki/Child-Independence) — Can you use the component with a wide range of child element types?
|
|
79
|
+
|
|
80
|
+
- [ ] [Auxiliary Content](https://github.com/webcomponents/gold-standard/wiki/Auxiliary-Content) — Does the component permit the use of child elements that perform auxiliary functions?
|
|
81
|
+
|
|
82
|
+
- [ ] [Back-End Independence](https://github.com/webcomponents/gold-standard/wiki/Back-End-Independence) — Can the component retrieve its content from a variety of a back-end services?
|
|
83
|
+
|
|
84
|
+
### Interaction
|
|
85
|
+
|
|
86
|
+
- [ ] [Focusable](https://github.com/webcomponents/gold-standard/wiki/Focusable) — If the component is interactive, can you navigate to/through it with Tab and Shift+Tab? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
87
|
+
|
|
88
|
+
- [ ] [Keyboard Support](https://github.com/webcomponents/gold-standard/wiki/Keyboard-Support) — Can you use the basic aspects of component exclusively with the keyboard? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
89
|
+
|
|
90
|
+
- [ ] [Redundant Sound](https://github.com/webcomponents/gold-standard/wiki/Redundant-Sound) — If the component uses sound to communicate information, does it also provide the same information another way? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
91
|
+
|
|
92
|
+
### Styling
|
|
93
|
+
|
|
94
|
+
- [ ] [Presentable](https://github.com/webcomponents/gold-standard/wiki/Presentable) — If the component is instantiated with no explicit styling, is it reasonably attractive, such that someone could feel comfortable presenting it as is?
|
|
95
|
+
|
|
96
|
+
- [ ] [Generic Styling](https://github.com/webcomponents/gold-standard/wiki/Generic-Styling) — Generally speaking, is the component’s default appearance straightforward and subdued?
|
|
97
|
+
|
|
98
|
+
- [ ] [Informational Animation](https://github.com/webcomponents/gold-standard/wiki/Informational-Animation) — Does the component’s default styling only use animation to communicate visually what is happening, rather than for purely artistic effects?
|
|
99
|
+
|
|
100
|
+
- [ ] [Static Initial Render](https://github.com/webcomponents/gold-standard/wiki/Static-Initial-Render) — Does the component avoid initial animated transitions?
|
|
101
|
+
|
|
102
|
+
- [ ] [Default Font](https://github.com/webcomponents/gold-standard/wiki/Default-Font) — By default, does the component use the inherited font face, size, style, and weight?
|
|
103
|
+
|
|
104
|
+
- [ ] [Default Colors](https://github.com/webcomponents/gold-standard/wiki/Default-Colors) — By default, does the component make use of the inherited forecolor and backcolor?
|
|
105
|
+
|
|
106
|
+
- [ ] [Focus Visible](https://github.com/webcomponents/gold-standard/wiki/Focus-Visible) — Can you easily see when the component has focus? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
107
|
+
|
|
108
|
+
- [ ] [Redundant Color](https://github.com/webcomponents/gold-standard/wiki/Redundant-Color) — If the component uses color to communicate information, does it also provide the same information another way? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
109
|
+
|
|
110
|
+
- [ ] [Size to Content](https://github.com/webcomponents/gold-standard/wiki/Size-to-Content) — Does the component automatically size itself to contain its content by default?
|
|
111
|
+
|
|
112
|
+
- [ ] [Stretch to Fit](https://github.com/webcomponents/gold-standard/wiki/Stretch-to-Fit) — If you stretch the component (e.g., with absolute positioning or CSS flex), do its elements appropriately stretch as well?
|
|
113
|
+
|
|
114
|
+
- [ ] [Sufficient Contrast](https://github.com/webcomponents/gold-standard/wiki/Sufficient-Contrast) — Are labels, icons, etc. perceivable and usable by low vision users? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
115
|
+
|
|
116
|
+
- [ ] [High Contrast](https://github.com/webcomponents/gold-standard/wiki/High-Contrast) — Is the component perceivable and usable when High Contrast Mode is enabled? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
117
|
+
|
|
118
|
+
- [ ] [Automatic Positioning](https://github.com/webcomponents/gold-standard/wiki/Automatic-Positioning) — Does the component automatically calculate positions for its elements?
|
|
119
|
+
|
|
120
|
+
- [ ] [Child Positioning](https://github.com/webcomponents/gold-standard/wiki/Child-Positioning) — Can child elements be positioned relative to their container within the component?
|
|
121
|
+
|
|
122
|
+
- [ ] [Responsive](https://github.com/webcomponents/gold-standard/wiki/Responsive) — Does the component scale well to standard mobile, tablet, and desktop screen sizes?
|
|
123
|
+
|
|
124
|
+
- [ ] [Magnification](https://github.com/webcomponents/gold-standard/wiki/Magnification) — Does the component render correctly when magnified? [*Accessibility*](https://github.com/webcomponents/gold-standard/wiki#accessibility)
|
|
125
|
+
|
|
126
|
+
- [ ] [Style Recalc](https://github.com/webcomponents/gold-standard/wiki/Style-Recalc) — Can you apply styles to a component instance even after it’s attached to the document?
|
|
127
|
+
|
|
128
|
+
- [ ] [Size Recalc](https://github.com/webcomponents/gold-standard/wiki/Size-Recalc) — If the component manually positions any subelements relative to its own size, does it appropriately recalc these positions when its own size changes?
|
|
129
|
+
|
|
130
|
+
### API
|
|
131
|
+
|
|
132
|
+
- [ ] [Member Order Independence](https://github.com/webcomponents/gold-standard/wiki/Member-Order-Independence) — Can you set or invoke the component’s attributes, properties, and methods in any order?
|
|
133
|
+
|
|
134
|
+
- [ ] [Member Combinations](https://github.com/webcomponents/gold-standard/wiki/Member-Combinations) — Can you generally use all the component’s attributes, properties, and methods in any combination?
|
|
135
|
+
|
|
136
|
+
- [ ] [Member Stability](https://github.com/webcomponents/gold-standard/wiki/Member-Stability) — If you change a component property or contents, then immediately get that property or contents, do you generally get the same result back?
|
|
137
|
+
|
|
138
|
+
- [ ] [Required Properties](https://github.com/webcomponents/gold-standard/wiki/Required-Properties) — Does the component avoid requiring properties to be set unless absolutely necessary?
|
|
139
|
+
|
|
140
|
+
- [ ] [Exposed Methods](https://github.com/webcomponents/gold-standard/wiki/Exposed-Methods) — Can you programmatically trigger all of the component’s key functionality through methods, rather than relying on user interaction?
|
|
141
|
+
|
|
142
|
+
- [ ] [Exposed Events](https://github.com/webcomponents/gold-standard/wiki/Exposed-Events) — Does the component raise events for all key points in its use?
|
|
143
|
+
|
|
144
|
+
- [ ] [Property Change Events](https://github.com/webcomponents/gold-standard/wiki/Property-Change-Events) — Does the component raise property change events when — and only when — properties change in response to internal component activity?
|
|
145
|
+
|
|
146
|
+
- [ ] [Documented API](https://github.com/webcomponents/gold-standard/wiki/Documented-API) — Does the component document its public API?
|
|
147
|
+
|
|
148
|
+
- [ ] [Hide Internal Members](https://github.com/webcomponents/gold-standard/wiki/Hide-Internal-Members) — Does the component avoid exposing internal members in its public API?
|
|
149
|
+
|
|
150
|
+
### Performance
|
|
151
|
+
|
|
152
|
+
- [ ] [Computational Performance](https://github.com/webcomponents/gold-standard/wiki/Computational-Performance) — Generally speaking, does the component perform its core functions reasonably quickly?
|
|
153
|
+
|
|
154
|
+
- [ ] [Network Performance](https://github.com/webcomponents/gold-standard/wiki/Network-Performance) — If the component uses the network, does it do so efficiently?
|
|
155
|
+
|
|
156
|
+
- [ ] [Render Performance](https://github.com/webcomponents/gold-standard/wiki/Render-Performance) — Is the component quick to get pixels on the screen when first loading and when updating?
|
|
157
|
+
|
|
158
|
+
- [ ] [Vector Graphics](https://github.com/webcomponents/gold-standard/wiki/Vector-Graphics) — Where possible and appropriate, are the component’s graphics in a scalable vector form?
|
|
159
|
+
|
|
160
|
+
- [ ] [Progress Feedback](https://github.com/webcomponents/gold-standard/wiki/Progress-Feedback) — For long operations, can the component provide appropriate feedback?
|
|
161
|
+
|
|
162
|
+
### Localization
|
|
163
|
+
|
|
164
|
+
- [ ] [Localizable Strings](https://github.com/webcomponents/gold-standard/wiki/Localizable-Strings) — Can text presented by the component be replaced for use in other languages?
|
|
165
|
+
|
|
166
|
+
- [ ] [Date+Time Format](https://github.com/webcomponents/gold-standard/wiki/Date+Time-Format) — If the component accepts or renders dates and/or times, can you change the date/time format?
|
|
167
|
+
|
|
168
|
+
- [ ] [Currency Format](https://github.com/webcomponents/gold-standard/wiki/Currency-Format) — If the component accepts or renders currency amounts, can you change the currency format?
|
|
169
|
+
|
|
170
|
+
- [ ] [Right-to-Left](https://github.com/webcomponents/gold-standard/wiki/Right-to-Left) — Can the component be configured to flip its presentation for use in right-to-left languages like Arabic and Hebrew?
|
|
171
|
+
|
|
172
|
+
### Factoring
|
|
173
|
+
|
|
174
|
+
- [ ] [Base Class](https://github.com/webcomponents/gold-standard/wiki/Base-Class) — If the component is a special case of another component, does it appropriately subclass from (or at least compose an instance of) that base class?
|
|
175
|
+
|
|
176
|
+
- [ ] [Composition](https://github.com/webcomponents/gold-standard/wiki/Composition) — Does the component appropriately delegate responsibilities to existing standard components when possible?
|
|
177
|
+
|
|
178
|
+
- [ ] [Subclassable](https://github.com/webcomponents/gold-standard/wiki/Subclassable) — Is the component subclassable?
|
|
179
|
+
|
|
180
|
+
- [ ] [Overridable Methods](https://github.com/webcomponents/gold-standard/wiki/Overridable-Methods) — Does the component provide internal methods for key functionality, such that a subclass can override those methods to refine their behavior?
|
|
181
|
+
|
|
182
|
+
### Development
|
|
183
|
+
|
|
184
|
+
- [ ] [Code Style Guide](https://github.com/webcomponents/gold-standard/wiki/Code-Style-Guide) — Does the source code comply with a standard source code style guide?
|
|
185
|
+
|
|
186
|
+
- [ ] [Open License](https://github.com/webcomponents/gold-standard/wiki/Open-License) — If the component presents itself as open source, has it been assigned a standard form of a common open source license?
|
|
187
|
+
|
|
188
|
+
- [ ] [Clean Console](https://github.com/webcomponents/gold-standard/wiki/Clean-Console) — Does the component avoid writing to the debug console unless specifically requested to do so?
|
|
189
|
+
|
|
190
|
+
- [ ] [Prefixed Name](https://github.com/webcomponents/gold-standard/wiki/Prefixed-Name) — Does the component have a name prefixed with a project name, element collection name, organization, or something with semantic meaning?
|
|
191
|
+
</details>
|
package/.prettierignore
ADDED
package/.prettierrc
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { commonDev } from '../webpack.config';
|
|
2
|
+
import * as webpack from "webpack";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* merge two arrays into one and remove the duplicates
|
|
6
|
+
*
|
|
7
|
+
* @param merger
|
|
8
|
+
* @param mergee
|
|
9
|
+
* @returns {Array<any>} merged unique array
|
|
10
|
+
*/
|
|
11
|
+
const mergeUnique = (merger: Array<any>, mergee?: Array<any>) =>
|
|
12
|
+
mergee ?
|
|
13
|
+
merger.concat(mergee.filter((item: any) => merger.indexOf(item) === -1)) :
|
|
14
|
+
merger;
|
|
15
|
+
|
|
16
|
+
module.exports = {
|
|
17
|
+
stories: [
|
|
18
|
+
"../src/components/**/*.stories.ts",
|
|
19
|
+
"../src/components/**/*.stories.mdx",
|
|
20
|
+
"../src/internal-components/color-table/ColorTable.stories.ts",
|
|
21
|
+
"../src/internal-components/color-table/*.stories.mdx"
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
addons: [
|
|
25
|
+
"@storybook/addon-knobs/register",
|
|
26
|
+
"@storybook/addon-a11y/register",
|
|
27
|
+
"@storybook/addon-docs",
|
|
28
|
+
"@storybook/addon-controls",
|
|
29
|
+
"@storybook/addon-actions",
|
|
30
|
+
"@storybook/addon-viewport"
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
webpackFinal: async (storybookConfig: webpack.Configuration, { configType }: { configType : "DEVELOPMENT" | "PRODUCTION" }) => {
|
|
34
|
+
|
|
35
|
+
console.log("Storybook build mode: ", configType);
|
|
36
|
+
|
|
37
|
+
// RESOLVE
|
|
38
|
+
{
|
|
39
|
+
storybookConfig.resolve = storybookConfig.resolve || {};
|
|
40
|
+
|
|
41
|
+
// EXTENSIONS
|
|
42
|
+
{
|
|
43
|
+
storybookConfig.resolve.extensions = mergeUnique(storybookConfig.resolve?.extensions || [], commonDev.resolve?.extensions || []);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// ALIAS
|
|
47
|
+
{
|
|
48
|
+
storybookConfig.resolve.alias = commonDev.resolve?.alias;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// MODULE
|
|
53
|
+
{
|
|
54
|
+
storybookConfig.module = storybookConfig.module || { rules: [] };
|
|
55
|
+
|
|
56
|
+
// RULES
|
|
57
|
+
{
|
|
58
|
+
storybookConfig.module.rules = mergeUnique(storybookConfig.module.rules, commonDev.module?.rules || []);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// PLUGINS
|
|
63
|
+
{
|
|
64
|
+
|
|
65
|
+
// Storybook production has it's own tuned HtmlWebpackPlugin
|
|
66
|
+
const omitPluginNames = (configType === "DEVELOPMENT") ? [] : ["HtmlWebpackPlugin"];
|
|
67
|
+
|
|
68
|
+
const plugins = (commonDev.plugins || []).filter(p => omitPluginNames.indexOf(p.constructor.name) === -1);
|
|
69
|
+
|
|
70
|
+
storybookConfig.plugins = mergeUnique(storybookConfig.plugins || [], plugins);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return storybookConfig;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { addons } from '@storybook/addons';
|
|
2
|
+
|
|
3
|
+
addons.setConfig({
|
|
4
|
+
isFullscreen: false,
|
|
5
|
+
showNav: true,
|
|
6
|
+
showPanel: true,
|
|
7
|
+
panelPosition: 'bottom',
|
|
8
|
+
sidebarAnimations: true,
|
|
9
|
+
enableShortcuts: true,
|
|
10
|
+
isToolshown: true,
|
|
11
|
+
selectedPanel: undefined,
|
|
12
|
+
initialActive: 'sidebar',
|
|
13
|
+
showRoots: true,
|
|
14
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
body {padding: 0 !important;}
|
|
3
|
+
|
|
4
|
+
#root {
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#root-inner {
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
md-theme.theme-toggle {
|
|
14
|
+
background: #fff;
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-height: 450px;
|
|
17
|
+
padding: 1rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
md-theme.theme-toggle[darktheme] {
|
|
22
|
+
background: #000;
|
|
23
|
+
color: #F7F7F7;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sorting {
|
|
27
|
+
opacity: 0.4;
|
|
28
|
+
border-style: dashed;
|
|
29
|
+
border-color: #333;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.shared-draggable-wrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: space-evenly;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ghost {
|
|
38
|
+
opacity: 0.4;
|
|
39
|
+
border-style: dashed;
|
|
40
|
+
border-color: red;
|
|
41
|
+
background-color: yellow;
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { addDecorator, addParameters, configure, setCustomElements } from "@storybook/web-components";
|
|
2
|
+
import customElements from './custom-elements.json';
|
|
3
|
+
import { withA11y } from "@storybook/addon-a11y";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Custom element file generated automatically by execute this command
|
|
7
|
+
* npx web-component-analyzer src\components\**\*.ts --outFile .storybook\custom-elements.json
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
addDecorator(withA11y);
|
|
11
|
+
|
|
12
|
+
setCustomElements(customElements);
|
|
13
|
+
|
|
14
|
+
addParameters({
|
|
15
|
+
docs: {
|
|
16
|
+
inlineStories: false,
|
|
17
|
+
},
|
|
18
|
+
controls: { expanded: true },
|
|
19
|
+
a11y: {
|
|
20
|
+
config: {},
|
|
21
|
+
options: {
|
|
22
|
+
checks: { 'color-contrast': { options: { noScroll: true } } },
|
|
23
|
+
restoreScroll: true,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
options: {
|
|
27
|
+
storySort: {
|
|
28
|
+
order: ['Components', 'Internal References'],
|
|
29
|
+
method: 'alphabetical'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
package/.stylelintignore
ADDED
package/.stylelintrc.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: [
|
|
3
|
+
"stylelint-prettier",
|
|
4
|
+
],
|
|
5
|
+
extends: [
|
|
6
|
+
"stylelint-config-sass-guidelines"
|
|
7
|
+
],
|
|
8
|
+
rules: {
|
|
9
|
+
"string-quotes": "double",
|
|
10
|
+
"max-nesting-depth": 5,
|
|
11
|
+
"selector-class-pattern": null,
|
|
12
|
+
"scss/at-import-partial-extension-blacklist": null,
|
|
13
|
+
"declaration-property-value-blacklist": {
|
|
14
|
+
"border": ["none"]
|
|
15
|
+
},
|
|
16
|
+
"scss/dollar-variable-pattern": null
|
|
17
|
+
}
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"mikestead.dotenv",
|
|
4
|
+
"dbaeumer.vscode-eslint",
|
|
5
|
+
"orta.vscode-jest",
|
|
6
|
+
"runem.lit-plugin",
|
|
7
|
+
"ionutvmi.path-autocomplete",
|
|
8
|
+
"esbenp.prettier-vscode",
|
|
9
|
+
"mrmlnc.vscode-scss",
|
|
10
|
+
"stylelint.vscode-stylelint",
|
|
11
|
+
"sonarsource.sonarlint-vscode"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.0.1",
|
|
3
|
+
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"type": "node",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
"name": "vscode-jest-tests",
|
|
8
|
+
"program": "${workspaceRoot}/node_modules/.bin/jest",
|
|
9
|
+
"cwd": "${workspaceRoot}",
|
|
10
|
+
"args": ["--i", "--config", "jest.config.js"]
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
3
|
+
"editor.formatOnSave": false,
|
|
4
|
+
"editor.codeActionsOnSave": {
|
|
5
|
+
"source.fixAll.eslint": true,
|
|
6
|
+
"source.fixAll.stylelint": true,
|
|
7
|
+
"source.organizeImports": true
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
"css.validate": false,
|
|
11
|
+
"scss.validate": false,
|
|
12
|
+
|
|
13
|
+
"lit-plugin.strict": true,
|
|
14
|
+
"lit-plugin.rules.no-unknown-event": "warning",
|
|
15
|
+
|
|
16
|
+
"jest.autoEnable": false,
|
|
17
|
+
|
|
18
|
+
"path-autocomplete.extensionOnImport": true,
|
|
19
|
+
"path-autocomplete.pathMappings": {
|
|
20
|
+
"@": "${folder}/src",
|
|
21
|
+
"@img": "${folder}/src/assets/images",
|
|
22
|
+
"@css": "${folder}/src/assets/styles"
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
"sonarlint.connectedMode.project": {
|
|
26
|
+
"connectionId": "cisco",
|
|
27
|
+
"projectKey": "Momentum-UI-Web-Components"
|
|
28
|
+
}
|
|
29
|
+
}
|