@duyluonganduin/acl-web-components 0.0.5 → 0.0.6
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.
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
`}};m5.styles=h`
|
|
540
540
|
:host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
|
|
541
541
|
:host(:not([active])) { display: none; }
|
|
542
|
-
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); }
|
|
542
|
+
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
|
|
543
543
|
`;let K=m5;b([r()],K.prototype,"value");b([k1()],K.prototype,"isActive");customElements.get("anduin-tabs")||customElements.define("anduin-tabs",O);customElements.get("anduin-tabs-list")||customElements.define("anduin-tabs-list",Y);customElements.get("anduin-tab-trigger")||customElements.define("anduin-tab-trigger",R);customElements.get("anduin-tab-content")||customElements.define("anduin-tab-content",K);var a4=Object.defineProperty,W1=(C,e,t,l)=>{for(var o=void 0,n=C.length-1,i;n>=0;n--)(i=C[n])&&(o=i(e,t,o)||o);return o&&a4(e,t,o),o};const c2="anduin-tag-close:click",s4={gray:"tag--light-gray",primary:"tag--light-primary",success:"tag--light-success",warning:"tag--light-warning",danger:"tag--light-danger",boldGray:"tag--bold-gray",boldPrimary:"tag--bold-primary",boldSuccess:"tag--bold-success",boldWarning:"tag--bold-warning",boldDanger:"tag--bold-danger",customAqua:"tag--custom-aqua",customBlue:"tag--custom-blue",customBlueGreen:"tag--custom-blue-green",customGreen:"tag--custom-green",customHotPink:"tag--custom-hot-pink",customIndigo:"tag--custom-indigo",customMagenta:"tag--custom-magenta",customOrange:"tag--custom-orange",customPink:"tag--custom-pink",customPurple:"tag--custom-purple",customRed:"tag--custom-red",customYellow:"tag--custom-yellow",customYellowGreen:"tag--custom-yellow-green",customYellowOrange:"tag--custom-yellow-orange"},d4={gray:"tag__icon--light-gray",primary:"tag__icon--light-primary",success:"tag__icon--light-success",warning:"tag__icon--light-warning",danger:"tag__icon--light-danger",boldGray:"tag__icon--bold-gray",boldPrimary:"tag__icon--bold-primary",boldSuccess:"tag__icon--bold-success",boldWarning:"tag__icon--bold-warning",boldDanger:"tag__icon--bold-danger",customRed:"tag__icon--custom-red",customBlue:"tag__icon--custom-blue",customIndigo:"tag__icon--custom-indigo",customPurple:"tag__icon--custom-purple",customGreen:"tag__icon--custom-green",customHotPink:"tag__icon--custom-hot-pink",customAqua:"tag__icon--custom-aqua",customOrange:"tag__icon--custom-orange",customYellowOrange:"tag__icon--custom-yellow-orange",customYellow:"tag__icon--custom-yellow",customYellowGreen:"tag__icon--custom-yellow-green",customMagenta:"tag__icon--custom-magenta",customBlueGreen:"tag__icon--custom-blue-green",customPink:"tag__icon--custom-pink"},V5=class V5 extends c{constructor(){super(...arguments),this.variant="gray",this.icon="",this.disabled=!1}render(){const e=s4[this.variant]||"tag--light-gray",t=d4[this.variant]||"tag__icon--light-gray";return d`
|
|
544
544
|
<div class="tag ${e} ${this.disabled?"tag--disabled":""}" part="tag">
|
|
545
545
|
${this.icon?d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>`:p}
|
|
@@ -2242,7 +2242,7 @@ const u5 = class u5 extends c {
|
|
|
2242
2242
|
u5.styles = h`
|
|
2243
2243
|
:host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
|
|
2244
2244
|
:host(:not([active])) { display: none; }
|
|
2245
|
-
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); }
|
|
2245
|
+
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
|
|
2246
2246
|
`;
|
|
2247
2247
|
let o1 = u5;
|
|
2248
2248
|
b([
|