@momentum-ui/web-components 2.5.7 → 2.6.0
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/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 +18566 -0
- package/dist/assets/fonts/momentum-ui-icons.svg +9264 -0
- 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 +18566 -0
- package/dist/assets/icons/fonts/momentum-ui-icons.svg +9264 -0
- 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 +21 -0
- package/dist/assets/images/cisco/cisco-logo-blue.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-blue.svg +21 -0
- package/dist/assets/images/cisco/cisco-logo-white.png +0 -0
- package/dist/assets/images/cisco/cisco-logo-white.svg +21 -0
- 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 +30 -0
- 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 +30 -0
- 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 +30 -0
- 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 +13 -0
- 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 +13 -0
- 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 +13 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/assets/images/momentum/momentum-horiz-outline.png +0 -0
- package/dist/assets/images/momentum/momentum-horiz-outline.svg +1 -0
- package/dist/assets/images/momentum/momentum-outline-icon.png +0 -0
- package/dist/assets/images/momentum/momentum-outline-icon.svg +1 -0
- package/dist/assets/images/momentum/momentum-vert-color.png +0 -0
- package/dist/assets/images/momentum/momentum-vert-color.svg +1 -0
- package/dist/assets/images/momentum/momentum-vert-outline.png +0 -0
- package/dist/assets/images/momentum/momentum-vert-outline.svg +1 -0
- 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 +14 -0
- package/dist/assets/images/webex-calling/calling-icon-white.png +0 -0
- package/dist/assets/images/webex-calling/calling-icon-white.svg +13 -0
- 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 +46 -0
- package/dist/assets/images/webex-calling/calling-with-container-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-with-container-color.svg +19 -0
- package/dist/assets/images/webex-calling/calling-with-label-color.png +0 -0
- package/dist/assets/images/webex-calling/calling-with-label-color.svg +39 -0
- package/dist/assets/images/webex-meetings/meetings-icon-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-icon-color.svg +15 -0
- package/dist/assets/images/webex-meetings/meetings-icon-white.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-icon-white.svg +12 -0
- 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 +29 -0
- package/dist/assets/images/webex-meetings/meetings-with-container-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-with-container-color.svg +16 -0
- package/dist/assets/images/webex-meetings/meetings-with-label-color.png +0 -0
- package/dist/assets/images/webex-meetings/meetings-with-label-color.svg +28 -0
- package/dist/assets/images/webex-teams/teams-icon-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-icon-color.svg +18 -0
- package/dist/assets/images/webex-teams/teams-icon-white.png +0 -0
- package/dist/assets/images/webex-teams/teams-icon-white.svg +12 -0
- 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 +29 -0
- package/dist/assets/images/webex-teams/teams-with-container-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-with-container-color.svg +19 -0
- package/dist/assets/images/webex-teams/teams-with-label-color.png +0 -0
- package/dist/assets/images/webex-teams/teams-with-label-color.svg +30 -0
- package/{src → dist}/assets/styles/fonts.css +0 -0
- package/dist/assets/styles/momentum-ui-icons.min.css +1 -0
- package/dist/assets/styles/momentum-ui.min.css +7 -0
- package/dist/assets/styles/momentum-ui.min.css.map +1 -0
- package/dist/chunks/md-0.js +1 -0
- package/dist/chunks/md-1.js +1 -0
- package/dist/chunks/md-10.js +12 -0
- package/dist/chunks/md-100.js +1 -0
- package/dist/chunks/md-101.js +1 -0
- package/dist/chunks/md-102.js +1 -0
- package/dist/chunks/md-103.js +1 -0
- package/dist/chunks/md-104.js +1 -0
- package/dist/chunks/md-105.js +1 -0
- package/dist/chunks/md-106.js +1 -0
- package/dist/chunks/md-107.js +1 -0
- package/dist/chunks/md-108.js +1 -0
- package/dist/chunks/md-109.js +1 -0
- package/dist/chunks/md-11.js +1 -0
- package/dist/chunks/md-110.js +1 -0
- package/dist/chunks/md-111.js +1 -0
- package/dist/chunks/md-112.js +1 -0
- package/dist/chunks/md-113.js +1 -0
- package/dist/chunks/md-114.js +1 -0
- package/dist/chunks/md-115.js +1 -0
- package/dist/chunks/md-116.js +1 -0
- package/dist/chunks/md-117.js +1 -0
- package/dist/chunks/md-118.js +1 -0
- package/dist/chunks/md-119.js +1 -0
- package/dist/chunks/md-12.js +6 -0
- package/dist/chunks/md-120.js +1 -0
- package/dist/chunks/md-121.js +1 -0
- package/dist/chunks/md-122.js +1 -0
- package/dist/chunks/md-123.js +1 -0
- package/dist/chunks/md-124.js +1 -0
- package/dist/chunks/md-125.js +1 -0
- package/dist/chunks/md-126.js +1 -0
- package/dist/chunks/md-127.js +1 -0
- package/dist/chunks/md-128.js +1 -0
- package/dist/chunks/md-129.js +1 -0
- package/dist/chunks/md-13.js +13 -0
- package/dist/chunks/md-130.js +1 -0
- package/dist/chunks/md-131.js +1 -0
- package/dist/chunks/md-132.js +1 -0
- package/dist/chunks/md-133.js +1 -0
- package/dist/chunks/md-134.js +1 -0
- package/dist/chunks/md-135.js +1 -0
- package/dist/chunks/md-136.js +1 -0
- package/dist/chunks/md-137.js +1 -0
- package/dist/chunks/md-138.js +1 -0
- package/dist/chunks/md-139.js +1 -0
- package/dist/chunks/md-14.js +1 -0
- package/dist/chunks/md-140.js +1 -0
- package/dist/chunks/md-141.js +1 -0
- package/dist/chunks/md-142.js +1 -0
- package/dist/chunks/md-143.js +1 -0
- package/dist/chunks/md-144.js +1 -0
- package/dist/chunks/md-145.js +1 -0
- package/dist/chunks/md-146.js +1 -0
- package/dist/chunks/md-147.js +1 -0
- package/dist/chunks/md-148.js +1 -0
- package/dist/chunks/md-149.js +1 -0
- package/dist/chunks/md-15.js +118 -0
- package/dist/chunks/md-150.js +1 -0
- package/dist/chunks/md-151.js +1 -0
- package/dist/chunks/md-152.js +1 -0
- package/dist/chunks/md-153.js +1 -0
- package/dist/chunks/md-154.js +1 -0
- package/dist/chunks/md-155.js +1 -0
- package/dist/chunks/md-156.js +1 -0
- package/dist/chunks/md-157.js +1 -0
- package/dist/chunks/md-158.js +1 -0
- package/dist/chunks/md-159.js +1 -0
- package/dist/chunks/md-16.js +19 -0
- package/dist/chunks/md-160.js +1 -0
- package/dist/chunks/md-161.js +1 -0
- package/dist/chunks/md-162.js +1 -0
- package/dist/chunks/md-163.js +1 -0
- package/dist/chunks/md-164.js +1 -0
- package/dist/chunks/md-165.js +1 -0
- package/dist/chunks/md-166.js +1 -0
- package/dist/chunks/md-167.js +1 -0
- package/dist/chunks/md-168.js +1 -0
- package/dist/chunks/md-169.js +1 -0
- package/dist/chunks/md-17.js +17 -0
- package/dist/chunks/md-170.js +1 -0
- package/dist/chunks/md-171.js +1 -0
- package/dist/chunks/md-172.js +1 -0
- package/dist/chunks/md-173.js +1 -0
- package/dist/chunks/md-174.js +1 -0
- package/dist/chunks/md-175.js +1 -0
- package/dist/chunks/md-176.js +1 -0
- package/dist/chunks/md-177.js +1 -0
- package/dist/chunks/md-178.js +1 -0
- package/dist/chunks/md-179.js +1 -0
- package/dist/chunks/md-18.js +12 -0
- package/dist/chunks/md-180.js +1 -0
- package/dist/chunks/md-181.js +1 -0
- package/dist/chunks/md-182.js +1 -0
- package/dist/chunks/md-183.js +1 -0
- package/dist/chunks/md-184.js +1 -0
- package/dist/chunks/md-185.js +1 -0
- package/dist/chunks/md-186.js +1 -0
- package/dist/chunks/md-187.js +1 -0
- package/dist/chunks/md-188.js +1 -0
- package/dist/chunks/md-189.js +1 -0
- package/dist/chunks/md-19.js +1 -0
- package/dist/chunks/md-190.js +1 -0
- package/dist/chunks/md-191.js +1 -0
- package/dist/chunks/md-192.js +1 -0
- package/dist/chunks/md-193.js +1 -0
- package/dist/chunks/md-194.js +1 -0
- package/dist/chunks/md-195.js +1 -0
- package/dist/chunks/md-196.js +1 -0
- package/dist/chunks/md-197.js +1 -0
- package/dist/chunks/md-198.js +1 -0
- package/dist/chunks/md-199.js +1 -0
- package/dist/chunks/md-2.js +1 -0
- package/dist/chunks/md-20.js +7 -0
- package/dist/chunks/md-200.js +1 -0
- package/dist/chunks/md-201.js +1 -0
- package/dist/chunks/md-202.js +1 -0
- package/dist/chunks/md-203.js +1 -0
- package/dist/chunks/md-204.js +1 -0
- package/dist/chunks/md-205.js +1 -0
- package/dist/chunks/md-206.js +1 -0
- package/dist/chunks/md-207.js +1 -0
- package/dist/chunks/md-208.js +1 -0
- package/dist/chunks/md-209.js +1 -0
- package/dist/chunks/md-21.js +12 -0
- package/dist/chunks/md-210.js +1 -0
- package/dist/chunks/md-211.js +1 -0
- package/dist/chunks/md-212.js +1 -0
- package/dist/chunks/md-213.js +1 -0
- package/dist/chunks/md-214.js +1 -0
- package/dist/chunks/md-215.js +1 -0
- package/dist/chunks/md-216.js +1 -0
- package/dist/chunks/md-217.js +1 -0
- package/dist/chunks/md-218.js +1 -0
- package/dist/chunks/md-219.js +1 -0
- package/dist/chunks/md-22.js +1 -0
- package/dist/chunks/md-220.js +1 -0
- package/dist/chunks/md-221.js +1 -0
- package/dist/chunks/md-222.js +1 -0
- package/dist/chunks/md-223.js +1 -0
- package/dist/chunks/md-224.js +1 -0
- package/dist/chunks/md-225.js +1 -0
- package/dist/chunks/md-226.js +1 -0
- package/dist/chunks/md-227.js +1 -0
- package/dist/chunks/md-228.js +1 -0
- package/dist/chunks/md-229.js +1 -0
- package/dist/chunks/md-23.js +36 -0
- package/dist/chunks/md-230.js +1 -0
- package/dist/chunks/md-231.js +1 -0
- package/dist/chunks/md-232.js +1 -0
- package/dist/chunks/md-233.js +1 -0
- package/dist/chunks/md-234.js +1 -0
- package/dist/chunks/md-235.js +1 -0
- package/dist/chunks/md-236.js +1 -0
- package/dist/chunks/md-237.js +1 -0
- package/dist/chunks/md-238.js +1 -0
- package/dist/chunks/md-239.js +1 -0
- package/dist/chunks/md-24.js +1 -0
- package/dist/chunks/md-240.js +1 -0
- package/dist/chunks/md-241.js +1 -0
- package/dist/chunks/md-242.js +1 -0
- package/dist/chunks/md-243.js +1 -0
- package/dist/chunks/md-244.js +1 -0
- package/dist/chunks/md-245.js +1 -0
- package/dist/chunks/md-246.js +1 -0
- package/dist/chunks/md-247.js +1 -0
- package/dist/chunks/md-248.js +1 -0
- package/dist/chunks/md-249.js +1 -0
- package/dist/chunks/md-25.js +1 -0
- package/dist/chunks/md-250.js +1 -0
- package/dist/chunks/md-251.js +1 -0
- package/dist/chunks/md-252.js +1 -0
- package/dist/chunks/md-253.js +1 -0
- package/dist/chunks/md-254.js +1 -0
- package/dist/chunks/md-255.js +1 -0
- package/dist/chunks/md-256.js +1 -0
- package/dist/chunks/md-257.js +1 -0
- package/dist/chunks/md-258.js +1 -0
- package/dist/chunks/md-259.js +1 -0
- package/dist/chunks/md-26.js +55 -0
- package/dist/chunks/md-260.js +1 -0
- package/dist/chunks/md-261.js +1 -0
- package/dist/chunks/md-262.js +1 -0
- package/dist/chunks/md-263.js +1 -0
- package/dist/chunks/md-264.js +1 -0
- package/dist/chunks/md-265.js +1 -0
- package/dist/chunks/md-266.js +1 -0
- package/dist/chunks/md-267.js +1 -0
- package/dist/chunks/md-268.js +1 -0
- package/dist/chunks/md-269.js +1 -0
- package/dist/chunks/md-27.js +1 -0
- package/dist/chunks/md-270.js +1 -0
- package/dist/chunks/md-271.js +1 -0
- package/dist/chunks/md-272.js +1 -0
- package/dist/chunks/md-273.js +1 -0
- package/dist/chunks/md-28.js +1 -0
- package/dist/chunks/md-29.js +20 -0
- package/dist/chunks/md-3.js +1 -0
- package/dist/chunks/md-30.js +22 -0
- package/dist/chunks/md-31.js +5 -0
- package/dist/chunks/md-32.js +5 -0
- package/dist/chunks/md-33.js +1 -0
- package/dist/chunks/md-34.js +21 -0
- package/dist/chunks/md-35.js +20 -0
- package/dist/chunks/md-36.js +156 -0
- package/dist/chunks/md-37.js +34 -0
- package/dist/chunks/md-38.js +1 -0
- package/dist/chunks/md-39.js +33 -0
- package/dist/chunks/md-4.js +1 -0
- package/dist/chunks/md-40.js +15 -0
- package/dist/chunks/md-41.js +1 -0
- package/dist/chunks/md-42.js +27 -0
- package/dist/chunks/md-43.js +5 -0
- package/dist/chunks/md-44.js +34 -0
- package/dist/chunks/md-45.js +13 -0
- package/dist/chunks/md-46.js +20 -0
- package/dist/chunks/md-47.js +46 -0
- package/dist/chunks/md-48.js +13 -0
- package/dist/chunks/md-49.js +5 -0
- package/dist/chunks/md-5.js +1 -0
- package/dist/chunks/md-50.js +68 -0
- package/dist/chunks/md-51.js +24 -0
- package/dist/chunks/md-52.js +14 -0
- package/dist/chunks/md-53.js +5 -0
- package/dist/chunks/md-54.js +39 -0
- package/dist/chunks/md-55.js +22 -0
- package/dist/chunks/md-56.js +5 -0
- package/dist/chunks/md-57.js +1 -0
- package/dist/chunks/md-58.js +22 -0
- package/dist/chunks/md-59.js +5 -0
- package/dist/chunks/md-6.js +3 -0
- package/dist/chunks/md-60.js +15 -0
- package/dist/chunks/md-61.js +42 -0
- package/dist/chunks/md-62.js +30 -0
- package/dist/chunks/md-63.js +72 -0
- package/dist/chunks/md-64.js +19 -0
- package/dist/chunks/md-65.js +17 -0
- package/dist/chunks/md-66.js +22 -0
- package/dist/chunks/md-67.js +84 -0
- package/dist/chunks/md-68.js +7 -0
- package/dist/chunks/md-69.js +77 -0
- package/dist/chunks/md-7.js +82 -0
- package/dist/chunks/md-70.js +72 -0
- package/dist/chunks/md-71.js +61 -0
- package/dist/chunks/md-72.js +16 -0
- package/dist/chunks/md-73.js +5 -0
- package/dist/chunks/md-74.js +30 -0
- package/dist/chunks/md-75.js +3 -0
- package/dist/chunks/md-76.js +179 -0
- package/dist/chunks/md-77.js +39 -0
- package/dist/chunks/md-78.js +85 -0
- package/dist/chunks/md-79.js +104 -0
- package/dist/chunks/md-8.js +1 -0
- package/dist/chunks/md-80.js +12 -0
- package/dist/chunks/md-81.js +43 -0
- package/dist/chunks/md-82.js +21 -0
- package/dist/chunks/md-83.js +1 -0
- package/dist/chunks/md-84.js +1 -0
- package/dist/chunks/md-85.js +1 -0
- package/dist/chunks/md-86.js +1 -0
- package/dist/chunks/md-87.js +1 -0
- package/dist/chunks/md-88.js +1 -0
- package/dist/chunks/md-89.js +1 -0
- package/dist/chunks/md-9.js +1 -0
- package/dist/chunks/md-90.js +1 -0
- package/dist/chunks/md-91.js +1 -0
- package/dist/chunks/md-92.js +1 -0
- package/dist/chunks/md-93.js +1 -0
- package/dist/chunks/md-94.js +1 -0
- package/dist/chunks/md-95.js +1 -0
- package/dist/chunks/md-96.js +1 -0
- package/dist/chunks/md-97.js +1 -0
- package/dist/chunks/md-98.js +1 -0
- package/dist/chunks/md-99.js +1 -0
- package/dist/comp/md-accordion-entry.js +1 -0
- package/dist/comp/md-accordion-item-entry.js +1 -0
- package/dist/comp/md-accordion-item.js +11 -0
- package/dist/comp/md-accordion.js +11 -0
- package/dist/comp/md-activity-button-entry.js +1 -0
- package/dist/comp/md-activity-button.js +8 -0
- package/dist/comp/md-alert-banner-entry.js +1 -0
- package/dist/comp/md-alert-banner.js +8 -0
- package/dist/comp/md-alert-entry.js +1 -0
- package/dist/comp/md-alert.js +8 -0
- package/dist/comp/md-avatar-entry.js +1 -0
- package/dist/comp/md-avatar.js +10 -0
- package/dist/comp/md-badge-entry.js +1 -0
- package/dist/comp/md-badge.js +4 -0
- package/dist/comp/md-breadcrumb-entry.js +1 -0
- package/dist/comp/md-breadcrumb.js +4 -0
- package/dist/comp/md-button-entry.js +1 -0
- package/dist/comp/md-button-group-entry.js +1 -0
- package/dist/comp/md-button-group.js +10 -0
- package/dist/comp/md-button.js +6 -0
- package/dist/comp/md-card-entry.js +1 -0
- package/dist/comp/md-card.js +17 -0
- package/dist/comp/md-chat-message-entry.js +1 -0
- package/dist/comp/md-chat-message.js +11 -0
- package/dist/comp/md-checkbox-entry.js +1 -0
- package/dist/comp/md-checkbox.js +11 -0
- package/dist/comp/md-checkboxgroup-entry.js +1 -0
- package/dist/comp/md-checkboxgroup.js +11 -0
- package/dist/comp/md-chip-entry.js +1 -0
- package/dist/comp/md-chip.js +16 -0
- package/dist/comp/md-coachmark-entry.js +1 -0
- package/dist/comp/md-coachmark.js +12 -0
- package/dist/comp/md-combobox-entry.js +1 -0
- package/dist/comp/md-combobox.js +15 -0
- package/dist/comp/md-composite-avatar-entry.js +1 -0
- package/dist/comp/md-composite-avatar.js +5 -0
- package/dist/comp/md-date-range-picker-entry.js +1 -0
- package/dist/comp/md-date-range-picker.js +23 -0
- package/dist/comp/md-date-time-picker-entry.js +1 -0
- package/dist/comp/md-date-time-picker.js +16 -0
- package/dist/comp/md-datepicker-calendar-entry.js +1 -0
- package/dist/comp/md-datepicker-calendar.js +13 -0
- package/dist/comp/md-datepicker-day-entry.js +1 -0
- package/dist/comp/md-datepicker-day.js +9 -0
- package/dist/comp/md-datepicker-entry.js +1 -0
- package/dist/comp/md-datepicker-month-entry.js +1 -0
- package/dist/comp/md-datepicker-month.js +11 -0
- package/dist/comp/md-datepicker-week-entry.js +1 -0
- package/dist/comp/md-datepicker-week.js +10 -0
- package/dist/comp/md-datepicker.js +22 -0
- package/dist/comp/md-draggable-entry.js +1 -0
- package/dist/comp/md-draggable-item-entry.js +1 -0
- package/dist/comp/md-draggable-item.js +11 -0
- package/dist/comp/md-draggable.js +12 -0
- package/dist/comp/md-dropdown-entry.js +1 -0
- package/dist/comp/md-dropdown.js +13 -0
- package/dist/comp/md-editable-field-entry.js +1 -0
- package/dist/comp/md-editable-field.js +14 -0
- package/dist/comp/md-favorite-entry.js +1 -0
- package/dist/comp/md-favorite.js +13 -0
- package/dist/comp/md-floating-minimize-entry.js +1 -0
- package/dist/comp/md-floating-minimize.js +14 -0
- package/dist/comp/md-floating-modal-entry.js +1 -0
- package/dist/comp/md-floating-modal.js +15 -0
- package/dist/comp/md-form-entry.js +1 -0
- package/dist/comp/md-form.js +9 -0
- package/dist/comp/md-help-text-entry.js +1 -0
- package/dist/comp/md-help-text.js +4 -0
- package/dist/comp/md-icon-entry.js +1 -0
- package/dist/comp/md-icon.js +7 -0
- package/dist/comp/md-inpu.js +12 -0
- package/dist/comp/md-input-entry.js +1 -0
- package/dist/comp/md-input-file.js +1 -0
- package/dist/comp/md-input.js +12 -0
- package/dist/comp/md-label-entry.js +1 -0
- package/dist/comp/md-label.js +4 -0
- package/dist/comp/md-link-entry.js +1 -0
- package/dist/comp/md-link.js +4 -0
- package/dist/comp/md-list-entry.js +1 -0
- package/dist/comp/md-list-item-entry.js +1 -0
- package/dist/comp/md-list-item.js +11 -0
- package/dist/comp/md-list.js +11 -0
- package/dist/comp/md-loading-entry.js +1 -0
- package/dist/comp/md-loading.js +4 -0
- package/dist/comp/md-meeting-alert-entry.js +1 -0
- package/dist/comp/md-meeting-alert.js +11 -0
- package/dist/comp/md-menu-entry.js +1 -0
- package/dist/comp/md-menu-item-entry.js +1 -0
- package/dist/comp/md-menu-item.js +4 -0
- package/dist/comp/md-menu-overlay-entry.js +1 -0
- package/dist/comp/md-menu-overlay.js +7 -0
- package/dist/comp/md-menu.js +8 -0
- package/dist/comp/md-modal-entry.js +1 -0
- package/dist/comp/md-modal.js +13 -0
- package/dist/comp/md-pagination-entry.js +1 -0
- package/dist/comp/md-pagination.js +4 -0
- package/dist/comp/md-phone-input-entry.js +1 -0
- package/dist/comp/md-phone-input.js +18 -0
- package/dist/comp/md-progress-bar-entry.js +1 -0
- package/dist/comp/md-progress-bar.js +4 -0
- package/dist/comp/md-radio-entry.js +1 -0
- package/dist/comp/md-radio.js +11 -0
- package/dist/comp/md-radiogroup-entry.js +1 -0
- package/dist/comp/md-radiogroup.js +11 -0
- package/dist/comp/md-slider-entry.js +1 -0
- package/dist/comp/md-slider.js +10 -0
- package/dist/comp/md-spinner-entry.js +1 -0
- package/dist/comp/md-spinner.js +4 -0
- package/dist/comp/md-tab-entry.js +1 -0
- package/dist/comp/md-tab-panel-entry.js +1 -0
- package/dist/comp/md-tab-panel.js +11 -0
- package/dist/comp/md-tab.js +11 -0
- package/dist/comp/md-table-advanced-entry.js +1 -0
- package/dist/comp/md-table-advanced.js +12 -0
- package/dist/comp/md-table-entry.js +1 -0
- package/dist/comp/md-table.js +4 -0
- package/dist/comp/md-tabs-entry.js +1 -0
- package/dist/comp/md-tabs.js +16 -0
- package/dist/comp/md-task-item-entry.js +1 -0
- package/dist/comp/md-task-item.js +9 -0
- package/dist/comp/md-theme-entry.js +1 -0
- package/dist/comp/md-theme.js +4 -0
- package/dist/comp/md-timepicker-entry.js +1 -0
- package/dist/comp/md-timepicker.js +15 -0
- package/dist/comp/md-toggle-switch-entry.js +1 -0
- package/dist/comp/md-toggle-switch.js +11 -0
- package/dist/comp/md-tooltip-entry.js +1 -0
- package/dist/comp/md-tooltip.js +11 -0
- package/dist/index-entry.js +34 -0
- package/dist/index.js +84 -0
- package/dist/types/components/accordion/Accordion.d.ts +32 -0
- package/dist/types/components/accordion/AccordionItem.d.ts +33 -0
- package/dist/types/components/activity-button/ActivityButton.d.ts +41 -0
- package/dist/types/components/alert/Alert.d.ts +35 -0
- package/dist/types/components/alert-banner/AlertBanner.d.ts +29 -0
- package/dist/types/components/avatar/Avatar.d.ts +48 -0
- package/dist/types/components/avatar/CompositeAvatar.d.ts +25 -0
- package/dist/types/components/badge/Badge.d.ts +36 -0
- package/dist/types/components/breadcrumb/Breadcrumb.d.ts +24 -0
- package/dist/types/components/button/Button.d.ts +104 -0
- package/dist/types/components/button-group/ButtonGroup.d.ts +45 -0
- package/dist/types/components/card/Card.d.ts +35 -0
- package/dist/types/components/chat-message/ChatMessage.d.ts +18 -0
- package/dist/types/components/checkbox/Checkbox.d.ts +44 -0
- package/dist/types/components/checkbox/CheckboxGroup.d.ts +29 -0
- package/dist/types/components/chip/Chip.d.ts +59 -0
- package/dist/types/components/coachmark/Coachmark.d.ts +44 -0
- package/dist/types/components/code-editor/CodeEditor.d.ts +40 -0
- package/dist/types/components/combobox/ComboBox.d.ts +147 -0
- package/dist/types/components/date-range-picker/DateRangePicker.d.ts +27 -0
- package/dist/types/components/date-time-picker/DateTimePicker.d.ts +43 -0
- package/dist/types/components/datepicker/DatePicker.d.ts +51 -0
- package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +39 -0
- package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +45 -0
- package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +26 -0
- package/dist/types/components/datepicker/datepicker-week/DatePickerWeek.d.ts +27 -0
- package/dist/types/components/draggable/Draggable.d.ts +62 -0
- package/dist/types/components/draggable/DraggableItem.d.ts +29 -0
- package/dist/types/components/dropdown/Dropdown.d.ts +82 -0
- package/dist/types/components/editable-textfield/EditableTextfield.d.ts +53 -0
- package/dist/types/components/favorite/Favorite.d.ts +36 -0
- package/dist/types/components/floating-modal/FloatingMinimizedModal.d.ts +53 -0
- package/dist/types/components/floating-modal/FloatingModal.d.ts +68 -0
- package/dist/types/components/form/Form.d.ts +55 -0
- package/dist/types/components/help-text/HelpText.d.ts +26 -0
- package/dist/types/components/icon/Icon.d.ts +57 -0
- package/dist/types/components/input/Input.d.ts +130 -0
- package/dist/types/components/input-file/InputFile.d.ts +25 -0
- package/dist/types/components/label/Label.d.ts +43 -0
- package/dist/types/components/link/Link.d.ts +32 -0
- package/dist/types/components/list/List.d.ts +40 -0
- package/dist/types/components/list/ListItem.d.ts +22 -0
- package/dist/types/components/loading/Loading.d.ts +24 -0
- package/dist/types/components/meeting-alert/CompositeAvatar.d.ts +1 -0
- package/dist/types/components/meeting-alert/MeetingAlert.d.ts +46 -0
- package/dist/types/components/menu/Menu.d.ts +46 -0
- package/dist/types/components/menu/MenuItem.d.ts +46 -0
- package/dist/types/components/menu-overlay/MenuOverlay.d.ts +63 -0
- package/dist/types/components/modal/Modal.d.ts +73 -0
- package/dist/types/components/pagination/Pagination.d.ts +31 -0
- package/dist/types/components/phone-input/PhoneInput.d.ts +61 -0
- package/dist/types/components/progress-bar/ProgressBar.d.ts +35 -0
- package/dist/types/components/radio/Radio.d.ts +33 -0
- package/dist/types/components/radio/RadioGroup.d.ts +40 -0
- package/dist/types/components/sass-stats/SassStats.d.ts +29 -0
- package/dist/types/components/slider/Slider.d.ts +46 -0
- package/dist/types/components/spinner/Spinner.d.ts +24 -0
- package/dist/types/components/table/Table.d.ts +62 -0
- package/dist/types/components/table-advanced/TableAdvanced.d.ts +165 -0
- package/dist/types/components/table-advanced/src/decorators.d.ts +32 -0
- package/dist/types/components/table-advanced/src/filter.d.ts +25 -0
- package/dist/types/components/tabs/Tab.d.ts +58 -0
- package/dist/types/components/tabs/TabPanel.d.ts +25 -0
- package/dist/types/components/tabs/Tabs.d.ts +115 -0
- package/dist/types/components/taskitem/TaskItem.d.ts +37 -0
- package/dist/types/components/theme/Theme.d.ts +82 -0
- package/dist/types/components/theme/index.d.ts +5 -0
- package/dist/types/components/timepicker/TimePicker.d.ts +49 -0
- package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +34 -0
- package/dist/types/components/tooltip/Tooltip.d.ts +49 -0
- package/dist/types/constants.d.ts +35 -0
- package/dist/types/index.d.ts +72 -0
- package/dist/types/internal-components/color-table/ColorTable.d.ts +13 -0
- package/dist/types/internal-components/color-table/data.d.ts +551 -0
- package/dist/types/internal-components/color-table/utils.d.ts +1 -0
- package/dist/types/mixins/CustomElementCheck.d.ts +1 -0
- package/dist/types/mixins/DedupeMixin.d.ts +28 -0
- package/dist/types/mixins/FocusMixin.d.ts +44 -0
- package/dist/types/mixins/FocusTrapMixin.d.ts +18 -0
- package/dist/types/mixins/ResizeMixin.d.ts +52 -0
- package/dist/types/mixins/RovingTabIndexMixin.d.ts +31 -0
- package/dist/types/mixins/SlottedMixin.d.ts +43 -0
- package/dist/types/mixins/index.d.ts +14 -0
- package/dist/types/utils/dateUtils.d.ts +31 -0
- package/dist/types/utils/enums.d.ts +17 -0
- package/dist/types/utils/helpers.d.ts +17 -0
- package/dist/types/utils/validations.d.ts +25 -0
- package/dist/types/wc_scss/colors/vars/color-table-data-string.d.ts +1 -0
- package/package.json +6 -119
- package/.eslintignore +0 -6
- package/.eslintrc.js +0 -20
- package/.github/CODEOWNERS +0 -5
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/pull_request_template.md +0 -191
- package/.prettierignore +0 -6
- package/.prettierrc +0 -5
- package/.storybook/main.ts +0 -75
- package/.storybook/manager.ts +0 -14
- package/.storybook/preview-body.html +0 -43
- package/.storybook/preview-head.html +0 -3
- package/.storybook/preview.ts +0 -32
- package/.stylelintignore +0 -6
- package/.stylelintrc.js +0 -18
- package/.vscode/extensions.json +0 -13
- package/.vscode/launch.json +0 -13
- package/.vscode/settings.json +0 -29
- package/ANGULAR_USAGE.md +0 -102
- package/APPLYING_STYLES.md +0 -44
- package/CONTRIBUTING.md +0 -56
- package/REACT_USAGE.md +0 -145
- package/VERSIONING.md +0 -28
- package/WEB_COMPONENTS_CRASH_COURSE.md +0 -255
- package/babel.config.js +0 -4
- package/codecov.yml +0 -10
- package/jest/cssTransform.js +0 -9
- package/jest/imgTransform.js +0 -9
- package/jest.config.js +0 -35
- package/sonar-project.properties +0 -22
- package/sonar.config.js +0 -22
- package/src/[sandbox]/examples/accordion.ts +0 -67
- package/src/[sandbox]/examples/alert-banner.ts +0 -85
- package/src/[sandbox]/examples/alert.ts +0 -27
- package/src/[sandbox]/examples/avatar.ts +0 -56
- package/src/[sandbox]/examples/badge.ts +0 -195
- package/src/[sandbox]/examples/breadcrumb.ts +0 -7
- package/src/[sandbox]/examples/button-group.ts +0 -66
- package/src/[sandbox]/examples/button.ts +0 -214
- package/src/[sandbox]/examples/card.ts +0 -76
- package/src/[sandbox]/examples/chat-message.ts +0 -33
- package/src/[sandbox]/examples/checkbox.ts +0 -51
- package/src/[sandbox]/examples/chip.ts +0 -72
- package/src/[sandbox]/examples/coachmark.ts +0 -90
- package/src/[sandbox]/examples/code-editor.ts +0 -13
- package/src/[sandbox]/examples/colorTable.ts +0 -14
- package/src/[sandbox]/examples/combobox.ts +0 -194
- package/src/[sandbox]/examples/date-range-picker.ts +0 -30
- package/src/[sandbox]/examples/date-time-picker.ts +0 -30
- package/src/[sandbox]/examples/datepicker.ts +0 -33
- package/src/[sandbox]/examples/draggable.ts +0 -72
- package/src/[sandbox]/examples/dropdown.ts +0 -161
- package/src/[sandbox]/examples/editable-field.ts +0 -111
- package/src/[sandbox]/examples/favorite.ts +0 -49
- package/src/[sandbox]/examples/floating-modal.ts +0 -102
- package/src/[sandbox]/examples/form.ts +0 -101
- package/src/[sandbox]/examples/icon.ts +0 -9
- package/src/[sandbox]/examples/index.ts +0 -50
- package/src/[sandbox]/examples/input-file.ts +0 -7
- package/src/[sandbox]/examples/input.ts +0 -363
- package/src/[sandbox]/examples/label.ts +0 -12
- package/src/[sandbox]/examples/link.ts +0 -51
- package/src/[sandbox]/examples/list.ts +0 -45
- package/src/[sandbox]/examples/loading.ts +0 -8
- package/src/[sandbox]/examples/meeting-alert.ts +0 -108
- package/src/[sandbox]/examples/menu-item.ts +0 -33
- package/src/[sandbox]/examples/menu-overlay.ts +0 -415
- package/src/[sandbox]/examples/modal.ts +0 -243
- package/src/[sandbox]/examples/pagination.ts +0 -13
- package/src/[sandbox]/examples/phone-input.ts +0 -72
- package/src/[sandbox]/examples/progress-bar.ts +0 -6
- package/src/[sandbox]/examples/radio-group.ts +0 -36
- package/src/[sandbox]/examples/slider.ts +0 -17
- package/src/[sandbox]/examples/spinner.ts +0 -6
- package/src/[sandbox]/examples/table-advanced.ts +0 -114
- package/src/[sandbox]/examples/table.ts +0 -25
- package/src/[sandbox]/examples/tabs.ts +0 -612
- package/src/[sandbox]/examples/task-item.ts +0 -65
- package/src/[sandbox]/examples/timepicker.ts +0 -26
- package/src/[sandbox]/examples/toggle-switch.ts +0 -29
- package/src/[sandbox]/examples/tooltip.ts +0 -144
- package/src/[sandbox]/favicon.ico +0 -0
- package/src/[sandbox]/index.html +0 -17
- package/src/[sandbox]/sandbox.mock.ts +0 -515
- package/src/[sandbox]/sandbox.scss +0 -37
- package/src/[sandbox]/sandbox.ts +0 -468
- package/src/assets/images/profile.svg +0 -47
- package/src/assets/images/whatsapp.svg +0 -1104
- package/src/assets/images/wxm.svg +0 -8
- package/src/components/accordion/Accordion.stories.ts +0 -41
- package/src/components/accordion/Accordion.test.ts +0 -147
- package/src/components/accordion/Accordion.ts +0 -188
- package/src/components/accordion/AccordionItem.test.ts +0 -130
- package/src/components/accordion/AccordionItem.ts +0 -175
- package/src/components/accordion/scss/accordion-item.scss +0 -63
- package/src/components/accordion/scss/accordion.scss +0 -23
- package/src/components/accordion/scss/mixins.scss +0 -16
- package/src/components/accordion/scss/module.scss +0 -17
- package/src/components/accordion/scss/settings.scss +0 -10
- package/src/components/accordion/tokens/lm-accordion-tokens.js +0 -26
- package/src/components/accordion/tokens/md-accordion-tokens.js +0 -26
- package/src/components/activity-button/ActivityButton.test.ts +0 -55
- package/src/components/activity-button/ActivityButton.ts +0 -92
- package/src/components/activity-button/scss/activity-button.scss +0 -160
- package/src/components/activity-button/scss/module.scss +0 -63
- package/src/components/alert/Alert.stories.ts +0 -48
- package/src/components/alert/Alert.test.ts +0 -145
- package/src/components/alert/Alert.ts +0 -135
- package/src/components/alert/scss/alert.scss +0 -85
- package/src/components/alert/scss/mixins.scss +0 -27
- package/src/components/alert/scss/module.scss +0 -21
- package/src/components/alert/scss/settings.scss +0 -37
- package/src/components/alert/tokens/lm-alert-tokens.js +0 -52
- package/src/components/alert/tokens/md-alert-tokens.js +0 -52
- package/src/components/alert-banner/AlertBanner.stories.ts +0 -48
- package/src/components/alert-banner/AlertBanner.test.ts +0 -84
- package/src/components/alert-banner/AlertBanner.ts +0 -89
- package/src/components/alert-banner/scss/alert-banner.scss +0 -52
- package/src/components/alert-banner/scss/mixins.scss +0 -8
- package/src/components/alert-banner/scss/module.scss +0 -9
- package/src/components/alert-banner/scss/settings.scss +0 -15
- package/src/components/alert-banner/tokens/lm-alertbanner-tokens.js +0 -40
- package/src/components/alert-banner/tokens/md-alertbanner-tokens.js +0 -40
- package/src/components/avatar/Avatar.stories.ts +0 -82
- package/src/components/avatar/Avatar.test.ts +0 -119
- package/src/components/avatar/Avatar.ts +0 -207
- package/src/components/avatar/CompositeAvatar.ts +0 -48
- package/src/components/avatar/scss/avatar.scss +0 -295
- package/src/components/avatar/scss/composite-avatar.scss +0 -89
- package/src/components/avatar/scss/mixins.scss +0 -33
- package/src/components/avatar/scss/module.scss +0 -19
- package/src/components/avatar/scss/settings.scss +0 -204
- package/src/components/avatar/tokens/lm-avatar-tokens.js +0 -170
- package/src/components/avatar/tokens/md-avatar-tokens.js +0 -160
- package/src/components/badge/Badge.stories.ts +0 -70
- package/src/components/badge/Badge.test.ts +0 -127
- package/src/components/badge/Badge.ts +0 -98
- package/src/components/badge/scss/badge.scss +0 -215
- package/src/components/badge/scss/mixins.scss +0 -82
- package/src/components/badge/scss/module.scss +0 -14
- package/src/components/badge/scss/settings.scss +0 -69
- package/src/components/badge/tokens/lm-badge-tokens.js +0 -296
- package/src/components/badge/tokens/md-badge-tokens.js +0 -286
- package/src/components/breadcrumb/Breadcrumb.stories.ts +0 -56
- package/src/components/breadcrumb/Breadcrumb.test.ts +0 -42
- package/src/components/breadcrumb/Breadcrumb.ts +0 -85
- package/src/components/breadcrumb/scss/breadcrumb.scss +0 -39
- package/src/components/breadcrumb/scss/mixins.scss +0 -5
- package/src/components/breadcrumb/scss/module.scss +0 -15
- package/src/components/breadcrumb/scss/settings.scss +0 -6
- package/src/components/breadcrumb/tokens/lm-breadcrumb-token.js +0 -23
- package/src/components/breadcrumb/tokens/md-breadcrumb-token.js +0 -23
- package/src/components/button/Button.mdx +0 -77
- package/src/components/button/Button.stories.ts +0 -115
- package/src/components/button/Button.test.ts +0 -207
- package/src/components/button/Button.ts +0 -360
- package/src/components/button/README.md +0 -72
- package/src/components/button/scss/button.scss +0 -764
- package/src/components/button/scss/mixins.scss +0 -257
- package/src/components/button/scss/module.scss +0 -18
- package/src/components/button/scss/settings.scss +0 -235
- package/src/components/button/tokens/lm-button-tokens.js +0 -292
- package/src/components/button-group/ButtonGroup.stories.ts +0 -41
- package/src/components/button-group/ButtonGroup.test.ts +0 -148
- package/src/components/button-group/ButtonGroup.ts +0 -219
- package/src/components/button-group/scss/button-group.scss +0 -66
- package/src/components/button-group/scss/module.scss +0 -16
- package/src/components/button-group/scss/settings.scss +0 -5
- package/src/components/button-group/tokens/lm-button-group-tokens.js +0 -38
- package/src/components/button-group/tokens/md-button-group-tokens.js +0 -38
- package/src/components/card/Card.stories.ts +0 -84
- package/src/components/card/Card.test.ts +0 -86
- package/src/components/card/Card.ts +0 -177
- package/src/components/card/scss/card.scss +0 -114
- package/src/components/card/scss/module.scss +0 -13
- package/src/components/card/scss/settings.scss +0 -11
- package/src/components/chat-message/ChatMessage.stories.ts +0 -40
- package/src/components/chat-message/ChatMessage.test.ts +0 -55
- package/src/components/chat-message/ChatMessage.ts +0 -54
- package/src/components/chat-message/scss/chat-message.scss +0 -43
- package/src/components/chat-message/scss/mixins.scss +0 -6
- package/src/components/chat-message/scss/module.scss +0 -16
- package/src/components/chat-message/scss/settings.scss +0 -7
- package/src/components/chat-message/tokens/lm-chat-message-tokens.js +0 -18
- package/src/components/chat-message/tokens/md-chat-message-tokens.js +0 -18
- package/src/components/checkbox/Checkbox.stories.ts +0 -53
- package/src/components/checkbox/Checkbox.test.ts +0 -124
- package/src/components/checkbox/Checkbox.ts +0 -172
- package/src/components/checkbox/CheckboxGroup.test.ts +0 -43
- package/src/components/checkbox/CheckboxGroup.ts +0 -91
- package/src/components/checkbox/scss/checkbox.scss +0 -139
- package/src/components/checkbox/scss/checkboxgroup.scss +0 -17
- package/src/components/checkbox/scss/mixins.scss +0 -0
- package/src/components/checkbox/scss/module.scss +0 -13
- package/src/components/checkbox/scss/settings.scss +0 -15
- package/src/components/checkbox/tokens/lm-checkbox-tokens.js +0 -78
- package/src/components/checkbox/tokens/md-checkbox-tokens.js +0 -79
- package/src/components/chip/Chip.stories.ts +0 -82
- package/src/components/chip/Chip.test.ts +0 -129
- package/src/components/chip/Chip.ts +0 -241
- package/src/components/chip/scss/chip.scss +0 -379
- package/src/components/chip/scss/mixins.scss +0 -53
- package/src/components/chip/scss/module.scss +0 -21
- package/src/components/chip/scss/settings.scss +0 -5
- package/src/components/coachmark/Coachmark.stories.ts +0 -49
- package/src/components/coachmark/Coachmark.test.ts +0 -60
- package/src/components/coachmark/Coachmark.ts +0 -144
- package/src/components/coachmark/scss/coachmarks.scss +0 -528
- package/src/components/coachmark/scss/module.scss +0 -14
- package/src/components/coachmark/scss/settings.scss +0 -4
- package/src/components/coachmark/tokens/lm-coachmark-tokens.js +0 -140
- package/src/components/coachmark/tokens/md-coachmark-tokens.js +0 -130
- package/src/components/code-editor/CodeEditor.stories.ts +0 -32
- package/src/components/code-editor/CodeEditor.test.ts +0 -48
- package/src/components/code-editor/CodeEditor.ts +0 -183
- package/src/components/code-editor/scss/code-editor.scss +0 -144
- package/src/components/code-editor/scss/module.scss +0 -12
- package/src/components/code-editor/scss/settings.scss +0 -10
- package/src/components/combobox/ComboBox.stories.ts +0 -167
- package/src/components/combobox/ComboBox.test.ts +0 -1136
- package/src/components/combobox/ComboBox.ts +0 -1093
- package/src/components/combobox/scss/combobox.scss +0 -318
- package/src/components/combobox/scss/mixins.scss +0 -9
- package/src/components/combobox/scss/module.scss +0 -17
- package/src/components/combobox/scss/settings.scss +0 -33
- package/src/components/combobox/tokens/lm-combobox-tokens.js +0 -120
- package/src/components/combobox/tokens/md-combobox-tokens.js +0 -120
- package/src/components/date-range-picker/DateRangePicker.stories.ts +0 -62
- package/src/components/date-range-picker/DateRangePicker.test.ts +0 -184
- package/src/components/date-range-picker/DateRangePicker.ts +0 -92
- package/src/components/date-range-picker/scss/daterangepicker.scss +0 -0
- package/src/components/date-range-picker/tokens/lm-date-range-picker-tokens.js +0 -26
- package/src/components/date-range-picker/tokens/md-date-range-picker-tokens.js +0 -26
- package/src/components/date-time-picker/DateTimePicker.stories.ts +0 -73
- package/src/components/date-time-picker/DateTimePicker.test.ts +0 -43
- package/src/components/date-time-picker/DateTimePicker.ts +0 -175
- package/src/components/date-time-picker/scss/date-time-picker.scss +0 -7
- package/src/components/date-time-picker/scss/module.scss +0 -9
- package/src/components/date-time-picker/scss/settings.scss +0 -1
- package/src/components/datepicker/DatePicker.stories.ts +0 -56
- package/src/components/datepicker/DatePicker.test.ts +0 -101
- package/src/components/datepicker/DatePicker.ts +0 -263
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.test.ts +0 -51
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.ts +0 -175
- package/src/components/datepicker/datepicker-day/DatePickerDay.test.ts +0 -76
- package/src/components/datepicker/datepicker-day/DatePickerDay.ts +0 -162
- package/src/components/datepicker/datepicker-month/DatePickerMonth.test.ts +0 -17
- package/src/components/datepicker/datepicker-month/DatePickerMonth.ts +0 -73
- package/src/components/datepicker/datepicker-week/DatePickerWeek.test.ts +0 -17
- package/src/components/datepicker/datepicker-week/DatePickerWeek.ts +0 -60
- package/src/components/datepicker/scss/datepicker.scss +0 -209
- package/src/components/datepicker/scss/module.scss +0 -9
- package/src/components/datepicker/scss/settings.scss +0 -9
- package/src/components/datepicker/tokens/lm-datepicker-tokens.js +0 -52
- package/src/components/datepicker/tokens/md-datepicker-tokens.js +0 -52
- package/src/components/draggable/Draggable.mdx +0 -258
- package/src/components/draggable/Draggable.stories.ts +0 -181
- package/src/components/draggable/Draggable.test.ts +0 -121
- package/src/components/draggable/Draggable.ts +0 -203
- package/src/components/draggable/DraggableItem.test.ts +0 -49
- package/src/components/draggable/DraggableItem.ts +0 -64
- package/src/components/draggable/scss/draggable-item.scss +0 -53
- package/src/components/draggable/scss/module.scss +0 -12
- package/src/components/draggable/scss/settings.scss +0 -6
- package/src/components/dropdown/Dropdown.stories.ts +0 -83
- package/src/components/dropdown/Dropdown.test.ts +0 -294
- package/src/components/dropdown/Dropdown.ts +0 -495
- package/src/components/dropdown/scss/dropdown.scss +0 -152
- package/src/components/dropdown/scss/mixins.scss +0 -23
- package/src/components/dropdown/scss/module.scss +0 -25
- package/src/components/dropdown/scss/settings.scss +0 -24
- package/src/components/dropdown/tokens/lm-dropdown-tokens.js +0 -58
- package/src/components/dropdown/tokens/md-dropdown-tokens.js +0 -58
- package/src/components/editable-textfield/EditableTextfield.stories.ts +0 -113
- package/src/components/editable-textfield/EditableTextfield.test.ts +0 -232
- package/src/components/editable-textfield/EditableTextfield.ts +0 -258
- package/src/components/editable-textfield/scss/editable-textfield.scss +0 -108
- package/src/components/editable-textfield/scss/module.scss +0 -14
- package/src/components/editable-textfield/scss/settings.scss +0 -6
- package/src/components/editable-textfield/tokens/lm-editabletextfield-tokens.js +0 -130
- package/src/components/editable-textfield/tokens/md-editabletextfield-tokens.js +0 -118
- package/src/components/favorite/Favorite.stories.ts +0 -42
- package/src/components/favorite/Favorite.test.ts +0 -66
- package/src/components/favorite/Favorite.ts +0 -119
- package/src/components/favorite/scss/favorite.scss +0 -73
- package/src/components/favorite/scss/module.scss +0 -18
- package/src/components/favorite/scss/settings.scss +0 -3
- package/src/components/floating-modal/Floating.mdx +0 -42
- package/src/components/floating-modal/FloatingMinimizedModal.test.ts +0 -96
- package/src/components/floating-modal/FloatingMinimizedModal.ts +0 -274
- package/src/components/floating-modal/FloatingModal.stories.ts +0 -75
- package/src/components/floating-modal/FloatingModal.test.ts +0 -119
- package/src/components/floating-modal/FloatingModal.ts +0 -360
- package/src/components/floating-modal/README.md +0 -36
- package/src/components/floating-modal/scss/floating.scss +0 -85
- package/src/components/floating-modal/scss/module.scss +0 -19
- package/src/components/floating-modal/scss/settings.scss +0 -5
- package/src/components/floating-modal/tokens/lm-floating-modal-tokens.js +0 -46
- package/src/components/floating-modal/tokens/md-floating-modal-tokens.js +0 -46
- package/src/components/form/Form.stories.ts +0 -64
- package/src/components/form/Form.test.ts +0 -59
- package/src/components/form/Form.ts +0 -229
- package/src/components/help-text/HelpText.test.ts +0 -39
- package/src/components/help-text/HelpText.ts +0 -60
- package/src/components/help-text/scss/help-text.scss +0 -34
- package/src/components/help-text/scss/mixins.scss +0 -14
- package/src/components/help-text/scss/module.scss +0 -13
- package/src/components/help-text/scss/settings.scss +0 -5
- package/src/components/help-text/tokens/lm-help-text-tokens.js +0 -16
- package/src/components/help-text/tokens/md-help-text-tokens.js +0 -16
- package/src/components/icon/Icon.stories.ts +0 -66
- package/src/components/icon/Icon.test.ts +0 -75
- package/src/components/icon/Icon.ts +0 -168
- package/src/components/icon/scss/icon.scss +0 -15
- package/src/components/icon/scss/module.scss +0 -17
- package/src/components/icon/scss/settings.scss +0 -10
- package/src/components/input/Input.stories.ts +0 -136
- package/src/components/input/Input.test.ts +0 -335
- package/src/components/input/Input.ts +0 -533
- package/src/components/input/scss/input.scss +0 -399
- package/src/components/input/scss/module.scss +0 -26
- package/src/components/input/scss/settings.scss +0 -120
- package/src/components/input/tokens/lm-input-tokens.js +0 -138
- package/src/components/input/tokens/md-input-tokens.js +0 -128
- package/src/components/input-file/InputFile.stories.ts +0 -27
- package/src/components/input-file/InputFile.test.ts +0 -43
- package/src/components/input-file/InputFile.ts +0 -116
- package/src/components/input-file/scss/input-file.scss +0 -8
- package/src/components/input-file/scss/module.scss +0 -6
- package/src/components/label/Label.stories.ts +0 -57
- package/src/components/label/Label.test.ts +0 -27
- package/src/components/label/Label.ts +0 -90
- package/src/components/label/scss/label.scss +0 -36
- package/src/components/label/scss/mixins.scss +0 -25
- package/src/components/label/scss/module.scss +0 -17
- package/src/components/label/scss/settings.scss +0 -8
- package/src/components/label/tokens/lm-label-tokens.js +0 -18
- package/src/components/label/tokens/md-label-tokens.js +0 -18
- package/src/components/link/Link.stories.ts +0 -48
- package/src/components/link/Link.test.ts +0 -72
- package/src/components/link/Link.ts +0 -96
- package/src/components/link/scss/link.scss +0 -27
- package/src/components/link/scss/mixins.scss +0 -124
- package/src/components/link/scss/module.scss +0 -14
- package/src/components/link/scss/settings.scss +0 -5
- package/src/components/link/tokens/lm-link-tokens.js +0 -61
- package/src/components/link/tokens/md-link-tokens.js +0 -127
- package/src/components/list/List.stories.ts +0 -57
- package/src/components/list/List.test.ts +0 -217
- package/src/components/list/List.ts +0 -181
- package/src/components/list/ListItem.test.ts +0 -45
- package/src/components/list/ListItem.ts +0 -68
- package/src/components/list/scss/list.scss +0 -26
- package/src/components/list/scss/listitem.scss +0 -48
- package/src/components/list/scss/mixins.scss +0 -8
- package/src/components/list/scss/module.scss +0 -15
- package/src/components/list/scss/settings.scss +0 -7
- package/src/components/list/tokens/lm-list-tokens.js +0 -38
- package/src/components/list/tokens/md-list-tokens.js +0 -38
- package/src/components/loading/Loading.stories.ts +0 -46
- package/src/components/loading/Loading.test.ts +0 -33
- package/src/components/loading/Loading.ts +0 -48
- package/src/components/loading/scss/loading.scss +0 -69
- package/src/components/loading/scss/module.scss +0 -8
- package/src/components/meeting-alert/CompositeAvatar.ts +0 -37
- package/src/components/meeting-alert/MeetingAlert.stories.ts +0 -95
- package/src/components/meeting-alert/MeetingAlert.test.ts +0 -214
- package/src/components/meeting-alert/MeetingAlert.ts +0 -203
- package/src/components/meeting-alert/scss/alert.scss +0 -244
- package/src/components/meeting-alert/scss/mixins.scss +0 -13
- package/src/components/meeting-alert/scss/module.scss +0 -20
- package/src/components/meeting-alert/scss/settings.scss +0 -30
- package/src/components/menu/Menu.stories.ts +0 -63
- package/src/components/menu/Menu.test.ts +0 -109
- package/src/components/menu/Menu.ts +0 -213
- package/src/components/menu/MenuItem.test.ts +0 -54
- package/src/components/menu/MenuItem.ts +0 -160
- package/src/components/menu/scss/menu-item.scss +0 -34
- package/src/components/menu/scss/menu.scss +0 -31
- package/src/components/menu/scss/module.scss +0 -15
- package/src/components/menu/scss/settings.scss +0 -1
- package/src/components/menu/tokens/lm-menu-tokens.js +0 -27
- package/src/components/menu/tokens/md-menu-tokens.js +0 -27
- package/src/components/menu-overlay/MenuOverlay.stories.ts +0 -85
- package/src/components/menu-overlay/MenuOverlay.test.ts +0 -360
- package/src/components/menu-overlay/MenuOverlay.ts +0 -373
- package/src/components/menu-overlay/scss/menu-overlay.scss +0 -75
- package/src/components/menu-overlay/scss/module.scss +0 -12
- package/src/components/menu-overlay/scss/settings.scss +0 -6
- package/src/components/modal/Modal.stories.ts +0 -81
- package/src/components/modal/Modal.test.ts +0 -169
- package/src/components/modal/Modal.ts +0 -300
- package/src/components/modal/scss/mixins.scss +0 -107
- package/src/components/modal/scss/modal.scss +0 -405
- package/src/components/modal/scss/module.scss +0 -18
- package/src/components/modal/scss/settings.scss +0 -59
- package/src/components/modal/tokens/lm-modal-tokens.js +0 -44
- package/src/components/modal/tokens/md-modal-tokens.js +0 -44
- package/src/components/pagination/Pagination.stories.ts +0 -37
- package/src/components/pagination/Pagination.test.ts +0 -76
- package/src/components/pagination/Pagination.ts +0 -211
- package/src/components/pagination/scss/mixins.scss +0 -11
- package/src/components/pagination/scss/module.scss +0 -18
- package/src/components/pagination/scss/pagination.scss +0 -101
- package/src/components/pagination/scss/settings.scss +0 -11
- package/src/components/pagination/tokens/lm-pagination-tokens.js +0 -49
- package/src/components/pagination/tokens/md-pagination-tokens.js +0 -49
- package/src/components/phone-input/PhoneInput.stories.ts +0 -47
- package/src/components/phone-input/PhoneInput.test.ts +0 -193
- package/src/components/phone-input/PhoneInput.ts +0 -241
- package/src/components/phone-input/scss/module.scss +0 -7
- package/src/components/phone-input/scss/phoneInput.scss +0 -95
- package/src/components/phone-input/scss/settings.scss +0 -3
- package/src/components/phone-input/tokens/lm-phone-input-tokens.js +0 -26
- package/src/components/phone-input/tokens/md-phone-input-tokens.js +0 -26
- package/src/components/progress-bar/ProgressBar.stories.ts +0 -50
- package/src/components/progress-bar/ProgressBar.test.ts +0 -80
- package/src/components/progress-bar/ProgressBar.ts +0 -112
- package/src/components/progress-bar/scss/mixins.scss +0 -48
- package/src/components/progress-bar/scss/module.scss +0 -10
- package/src/components/progress-bar/scss/progress.scss +0 -66
- package/src/components/progress-bar/scss/settings.scss +0 -27
- package/src/components/radio/Radio.test.ts +0 -60
- package/src/components/radio/Radio.ts +0 -93
- package/src/components/radio/RadioGroup.stories.ts +0 -45
- package/src/components/radio/RadioGroup.test.ts +0 -187
- package/src/components/radio/RadioGroup.ts +0 -175
- package/src/components/radio/scss/mixins.scss +0 -7
- package/src/components/radio/scss/module.scss +0 -17
- package/src/components/radio/scss/radio.scss +0 -101
- package/src/components/radio/scss/radiogroup.scss +0 -25
- package/src/components/radio/scss/settings.scss +0 -17
- package/src/components/radio/tokens/lm-radio-tokens.js +0 -80
- package/src/components/radio/tokens/md-radio-tokens.js +0 -80
- package/src/components/sass-stats/README.md +0 -25
- package/src/components/sass-stats/SassStats.test.ts +0 -17
- package/src/components/sass-stats/SassStats.ts +0 -110
- package/src/components/slider/Slider.stories.ts +0 -47
- package/src/components/slider/Slider.test.ts +0 -132
- package/src/components/slider/Slider.ts +0 -274
- package/src/components/slider/scss/mixins.scss +0 -5
- package/src/components/slider/scss/module.scss +0 -17
- package/src/components/slider/scss/settings.scss +0 -10
- package/src/components/slider/scss/slider.scss +0 -139
- package/src/components/slider/tokens/lm-slider-token.js +0 -57
- package/src/components/slider/tokens/md-slider-tokens.js +0 -61
- package/src/components/spinner/Spinner.stories.ts +0 -39
- package/src/components/spinner/Spinner.test.ts +0 -22
- package/src/components/spinner/Spinner.ts +0 -42
- package/src/components/spinner/scss/mixins.scss +0 -34
- package/src/components/spinner/scss/module.scss +0 -10
- package/src/components/spinner/scss/settings.scss +0 -3
- package/src/components/spinner/scss/spinner.scss +0 -37
- package/src/components/spinner/tokens/lm-spinner-tokens.js +0 -16
- package/src/components/spinner/tokens/md-spinner-tokens.js +0 -18
- package/src/components/table/Table.stories.ts +0 -77
- package/src/components/table/Table.test.ts +0 -55
- package/src/components/table/Table.ts +0 -219
- package/src/components/table/scss/mixins.scss +0 -6
- package/src/components/table/scss/module.scss +0 -27
- package/src/components/table/scss/settings.scss +0 -11
- package/src/components/table/scss/table.scss +0 -164
- package/src/components/table/tokens/lm-table-tokens.js +0 -42
- package/src/components/table/tokens/md-table-tokens.js +0 -42
- package/src/components/table-advanced/TableAdvanced.md +0 -232
- package/src/components/table-advanced/TableAdvanced.mdx +0 -239
- package/src/components/table-advanced/TableAdvanced.stories.ts +0 -182
- package/src/components/table-advanced/TableAdvanced.test.ts +0 -299
- package/src/components/table-advanced/TableAdvanced.ts +0 -1068
- package/src/components/table-advanced/scss/module.scss +0 -27
- package/src/components/table-advanced/scss/settings.scss +0 -16
- package/src/components/table-advanced/scss/table-advanced.scss +0 -426
- package/src/components/table-advanced/src/decorators.ts +0 -149
- package/src/components/table-advanced/src/filter.ts +0 -86
- package/src/components/table-advanced/tokens/lm-table-advanced-tokens.js +0 -64
- package/src/components/table-advanced/tokens/md-table-advanced-tokens.js +0 -64
- package/src/components/tabs/Tab.test.ts +0 -119
- package/src/components/tabs/Tab.ts +0 -204
- package/src/components/tabs/TabPanel.test.ts +0 -24
- package/src/components/tabs/TabPanel.ts +0 -46
- package/src/components/tabs/Tabs.stories.ts +0 -177
- package/src/components/tabs/Tabs.test.ts +0 -486
- package/src/components/tabs/Tabs.ts +0 -1081
- package/src/components/tabs/scss/mixins.scss +0 -5
- package/src/components/tabs/scss/module.scss +0 -16
- package/src/components/tabs/scss/settings.scss +0 -18
- package/src/components/tabs/scss/tab.scss +0 -151
- package/src/components/tabs/scss/tabs.scss +0 -227
- package/src/components/tabs/tokens/lm-tabs-tokens.js +0 -76
- package/src/components/tabs/tokens/md-tabs-tokens.js +0 -68
- package/src/components/taskitem/TaskItem.stories.ts +0 -66
- package/src/components/taskitem/TaskItem.test.ts +0 -349
- package/src/components/taskitem/TaskItem.ts +0 -249
- package/src/components/taskitem/scss/mixins.scss +0 -42
- package/src/components/taskitem/scss/module.scss +0 -15
- package/src/components/taskitem/scss/settings.scss +0 -43
- package/src/components/taskitem/scss/task-item.scss +0 -196
- package/src/components/taskitem/tokens/lm-taskitem-tokens.js +0 -66
- package/src/components/taskitem/tokens/md-taskitem-tokens.js +0 -66
- package/src/components/theme/README.md +0 -13
- package/src/components/theme/Theme.test.ts +0 -40
- package/src/components/theme/Theme.ts +0 -342
- package/src/components/theme/index.ts +0 -6
- package/src/components/timepicker/TimePicker.stories.ts +0 -38
- package/src/components/timepicker/TimePicker.test.ts +0 -163
- package/src/components/timepicker/TimePicker.ts +0 -417
- package/src/components/timepicker/scss/module.scss +0 -9
- package/src/components/timepicker/scss/settings.scss +0 -8
- package/src/components/timepicker/scss/timepicker.scss +0 -64
- package/src/components/toggle-switch/ToggleSwitch.stories.ts +0 -43
- package/src/components/toggle-switch/ToggleSwitch.test.ts +0 -60
- package/src/components/toggle-switch/ToggleSwitch.ts +0 -73
- package/src/components/toggle-switch/scss/mixins.scss +0 -93
- package/src/components/toggle-switch/scss/module.scss +0 -12
- package/src/components/toggle-switch/scss/settings.scss +0 -14
- package/src/components/toggle-switch/scss/toggle-switch.scss +0 -94
- package/src/components/toggle-switch/tokens/lm-toggle-tokens.js +0 -52
- package/src/components/toggle-switch/tokens/md-toggle-tokens.js +0 -52
- package/src/components/tooltip/Tooltip.stories.ts +0 -53
- package/src/components/tooltip/Tooltip.test.ts +0 -84
- package/src/components/tooltip/Tooltip.ts +0 -210
- package/src/components/tooltip/scss/module.scss +0 -12
- package/src/components/tooltip/scss/settings.scss +0 -11
- package/src/components/tooltip/scss/tooltip.scss +0 -151
- package/src/components/tooltip/tokens/lm-tooltip-tokens.js +0 -18
- package/src/components/tooltip/tokens/md-tooltip-tokens.js +0 -18
- package/src/constants.ts +0 -37
- package/src/index.ts +0 -75
- package/src/internal-components/color-table/ColorTable.stories.ts +0 -35
- package/src/internal-components/color-table/ColorTable.ts +0 -85
- package/src/internal-components/color-table/data.ts +0 -204
- package/src/internal-components/color-table/scss/color-table.scss +0 -739
- package/src/internal-components/color-table/scss/module.scss +0 -11
- package/src/internal-components/color-table/utils.ts +0 -552
- package/src/mixins/CustomElementCheck.ts +0 -25
- package/src/mixins/DedupeMixin.test.ts +0 -81
- package/src/mixins/DedupeMixin.ts +0 -54
- package/src/mixins/FocusMixin.test.ts +0 -120
- package/src/mixins/FocusMixin.ts +0 -131
- package/src/mixins/FocusTrapMixin.test.ts +0 -438
- package/src/mixins/FocusTrapMixin.ts +0 -379
- package/src/mixins/ResizeMixin.test.ts +0 -86
- package/src/mixins/ResizeMixin.ts +0 -142
- package/src/mixins/RovingTabIndexMixin.test.ts +0 -62
- package/src/mixins/RovingTabIndexMixin.ts +0 -110
- package/src/mixins/SlottedMixin.test.ts +0 -70
- package/src/mixins/SlottedMixin.ts +0 -110
- package/src/mixins/index.ts +0 -17
- package/src/templates/color-table-data-string.hbs +0 -22
- package/src/templates/colors-settings.hbs +0 -21
- package/src/templates/colors.hbs +0 -35
- package/src/templates/component-colors.hbs +0 -31
- package/src/templates/css-color-variables.hbs +0 -22
- package/src/templates/dark-colors.hbs +0 -24
- package/src/templates/light-colors.hbs +0 -24
- package/src/templates/semantic-color-dark.hbs +0 -28
- package/src/templates/semantic-color-light.hbs +0 -28
- package/src/templates/semantic-color-settings.hbs +0 -38
- package/src/tokens/Tokens.test.ts +0 -11
- package/src/tokens/tokenImports.js +0 -7
- package/src/tsconfig.json +0 -25
- package/src/types/declare.d.ts +0 -31
- package/src/types/globals.d.ts +0 -5
- package/src/utils/clearVars.js +0 -47
- package/src/utils/createTokenFilesModule.js +0 -86
- package/src/utils/dateUtils.test.ts +0 -174
- package/src/utils/dateUtils.ts +0 -101
- package/src/utils/enums.ts +0 -720
- package/src/utils/generateColorTableData.js +0 -42
- package/src/utils/generateScssFromTokens.js +0 -249
- package/src/utils/helpers.ts +0 -150
- package/src/utils/validations.ts +0 -28
- package/src/wc_scss/colors/settings-base.scss +0 -208
- package/src/wc_scss/colors/settings-transparencies.scss +0 -52
- package/src/wc_scss/colors/settings.scss +0 -1
- package/src/wc_scss/colors/tests/colors.cy.js +0 -8
- package/src/wc_scss/generic/global.scss +0 -114
- package/src/wc_scss/generic/normalize.scss +0 -422
- package/src/wc_scss/icon/settings.scss +0 -12
- package/src/wc_scss/path.scss +0 -4
- package/src/wc_scss/reset.scss +0 -26
- package/src/wc_scss/settings/avatar.scss +0 -193
- package/src/wc_scss/settings/button-settings.scss +0 -193
- package/src/wc_scss/settings/core.scss +0 -128
- package/src/wc_scss/settings/focus.scss +0 -7
- package/src/wc_scss/settings/form-controls.scss +0 -23
- package/src/wc_scss/settings/forms.scss +0 -26
- package/src/wc_scss/settings/input.scss +0 -59
- package/src/wc_scss/settings/list-item.scss +0 -86
- package/src/wc_scss/settings/list.scss +0 -10
- package/src/wc_scss/settings/media.scss +0 -116
- package/src/wc_scss/settings/overlay.scss +0 -6
- package/src/wc_scss/settings/rem.scss +0 -1
- package/src/wc_scss/settings/z-index.scss +0 -9
- package/src/wc_scss/themes/global--dark.scss +0 -87
- package/src/wc_scss/themes/global--light.scss +0 -87
- package/src/wc_scss/themes/global--lm.scss +0 -4
- package/src/wc_scss/themes/global--md.scss +0 -4
- package/src/wc_scss/tools/functions/core.scss +0 -181
- package/src/wc_scss/tools/mixins/avatar.scss +0 -32
- package/src/wc_scss/tools/mixins/baseline.scss +0 -69
- package/src/wc_scss/tools/mixins/border-radius.scss +0 -26
- package/src/wc_scss/tools/mixins/button.scss +0 -248
- package/src/wc_scss/tools/mixins/core.scss +0 -215
- package/src/wc_scss/tools/mixins/easing.scss +0 -63
- package/src/wc_scss/tools/mixins/flex.scss +0 -14
- package/src/wc_scss/tools/mixins/focus.scss +0 -35
- package/src/wc_scss/tools/mixins/input.scss +0 -136
- package/src/wc_scss/tools/mixins/nav-divider.scss +0 -10
- package/src/wc_scss/tools/mixins/spacing.scss +0 -208
- package/src/wc_scss/tools/mixins/spinner.scss +0 -38
- package/src/wc_scss/typography/mixins.scss +0 -208
- package/src/wc_scss/typography/settings.scss +0 -286
- package/src/wc_scss/typography/tests/typography.cy.js +0 -8
- package/src/wc_scss/typography/typography.scss +0 -319
- package/stats/cssStats.js +0 -17
- package/stats/stats-loader.js +0 -23
- package/stats/utils.js +0 -5
- package/stats/writeFileSyncRecursive.js +0 -20
- package/tsconfig.json +0 -13
- package/webpack.config.dev.server.ts +0 -12
- package/webpack.config.ts +0 -284
- package/webpack.plugin.LoadChunks.ts +0 -67
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { elementUpdated, fixture, fixtureCleanup, html } from "@open-wc/testing-helpers";
|
|
2
|
-
import "./Alert";
|
|
3
|
-
import { Alert } from "./Alert";
|
|
4
|
-
|
|
5
|
-
describe("Alert", () => {
|
|
6
|
-
afterEach(fixtureCleanup);
|
|
7
|
-
test("Alert component is not null", async () => {
|
|
8
|
-
const alert = await fixture(`<md-alert></md-alert>`);
|
|
9
|
-
expect(alert).not.toBeNull();
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
test("should render an Alert component", async () => {
|
|
13
|
-
const el = await fixture(html`
|
|
14
|
-
<md-alert></md-alert>
|
|
15
|
-
`);
|
|
16
|
-
expect(el).not.toBeNull();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
test("should create Alert element with all default props", async () => {
|
|
20
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
21
|
-
<md-alert></md-alert>
|
|
22
|
-
`);
|
|
23
|
-
|
|
24
|
-
expect(element.closable).toBeFalsy();
|
|
25
|
-
expect(element.message).toEqual("");
|
|
26
|
-
expect(element.show).toBeFalsy();
|
|
27
|
-
expect(element.title).toEqual("");
|
|
28
|
-
expect(element.type).toEqual("default");
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
test("should render visible Alert component with set message & title props", async () => {
|
|
32
|
-
const myMessage = "This is my message";
|
|
33
|
-
const myTitle = "My Title";
|
|
34
|
-
|
|
35
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
36
|
-
<md-alert .message=${myMessage} .title=${myTitle} show></md-alert>
|
|
37
|
-
`);
|
|
38
|
-
|
|
39
|
-
const titleContent = await element.shadowRoot!.querySelector(".md-alert__title");
|
|
40
|
-
const messageContent = await element.shadowRoot!.querySelector(".md-alert__message");
|
|
41
|
-
|
|
42
|
-
expect(titleContent?.textContent?.trim()).toEqual(myTitle);
|
|
43
|
-
expect(messageContent?.textContent?.trim()).toEqual(myMessage);
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
test("should render visible Alert component with default html class names", async () => {
|
|
47
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
48
|
-
<md-alert show></md-alert>
|
|
49
|
-
`);
|
|
50
|
-
|
|
51
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
52
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--default");
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
test("should render Alert with icon reflecting default type", async () => {
|
|
56
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
57
|
-
<md-alert show></md-alert>
|
|
58
|
-
`);
|
|
59
|
-
|
|
60
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
61
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--default");
|
|
62
|
-
|
|
63
|
-
const iconTypeElement = await element.shadowRoot!.querySelector(".md-alert__icon");
|
|
64
|
-
expect(iconTypeElement).not.toBeNull();
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
test("should render success Alert", async () => {
|
|
68
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
69
|
-
<md-alert type="success" show></md-alert>
|
|
70
|
-
`);
|
|
71
|
-
|
|
72
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
73
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--success");
|
|
74
|
-
|
|
75
|
-
const type = element.shadowRoot?.querySelector(".md-alert__icon md-icon");
|
|
76
|
-
expect(type?.getAttribute("name")).toEqual("check-circle_36");
|
|
77
|
-
expect(type?.getAttribute("color")).toEqual("green");
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
test("should render info Alert", async () => {
|
|
81
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
82
|
-
<md-alert type="info" show></md-alert>
|
|
83
|
-
`);
|
|
84
|
-
|
|
85
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
86
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--info");
|
|
87
|
-
|
|
88
|
-
const type = element.shadowRoot?.querySelector(".md-alert__icon md-icon");
|
|
89
|
-
expect(type?.getAttribute("name")).toEqual("info_32");
|
|
90
|
-
expect(type?.getAttribute("color")).toEqual("blue");
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
test("should render error Alert", async () => {
|
|
94
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
95
|
-
<md-alert type="error" show></md-alert>
|
|
96
|
-
`);
|
|
97
|
-
|
|
98
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
99
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--error");
|
|
100
|
-
|
|
101
|
-
const type = element.shadowRoot?.querySelector(".md-alert__icon md-icon");
|
|
102
|
-
expect(type?.getAttribute("name")).toEqual("icon-warning_32");
|
|
103
|
-
expect(type?.getAttribute("color")).toEqual("red");
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
test("should render warning Alert", async () => {
|
|
107
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
108
|
-
<md-alert type="warning" show></md-alert>
|
|
109
|
-
`);
|
|
110
|
-
|
|
111
|
-
const alertElement = await element.shadowRoot!.querySelector(".md-alert");
|
|
112
|
-
expect(alertElement?.className).toEqual("md-alert md-alert--warning");
|
|
113
|
-
|
|
114
|
-
const type = element.shadowRoot?.querySelector(".md-alert__icon md-icon");
|
|
115
|
-
expect(type?.getAttribute("name")).toEqual("icon-warning_32");
|
|
116
|
-
expect(type?.getAttribute("color")).toEqual("orange");
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
test("should render close button & icon when closable prop is true", async () => {
|
|
120
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
121
|
-
<md-alert show closable></md-alert>
|
|
122
|
-
`);
|
|
123
|
-
|
|
124
|
-
const buttomElements = element.shadowRoot!.querySelectorAll(".md-alert__button md-button");
|
|
125
|
-
expect(buttomElements.length).toEqual(1);
|
|
126
|
-
|
|
127
|
-
const iconElement = await element.shadowRoot!.querySelector(".md-alert__button md-button md-icon");
|
|
128
|
-
expect(iconElement?.getAttribute("name")).toEqual("icon-cancel_16");
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
test("should handle Click event", async () => {
|
|
132
|
-
const element = await fixture<Alert.ELEMENT>(html`
|
|
133
|
-
<md-alert show closable></md-alert>
|
|
134
|
-
`);
|
|
135
|
-
|
|
136
|
-
const mockClick = jest.spyOn(element, "close");
|
|
137
|
-
element.close();
|
|
138
|
-
await elementUpdated(element);
|
|
139
|
-
|
|
140
|
-
expect(mockClick).toHaveBeenCalled();
|
|
141
|
-
|
|
142
|
-
mockClick.mockRestore();
|
|
143
|
-
expect(element.show).toBeFalsy();
|
|
144
|
-
});
|
|
145
|
-
});
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Cisco Systems, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import reset from "@/wc_scss/reset.scss";
|
|
10
|
-
import { customElementWithCheck } from "@/mixins/CustomElementCheck";
|
|
11
|
-
import { html, LitElement, property, TemplateResult } from "lit-element";
|
|
12
|
-
import { nothing } from "lit-html";
|
|
13
|
-
import { classMap } from "lit-html/directives/class-map";
|
|
14
|
-
import "@/components/button/Button";
|
|
15
|
-
import "@/components/icon/Icon";
|
|
16
|
-
import styles from "./scss/module.scss";
|
|
17
|
-
|
|
18
|
-
export namespace Alert {
|
|
19
|
-
@customElementWithCheck("md-alert")
|
|
20
|
-
export class ELEMENT extends LitElement {
|
|
21
|
-
@property({ type: Boolean }) closable = false;
|
|
22
|
-
@property({ type: String }) message = "";
|
|
23
|
-
@property({ type: Boolean }) show = false;
|
|
24
|
-
@property({ type: Boolean }) internalClose = true;
|
|
25
|
-
@property({ type: String }) title = "";
|
|
26
|
-
@property({ type: String }) btnlabel = "Close";
|
|
27
|
-
@property({ type: String }) type = "default";
|
|
28
|
-
@property({ type: Boolean }) inline = false;
|
|
29
|
-
|
|
30
|
-
close() {
|
|
31
|
-
this.dispatchEvent(
|
|
32
|
-
new CustomEvent("alert-close", {
|
|
33
|
-
composed: true,
|
|
34
|
-
bubbles: true
|
|
35
|
-
})
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
// By default closing internally, othervise - controlling outer via .show
|
|
39
|
-
if (this.internalClose) {
|
|
40
|
-
this.show = false;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
static get styles() {
|
|
45
|
-
return [reset, styles];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
renderIconTemplate = () => {
|
|
49
|
-
switch (this.type) {
|
|
50
|
-
case "error":
|
|
51
|
-
return html`
|
|
52
|
-
<md-icon name="icon-warning_32" color="red"></md-icon>
|
|
53
|
-
`;
|
|
54
|
-
break;
|
|
55
|
-
case "info":
|
|
56
|
-
return html`
|
|
57
|
-
<md-icon name="info_32" color="blue"></md-icon>
|
|
58
|
-
`;
|
|
59
|
-
break;
|
|
60
|
-
case "success":
|
|
61
|
-
return html`
|
|
62
|
-
<md-icon name="check-circle_36" color="green"></md-icon>
|
|
63
|
-
`;
|
|
64
|
-
break;
|
|
65
|
-
case "warn":
|
|
66
|
-
case "warning":
|
|
67
|
-
return html`
|
|
68
|
-
<md-icon name="icon-warning_32" color="orange"></md-icon>
|
|
69
|
-
`;
|
|
70
|
-
break;
|
|
71
|
-
default:
|
|
72
|
-
return html`
|
|
73
|
-
<slot name="alert-icon"></slot>
|
|
74
|
-
`;
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
get alertClassMap() {
|
|
80
|
-
return {
|
|
81
|
-
[`md-alert--${this.type}`]: !!this.type,
|
|
82
|
-
"md-alert__inline": this.inline
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
render(): TemplateResult {
|
|
87
|
-
return html`
|
|
88
|
-
${this.show
|
|
89
|
-
? html`
|
|
90
|
-
<div part="alert" class="md-alert ${classMap(this.alertClassMap)}">
|
|
91
|
-
<div class="md-alert__icon">
|
|
92
|
-
${this.renderIconTemplate()}
|
|
93
|
-
</div>
|
|
94
|
-
<div part="content" class="md-alert__content">
|
|
95
|
-
<div aria-label=${this.title} class="md-alert__title" role="heading" aria-level="1">
|
|
96
|
-
${this.title}
|
|
97
|
-
</div>
|
|
98
|
-
<div aria-label=${this.message} class="md-alert__message" role="textbox">
|
|
99
|
-
${this.message}
|
|
100
|
-
<slot name="alert-body"></slot>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
${this.closable
|
|
104
|
-
? html`
|
|
105
|
-
<div class="md-alert__button">
|
|
106
|
-
<md-button
|
|
107
|
-
arialabel="${this.btnlabel}"
|
|
108
|
-
title="${this.btnlabel}"
|
|
109
|
-
hasRemoveStyle
|
|
110
|
-
color="color-none"
|
|
111
|
-
circle
|
|
112
|
-
@click="${() => this.close()}"
|
|
113
|
-
>
|
|
114
|
-
<md-icon slot="icon" name="icon-cancel_16"></md-icon>
|
|
115
|
-
</md-button>
|
|
116
|
-
</div>
|
|
117
|
-
`
|
|
118
|
-
: html`
|
|
119
|
-
<div class="md-alert__footer">
|
|
120
|
-
<slot name="alert-footer"></slot>
|
|
121
|
-
</div>
|
|
122
|
-
`}
|
|
123
|
-
</div>
|
|
124
|
-
`
|
|
125
|
-
: nothing}
|
|
126
|
-
`;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
declare global {
|
|
132
|
-
interface HTMLElementTagNameMap {
|
|
133
|
-
"md-alert": Alert.ELEMENT;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/** @component alert */
|
|
2
|
-
|
|
3
|
-
:host(md-alert) {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex: 1 1 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.md-alert {
|
|
9
|
-
@include flex($jc: space-between, $ai: flex-start);
|
|
10
|
-
@include border-radius($alert__border-radius);
|
|
11
|
-
background-color: var(--alert-default-bg-color, $lm-alert-default-bg-color-light);
|
|
12
|
-
border: 1px solid $black-12;
|
|
13
|
-
box-shadow: 0 8px 16px 0 $black-08;
|
|
14
|
-
flex: 1 1 100%;
|
|
15
|
-
margin-bottom: rem-calc(8);
|
|
16
|
-
max-height: rem-calc(308);
|
|
17
|
-
max-width: $alert__width;
|
|
18
|
-
min-height: rem-calc(78);
|
|
19
|
-
padding: rem-calc(12);
|
|
20
|
-
|
|
21
|
-
&__icon {
|
|
22
|
-
align-self: center;
|
|
23
|
-
md-icon::part(icon) {
|
|
24
|
-
font-size: var(--alert-default-icon-size, $lm-alert-default-icon-size-light) !important;
|
|
25
|
-
line-height: var(--alert-default-icon-size, $lm-alert-default-icon-size-light) !important;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__content {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-basis: 0;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
flex-grow: 2;
|
|
34
|
-
max-width: $alert__content_width;
|
|
35
|
-
padding-left: rem-calc(12);
|
|
36
|
-
padding-right: rem-calc(2);
|
|
37
|
-
align-self: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&__title {
|
|
41
|
-
@include text-dots;
|
|
42
|
-
color: var(--alert-title-text-color, $lm-alert-title-text-color-light);
|
|
43
|
-
font-size: var(--alert-title-font-size, $lm-alert-title-font-size-light);
|
|
44
|
-
line-height: rem-calc(24);
|
|
45
|
-
width: calc(100%);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&__message {
|
|
49
|
-
@include line-dots(2);
|
|
50
|
-
color: var(--alert-default-text-color, $lm-alert-default-text-color-light);
|
|
51
|
-
font-family: $brand-font-light;
|
|
52
|
-
font-size: $alert__font-size;
|
|
53
|
-
line-height: 1.35;
|
|
54
|
-
width: calc(100%);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__title,
|
|
58
|
-
&__message {
|
|
59
|
-
word-wrap: break-word;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__button {
|
|
63
|
-
margin-left: rem-calc(4);
|
|
64
|
-
align-self: center;
|
|
65
|
-
md-button::part(button) {
|
|
66
|
-
align-items: center;
|
|
67
|
-
background-color: var(--alert-close-bg-color, $lm-alert-close-bg-color-light);
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
height: var(--alert-close-size, $lm-alert-close-size-light);
|
|
71
|
-
justify-content: center;
|
|
72
|
-
width: var(--alert-close-size, $lm-alert-close-size-light);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
md-icon::part(icon) {
|
|
76
|
-
color: $alert__close-icon-color;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.md-alert__inline {
|
|
81
|
-
border: 0;
|
|
82
|
-
box-shadow: none;
|
|
83
|
-
margin-bottom: 0;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
@mixin alert-variant($background, $border, $text-color) {
|
|
2
|
-
background-color: $background;
|
|
3
|
-
border-color: $border;
|
|
4
|
-
color: $text-color;
|
|
5
|
-
|
|
6
|
-
hr {
|
|
7
|
-
border-top-color: darken($border, 5%);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.alert-link {
|
|
11
|
-
color: darken($text-color, 10%);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin text-dots {
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
text-overflow: ellipsis;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin line-dots($line) {
|
|
22
|
-
-webkit-box-orient: vertical;
|
|
23
|
-
display: -webkit-box;
|
|
24
|
-
-webkit-line-clamp: $line;
|
|
25
|
-
line-clamp: $line;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@import "@/wc_scss/tools/functions/core";
|
|
2
|
-
@import "@/wc_scss/tools/mixins/core";
|
|
3
|
-
|
|
4
|
-
// Settings
|
|
5
|
-
@import "@/wc_scss/colors/settings-base";
|
|
6
|
-
@import "@/wc_scss/colors/settings-transparencies";
|
|
7
|
-
@import "@/wc_scss/settings/core";
|
|
8
|
-
@import "@/wc_scss/typography/settings";
|
|
9
|
-
@import "@/wc_scss/icon/settings";
|
|
10
|
-
|
|
11
|
-
// Tools
|
|
12
|
-
@import "@/wc_scss/tools/mixins/border-radius";
|
|
13
|
-
@import "@/wc_scss/tools/mixins/flex";
|
|
14
|
-
|
|
15
|
-
//vars
|
|
16
|
-
@import "./vars/lm-alert-settings";
|
|
17
|
-
|
|
18
|
-
// Alert Specific
|
|
19
|
-
@import "settings";
|
|
20
|
-
@import "mixins";
|
|
21
|
-
@import "alert";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--alert-icon-size: var(--alert-default-icon-size, $lm-alert-default-icon-size-light);
|
|
3
|
-
--alert-close-btn: var(--alert-close-bg-color, $lm-alert-close-bg-color-light);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
$alert__class: "md-alert";
|
|
7
|
-
$alert__border-radius: rem-calc(5);
|
|
8
|
-
|
|
9
|
-
$alert__font-size: rem-calc(14) !default;
|
|
10
|
-
$alert__font-size--title: rem-calc(16) !default;
|
|
11
|
-
$alert__icon-font-size: rem-calc(44) !default;
|
|
12
|
-
$alert__close-icon-color: var(--alert-close-text-color, $lm-alert-close-text-color-light);
|
|
13
|
-
|
|
14
|
-
$alert__background-color: $md-white-100 !default;
|
|
15
|
-
$alert__background-color--info: $md-theme-50 !default;
|
|
16
|
-
$alert__background-color--success: $md-green-50 !default;
|
|
17
|
-
$alert__background-color--warning: $md-yellow-50 !default;
|
|
18
|
-
$alert__background-color--error: $md-red-50 !default;
|
|
19
|
-
|
|
20
|
-
$alert__font-color: $md-gray-90 !default;
|
|
21
|
-
$alert__font-color--title: $md-black-100 !default;
|
|
22
|
-
$alert__font-color--status: $md-green-70 !default;
|
|
23
|
-
$alert__font-color--info: $md-theme-50 !default;
|
|
24
|
-
$alert__font-color--success: $md-green-50 !default;
|
|
25
|
-
$alert__font-color--warning: $md-yellow-50 !default;
|
|
26
|
-
$alert__font-color--error: $md-red-50 !default;
|
|
27
|
-
|
|
28
|
-
$alert__padding: rem-calc(8);
|
|
29
|
-
$alert__padding-right: rem-calc(13);
|
|
30
|
-
$alert__padding-left: rem-calc(17);
|
|
31
|
-
|
|
32
|
-
$alert__padding--call: rem-calc(17);
|
|
33
|
-
$alert__padding-top--call: rem-calc(12);
|
|
34
|
-
$alert__padding-bottom--call: rem-calc(25);
|
|
35
|
-
|
|
36
|
-
$alert__width: rem-calc(368);
|
|
37
|
-
$alert__content_width: rem-calc(272);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
-
/* eslint-disable no-undef */
|
|
3
|
-
const colors = require("@momentum-ui/tokens/dist/colors.json");
|
|
4
|
-
|
|
5
|
-
const alert = {
|
|
6
|
-
prefix: "lm",
|
|
7
|
-
component: "alert",
|
|
8
|
-
default: {
|
|
9
|
-
"bg-color": {
|
|
10
|
-
light: colors.white[60].name,
|
|
11
|
-
dark: colors.gray[90].name
|
|
12
|
-
},
|
|
13
|
-
"align-items": {
|
|
14
|
-
light: "flex-start",
|
|
15
|
-
dark: "flex-start"
|
|
16
|
-
},
|
|
17
|
-
"text-color": {
|
|
18
|
-
light: colors.gray[70].name,
|
|
19
|
-
dark: colors.gray[20].name
|
|
20
|
-
},
|
|
21
|
-
"icon-size": {
|
|
22
|
-
light: "24px",
|
|
23
|
-
dark: "24px"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
title: {
|
|
27
|
-
"text-color": {
|
|
28
|
-
light: colors.gray[100].name,
|
|
29
|
-
dark: colors.gray["05"].name
|
|
30
|
-
},
|
|
31
|
-
"font-size": {
|
|
32
|
-
light: "1rem",
|
|
33
|
-
dark: "1rem"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
close: {
|
|
37
|
-
"bg-color": {
|
|
38
|
-
light: colors.white[60].name,
|
|
39
|
-
dark: colors.gray[90].name
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
light: "1rem",
|
|
43
|
-
dark: "1rem"
|
|
44
|
-
},
|
|
45
|
-
"text-color": {
|
|
46
|
-
light: colors.gray[100].name,
|
|
47
|
-
dark: colors.gray["05"].name
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
module.exports = alert;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
-
/* eslint-disable no-undef */
|
|
3
|
-
const colors = require("@momentum-ui/tokens/dist/colors.json");
|
|
4
|
-
|
|
5
|
-
const alert = {
|
|
6
|
-
prefix: "md",
|
|
7
|
-
component: "alert",
|
|
8
|
-
default: {
|
|
9
|
-
"bg-color": {
|
|
10
|
-
light: colors.white[100].name,
|
|
11
|
-
dark: colors.gray[80].name
|
|
12
|
-
},
|
|
13
|
-
"align-items": {
|
|
14
|
-
light: "center",
|
|
15
|
-
dark: "center"
|
|
16
|
-
},
|
|
17
|
-
"text-color": {
|
|
18
|
-
light: colors.gray[90].name,
|
|
19
|
-
dark: colors.gray[10].name
|
|
20
|
-
},
|
|
21
|
-
"icon-size": {
|
|
22
|
-
light: "40px",
|
|
23
|
-
dark: "40px"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
title: {
|
|
27
|
-
"text-color": {
|
|
28
|
-
light: colors.theme[50].name,
|
|
29
|
-
dark: colors.theme[60].name
|
|
30
|
-
},
|
|
31
|
-
"font-size": {
|
|
32
|
-
light: "1rem",
|
|
33
|
-
dark: "1rem"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
close: {
|
|
37
|
-
"bg-color": {
|
|
38
|
-
light: "#e6e8e8",
|
|
39
|
-
dark: colors.gray[90].name
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
light: "2.75rem",
|
|
43
|
-
dark: "2.75rem"
|
|
44
|
-
},
|
|
45
|
-
"text-color": {
|
|
46
|
-
light: colors.gray[90].name,
|
|
47
|
-
dark: colors.gray["05"].name
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
module.exports = alert;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Cisco Systems, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { withA11y } from "@storybook/addon-a11y";
|
|
10
|
-
import { boolean, select, text, withKnobs } from "@storybook/addon-knobs";
|
|
11
|
-
import { html } from "lit-html";
|
|
12
|
-
import { action } from '@storybook/addon-actions';
|
|
13
|
-
import "@/components/icon/Icon";
|
|
14
|
-
import "@/components/alert-banner/AlertBanner";
|
|
15
|
-
import "@/components/theme/Theme";
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
title: "Components/Alert Banner",
|
|
19
|
-
component: "md-alert-banner",
|
|
20
|
-
decorators: [withKnobs, withA11y],
|
|
21
|
-
parameters: {
|
|
22
|
-
a11y: {
|
|
23
|
-
element: "md-alert-banner"
|
|
24
|
-
},
|
|
25
|
-
docs: {
|
|
26
|
-
description: {
|
|
27
|
-
component: 'A typical usage of Alert Banner, with text added within the element tags or message attribute'
|
|
28
|
-
},
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export const AlertBanner = () => {
|
|
34
|
-
const darkTheme = boolean("darkMode", false);
|
|
35
|
-
const lumos = boolean("Lumos Theme", false);
|
|
36
|
-
const type = select("type", ["default", "warning", "error"], "default");
|
|
37
|
-
const closable = boolean("closable", false);
|
|
38
|
-
const textContent = text("alert message", "Test Alert Message");
|
|
39
|
-
|
|
40
|
-
return html`
|
|
41
|
-
<md-theme class="theme-toggle" id="alert-banner" ?darkTheme=${darkTheme} ?lumos=${lumos}>
|
|
42
|
-
<md-alert-banner @alertBanner-hide=${(action('dispatchEvent'))} show type="${type}" ?closable=${closable} message="${textContent}">
|
|
43
|
-
${textContent ? `${textContent}` : `Text with slotted tag element`}
|
|
44
|
-
</md-alert-banner>
|
|
45
|
-
</md-theme>
|
|
46
|
-
`;
|
|
47
|
-
};
|
|
48
|
-
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Key } from "@/constants";
|
|
2
|
-
import { elementUpdated, fixture, fixtureCleanup, html } from "@open-wc/testing-helpers";
|
|
3
|
-
import { LitElement } from "lit-element";
|
|
4
|
-
import "./AlertBanner";
|
|
5
|
-
import { AlertBanner } from "./AlertBanner";
|
|
6
|
-
|
|
7
|
-
const fixtureFactory = async (
|
|
8
|
-
type: string,
|
|
9
|
-
message: string,
|
|
10
|
-
closable: boolean,
|
|
11
|
-
show: boolean
|
|
12
|
-
): Promise<AlertBanner.ELEMENT> => {
|
|
13
|
-
return await fixture<AlertBanner.ELEMENT>(html`
|
|
14
|
-
<md-alert-banner type=${type} message=${message} ?closable=${closable} ?show=${show}
|
|
15
|
-
><p>Test Alert Message</p></md-alert-banner
|
|
16
|
-
>
|
|
17
|
-
`);
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const find = <T extends LitElement>(component: T, selector: string): Element | null => {
|
|
21
|
-
return component.shadowRoot!.querySelector(selector);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
describe("Alert Banner component", () => {
|
|
25
|
-
afterEach(() => {
|
|
26
|
-
fixtureCleanup();
|
|
27
|
-
});
|
|
28
|
-
test("should render component", async () => {
|
|
29
|
-
expect.hasAssertions();
|
|
30
|
-
const component = await fixtureFactory("info", "my message", false, false);
|
|
31
|
-
expect(component).not.toBeNull();
|
|
32
|
-
expect(component.closable).toBeFalsy();
|
|
33
|
-
expect(component.show).toBeFalsy();
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
test("should show component when show property is true", async () => {
|
|
37
|
-
const component = await fixtureFactory("info", "my message", false, true);
|
|
38
|
-
await elementUpdated(component);
|
|
39
|
-
expect(component.show).toBeTruthy();
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
test("should show and hide component", async () => {
|
|
43
|
-
const component = await fixtureFactory("info", "my message", false, true);
|
|
44
|
-
await elementUpdated(component);
|
|
45
|
-
expect(component.show).toBeTruthy();
|
|
46
|
-
component.onHide();
|
|
47
|
-
await elementUpdated(component);
|
|
48
|
-
expect(component.show).toBeFalsy();
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
test("should render close button when closable property is true", async () => {
|
|
52
|
-
const component = await fixtureFactory("info", "my message", true, true);
|
|
53
|
-
await elementUpdated(component);
|
|
54
|
-
|
|
55
|
-
const closeBtn = component.shadowRoot?.querySelector("md-button");
|
|
56
|
-
|
|
57
|
-
expect(component.closable).toBeTruthy();
|
|
58
|
-
expect(closeBtn).not.toBeNull();
|
|
59
|
-
|
|
60
|
-
closeBtn!.dispatchEvent(new MouseEvent("click"));
|
|
61
|
-
await elementUpdated(component);
|
|
62
|
-
expect(component.show).toBeFalsy();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
test("should hide when Enter keydown", async () => {
|
|
66
|
-
const component = await fixtureFactory("info", "my message", true, true);
|
|
67
|
-
await elementUpdated(component);
|
|
68
|
-
expect(component.closable).toBeTruthy();
|
|
69
|
-
|
|
70
|
-
const closeBtn = component.shadowRoot?.querySelector("md-button");
|
|
71
|
-
closeBtn!.dispatchEvent(new KeyboardEvent("keydown", { code: Key.Enter }));
|
|
72
|
-
|
|
73
|
-
await elementUpdated(component);
|
|
74
|
-
expect(component.show).toBeFalsy();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
test("should hide when Space keydown", async () => {
|
|
78
|
-
const component = await fixtureFactory("info", "my message", true, true);
|
|
79
|
-
component.handleKeyDown(new KeyboardEvent("keydown", { code: Key.Space }));
|
|
80
|
-
|
|
81
|
-
await elementUpdated(component);
|
|
82
|
-
expect(component.show).toBeFalsy();
|
|
83
|
-
});
|
|
84
|
-
});
|