@momentum-ui/web-components 2.16.8 → 2.16.10
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/CiscoSansTT-MediumOblique.woff +0 -0
- package/dist/assets/fonts/CiscoSansTT-MediumOblique.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/CiscoSansTTCondBold.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTCondBold.woff2 +0 -0
- package/dist/assets/fonts/CiscoSansTTCondRegular.woff +0 -0
- package/dist/assets/fonts/CiscoSansTTCondRegular.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/Inter.var.woff2 +0 -0
- package/dist/assets/fonts/index.html +18578 -0
- package/dist/assets/fonts/momentum-ui-icons.svg +9270 -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 +18578 -0
- package/dist/assets/icons/fonts/momentum-ui-icons.svg +9270 -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/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 +1 -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 +1 -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 +1 -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 +11 -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 +9 -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 +1 -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 +26 -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 +124 -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 +17 -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 +1 -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 +8 -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 +23 -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 +1 -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 +7 -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 +8 -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 +1 -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-274.js +1 -0
- package/dist/chunks/md-275.js +1 -0
- package/dist/chunks/md-276.js +1 -0
- package/dist/chunks/md-277.js +1 -0
- package/dist/chunks/md-278.js +1 -0
- package/dist/chunks/md-279.js +1 -0
- package/dist/chunks/md-28.js +55 -0
- package/dist/chunks/md-280.js +1 -0
- package/dist/chunks/md-281.js +1 -0
- package/dist/chunks/md-282.js +1 -0
- package/dist/chunks/md-283.js +1 -0
- package/dist/chunks/md-29.js +1 -0
- package/dist/chunks/md-3.js +1 -0
- package/dist/chunks/md-30.js +216 -0
- package/dist/chunks/md-31.js +49 -0
- package/dist/chunks/md-32.js +1 -0
- package/dist/chunks/md-33.js +1 -0
- package/dist/chunks/md-34.js +36 -0
- package/dist/chunks/md-35.js +33 -0
- package/dist/chunks/md-36.js +23 -0
- package/dist/chunks/md-37.js +5 -0
- package/dist/chunks/md-38.js +5 -0
- package/dist/chunks/md-39.js +1 -0
- package/dist/chunks/md-4.js +1 -0
- package/dist/chunks/md-40.js +21 -0
- package/dist/chunks/md-41.js +26 -0
- package/dist/chunks/md-42.js +42 -0
- package/dist/chunks/md-43.js +1 -0
- package/dist/chunks/md-44.js +30 -0
- package/dist/chunks/md-45.js +16 -0
- package/dist/chunks/md-46.js +1 -0
- package/dist/chunks/md-47.js +27 -0
- package/dist/chunks/md-48.js +5 -0
- package/dist/chunks/md-49.js +38 -0
- package/dist/chunks/md-5.js +1 -0
- package/dist/chunks/md-50.js +13 -0
- package/dist/chunks/md-51.js +34 -0
- package/dist/chunks/md-52.js +20 -0
- package/dist/chunks/md-53.js +121 -0
- package/dist/chunks/md-54.js +98 -0
- package/dist/chunks/md-55.js +11 -0
- package/dist/chunks/md-56.js +5 -0
- package/dist/chunks/md-57.js +77 -0
- package/dist/chunks/md-58.js +68 -0
- package/dist/chunks/md-59.js +22 -0
- package/dist/chunks/md-6.js +77 -0
- package/dist/chunks/md-60.js +14 -0
- package/dist/chunks/md-61.js +5 -0
- package/dist/chunks/md-62.js +51 -0
- package/dist/chunks/md-63.js +22 -0
- package/dist/chunks/md-64.js +47 -0
- package/dist/chunks/md-65.js +5 -0
- package/dist/chunks/md-66.js +1 -0
- package/dist/chunks/md-67.js +23 -0
- package/dist/chunks/md-68.js +5 -0
- package/dist/chunks/md-69.js +11 -0
- package/dist/chunks/md-7.js +1 -0
- package/dist/chunks/md-70.js +138 -0
- package/dist/chunks/md-71.js +30 -0
- package/dist/chunks/md-72.js +70 -0
- package/dist/chunks/md-73.js +19 -0
- package/dist/chunks/md-74.js +22 -0
- package/dist/chunks/md-75.js +17 -0
- package/dist/chunks/md-76.js +76 -0
- package/dist/chunks/md-77.js +7 -0
- package/dist/chunks/md-78.js +72 -0
- package/dist/chunks/md-79.js +78 -0
- package/dist/chunks/md-8.js +26 -0
- package/dist/chunks/md-80.js +71 -0
- package/dist/chunks/md-81.js +17 -0
- package/dist/chunks/md-82.js +5 -0
- package/dist/chunks/md-83.js +19 -0
- package/dist/chunks/md-84.js +1 -0
- package/dist/chunks/md-85.js +168 -0
- package/dist/chunks/md-86.js +43 -0
- package/dist/chunks/md-87.js +101 -0
- package/dist/chunks/md-88.js +82 -0
- package/dist/chunks/md-89.js +12 -0
- package/dist/chunks/md-9.js +1 -0
- package/dist/chunks/md-90.js +43 -0
- package/dist/chunks/md-91.js +34 -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 +15 -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 +9 -0
- package/dist/comp/md-advance-list-entry.js +1 -0
- package/dist/comp/md-advance-list.js +7 -0
- package/dist/comp/md-alert-banner-entry.js +1 -0
- package/dist/comp/md-alert-banner.js +9 -0
- package/dist/comp/md-alert-entry.js +1 -0
- package/dist/comp/md-alert.js +10 -0
- package/dist/comp/md-audio-player-entry.js +1 -0
- package/dist/comp/md-audio-player.js +17 -0
- package/dist/comp/md-avatar-entry.js +1 -0
- package/dist/comp/md-avatar.js +11 -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-ai-entry.js +1 -0
- package/dist/comp/md-card-ai.js +9 -0
- package/dist/comp/md-card-entry.js +1 -0
- package/dist/comp/md-card.js +23 -0
- package/dist/comp/md-chat-message-entry.js +1 -0
- package/dist/comp/md-chat-message.js +12 -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 +18 -0
- package/dist/comp/md-coachmark-entry.js +1 -0
- package/dist/comp/md-coachmark-popover-entry.js +1 -0
- package/dist/comp/md-coachmark-popover.js +15 -0
- package/dist/comp/md-coachmark.js +13 -0
- package/dist/comp/md-combobox-entry.js +1 -0
- package/dist/comp/md-combobox.js +17 -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 +25 -0
- package/dist/comp/md-date-time-picker-entry.js +1 -0
- package/dist/comp/md-date-time-picker.js +19 -0
- package/dist/comp/md-datepicker-calendar-entry.js +1 -0
- package/dist/comp/md-datepicker-calendar.js +14 -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 +24 -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 +15 -0
- package/dist/comp/md-editable-field-entry.js +1 -0
- package/dist/comp/md-editable-field.js +15 -0
- package/dist/comp/md-favorite-entry.js +1 -0
- package/dist/comp/md-favorite.js +14 -0
- package/dist/comp/md-floating-minimize-entry.js +1 -0
- package/dist/comp/md-floating-minimize.js +15 -0
- package/dist/comp/md-floating-modal-entry.js +1 -0
- package/dist/comp/md-floating-modal.js +16 -0
- package/dist/comp/md-form-entry.js +1 -0
- package/dist/comp/md-form.js +9 -0
- 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 -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 +8 -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 +13 -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 +12 -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 +9 -0
- package/dist/comp/md-menu.js +8 -0
- package/dist/comp/md-modal-entry.js +1 -0
- package/dist/comp/md-modal.js +14 -0
- package/dist/comp/md-pagination-entry.js +1 -0
- package/dist/comp/md-pagination.js +9 -0
- package/dist/comp/md-phone-input-entry.js +1 -0
- package/dist/comp/md-phone-input.js +20 -0
- package/dist/comp/md-popover-entry.js +1 -0
- package/dist/comp/md-popover.js +14 -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 +15 -0
- package/dist/comp/md-table-entry.js +1 -0
- package/dist/comp/md-table.js +9 -0
- package/dist/comp/md-tabs-entry.js +1 -0
- package/dist/comp/md-tabs.js +20 -0
- package/dist/comp/md-task-item-entry.js +1 -0
- package/dist/comp/md-task-item.js +10 -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 +22 -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 +12 -0
- package/dist/index-entry.js +34 -0
- package/dist/index.js +94 -0
- package/dist/managers/thememanager-entry.js +1 -0
- package/dist/managers/thememanager.js +2 -0
- package/dist/types/components/accordion/Accordion.d.ts +32 -0
- package/dist/types/components/accordion/AccordionItem.d.ts +41 -0
- package/dist/types/components/activity-button/ActivityButton.d.ts +41 -0
- package/dist/types/components/advance-list/AdvanceList.d.ts +46 -0
- package/dist/types/components/alert/Alert.d.ts +59 -0
- package/dist/types/components/alert-banner/AlertBanner.d.ts +29 -0
- package/dist/types/components/audio-player/AudioPlayer.d.ts +112 -0
- package/dist/types/components/avatar/Avatar.constants.d.ts +4 -0
- package/dist/types/components/avatar/Avatar.d.ts +69 -0
- package/dist/types/components/avatar/CompositeAvatar.d.ts +25 -0
- package/dist/types/components/avatar/Presence.d.ts +19 -0
- package/dist/types/components/avatar/Presence.utils.d.ts +7 -0
- package/dist/types/components/badge/Badge.d.ts +38 -0
- package/dist/types/components/breadcrumb/Breadcrumb.d.ts +24 -0
- package/dist/types/components/button/Button.d.ts +115 -0
- package/dist/types/components/button-group/ButtonGroup.d.ts +45 -0
- package/dist/types/components/card/Card.d.ts +37 -0
- package/dist/types/components/card-ai/CardAi.d.ts +45 -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 +67 -0
- package/dist/types/components/coachmark/Coachmark.d.ts +46 -0
- package/dist/types/components/coachmark-popover/CoachmarkPopover.d.ts +211 -0
- package/dist/types/components/code-editor/CodeEditor.d.ts +40 -0
- package/dist/types/components/combobox/ComboBox.d.ts +227 -0
- package/dist/types/components/date-range-picker/DateRangePicker.d.ts +28 -0
- package/dist/types/components/date-time-picker/DateTimePicker.d.ts +45 -0
- package/dist/types/components/datepicker/DatePicker.d.ts +58 -0
- package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +39 -0
- package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +56 -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 +154 -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 +70 -0
- package/dist/types/components/form/Form.d.ts +49 -0
- package/dist/types/components/grabber/Grabber.d.ts +87 -0
- package/dist/types/components/help-text/HelpText.d.ts +28 -0
- package/dist/types/components/icon/Icon.d.ts +197 -0
- package/dist/types/components/input/Input.d.ts +139 -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 +36 -0
- package/dist/types/components/list/List.d.ts +47 -0
- package/dist/types/components/list/ListItem.d.ts +26 -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 +81 -0
- package/dist/types/components/modal/Modal.d.ts +74 -0
- package/dist/types/components/pagination/Pagination.d.ts +33 -0
- package/dist/types/components/phone-input/PhoneInput.d.ts +72 -0
- package/dist/types/components/popover/Popover.d.ts +184 -0
- package/dist/types/components/popover/Popover.types.d.ts +8 -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 +43 -0
- package/dist/types/components/sass-stats/SassStats.d.ts +29 -0
- package/dist/types/components/slider/Slider.d.ts +47 -0
- package/dist/types/components/spinner/Spinner.d.ts +24 -0
- package/dist/types/components/table/Table.d.ts +57 -0
- package/dist/types/components/table-advanced/TableAdvanced.d.ts +169 -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 +65 -0
- package/dist/types/components/tabs/TabPanel.d.ts +25 -0
- package/dist/types/components/tabs/Tabs.d.ts +129 -0
- package/dist/types/components/taskitem/TaskItem.d.ts +54 -0
- package/dist/types/components/theme/Theme.d.ts +89 -0
- package/dist/types/components/theme/index.d.ts +7 -0
- package/dist/types/components/timepicker/TimePicker.d.ts +50 -0
- package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +39 -0
- package/dist/types/components/tooltip/Tooltip.d.ts +56 -0
- package/dist/types/constants.d.ts +39 -0
- package/dist/types/index.d.ts +79 -0
- package/dist/types/internal-components/color-table/ColorTable.d.ts +9 -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/managers/ThemeManager.d.ts +41 -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 +19 -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 +18 -0
- package/dist/types/utils/helpers.d.ts +17 -0
- package/dist/types/utils/keyboard.d.ts +1 -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 +7 -129
- package/.eslintignore +0 -6
- package/.eslintrc.js +0 -22
- 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 -6
- package/.storybook/main.ts +0 -67
- package/.storybook/manager.ts +0 -16
- package/.storybook/preview-body.html +0 -43
- package/.storybook/preview-head.html +0 -3
- package/.storybook/preview.ts +0 -70
- package/.storybook/themeDecorator.js +0 -9
- package/.stylelintignore +0 -6
- package/.stylelintrc.js +0 -14
- package/.vscode/extensions.json +0 -13
- package/.vscode/launch.json +0 -13
- package/.vscode/settings.json +0 -33
- package/ANGULAR_USAGE.md +0 -102
- package/APPLYING_STYLES.md +0 -44
- package/CHANGELOG.md +0 -23
- 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/svgTransform.js +0 -9
- package/jest.config.js +0 -37
- package/publish-conf.js +0 -66
- package/sonar-project.properties +0 -22
- package/sonar.config.js +0 -22
- package/src/[sandbox]/examples/AdvanceList/components/ErrorLoader/ErrorLoader.scss +0 -22
- package/src/[sandbox]/examples/AdvanceList/components/ErrorLoader/ErrorLoader.ts +0 -72
- package/src/[sandbox]/examples/AdvanceList/components/ParentComponentError.ts +0 -123
- package/src/[sandbox]/examples/AdvanceList/components/ParentComponentGeneric.ts +0 -101
- package/src/[sandbox]/examples/AdvanceList/components/ParentComponentPreSelect.ts +0 -98
- package/src/[sandbox]/examples/accordion.ts +0 -67
- package/src/[sandbox]/examples/advance-list.ts +0 -14
- package/src/[sandbox]/examples/alert-banner.ts +0 -100
- package/src/[sandbox]/examples/alert.ts +0 -130
- package/src/[sandbox]/examples/audio-player.ts +0 -9
- package/src/[sandbox]/examples/avatar.ts +0 -146
- package/src/[sandbox]/examples/badge.ts +0 -175
- package/src/[sandbox]/examples/breadcrumb.ts +0 -5
- package/src/[sandbox]/examples/button-group.ts +0 -66
- package/src/[sandbox]/examples/button.ts +0 -455
- package/src/[sandbox]/examples/card-ai.ts +0 -105
- package/src/[sandbox]/examples/card.ts +0 -76
- package/src/[sandbox]/examples/chat-message.ts +0 -33
- package/src/[sandbox]/examples/checkbox.ts +0 -64
- package/src/[sandbox]/examples/chip.ts +0 -121
- package/src/[sandbox]/examples/coachmark.ts +0 -90
- package/src/[sandbox]/examples/code-editor.ts +0 -13
- package/src/[sandbox]/examples/colorTable.ts +0 -12
- package/src/[sandbox]/examples/combobox.ts +0 -441
- package/src/[sandbox]/examples/date-range-picker.ts +0 -26
- package/src/[sandbox]/examples/date-time-picker.ts +0 -25
- package/src/[sandbox]/examples/datepicker.ts +0 -41
- package/src/[sandbox]/examples/draggable.ts +0 -70
- package/src/[sandbox]/examples/dropdown.ts +0 -263
- package/src/[sandbox]/examples/editable-field.ts +0 -115
- package/src/[sandbox]/examples/favorite.ts +0 -49
- package/src/[sandbox]/examples/floating-modal.ts +0 -101
- package/src/[sandbox]/examples/form.ts +0 -101
- package/src/[sandbox]/examples/grabber.ts +0 -199
- package/src/[sandbox]/examples/icon.ts +0 -73
- package/src/[sandbox]/examples/index.ts +0 -55
- package/src/[sandbox]/examples/input-file.ts +0 -7
- package/src/[sandbox]/examples/input.ts +0 -444
- package/src/[sandbox]/examples/label.ts +0 -13
- package/src/[sandbox]/examples/link.ts +0 -46
- package/src/[sandbox]/examples/list.ts +0 -55
- 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 -579
- package/src/[sandbox]/examples/modal.ts +0 -451
- package/src/[sandbox]/examples/pagination.ts +0 -13
- package/src/[sandbox]/examples/phone-input.ts +0 -112
- package/src/[sandbox]/examples/popover.ts +0 -164
- package/src/[sandbox]/examples/progress-bar.ts +0 -6
- package/src/[sandbox]/examples/radio-group.ts +0 -52
- package/src/[sandbox]/examples/slider.ts +0 -17
- package/src/[sandbox]/examples/spinner.ts +0 -4
- package/src/[sandbox]/examples/table-advanced.ts +0 -120
- package/src/[sandbox]/examples/table.ts +0 -106
- package/src/[sandbox]/examples/tabs.ts +0 -887
- package/src/[sandbox]/examples/task-item.ts +0 -142
- package/src/[sandbox]/examples/timepicker.ts +0 -26
- package/src/[sandbox]/examples/toggle-switch.ts +0 -20
- package/src/[sandbox]/examples/tooltip.ts +0 -138
- package/src/[sandbox]/favicon.ico +0 -0
- package/src/[sandbox]/index.html +0 -15
- package/src/[sandbox]/sandbox.mock.ts +0 -636
- package/src/[sandbox]/sandbox.scss +0 -66
- package/src/[sandbox]/sandbox.ts +0 -318
- 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.mdx +0 -74
- package/src/components/accordion/Accordion.stories.ts +0 -40
- package/src/components/accordion/Accordion.test.ts +0 -151
- package/src/components/accordion/Accordion.ts +0 -188
- package/src/components/accordion/AccordionItem.test.ts +0 -124
- package/src/components/accordion/AccordionItem.ts +0 -180
- package/src/components/accordion/scss/accordion-item.scss +0 -92
- package/src/components/accordion/scss/accordion.scss +0 -32
- package/src/components/accordion/scss/mixins.scss +0 -16
- package/src/components/accordion/scss/module.scss +0 -2
- package/src/components/accordion/scss/settings.scss +0 -14
- 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/accordion/tokens/mdv2-accordion-tokens.js +0 -21
- package/src/components/activity-button/ActivityButton.test.ts +0 -52
- 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/advance-list/AdvanceList.test.ts +0 -357
- package/src/components/advance-list/AdvanceList.ts +0 -293
- package/src/components/advance-list/scss/AdvanceList.scss +0 -82
- package/src/components/advance-list/scss/module.scss +0 -8
- package/src/components/advance-list/tokens/lm-advance-list-tokens.js +0 -46
- package/src/components/advance-list/tokens/md-advance-list-tokens.js +0 -46
- package/src/components/advance-list/tokens/mdv2-adavance-list-tokens.js +0 -49
- package/src/components/alert/Alert.mdx +0 -72
- package/src/components/alert/Alert.stories.ts +0 -94
- package/src/components/alert/Alert.test.ts +0 -276
- package/src/components/alert/Alert.ts +0 -282
- package/src/components/alert/scss/alert.scss +0 -221
- package/src/components/alert/scss/mixins.scss +0 -27
- package/src/components/alert/scss/module.scss +0 -6
- package/src/components/alert/scss/settings.scss +0 -27
- package/src/components/alert/tokens/lm-alert-tokens.js +0 -63
- package/src/components/alert/tokens/md-alert-tokens.js +0 -63
- package/src/components/alert/tokens/mdv2-alert-tokens.js +0 -51
- package/src/components/alert-banner/AlertBanner.mdx +0 -38
- package/src/components/alert-banner/AlertBanner.stories.ts +0 -49
- package/src/components/alert-banner/AlertBanner.test.ts +0 -79
- package/src/components/alert-banner/AlertBanner.ts +0 -89
- package/src/components/alert-banner/scss/alert-banner.scss +0 -71
- package/src/components/alert-banner/scss/mixins.scss +0 -8
- package/src/components/alert-banner/scss/module.scss +0 -7
- package/src/components/alert-banner/scss/settings.scss +0 -9
- package/src/components/alert-banner/tokens/lm-alertbanner-tokens.js +0 -50
- package/src/components/alert-banner/tokens/md-alertbanner-tokens.js +0 -50
- package/src/components/alert-banner/tokens/mdv2-alertbanner-tokens.js +0 -44
- package/src/components/audio-player/AudioPlayer.stories.ts +0 -33
- package/src/components/audio-player/AudioPlayer.test.ts +0 -208
- package/src/components/audio-player/AudioPlayer.ts +0 -539
- package/src/components/audio-player/scss/audio-player.scss +0 -236
- package/src/components/audio-player/scss/mixins.scss +0 -0
- package/src/components/audio-player/scss/module.scss +0 -16
- package/src/components/audio-player/scss/settings.scss +0 -15
- package/src/components/audio-player/tokens/lm-audio-player-token.js +0 -46
- package/src/components/audio-player/tokens/md-audio-player-token.js +0 -46
- package/src/components/audio-player/tokens/mdv2-audio-player-token.js +0 -37
- package/src/components/avatar/Avatar.constants.ts +0 -31
- package/src/components/avatar/Avatar.mdx +0 -153
- package/src/components/avatar/Avatar.stories.ts +0 -98
- package/src/components/avatar/Avatar.test.ts +0 -218
- package/src/components/avatar/Avatar.ts +0 -284
- package/src/components/avatar/CompositeAvatar.ts +0 -47
- package/src/components/avatar/Presence.test.ts +0 -225
- package/src/components/avatar/Presence.ts +0 -46
- package/src/components/avatar/Presence.utils.ts +0 -114
- package/src/components/avatar/scss/avatar.scss +0 -331
- 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 -18
- package/src/components/avatar/scss/presence.scss +0 -50
- package/src/components/avatar/scss/settings.scss +0 -103
- package/src/components/avatar/tokens/lm-avatar-tokens.js +0 -193
- package/src/components/avatar/tokens/md-avatar-tokens.js +0 -183
- package/src/components/avatar/tokens/mdv2-avatar-tokens.js +0 -182
- package/src/components/badge/Badge.stories.ts +0 -55
- package/src/components/badge/Badge.test.ts +0 -100
- package/src/components/badge/Badge.ts +0 -114
- package/src/components/badge/scss/badge.scss +0 -251
- package/src/components/badge/scss/mixins.scss +0 -82
- package/src/components/badge/scss/module.scss +0 -12
- package/src/components/badge/scss/settings.scss +0 -69
- package/src/components/badge/tokens/lm-badge-tokens.js +0 -369
- package/src/components/badge/tokens/md-badge-tokens.js +0 -359
- package/src/components/badge/tokens/mdv2-badge-tokens.js +0 -392
- package/src/components/breadcrumb/Breadcrumb.stories.ts +0 -50
- package/src/components/breadcrumb/Breadcrumb.test.ts +0 -38
- package/src/components/breadcrumb/Breadcrumb.ts +0 -79
- 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/breadcrumb/tokens/mdv2-breadcrumb-token.js +0 -18
- package/src/components/button/Button.mdx +0 -77
- package/src/components/button/Button.stories.ts +0 -90
- package/src/components/button/Button.test.ts +0 -278
- package/src/components/button/Button.ts +0 -384
- package/src/components/button/README.md +0 -72
- package/src/components/button/scss/button.scss +0 -1067
- package/src/components/button/scss/mixins.scss +0 -281
- package/src/components/button/scss/module.scss +0 -16
- package/src/components/button/scss/settings.scss +0 -241
- package/src/components/button/tokens/lm-button-tokens.js +0 -467
- package/src/components/button/tokens/mdv2-button-tokens.js +0 -544
- package/src/components/button-group/ButtonGroup.stories.ts +0 -45
- package/src/components/button-group/ButtonGroup.test.ts +0 -146
- package/src/components/button-group/ButtonGroup.ts +0 -219
- package/src/components/button-group/scss/button-group.scss +0 -95
- package/src/components/button-group/scss/module.scss +0 -14
- 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/button-group/tokens/mdv2-button-group-tokens.js +0 -40
- package/src/components/card/Card.stories.ts +0 -83
- package/src/components/card/Card.test.ts +0 -83
- package/src/components/card/Card.ts +0 -179
- package/src/components/card/scss/card.scss +0 -131
- package/src/components/card/scss/module.scss +0 -13
- package/src/components/card/scss/settings.scss +0 -11
- package/src/components/card-ai/CardAi.stories.ts +0 -58
- package/src/components/card-ai/CardAi.test.ts +0 -203
- package/src/components/card-ai/CardAi.ts +0 -232
- package/src/components/card-ai/scss/card-ai.scss +0 -107
- package/src/components/card-ai/scss/module.scss +0 -13
- package/src/components/card-ai/scss/settings.scss +0 -17
- package/src/components/card-ai/tokens/lm-card-ai-tokens.js +0 -16
- package/src/components/card-ai/tokens/md-card-ai-tokens.js +0 -16
- package/src/components/card-ai/tokens/mdv2-card-ai-tokens.js +0 -16
- package/src/components/chat-message/ChatMessage.stories.ts +0 -41
- package/src/components/chat-message/ChatMessage.test.ts +0 -53
- package/src/components/chat-message/ChatMessage.ts +0 -52
- package/src/components/chat-message/scss/chat-message.scss +0 -49
- 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/chat-message/tokens/mdv2-chat-message-tokens.js +0 -15
- package/src/components/checkbox/Checkbox.stories.ts +0 -58
- 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 -152
- 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 -9
- package/src/components/checkbox/scss/settings.scss +0 -15
- package/src/components/checkbox/tokens/lm-checkbox-tokens.js +0 -82
- package/src/components/checkbox/tokens/md-checkbox-tokens.js +0 -83
- package/src/components/checkbox/tokens/mdv2-checkbox-tokens.js +0 -65
- package/src/components/chip/Chip.stories.ts +0 -80
- package/src/components/chip/Chip.test.ts +0 -137
- package/src/components/chip/Chip.ts +0 -282
- package/src/components/chip/scss/chip.scss +0 -469
- package/src/components/chip/scss/mixins.scss +0 -54
- package/src/components/chip/scss/module.scss +0 -17
- 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 -143
- package/src/components/coachmark/Coachmark.ts +0 -155
- package/src/components/coachmark/scss/coachmarks.scss +0 -281
- package/src/components/coachmark/scss/module.scss +0 -10
- package/src/components/coachmark/scss/settings.scss +0 -7
- 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/coachmark/tokens/mdv2-coachmark-tokens.js +0 -117
- package/src/components/coachmark-popover/CoachmarkPopover.ts +0 -366
- package/src/components/coachmark-popover/scss/coachmark-popover.scss +0 -84
- package/src/components/coachmark-popover/scss/module.scss +0 -1
- package/src/components/coachmark-popover/scss/settings.scss +0 -14
- package/src/components/code-editor/CodeEditor.stories.ts +0 -37
- package/src/components/code-editor/CodeEditor.test.ts +0 -46
- package/src/components/code-editor/CodeEditor.ts +0 -183
- package/src/components/code-editor/scss/code-editor.scss +0 -157
- 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 -162
- package/src/components/combobox/ComboBox.test.ts +0 -1530
- package/src/components/combobox/ComboBox.ts +0 -1869
- package/src/components/combobox/scss/combobox.scss +0 -637
- 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 -39
- package/src/components/combobox/tokens/lm-combobox-tokens.js +0 -164
- package/src/components/combobox/tokens/md-combobox-tokens.js +0 -168
- package/src/components/combobox/tokens/mdv2-combobox-tokens.js +0 -146
- package/src/components/date-range-picker/DateRangePicker.stories.ts +0 -44
- package/src/components/date-range-picker/DateRangePicker.test.ts +0 -156
- package/src/components/date-range-picker/DateRangePicker.ts +0 -86
- 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-range-picker/tokens/mdv2-date-range-picker-tokens.js +0 -26
- package/src/components/date-time-picker/DateTimePicker.stories.ts +0 -54
- package/src/components/date-time-picker/DateTimePicker.test.ts +0 -37
- package/src/components/date-time-picker/DateTimePicker.ts +0 -187
- 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 -45
- package/src/components/datepicker/DatePicker.test.ts +0 -97
- package/src/components/datepicker/DatePicker.ts +0 -290
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.test.ts +0 -70
- package/src/components/datepicker/datepicker-calendar/DatePickerCalendar.ts +0 -179
- package/src/components/datepicker/datepicker-day/DatePickerDay.test.ts +0 -48
- package/src/components/datepicker/datepicker-day/DatePickerDay.ts +0 -173
- package/src/components/datepicker/datepicker-month/DatePickerMonth.test.ts +0 -13
- package/src/components/datepicker/datepicker-month/DatePickerMonth.ts +0 -60
- package/src/components/datepicker/datepicker-week/DatePickerWeek.test.ts +0 -13
- package/src/components/datepicker/datepicker-week/DatePickerWeek.ts +0 -56
- package/src/components/datepicker/scss/datepicker.scss +0 -263
- 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 -68
- package/src/components/datepicker/tokens/md-datepicker-tokens.js +0 -68
- package/src/components/datepicker/tokens/mdv2-datepicker-tokens.js +0 -91
- package/src/components/draggable/Draggable.mdx +0 -258
- package/src/components/draggable/Draggable.stories.ts +0 -166
- package/src/components/draggable/Draggable.test.ts +0 -116
- package/src/components/draggable/Draggable.ts +0 -203
- package/src/components/draggable/DraggableItem.test.ts +0 -45
- package/src/components/draggable/DraggableItem.ts +0 -58
- package/src/components/draggable/scss/draggable-item.scss +0 -70
- 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 -110
- package/src/components/dropdown/Dropdown.test.ts +0 -461
- package/src/components/dropdown/Dropdown.ts +0 -903
- package/src/components/dropdown/scss/dropdown.scss +0 -497
- 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 -28
- package/src/components/dropdown/tokens/lm-dropdown-tokens.js +0 -68
- package/src/components/dropdown/tokens/md-dropdown-tokens.js +0 -68
- package/src/components/dropdown/tokens/mdv2-dropdown-tokens.js +0 -74
- package/src/components/editable-textfield/EditableTextfield.stories.ts +0 -93
- package/src/components/editable-textfield/EditableTextfield.test.ts +0 -219
- package/src/components/editable-textfield/EditableTextfield.ts +0 -262
- package/src/components/editable-textfield/scss/editable-textfield.scss +0 -128
- 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/editable-textfield/tokens/mdv2-editabletextfield-tokens.js +0 -129
- package/src/components/favorite/Favorite.mdx +0 -27
- package/src/components/favorite/Favorite.stories.ts +0 -43
- package/src/components/favorite/Favorite.test.ts +0 -116
- package/src/components/favorite/Favorite.ts +0 -119
- package/src/components/favorite/scss/favorite.scss +0 -118
- package/src/components/favorite/scss/module.scss +0 -7
- 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 -92
- package/src/components/floating-modal/FloatingMinimizedModal.ts +0 -278
- package/src/components/floating-modal/FloatingModal.stories.ts +0 -67
- package/src/components/floating-modal/FloatingModal.test.ts +0 -114
- package/src/components/floating-modal/FloatingModal.ts +0 -372
- 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/floating-modal/tokens/mdv2-floating-modal-tokens.js +0 -38
- package/src/components/form/Form.stories.ts +0 -54
- package/src/components/form/Form.test.ts +0 -57
- package/src/components/form/Form.ts +0 -239
- package/src/components/grabber/Grabber.stories.ts +0 -54
- package/src/components/grabber/Grabber.test.ts +0 -194
- package/src/components/grabber/Grabber.ts +0 -224
- package/src/components/grabber/scss/grabber.scss +0 -133
- package/src/components/grabber/scss/module.scss +0 -1
- package/src/components/grabber/tokens/lm-grabber-tokens.js +0 -39
- package/src/components/grabber/tokens/md-grabber-tokens.js +0 -39
- package/src/components/grabber/tokens/mdv2-grabber-tokens.js +0 -38
- package/src/components/help-text/HelpText.test.ts +0 -38
- package/src/components/help-text/HelpText.ts +0 -69
- package/src/components/help-text/scss/help-text.scss +0 -50
- 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/help-text/tokens/mdv2-help-text-tokens.js +0 -14
- package/src/components/icon/Icon.stories.ts +0 -87
- package/src/components/icon/Icon.test.ts +0 -181
- package/src/components/icon/Icon.ts +0 -482
- package/src/components/icon/momentum-ui-to-design-icons.json +0 -815
- package/src/components/icon/scss/icon.scss +0 -38
- package/src/components/icon/scss/module.scss +0 -17
- package/src/components/icon/scss/settings.scss +0 -13
- package/src/components/input/Input.stories.ts +0 -148
- package/src/components/input/Input.test.ts +0 -347
- package/src/components/input/Input.ts +0 -560
- package/src/components/input/scss/input.scss +0 -564
- package/src/components/input/scss/module.scss +0 -22
- package/src/components/input/tokens/lm-input-tokens.js +0 -156
- package/src/components/input/tokens/md-input-tokens.js +0 -146
- package/src/components/input/tokens/mdv2-input-tokens.js +0 -171
- package/src/components/input-file/InputFile.stories.ts +0 -20
- package/src/components/input-file/InputFile.test.ts +0 -39
- package/src/components/input-file/InputFile.ts +0 -115
- 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 -55
- package/src/components/label/Label.test.ts +0 -26
- package/src/components/label/Label.ts +0 -81
- package/src/components/label/scss/label.scss +0 -44
- 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/label/tokens/mdv2-label-tokens.js +0 -15
- package/src/components/link/Link.stories.ts +0 -59
- package/src/components/link/Link.test.ts +0 -98
- package/src/components/link/Link.ts +0 -123
- package/src/components/link/scss/link.scss +0 -43
- package/src/components/link/scss/mixins.scss +0 -124
- package/src/components/link/scss/module.scss +0 -11
- package/src/components/link/scss/settings.scss +0 -5
- package/src/components/link/tokens/lm-link-tokens.js +0 -131
- package/src/components/link/tokens/md-link-tokens.js +0 -127
- package/src/components/link/tokens/mdv2-link-tokens.js +0 -120
- package/src/components/list/List.stories.ts +0 -55
- package/src/components/list/List.test.ts +0 -214
- package/src/components/list/List.ts +0 -199
- package/src/components/list/ListItem.test.ts +0 -59
- package/src/components/list/ListItem.ts +0 -69
- package/src/components/list/scss/list.scss +0 -26
- package/src/components/list/scss/listitem.scss +0 -88
- 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 -46
- package/src/components/list/tokens/md-list-tokens.js +0 -46
- package/src/components/list/tokens/mdv2-list-tokens.js +0 -46
- package/src/components/loading/Loading.stories.ts +0 -39
- package/src/components/loading/Loading.test.ts +0 -29
- package/src/components/loading/Loading.ts +0 -48
- package/src/components/loading/scss/loading.scss +0 -78
- package/src/components/loading/scss/module.scss +0 -1
- package/src/components/meeting-alert/CompositeAvatar.ts +0 -37
- package/src/components/meeting-alert/MeetingAlert.mdx +0 -187
- package/src/components/meeting-alert/MeetingAlert.stories.ts +0 -182
- package/src/components/meeting-alert/MeetingAlert.test.ts +0 -227
- 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 -27
- package/src/components/meeting-alert/tokens/lm-meeting-alert-tokens.js +0 -15
- package/src/components/meeting-alert/tokens/md-meeting-alert-tokens.js +0 -15
- package/src/components/meeting-alert/tokens/mdv2-meeting-alert-tokens.js +0 -43
- package/src/components/menu/Menu.stories.ts +0 -66
- package/src/components/menu/Menu.test.ts +0 -109
- package/src/components/menu/Menu.ts +0 -218
- package/src/components/menu/MenuItem.test.ts +0 -49
- package/src/components/menu/MenuItem.ts +0 -159
- package/src/components/menu/scss/menu-item.scss +0 -61
- 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 -18
- 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/tokens/mdv2-menu-tokens.js +0 -42
- package/src/components/menu-overlay/MenuOverlay.stories.ts +0 -104
- package/src/components/menu-overlay/MenuOverlay.test.ts +0 -634
- package/src/components/menu-overlay/MenuOverlay.ts +0 -476
- package/src/components/menu-overlay/scss/menu-overlay.scss +0 -109
- 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 -74
- package/src/components/modal/Modal.test.ts +0 -217
- package/src/components/modal/Modal.ts +0 -292
- package/src/components/modal/scss/mixins.scss +0 -109
- package/src/components/modal/scss/modal.scss +0 -357
- 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/modal/tokens/mdv2-modal-tokens.js +0 -36
- package/src/components/pagination/Pagination.stories.ts +0 -32
- package/src/components/pagination/Pagination.test.ts +0 -74
- package/src/components/pagination/Pagination.ts +0 -219
- 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 -120
- 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/pagination/tokens/mdv2-pagination-tokens.js +0 -39
- package/src/components/phone-input/PhoneInput.stories.ts +0 -39
- package/src/components/phone-input/PhoneInput.test.ts +0 -198
- package/src/components/phone-input/PhoneInput.ts +0 -288
- package/src/components/phone-input/scss/module.scss +0 -7
- package/src/components/phone-input/scss/phoneInput.scss +0 -103
- 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/phone-input/tokens/mdv2-phone-input-tokens.js +0 -22
- package/src/components/popover/Popover.ts +0 -580
- package/src/components/popover/Popover.types.ts +0 -26
- package/src/components/popover/scss/module.scss +0 -2
- package/src/components/popover/scss/popover.scss +0 -131
- package/src/components/popover/scss/settings.scss +0 -11
- package/src/components/popover/tokens/lm-popover-tokens.js +0 -18
- package/src/components/popover/tokens/md-popover-tokens.js +0 -18
- package/src/components/popover/tokens/mdv2-popover-tokens.js +0 -18
- package/src/components/progress-bar/ProgressBar.stories.ts +0 -43
- package/src/components/progress-bar/ProgressBar.test.ts +0 -120
- package/src/components/progress-bar/ProgressBar.ts +0 -112
- package/src/components/progress-bar/scss/mixins.scss +0 -49
- package/src/components/progress-bar/scss/module.scss +0 -10
- package/src/components/progress-bar/scss/progress.scss +0 -77
- package/src/components/progress-bar/scss/settings.scss +0 -29
- package/src/components/progress-bar/tokens/lm-progress-bar-tokens.js +0 -28
- package/src/components/progress-bar/tokens/md-progress-bar-tokens.js +0 -28
- package/src/components/progress-bar/tokens/mdv2-progress-bar-tokens.js +0 -36
- package/src/components/radio/Radio.test.ts +0 -66
- package/src/components/radio/Radio.ts +0 -94
- package/src/components/radio/RadioGroup.stories.ts +0 -49
- package/src/components/radio/RadioGroup.test.ts +0 -209
- package/src/components/radio/RadioGroup.ts +0 -195
- package/src/components/radio/scss/mixins.scss +0 -7
- package/src/components/radio/scss/module.scss +0 -14
- package/src/components/radio/scss/radio.scss +0 -150
- package/src/components/radio/scss/radiogroup.scss +0 -29
- package/src/components/radio/scss/settings.scss +0 -18
- package/src/components/radio/tokens/lm-radio-tokens.js +0 -84
- package/src/components/radio/tokens/md-radio-tokens.js +0 -84
- package/src/components/radio/tokens/mdv2-radio-tokens.js +0 -67
- package/src/components/sass-stats/README.md +0 -25
- package/src/components/sass-stats/SassStats.test.ts +0 -13
- package/src/components/sass-stats/SassStats.ts +0 -110
- package/src/components/slider/Slider.stories.ts +0 -62
- package/src/components/slider/Slider.test.ts +0 -128
- package/src/components/slider/Slider.ts +0 -283
- 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 -188
- 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/slider/tokens/mdv2-slider-token.js +0 -50
- package/src/components/spinner/Spinner.stories.ts +0 -36
- package/src/components/spinner/Spinner.test.ts +0 -18
- package/src/components/spinner/Spinner.ts +0 -40
- package/src/components/spinner/scss/mixins.scss +0 -36
- package/src/components/spinner/scss/module.scss +0 -4
- package/src/components/spinner/scss/settings.scss +0 -3
- package/src/components/spinner/scss/spinner.scss +0 -50
- 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/spinner/tokens/mdv2-spinner-tokens.js +0 -15
- package/src/components/table/Table.stories.ts +0 -76
- package/src/components/table/Table.test.ts +0 -51
- package/src/components/table/Table.ts +0 -234
- 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 -148
- 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/tokens/mdv2-table-tokens.js +0 -35
- package/src/components/table-advanced/TableAdvanced.md +0 -233
- package/src/components/table-advanced/TableAdvanced.mdx +0 -240
- package/src/components/table-advanced/TableAdvanced.stories.ts +0 -161
- package/src/components/table-advanced/TableAdvanced.test.ts +0 -374
- package/src/components/table-advanced/TableAdvanced.ts +0 -1081
- 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 -399
- package/src/components/table-advanced/src/decorators.ts +0 -150
- 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/table-advanced/tokens/mdv2-table-advanced-tokens.js +0 -64
- package/src/components/tabs/Tab.test.ts +0 -103
- package/src/components/tabs/Tab.ts +0 -219
- package/src/components/tabs/TabPanel.test.ts +0 -31
- package/src/components/tabs/TabPanel.ts +0 -44
- package/src/components/tabs/Tabs.stories.ts +0 -171
- package/src/components/tabs/Tabs.test.ts +0 -676
- package/src/components/tabs/Tabs.ts +0 -1231
- package/src/components/tabs/scss/mixins.scss +0 -6
- package/src/components/tabs/scss/module.scss +0 -14
- package/src/components/tabs/scss/settings.scss +0 -25
- package/src/components/tabs/scss/tab.scss +0 -373
- package/src/components/tabs/scss/tabs.scss +0 -250
- package/src/components/tabs/tokens/lm-tabs-tokens.js +0 -92
- package/src/components/tabs/tokens/md-tabs-tokens.js +0 -86
- package/src/components/tabs/tokens/mdv2-tabs-tokens.js +0 -70
- package/src/components/taskitem/TaskItem.stories.ts +0 -70
- package/src/components/taskitem/TaskItem.test.ts +0 -496
- package/src/components/taskitem/TaskItem.ts +0 -293
- 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 -45
- package/src/components/taskitem/scss/task-item.scss +0 -229
- package/src/components/taskitem/tokens/lm-taskitem-tokens.js +0 -72
- package/src/components/taskitem/tokens/md-taskitem-tokens.js +0 -72
- package/src/components/taskitem/tokens/mdv2-taskitem-tokens.js +0 -58
- package/src/components/theme/README.md +0 -13
- package/src/components/theme/Theme.test.ts +0 -157
- package/src/components/theme/Theme.ts +0 -392
- package/src/components/theme/index.ts +0 -8
- package/src/components/timepicker/TimePicker.stories.ts +0 -39
- package/src/components/timepicker/TimePicker.test.ts +0 -145
- package/src/components/timepicker/TimePicker.ts +0 -425
- 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 -71
- package/src/components/toggle-switch/ToggleSwitch.stories.ts +0 -48
- package/src/components/toggle-switch/ToggleSwitch.test.ts +0 -92
- package/src/components/toggle-switch/ToggleSwitch.ts +0 -102
- package/src/components/toggle-switch/scss/mixins.scss +0 -114
- package/src/components/toggle-switch/scss/module.scss +0 -7
- package/src/components/toggle-switch/scss/settings.scss +0 -16
- package/src/components/toggle-switch/scss/toggle-switch.scss +0 -197
- package/src/components/toggle-switch/tokens/lm-toggle-tokens.js +0 -54
- package/src/components/toggle-switch/tokens/md-toggle-tokens.js +0 -54
- package/src/components/toggle-switch/tokens/mdv2-toggle-tokens.js +0 -54
- package/src/components/tooltip/Tooltip.stories.ts +0 -55
- package/src/components/tooltip/Tooltip.test.ts +0 -108
- package/src/components/tooltip/Tooltip.ts +0 -239
- package/src/components/tooltip/scss/module.scss +0 -9
- 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/components/tooltip/tokens/mdv2-tooltip-tokens.js +0 -42
- package/src/constants.ts +0 -42
- package/src/index.ts +0 -82
- package/src/internal-components/color-table/ColorTable.stories.ts +0 -31
- package/src/internal-components/color-table/ColorTable.ts +0 -83
- package/src/internal-components/color-table/data.ts +0 -203
- 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/managers/ThemeManager.ts +0 -91
- 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 -116
- package/src/mixins/FocusMixin.ts +0 -136
- package/src/mixins/FocusTrapMixin.test.ts +0 -560
- package/src/mixins/FocusTrapMixin.ts +0 -492
- package/src/mixins/ResizeMixin.test.ts +0 -84
- package/src/mixins/ResizeMixin.ts +0 -142
- package/src/mixins/RovingTabIndexMixin.test.ts +0 -60
- package/src/mixins/RovingTabIndexMixin.ts +0 -135
- package/src/mixins/SlottedMixin.test.ts +0 -68
- package/src/mixins/SlottedMixin.ts +0 -116
- 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 -40
- package/src/templates/css-color-variables.hbs +0 -22
- package/src/templates/dark-colors.hbs +0 -33
- package/src/templates/light-colors.hbs +0 -33
- 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 -12
- package/src/tokens/tokenImports.js +0 -7
- package/src/tsconfig.json +0 -23
- 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 -88
- package/src/utils/dateUtils.test.ts +0 -174
- package/src/utils/dateUtils.ts +0 -102
- package/src/utils/enums.ts +0 -721
- package/src/utils/generateColorTableData.js +0 -41
- package/src/utils/generateScssFromTokens.js +0 -245
- package/src/utils/helpers.ts +0 -150
- package/src/utils/keyboard.ts +0 -5
- package/src/utils/validateIconMapping.js +0 -55
- package/src/utils/validations.ts +0 -29
- package/src/wc_scss/colors/settings-base.scss +0 -208
- package/src/wc_scss/colors/settings-transparencies.scss +0 -54
- package/src/wc_scss/colors/settings.scss +0 -1
- package/src/wc_scss/generic/global.scss +0 -117
- package/src/wc_scss/generic/normalize.scss +0 -422
- package/src/wc_scss/icon/settings.scss +0 -16
- package/src/wc_scss/path.scss +0 -4
- package/src/wc_scss/reset.scss +0 -27
- package/src/wc_scss/settings/button-settings.scss +0 -194
- package/src/wc_scss/settings/core.scss +0 -133
- package/src/wc_scss/settings/focus.scss +0 -9
- package/src/wc_scss/settings/form-controls.scss +0 -23
- package/src/wc_scss/settings/forms.scss +0 -29
- package/src/wc_scss/settings/input.scss +0 -65
- 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 -116
- package/src/wc_scss/themes/global--light.scss +0 -116
- package/src/wc_scss/themes/global--lm.scss +0 -5
- package/src/wc_scss/themes/global--md.scss +0 -5
- package/src/wc_scss/themes/global--mdv2.scss +0 -187
- package/src/wc_scss/tools/functions/core.scss +0 -185
- package/src/wc_scss/tools/mixins/avatar.scss +0 -32
- package/src/wc_scss/tools/mixins/baseline.scss +0 -71
- package/src/wc_scss/tools/mixins/border-radius.scss +0 -26
- package/src/wc_scss/tools/mixins/button.scss +0 -256
- package/src/wc_scss/tools/mixins/core.scss +0 -204
- 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 -155
- package/src/wc_scss/tools/mixins/nav-divider.scss +0 -10
- package/src/wc_scss/tools/mixins/scrollbar.scss +0 -40
- package/src/wc_scss/tools/mixins/spacing.scss +0 -211
- 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 -300
- package/src/wc_scss/typography/typography.scss +0 -322
- 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 -27
- package/webpack.config.ts +0 -320
- package/webpack.plugin.LoadChunks.ts +0 -76
- /package/{src → dist}/assets/styles/fonts.css +0 -0
package/CHANGELOG.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [2.9.0] - 2024-03-08
|
|
6
|
-
|
|
7
|
-
### Commits
|
|
8
|
-
|
|
9
|
-
- 973880b7f 2024-03-05 niti-owner: feat: Renamed role to ariaRole property (#1557)
|
|
10
|
-
- 857a8615a 2024-03-04 Ruchi Priya: CX-10203 : fix(accessibility): correct dialog label for station credential (#1555)
|
|
11
|
-
- a5ad95c2b 2024-03-01 Mithun.S: fix(accesibility): sortable table acessibility fix (#1554)
|
|
12
|
-
- 51d251c13 2024-02-29 Ruchi Priya: fix(accessibilty): visual headings not announced as heading (#1550)
|
|
13
|
-
- 4436c7072 2024-02-27 niti-owner: #feat: added arai label and role property for link component (#1551)
|
|
14
|
-
- c2a4657a0 2024-02-27 Vinit Kumar: Added Error message in aria label based on props (#1548)
|
|
15
|
-
|
|
16
|
-
### Updates
|
|
17
|
-
|
|
18
|
-
- Renamed property role to ariaRole in md-link. (#1557)
|
|
19
|
-
- Made ariaDescription Optional in md-modal. (#1555)
|
|
20
|
-
- Accessibility fix in md-table-advanced on Sortable button (#1554)
|
|
21
|
-
- Convert md-modal header from span to H2 (#1550)
|
|
22
|
-
- Added role and ariaLabel in md-link (#1551)
|
|
23
|
-
- Added id property in md-phone-input (#1548)
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Contributing
|
|
3
|
-
|
|
4
|
-
We'd love for you to contribute to our source code and to make Momentum UI Web Component library even better than it is today! Below are the guidelines to follow.
|
|
5
|
-
|
|
6
|
-
## Keep in touch with the team
|
|
7
|
-
|
|
8
|
-
Either you are internal to Cisco or not, feel free to reach out to the repository admins to be added to the `Momentum UI Web Components Q&A` Webex Teams space. You will be able to ask questions, follow discussions and make sure more folks get to take a look at your PR by posting a link.
|
|
9
|
-
|
|
10
|
-
## Adding new components
|
|
11
|
-
|
|
12
|
-
If you wand to add new component to `src/components`:
|
|
13
|
-
|
|
14
|
-
1. Use unique html tag with `md-` prefix
|
|
15
|
-
2. To register custom element, use `@customElementWithCheck("md-my-comp")` decorator instead of `@customElement("md-my-comp")` from "lit-element" framework
|
|
16
|
-
|
|
17
|
-
**Note**: `customElementWithCheck` will not throw error if "custom element" name is already registered by another component, so please make sure your new component name, e.g. `"md-my-comp"`, is not already being used by another component in this library.
|
|
18
|
-
|
|
19
|
-
3. Wrap your component in a unique namespace, e.g.:
|
|
20
|
-
```ts
|
|
21
|
-
export namespace Avatar {
|
|
22
|
-
export type Type = typeof AvatarType[number];
|
|
23
|
-
|
|
24
|
-
export type Size = typeof AvatarSize[number];
|
|
25
|
-
|
|
26
|
-
@customElementWithCheck("md-avatar")
|
|
27
|
-
export class ELEMENT extends LitElement {
|
|
28
|
-
...
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare global {
|
|
32
|
-
interface HTMLElementTagNameMap {
|
|
33
|
-
"md-avatar": Avatar.ELEMENT;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
Make sure all component related types are defined withing the namespace scope. This way, they will be accessible to the library consumer when used in TypeScript environment.
|
|
38
|
-
|
|
39
|
-
4. Keep in mind that we are supporting multiple themes that build on top of default Momentum CSS. This is manifested through the use of **Style Tokens** - you can find reference material in [Applying Styles](./APPLYING_STYLES.md).
|
|
40
|
-
5. Last, but not least, make sure to:
|
|
41
|
-
* Add Unit Test coverage to new and existing components to maintain at least 80% coverage (We strive for at least 90%);
|
|
42
|
-
* Add Storybook component representation for each new component, as well as make sure to add any new feature to the existing component's Storybook `*.stories.ts` file.
|
|
43
|
-
---
|
|
44
|
-
### New component only
|
|
45
|
-
We are using webpack chunk split functionality to minimize footprint of our library importing.
|
|
46
|
-
So you must register your component as a new chunk.
|
|
47
|
-
<br/>
|
|
48
|
-
Please add entry and path to component source in `webpack.config.ts`:
|
|
49
|
-
```js
|
|
50
|
-
"comp/md-my-comp-entry": "./src/components/my-comp/MyComp",
|
|
51
|
-
```
|
|
52
|
-
to `commonDist.entry` section.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
package/REACT_USAGE.md
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
# Usage With React
|
|
2
|
-
|
|
3
|
-
The following walk-through uses create-react-app to quick start a simple usage scenario. Please read through, and adapt for your project's specific needs.
|
|
4
|
-
|
|
5
|
-
### Create-react-app
|
|
6
|
-
First and foremost, follow the instructions in order to get the create-react-app running locally.
|
|
7
|
-
<https://github.com/facebook/create-react-app>
|
|
8
|
-
1. `git clone https://github.com/facebook/create-react-app.git`
|
|
9
|
-
2. `cd create-react-app`
|
|
10
|
-
3. `yarn create react-app my-app`
|
|
11
|
-
4. `cd my-app`
|
|
12
|
-
5. `yarn start`
|
|
13
|
-
|
|
14
|
-
### Include Required Dependencies in package.json
|
|
15
|
-
##### In package.json (`create-react-app/my-app/package.json`)
|
|
16
|
-
Add resolutions & devDependencies, then modify the scripts section to match the following: <br>
|
|
17
|
-
```json
|
|
18
|
-
"resolutions": {
|
|
19
|
-
"lit-element": "2.3.1",
|
|
20
|
-
"lit-html": "1.2.1",
|
|
21
|
-
"jest": "26.6.0"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@momentum-ui/core": "^19.9.12",
|
|
25
|
-
"@momentum-ui/icons": "^7.54.0",
|
|
26
|
-
"@momentum-ui/tokens": "^1.5.0",
|
|
27
|
-
"@momentum-ui/utils": "^6.2.7",
|
|
28
|
-
"@momentum-ui/web-components": "2.1.2",
|
|
29
|
-
"copy-webpack-plugin": "^6.3.2",
|
|
30
|
-
"lit-element": "2.3.1",
|
|
31
|
-
"lit-html": "1.2.1",
|
|
32
|
-
"react-app-rewired": "^2.1.8"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"start": "react-app-rewired start",
|
|
36
|
-
"build": "react-app-rewired build",
|
|
37
|
-
"test": "react-app-rewired test",
|
|
38
|
-
"eject": "react-scripts eject"
|
|
39
|
-
},
|
|
40
|
-
```
|
|
41
|
-
<sub>*The changes to scripts commands enable the following Webpack modifications to be run within the Create React App environment. <br> The addition of `jest` as a resolution is important for tests to run*</sub>
|
|
42
|
-
|
|
43
|
-
### Copy Static Assets & Configure Jest for Testing
|
|
44
|
-
Momentum Web Components use Cisco fonts and Icon fonts that must be served within the project. This Webpack ammendment copies those resources from the installed dependencies (`node_modules`) to the `public` directory. In addition, the jest config override ensures tests run successfully with the addition of web components.
|
|
45
|
-
##### Create config-overrides.js (`create-react-app/my-app/config-overrides.js`)
|
|
46
|
-
Copy the following code below:
|
|
47
|
-
```js
|
|
48
|
-
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
49
|
-
const path = require('path');
|
|
50
|
-
|
|
51
|
-
const hoistedModules = path.resolve("node_modules");
|
|
52
|
-
const pPublic = path.resolve('public');
|
|
53
|
-
|
|
54
|
-
module.exports = {
|
|
55
|
-
webpack: (config, env) => {
|
|
56
|
-
if (!config.plugins) {
|
|
57
|
-
config.plugins = [];
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
const copyWebpackPlugin = new CopyWebpackPlugin({
|
|
61
|
-
patterns: [
|
|
62
|
-
{
|
|
63
|
-
from: `${hoistedModules}/@momentum-ui/core/fonts`,
|
|
64
|
-
to: `${pPublic}/fonts`,
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
from: `${hoistedModules}/@momentum-ui/icons/fonts`,
|
|
69
|
-
to: `${pPublic}/fonts`,
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
{
|
|
73
|
-
from: `${hoistedModules}/@momentum-ui/web-components/dist/assets/styles`,
|
|
74
|
-
to: `${pPublic}/css`,
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
from: `${hoistedModules}/@momentum-ui/icons/css/momentum-ui-icons.min.css`,
|
|
79
|
-
to: `${pPublic}/css`,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
config.plugins.push(copyWebpackPlugin);
|
|
85
|
-
return config;
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
jest: (config) => {
|
|
89
|
-
config.transformIgnorePatterns = [
|
|
90
|
-
"[/\\\\]node_modules/\\\\.+\\.(js|jsx|ts|tsx)$",
|
|
91
|
-
"^.+\\.module\\.(css|sass|scss)$"
|
|
92
|
-
];
|
|
93
|
-
return config;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
```
|
|
97
|
-
<sub>*After you run `yarn build`, this webpack modification will have generated two directories within the `Public` directory: `css` & `fonts`*
|
|
98
|
-
</sub>
|
|
99
|
-
|
|
100
|
-
### Link Bundled CSS Files in index.html
|
|
101
|
-
##### In index.html (`create-react-app/my-app/public/index.html`)
|
|
102
|
-
Add the following lines:
|
|
103
|
-
```html
|
|
104
|
-
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/css/momentum-ui.min.css">
|
|
105
|
-
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/css/momentum-ui-icons.min.css">
|
|
106
|
-
```
|
|
107
|
-
<sub>*This `%PUBLIC_URL%` references the public directory that now contains all required static assets (fonts, icons).*</sub> <br>
|
|
108
|
-
<sub><https://create-react-app.dev/docs/using-the-public-folder/></sub>
|
|
109
|
-
|
|
110
|
-
### Add a Web Components to your Project
|
|
111
|
-
##### In App.js (`create-react-app/my-app/src/App.js`)
|
|
112
|
-
1. Add the following import:
|
|
113
|
-
```js
|
|
114
|
-
import '@momentum-ui/web-components';
|
|
115
|
-
```
|
|
116
|
-
OR import each individual web component
|
|
117
|
-
```js
|
|
118
|
-
import '@momentum-ui/web-components/dist/comp/md-button';
|
|
119
|
-
import '@momentum-ui/web-components/dist/comp/md-icon';
|
|
120
|
-
```
|
|
121
|
-
<sub>*NOTE: You only need to import the web-components module at the top level of your application in order to use web components anywhere throughout.*
|
|
122
|
-
</sub>
|
|
123
|
-
|
|
124
|
-
2. Insert the following sample web component for testing purposes:
|
|
125
|
-
```html
|
|
126
|
-
<md-theme>
|
|
127
|
-
<md-button variant="green"><md-icon slot="icon" name="play_16"></md-icon><span slot="text">Code On!</span></md-button>
|
|
128
|
-
</md-theme>
|
|
129
|
-
```
|
|
130
|
-
<sub>*NOTE: You must wrap your application with the `<md-theme>` element. It provides a set of core style resets and CSS custom variables that provide Theme color tokens, among other things. You can test these by toggling attributes `lumos` and/or `darkTheme` on the `<md-theme>` element.*
|
|
131
|
-
</sub>
|
|
132
|
-
|
|
133
|
-
##### Now it is time to get your app running locally! <br>
|
|
134
|
-
(within `create-react-app/my-app` directory)
|
|
135
|
-
|
|
136
|
-
1. `yarn` installs all dependencies.
|
|
137
|
-
2. `yarn build` copies the required static assets for fonts and icons.
|
|
138
|
-
3. `yarn start` launches project locally.
|
|
139
|
-
|
|
140
|
-
ps: `yarn test` runs all tests files that have this file name structure: `<file>.test.ts` <br>
|
|
141
|
-
<sub>*Feel free to run that and ensure that runs successfully with the existing sample test.*<sub>
|
|
142
|
-
|
|
143
|
-
And you should see:
|
|
144
|
-
|
|
145
|
-

|
package/VERSIONING.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Momentum Web Components Maintenance Manual
|
|
2
|
-
|
|
3
|
-
Please follow these guidelines to help decide appropriate scenarios for publishing a new verison.
|
|
4
|
-
|
|
5
|
-
### xx.xx.Patch Release when
|
|
6
|
-
* 1 or more bug fixes are merged
|
|
7
|
-
|
|
8
|
-
### xx.Minor.xx Release when
|
|
9
|
-
* A new Component is added
|
|
10
|
-
* A feature is added to existing components
|
|
11
|
-
* Documentation is added
|
|
12
|
-
* Optimization is added
|
|
13
|
-
|
|
14
|
-
### Major.xx.xx Release when
|
|
15
|
-
* Breaking, non-backwards compatible changes made
|
|
16
|
-
|
|
17
|
-
### xx.xx.xx-dev.x Release when
|
|
18
|
-
* Needing sustained testing of new features without `yarn link`
|
|
19
|
-
* When dependant projects need bug or feature updates ahead of normal release timeline
|
|
20
|
-
|
|
21
|
-
## To publish a new release
|
|
22
|
-
1. Merge changes that share the same version semantic (i.e. two bug fix PRs)
|
|
23
|
-
2. Increment the related version numeral from within the momentum-ui/web-components dir (best practice use `npm version [patch|minor|major]` unless making a `dev` release, then you can directly edit the package.json `version` property.)
|
|
24
|
-
3. Run `npm login` to ensure you are connected to NPMjs. NOTE: you must be logged in to your NPMjs account that has the rights of a maintainer on @momentum-ui packages in order for it to publish. Do not use you Cisco credentials.
|
|
25
|
-
4. If not already authorized, run `yarn npm:auth` (This will allow publish internally on Artifactory as well as on npmjs)
|
|
26
|
-
5. `yarn npm:publish` (This command will publish on Artifactory as well as on npmjs)
|
|
27
|
-
|
|
28
|
-
If a combination of semantic scenarios are ready for merge at the same time, merge and release all Patch change PRs first, then Minor change PRs.
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
# Web Components University
|
|
2
|
-
|
|
3
|
-
So you want to contribute to Momentum-UI Web Components? Join the club! Web Components are quickly becoming one of the strongest standards of the modern web, and with the help of savvy developers such as yourself Momentum-UI has the potential to be a first class UI kit that makes the most of this next-generation technology.
|
|
4
|
-
|
|
5
|
-
Web Components is a somewhat broad topic and I encourage first-timers to read [this great primer](https://css-tricks.com/an-introduction-to-web-components/) on the basics of web components from CSS Tricks. This introduction to the basic concepts and vanilla JavaScript application lays a good foundation to better uderstand and appreciate the Momentum approach that leverages LitElement, TypeScript, and some of our home-grown standards to make for a better Dev Experience and create complex functionality.
|
|
6
|
-
|
|
7
|
-
#### [READ: CSS Tricks Intro to Web Components](https://css-tricks.com/an-introduction-to-web-components/)
|
|
8
|
-
|
|
9
|
-
_**Note:** don't fret a deep understanding of the `<template>` and `document.importNode` usage. Many of these basics are abstracted away by LitElement, and a high-level understanding of vanilla Web Components is good enough to appreciate how LitElement improves developer experience._
|
|
10
|
-
|
|
11
|
-
<hr>
|
|
12
|
-
|
|
13
|
-
## Main Concepts (the short version)
|
|
14
|
-
#### 1. Extending the `HTMLElement` base class
|
|
15
|
-
Yep, you are basically just building on top of the native `HTMLElement` class and adding your own additions, like attributes and properties, methods, lifecycle control, HTML templates and CSS styles. In our library, we extend the `LitElement` class that provides more abstraction layers, but climb just a few steps up the prototype inheritance chain and you'll find `HTMLElement` right there providing the backbone.
|
|
16
|
-
#### 2. Registering a Custom Element
|
|
17
|
-
Once you have set up your new class with customizations, you must tell the browser to register your new component as a new HTML custom element. As a rule of the road, this must have at least one hyphen in it so `<my-custom-element>` is **good** but `<myelement>` is **bad**.
|
|
18
|
-
|
|
19
|
-
*To quote CSS Tricks:*
|
|
20
|
-
|
|
21
|
-
>Essentially, a custom element consists of two pieces: a tag name and a class that extends the built-in HTMLElement class. The most basic version of our custom element would look like this:
|
|
22
|
-
|
|
23
|
-
```javascript=
|
|
24
|
-
class MyCustomElement extends HTMLElement {
|
|
25
|
-
connectedCallback() { // lifecycle that follows the class constructor()
|
|
26
|
-
this.innerHTML = `<h1>Hello, World!</h1>`;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
customElements.define('my-custom-element', MyCustomElement);
|
|
31
|
-
```
|
|
32
|
-
#### 3. Shadow DOM
|
|
33
|
-
Your new custom element can be configured with its own `shadowRoot`, establishing a protected bubble of DOM called the ShadowDOM. This means that there is a impermeable boundary protecting private methods and properties from the outer DOM scope, and likewise protects the main DOM from ShadowDOM contents, like CSS styles that might otherwise invade the global namespace and unintentionally break styles.
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
Those are the "Big Three" ideas, each with their own tooling and best practices, but LitElement helps limit boilerplate and best practices used in the Momentum-UI library.
|
|
38
|
-
|
|
39
|
-
We will now go into more depth, using some examples to show handy aspects of LitElement, TypeScript, CSS Constructable Stylesheets, `part()` selectors, CSS Variables for theming, home-grown helper mixins, and more.
|
|
40
|
-
<br>
|
|
41
|
-
<br>
|
|
42
|
-
|
|
43
|
-
## Momentum-UI Web Components in Depth
|
|
44
|
-
|
|
45
|
-
1. TypeScript Decorators
|
|
46
|
-
2. Lifecycle Methods
|
|
47
|
-
3. ShadowDOM: Slotted Content
|
|
48
|
-
4. ShadowDOM: `::part()` Selector
|
|
49
|
-
5. ShadowDOM: CSS Variables / CSS Custom Properties
|
|
50
|
-
6. Constructable Stylesheets
|
|
51
|
-
7. Momentum-UI Mixins / Abstract Classes
|
|
52
|
-
8. CustomEvents
|
|
53
|
-
9. LitHTML, LitCSS
|
|
54
|
-
|
|
55
|
-
### TypeScript Decorators
|
|
56
|
-
LitELement with Typescript enables the use of decorators that abstract away much of the boilerplate operations that are necessary in vanilla web component development. Here are some common cases.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
#### `@property()`
|
|
60
|
-
The`@property()` decorator helps you establish a new property on your new component class. The properties you set here will be accessible as attributes on the new custom element (for primitive values) , or via `.property` notation if rich data is expected.
|
|
61
|
-
This decorator effectively takes care of all the getter and setter methods, and eliminates the need of a constructor (in most cases).
|
|
62
|
-
Explore the TS intellisense to see more control `@property()` offers, like setting an attribute name, or ensuring values are reflected.
|
|
63
|
-
|
|
64
|
-
##### Example
|
|
65
|
-
`@property({ type: String, attribute: "alt-text" }) altText : string = "default"`
|
|
66
|
-
|
|
67
|
-
#### `@internalProperty()`
|
|
68
|
-
The `@internalProperty()` decorator serves a similar function, but does not expose an attribute interface for users. It could be accessed as an element property unless marked as `private`. Properties initialized with this decorator are good for a component's internal logic
|
|
69
|
-
|
|
70
|
-
##### Example
|
|
71
|
-
`@internalProperty() loadingState : boolean = false`
|
|
72
|
-
|
|
73
|
-
**NOTE:** you _can_ declare ordinary properties right within the class without a decorator, however `@property()` and `@internalProperty()` are wired to LitElement's lifecycle functions, and make it easier to trigger re-renders when those properties are updated.
|
|
74
|
-
|
|
75
|
-
#### `@query()`
|
|
76
|
-
The `@query()` decorator is a convenient way to grab a reference to an element that is within your web component's shadow root.
|
|
77
|
-
|
|
78
|
-
##### Example
|
|
79
|
-
`@query('div.special-class') divRef : HTMLElement | undefined = undefined`
|
|
80
|
-
|
|
81
|
-
<hr>
|
|
82
|
-
|
|
83
|
-
### Lifecycle Methods
|
|
84
|
-
Vanilla JavaScript provides some elemental lifecycle methods, and LitElement provides even further assistance to ensure fine control over a web component's update and render cycle. We will give brief explanations of the most common ones here, but [read the docs for more details about their calling order and sample cases.](https://lit-element.polymer-project.org/guide/lifecycle)
|
|
85
|
-
|
|
86
|
-
**NOTE:** All lifecycle methods must call `super()` to function.
|
|
87
|
-
```javascript=
|
|
88
|
-
connectedCallback() {
|
|
89
|
-
super.connectedCallback()
|
|
90
|
-
|
|
91
|
-
console.log('connected')
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
#### `constructor()`
|
|
96
|
-
Although many of the constructor's main duties are taken care of by property setting decorators discussed above, there may sometimes be special cases when you need to execute logic before the component has parsed any attributes or properties passed into it.
|
|
97
|
-
#### `connectedCallback()`
|
|
98
|
-
This is invoked when a component is added to the document’s DOM. A n example use case is when you need to add event listeners when LitElement binding patterns won't do.
|
|
99
|
-
#### `disconnectedCallback()`
|
|
100
|
-
Invoked when a component is removed from the document’s DOM. A good time to remove event listeners, for example
|
|
101
|
-
#### `render()`
|
|
102
|
-
Renders the HTML template within the web component's shadow DOM. *This method is an exception to the 'must call `super()`' rule*
|
|
103
|
-
#### `firstUpdated()`
|
|
104
|
-
This is called after the element’s DOM has been updated the first time, immediately before `updated` is called.
|
|
105
|
-
#### `updated()`
|
|
106
|
-
Called when the element’s DOM has been updated and rendered. Implement to perform some task after an update.
|
|
107
|
-
|
|
108
|
-
[Read this to see the exact execution order LitElement enforces for the lifecycle methods.](https://lit-element.polymer-project.org/guide/lifecycle#reference)
|
|
109
|
-
|
|
110
|
-
<hr>
|
|
111
|
-
|
|
112
|
-
### ShadowDOM: Slotted Content
|
|
113
|
-
The ShadowDOM is by its basic nature closed off from the surrounding DOM, protecting its elements and namespaces and concealing the functionality, structure and styles within the custom element. But we need an easy way to handle child elements with sufficient control.
|
|
114
|
-
|
|
115
|
-
Using `<slot></slot>` elements within a web component's template provides a placeholder for any elements that appear in the Light DOM as children of our custom element.
|
|
116
|
-
|
|
117
|
-
#### Unnamed Slot Example
|
|
118
|
-
Say I have a card type element that has a specific structure, adds an image, etc . . . but I want it to be composable, allowing a developer to just pass their text in as a child (as opposed to say a `text` attribute that passes a string into a pre-defined element).
|
|
119
|
-
|
|
120
|
-
So let us assume the web component's HTML template is like this:
|
|
121
|
-
```htmlembedded=
|
|
122
|
-
<div class="wrapper">
|
|
123
|
-
<div class="upper-section">
|
|
124
|
-
<img src=${this.imgSrc}>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="text-section">
|
|
127
|
-
<slot></slot>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
```
|
|
131
|
-
And then when we use it, we know that the `<p>` content will render in the `<slot>` left for it.
|
|
132
|
-
```htmlembedded=
|
|
133
|
-
<custom-card-element img-src="https://www.some-site.com/sample.jpg">
|
|
134
|
-
<p>A bit of important text</p>
|
|
135
|
-
</custom-card-element>
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
#### Named Slot Example
|
|
139
|
-
But what if we have many places where we expect content insertion via child element? Consider this version:
|
|
140
|
-
```htmlembedded=
|
|
141
|
-
<div class="wrapper">
|
|
142
|
-
<div class="upper-section">
|
|
143
|
-
<img src=${this.imgSrc}>
|
|
144
|
-
</div>
|
|
145
|
-
<div class="text-section">
|
|
146
|
-
<slot name="text"></slot>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="card-footer">
|
|
149
|
-
<slot name="footer"></slot>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
```
|
|
153
|
-
With named slots, we add additional control as to where we can expect our children to render. Notice the connection of the slot's `name` attribute to the child element's `slot` attribute:
|
|
154
|
-
```htmlembedded=
|
|
155
|
-
<custom-card-element img-src="https://www.some-site.com/sample.jpg">
|
|
156
|
-
<p slot="text">A bit of important text</p>
|
|
157
|
-
<p slot="footer">
|
|
158
|
-
Copyright 2021 <a href="#">Learn More</a>
|
|
159
|
-
</p>
|
|
160
|
-
</custom-card-element>
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
**NOTE:** The key aspect of this discussion is about *composability* for the developers using your web components. Child/parent relationships are an intuitive and efficient way to write HTML, and many web components should feel like native HTML elements, rather than complex or cryptic APIs. Child content is not required for a web component to work, and there may be use cases where passing an attribute value is a better approach. Choose whatever creates the most natural developer experience.
|
|
164
|
-
|
|
165
|
-
See this in action in `md-floating-modal`
|
|
166
|
-
|
|
167
|
-
### ShadowDOM: `::part()` Selector
|
|
168
|
-
As mentioned before, the CSS within a web component's shadow DOM is protected from the outer namespace, and likewise will not pollute the surrounding DOM with its style declarations. This is very helpful for fine control of your component's display, but it also makes it hard to do style changes or overrides when the component is used in an application.
|
|
169
|
-
|
|
170
|
-
Let's take our card component again:
|
|
171
|
-
```htmlembedded=
|
|
172
|
-
<div class="wrapper">
|
|
173
|
-
<div class="upper-section">
|
|
174
|
-
<img src=${this.imgSrc}>
|
|
175
|
-
</div>
|
|
176
|
-
<div class="text-section">
|
|
177
|
-
<slot></slot>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
```
|
|
181
|
-
. . . and in usage:
|
|
182
|
-
```htmlembedded=
|
|
183
|
-
<custom-card-element img-src="https://www.some-site.com/sample.jpg">
|
|
184
|
-
<p>A bit of important text</p>
|
|
185
|
-
</custom-card-element>
|
|
186
|
-
```
|
|
187
|
-
When I use this component, I will get whatever styles come with it. But say I need to override the height of the text section to better fit my particular use. There are a handful of tricky ways to get try to access the component's shadowRoot and query `div.text-section`, but many are too verbose, or brittle, or un-reachable via the CSS we have on our application. `::part()` allows the most direct way to style elements that are in the shadow DOM.
|
|
188
|
-
|
|
189
|
-
You have to first declare the part name within the web component's template, like this: (the part name can be anything, just be sure it makes sense ;)
|
|
190
|
-
```htmlembedded=
|
|
191
|
-
<div class="wrapper">
|
|
192
|
-
<div class="upper-section">
|
|
193
|
-
<img src=${this.imgSrc}>
|
|
194
|
-
</div>
|
|
195
|
-
<div class="text-section" part="text-section">
|
|
196
|
-
<slot></slot>
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
199
|
-
```
|
|
200
|
-
Which allows my consuming application to style like so:
|
|
201
|
-
```css=
|
|
202
|
-
custom-card-element::part(text-section) {
|
|
203
|
-
height: 4rem;
|
|
204
|
-
}
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
See examples of this in action in `md-avatar`, `md-combobox`, `md-accoridan`, `md-tabs`, or just do a find-all in your IDE for `part="` and see more.
|
|
208
|
-
|
|
209
|
-
### ShadowDOM: CSS Variables / CSS Custom Properties
|
|
210
|
-
`::part()` is excellent for targeted overrides, but what if I want to make broad style changes, like a change-able theme? There is one other way to communicate some CSS through the shadowDOM boundary: CSS Custom Properties, AKA CSS Variables.
|
|
211
|
-
|
|
212
|
-
These are not styles per se, but with coordinating the variables used by our styles within the shadow DOM with the parent elements that set those variable values, we can successfully modify designs on the go.
|
|
213
|
-
|
|
214
|
-
This is the principle that powers the `<md-theme>` component and allows easy switching of light and dark modes in a shadow DOM world.
|
|
215
|
-
|
|
216
|
-
In a nutshell, the Momentum WC library executes token-generating scripting at build time that compiles down to a collection of different CSS Variable schemas, like `lmDark.scss` and `lmLight.scss`, for example. Each schema ultimately sets a style like this:
|
|
217
|
-
|
|
218
|
-
```css=
|
|
219
|
-
// LIGHT MODE SCHEMA from lmLight.scss
|
|
220
|
-
:root,
|
|
221
|
-
:host {
|
|
222
|
-
--md-primary-text-color: #121212;
|
|
223
|
-
--md-secondary-text-color: #545454;
|
|
224
|
-
}
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
```css=
|
|
228
|
-
// DARK MODE SCHEMA from lmDark.scss
|
|
229
|
-
:root,
|
|
230
|
-
:host {
|
|
231
|
-
--md-primary-text-color: #f7f7f7;
|
|
232
|
-
--md-secondary-text-color: #b2b2b2;
|
|
233
|
-
}
|
|
234
|
-
```
|
|
235
|
-
NOTICE: The `--` is syntax that means "here is a custom CSS property I am declaring, this is available in any location within the `:root/:host` where declared". Notice that they are the same. This means that down in the shadow DOM of my web component I can say:
|
|
236
|
-
```css=
|
|
237
|
-
.main-div {
|
|
238
|
-
color: var(--md-primary-text-color);
|
|
239
|
-
}
|
|
240
|
-
```
|
|
241
|
-
And I will receiver the hue that is currently set to that property in the higher scope!
|
|
242
|
-
|
|
243
|
-
`<md-theme>` works by swapping out the CSS file that is loaded, changing the CSS custom property values that are declared, but keeping the property values unchanged.
|
|
244
|
-
|
|
245
|
-
### Constructable Stylesheets
|
|
246
|
-
**Brief:** By using Webpack to load the SMACSS based style system and LitElement's `static get styles()` method, Styles are added to the CSS Object Module only once and adopted for each component instance, saving the browser from repeating and styles in the resulting DOM and improving performance. Chrome and Edge fully supported, Firefox and Safari polyfilled.
|
|
247
|
-
### Momentum-UI Mixins / Abstract Classes
|
|
248
|
-
**Brief:** Utility components like `FocusTrap` are abstract classes that can be used as the extension basis of a new component. They can provide a set of methods and properties for common component scenarios, like Focus Trapping, De Duping, Roving Tab Index, and more.
|
|
249
|
-
### CustomEvents
|
|
250
|
-
**Brief:** Creating Custom Events in a LitElement component is easy, and can be a helpful tool for making complex components or micro front ends that need to have finer control of binding data up the DOM tree through ShadowDOM. Be aware of caveats in React when a custom event is expected to be publicly visible.
|
|
251
|
-
### LitHTML, LitCSS
|
|
252
|
-
**Brief:** LitElement makes full leverage of template strings to make writing HTML templates for shadow DOM rendering super simple and native. LitHTML is ideal for writing true native HTML with interpolation using `${someVariable}`. Likewise, litCSS provides the same specifically for native composed CSS.
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
THIS IS A LIVING DOCUMENT . . . if you have any feedback, requests for further information, or corrections please feel free to create an Issue ticket, or send an email to kehyde@cisco.com
|
package/babel.config.js
DELETED
package/codecov.yml
DELETED
package/jest/cssTransform.js
DELETED
package/jest/imgTransform.js
DELETED
package/jest/svgTransform.js
DELETED
package/jest.config.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
module.exports = {
|
|
3
|
-
testEnvironment: "jsdom",
|
|
4
|
-
collectCoverage: true,
|
|
5
|
-
coverageProvider: "v8",
|
|
6
|
-
transform: {
|
|
7
|
-
"^.+\\.ts$": "ts-jest",
|
|
8
|
-
"^.+\\.js$": "babel-jest",
|
|
9
|
-
"\\.(png|jpg|jpeg)$": "<rootDir>/jest/imgTransform.js",
|
|
10
|
-
"\\.svg$": "<rootDir>/jest/svgTransform.js",
|
|
11
|
-
"\\.(scss)$": "<rootDir>/jest/cssTransform.js"
|
|
12
|
-
},
|
|
13
|
-
testRegex: "^.+\\.test\\.ts$",
|
|
14
|
-
testPathIgnorePatterns: ["/node_modules/", "/build/", "/dist/", "/publish/", "/coverage/", "/stats", "/src/components/sass-stats/"],
|
|
15
|
-
transformIgnorePatterns: ["/node_modules/?!(@open-wc).+js$"],
|
|
16
|
-
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
17
|
-
moduleNameMapper: {
|
|
18
|
-
"^@/(.*)$": "<rootDir>/src/$1",
|
|
19
|
-
"^@css/(.*)$": "<rootDir>/src/assets/styles/$1",
|
|
20
|
-
"^@img/(.*)$": "<rootDir>/src/assets/images/$1"
|
|
21
|
-
},
|
|
22
|
-
globals: {
|
|
23
|
-
"ts-jest": {
|
|
24
|
-
diagnostics: false,
|
|
25
|
-
tsConfig: {
|
|
26
|
-
target: "ES2016",
|
|
27
|
-
module: "esnext",
|
|
28
|
-
moduleResolution: "node",
|
|
29
|
-
allowJs: true,
|
|
30
|
-
strict: true,
|
|
31
|
-
esModuleInterop: true,
|
|
32
|
-
experimentalDecorators: true,
|
|
33
|
-
resolveJsonModule: true
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
package/publish-conf.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
-
/* eslint-disable no-undef */
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const fse = require("fs-extra");
|
|
5
|
-
const path = require("path");
|
|
6
|
-
const spawnSync = require("child_process").spawnSync;
|
|
7
|
-
|
|
8
|
-
const filePkg = fs.readFileSync(path.resolve("./package.json"));
|
|
9
|
-
const p = JSON.parse(filePkg.toString());
|
|
10
|
-
|
|
11
|
-
module.exports.notify = function () {
|
|
12
|
-
const email = spawn(`npm config get email`).result.trim();
|
|
13
|
-
const markdown = `**${p.name} - ${p.version}** by ${email} at https://www.npmjs.com/package/@momentum-ui/web-components`;
|
|
14
|
-
const curl = `curl -X POST -H "Content-Type: application/json" -d '{"markdown" : "${markdown}"}' "https://webexapis.com/v1/webhooks/incoming/Y2lzY29zcGFyazovL3VzL1dFQkhPT0svMDc3ZjBlNTMtZjhlNC00NDM2LTk2MzYtNGVmYzk3NmRkNjNj"`;
|
|
15
|
-
//spawn(curl);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function spawn(cmd) {
|
|
19
|
-
const exec = spawnSync(cmd, { shell: true });
|
|
20
|
-
const isError = exec.status != 0;
|
|
21
|
-
return {
|
|
22
|
-
isError,
|
|
23
|
-
result: isError ? exec.stderr.toString() : exec.stdout.toString()
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
module.exports.createPackageJson = function () {
|
|
28
|
-
const pkg = {
|
|
29
|
-
name: p.name,
|
|
30
|
-
version: p.version,
|
|
31
|
-
description: p.description,
|
|
32
|
-
author: p.author,
|
|
33
|
-
license: p.license,
|
|
34
|
-
repository: p.repository,
|
|
35
|
-
main: p.main,
|
|
36
|
-
types: p.types,
|
|
37
|
-
exports: p.exports,
|
|
38
|
-
dependencies: p.dependencies,
|
|
39
|
-
peerDependencies: p.peerDependencies,
|
|
40
|
-
publishConfig: {
|
|
41
|
-
registry: `https://registry.npmjs.org`
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const publishDir = path.resolve("./publish");
|
|
46
|
-
|
|
47
|
-
if (!fse.existsSync(publishDir)) {
|
|
48
|
-
fse.mkdirSync(publishDir);
|
|
49
|
-
} else {
|
|
50
|
-
fse.removeSync(publishDir);
|
|
51
|
-
fse.mkdirSync(publishDir);
|
|
52
|
-
}
|
|
53
|
-
const publishDistDir = path.resolve("./publish/dist");
|
|
54
|
-
|
|
55
|
-
if (!fse.existsSync(publishDistDir)) {
|
|
56
|
-
fse.mkdirSync(`./publish/dist`);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const dist = path.resolve("./dist");
|
|
60
|
-
const pPublishDist = path.resolve(`./publish/dist`);
|
|
61
|
-
//fse.removeSync(publishDir);
|
|
62
|
-
fse.ensureDirSync(pPublishDist);
|
|
63
|
-
fse.copySync(dist, pPublishDist);
|
|
64
|
-
const data = JSON.stringify(pkg, null, 2);
|
|
65
|
-
fs.writeFileSync(path.resolve(`./publish/package.json`), data);
|
|
66
|
-
};
|