@momentum-ui/web-components 2.13.9 → 2.13.11
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/dist/assets/styles/fonts.css +30 -22
- package/dist/chunks/md-1.js +1 -1
- package/dist/chunks/md-10.js +17 -5
- package/dist/chunks/md-100.js +1 -1
- package/dist/chunks/md-101.js +1 -1
- package/dist/chunks/md-102.js +1 -1
- package/dist/chunks/md-103.js +1 -1
- package/dist/chunks/md-104.js +1 -1
- package/dist/chunks/md-105.js +1 -1
- package/dist/chunks/md-106.js +1 -1
- package/dist/chunks/md-107.js +1 -1
- package/dist/chunks/md-108.js +1 -1
- package/dist/chunks/md-109.js +1 -1
- package/dist/chunks/md-11.js +1 -1
- package/dist/chunks/md-110.js +1 -1
- package/dist/chunks/md-111.js +1 -1
- package/dist/chunks/md-112.js +1 -1
- package/dist/chunks/md-113.js +1 -1
- package/dist/chunks/md-114.js +1 -1
- package/dist/chunks/md-115.js +1 -1
- package/dist/chunks/md-116.js +1 -1
- package/dist/chunks/md-117.js +1 -1
- package/dist/chunks/md-118.js +1 -1
- package/dist/chunks/md-119.js +1 -1
- package/dist/chunks/md-12.js +1 -9
- package/dist/chunks/md-120.js +1 -1
- package/dist/chunks/md-121.js +1 -1
- package/dist/chunks/md-122.js +1 -1
- package/dist/chunks/md-123.js +1 -1
- package/dist/chunks/md-124.js +1 -1
- package/dist/chunks/md-125.js +1 -1
- package/dist/chunks/md-126.js +1 -1
- package/dist/chunks/md-127.js +1 -1
- package/dist/chunks/md-128.js +1 -1
- package/dist/chunks/md-129.js +1 -1
- package/dist/chunks/md-13.js +10 -12
- package/dist/chunks/md-130.js +1 -1
- package/dist/chunks/md-131.js +1 -1
- package/dist/chunks/md-132.js +1 -1
- package/dist/chunks/md-133.js +1 -1
- package/dist/chunks/md-134.js +1 -1
- package/dist/chunks/md-135.js +1 -1
- package/dist/chunks/md-136.js +1 -1
- package/dist/chunks/md-137.js +1 -1
- package/dist/chunks/md-138.js +1 -1
- package/dist/chunks/md-139.js +1 -1
- package/dist/chunks/md-14.js +9 -1
- package/dist/chunks/md-140.js +1 -1
- package/dist/chunks/md-141.js +1 -1
- package/dist/chunks/md-142.js +1 -1
- package/dist/chunks/md-143.js +1 -1
- package/dist/chunks/md-144.js +1 -1
- package/dist/chunks/md-145.js +1 -1
- package/dist/chunks/md-146.js +1 -1
- package/dist/chunks/md-147.js +1 -1
- package/dist/chunks/md-148.js +1 -1
- package/dist/chunks/md-149.js +1 -1
- package/dist/chunks/md-15.js +1 -124
- package/dist/chunks/md-150.js +1 -1
- package/dist/chunks/md-151.js +1 -1
- package/dist/chunks/md-152.js +1 -1
- package/dist/chunks/md-153.js +1 -1
- package/dist/chunks/md-154.js +1 -1
- package/dist/chunks/md-155.js +1 -1
- package/dist/chunks/md-156.js +1 -1
- package/dist/chunks/md-157.js +1 -1
- package/dist/chunks/md-158.js +1 -1
- package/dist/chunks/md-159.js +1 -1
- package/dist/chunks/md-16.js +3 -3
- package/dist/chunks/md-160.js +1 -1
- package/dist/chunks/md-161.js +1 -1
- package/dist/chunks/md-162.js +1 -1
- package/dist/chunks/md-163.js +1 -1
- package/dist/chunks/md-164.js +1 -1
- package/dist/chunks/md-165.js +1 -1
- package/dist/chunks/md-166.js +1 -1
- package/dist/chunks/md-167.js +1 -1
- package/dist/chunks/md-168.js +1 -1
- package/dist/chunks/md-169.js +1 -1
- package/dist/chunks/md-17.js +122 -17
- package/dist/chunks/md-170.js +1 -1
- package/dist/chunks/md-171.js +1 -1
- package/dist/chunks/md-172.js +1 -1
- package/dist/chunks/md-173.js +1 -1
- package/dist/chunks/md-174.js +1 -1
- package/dist/chunks/md-175.js +1 -1
- package/dist/chunks/md-176.js +1 -1
- package/dist/chunks/md-177.js +1 -1
- package/dist/chunks/md-178.js +1 -1
- package/dist/chunks/md-179.js +1 -1
- package/dist/chunks/md-18.js +17 -12
- package/dist/chunks/md-180.js +1 -1
- package/dist/chunks/md-181.js +1 -1
- package/dist/chunks/md-182.js +1 -1
- package/dist/chunks/md-183.js +1 -1
- package/dist/chunks/md-184.js +1 -1
- package/dist/chunks/md-185.js +1 -1
- package/dist/chunks/md-186.js +1 -1
- package/dist/chunks/md-187.js +1 -1
- package/dist/chunks/md-188.js +1 -1
- package/dist/chunks/md-189.js +1 -1
- package/dist/chunks/md-19.js +1 -1
- package/dist/chunks/md-190.js +1 -1
- package/dist/chunks/md-191.js +1 -1
- package/dist/chunks/md-192.js +1 -1
- package/dist/chunks/md-193.js +1 -1
- package/dist/chunks/md-194.js +1 -1
- package/dist/chunks/md-195.js +1 -1
- package/dist/chunks/md-196.js +1 -1
- package/dist/chunks/md-197.js +1 -1
- package/dist/chunks/md-198.js +1 -1
- package/dist/chunks/md-199.js +1 -1
- package/dist/chunks/md-20.js +8 -7
- package/dist/chunks/md-200.js +1 -1
- package/dist/chunks/md-201.js +1 -1
- package/dist/chunks/md-202.js +1 -1
- package/dist/chunks/md-203.js +1 -1
- package/dist/chunks/md-204.js +1 -1
- package/dist/chunks/md-205.js +1 -1
- package/dist/chunks/md-206.js +1 -1
- package/dist/chunks/md-207.js +1 -1
- package/dist/chunks/md-208.js +1 -1
- package/dist/chunks/md-209.js +1 -1
- package/dist/chunks/md-21.js +21 -11
- package/dist/chunks/md-210.js +1 -1
- package/dist/chunks/md-211.js +1 -1
- package/dist/chunks/md-212.js +1 -1
- package/dist/chunks/md-213.js +1 -1
- package/dist/chunks/md-214.js +1 -1
- package/dist/chunks/md-215.js +1 -1
- package/dist/chunks/md-216.js +1 -1
- package/dist/chunks/md-217.js +1 -1
- package/dist/chunks/md-218.js +1 -1
- package/dist/chunks/md-219.js +1 -1
- package/dist/chunks/md-22.js +1 -1
- package/dist/chunks/md-220.js +1 -1
- package/dist/chunks/md-221.js +1 -1
- package/dist/chunks/md-222.js +1 -1
- package/dist/chunks/md-223.js +1 -1
- package/dist/chunks/md-224.js +1 -1
- package/dist/chunks/md-225.js +1 -1
- package/dist/chunks/md-226.js +1 -1
- package/dist/chunks/md-227.js +1 -1
- package/dist/chunks/md-228.js +1 -1
- package/dist/chunks/md-229.js +1 -1
- package/dist/chunks/md-23.js +7 -1
- package/dist/chunks/md-230.js +1 -1
- package/dist/chunks/md-231.js +1 -1
- package/dist/chunks/md-232.js +1 -1
- package/dist/chunks/md-233.js +1 -1
- package/dist/chunks/md-234.js +1 -1
- package/dist/chunks/md-235.js +1 -1
- package/dist/chunks/md-236.js +1 -1
- package/dist/chunks/md-237.js +1 -1
- package/dist/chunks/md-238.js +1 -1
- package/dist/chunks/md-239.js +1 -1
- package/dist/chunks/md-24.js +8 -57
- package/dist/chunks/md-240.js +1 -1
- package/dist/chunks/md-241.js +1 -1
- package/dist/chunks/md-242.js +1 -1
- package/dist/chunks/md-243.js +1 -1
- package/dist/chunks/md-244.js +1 -1
- package/dist/chunks/md-245.js +1 -1
- package/dist/chunks/md-246.js +1 -1
- package/dist/chunks/md-247.js +1 -1
- package/dist/chunks/md-248.js +1 -1
- package/dist/chunks/md-249.js +1 -1
- package/dist/chunks/md-25.js +1 -1
- package/dist/chunks/md-250.js +1 -1
- package/dist/chunks/md-251.js +1 -1
- package/dist/chunks/md-252.js +1 -1
- package/dist/chunks/md-253.js +1 -1
- package/dist/chunks/md-254.js +1 -1
- package/dist/chunks/md-255.js +1 -1
- package/dist/chunks/md-256.js +1 -1
- package/dist/chunks/md-257.js +1 -1
- package/dist/chunks/md-258.js +1 -1
- package/dist/chunks/md-259.js +1 -1
- package/dist/chunks/md-26.js +1 -1
- package/dist/chunks/md-260.js +1 -1
- package/dist/chunks/md-261.js +1 -1
- package/dist/chunks/md-262.js +1 -1
- package/dist/chunks/md-263.js +1 -1
- package/dist/chunks/md-264.js +1 -1
- package/dist/chunks/md-265.js +1 -1
- package/dist/chunks/md-266.js +1 -1
- package/dist/chunks/md-267.js +1 -1
- package/dist/chunks/md-268.js +1 -1
- package/dist/chunks/md-269.js +1 -1
- package/dist/chunks/md-27.js +45 -182
- package/dist/chunks/md-270.js +1 -1
- package/dist/chunks/md-271.js +1 -1
- package/dist/chunks/md-272.js +1 -1
- package/dist/chunks/md-273.js +1 -1
- package/dist/chunks/md-274.js +1 -1
- package/dist/chunks/md-275.js +1 -1
- package/dist/chunks/md-276.js +1 -0
- package/dist/chunks/md-277.js +1 -0
- package/dist/chunks/md-28.js +1 -61
- package/dist/chunks/md-29.js +192 -1
- package/dist/chunks/md-3.js +1 -1
- package/dist/chunks/md-30.js +49 -1
- package/dist/chunks/md-31.js +1 -33
- package/dist/chunks/md-32.js +1 -22
- package/dist/chunks/md-33.js +33 -7
- package/dist/chunks/md-34.js +23 -5
- package/dist/chunks/md-35.js +5 -1
- package/dist/chunks/md-36.js +5 -21
- package/dist/chunks/md-37.js +1 -24
- package/dist/chunks/md-38.js +20 -41
- package/dist/chunks/md-39.js +42 -1
- package/dist/chunks/md-4.js +1 -1
- package/dist/chunks/md-40.js +1 -33
- package/dist/chunks/md-41.js +30 -15
- package/dist/chunks/md-42.js +16 -1
- package/dist/chunks/md-43.js +1 -27
- package/dist/chunks/md-44.js +27 -5
- package/dist/chunks/md-45.js +4 -33
- package/dist/chunks/md-46.js +38 -13
- package/dist/chunks/md-47.js +13 -20
- package/dist/chunks/md-48.js +18 -45
- package/dist/chunks/md-49.js +57 -94
- package/dist/chunks/md-5.js +1 -1
- package/dist/chunks/md-50.js +98 -13
- package/dist/chunks/md-51.js +11 -5
- package/dist/chunks/md-52.js +4 -67
- package/dist/chunks/md-53.js +64 -20
- package/dist/chunks/md-54.js +22 -14
- package/dist/chunks/md-55.js +14 -5
- package/dist/chunks/md-56.js +5 -43
- package/dist/chunks/md-57.js +41 -28
- package/dist/chunks/md-58.js +21 -4
- package/dist/chunks/md-59.js +5 -1
- package/dist/chunks/md-6.js +1 -3
- package/dist/chunks/md-60.js +1 -23
- package/dist/chunks/md-61.js +23 -5
- package/dist/chunks/md-62.js +4 -14
- package/dist/chunks/md-63.js +10 -48
- package/dist/chunks/md-64.js +48 -29
- package/dist/chunks/md-65.js +29 -71
- package/dist/chunks/md-66.js +70 -19
- package/dist/chunks/md-67.js +19 -17
- package/dist/chunks/md-68.js +21 -38
- package/dist/chunks/md-69.js +17 -86
- package/dist/chunks/md-7.js +6 -16
- package/dist/chunks/md-70.js +36 -7
- package/dist/chunks/md-71.js +72 -72
- package/dist/chunks/md-72.js +6 -71
- package/dist/chunks/md-73.js +71 -67
- package/dist/chunks/md-74.js +78 -17
- package/dist/chunks/md-75.js +65 -4
- package/dist/chunks/md-76.js +16 -28
- package/dist/chunks/md-77.js +5 -3
- package/dist/chunks/md-78.js +18 -186
- package/dist/chunks/md-79.js +1 -39
- package/dist/chunks/md-8.js +1 -1
- package/dist/chunks/md-80.js +159 -83
- package/dist/chunks/md-81.js +32 -111
- package/dist/chunks/md-82.js +86 -11
- package/dist/chunks/md-83.js +79 -41
- package/dist/chunks/md-84.js +10 -31
- package/dist/chunks/md-85.js +42 -1
- package/dist/chunks/md-86.js +34 -1
- package/dist/chunks/md-87.js +1 -1
- package/dist/chunks/md-88.js +1 -1
- package/dist/chunks/md-89.js +1 -1
- package/dist/chunks/md-9.js +1 -1
- package/dist/chunks/md-90.js +1 -1
- package/dist/chunks/md-91.js +1 -1
- package/dist/chunks/md-92.js +1 -1
- package/dist/chunks/md-93.js +1 -1
- package/dist/chunks/md-94.js +1 -1
- package/dist/chunks/md-95.js +1 -1
- package/dist/chunks/md-96.js +1 -1
- package/dist/chunks/md-97.js +1 -1
- package/dist/chunks/md-98.js +1 -1
- package/dist/chunks/md-99.js +1 -1
- package/dist/comp/md-accordion-entry.js +1 -1
- package/dist/comp/md-accordion-item-entry.js +1 -1
- package/dist/comp/md-accordion-item.js +6 -2
- package/dist/comp/md-accordion.js +2 -2
- package/dist/comp/md-activity-button-entry.js +1 -1
- package/dist/comp/md-activity-button.js +2 -1
- package/dist/comp/md-alert-banner-entry.js +1 -1
- package/dist/comp/md-alert-banner.js +2 -1
- package/dist/comp/md-alert-entry.js +1 -1
- package/dist/comp/md-alert.js +2 -1
- package/dist/comp/md-audio-player-entry.js +1 -1
- package/dist/comp/md-audio-player.js +12 -1
- package/dist/comp/md-avatar-entry.js +1 -1
- package/dist/comp/md-avatar.js +4 -3
- package/dist/comp/md-badge-entry.js +1 -1
- package/dist/comp/md-badge.js +1 -1
- package/dist/comp/md-breadcrumb-entry.js +1 -1
- package/dist/comp/md-breadcrumb.js +1 -1
- package/dist/comp/md-button-entry.js +1 -1
- package/dist/comp/md-button-group-entry.js +1 -1
- package/dist/comp/md-button-group.js +1 -1
- package/dist/comp/md-card-entry.js +1 -1
- package/dist/comp/md-card.js +9 -4
- package/dist/comp/md-chat-message-entry.js +1 -1
- package/dist/comp/md-chat-message.js +5 -4
- package/dist/comp/md-checkbox-entry.js +1 -1
- package/dist/comp/md-checkbox.js +2 -2
- package/dist/comp/md-checkboxgroup-entry.js +1 -1
- package/dist/comp/md-checkboxgroup.js +2 -2
- package/dist/comp/md-chip-entry.js +1 -1
- package/dist/comp/md-chip.js +5 -4
- package/dist/comp/md-coachmark-entry.js +1 -1
- package/dist/comp/md-coachmark.js +2 -2
- package/dist/comp/md-combobox-entry.js +1 -1
- package/dist/comp/md-combobox.js +4 -3
- package/dist/comp/md-composite-avatar-entry.js +1 -1
- package/dist/comp/md-composite-avatar.js +2 -2
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-range-picker.js +9 -8
- package/dist/comp/md-date-time-picker-entry.js +1 -1
- package/dist/comp/md-date-time-picker.js +4 -3
- package/dist/comp/md-datepicker-calendar-entry.js +1 -1
- package/dist/comp/md-datepicker-calendar.js +6 -5
- package/dist/comp/md-datepicker-day-entry.js +1 -1
- package/dist/comp/md-datepicker-day.js +3 -3
- package/dist/comp/md-datepicker-entry.js +1 -1
- package/dist/comp/md-datepicker-month-entry.js +1 -1
- package/dist/comp/md-datepicker-month.js +4 -4
- package/dist/comp/md-datepicker-week-entry.js +1 -1
- package/dist/comp/md-datepicker-week.js +3 -3
- package/dist/comp/md-datepicker.js +8 -7
- package/dist/comp/md-draggable-entry.js +1 -1
- package/dist/comp/md-draggable-item-entry.js +1 -1
- package/dist/comp/md-draggable-item.js +2 -2
- package/dist/comp/md-draggable.js +3 -3
- package/dist/comp/md-dropdown-entry.js +1 -1
- package/dist/comp/md-dropdown.js +2 -1
- package/dist/comp/md-editable-field-entry.js +1 -1
- package/dist/comp/md-editable-field.js +5 -4
- package/dist/comp/md-favorite-entry.js +1 -1
- package/dist/comp/md-favorite.js +2 -1
- package/dist/comp/md-floating-minimize-entry.js +1 -1
- package/dist/comp/md-floating-minimize.js +3 -2
- package/dist/comp/md-floating-modal-entry.js +1 -1
- package/dist/comp/md-floating-modal.js +4 -3
- package/dist/comp/md-form-entry.js +1 -1
- package/dist/comp/md-form.js +1 -1
- package/dist/comp/md-grabber-entry.js +1 -0
- package/dist/comp/md-grabber.js +14 -0
- package/dist/comp/md-help-text-entry.js +1 -1
- package/dist/comp/md-help-text.js +1 -1
- package/dist/comp/md-icon-entry.js +1 -1
- package/dist/comp/md-icon.js +1 -0
- package/dist/comp/md-inpu.js +1 -1
- package/dist/comp/md-input-entry.js +1 -1
- package/dist/comp/md-input-file.js +1 -1
- package/dist/comp/md-input.js +3 -2
- package/dist/comp/md-label-entry.js +1 -1
- package/dist/comp/md-label.js +1 -1
- package/dist/comp/md-link-entry.js +1 -1
- package/dist/comp/md-link.js +1 -1
- package/dist/comp/md-list-entry.js +1 -1
- package/dist/comp/md-list-item-entry.js +1 -1
- package/dist/comp/md-list-item.js +2 -2
- package/dist/comp/md-list.js +2 -2
- package/dist/comp/md-loading-entry.js +1 -1
- package/dist/comp/md-loading.js +1 -1
- package/dist/comp/md-meeting-alert-entry.js +1 -1
- package/dist/comp/md-meeting-alert.js +5 -4
- package/dist/comp/md-menu-entry.js +1 -1
- package/dist/comp/md-menu-item-entry.js +1 -1
- package/dist/comp/md-menu-item.js +1 -1
- package/dist/comp/md-menu-overlay-entry.js +1 -1
- package/dist/comp/md-menu-overlay.js +1 -1
- package/dist/comp/md-menu.js +2 -2
- package/dist/comp/md-modal-entry.js +1 -1
- package/dist/comp/md-modal.js +2 -1
- package/dist/comp/md-pagination-entry.js +1 -1
- package/dist/comp/md-pagination.js +6 -1
- package/dist/comp/md-phone-input-entry.js +1 -1
- package/dist/comp/md-phone-input.js +7 -6
- package/dist/comp/md-progress-bar-entry.js +1 -1
- package/dist/comp/md-progress-bar.js +1 -1
- package/dist/comp/md-radio-entry.js +1 -1
- package/dist/comp/md-radio.js +2 -2
- package/dist/comp/md-radiogroup-entry.js +1 -1
- package/dist/comp/md-radiogroup.js +2 -2
- package/dist/comp/md-slider-entry.js +1 -1
- package/dist/comp/md-slider.js +1 -1
- package/dist/comp/md-spinner-entry.js +1 -1
- package/dist/comp/md-tab-entry.js +1 -1
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-tab-panel.js +2 -2
- package/dist/comp/md-tab.js +2 -2
- package/dist/comp/md-table-advanced-entry.js +1 -1
- package/dist/comp/md-table-advanced.js +3 -2
- package/dist/comp/md-table-entry.js +1 -1
- package/dist/comp/md-table.js +1 -1
- package/dist/comp/md-tabs-entry.js +1 -1
- package/dist/comp/md-tabs.js +6 -5
- package/dist/comp/md-task-item-entry.js +1 -1
- package/dist/comp/md-task-item.js +3 -2
- package/dist/comp/md-theme-entry.js +1 -1
- package/dist/comp/md-theme.js +2 -2
- package/dist/comp/md-timepicker-entry.js +1 -1
- package/dist/comp/md-timepicker.js +7 -6
- package/dist/comp/md-toggle-switch-entry.js +1 -1
- package/dist/comp/md-toggle-switch.js +2 -2
- package/dist/comp/md-tooltip-entry.js +1 -1
- package/dist/comp/md-tooltip.js +2 -2
- package/dist/index-entry.js +2 -22
- package/dist/index.js +51 -49
- package/dist/types/components/accordion/AccordionItem.d.ts +8 -0
- package/dist/types/components/activity-button/ActivityButton.d.ts +2 -2
- package/dist/types/components/alert-banner/AlertBanner.d.ts +2 -2
- package/dist/types/components/audio-player/AudioPlayer.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.d.ts +12 -2
- package/dist/types/components/avatar/CompositeAvatar.d.ts +2 -2
- package/dist/types/components/avatar/Presence.d.ts +1 -1
- package/dist/types/components/avatar/Presence.utils.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +8 -8
- package/dist/types/components/card/Card.d.ts +3 -1
- package/dist/types/components/chip/Chip.d.ts +3 -3
- package/dist/types/components/coachmark/Coachmark.d.ts +1 -1
- package/dist/types/components/combobox/ComboBox.d.ts +1 -1
- package/dist/types/components/date-time-picker/DateTimePicker.d.ts +1 -1
- package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
- package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +2 -2
- package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +1 -1
- package/dist/types/components/editable-textfield/EditableTextfield.d.ts +2 -2
- package/dist/types/components/favorite/Favorite.d.ts +2 -2
- package/dist/types/components/floating-modal/FloatingModal.d.ts +2 -2
- package/dist/types/components/grabber/Grabber.d.ts +2 -2
- package/dist/types/components/help-text/HelpText.d.ts +1 -1
- package/dist/types/components/icon/Icon.d.ts +22 -10
- package/dist/types/components/input/Input.d.ts +3 -3
- package/dist/types/components/link/Link.d.ts +3 -3
- package/dist/types/components/meeting-alert/MeetingAlert.d.ts +1 -1
- package/dist/types/components/menu-overlay/MenuOverlay.d.ts +4 -3
- package/dist/types/components/modal/Modal.d.ts +1 -1
- package/dist/types/components/pagination/Pagination.d.ts +2 -0
- package/dist/types/components/table/Table.d.ts +1 -1
- package/dist/types/components/timepicker/TimePicker.d.ts +3 -3
- package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +1 -1
- package/dist/types/components/tooltip/Tooltip.d.ts +2 -2
- package/dist/types/utils/keyboard.d.ts +1 -0
- package/package.json +6 -6
- package/dist/assets/fonts/MomentumFontIcon.svg +0 -8634
- package/dist/assets/fonts/MomentumFontIcon.ttf +0 -0
- package/dist/assets/fonts/MomentumFontIcon.woff +0 -0
- package/dist/assets/fonts/MomentumFontIcon.woff2 +0 -0
- package/dist/assets/fonts/glyphs.json +0 -20120
- package/dist/assets/icons/fonts/MomentumFontIcon.svg +0 -8634
- package/dist/assets/icons/fonts/MomentumFontIcon.ttf +0 -0
- package/dist/assets/icons/fonts/MomentumFontIcon.woff +0 -0
- package/dist/assets/icons/fonts/MomentumFontIcon.woff2 +0 -0
- package/dist/assets/icons/fonts/glyphs.json +0 -20120
- package/dist/assets/styles/MomentumFontIcons.css +0 -11751
- package/dist/assets/styles/MomentumFontIcons.min.css +0 -1
- package/dist/assets/styles/functions.scss +0 -3
- package/dist/assets/styles/icons.scss +0 -2880
- package/dist/assets/styles/mixins.scss +0 -2915
- package/dist/assets/styles/placeholders.scss +0 -2901
- package/dist/assets/styles/variables.scss +0 -2885
package/dist/chunks/md-42.js
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{58:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(5),n=d(6),a=d(0),l=d(4),r=d(2),m=d(67),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
|
|
2
|
+
<li
|
|
3
|
+
role="menuitem"
|
|
4
|
+
part="menu-item"
|
|
5
|
+
class="md-menu-item ${Object(l.classMap)(this.menuItemClassMap)}"
|
|
6
|
+
?disabled=${this.disabled}
|
|
7
|
+
tabindex="-1"
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
aria-selected="false"
|
|
10
|
+
aria-label=${Object(r.ifDefined)(this.label)}
|
|
11
|
+
>
|
|
12
|
+
<a href="${Object(r.ifDefined)(this.href||void 0)}">
|
|
13
|
+
<slot></slot>
|
|
14
|
+
</a>
|
|
15
|
+
</li>
|
|
16
|
+
`}};o([Object(a.property)({type:String})],t.prototype,"href",void 0),o([Object(a.property)({type:String})],t.prototype,"label",void 0),o([Object(a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=o([Object(n.a)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},67:function(e,t,d){"use strict";var s=d(0);t.a=s.css`.md-menu{margin:0;padding:0}.md-menu--horizontal .md-menu-list ::slotted(*){display:inline-flex}.md-menu--vertical .md-menu-list ::slotted(*){display:flex}.md-menu.justified .md-menu-list{display:flex;justify-content:space-between}.md-menu .md-menu-list{margin:0}.md-menu-item{list-style:none;padding:.125rem}.md-menu-item a{color:var(--menu-text-color,var(--menu-default,#121212));display:flex;padding:.375rem .75rem}.md-menu-item ::slotted(*){padding:0 .1875rem}.md-menu-item:hover{background:var(--menu-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item:active{background:var(--menu-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected{background:var(--menu-selected-default-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected:hover{background:var(--menu-selected-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item--selected:active{background:var(--menu-selected-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item.disabled{pointer-events:none}.md-menu-item.disabled a{background:rgba(0,0,0,0);color:var(--md-disabled-text-color)}@media(forced-colors:active){.md-menu-item--selected,.md-menu-item:active,.md-menu-item:focus,.md-menu-item:hover{outline:1px solid Highlight}.md-menu-item.disabled a{color:GrayText}}`}}]);
|
package/dist/chunks/md-43.js
CHANGED
|
@@ -1,27 +1 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{
|
|
2
|
-
<button
|
|
3
|
-
type="button"
|
|
4
|
-
role="button"
|
|
5
|
-
?disabled=${this.disabled}
|
|
6
|
-
aria-selected="false"
|
|
7
|
-
aria-label=${Object(c.ifDefined)(this.ariaLabel||void 0)}
|
|
8
|
-
aria-hidden="true"
|
|
9
|
-
tabindex="-1"
|
|
10
|
-
part="tab"
|
|
11
|
-
class="${Object(r.classMap)({closable:""!==this.closable})}"
|
|
12
|
-
@click=${e=>this.handleClick(e)}
|
|
13
|
-
>
|
|
14
|
-
<slot class="tab-slot"></slot>
|
|
15
|
-
${this.isCrossVisible&&this.closable?d.html`
|
|
16
|
-
<div
|
|
17
|
-
?disabled=${this.disabled}
|
|
18
|
-
tabindex="-1"
|
|
19
|
-
class="tab-action-button"
|
|
20
|
-
@click=${e=>this.handleCrossClick(e)}
|
|
21
|
-
@keydown=${e=>this.handleCrossKeydown(e)}
|
|
22
|
-
>
|
|
23
|
-
<md-icon tabindex="0" name="cancel_14"></md-icon>
|
|
24
|
-
</div>
|
|
25
|
-
`:""}
|
|
26
|
-
</button>
|
|
27
|
-
`}};b([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),b([Object(d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),b([Object(d.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),b([Object(d.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),b([Object(d.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),b([Object(d.property)({type:String})],t.prototype,"ariaRole",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=b([Object(o.a)("md-tab")],t),e.ELEMENT=t}(h||(h={}))}}]);
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{69:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color, $lm-radio-input-text-color-light)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color,#121212);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:calc(1.25rem*1.8);padding-right:calc(.25rem/2);pointer-events:none;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color,#545454);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color,#fff),inset 0 0 0 1.25rem var(--radio-input-bg-color,#fff);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color,#ccc);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color,#dedede),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color,#dedede)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color,#00a0d1);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color,#00a0d1),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color,#007aa3);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color,#007aa3),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color,#005e7d);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color,#005e7d),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
|
package/dist/chunks/md-44.js
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{45:function(e,t,s){"use strict";s.r(t),s.d(t,"TAB_CROSS_WIDTH",(function(){return p})),s.d(t,"Tab",(function(){return h}));var i=s(1),a=s(7),o=s(6),l=s(5),d=s(0),r=s(4),c=s(2),n=s(39),b=function(e,t,s,i){var a,o=arguments.length,l=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(l=(o<3?a(l):o>3?a(t,s,l):a(t,s))||l);return o>3&&l&&Object.defineProperty(t,s,l),l};const p=22;var h;!function(e){let t=class extends(Object(a.a)(d.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[l.a,n.a]}handleClick(e){e.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(e){e.stopPropagation(),e.code===i.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(e){e.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.ariaRole&&this.setAttribute("role",this.ariaRole)}render(){return d.html`
|
|
2
|
+
<button
|
|
3
|
+
type="button"
|
|
4
|
+
role="button"
|
|
5
|
+
?disabled=${this.disabled}
|
|
6
|
+
aria-selected="false"
|
|
7
|
+
aria-label=${Object(c.ifDefined)(this.ariaLabel||void 0)}
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
tabindex="-1"
|
|
10
|
+
part="tab"
|
|
11
|
+
class="${Object(r.classMap)({closable:""!==this.closable})}"
|
|
12
|
+
@click=${e=>this.handleClick(e)}
|
|
13
|
+
>
|
|
14
|
+
<slot class="tab-slot"></slot>
|
|
15
|
+
${this.isCrossVisible&&this.closable?d.html`
|
|
16
|
+
<div
|
|
17
|
+
?disabled=${this.disabled}
|
|
18
|
+
tabindex="-1"
|
|
19
|
+
class="tab-action-button"
|
|
20
|
+
@click=${e=>this.handleCrossClick(e)}
|
|
21
|
+
@keydown=${e=>this.handleCrossKeydown(e)}
|
|
22
|
+
>
|
|
23
|
+
<md-icon tabindex="0" name="cancel_14"></md-icon>
|
|
24
|
+
</div>
|
|
25
|
+
`:""}
|
|
26
|
+
</button>
|
|
27
|
+
`}};b([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),b([Object(d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),b([Object(d.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),b([Object(d.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),b([Object(d.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),b([Object(d.property)({type:String})],t.prototype,"ariaRole",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=b([Object(o.a)("md-tab")],t),e.ELEMENT=t}(h||(h={}))}}]);
|
package/dist/chunks/md-45.js
CHANGED
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{84:function(e,t,
|
|
2
|
-
<div class="md-accordion
|
|
3
|
-
<
|
|
4
|
-
<button
|
|
5
|
-
type="button"
|
|
6
|
-
aria-expanded=${this.expanded}
|
|
7
|
-
class="md-accordion-expander"
|
|
8
|
-
aria-label=${Object(l.ifDefined)(this.label||void 0)}
|
|
9
|
-
aria-controls="panel-${this.uniqueId}"
|
|
10
|
-
aria-disabled=${this.disabled}
|
|
11
|
-
?disabled=${this.disabled}
|
|
12
|
-
id="header-${this.uniqueId}"
|
|
13
|
-
part="accordion-button"
|
|
14
|
-
tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
|
|
15
|
-
@mousedown=${this.handleMouseDown}
|
|
16
|
-
@keydown=${this.handleKeyDown}
|
|
17
|
-
>
|
|
18
|
-
<slot name="header-content">
|
|
19
|
-
<span class="md-accordion-expander-label">${this.label}</span>
|
|
20
|
-
</slot>
|
|
21
|
-
<md-icon name=${this.expanded?"icon-arrow-up_12":"icon-arrow-down_12"}></md-icon>
|
|
22
|
-
</button>
|
|
23
|
-
</div>
|
|
24
|
-
<div
|
|
25
|
-
role="region"
|
|
26
|
-
id="panel-${this.uniqueId}"
|
|
27
|
-
aria-labelledby="header-${this.uniqueId}"
|
|
28
|
-
class="md-accordion-panel"
|
|
29
|
-
part="accordion-panel"
|
|
30
|
-
>
|
|
31
|
-
<slot></slot>
|
|
32
|
-
</div>
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{84:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(6),d=o(5),r=o(0),a=o(59),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
|
|
2
|
+
<div class="md-accordion" part="accordion">
|
|
3
|
+
<slot name="accordion-item"></slot>
|
|
33
4
|
</div>
|
|
34
|
-
`}};
|
|
5
|
+
`}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
|
package/dist/chunks/md-46.js
CHANGED
|
@@ -1,13 +1,38 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(t,
|
|
2
|
-
<md-
|
|
3
|
-
aria-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(13);var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(2),r=d(22),c=d(59),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
|
|
2
|
+
<div class="md-accordion-item">
|
|
3
|
+
<div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
|
|
4
|
+
<button
|
|
5
|
+
type="button"
|
|
6
|
+
aria-expanded=${this.expanded}
|
|
7
|
+
class="md-accordion-expander"
|
|
8
|
+
aria-label=${Object(l.ifDefined)(this.label||void 0)}
|
|
9
|
+
aria-controls="panel-${this.uniqueId}"
|
|
10
|
+
aria-disabled=${this.disabled}
|
|
11
|
+
?disabled=${this.disabled}
|
|
12
|
+
id="header-${this.uniqueId}"
|
|
13
|
+
part="accordion-button"
|
|
14
|
+
tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
|
|
15
|
+
@mousedown=${this.handleMouseDown}
|
|
16
|
+
@keydown=${this.handleKeyDown}
|
|
17
|
+
>
|
|
18
|
+
<slot name="header-content">
|
|
19
|
+
<span class="md-accordion-expander-label">${this.label}</span>
|
|
20
|
+
</slot>
|
|
21
|
+
<md-icon
|
|
22
|
+
iconSet=${"momentumDesign"}
|
|
23
|
+
size="14"
|
|
24
|
+
name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
|
|
25
|
+
></md-icon>
|
|
26
|
+
</button>
|
|
27
|
+
</div>
|
|
28
|
+
<div
|
|
29
|
+
role="region"
|
|
30
|
+
id="panel-${this.uniqueId}"
|
|
31
|
+
aria-labelledby="header-${this.uniqueId}"
|
|
32
|
+
class="md-accordion-panel"
|
|
33
|
+
part="accordion-panel"
|
|
34
|
+
>
|
|
35
|
+
<slot></slot>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
`}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
|
package/dist/chunks/md-47.js
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<div class="md-alert-banner__text">
|
|
15
|
-
<slot><span>${this.message}</span></slot>
|
|
16
|
-
</div>
|
|
17
|
-
${r}
|
|
18
|
-
</div>
|
|
19
|
-
`:null}
|
|
20
|
-
`}};i([Object(c.property)({type:String})],r.prototype,"type",void 0),i([Object(c.property)({type:String})],r.prototype,"message",void 0),i([Object(c.property)({type:Boolean})],r.prototype,"closable",void 0),i([Object(c.property)({type:Boolean})],r.prototype,"show",void 0),i([Object(c.property)({type:String,attribute:"close-aria-label"})],r.prototype,"closeAriaLabel",void 0),r=i([Object(l.a)("md-alert-banner")],r),e.ELEMENT=r}(n||(n={}))}}]);
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{86:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(5),n=i(6),o=i(0),s=(i(16),i(13),i(60)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
|
|
2
|
+
<md-button
|
|
3
|
+
aria-label=${this.ariaLabel}
|
|
4
|
+
circle
|
|
5
|
+
.activityType=${this.type}
|
|
6
|
+
?containerLarge=${"84"===this.size}
|
|
7
|
+
?disabled=${this.disabled}
|
|
8
|
+
.size=${this.size}
|
|
9
|
+
.label=${this.label}
|
|
10
|
+
>
|
|
11
|
+
<md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
|
|
12
|
+
</md-button>
|
|
13
|
+
`}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
|
package/dist/chunks/md-48.js
CHANGED
|
@@ -1,47 +1,20 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{105:function(e,t
|
|
2
|
-
<md-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
${this.show?
|
|
13
|
-
<div
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{105:function(e,r,t){"use strict";t.r(r),t.d(r,"AlertBanner",(function(){return n}));t(16),t(13);var n,a=t(6),o=t(37),l=t(5),c=t(0),s=t(14),i=c.css`.md-alert-banner{padding:.75rem;position:relative;text-align:center;border-radius:var(--alert-banner-border-radius);font-family:var(--brand-font-regular);font-weight:var(--brand-font-weight-regular)}.md-alert-banner.md-alert-banner--default{background-color:var(--alert-banner-default-bg-color,#c9f4ff);color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--default md-icon{color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--warning{background-color:var(--alert-banner-warning-bg-color,#ffecc2);color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--warning md-icon{color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--error{background-color:var(--alert-banner-error-bg-color,#ffe8e3);color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--error md-icon{color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--success{background-color:var(--alert-banner-success-bg-color,#c9f4ff);color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner.md-alert-banner--success md-icon{color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner__text{font-size:var(--body-primary-font-size,.875rem);padding:0 1.75rem;text-align:center}.md-alert-banner__text a{color:inherit;text-decoration:underline}.md-alert-banner__close{cursor:pointer;height:1rem;position:absolute;right:1rem;top:.75rem;width:1rem}@media(forced-colors:active){.md-alert-banner{box-shadow:none;outline:2px solid CanvasText}}`,d=function(e,r,t,n){var a,o=arguments.length,l=o<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,t,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(l=(o<3?a(l):o>3?a(r,t,l):a(r,t))||l);return o>3&&l&&Object.defineProperty(r,t,l),l};!function(e){let r=class extends c.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:r}=e;Object(o.a)(r)&&this.onHide()}static get styles(){return[l.a,i]}render(){const e={"md-alert-banner":!0,["md-alert-banner--"+this.type]:this.type},r=this.closable?c.html`
|
|
2
|
+
<md-button
|
|
3
|
+
class="md-alert-banner__close"
|
|
4
|
+
hasRemoveStyle
|
|
5
|
+
ariaLabel=${this.closeAriaLabel}
|
|
6
|
+
@click="${this.onHide}"
|
|
7
|
+
@keydown="${this.handleKeyDown}"
|
|
8
|
+
>
|
|
9
|
+
<md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
10
|
+
</md-button>
|
|
11
|
+
`:null;return c.html`
|
|
12
|
+
${this.show?c.html`
|
|
13
|
+
<div class="${Object(s.classMap)(e)}" role="alert">
|
|
14
|
+
<div class="md-alert-banner__text">
|
|
15
|
+
<slot><span>${this.message}</span></slot>
|
|
16
16
|
</div>
|
|
17
|
-
|
|
18
|
-
${this.title&&""!==this.title?a.html`
|
|
19
|
-
<div class="md-alert__title" role="heading" aria-level="1">
|
|
20
|
-
${this.title}
|
|
21
|
-
</div>
|
|
22
|
-
`:n.nothing}
|
|
23
|
-
<div class="md-alert__message">
|
|
24
|
-
${this.message}
|
|
25
|
-
<slot name="alert-body"></slot>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
${this.closable?a.html`
|
|
29
|
-
<div class="md-alert__button">
|
|
30
|
-
<md-button
|
|
31
|
-
arialabel="${this.btnlabel}"
|
|
32
|
-
hasRemoveStyle
|
|
33
|
-
color="color-none"
|
|
34
|
-
circle
|
|
35
|
-
@click="${()=>this.close()}"
|
|
36
|
-
>
|
|
37
|
-
<md-icon slot="icon" name="icon-cancel_16"></md-icon>
|
|
38
|
-
</md-button>
|
|
39
|
-
</div>
|
|
40
|
-
`:a.html`
|
|
41
|
-
<div class="md-alert__footer">
|
|
42
|
-
<slot name="alert-footer"></slot>
|
|
43
|
-
</div>
|
|
44
|
-
`}
|
|
17
|
+
${r}
|
|
45
18
|
</div>
|
|
46
|
-
`:
|
|
47
|
-
`}};d([Object(
|
|
19
|
+
`:null}
|
|
20
|
+
`}};d([Object(c.property)({type:String})],r.prototype,"type",void 0),d([Object(c.property)({type:String})],r.prototype,"message",void 0),d([Object(c.property)({type:Boolean})],r.prototype,"closable",void 0),d([Object(c.property)({type:Boolean})],r.prototype,"show",void 0),d([Object(c.property)({type:String,attribute:"close-aria-label"})],r.prototype,"closeAriaLabel",void 0),r=d([Object(a.a)("md-alert-banner")],r),e.ELEMENT=r}(n||(n={}))}}]);
|