@kumori/aurora-wui-components 0.0.298-dev4393.18 → 0.0.298-dev4393.19

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.
@@ -4,6 +4,7 @@ export declare class AxebowRoleTooltip extends LitElement {
4
4
  heading: string;
5
5
  items: string[];
6
6
  color: string;
7
+ boxSize: string;
7
8
  render(): import('lit-html').TemplateResult<1>;
8
9
  }
9
10
  //# sourceMappingURL=axebow-role-tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-role-tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-role-tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,wCAAwC,CAAC;AAEhD,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,4BAsBX;IAE0B,OAAO,SAAM;IACd,KAAK,EAAE,MAAM,EAAE,CAAM;IACpB,KAAK,SAA2B;IAE5D,MAAM;CAeP"}
1
+ {"version":3,"file":"axebow-role-tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-role-tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,wCAAwC,CAAC;AAEhD,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,4BAsBX;IAE0B,OAAO,SAAM;IACd,KAAK,EAAE,MAAM,EAAE,CAAM;IACpB,KAAK,SAA2B;IAChC,OAAO,SAAM;IAEzC,MAAM;CA2BP"}
package/dist/index.js CHANGED
@@ -6097,6 +6097,7 @@ var AxebowRoleTooltip = class AxebowRoleTooltip extends LitElement {
6097
6097
  this.heading = "";
6098
6098
  this.items = [];
6099
6099
  this.color = "var(--axebow-primary)";
6100
+ this.boxSize = "";
6100
6101
  }
6101
6102
  static {
6102
6103
  this.styles = [unsafeCSS(tailwind_default), css`
@@ -6130,7 +6131,17 @@ var AxebowRoleTooltip = class AxebowRoleTooltip extends LitElement {
6130
6131
  ${this.items.map((item) => html`<li>${item}</li>`)}
6131
6132
  </ul>
6132
6133
  </div>
6133
- <axebow-icon iconName="info" class="cursor-pointer" iconColor=${this.color}></axebow-icon>
6134
+ ${this.boxSize ? html`<div
6135
+ class="flex items-center justify-center not-italic"
6136
+ style="width: ${this.boxSize}; height: ${this.boxSize};"
6137
+ >
6138
+ <axebow-icon
6139
+ iconName="info"
6140
+ size=${this.boxSize}
6141
+ class="cursor-pointer leading-none"
6142
+ iconColor=${this.color}
6143
+ ></axebow-icon>
6144
+ </div>` : html`<axebow-icon iconName="info" class="cursor-pointer" iconColor=${this.color}></axebow-icon>`}
6134
6145
  </axebow-tooltip>
6135
6146
  `;
6136
6147
  }
@@ -6138,6 +6149,7 @@ var AxebowRoleTooltip = class AxebowRoleTooltip extends LitElement {
6138
6149
  __decorate([property({ type: String })], AxebowRoleTooltip.prototype, "heading", void 0);
6139
6150
  __decorate([property({ type: Array })], AxebowRoleTooltip.prototype, "items", void 0);
6140
6151
  __decorate([property({ type: String })], AxebowRoleTooltip.prototype, "color", void 0);
6152
+ __decorate([property({ type: String })], AxebowRoleTooltip.prototype, "boxSize", void 0);
6141
6153
  AxebowRoleTooltip = __decorate([customElement("axebow-role-tooltip")], AxebowRoleTooltip);
6142
6154
  //#endregion
6143
6155
  //#region src/components/cards/parts/axebow-card-header.ts