mediacube-ui-v2 0.0.317 → 0.0.319
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/ai-catalog/index.json +2 -2
- package/dist/assets/components/elements/McButton/index.css +1 -1
- package/dist/assets/components/templates/McDrawer/McDrawerContainer/index.css +1 -1
- package/dist/components/elements/McButton/McButton.vue2.js +86 -74
- package/dist/components/templates/McDrawer/McDrawerContainer/McDrawerContainer.vue2.js +21 -21
- package/dist/types/components/elements/McButton/McButton.vue.d.ts +68 -76
- package/dist/types/components/elements/McButton/index.d.ts +99 -99
- package/dist/types/utils/mcButtonAdaptiveProps.d.ts +10 -0
- package/dist/utils/mcButtonAdaptiveProps.js +13 -0
- package/dist/utils/mcButtonAdaptiveProps2.js +13 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogSchemaVersion": 2,
|
|
3
|
-
"libraryVersion": "0.0.
|
|
3
|
+
"libraryVersion": "0.0.319",
|
|
4
4
|
"packageName": "mediacube-ui-v2",
|
|
5
5
|
"pathHash": "9b6f3b8016b22ac7",
|
|
6
6
|
"componentCount": 76,
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"type": "String as () => ButtonSizeUnion",
|
|
571
571
|
"required": false,
|
|
572
572
|
"defaultValue": "'m'",
|
|
573
|
-
"description": "
|
|
573
|
+
"description": ""
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
"name": "shadow",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.mc-tooltip{--tooltip-color: #202427;--tooltip-text-color: #FFFFFF;font-family:Inter,sans-serif;text-transform:none;position:absolute;font-weight:400;line-height:1.25rem;font-size:.8125rem;border-radius:.5rem;box-shadow:0 4px 12px #00000029;padding:.5rem .75rem;background:var(--tooltip-color);color:var(--tooltip-text-color);z-index:100005;white-space:normal;word-break:break-word;width:max-content}.mc-tooltip>*{display:inline-block}.mc-tooltip ul{margin:0;padding-left:.75rem}.mc-tooltip[tooltip-arrow=true]:before{content:"";border:5px solid transparent;z-index:1001;position:absolute}.mc-tooltip:hover:before,.mc-tooltip:hover:after{display:block}.mc-tooltip[tooltip-size=xs]{max-width:180px}.mc-tooltip[tooltip-size=s]{max-width:250px}.mc-tooltip[tooltip-size=m]{max-width:320px}.mc-tooltip[tooltip-size=l]{max-width:380px;font-size:1rem}.mc-tooltip[tooltip-size=xl]{max-width:500px;font-size:1rem}.mc-tooltip[tooltip-placement^=top],.mc-tooltip[tooltip-placement^=bottom]{animation:tooltips-vert .3s ease-out forwards}.mc-tooltip[tooltip-placement^=left],.mc-tooltip[tooltip-placement^=right]{animation:tooltips-horz .3s ease-out forwards}.mc-tooltip[tooltip-placement^=top]:before{top:100%;left:var(--tooltip-arrow-left, 50%);border-bottom-width:0;border-top-color:var(--tooltip-color);transform:translate(-50%)}.mc-tooltip[tooltip-placement^=bottom]:before{top:0;left:var(--tooltip-arrow-left, 50%);border-top-width:0;border-bottom-color:var(--tooltip-color);transform:translate(-50%,-100%)}.mc-tooltip[tooltip-placement^=left]:before{top:50%;left:100%;border-right-width:0;border-left-color:var(--tooltip-color);transform:translateY(-50%)}.mc-tooltip[tooltip-placement^=right]:before{top:50%;left:0;border-left-width:0;border-right-color:var(--tooltip-color);transform:translate(-100%,-50%)}@keyframes tooltips-vert{to{opacity:.9}}@keyframes tooltips-horz{to{opacity:.9}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes rotate-reverse{0%{transform:rotate(0)}to{transform:rotate(-359deg)}}@keyframes slide-up{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes slide-up-with-margin{0%{opacity:0;margin-top:30px}to{opacity:1;margin-top:0}}@keyframes glow{0%,to{opacity:1}50%{opacity:.5}}.mc-button{box-sizing:border-box;padding:0;margin:0;--mc-button-background-color: transparent;--mc-button-active-text-color: #8756FF;--mc-button-font-weight: 400;--mc-button-text-color: #202427;--mc-button-hover-brightness: .9;--mc-button-secondary-color: initial;position:relative;display:inline-flex;justify-content:center;align-items:center;border:none;flex-wrap:nowrap;max-width:100%;font-family:Inter,sans-serif;border-radius:.5rem;white-space:nowrap;user-select:none;text-decoration:none;text-transform:none;background:none;cursor:pointer;outline:0;transition:all .15s;font-weight:var(--mc-button-font-weight);color:var(--mc-button-text-color);-webkit-appearance:none;-webkit-text-fill-color:currentColor;z-index:0}.mc-button__loader{display:none;line-height:0;position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%);top:unset;left:unset;transform:unset;z-index:1}.mc-button__loader-icon{animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button__prepend,.mc-button__append{display:inline-flex;align-items:center;z-index:1}.mc-button__text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;min-width:0;max-width:100%;z-index:1}.mc-button__text:empty{display:none}@media (hover: hover) and (pointer: fine){.mc-button:hover .mc-button__background{filter:brightness(var(--mc-button-hover-brightness))}}.mc-button:active .mc-button__background{filter:brightness(var(--mc-button-hover-brightness))}.mc-button--size-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xxs-compact .mc-svg-icon,.mc-button--size-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xxs .mc-button__text~.mc-button__append,.mc-button--size-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xs-compact .mc-svg-icon,.mc-button--size-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs .mc-button__text~.mc-button__append,.mc-button--size-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-s-compact .mc-svg-icon,.mc-button--size-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s .mc-button__text~.mc-button__append,.mc-button--size-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-m-compact .mc-svg-icon,.mc-button--size-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m .mc-button__text~.mc-button__append,.mc-button--size-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-l-compact .mc-svg-icon,.mc-button--size-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-l .mc-button__text~.mc-button__append,.mc-button--size-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-s-compact .mc-button__prepend,.mc-button--size-s-compact .mc-button__append,.mc-button--size-m-compact .mc-button__prepend,.mc-button--size-m-compact .mc-button__append,.mc-button--size-l-compact .mc-button__prepend,.mc-button--size-l-compact .mc-button__append{margin:0!important}.mc-button__background{position:absolute;top:0;left:0;height:100%;width:100%;max-width:-webkit-fill-available;opacity:1!important;border:1px solid transparent;border-radius:inherit;background-color:var(--mc-button-background-color);transition:all .15s;box-sizing:border-box}.mc-button--type-outline{color:var(--mc-button-background-color)}.mc-button--type-outline .mc-button__background{opacity:.6!important;background-color:transparent;border-color:var(--mc-button-background-color)}@media (hover: hover) and (pointer: fine){.mc-button--type-outline:hover .mc-button__background{background-color:var(--mc-button-background-color);opacity:.2!important}.mc-button--type-outline:active .mc-button__background{background-color:var(--mc-button-background-color);border:none}}.mc-button--type-invert{color:var(--mc-button-background-color)}.mc-button--type-invert .mc-button__background{opacity:.1!important}@media (hover: hover) and (pointer: fine){.mc-button--type-invert:hover .mc-button__background{opacity:.2!important}}.mc-button--type-invert:active .mc-button__background{opacity:.2!important}.mc-button--type-flat{color:var(--mc-button-background-color)}.mc-button--type-flat .mc-button__background{opacity:0!important}@media (hover: hover) and (pointer: fine){.mc-button--type-flat:hover .mc-button__background{opacity:.1!important}}.mc-button--type-flat:active .mc-button__background{opacity:.1!important}.mc-button--type-link{color:var(--mc-button-background-color);padding:0;height:auto;width:auto;border:none;user-select:text}.mc-button--type-link.mc-button--size-l{line-height:1.25rem}.mc-button--type-link.mc-button--disabled{opacity:.6;background-color:transparent!important;color:var(--mc-button-background-color)!important;border-color:transparent!important}@media (hover: hover) and (pointer: fine){.mc-button--type-link:hover{filter:brightness(.85)}}.mc-button--type-link:active{filter:brightness(.85)}.mc-button--type-link .mc-button__background{display:none}.mc-button--bg-flat .mc-button__background{opacity:.1!important}.mc-button--shadow{box-shadow:0 3px 10px var(--mc-button-background-color)}.mc-button--underline-link .mc-button__text{text-decoration:underline!important}@media (hover: hover) and (pointer: fine){.mc-button--secondary-color:hover{color:var(--mc-button-secondary-color)}}.mc-button--secondary-color:active{color:var(--mc-button-secondary-color)}.mc-button--uppercase{text-transform:uppercase;letter-spacing:.025rem}.mc-button--is-active,.mc-button.nuxt-link-active{color:var(--mc-button-active-text-color);background-color:transparent;border-color:transparent;pointer-events:none}.mc-button--rounded{border-radius:50%}.mc-button--semi-rounded{border-radius:50px}.mc-button--full-width{width:100%}.mc-button--text-align-left{justify-content:flex-start}.mc-button--text-align-center{justify-content:center}.mc-button--text-align-right{justify-content:flex-end}.mc-button--loading,.mc-button--icon-loading,.mc-button--disabled{pointer-events:none}.mc-button--loading .mc-button__loader{display:inline-block}.mc-button--loading>*:not(.mc-button__loader){opacity:0}.mc-button--icon-loading .mc-button__append .mc-svg-icon,.mc-button--icon-loading .mc-button__prepend .mc-svg-icon{animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button--icon-loading .mc-button__loader{transform-origin:center center;animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button--disabled{color:#c7ccd1;cursor:not-allowed}.mc-button--disabled .mc-button__background{background-color:#edf0f3;border-color:#edf0f3}.mc-button--inactive{pointer-events:none}
|
|
1
|
+
@charset "UTF-8";.mc-tooltip{--tooltip-color: #202427;--tooltip-text-color: #FFFFFF;font-family:Inter,sans-serif;text-transform:none;position:absolute;font-weight:400;line-height:1.25rem;font-size:.8125rem;border-radius:.5rem;box-shadow:0 4px 12px #00000029;padding:.5rem .75rem;background:var(--tooltip-color);color:var(--tooltip-text-color);z-index:100005;white-space:normal;word-break:break-word;width:max-content}.mc-tooltip>*{display:inline-block}.mc-tooltip ul{margin:0;padding-left:.75rem}.mc-tooltip[tooltip-arrow=true]:before{content:"";border:5px solid transparent;z-index:1001;position:absolute}.mc-tooltip:hover:before,.mc-tooltip:hover:after{display:block}.mc-tooltip[tooltip-size=xs]{max-width:180px}.mc-tooltip[tooltip-size=s]{max-width:250px}.mc-tooltip[tooltip-size=m]{max-width:320px}.mc-tooltip[tooltip-size=l]{max-width:380px;font-size:1rem}.mc-tooltip[tooltip-size=xl]{max-width:500px;font-size:1rem}.mc-tooltip[tooltip-placement^=top],.mc-tooltip[tooltip-placement^=bottom]{animation:tooltips-vert .3s ease-out forwards}.mc-tooltip[tooltip-placement^=left],.mc-tooltip[tooltip-placement^=right]{animation:tooltips-horz .3s ease-out forwards}.mc-tooltip[tooltip-placement^=top]:before{top:100%;left:var(--tooltip-arrow-left, 50%);border-bottom-width:0;border-top-color:var(--tooltip-color);transform:translate(-50%)}.mc-tooltip[tooltip-placement^=bottom]:before{top:0;left:var(--tooltip-arrow-left, 50%);border-top-width:0;border-bottom-color:var(--tooltip-color);transform:translate(-50%,-100%)}.mc-tooltip[tooltip-placement^=left]:before{top:50%;left:100%;border-right-width:0;border-left-color:var(--tooltip-color);transform:translateY(-50%)}.mc-tooltip[tooltip-placement^=right]:before{top:50%;left:0;border-left-width:0;border-right-color:var(--tooltip-color);transform:translate(-100%,-50%)}@keyframes tooltips-vert{to{opacity:.9}}@keyframes tooltips-horz{to{opacity:.9}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes rotate-reverse{0%{transform:rotate(0)}to{transform:rotate(-359deg)}}@keyframes slide-up{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes slide-up-with-margin{0%{opacity:0;margin-top:30px}to{opacity:1;margin-top:0}}@keyframes glow{0%,to{opacity:1}50%{opacity:.5}}.mc-button{box-sizing:border-box;padding:0;margin:0;--mc-button-background-color: transparent;--mc-button-active-text-color: #8756FF;--mc-button-font-weight: 400;--mc-button-text-color: #202427;--mc-button-hover-brightness: .9;--mc-button-secondary-color: initial;position:relative;display:inline-flex;justify-content:center;align-items:center;border:none;flex-wrap:nowrap;max-width:100%;font-family:Inter,sans-serif;border-radius:.5rem;white-space:nowrap;user-select:none;text-decoration:none;text-transform:none;background:none;cursor:pointer;outline:0;transition:all .15s;font-weight:var(--mc-button-font-weight);color:var(--mc-button-text-color);-webkit-appearance:none;-webkit-text-fill-color:currentColor;z-index:0}.mc-button__loader{display:none;line-height:0;position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%);top:unset;left:unset;transform:unset;z-index:1}.mc-button__loader-icon{animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button__prepend,.mc-button__append{display:inline-flex;align-items:center;z-index:1}.mc-button__text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;min-width:0;max-width:100%;z-index:1}.mc-button__text:empty{display:none}@media (hover: hover) and (pointer: fine){.mc-button:hover .mc-button__background{filter:brightness(var(--mc-button-hover-brightness))}}.mc-button:active .mc-button__background{filter:brightness(var(--mc-button-hover-brightness))}.mc-button--size-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xxs .mc-button__text~.mc-button__append,.mc-button--size-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xxs{width:auto;border-radius:.5rem}.mc-button--size-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs .mc-button__text~.mc-button__append,.mc-button--size-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs{width:auto;border-radius:.5rem}.mc-button--size-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s .mc-button__text~.mc-button__append,.mc-button--size-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s{width:auto;border-radius:.5rem}.mc-button--size-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m .mc-button__text~.mc-button__append,.mc-button--size-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m{width:auto;border-radius:.5rem}.mc-button--size-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-l .mc-button__text~.mc-button__append,.mc-button--size-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-l{width:auto;border-radius:.5rem}.mc-button--size-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xxs-compact,.mc-button--size-xs-compact,.mc-button--size-s-compact,.mc-button--size-m-compact,.mc-button--size-l-compact{border-radius:50%}.mc-button--size-xxs-compact .mc-button__prepend,.mc-button--size-xxs-compact .mc-button__append,.mc-button--size-xs-compact .mc-button__prepend,.mc-button--size-xs-compact .mc-button__append,.mc-button--size-s-compact .mc-button__prepend,.mc-button--size-s-compact .mc-button__append,.mc-button--size-m-compact .mc-button__prepend,.mc-button--size-m-compact .mc-button__append,.mc-button--size-l-compact .mc-button__prepend,.mc-button--size-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}@media (min-width: 375px){.mc-button--size-xs-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-xs-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-xxs .mc-button__text~.mc-button__append,.mc-button--size-xs-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-xxs{width:auto;border-radius:.5rem}.mc-button--size-xs-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xs-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xs-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xs-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-xs .mc-button__text~.mc-button__append,.mc-button--size-xs-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-xs{width:auto;border-radius:.5rem}.mc-button--size-xs-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xs-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-s .mc-button__text~.mc-button__append,.mc-button--size-xs-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-s{width:auto;border-radius:.5rem}.mc-button--size-xs-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-xs-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-m .mc-button__text~.mc-button__append,.mc-button--size-xs-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-m{width:auto;border-radius:.5rem}.mc-button--size-xs-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-xs-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-xs-l .mc-button__text~.mc-button__append,.mc-button--size-xs-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-xs-l{width:auto;border-radius:.5rem}.mc-button--size-xs-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-xs-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-xxs-compact,.mc-button--size-xs-xs-compact,.mc-button--size-xs-s-compact,.mc-button--size-xs-m-compact,.mc-button--size-xs-l-compact{border-radius:50%}.mc-button--size-xs-xxs-compact .mc-button__prepend,.mc-button--size-xs-xxs-compact .mc-button__append,.mc-button--size-xs-xs-compact .mc-button__prepend,.mc-button--size-xs-xs-compact .mc-button__append,.mc-button--size-xs-s-compact .mc-button__prepend,.mc-button--size-xs-s-compact .mc-button__append,.mc-button--size-xs-m-compact .mc-button__prepend,.mc-button--size-xs-m-compact .mc-button__append,.mc-button--size-xs-l-compact .mc-button__prepend,.mc-button--size-xs-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (min-width: 480px){.mc-button--size-s-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-s-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-xxs .mc-button__text~.mc-button__append,.mc-button--size-s-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-xxs{width:auto;border-radius:.5rem}.mc-button--size-s-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-s-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-s-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-s-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-xs .mc-button__text~.mc-button__append,.mc-button--size-s-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-xs{width:auto;border-radius:.5rem}.mc-button--size-s-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-s-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-s .mc-button__text~.mc-button__append,.mc-button--size-s-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-s{width:auto;border-radius:.5rem}.mc-button--size-s-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-s-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-s-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-m .mc-button__text~.mc-button__append,.mc-button--size-s-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-m{width:auto;border-radius:.5rem}.mc-button--size-s-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-s-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-s-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-s-l .mc-button__text~.mc-button__append,.mc-button--size-s-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-s-l{width:auto;border-radius:.5rem}.mc-button--size-s-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-s-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-xxs-compact,.mc-button--size-s-xs-compact,.mc-button--size-s-s-compact,.mc-button--size-s-m-compact,.mc-button--size-s-l-compact{border-radius:50%}.mc-button--size-s-xxs-compact .mc-button__prepend,.mc-button--size-s-xxs-compact .mc-button__append,.mc-button--size-s-xs-compact .mc-button__prepend,.mc-button--size-s-xs-compact .mc-button__append,.mc-button--size-s-s-compact .mc-button__prepend,.mc-button--size-s-s-compact .mc-button__append,.mc-button--size-s-m-compact .mc-button__prepend,.mc-button--size-s-m-compact .mc-button__append,.mc-button--size-s-l-compact .mc-button__prepend,.mc-button--size-s-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (min-width: 768px){.mc-button--size-m-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-m-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-xxs .mc-button__text~.mc-button__append,.mc-button--size-m-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-xxs{width:auto;border-radius:.5rem}.mc-button--size-m-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-m-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-m-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-m-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-m-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-xs .mc-button__text~.mc-button__append,.mc-button--size-m-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-xs{width:auto;border-radius:.5rem}.mc-button--size-m-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-m-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-m-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-s .mc-button__text~.mc-button__append,.mc-button--size-m-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-s{width:auto;border-radius:.5rem}.mc-button--size-m-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-m-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-m .mc-button__text~.mc-button__append,.mc-button--size-m-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-m{width:auto;border-radius:.5rem}.mc-button--size-m-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-m-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-m-l .mc-button__text~.mc-button__append,.mc-button--size-m-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-m-l{width:auto;border-radius:.5rem}.mc-button--size-m-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-m-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-xxs-compact,.mc-button--size-m-xs-compact,.mc-button--size-m-s-compact,.mc-button--size-m-m-compact,.mc-button--size-m-l-compact{border-radius:50%}.mc-button--size-m-xxs-compact .mc-button__prepend,.mc-button--size-m-xxs-compact .mc-button__append,.mc-button--size-m-xs-compact .mc-button__prepend,.mc-button--size-m-xs-compact .mc-button__append,.mc-button--size-m-s-compact .mc-button__prepend,.mc-button--size-m-s-compact .mc-button__append,.mc-button--size-m-m-compact .mc-button__prepend,.mc-button--size-m-m-compact .mc-button__append,.mc-button--size-m-l-compact .mc-button__prepend,.mc-button--size-m-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (min-width: 1024px){.mc-button--size-l-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-l-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-xxs .mc-button__text~.mc-button__append,.mc-button--size-l-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-xxs{width:auto;border-radius:.5rem}.mc-button--size-l-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-l-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-l-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-l-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-l-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-xs .mc-button__text~.mc-button__append,.mc-button--size-l-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-xs{width:auto;border-radius:.5rem}.mc-button--size-l-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-l-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-l-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-s .mc-button__text~.mc-button__append,.mc-button--size-l-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-s{width:auto;border-radius:.5rem}.mc-button--size-l-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-l-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-m .mc-button__text~.mc-button__append,.mc-button--size-l-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-m{width:auto;border-radius:.5rem}.mc-button--size-l-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-l-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-l-l .mc-button__text~.mc-button__append,.mc-button--size-l-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-l-l{width:auto;border-radius:.5rem}.mc-button--size-l-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-l-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-xxs-compact,.mc-button--size-l-xs-compact,.mc-button--size-l-s-compact,.mc-button--size-l-m-compact,.mc-button--size-l-l-compact{border-radius:50%}.mc-button--size-l-xxs-compact .mc-button__prepend,.mc-button--size-l-xxs-compact .mc-button__append,.mc-button--size-l-xs-compact .mc-button__prepend,.mc-button--size-l-xs-compact .mc-button__append,.mc-button--size-l-s-compact .mc-button__prepend,.mc-button--size-l-s-compact .mc-button__append,.mc-button--size-l-m-compact .mc-button__prepend,.mc-button--size-l-m-compact .mc-button__append,.mc-button--size-l-l-compact .mc-button__prepend,.mc-button--size-l-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (min-width: 1440px){.mc-button--size-xl-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-xl-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-xxs .mc-button__text~.mc-button__append,.mc-button--size-xl-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-xxs{width:auto;border-radius:.5rem}.mc-button--size-xl-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xl-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xl-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xl-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-xs .mc-button__text~.mc-button__append,.mc-button--size-xl-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-xs{width:auto;border-radius:.5rem}.mc-button--size-xl-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xl-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-s .mc-button__text~.mc-button__append,.mc-button--size-xl-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-s{width:auto;border-radius:.5rem}.mc-button--size-xl-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-xl-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-m .mc-button__text~.mc-button__append,.mc-button--size-xl-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-m{width:auto;border-radius:.5rem}.mc-button--size-xl-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-xl-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-xl-l .mc-button__text~.mc-button__append,.mc-button--size-xl-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-xl-l{width:auto;border-radius:.5rem}.mc-button--size-xl-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-xl-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-xxs-compact,.mc-button--size-xl-xs-compact,.mc-button--size-xl-s-compact,.mc-button--size-xl-m-compact,.mc-button--size-xl-l-compact{border-radius:50%}.mc-button--size-xl-xxs-compact .mc-button__prepend,.mc-button--size-xl-xxs-compact .mc-button__append,.mc-button--size-xl-xs-compact .mc-button__prepend,.mc-button--size-xl-xs-compact .mc-button__append,.mc-button--size-xl-s-compact .mc-button__prepend,.mc-button--size-xl-s-compact .mc-button__append,.mc-button--size-xl-m-compact .mc-button__prepend,.mc-button--size-xl-m-compact .mc-button__append,.mc-button--size-xl-l-compact .mc-button__prepend,.mc-button--size-xl-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (max-width: 374px){.mc-button--size-xs-down-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-xs-down-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-down-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-down-xxs .mc-button__text~.mc-button__append,.mc-button--size-xs-down-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-down-xxs{width:auto;border-radius:.5rem}.mc-button--size-xs-down-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xs-down-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xs-down-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xs-down-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-down-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-down-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-down-xs .mc-button__text~.mc-button__append,.mc-button--size-xs-down-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-down-xs{width:auto;border-radius:.5rem}.mc-button--size-xs-down-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-down-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xs-down-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-down-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-down-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-down-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-down-s .mc-button__text~.mc-button__append,.mc-button--size-xs-down-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-down-s{width:auto;border-radius:.5rem}.mc-button--size-xs-down-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-down-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-xs-down-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xs-down-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-down-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-down-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xs-down-m .mc-button__text~.mc-button__append,.mc-button--size-xs-down-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xs-down-m{width:auto;border-radius:.5rem}.mc-button--size-xs-down-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-down-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-xs-down-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-down-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xs-down-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xs-down-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-xs-down-l .mc-button__text~.mc-button__append,.mc-button--size-xs-down-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-xs-down-l{width:auto;border-radius:.5rem}.mc-button--size-xs-down-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-down-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-xs-down-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xs-down-xxs-compact,.mc-button--size-xs-down-xs-compact,.mc-button--size-xs-down-s-compact,.mc-button--size-xs-down-m-compact,.mc-button--size-xs-down-l-compact{border-radius:50%}.mc-button--size-xs-down-xxs-compact .mc-button__prepend,.mc-button--size-xs-down-xxs-compact .mc-button__append,.mc-button--size-xs-down-xs-compact .mc-button__prepend,.mc-button--size-xs-down-xs-compact .mc-button__append,.mc-button--size-xs-down-s-compact .mc-button__prepend,.mc-button--size-xs-down-s-compact .mc-button__append,.mc-button--size-xs-down-m-compact .mc-button__prepend,.mc-button--size-xs-down-m-compact .mc-button__append,.mc-button--size-xs-down-l-compact .mc-button__prepend,.mc-button--size-xs-down-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (max-width: 479px){.mc-button--size-s-down-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-s-down-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-down-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-down-xxs .mc-button__text~.mc-button__append,.mc-button--size-s-down-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-down-xxs{width:auto;border-radius:.5rem}.mc-button--size-s-down-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-s-down-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-s-down-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-s-down-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s-down-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-down-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-down-xs .mc-button__text~.mc-button__append,.mc-button--size-s-down-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-down-xs{width:auto;border-radius:.5rem}.mc-button--size-s-down-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-down-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-s-down-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-down-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-s-down-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-down-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-down-s .mc-button__text~.mc-button__append,.mc-button--size-s-down-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-down-s{width:auto;border-radius:.5rem}.mc-button--size-s-down-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-down-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-s-down-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-s-down-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-s-down-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-down-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-s-down-m .mc-button__text~.mc-button__append,.mc-button--size-s-down-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-s-down-m{width:auto;border-radius:.5rem}.mc-button--size-s-down-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-down-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-s-down-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-down-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-s-down-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-s-down-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-s-down-l .mc-button__text~.mc-button__append,.mc-button--size-s-down-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-s-down-l{width:auto;border-radius:.5rem}.mc-button--size-s-down-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-down-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-s-down-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-s-down-xxs-compact,.mc-button--size-s-down-xs-compact,.mc-button--size-s-down-s-compact,.mc-button--size-s-down-m-compact,.mc-button--size-s-down-l-compact{border-radius:50%}.mc-button--size-s-down-xxs-compact .mc-button__prepend,.mc-button--size-s-down-xxs-compact .mc-button__append,.mc-button--size-s-down-xs-compact .mc-button__prepend,.mc-button--size-s-down-xs-compact .mc-button__append,.mc-button--size-s-down-s-compact .mc-button__prepend,.mc-button--size-s-down-s-compact .mc-button__append,.mc-button--size-s-down-m-compact .mc-button__prepend,.mc-button--size-s-down-m-compact .mc-button__append,.mc-button--size-s-down-l-compact .mc-button__prepend,.mc-button--size-s-down-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (max-width: 767px){.mc-button--size-m-down-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-m-down-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-down-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-down-xxs .mc-button__text~.mc-button__append,.mc-button--size-m-down-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-down-xxs{width:auto;border-radius:.5rem}.mc-button--size-m-down-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-m-down-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-m-down-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-m-down-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-m-down-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-down-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-down-xs .mc-button__text~.mc-button__append,.mc-button--size-m-down-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-down-xs{width:auto;border-radius:.5rem}.mc-button--size-m-down-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-down-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-m-down-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-down-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-m-down-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-down-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-down-s .mc-button__text~.mc-button__append,.mc-button--size-m-down-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-down-s{width:auto;border-radius:.5rem}.mc-button--size-m-down-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-down-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-m-down-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-m-down-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m-down-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-down-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-m-down-m .mc-button__text~.mc-button__append,.mc-button--size-m-down-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-m-down-m{width:auto;border-radius:.5rem}.mc-button--size-m-down-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-down-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-m-down-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-down-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-m-down-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-m-down-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-m-down-l .mc-button__text~.mc-button__append,.mc-button--size-m-down-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-m-down-l{width:auto;border-radius:.5rem}.mc-button--size-m-down-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-down-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-m-down-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-m-down-xxs-compact,.mc-button--size-m-down-xs-compact,.mc-button--size-m-down-s-compact,.mc-button--size-m-down-m-compact,.mc-button--size-m-down-l-compact{border-radius:50%}.mc-button--size-m-down-xxs-compact .mc-button__prepend,.mc-button--size-m-down-xxs-compact .mc-button__append,.mc-button--size-m-down-xs-compact .mc-button__prepend,.mc-button--size-m-down-xs-compact .mc-button__append,.mc-button--size-m-down-s-compact .mc-button__prepend,.mc-button--size-m-down-s-compact .mc-button__append,.mc-button--size-m-down-m-compact .mc-button__prepend,.mc-button--size-m-down-m-compact .mc-button__append,.mc-button--size-m-down-l-compact .mc-button__prepend,.mc-button--size-m-down-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (max-width: 1023px){.mc-button--size-l-down-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-l-down-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-down-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-down-xxs .mc-button__text~.mc-button__append,.mc-button--size-l-down-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-down-xxs{width:auto;border-radius:.5rem}.mc-button--size-l-down-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-l-down-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-l-down-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-l-down-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-l-down-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-down-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-down-xs .mc-button__text~.mc-button__append,.mc-button--size-l-down-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-down-xs{width:auto;border-radius:.5rem}.mc-button--size-l-down-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-down-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-l-down-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-down-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-l-down-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-down-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-down-s .mc-button__text~.mc-button__append,.mc-button--size-l-down-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-down-s{width:auto;border-radius:.5rem}.mc-button--size-l-down-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-down-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-l-down-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-l-down-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l-down-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-down-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-l-down-m .mc-button__text~.mc-button__append,.mc-button--size-l-down-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-l-down-m{width:auto;border-radius:.5rem}.mc-button--size-l-down-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-down-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-l-down-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-down-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-l-down-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-l-down-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-l-down-l .mc-button__text~.mc-button__append,.mc-button--size-l-down-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-l-down-l{width:auto;border-radius:.5rem}.mc-button--size-l-down-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-down-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-l-down-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-l-down-xxs-compact,.mc-button--size-l-down-xs-compact,.mc-button--size-l-down-s-compact,.mc-button--size-l-down-m-compact,.mc-button--size-l-down-l-compact{border-radius:50%}.mc-button--size-l-down-xxs-compact .mc-button__prepend,.mc-button--size-l-down-xxs-compact .mc-button__append,.mc-button--size-l-down-xs-compact .mc-button__prepend,.mc-button--size-l-down-xs-compact .mc-button__append,.mc-button--size-l-down-s-compact .mc-button__prepend,.mc-button--size-l-down-s-compact .mc-button__append,.mc-button--size-l-down-m-compact .mc-button__prepend,.mc-button--size-l-down-m-compact .mc-button__append,.mc-button--size-l-down-l-compact .mc-button__prepend,.mc-button--size-l-down-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}@media (max-width: 1439px){.mc-button--size-xl-down-xxs{height:1.5rem;padding:0 .5rem;letter-spacing:normal}.mc-button--size-xl-down-xxs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-down-xxs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-down-xxs .mc-button__text~.mc-button__append,.mc-button--size-xl-down-xxs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-down-xxs{width:auto;border-radius:.5rem}.mc-button--size-xl-down-xxs .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xl-down-xxs-compact{height:1.5rem;width:1.5rem;padding:.25rem}.mc-button--size-xl-down-xxs-compact .mc-svg-icon{height:1rem;width:1rem}.mc-button--size-xl-down-xs{height:2rem;padding:0 .75rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-down-xs .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-down-xs .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-down-xs .mc-button__text~.mc-button__append,.mc-button--size-xl-down-xs .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-down-xs{width:auto;border-radius:.5rem}.mc-button--size-xl-down-xs .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-down-xs-compact{height:2rem;width:2rem;padding:6px}.mc-button--size-xl-down-xs-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-down-s{height:2.5rem;padding:0 1rem;letter-spacing:normal;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-down-s .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-down-s .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-down-s .mc-button__text~.mc-button__append,.mc-button--size-xl-down-s .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-down-s{width:auto;border-radius:.5rem}.mc-button--size-xl-down-s .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-down-s-compact{height:2.5rem;width:2.5rem;padding:.5rem}.mc-button--size-xl-down-s-compact .mc-svg-icon{height:1.25rem;width:1.25rem}.mc-button--size-xl-down-m{height:2.5rem;padding:0 1rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-down-m .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-down-m .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.25rem}.mc-button--size-xl-down-m .mc-button__text~.mc-button__append,.mc-button--size-xl-down-m .mc-button__prepend~.mc-button__append{margin-inline-start:.25rem}.mc-button--size-xl-down-m{width:auto;border-radius:.5rem}.mc-button--size-xl-down-m .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-down-m-compact{height:2.5rem;width:2.5rem;padding:.75rem}.mc-button--size-xl-down-m-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-down-l{height:3rem;padding:.75rem 1.5rem;font-size:.8125rem;line-height:1rem}.mc-button--size-xl-down-l .mc-button__prepend:has(~.mc-button__text),.mc-button--size-xl-down-l .mc-button__prepend:has(~.mc-button__append){margin-inline-end:.5rem}.mc-button--size-xl-down-l .mc-button__text~.mc-button__append,.mc-button--size-xl-down-l .mc-button__prepend~.mc-button__append{margin-inline-start:.5rem}.mc-button--size-xl-down-l{width:auto;border-radius:.5rem}.mc-button--size-xl-down-l .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-down-l-compact{height:3rem;width:3rem;padding:.75rem}.mc-button--size-xl-down-l-compact .mc-svg-icon{height:1.5rem;width:1.5rem}.mc-button--size-xl-down-xxs-compact,.mc-button--size-xl-down-xs-compact,.mc-button--size-xl-down-s-compact,.mc-button--size-xl-down-m-compact,.mc-button--size-xl-down-l-compact{border-radius:50%}.mc-button--size-xl-down-xxs-compact .mc-button__prepend,.mc-button--size-xl-down-xxs-compact .mc-button__append,.mc-button--size-xl-down-xs-compact .mc-button__prepend,.mc-button--size-xl-down-xs-compact .mc-button__append,.mc-button--size-xl-down-s-compact .mc-button__prepend,.mc-button--size-xl-down-s-compact .mc-button__append,.mc-button--size-xl-down-m-compact .mc-button__prepend,.mc-button--size-xl-down-m-compact .mc-button__append,.mc-button--size-xl-down-l-compact .mc-button__prepend,.mc-button--size-xl-down-l-compact .mc-button__append{margin:0!important;margin-inline-end:0!important;margin-inline-start:0!important}}.mc-button__background{position:absolute;top:0;left:0;height:100%;width:100%;max-width:-webkit-fill-available;opacity:1!important;border:1px solid transparent;border-radius:inherit;background-color:var(--mc-button-background-color);transition:all .15s;box-sizing:border-box}.mc-button--type-outline{color:var(--mc-button-background-color)}.mc-button--type-outline .mc-button__background{opacity:.6!important;background-color:transparent;border-color:var(--mc-button-background-color)}@media (hover: hover) and (pointer: fine){.mc-button--type-outline:hover .mc-button__background{background-color:var(--mc-button-background-color);opacity:.2!important}.mc-button--type-outline:active .mc-button__background{background-color:var(--mc-button-background-color);border:none}}.mc-button--type-invert{color:var(--mc-button-background-color)}.mc-button--type-invert .mc-button__background{opacity:.1!important}@media (hover: hover) and (pointer: fine){.mc-button--type-invert:hover .mc-button__background{opacity:.2!important}}.mc-button--type-invert:active .mc-button__background{opacity:.2!important}.mc-button--type-flat{color:var(--mc-button-background-color)}.mc-button--type-flat .mc-button__background{opacity:0!important}@media (hover: hover) and (pointer: fine){.mc-button--type-flat:hover .mc-button__background{opacity:.1!important}}.mc-button--type-flat:active .mc-button__background{opacity:.1!important}.mc-button--type-link{color:var(--mc-button-background-color);padding:0;height:auto;width:auto;border:none;user-select:text}.mc-button--type-link.mc-button--size-l{line-height:1.25rem}.mc-button--type-link.mc-button--disabled{opacity:.6;background-color:transparent!important;color:var(--mc-button-background-color)!important;border-color:transparent!important}@media (hover: hover) and (pointer: fine){.mc-button--type-link:hover{filter:brightness(.85)}}.mc-button--type-link:active{filter:brightness(.85)}.mc-button--type-link .mc-button__background{display:none}.mc-button--bg-flat .mc-button__background{opacity:.1!important}.mc-button--shadow{box-shadow:0 3px 10px var(--mc-button-background-color)}.mc-button--underline-link .mc-button__text{text-decoration:underline!important}@media (hover: hover) and (pointer: fine){.mc-button--secondary-color:hover{color:var(--mc-button-secondary-color)}}.mc-button--secondary-color:active{color:var(--mc-button-secondary-color)}.mc-button--uppercase{text-transform:uppercase;letter-spacing:.025rem}.mc-button--is-active,.mc-button.nuxt-link-active{color:var(--mc-button-active-text-color);background-color:transparent;border-color:transparent;pointer-events:none}.mc-button--rounded{border-radius:50%}.mc-button--semi-rounded{border-radius:50px}.mc-button--full-width{width:100%}.mc-button--text-align-left{justify-content:flex-start}.mc-button--text-align-center{justify-content:center}.mc-button--text-align-right{justify-content:flex-end}.mc-button--loading,.mc-button--icon-loading,.mc-button--disabled{pointer-events:none}.mc-button--loading .mc-button__loader{display:inline-block}.mc-button--loading>*:not(.mc-button__loader){opacity:0}.mc-button--icon-loading .mc-button__append .mc-svg-icon,.mc-button--icon-loading .mc-button__prepend .mc-svg-icon{animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button--icon-loading .mc-button__loader{transform-origin:center center;animation:rotate 1.2s infinite cubic-bezier(.55,0,.1,1)}.mc-button--disabled{color:#c7ccd1;cursor:not-allowed}.mc-button--disabled .mc-button__background{background-color:#edf0f3;border-color:#edf0f3}.mc-button--inactive{pointer-events:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mc-drawer-container{position:fixed;inset:0;pointer-events:none}.mc-drawer-container__item{transition:transform .25s ease
|
|
1
|
+
.mc-drawer-container{position:fixed;inset:0;pointer-events:none}.mc-drawer-container__item{transition:transform .25s ease}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FontWeights as
|
|
3
|
-
import { useTooltip as
|
|
4
|
-
import { TooltipPositions as
|
|
5
|
-
import { ButtonModifiers as
|
|
6
|
-
import { useTheme as
|
|
7
|
-
|
|
1
|
+
import { defineComponent as F, defineAsyncComponent as M, inject as I, computed as a, ref as h, onMounted as N, withDirectives as O, openBlock as i, createBlock as D, resolveDynamicComponent as E, mergeProps as H, withCtx as W, createElementBlock as u, renderSlot as f, createCommentVNode as d, createVNode as K, unref as k, getCurrentInstance as R } from "vue";
|
|
2
|
+
import { FontWeights as j } from "../../../types/styles/FontWeights.js";
|
|
3
|
+
import { useTooltip as q } from "../../../composables/useTooltip2.js";
|
|
4
|
+
import { TooltipPositions as G, TooltipSizes as J } from "../../../enums/Tooltip2.js";
|
|
5
|
+
import { ButtonModifiers as l } from "../../../enums/ui/Button2.js";
|
|
6
|
+
import { useTheme as Q } from "../../../composables/useTheme2.js";
|
|
7
|
+
import { adaptiveAdditionalProps as U, adaptivePropsParams as X, adaptivePropsSizes as Y } from "../../../utils/mcButtonAdaptiveProps2.js";
|
|
8
|
+
import { useHelper as Z } from "../../../composables/useHelper2.js";
|
|
9
|
+
const tt = {
|
|
8
10
|
key: 0,
|
|
9
11
|
class: "mc-button__prepend"
|
|
10
|
-
},
|
|
12
|
+
}, et = {
|
|
11
13
|
key: 1,
|
|
12
14
|
class: "mc-button__loader"
|
|
13
|
-
},
|
|
15
|
+
}, ot = {
|
|
14
16
|
key: 2,
|
|
15
17
|
class: "mc-button__text"
|
|
16
|
-
},
|
|
18
|
+
}, nt = {
|
|
17
19
|
key: 3,
|
|
18
20
|
class: "mc-button__append"
|
|
19
|
-
},
|
|
21
|
+
}, at = {
|
|
20
22
|
key: 4,
|
|
21
23
|
class: "mc-button__background"
|
|
22
|
-
},
|
|
24
|
+
}, mt = /* @__PURE__ */ F({
|
|
23
25
|
__name: "McButton",
|
|
24
26
|
props: {
|
|
25
27
|
/**
|
|
@@ -90,6 +92,7 @@ const J = {
|
|
|
90
92
|
* Размеры:
|
|
91
93
|
* `xs, xs-compact, s, s-compact, m, m-compact, l, l-compact`
|
|
92
94
|
*/
|
|
95
|
+
...U,
|
|
93
96
|
size: {
|
|
94
97
|
type: String,
|
|
95
98
|
default: "m"
|
|
@@ -217,23 +220,31 @@ const J = {
|
|
|
217
220
|
}
|
|
218
221
|
},
|
|
219
222
|
emits: ["blur", "click"],
|
|
220
|
-
setup(
|
|
221
|
-
const _ =
|
|
223
|
+
setup(p, { emit: B }) {
|
|
224
|
+
const _ = M(() => import("../McSvgIcon/McSvgIcon.vue.js")), C = Z(), m = I("dsOptions", {}), S = q(), w = a(() => {
|
|
222
225
|
let e = {};
|
|
223
226
|
return t.tooltip && (e = {
|
|
224
227
|
content: t.tooltip,
|
|
225
|
-
size:
|
|
226
|
-
placement: t.tooltipPlacement ||
|
|
228
|
+
size: J.M,
|
|
229
|
+
placement: t.tooltipPlacement || G.Top
|
|
227
230
|
}), e;
|
|
228
|
-
}), t =
|
|
229
|
-
|
|
231
|
+
}), t = p, r = Q("button"), x = h(null), b = h(!1), y = B, $ = a(() => {
|
|
232
|
+
const e = {};
|
|
233
|
+
return X.forEach((o) => {
|
|
234
|
+
Y.forEach((n) => {
|
|
235
|
+
const c = t[`${o}${C.upperFirst(n)}`];
|
|
236
|
+
e[`mc-button--${o}-${n}-${c}`] = !!c;
|
|
237
|
+
});
|
|
238
|
+
}), e;
|
|
239
|
+
}), T = a(() => ({
|
|
230
240
|
[`mc-button--size-${t.size}`]: !!t.size,
|
|
241
|
+
[`mc-button--variation-${t.variation}`]: !!t.variation,
|
|
231
242
|
[`mc-button--text-align-${t.textAlign}`]: !!t.textAlign,
|
|
232
243
|
"mc-button--loading": t.loading,
|
|
233
244
|
"mc-button--icon-loading": t.iconLoading,
|
|
234
245
|
"mc-button--is-active": t.isActive,
|
|
235
246
|
"mc-button--disabled": t.disabled,
|
|
236
|
-
"mc-button--rounded": t.rounded
|
|
247
|
+
"mc-button--rounded": t.rounded,
|
|
237
248
|
"mc-button--semi-rounded": t.semiRounded,
|
|
238
249
|
"mc-button--full-width": t.fullWidth,
|
|
239
250
|
"mc-button--uppercase": t.uppercase,
|
|
@@ -241,36 +252,37 @@ const J = {
|
|
|
241
252
|
"mc-button--secondary-color": !!t.secondaryColor,
|
|
242
253
|
"mc-button--underline-link": t.underlineLink,
|
|
243
254
|
"mc-button--bg-flat": t.bgFlat,
|
|
244
|
-
[`mc-button--type-${
|
|
245
|
-
"mc-button--inactive": t.inactive
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
case
|
|
252
|
-
case
|
|
253
|
-
case
|
|
255
|
+
[`mc-button--type-${s.value.type}`]: !!s.value.type,
|
|
256
|
+
"mc-button--inactive": t.inactive,
|
|
257
|
+
...$.value
|
|
258
|
+
})), v = a(() => t.variation || r.component.variation), s = a(() => {
|
|
259
|
+
const e = v.value, o = e.split("-"), n = o[o.length - 1];
|
|
260
|
+
let c = e.replace(`-${n}`, "");
|
|
261
|
+
switch (n) {
|
|
262
|
+
case l.Link:
|
|
263
|
+
case l.Flat:
|
|
264
|
+
case l.Outline:
|
|
265
|
+
case l.Invert:
|
|
254
266
|
break;
|
|
255
267
|
default: {
|
|
256
|
-
|
|
268
|
+
c = e;
|
|
257
269
|
break;
|
|
258
270
|
}
|
|
259
271
|
}
|
|
260
272
|
return {
|
|
261
|
-
color:
|
|
262
|
-
type:
|
|
273
|
+
color: c,
|
|
274
|
+
type: n
|
|
263
275
|
};
|
|
264
|
-
}),
|
|
265
|
-
let e, o,
|
|
266
|
-
switch (
|
|
267
|
-
case
|
|
268
|
-
case
|
|
269
|
-
case
|
|
270
|
-
case
|
|
276
|
+
}), L = a(() => {
|
|
277
|
+
let e, o, n = t.activeTextColor || r.component.activeTextColor;
|
|
278
|
+
switch (s.value.type) {
|
|
279
|
+
case l.Link:
|
|
280
|
+
case l.Flat:
|
|
281
|
+
case l.Outline:
|
|
282
|
+
case l.Invert:
|
|
271
283
|
break;
|
|
272
284
|
default: {
|
|
273
|
-
switch (
|
|
285
|
+
switch (s.value.color) {
|
|
274
286
|
case "yellow":
|
|
275
287
|
case "white": {
|
|
276
288
|
e = "0.9";
|
|
@@ -285,17 +297,17 @@ const J = {
|
|
|
285
297
|
}
|
|
286
298
|
}
|
|
287
299
|
return {
|
|
288
|
-
"--mc-button-secondary-color": t.secondaryColor &&
|
|
289
|
-
"--mc-button-background-color":
|
|
290
|
-
"--mc-button-active-text-color":
|
|
291
|
-
"--mc-button-font-weight": t.weight &&
|
|
300
|
+
"--mc-button-secondary-color": t.secondaryColor && r.colors[t.secondaryColor],
|
|
301
|
+
"--mc-button-background-color": v.value && r.colors[s.value.color],
|
|
302
|
+
"--mc-button-active-text-color": n && r.colors[n],
|
|
303
|
+
"--mc-button-font-weight": t.weight && j[t.weight],
|
|
292
304
|
"--mc-button-hover-brightness": e,
|
|
293
|
-
"--mc-button-text-color": o &&
|
|
305
|
+
"--mc-button-text-color": o && r.colors[o]
|
|
294
306
|
};
|
|
295
|
-
}),
|
|
307
|
+
}), P = a(() => {
|
|
296
308
|
const e = "a";
|
|
297
309
|
return t.to || t.href ? e : t.defaultTag;
|
|
298
|
-
}), g = a(() =>
|
|
310
|
+
}), g = a(() => s.value.type === l.Link), A = a(() => {
|
|
299
311
|
let e = {
|
|
300
312
|
href: t.href || t.to,
|
|
301
313
|
disabled: !1,
|
|
@@ -305,48 +317,48 @@ const J = {
|
|
|
305
317
|
};
|
|
306
318
|
return (t.disabled || t.loading) && (e.disabled = !0), g.value && (e.rel = "noreferrer"), e;
|
|
307
319
|
}), z = (e) => {
|
|
308
|
-
|
|
309
|
-
},
|
|
320
|
+
y("blur", e);
|
|
321
|
+
}, V = (e) => {
|
|
310
322
|
if (!((t.to || t.href) && (e.metaKey || e.ctrlKey))) {
|
|
311
|
-
if (e.preventDefault(),
|
|
312
|
-
t.to ?
|
|
323
|
+
if (e.preventDefault(), b.value) return y("click", e, t);
|
|
324
|
+
t.to ? m?.meta?.router_push && m.meta.router_push(t.to) : window.open(t.href, t.target);
|
|
313
325
|
}
|
|
314
326
|
};
|
|
315
|
-
return
|
|
316
|
-
const o =
|
|
317
|
-
|
|
318
|
-
}), (e, o) =>
|
|
319
|
-
class: ["mc-button",
|
|
320
|
-
exact:
|
|
321
|
-
style:
|
|
327
|
+
return N(() => {
|
|
328
|
+
const o = R()?.vnode;
|
|
329
|
+
b.value = !!o?.props?.onClick;
|
|
330
|
+
}), (e, o) => O((i(), D(E(P.value), H({ ref: x.value }, { ...A.value }, {
|
|
331
|
+
class: ["mc-button", T.value],
|
|
332
|
+
exact: p.exact,
|
|
333
|
+
style: L.value,
|
|
322
334
|
onBlur: z,
|
|
323
|
-
onClick:
|
|
335
|
+
onClick: V
|
|
324
336
|
}), {
|
|
325
337
|
default: W(() => [
|
|
326
|
-
e.$slots["icon-prepend"] ? (
|
|
327
|
-
|
|
328
|
-
])) :
|
|
329
|
-
|
|
330
|
-
|
|
338
|
+
e.$slots["icon-prepend"] ? (i(), u("span", tt, [
|
|
339
|
+
f(e.$slots, "icon-prepend")
|
|
340
|
+
])) : d("", !0),
|
|
341
|
+
p.loading ? (i(), u("span", et, [
|
|
342
|
+
K(k(_), {
|
|
331
343
|
class: "mc-button__loader-icon",
|
|
332
344
|
type: "div",
|
|
333
345
|
name: "loader"
|
|
334
346
|
})
|
|
335
|
-
])) :
|
|
336
|
-
e.$slots.default ? (
|
|
337
|
-
|
|
338
|
-
])) :
|
|
339
|
-
e.$slots["icon-append"] ? (
|
|
340
|
-
|
|
341
|
-
])) :
|
|
342
|
-
g.value ?
|
|
347
|
+
])) : d("", !0),
|
|
348
|
+
e.$slots.default ? (i(), u("span", ot, [
|
|
349
|
+
f(e.$slots, "default")
|
|
350
|
+
])) : d("", !0),
|
|
351
|
+
e.$slots["icon-append"] ? (i(), u("span", nt, [
|
|
352
|
+
f(e.$slots, "icon-append")
|
|
353
|
+
])) : d("", !0),
|
|
354
|
+
g.value ? d("", !0) : (i(), u("div", at))
|
|
343
355
|
]),
|
|
344
356
|
_: 3
|
|
345
357
|
}, 16, ["class", "exact", "style"])), [
|
|
346
|
-
[k(
|
|
358
|
+
[k(S), w.value]
|
|
347
359
|
]);
|
|
348
360
|
}
|
|
349
361
|
});
|
|
350
362
|
export {
|
|
351
|
-
|
|
363
|
+
mt as default
|
|
352
364
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as P, computed as
|
|
1
|
+
import { defineComponent as C, defineAsyncComponent as P, computed as i, onMounted as g, onBeforeUnmount as S, openBlock as a, createElementBlock as f, normalizeStyle as V, Fragment as x, renderList as b, createBlock as m, unref as k, mergeProps as _, withCtx as p, Suspense as D, createVNode as E, resolveDynamicComponent as I } from "vue";
|
|
2
2
|
import M from "../McDrawerSafeComponent.vue.js";
|
|
3
3
|
const O = /* @__PURE__ */ C({
|
|
4
4
|
__name: "McDrawerContainer",
|
|
@@ -21,27 +21,27 @@ const O = /* @__PURE__ */ C({
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
setup(y) {
|
|
24
|
-
const w = P(() => import("../McDrawer.vue.js")), l = y, o =
|
|
25
|
-
const e = o.value.length - 1 - t, s = Math.min(e, l.drawersMaxInCascade - 1),
|
|
24
|
+
const w = P(() => import("../McDrawer.vue.js")), l = y, o = i(() => l.reactiveProps.drawers ?? []), n = i(() => o.value.map((r, t) => {
|
|
25
|
+
const e = o.value.filter((c) => c.modelValue).length - 1 - t, s = Math.min(e, l.drawersMaxInCascade - 1), u = o.value.findLastIndex(
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
// eslint-disable-next-line no-prototype-builtins
|
|
28
|
-
(
|
|
28
|
+
(c) => !c?.drawerProps.hasOwnProperty("showOverlay") || c.drawerProps?.showOverlay
|
|
29
29
|
);
|
|
30
30
|
return {
|
|
31
31
|
...r,
|
|
32
32
|
indent_coefficient: e,
|
|
33
33
|
real_coefficient: s,
|
|
34
34
|
indent: s * l.drawersCascadeIndent,
|
|
35
|
-
can_show_overlay: t ===
|
|
35
|
+
can_show_overlay: t === u
|
|
36
36
|
};
|
|
37
|
-
})), h =
|
|
37
|
+
})), h = i(() => ({
|
|
38
38
|
zIndex: o.value.length ? 10004 : -1,
|
|
39
39
|
visibility: o.value.length ? "visible" : "hidden"
|
|
40
|
-
})),
|
|
40
|
+
})), d = (r) => {
|
|
41
41
|
r.close(), setTimeout(() => {
|
|
42
42
|
n.value.every((t) => !t.modelValue) && l.drawerServiceState.closeServiceState();
|
|
43
43
|
}, r?.drawerProps?.duration || 300);
|
|
44
|
-
},
|
|
44
|
+
}, v = (r) => {
|
|
45
45
|
if (r.code === "Escape" && n.value?.length) {
|
|
46
46
|
const t = n.value[n.value.length - 1];
|
|
47
47
|
if (t.drawerProps?.disableBgClick) return;
|
|
@@ -49,32 +49,32 @@ const O = /* @__PURE__ */ C({
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
return g(() => {
|
|
52
|
-
document.addEventListener("keyup",
|
|
52
|
+
document.addEventListener("keyup", v);
|
|
53
53
|
}), S(() => {
|
|
54
|
-
document.removeEventListener("keyup",
|
|
54
|
+
document.removeEventListener("keyup", v);
|
|
55
55
|
}), (r, t) => (a(), f("div", {
|
|
56
56
|
class: "mc-drawer-container",
|
|
57
|
-
style:
|
|
57
|
+
style: V(h.value)
|
|
58
58
|
}, [
|
|
59
|
-
(a(!0), f(
|
|
59
|
+
(a(!0), f(x, null, b(n.value, (e, s) => (a(), m(k(w), _({
|
|
60
60
|
key: e.id,
|
|
61
61
|
modelValue: e.modelValue,
|
|
62
|
-
"onUpdate:modelValue": (
|
|
62
|
+
"onUpdate:modelValue": (u) => e.modelValue = u
|
|
63
63
|
}, { ref_for: !0 }, e.drawerProps, {
|
|
64
64
|
"show-overlay": e.can_show_overlay,
|
|
65
|
-
onClose: () =>
|
|
65
|
+
onClose: () => d(e),
|
|
66
66
|
class: ["mc-drawer-container__item", { "mc-drawer-container__item--multiple": n.value.length - 1 !== s }],
|
|
67
67
|
style: e.indent ? { transform: `translateX(-${e.indent}px)` } : {}
|
|
68
68
|
}), {
|
|
69
|
-
default:
|
|
70
|
-
(a(),
|
|
71
|
-
default:
|
|
69
|
+
default: p(() => [
|
|
70
|
+
(a(), m(D, null, {
|
|
71
|
+
default: p(() => [
|
|
72
72
|
E(M, {
|
|
73
|
-
onErrorCaptured: () =>
|
|
73
|
+
onErrorCaptured: () => d(e)
|
|
74
74
|
}, {
|
|
75
|
-
default:
|
|
76
|
-
(a(),
|
|
77
|
-
onCloseDrawer: () =>
|
|
75
|
+
default: p(() => [
|
|
76
|
+
(a(), m(I(e.component), _({ ref_for: !0 }, e.componentProps, {
|
|
77
|
+
onCloseDrawer: () => d(e)
|
|
78
78
|
}), null, 16, ["onCloseDrawer"]))
|
|
79
79
|
]),
|
|
80
80
|
_: 2
|
|
@@ -4,74 +4,6 @@ import { ButtonVariationUnion, ButtonSizeUnion, ButtonTypeUnion } from '../../..
|
|
|
4
4
|
import { HorizontalAlignmentUnion } from '../../../types/styles/Alignment';
|
|
5
5
|
import { WeightsUnion } from '../../../types/styles/Weights';
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
-
/**
|
|
8
|
-
* Если нужна ссылка внутри приложения:
|
|
9
|
-
*/
|
|
10
|
-
to: {
|
|
11
|
-
type: PropType<string>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Если нужна обычная ссылка:
|
|
15
|
-
* `https://mediacube.agency/`
|
|
16
|
-
*/
|
|
17
|
-
href: {
|
|
18
|
-
type: PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
target: {
|
|
21
|
-
type: PropType<"_self" | "_blank">;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Отключенное состояние
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
disabled: {
|
|
29
|
-
type: PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Дизэйблить не меняя внешнего вида
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
inactive: {
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Индикация загрузки
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
loading: {
|
|
45
|
-
type: PropType<boolean>;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Индикация загрузки
|
|
50
|
-
* вращением иконки
|
|
51
|
-
*/
|
|
52
|
-
iconLoading: {
|
|
53
|
-
type: PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Типы:
|
|
58
|
-
* `button, submit, reset`
|
|
59
|
-
*/
|
|
60
|
-
type: {
|
|
61
|
-
type: () => ButtonTypeUnion;
|
|
62
|
-
default: null;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Дизайн:
|
|
66
|
-
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
67
|
-
*/
|
|
68
|
-
variation: {
|
|
69
|
-
type: () => ButtonVariationUnion;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Размеры:
|
|
73
|
-
* `xs, xs-compact, s, s-compact, m, m-compact, l, l-compact`
|
|
74
|
-
*/
|
|
75
7
|
size: {
|
|
76
8
|
type: () => ButtonSizeUnion;
|
|
77
9
|
default: string;
|
|
@@ -197,10 +129,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
197
129
|
tabindex: {
|
|
198
130
|
type: (StringConstructor | NumberConstructor)[];
|
|
199
131
|
};
|
|
200
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
201
|
-
click: (...args: any[]) => void;
|
|
202
|
-
blur: (...args: any[]) => void;
|
|
203
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
204
132
|
/**
|
|
205
133
|
* Если нужна ссылка внутри приложения:
|
|
206
134
|
*/
|
|
@@ -265,10 +193,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
265
193
|
variation: {
|
|
266
194
|
type: () => ButtonVariationUnion;
|
|
267
195
|
};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
196
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
197
|
+
click: (...args: any[]) => void;
|
|
198
|
+
blur: (...args: any[]) => void;
|
|
199
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
272
200
|
size: {
|
|
273
201
|
type: () => ButtonSizeUnion;
|
|
274
202
|
default: string;
|
|
@@ -394,6 +322,70 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
394
322
|
tabindex: {
|
|
395
323
|
type: (StringConstructor | NumberConstructor)[];
|
|
396
324
|
};
|
|
325
|
+
/**
|
|
326
|
+
* Если нужна ссылка внутри приложения:
|
|
327
|
+
*/
|
|
328
|
+
to: {
|
|
329
|
+
type: PropType<string>;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Если нужна обычная ссылка:
|
|
333
|
+
* `https://mediacube.agency/`
|
|
334
|
+
*/
|
|
335
|
+
href: {
|
|
336
|
+
type: PropType<string>;
|
|
337
|
+
};
|
|
338
|
+
target: {
|
|
339
|
+
type: PropType<"_self" | "_blank">;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Отключенное состояние
|
|
344
|
+
*
|
|
345
|
+
*/
|
|
346
|
+
disabled: {
|
|
347
|
+
type: PropType<boolean>;
|
|
348
|
+
default: boolean;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Дизэйблить не меняя внешнего вида
|
|
352
|
+
*
|
|
353
|
+
*/
|
|
354
|
+
inactive: {
|
|
355
|
+
type: PropType<boolean>;
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Индикация загрузки
|
|
360
|
+
*
|
|
361
|
+
*/
|
|
362
|
+
loading: {
|
|
363
|
+
type: PropType<boolean>;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Индикация загрузки
|
|
368
|
+
* вращением иконки
|
|
369
|
+
*/
|
|
370
|
+
iconLoading: {
|
|
371
|
+
type: PropType<boolean>;
|
|
372
|
+
default: boolean;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Типы:
|
|
376
|
+
* `button, submit, reset`
|
|
377
|
+
*/
|
|
378
|
+
type: {
|
|
379
|
+
type: () => ButtonTypeUnion;
|
|
380
|
+
default: null;
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Дизайн:
|
|
384
|
+
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
385
|
+
*/
|
|
386
|
+
variation: {
|
|
387
|
+
type: () => ButtonVariationUnion;
|
|
388
|
+
};
|
|
397
389
|
}>> & Readonly<{
|
|
398
390
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
399
391
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,38 +1,5 @@
|
|
|
1
1
|
declare const McButton: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
to: {
|
|
4
|
-
type: import('vue').PropType<string>;
|
|
5
|
-
};
|
|
6
|
-
href: {
|
|
7
|
-
type: import('vue').PropType<string>;
|
|
8
|
-
};
|
|
9
|
-
target: {
|
|
10
|
-
type: import('vue').PropType<"_self" | "_blank">;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
disabled: {
|
|
14
|
-
type: import('vue').PropType<boolean>;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
inactive: {
|
|
18
|
-
type: import('vue').PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
loading: {
|
|
22
|
-
type: import('vue').PropType<boolean>;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
iconLoading: {
|
|
26
|
-
type: import('vue').PropType<boolean>;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
type: {
|
|
30
|
-
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
31
|
-
default: null;
|
|
32
|
-
};
|
|
33
|
-
variation: {
|
|
34
|
-
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
35
|
-
};
|
|
36
3
|
size: {
|
|
37
4
|
type: () => import('../../../types/IButton').ButtonSizeUnion;
|
|
38
5
|
default: string;
|
|
@@ -103,6 +70,39 @@ declare const McButton: {
|
|
|
103
70
|
tabindex: {
|
|
104
71
|
type: (StringConstructor | NumberConstructor)[];
|
|
105
72
|
};
|
|
73
|
+
to: {
|
|
74
|
+
type: import('vue').PropType<string>;
|
|
75
|
+
};
|
|
76
|
+
href: {
|
|
77
|
+
type: import('vue').PropType<string>;
|
|
78
|
+
};
|
|
79
|
+
target: {
|
|
80
|
+
type: import('vue').PropType<"_self" | "_blank">;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: import('vue').PropType<boolean>;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
inactive: {
|
|
88
|
+
type: import('vue').PropType<boolean>;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
loading: {
|
|
92
|
+
type: import('vue').PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
iconLoading: {
|
|
96
|
+
type: import('vue').PropType<boolean>;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
type: {
|
|
100
|
+
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
101
|
+
default: null;
|
|
102
|
+
};
|
|
103
|
+
variation: {
|
|
104
|
+
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
105
|
+
};
|
|
106
106
|
}>> & Readonly<{
|
|
107
107
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -140,39 +140,6 @@ declare const McButton: {
|
|
|
140
140
|
M: {};
|
|
141
141
|
Defaults: {};
|
|
142
142
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
143
|
-
to: {
|
|
144
|
-
type: import('vue').PropType<string>;
|
|
145
|
-
};
|
|
146
|
-
href: {
|
|
147
|
-
type: import('vue').PropType<string>;
|
|
148
|
-
};
|
|
149
|
-
target: {
|
|
150
|
-
type: import('vue').PropType<"_self" | "_blank">;
|
|
151
|
-
default: string;
|
|
152
|
-
};
|
|
153
|
-
disabled: {
|
|
154
|
-
type: import('vue').PropType<boolean>;
|
|
155
|
-
default: boolean;
|
|
156
|
-
};
|
|
157
|
-
inactive: {
|
|
158
|
-
type: import('vue').PropType<boolean>;
|
|
159
|
-
default: boolean;
|
|
160
|
-
};
|
|
161
|
-
loading: {
|
|
162
|
-
type: import('vue').PropType<boolean>;
|
|
163
|
-
default: boolean;
|
|
164
|
-
};
|
|
165
|
-
iconLoading: {
|
|
166
|
-
type: import('vue').PropType<boolean>;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
type: {
|
|
170
|
-
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
171
|
-
default: null;
|
|
172
|
-
};
|
|
173
|
-
variation: {
|
|
174
|
-
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
175
|
-
};
|
|
176
143
|
size: {
|
|
177
144
|
type: () => import('../../../types/IButton').ButtonSizeUnion;
|
|
178
145
|
default: string;
|
|
@@ -243,6 +210,39 @@ declare const McButton: {
|
|
|
243
210
|
tabindex: {
|
|
244
211
|
type: (StringConstructor | NumberConstructor)[];
|
|
245
212
|
};
|
|
213
|
+
to: {
|
|
214
|
+
type: import('vue').PropType<string>;
|
|
215
|
+
};
|
|
216
|
+
href: {
|
|
217
|
+
type: import('vue').PropType<string>;
|
|
218
|
+
};
|
|
219
|
+
target: {
|
|
220
|
+
type: import('vue').PropType<"_self" | "_blank">;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
223
|
+
disabled: {
|
|
224
|
+
type: import('vue').PropType<boolean>;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
inactive: {
|
|
228
|
+
type: import('vue').PropType<boolean>;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
loading: {
|
|
232
|
+
type: import('vue').PropType<boolean>;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
235
|
+
iconLoading: {
|
|
236
|
+
type: import('vue').PropType<boolean>;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
type: {
|
|
240
|
+
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
241
|
+
default: null;
|
|
242
|
+
};
|
|
243
|
+
variation: {
|
|
244
|
+
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
245
|
+
};
|
|
246
246
|
}>> & Readonly<{
|
|
247
247
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
248
248
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -274,39 +274,6 @@ declare const McButton: {
|
|
|
274
274
|
__isTeleport?: undefined;
|
|
275
275
|
__isSuspense?: undefined;
|
|
276
276
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
277
|
-
to: {
|
|
278
|
-
type: import('vue').PropType<string>;
|
|
279
|
-
};
|
|
280
|
-
href: {
|
|
281
|
-
type: import('vue').PropType<string>;
|
|
282
|
-
};
|
|
283
|
-
target: {
|
|
284
|
-
type: import('vue').PropType<"_self" | "_blank">;
|
|
285
|
-
default: string;
|
|
286
|
-
};
|
|
287
|
-
disabled: {
|
|
288
|
-
type: import('vue').PropType<boolean>;
|
|
289
|
-
default: boolean;
|
|
290
|
-
};
|
|
291
|
-
inactive: {
|
|
292
|
-
type: import('vue').PropType<boolean>;
|
|
293
|
-
default: boolean;
|
|
294
|
-
};
|
|
295
|
-
loading: {
|
|
296
|
-
type: import('vue').PropType<boolean>;
|
|
297
|
-
default: boolean;
|
|
298
|
-
};
|
|
299
|
-
iconLoading: {
|
|
300
|
-
type: import('vue').PropType<boolean>;
|
|
301
|
-
default: boolean;
|
|
302
|
-
};
|
|
303
|
-
type: {
|
|
304
|
-
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
305
|
-
default: null;
|
|
306
|
-
};
|
|
307
|
-
variation: {
|
|
308
|
-
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
309
|
-
};
|
|
310
277
|
size: {
|
|
311
278
|
type: () => import('../../../types/IButton').ButtonSizeUnion;
|
|
312
279
|
default: string;
|
|
@@ -377,6 +344,39 @@ declare const McButton: {
|
|
|
377
344
|
tabindex: {
|
|
378
345
|
type: (StringConstructor | NumberConstructor)[];
|
|
379
346
|
};
|
|
347
|
+
to: {
|
|
348
|
+
type: import('vue').PropType<string>;
|
|
349
|
+
};
|
|
350
|
+
href: {
|
|
351
|
+
type: import('vue').PropType<string>;
|
|
352
|
+
};
|
|
353
|
+
target: {
|
|
354
|
+
type: import('vue').PropType<"_self" | "_blank">;
|
|
355
|
+
default: string;
|
|
356
|
+
};
|
|
357
|
+
disabled: {
|
|
358
|
+
type: import('vue').PropType<boolean>;
|
|
359
|
+
default: boolean;
|
|
360
|
+
};
|
|
361
|
+
inactive: {
|
|
362
|
+
type: import('vue').PropType<boolean>;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
365
|
+
loading: {
|
|
366
|
+
type: import('vue').PropType<boolean>;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
369
|
+
iconLoading: {
|
|
370
|
+
type: import('vue').PropType<boolean>;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
type: {
|
|
374
|
+
type: () => import('../../../types/IButton').ButtonTypeUnion;
|
|
375
|
+
default: null;
|
|
376
|
+
};
|
|
377
|
+
variation: {
|
|
378
|
+
type: () => import('../../../types/IButton').ButtonVariationUnion;
|
|
379
|
+
};
|
|
380
380
|
}>> & Readonly<{
|
|
381
381
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
382
382
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Media } from '../enums/ui/Media';
|
|
2
|
+
export declare const adaptivePropsParams: string[];
|
|
3
|
+
export declare const adaptivePropsSizes: Media[];
|
|
4
|
+
interface ComponentPropType {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
}
|
|
7
|
+
export declare const adaptiveAdditionalProps: {
|
|
8
|
+
[key: string]: ComponentPropType;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Media as i } from "../enums/ui/Media2.js";
|
|
2
|
+
const s = ["size"], r = Object.values(i), a = {};
|
|
3
|
+
s.forEach((o) => {
|
|
4
|
+
r.forEach((t) => {
|
|
5
|
+
a[`${o}-${t}`] = { type: String };
|
|
6
|
+
});
|
|
7
|
+
});
|
|
8
|
+
const p = a;
|
|
9
|
+
export {
|
|
10
|
+
p as adaptiveAdditionalProps,
|
|
11
|
+
s as adaptivePropsParams,
|
|
12
|
+
r as adaptivePropsSizes
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Media as i } from "../enums/ui/Media2.js";
|
|
2
|
+
const s = ["size"], r = Object.values(i), a = {};
|
|
3
|
+
s.forEach((o) => {
|
|
4
|
+
r.forEach((t) => {
|
|
5
|
+
a[`${o}-${t}`] = { type: String };
|
|
6
|
+
});
|
|
7
|
+
});
|
|
8
|
+
const p = a;
|
|
9
|
+
export {
|
|
10
|
+
p as adaptiveAdditionalProps,
|
|
11
|
+
s as adaptivePropsParams,
|
|
12
|
+
r as adaptivePropsSizes
|
|
13
|
+
};
|