@momentum-ui/web-components 2.10.11 → 2.10.13

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.
Files changed (46) hide show
  1. package/dist/chunks/md-1.js +1 -1
  2. package/dist/chunks/md-10.js +1 -1
  3. package/dist/chunks/md-13.js +1 -1
  4. package/dist/chunks/md-15.js +3 -3
  5. package/dist/chunks/md-16.js +1 -1
  6. package/dist/chunks/md-19.js +1 -1
  7. package/dist/chunks/md-20.js +1 -1
  8. package/dist/chunks/md-24.js +1 -1
  9. package/dist/chunks/md-27.js +1 -1
  10. package/dist/chunks/md-29.js +1 -1
  11. package/dist/chunks/md-30.js +1 -1
  12. package/dist/chunks/md-31.js +1 -1
  13. package/dist/chunks/md-34.js +1 -1
  14. package/dist/chunks/md-35.js +2 -2
  15. package/dist/chunks/md-37.js +1 -1
  16. package/dist/chunks/md-39.js +1 -1
  17. package/dist/chunks/md-41.js +1 -1
  18. package/dist/chunks/md-42.js +1 -1
  19. package/dist/chunks/md-47.js +1 -1
  20. package/dist/chunks/md-48.js +1 -1
  21. package/dist/chunks/md-49.js +1 -1
  22. package/dist/chunks/md-51.js +1 -1
  23. package/dist/chunks/md-52.js +1 -1
  24. package/dist/chunks/md-53.js +1 -1
  25. package/dist/chunks/md-56.js +1 -1
  26. package/dist/chunks/md-57.js +1 -1
  27. package/dist/chunks/md-6.js +1 -1
  28. package/dist/chunks/md-63.js +1 -1
  29. package/dist/chunks/md-64.js +2 -2
  30. package/dist/chunks/md-68.js +1 -1
  31. package/dist/chunks/md-7.js +2 -2
  32. package/dist/chunks/md-71.js +1 -1
  33. package/dist/chunks/md-72.js +1 -1
  34. package/dist/chunks/md-73.js +1 -1
  35. package/dist/chunks/md-76.js +4 -4
  36. package/dist/chunks/md-78.js +1 -1
  37. package/dist/chunks/md-79.js +1 -1
  38. package/dist/chunks/md-81.js +1 -1
  39. package/dist/chunks/md-82.js +2 -2
  40. package/dist/chunks/md-84.js +1 -1
  41. package/dist/index-entry.js +1 -1
  42. package/dist/index.js +1 -1
  43. package/dist/types/components/combobox/ComboBox.d.ts +1 -1
  44. package/dist/types/components/timepicker/TimePicker.d.ts +1 -1
  45. package/dist/types/index.d.ts +1 -1
  46. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[84],{125:function(t,e,l){"use strict";l.r(e),l.d(e,"alignLabel",(function(){return h})),l.d(e,"ToggleSwitch",(function(){return r}));l(51);var i=l(7),g=l(5),o=l(6),c=l(0),_=l(4),d=c.css`.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color,#949494)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color,#fff)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--hover,#b2b2b2)}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid var(--md-focus-border-color,#005e7d)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked,#007aa3)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color--checked,var(--toggle-switch-slider-color,#fff))}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-hover,#005e7d)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled,#ededed)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled,#f7f7f7)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled,#ededed)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked,#c9f4ff)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled--checked,#fff)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked,#c9f4ff)}.md-toggle-switch__input{margin-left:-9999px;opacity:0;position:absolute}.md-toggle-switch__input.disabled+.md-toggle-switch__label,.md-toggle-switch__input:disabled+.md-toggle-switch__label{cursor:default}.md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{cursor:default}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{left:calc(100% - 2px);transform:translateX(-100%)}.md-toggle-switch__accessible-description{display:none}.md-toggle-switch__label{cursor:pointer;display:inline-flex;line-height:1.5rem}.md-toggle-switch__label__container{background-clip:padding-box;border:none;border-radius:24px;cursor:pointer;display:block;height:24px;margin-right:.75rem;position:relative;transition:background 350ms;width:2.5rem}.md-toggle-switch__label__container__left{margin-right:0;margin-left:.75rem}@media screen and (-ms-high-contrast:active){.md-toggle-switch__label__container{filter:brightness(1) contrast(1) saturate(1.5)}}.md-toggle-switch__label__container::after{border-radius:100%;bottom:2px;box-shadow:0 1px 2px 0 rgba(0,0,0,.32);content:"";height:1.25rem;left:2px;position:absolute;top:2px;transition:350ms;width:1.25rem}.md-toggle-switch--small .md-toggle-switch__label__container{height:1.375rem;width:2.25rem}.md-toggle-switch--small .md-toggle-switch__label__container::after{height:1.125rem;width:1.125rem}.md-toggle-switch--smaller .md-toggle-switch__label__container{height:1.25rem;width:2rem}.md-toggle-switch--smaller .md-toggle-switch__label__container::after{height:1rem;width:1rem}@media (forced-colors:active){.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:Canvas;outline:1px solid CanvasText;transition:background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;transition:background-color 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText;transition:background 350ms,background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Canvas}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;border:1px solid Canvas}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}}`,s=l(2),a=function(t,e,l,i){var g,o=arguments.length,c=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,l):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,l,i);else for(var _=t.length-1;_>=0;_--)(g=t[_])&&(c=(o<3?g(c):o>3?g(e,l,c):g(e,l))||c);return o>3&&c&&Object.defineProperty(e,l,c),c};const h=["left","right"];var r;!function(t){let e=class extends(Object(i.a)(c.LitElement)){constructor(){super(...arguments),this.htmlId="",this.label="toggle",this.description=void 0,this.checked=!1,this.disabled=!1,this.small=!1,this.smaller=!1,this.alignLabel="right",this.autofocus=!1}handleClick(){this.disabled||(this.checked=!this.checked)}get toggleSwitchClassMap(){return{"md-toggle-switch--small":this.small,"md-toggle-switch--smaller":this.smaller}}switchTemplate(){return"left"===this.alignLabel?c.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[84],{125:function(t,e,l){"use strict";l.r(e),l.d(e,"alignLabel",(function(){return h})),l.d(e,"ToggleSwitch",(function(){return r}));l(51);var i=l(7),g=l(5),o=l(6),c=l(0),_=l(4),d=c.css`.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color,#949494)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color,#fff)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--hover,#b2b2b2)}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid var(--md-focus-border-color,#005e7d)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked,#007aa3)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color--checked,var(--toggle-switch-slider-color,#fff))}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-hover,#005e7d)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled,#ededed)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled,#f7f7f7)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled,#ededed)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked,#c9f4ff)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled--checked,#fff)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked,#c9f4ff)}.md-toggle-switch__input{margin-left:-9999px;opacity:0;position:absolute}.md-toggle-switch__input.disabled+.md-toggle-switch__label,.md-toggle-switch__input:disabled+.md-toggle-switch__label{cursor:default}.md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{cursor:default}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{border:none}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{left:calc(100% - 2px);transform:translateX(-100%) translateY(-50%)}.md-toggle-switch__accessible-description{display:none}.md-toggle-switch__label{cursor:pointer;display:inline-flex;line-height:1.5rem}.md-toggle-switch__label__container{background-clip:padding-box;border:1px solid var(--toggle-switch-border-color);border-radius:24px;cursor:pointer;display:block;height:24px;margin-right:.75rem;position:relative;transition:background 350ms;width:2.5rem}.md-toggle-switch__label__container__left{margin-right:0;margin-left:.75rem}@media screen and (-ms-high-contrast:active){.md-toggle-switch__label__container{filter:brightness(1) contrast(1) saturate(1.5)}}.md-toggle-switch__label__container::after{border-radius:100%;box-shadow:0 1px 2px 0 rgba(0,0,0,.32);content:"";height:1.25rem;left:2px;position:absolute;top:50%;transform:translateY(-50%);transition:350ms;width:1.25rem}.md-toggle-switch--small .md-toggle-switch__label__container{height:1.375rem;width:2.25rem}.md-toggle-switch--small .md-toggle-switch__label__container::after{height:1.125rem;width:1.125rem}.md-toggle-switch--smaller .md-toggle-switch__label__container{height:1.25rem;width:2rem}.md-toggle-switch--smaller .md-toggle-switch__label__container::after{height:1rem;width:1rem}@media(forced-colors:active){.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:Canvas;outline:1px solid CanvasText;transition:background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;transition:background-color 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText;transition:background 350ms,background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Canvas}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;border:1px solid Canvas}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}}`,s=l(2),a=function(t,e,l,i){var g,o=arguments.length,c=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,l):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,l,i);else for(var _=t.length-1;_>=0;_--)(g=t[_])&&(c=(o<3?g(c):o>3?g(e,l,c):g(e,l))||c);return o>3&&c&&Object.defineProperty(e,l,c),c};const h=["left","right"];var r;!function(t){let e=class extends(Object(i.a)(c.LitElement)){constructor(){super(...arguments),this.htmlId="",this.label="toggle",this.description=void 0,this.checked=!1,this.disabled=!1,this.small=!1,this.smaller=!1,this.alignLabel="right",this.autofocus=!1}handleClick(){this.disabled||(this.checked=!this.checked)}get toggleSwitchClassMap(){return{"md-toggle-switch--small":this.small,"md-toggle-switch--smaller":this.smaller}}switchTemplate(){return"left"===this.alignLabel?c.html`
2
2
  <slot></slot>
3
3
  <span class="md-toggle-switch__label__container md-toggle-switch__label__container__left" part="toggle-label"></span>
4
4
  `:c.html`
@@ -1,4 +1,4 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("luxon"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@interactjs/interact/index"),require("@popperjs/core/lib/popper-lite"),require("nanoid"),require("highlight.js/lib/core"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("sortablejs"),require("papaparse"),require("lit-html/directives/repeat.js"),require("@popperjs/core/lib"),require("lit-html/directives/until.js"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/modifiers"),require("lit-virtualizer"),require("libphonenumber-js"),require("lit-html/directives/unsafe-html"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/template-content"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/if-defined","lit-html","lit-html/directives/class-map","lit-html/directives/style-map","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","luxon","lit-html/directives/class-map.js","lit-html/directives/repeat","@interactjs/interact/index","@popperjs/core/lib/popper-lite","nanoid","highlight.js/lib/core","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","sortablejs","papaparse","lit-html/directives/repeat.js","@popperjs/core/lib","lit-html/directives/until.js","dompurify","@interactjs/actions/drag","@interactjs/actions/resize","@interactjs/auto-start","@interactjs/modifiers","lit-virtualizer","libphonenumber-js","lit-html/directives/unsafe-html","country-codes-list","country-flags-svg","lit-html/directives/template-content"],t);else{var o="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("luxon"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@interactjs/interact/index"),require("@popperjs/core/lib/popper-lite"),require("nanoid"),require("highlight.js/lib/core"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("sortablejs"),require("papaparse"),require("lit-html/directives/repeat.js"),require("@popperjs/core/lib"),require("lit-html/directives/until.js"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/modifiers"),require("lit-virtualizer"),require("libphonenumber-js"),require("lit-html/directives/unsafe-html"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/template-content")):t(e["lit-element"],e["lit-html/directives/if-defined"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.luxon,e["lit-html/directives/class-map.js"],e["lit-html/directives/repeat"],e["@interactjs/interact/index"],e["@popperjs/core/lib/popper-lite"],e.nanoid,e["highlight.js/lib/core"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e.sortablejs,e.papaparse,e["lit-html/directives/repeat.js"],e["@popperjs/core/lib"],e["lit-html/directives/until.js"],e.dompurify,e["@interactjs/actions/drag"],e["@interactjs/actions/resize"],e["@interactjs/auto-start"],e["@interactjs/modifiers"],e["lit-virtualizer"],e["libphonenumber-js"],e["lit-html/directives/unsafe-html"],e["country-codes-list"],e["country-flags-svg"],e["lit-html/directives/template-content"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(window,(function(e,t,o,r,i,n,c,d,s,l,a,u,p,m,h,f,g,b,j,y,v,x,q,k,w,T,C,P,O,L,A,B,M,D){return function(e){function t(t){for(var r,c,d=t[0],s=t[1],l=t[2],u=0,p=[];u<d.length;u++)c=d[u],Object.prototype.hasOwnProperty.call(i,c)&&i[c]&&p.push(i[c][0]),i[c]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(a&&a(t);p.length;)p.shift()();return n.push.apply(n,l||[]),o()}function o(){for(var e,t=0;t<n.length;t++){for(var o=n[t],r=!0,d=1;d<o.length;d++){var s=o[d];0!==i[s]&&(r=!1)}r&&(n.splice(t--,1),e=c(c.s=o[0]))}return e}var r={},i={341:0,276:0,277:0,278:0,279:0,280:0,281:0,282:0,283:0,284:0,285:0,286:0,287:0,288:0,289:0,290:0,291:0,292:0,293:0,294:0,295:0,296:0,297:0,298:0,299:0,300:0,301:0,302:0,303:0,304:0,305:0,306:0,307:0,308:0,309:0,310:0,311:0,312:0,313:0,314:0,315:0,316:0,317:0,318:0,319:0,320:0,321:0,322:0,323:0,324:0,325:0,326:0,327:0,328:0,329:0,330:0,331:0,332:0,333:0,334:0,335:0,336:0,337:0,338:0,339:0,340:0},n=[];function c(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.e=function(e){var t=[],o=i[e];if(0!==o)if(o)t.push(o[2]);else{var r=new Promise((function(t,r){o=i[e]=[t,r]}));t.push(o[2]=r);var n,d=document.createElement("script");d.charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.src=function(e){return c.p+"chunks/md-"+e+".js"}(e);var s=new Error;n=function(t){d.onerror=d.onload=null,clearTimeout(l);var o=i[e];if(0!==o){if(o){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+n+")",s.name="ChunkLoadError",s.type=r,s.request=n,o[1](s)}i[e]=void 0}};var l=setTimeout((function(){n({type:"timeout",target:d})}),12e4);d.onerror=d.onload=n,document.head.appendChild(d)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(o,r,function(t){return e[t]}.bind(null,r));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var d=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],s=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var a=s;return n.push([319,28,0,1,2,3,4,5,6,7,8,9,10,11,13,12,14,15,16,17,18,19,20,21,22,23,26,27,25,24,37,38,40,30,36,32,43,35,31,41,42,34,33,29,39,82,80,78,71,56,63,49,83,57,65,81,84,64,73,69,76,79,72,60,51,52,70,61,66,48,68,44,75,54,45,67,47,59,74,50,55,53,46,62,77,58]),o()}({0:function(t,o){t.exports=e},10:function(e,t){e.exports=n},11:function(e,t){e.exports=c},12:function(e,t){e.exports=d},13:function(e,t){e.exports=s},14:function(e,t){e.exports=l},2:function(e,o){e.exports=t},20:function(e,t){e.exports=a},21:function(e,t){e.exports=u},22:function(e,t){e.exports=p},23:function(e,t){e.exports=m},25:function(e,t){e.exports=h},26:function(e,t){e.exports=f},27:function(e,t){e.exports=g},28:function(e,t){e.exports=b},3:function(e,t){e.exports=o},30:function(e,t){e.exports=j},31:function(e,t){e.exports=y},319:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return i.Accordion})),o.d(t,"AccordionItem",(function(){return n.AccordionItem})),o.d(t,"ActivityButton",(function(){return c.ActivityButton})),o.d(t,"AlertBanner",(function(){return d.AlertBanner})),o.d(t,"Alert",(function(){return s.Alert})),o.d(t,"AudioPlayer",(function(){return l.AudioPlayer})),o.d(t,"Avatar",(function(){return a.Avatar})),o.d(t,"CompositeAvatar",(function(){return u.CompositeAvatar})),o.d(t,"Badge",(function(){return p.Badge})),o.d(t,"Breadcrumb",(function(){return m.Breadcrumb})),o.d(t,"ButtonGroup",(function(){return h.ButtonGroup})),o.d(t,"Button",(function(){return f.Button})),o.d(t,"Card",(function(){return g.Card})),o.d(t,"ChatMessage",(function(){return b.ChatMessage})),o.d(t,"Checkbox",(function(){return j.Checkbox})),o.d(t,"CheckboxGroup",(function(){return y.CheckboxGroup})),o.d(t,"Chip",(function(){return v.Chip})),o.d(t,"Coachmark",(function(){return x.Coachmark})),o.d(t,"CodeEditor",(function(){return r})),o.d(t,"ComboBox",(function(){return A.ComboBox})),o.d(t,"DateRangePicker",(function(){return B.DateRangePicker})),o.d(t,"DateTimePicker",(function(){return M.DateTimePicker})),o.d(t,"DatePicker",(function(){return D.DatePicker})),o.d(t,"DatePickerCalendar",(function(){return I.DatePickerCalendar})),o.d(t,"DatePickerDay",(function(){return S.DatePickerDay})),o.d(t,"DatePickerMonth",(function(){return z.DatePickerMonth})),o.d(t,"DatePickerWeek",(function(){return U.DatePickerWeek})),o.d(t,"Draggable",(function(){return N.Draggable})),o.d(t,"DraggableItem",(function(){return R.DraggableItem})),o.d(t,"Dropdown",(function(){return E.Dropdown})),o.d(t,"EditableTextfield",(function(){return F.EditableTextfield})),o.d(t,"Favorite",(function(){return _.Favorite})),o.d(t,"FloatingModal",(function(){return $.FloatingModal})),o.d(t,"FloatingMinimizedModal",(function(){return G.FloatingMinimizedModal})),o.d(t,"Form",(function(){return V.Form})),o.d(t,"HelpText",(function(){return H.HelpText})),o.d(t,"Icon",(function(){return W.Icon})),o.d(t,"InputFile",(function(){return J.InputFile})),o.d(t,"Input",(function(){return K.Input})),o.d(t,"Label",(function(){return Q.Label})),o.d(t,"Link",(function(){return X.Link})),o.d(t,"List",(function(){return Y.List})),o.d(t,"ListItem",(function(){return Z.ListItem})),o.d(t,"Loading",(function(){return ee.Loading})),o.d(t,"MeetingAlert",(function(){return te.MeetingAlert})),o.d(t,"MenuOverlay",(function(){return oe.MenuOverlay})),o.d(t,"Menu",(function(){return re.Menu})),o.d(t,"MenuItem",(function(){return ie.MenuItem})),o.d(t,"Modal",(function(){return ne.Modal})),o.d(t,"Pagination",(function(){return ce.Pagination})),o.d(t,"PhoneInput",(function(){return de.PhoneInput})),o.d(t,"ProgressBar",(function(){return se.ProgressBar})),o.d(t,"Radio",(function(){return le.Radio})),o.d(t,"RadioGroup",(function(){return ae.RadioGroup})),o.d(t,"Slider",(function(){return ue.Slider})),o.d(t,"Spinner",(function(){return pe.Spinner})),o.d(t,"Table",(function(){return me.Table})),o.d(t,"TableAdvanced",(function(){return he.TableAdvanced})),o.d(t,"Tab",(function(){return fe.Tab})),o.d(t,"TabPanel",(function(){return ge.TabPanel})),o.d(t,"Tabs",(function(){return be.Tabs})),o.d(t,"TaskItem",(function(){return je.TaskItem})),o.d(t,"Theme",(function(){return ye.Theme})),o.d(t,"TimePicker",(function(){return ve.TimePicker})),o.d(t,"ToggleSwitch",(function(){return xe.ToggleSwitch})),o.d(t,"Tooltip",(function(){return qe.Tooltip}));var r,i=o(83),n=o(84),c=o(85),d=o(104),s=o(105),l=o(106),a=o(43),u=o(86),p=o(49),m=o(107),h=o(108),f=o(17),g=o(109),b=o(110),j=o(87),y=o(88),v=o(111),x=o(112),q=o(7),k=o(5),w=o(23),T=o.n(w),C=o(0),P=C.css`:host(md-code-editor) .md-code-editor{background:#091e26;border-radius:.25rem;color:#fff;min-height:18.75rem;overflow:hidden}:host(md-code-editor) .md-code-editor-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;background:#092d3b;flex:0 0 auto;font-size:14px;padding:.625rem}:host(md-code-editor) .md-code-editor-name{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center}:host(md-code-editor) .md-code-editor md-badge::part(badge){border-radius:.25rem;height:1.25rem;margin-right:.625rem;padding:.25rem .375rem;text-transform:capitalize}:host(md-code-editor) .md-code-editor-copy{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;line-height:1}:host(md-code-editor) .md-code-editor-copy-btn::part(button){background:0 0;color:#00a0d1;margin-left:.625rem}:host(md-code-editor) .md-code-editor-copy-btn[disabled]{cursor:not-allowed;opacity:.5}:host(md-code-editor) .hljs-comment,:host(md-code-editor) .hljs-quote{color:#ffecc2}:host(md-code-editor) .hljs-deletion,:host(md-code-editor) .hljs-name,:host(md-code-editor) .hljs-regexp,:host(md-code-editor) .hljs-selector-class,:host(md-code-editor) .hljs-selector-id,:host(md-code-editor) .hljs-tag,:host(md-code-editor) .hljs-template-variable,:host(md-code-editor) .hljs-variable{color:#ff9d52}:host(md-code-editor) .hljs-built_in,:host(md-code-editor) .hljs-builtin-name,:host(md-code-editor) .hljs-link,:host(md-code-editor) .hljs-literal,:host(md-code-editor) .hljs-meta,:host(md-code-editor) .hljs-number,:host(md-code-editor) .hljs-params,:host(md-code-editor) .hljs-type{color:#fc9d03}:host(md-code-editor) .hljs-attribute{color:#ebd460}:host(md-code-editor) .hljs-addition,:host(md-code-editor) .hljs-bullet,:host(md-code-editor) .hljs-string,:host(md-code-editor) .hljs-symbol{color:#93c437}:host(md-code-editor) .hljs-section,:host(md-code-editor) .hljs-title{color:#22c7d6}:host(md-code-editor) .hljs-keyword,:host(md-code-editor) .hljs-selector-tag{color:#f0e3fc}:host(md-code-editor) .hljs{background:0 0;color:#dedede;display:block;overflow-x:auto;padding:.5em}:host(md-code-editor) .hljs-emphasis{font-style:italic}:host(md-code-editor) .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){:host(md-code-editor) .hljs-addition,:host(md-code-editor) .hljs-attribute,:host(md-code-editor) .hljs-built_in,:host(md-code-editor) .hljs-builtin-name,:host(md-code-editor) .hljs-bullet,:host(md-code-editor) .hljs-comment,:host(md-code-editor) .hljs-link,:host(md-code-editor) .hljs-literal,:host(md-code-editor) .hljs-meta,:host(md-code-editor) .hljs-number,:host(md-code-editor) .hljs-params,:host(md-code-editor) .hljs-quote,:host(md-code-editor) .hljs-string,:host(md-code-editor) .hljs-symbol,:host(md-code-editor) .hljs-type{color:highlight}:host(md-code-editor) .hljs-keyword,:host(md-code-editor) .hljs-selector-tag{font-weight:700}}@media (forced-colors:active){:host(md-code-editor) .md-code-editor{outline:1px solid CanvasText}:host(md-code-editor) .md-code-editor-header{outline:1px solid CanvasText}}`,O=function(e,t,o,r){var i,n=arguments.length,c=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,r);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(c=(n<3?i(c):n>3?i(t,o,c):i(t,o))||c);return n>3&&c&&Object.defineProperty(t,o,c),c},L=function(e,t,o,r){return new(o||(o=Promise))((function(i,n){function c(e){try{s(r.next(e))}catch(e){n(e)}}function d(e){try{s(r.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(c,d)}s((r=r.apply(e,t||[])).next())}))};!function(e){let t=class extends C.LitElement{constructor(){super(...arguments),this.copyLocalization="cURL",this.copiedLocalization="Copied",this.method="get",this.acceptLanguage="javascript",this.url="javascript",this.disableCopyButton=!0,this.acceptTypes="",this.copied=!1}static get styles(){return[k.a,P]}handleSlotChange(){if(this.slotNodes&&this.slotNodes.length){const e=this.slotNodes.find(e=>"CODE"===e.tagName);if(e){const t=e.textContent;t&&this.highlightBlock(t)}}}handleUrlSlotChange(){if(this.copied=!1,this.slotUrl&&this.slotUrl.length){const e=this.slotUrl.find(e=>e);if(e){const t=e.textContent;t&&this.copyUrl(t)}}}highlightBlock(e){e&&(this.codeBlock.innerText=e),T.a.highlightBlock(this.codeBlock)}copyUrl(e){this.codeUrl.innerText=e,this.disableCopyButton=!1}copyClipboard(){this.disableCopyButton||(this.codeUrl.innerText,this.selectTarget(this.codeUrl))}copyText(){try{document.execCommand("copy"),this.copied=!0}catch(e){console.warn("Copy text failed"),this.copied=!1}}select(e){const t=window.getSelection(),o=document.createRange();o.selectNodeContents(e),t&&(t.removeAllRanges(),t.addRange(o))}selectTarget(e){this.select(e),this.copyText()}importLanguage(e){return L(this,void 0,void 0,(function*(){try{const{default:t}=yield o(89)("./"+e);T.a.registerLanguage(""+e,t),this.setAcceptTypes()}catch(e){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const e=T.a.listLanguages();return e.length?e.map(e=>T.a.getLanguage(""+e).aliases).map(e=>e.map(e=>"."+e)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(e){super.updated(e),e.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage),e.has("acceptTypes")&&this.highlightBlock()}render(){return C.html`
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("luxon"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@interactjs/interact/index"),require("@popperjs/core/lib/popper-lite"),require("nanoid"),require("highlight.js/lib/core"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("sortablejs"),require("papaparse"),require("lit-html/directives/repeat.js"),require("@popperjs/core/lib"),require("lit-html/directives/until.js"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/modifiers"),require("lit-virtualizer"),require("libphonenumber-js"),require("lit-html/directives/unsafe-html"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/template-content"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/if-defined","lit-html","lit-html/directives/class-map","lit-html/directives/style-map","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","luxon","lit-html/directives/class-map.js","lit-html/directives/repeat","@interactjs/interact/index","@popperjs/core/lib/popper-lite","nanoid","highlight.js/lib/core","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","sortablejs","papaparse","lit-html/directives/repeat.js","@popperjs/core/lib","lit-html/directives/until.js","dompurify","@interactjs/actions/drag","@interactjs/actions/resize","@interactjs/auto-start","@interactjs/modifiers","lit-virtualizer","libphonenumber-js","lit-html/directives/unsafe-html","country-codes-list","country-flags-svg","lit-html/directives/template-content"],t);else{var o="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("luxon"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@interactjs/interact/index"),require("@popperjs/core/lib/popper-lite"),require("nanoid"),require("highlight.js/lib/core"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("sortablejs"),require("papaparse"),require("lit-html/directives/repeat.js"),require("@popperjs/core/lib"),require("lit-html/directives/until.js"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/modifiers"),require("lit-virtualizer"),require("libphonenumber-js"),require("lit-html/directives/unsafe-html"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/template-content")):t(e["lit-element"],e["lit-html/directives/if-defined"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.luxon,e["lit-html/directives/class-map.js"],e["lit-html/directives/repeat"],e["@interactjs/interact/index"],e["@popperjs/core/lib/popper-lite"],e.nanoid,e["highlight.js/lib/core"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e.sortablejs,e.papaparse,e["lit-html/directives/repeat.js"],e["@popperjs/core/lib"],e["lit-html/directives/until.js"],e.dompurify,e["@interactjs/actions/drag"],e["@interactjs/actions/resize"],e["@interactjs/auto-start"],e["@interactjs/modifiers"],e["lit-virtualizer"],e["libphonenumber-js"],e["lit-html/directives/unsafe-html"],e["country-codes-list"],e["country-flags-svg"],e["lit-html/directives/template-content"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(window,(function(e,t,o,r,i,n,c,d,s,l,a,u,p,m,h,f,g,b,j,y,v,x,q,k,w,T,C,P,O,L,A,B,M,D){return function(e){function t(t){for(var r,c,d=t[0],s=t[1],l=t[2],u=0,p=[];u<d.length;u++)c=d[u],Object.prototype.hasOwnProperty.call(i,c)&&i[c]&&p.push(i[c][0]),i[c]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(a&&a(t);p.length;)p.shift()();return n.push.apply(n,l||[]),o()}function o(){for(var e,t=0;t<n.length;t++){for(var o=n[t],r=!0,d=1;d<o.length;d++){var s=o[d];0!==i[s]&&(r=!1)}r&&(n.splice(t--,1),e=c(c.s=o[0]))}return e}var r={},i={341:0,276:0,277:0,278:0,279:0,280:0,281:0,282:0,283:0,284:0,285:0,286:0,287:0,288:0,289:0,290:0,291:0,292:0,293:0,294:0,295:0,296:0,297:0,298:0,299:0,300:0,301:0,302:0,303:0,304:0,305:0,306:0,307:0,308:0,309:0,310:0,311:0,312:0,313:0,314:0,315:0,316:0,317:0,318:0,319:0,320:0,321:0,322:0,323:0,324:0,325:0,326:0,327:0,328:0,329:0,330:0,331:0,332:0,333:0,334:0,335:0,336:0,337:0,338:0,339:0,340:0},n=[];function c(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.e=function(e){var t=[],o=i[e];if(0!==o)if(o)t.push(o[2]);else{var r=new Promise((function(t,r){o=i[e]=[t,r]}));t.push(o[2]=r);var n,d=document.createElement("script");d.charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.src=function(e){return c.p+"chunks/md-"+e+".js"}(e);var s=new Error;n=function(t){d.onerror=d.onload=null,clearTimeout(l);var o=i[e];if(0!==o){if(o){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+n+")",s.name="ChunkLoadError",s.type=r,s.request=n,o[1](s)}i[e]=void 0}};var l=setTimeout((function(){n({type:"timeout",target:d})}),12e4);d.onerror=d.onload=n,document.head.appendChild(d)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(o,r,function(t){return e[t]}.bind(null,r));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var d=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],s=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var a=s;return n.push([319,28,0,1,2,3,4,5,6,7,8,9,10,11,13,12,14,15,16,17,18,19,20,21,22,23,26,27,25,24,37,38,40,30,36,32,35,43,31,41,42,34,33,29,39,82,80,78,71,56,63,49,83,57,65,81,84,64,73,69,76,79,72,60,51,52,70,61,66,48,68,44,75,54,45,67,47,59,74,50,55,53,46,62,77,58]),o()}({0:function(t,o){t.exports=e},10:function(e,t){e.exports=n},11:function(e,t){e.exports=c},12:function(e,t){e.exports=d},13:function(e,t){e.exports=s},14:function(e,t){e.exports=l},2:function(e,o){e.exports=t},20:function(e,t){e.exports=a},21:function(e,t){e.exports=u},22:function(e,t){e.exports=p},23:function(e,t){e.exports=m},25:function(e,t){e.exports=h},26:function(e,t){e.exports=f},27:function(e,t){e.exports=g},28:function(e,t){e.exports=b},3:function(e,t){e.exports=o},30:function(e,t){e.exports=j},31:function(e,t){e.exports=y},319:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return i.Accordion})),o.d(t,"AccordionItem",(function(){return n.AccordionItem})),o.d(t,"ActivityButton",(function(){return c.ActivityButton})),o.d(t,"AlertBanner",(function(){return d.AlertBanner})),o.d(t,"Alert",(function(){return s.Alert})),o.d(t,"AudioPlayer",(function(){return l.AudioPlayer})),o.d(t,"Avatar",(function(){return a.Avatar})),o.d(t,"CompositeAvatar",(function(){return u.CompositeAvatar})),o.d(t,"Badge",(function(){return p.Badge})),o.d(t,"Breadcrumb",(function(){return m.Breadcrumb})),o.d(t,"ButtonGroup",(function(){return h.ButtonGroup})),o.d(t,"Button",(function(){return f.Button})),o.d(t,"Card",(function(){return g.Card})),o.d(t,"ChatMessage",(function(){return b.ChatMessage})),o.d(t,"Checkbox",(function(){return j.Checkbox})),o.d(t,"CheckboxGroup",(function(){return y.CheckboxGroup})),o.d(t,"Chip",(function(){return v.Chip})),o.d(t,"Coachmark",(function(){return x.Coachmark})),o.d(t,"CodeEditor",(function(){return r})),o.d(t,"ComboBox",(function(){return A.ComboBox})),o.d(t,"DateRangePicker",(function(){return B.DateRangePicker})),o.d(t,"DateTimePicker",(function(){return M.DateTimePicker})),o.d(t,"DatePicker",(function(){return D.DatePicker})),o.d(t,"DatePickerCalendar",(function(){return I.DatePickerCalendar})),o.d(t,"DatePickerDay",(function(){return S.DatePickerDay})),o.d(t,"DatePickerMonth",(function(){return z.DatePickerMonth})),o.d(t,"DatePickerWeek",(function(){return U.DatePickerWeek})),o.d(t,"Draggable",(function(){return N.Draggable})),o.d(t,"DraggableItem",(function(){return R.DraggableItem})),o.d(t,"Dropdown",(function(){return E.Dropdown})),o.d(t,"EditableTextfield",(function(){return F.EditableTextfield})),o.d(t,"Favorite",(function(){return _.Favorite})),o.d(t,"FloatingModal",(function(){return $.FloatingModal})),o.d(t,"FloatingMinimizedModal",(function(){return G.FloatingMinimizedModal})),o.d(t,"Form",(function(){return V.Form})),o.d(t,"HelpText",(function(){return H.HelpText})),o.d(t,"Icon",(function(){return W.Icon})),o.d(t,"InputFile",(function(){return J.InputFile})),o.d(t,"Input",(function(){return K.Input})),o.d(t,"Label",(function(){return Q.Label})),o.d(t,"Link",(function(){return X.Link})),o.d(t,"List",(function(){return Y.List})),o.d(t,"ListItem",(function(){return Z.ListItem})),o.d(t,"Loading",(function(){return ee.Loading})),o.d(t,"MeetingAlert",(function(){return te.MeetingAlert})),o.d(t,"MenuOverlay",(function(){return oe.MenuOverlay})),o.d(t,"Menu",(function(){return re.Menu})),o.d(t,"MenuItem",(function(){return ie.MenuItem})),o.d(t,"Modal",(function(){return ne.Modal})),o.d(t,"Pagination",(function(){return ce.Pagination})),o.d(t,"PhoneInput",(function(){return de.PhoneInput})),o.d(t,"ProgressBar",(function(){return se.ProgressBar})),o.d(t,"Radio",(function(){return le.Radio})),o.d(t,"RadioGroup",(function(){return ae.RadioGroup})),o.d(t,"Slider",(function(){return ue.Slider})),o.d(t,"Spinner",(function(){return pe.Spinner})),o.d(t,"Table",(function(){return me.Table})),o.d(t,"TableAdvanced",(function(){return he.TableAdvanced})),o.d(t,"Tab",(function(){return fe.Tab})),o.d(t,"TabPanel",(function(){return ge.TabPanel})),o.d(t,"Tabs",(function(){return be.Tabs})),o.d(t,"TaskItem",(function(){return je.TaskItem})),o.d(t,"Theme",(function(){return ye.Theme})),o.d(t,"TimePicker",(function(){return ve.TimePicker})),o.d(t,"ToggleSwitch",(function(){return xe.ToggleSwitch})),o.d(t,"Tooltip",(function(){return qe.Tooltip}));var r,i=o(83),n=o(84),c=o(85),d=o(104),s=o(105),l=o(106),a=o(43),u=o(86),p=o(49),m=o(107),h=o(108),f=o(17),g=o(109),b=o(110),j=o(87),y=o(88),v=o(111),x=o(112),q=o(7),k=o(5),w=o(23),T=o.n(w),C=o(0),P=C.css`:host(md-code-editor) .md-code-editor{background:#091e26;border-radius:.25rem;color:#fff;min-height:18.75rem;overflow:hidden}:host(md-code-editor) .md-code-editor-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;background:#092d3b;flex:0 0 auto;font-size:14px;padding:.625rem}:host(md-code-editor) .md-code-editor-name{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center}:host(md-code-editor) .md-code-editor md-badge::part(badge){border-radius:.25rem;height:1.25rem;margin-right:.625rem;padding:.25rem .375rem;text-transform:capitalize}:host(md-code-editor) .md-code-editor-copy{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;line-height:1}:host(md-code-editor) .md-code-editor-copy-btn::part(button){background:0 0;color:#00a0d1;margin-left:.625rem}:host(md-code-editor) .md-code-editor-copy-btn[disabled]{cursor:not-allowed;opacity:.5}:host(md-code-editor) .hljs-comment,:host(md-code-editor) .hljs-quote{color:#ffecc2}:host(md-code-editor) .hljs-deletion,:host(md-code-editor) .hljs-name,:host(md-code-editor) .hljs-regexp,:host(md-code-editor) .hljs-selector-class,:host(md-code-editor) .hljs-selector-id,:host(md-code-editor) .hljs-tag,:host(md-code-editor) .hljs-template-variable,:host(md-code-editor) .hljs-variable{color:#ff9d52}:host(md-code-editor) .hljs-built_in,:host(md-code-editor) .hljs-builtin-name,:host(md-code-editor) .hljs-link,:host(md-code-editor) .hljs-literal,:host(md-code-editor) .hljs-meta,:host(md-code-editor) .hljs-number,:host(md-code-editor) .hljs-params,:host(md-code-editor) .hljs-type{color:#fc9d03}:host(md-code-editor) .hljs-attribute{color:#ebd460}:host(md-code-editor) .hljs-addition,:host(md-code-editor) .hljs-bullet,:host(md-code-editor) .hljs-string,:host(md-code-editor) .hljs-symbol{color:#93c437}:host(md-code-editor) .hljs-section,:host(md-code-editor) .hljs-title{color:#22c7d6}:host(md-code-editor) .hljs-keyword,:host(md-code-editor) .hljs-selector-tag{color:#f0e3fc}:host(md-code-editor) .hljs{background:rgba(0,0,0,0);color:#dedede;display:block;overflow-x:auto;padding:.5em}:host(md-code-editor) .hljs-emphasis{font-style:italic}:host(md-code-editor) .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){:host(md-code-editor) .hljs-addition,:host(md-code-editor) .hljs-attribute,:host(md-code-editor) .hljs-built_in,:host(md-code-editor) .hljs-builtin-name,:host(md-code-editor) .hljs-bullet,:host(md-code-editor) .hljs-comment,:host(md-code-editor) .hljs-link,:host(md-code-editor) .hljs-literal,:host(md-code-editor) .hljs-meta,:host(md-code-editor) .hljs-number,:host(md-code-editor) .hljs-params,:host(md-code-editor) .hljs-quote,:host(md-code-editor) .hljs-string,:host(md-code-editor) .hljs-symbol,:host(md-code-editor) .hljs-type{color:highlight}:host(md-code-editor) .hljs-keyword,:host(md-code-editor) .hljs-selector-tag{font-weight:700}}@media(forced-colors:active){:host(md-code-editor) .md-code-editor{outline:1px solid CanvasText}:host(md-code-editor) .md-code-editor-header{outline:1px solid CanvasText}}`,O=function(e,t,o,r){var i,n=arguments.length,c=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,r);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(c=(n<3?i(c):n>3?i(t,o,c):i(t,o))||c);return n>3&&c&&Object.defineProperty(t,o,c),c},L=function(e,t,o,r){return new(o||(o=Promise))((function(i,n){function c(e){try{s(r.next(e))}catch(e){n(e)}}function d(e){try{s(r.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(c,d)}s((r=r.apply(e,t||[])).next())}))};!function(e){let t=class extends C.LitElement{constructor(){super(...arguments),this.copyLocalization="cURL",this.copiedLocalization="Copied",this.method="get",this.acceptLanguage="javascript",this.url="javascript",this.disableCopyButton=!0,this.acceptTypes="",this.copied=!1}static get styles(){return[k.a,P]}handleSlotChange(){if(this.slotNodes&&this.slotNodes.length){const e=this.slotNodes.find(e=>"CODE"===e.tagName);if(e){const t=e.textContent;t&&this.highlightBlock(t)}}}handleUrlSlotChange(){if(this.copied=!1,this.slotUrl&&this.slotUrl.length){const e=this.slotUrl.find(e=>e);if(e){const t=e.textContent;t&&this.copyUrl(t)}}}highlightBlock(e){e&&(this.codeBlock.innerText=e),T.a.highlightBlock(this.codeBlock)}copyUrl(e){this.codeUrl.innerText=e,this.disableCopyButton=!1}copyClipboard(){this.disableCopyButton||(this.codeUrl.innerText,this.selectTarget(this.codeUrl))}copyText(){try{document.execCommand("copy"),this.copied=!0}catch(e){console.warn("Copy text failed"),this.copied=!1}}select(e){const t=window.getSelection(),o=document.createRange();o.selectNodeContents(e),t&&(t.removeAllRanges(),t.addRange(o))}selectTarget(e){this.select(e),this.copyText()}importLanguage(e){return L(this,void 0,void 0,(function*(){try{const{default:t}=yield o(89)("./"+e);T.a.registerLanguage(""+e,t),this.setAcceptTypes()}catch(e){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const e=T.a.listLanguages();return e.length?e.map(e=>T.a.getLanguage(""+e).aliases).map(e=>e.map(e=>"."+e)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(e){super.updated(e),e.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage),e.has("acceptTypes")&&this.highlightBlock()}render(){return C.html`
2
2
  <div class="md-code-editor" part="code-editor">
3
3
  <div class="md-code-editor-header">
4
4
  <div class="md-code-editor-name">
package/dist/index.js CHANGED
@@ -33,8 +33,8 @@ require("./chunks/md-40");
33
33
  require("./chunks/md-30");
34
34
  require("./chunks/md-36");
35
35
  require("./chunks/md-32");
36
- require("./chunks/md-43");
37
36
  require("./chunks/md-35");
37
+ require("./chunks/md-43");
38
38
  require("./chunks/md-31");
39
39
  require("./chunks/md-41");
40
40
  require("./chunks/md-42");
@@ -165,7 +165,7 @@ export declare namespace ComboBox {
165
165
  checkForVirtualScroll(): boolean;
166
166
  rangeChanged(): void;
167
167
  getCustomErrorContent(): DocumentFragment;
168
- getCustomContent(option: string | OptionMember): import("lit-element").TemplateResult | DocumentFragment;
168
+ getCustomContent(option: string | OptionMember): DocumentFragment | import("lit-element").TemplateResult;
169
169
  renderGroupLabelHeader(option: OptionMember, optionIndex: number): import("lit-element").TemplateResult;
170
170
  renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
171
171
  highlightingSearchedText(option: OptionMember | string): import("lit-element").TemplateResult[];
@@ -36,7 +36,7 @@ export declare namespace TimePicker {
36
36
  handleTimeBlur(event: CustomEvent, unit: TimePicker.TimeUnit): void;
37
37
  static get styles(): import("lit-element").CSSResult[];
38
38
  formatTimeUnit: (unit: TimePicker.TimeUnit) => void;
39
- messageType: (isValid: boolean) => "" | "error";
39
+ messageType: (isValid: boolean) => "error" | "";
40
40
  generateTimeBox: (unit: TimePicker.TimeUnit) => import("lit-element").TemplateResult;
41
41
  generateAmPmComboBox: () => import("lit-element").TemplateResult;
42
42
  render(): import("lit-element").TemplateResult;
@@ -67,7 +67,7 @@ export { Tab } from "./components/tabs/Tab";
67
67
  export { TabPanel } from "./components/tabs/TabPanel";
68
68
  export { Tabs } from "./components/tabs/Tabs";
69
69
  export { TaskItem } from "./components/taskitem/TaskItem";
70
- export { Theme } from "./components/theme/Theme";
70
+ export { Theme, ThemeName } from "./components/theme/Theme";
71
71
  export { TimePicker } from "./components/timepicker/TimePicker";
72
72
  export { ToggleSwitch } from "./components/toggle-switch/ToggleSwitch";
73
73
  export { Tooltip } from "./components/tooltip/Tooltip";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "2.10.11",
3
+ "version": "2.10.13",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",
@@ -23,7 +23,7 @@
23
23
  "papaparse": "^5.3.0",
24
24
  "sortablejs": "^1.13.0",
25
25
  "lit-virtualizer": "0.4.2",
26
- "@momentum-design/tokens": "0.0.55"
26
+ "@momentum-design/tokens": "0.0.56"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@momentum-ui/core": "19.15.30",