@kumori/aurora-wui-components 0.0.137 → 0.0.138
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-action-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-action-banner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAE1C,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"axebow-card-action-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-action-banner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAE1C,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAWX;IAE0B,KAAK,SAAkB;IACtB,WAAW,UAAS;IACrB,eAAe,SAAM;IAEjD,MAAM;IAkBN,OAAO,CAAC,QAAQ;CAGjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-footer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yBAAyB,CAAC;AAEjC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAGX;IAE2B,UAAU,UAAS;IACnB,WAAW,UAAS;IACrB,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;IACpB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACzC,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAC1B,WAAW,SAAM;IAE7C,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-card-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-footer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yBAAyB,CAAC;AAEjC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAGX;IAE2B,UAAU,UAAS;IACnB,WAAW,UAAS;IACrB,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;IACpB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACzC,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAC1B,WAAW,SAAM;IAE7C,MAAM;IAyCN,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,SAAS;CAGlB"}
|
package/dist/index.js
CHANGED
|
@@ -3069,25 +3069,21 @@ var AxebowCardActionBanner = class AxebowCardActionBanner extends LitElement {
|
|
|
3069
3069
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
3070
3070
|
:host { display: block; }
|
|
3071
3071
|
.tertiary-bg { background-color: color-mix(in srgb, var(--axebow-tertiary) 10%, white); }
|
|
3072
|
+
.clickable { cursor: pointer; }
|
|
3073
|
+
.clickable:hover { background-color: var(--axebow-base); --axebow-tertiary: var(--axebow-gray); }
|
|
3072
3074
|
axebow-button::part(label) { color: var(--axebow-tertiary); font-weight: 600; display: flex; align-items: center; gap: 2px; }
|
|
3073
|
-
axebow-button::part(base) { height: auto; min-height: unset;
|
|
3075
|
+
axebow-button::part(base) { padding: 0; height: auto; min-height: unset; pointer-events: none; background-color: transparent; }
|
|
3074
3076
|
axebow-icon { display: inline-flex; align-items: center; line-height: 1; }
|
|
3075
3077
|
`];
|
|
3076
3078
|
}
|
|
3077
3079
|
render() {
|
|
3078
3080
|
return html`
|
|
3079
3081
|
<div
|
|
3080
|
-
class="${this.isPlainRole ? "" : "tertiary-bg"} flex items-center justify-
|
|
3082
|
+
class="${this.isPlainRole ? "" : "tertiary-bg clickable"} flex items-center justify-center gap-1 w-87 h-6.5 box-border px-3 text-sm text-center overflow-hidden"
|
|
3083
|
+
@click=${this.isPlainRole ? void 0 : this._onClick}
|
|
3081
3084
|
>
|
|
3082
3085
|
${this.isPlainRole ? html`<span class="text-(--axebow-gray)">${this.notAllowedLabel}</span>` : html`
|
|
3083
|
-
<axebow-button
|
|
3084
|
-
variant="text"
|
|
3085
|
-
size="small"
|
|
3086
|
-
hoverStyle="border"
|
|
3087
|
-
paddingLeft="0"
|
|
3088
|
-
paddingRight="0"
|
|
3089
|
-
@click=${this._onClick}
|
|
3090
|
-
>
|
|
3086
|
+
<axebow-button variant="text" size="small">
|
|
3091
3087
|
${this.label}
|
|
3092
3088
|
<axebow-icon iconName="arrow_forward" iconColor="var(--axebow-tertiary)" size="small"></axebow-icon>
|
|
3093
3089
|
</axebow-button>
|
|
@@ -3183,7 +3179,15 @@ var AxebowCardFooter = class AxebowCardFooter extends LitElement {
|
|
|
3183
3179
|
.moreActionsLabel=${this.moreActionsLabel}
|
|
3184
3180
|
@toggled=${this._onToggled}
|
|
3185
3181
|
></axebow-more-actions>
|
|
3186
|
-
` : showAction ? html`<axebow-button
|
|
3182
|
+
` : showAction ? html`<axebow-button
|
|
3183
|
+
variant="text"
|
|
3184
|
+
size="medium"
|
|
3185
|
+
hoverStyle="border"
|
|
3186
|
+
paddingLeft="0.5rem"
|
|
3187
|
+
paddingRight="0.5rem"
|
|
3188
|
+
@click=${this._onAction}
|
|
3189
|
+
>${this.actionLabel}</axebow-button
|
|
3190
|
+
>` : ""}
|
|
3187
3191
|
</div>
|
|
3188
3192
|
`;
|
|
3189
3193
|
}
|