@kumori/aurora-wui-components 0.0.300-dev4490.2 → 0.0.300-dev4490.3

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.
@@ -3,6 +3,7 @@ export declare class AxebowExpandableHeader extends LitElement {
3
3
  static styles: import('lit').CSSResult[];
4
4
  title: string;
5
5
  expanded: boolean;
6
+ alwaysActive: boolean;
6
7
  stateLabel: string;
7
8
  tooltipContent: string;
8
9
  onToggle?: (expanded: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-expandable-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-expandable-header/axebow-expandable-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uDAAuD,CAAC;AAC/D,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AAGvC,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAOX;IAE0B,KAAK,SAAM;IACV,QAAQ,UAAS;IAClB,UAAU,SAAM;IAChB,cAAc,SAAM;IAChB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvE,MAAM;CAwBP"}
1
+ {"version":3,"file":"axebow-expandable-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-expandable-header/axebow-expandable-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uDAAuD,CAAC;AAC/D,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AAGvC,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAOX;IAE0B,KAAK,SAAM;IACV,QAAQ,UAAS;IACjB,YAAY,UAAS;IACtB,UAAU,SAAM;IAChB,cAAc,SAAM;IAChB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvE,MAAM;CAyBP"}
@@ -3,6 +3,7 @@ export declare class AxebowHyperlinkSwitch extends LitElement {
3
3
  static styles: import('lit').CSSResult[];
4
4
  text: string;
5
5
  checked: boolean;
6
+ alwaysActive: boolean;
6
7
  color: string;
7
8
  hoverColor: string;
8
9
  fontSize: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-hyperlink-switch.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-hyperlink-switch/axebow-hyperlink-switch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,OAAO,yDAAyD,CAAC;AACjE,OAAO,mCAAmC,CAAC;AAE3C,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,4BAOX;IAE0B,IAAI,SAAM;IACT,OAAO,UAAS;IACjB,KAAK,SAA4B;IACjC,UAAU,SAAwB;IAClC,QAAQ,SAAc;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAEtE,OAAO,CAAC,aAAa;IAerB,MAAM;CAeP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,yBAAyB,EAAE,qBAAqB,CAAC;KAClD;CACF"}
1
+ {"version":3,"file":"axebow-hyperlink-switch.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-hyperlink-switch/axebow-hyperlink-switch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,OAAO,yDAAyD,CAAC;AACjE,OAAO,mCAAmC,CAAC;AAE3C,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,4BAOX;IAE0B,IAAI,SAAM;IACT,OAAO,UAAS;IAChB,YAAY,UAAS;IACtB,KAAK,SAA4B;IACjC,UAAU,SAAwB;IAClC,QAAQ,SAAc;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAEtE,OAAO,CAAC,aAAa;IAerB,MAAM;CAiBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,yBAAyB,EAAE,qBAAqB,CAAC;KAClD;CACF"}
package/dist/index.js CHANGED
@@ -9741,6 +9741,7 @@ var AxebowHyperlinkSwitch = class AxebowHyperlinkSwitch extends LitElement {
9741
9741
  super(..._args);
9742
9742
  this.text = "";
9743
9743
  this.checked = false;
9744
+ this.alwaysActive = false;
9744
9745
  this.color = "var(--axebow-tertiary)";
9745
9746
  this.hoverColor = "var(--axebow-gray)";
9746
9747
  this.fontSize = "0.875rem";
@@ -9764,13 +9765,14 @@ var AxebowHyperlinkSwitch = class AxebowHyperlinkSwitch extends LitElement {
9764
9765
  </div>` : toggle;
9765
9766
  }
9766
9767
  render() {
9768
+ const active = this.alwaysActive || this.checked;
9767
9769
  return html`
9768
9770
  <div class="inline-flex items-center gap-2">
9769
9771
  <axebow-manage-hyperlinks
9770
- class="${this.checked ? "" : "opacity-50"}"
9772
+ class="${active ? "" : "opacity-50"}"
9771
9773
  .text=${this.text}
9772
- .color=${this.checked ? this.color : "var(--axebow-gray)"}
9773
- .hoverColor=${this.checked ? this.hoverColor : "var(--axebow-gray)"}
9774
+ .color=${active ? this.color : "var(--axebow-gray)"}
9775
+ .hoverColor=${active ? this.hoverColor : "var(--axebow-gray)"}
9774
9776
  .fontSize=${this.fontSize}
9775
9777
  .onClick=${() => this.onChange?.(!this.checked)}
9776
9778
  ></axebow-manage-hyperlinks>
@@ -9781,6 +9783,7 @@ var AxebowHyperlinkSwitch = class AxebowHyperlinkSwitch extends LitElement {
9781
9783
  };
9782
9784
  __decorate([property({ type: String })], AxebowHyperlinkSwitch.prototype, "text", void 0);
9783
9785
  __decorate([property({ type: Boolean })], AxebowHyperlinkSwitch.prototype, "checked", void 0);
9786
+ __decorate([property({ type: Boolean })], AxebowHyperlinkSwitch.prototype, "alwaysActive", void 0);
9784
9787
  __decorate([property({ type: String })], AxebowHyperlinkSwitch.prototype, "color", void 0);
9785
9788
  __decorate([property({ type: String })], AxebowHyperlinkSwitch.prototype, "hoverColor", void 0);
9786
9789
  __decorate([property({ type: String })], AxebowHyperlinkSwitch.prototype, "fontSize", void 0);
@@ -9795,6 +9798,7 @@ var AxebowExpandableHeader = class AxebowExpandableHeader extends LitElement {
9795
9798
  super(..._args);
9796
9799
  this.title = "";
9797
9800
  this.expanded = false;
9801
+ this.alwaysActive = false;
9798
9802
  this.stateLabel = "";
9799
9803
  this.tooltipContent = "";
9800
9804
  }
@@ -9815,6 +9819,7 @@ var AxebowExpandableHeader = class AxebowExpandableHeader extends LitElement {
9815
9819
  <axebow-hyperlink-switch
9816
9820
  .text=${this.title}
9817
9821
  .checked=${this.expanded}
9822
+ .alwaysActive=${this.alwaysActive}
9818
9823
  switchWidth="2.5rem"
9819
9824
  switchHeight="1.25rem"
9820
9825
  .onChange=${(checked) => this.onToggle?.(checked)}
@@ -9832,6 +9837,7 @@ var AxebowExpandableHeader = class AxebowExpandableHeader extends LitElement {
9832
9837
  };
9833
9838
  __decorate([property({ type: String })], AxebowExpandableHeader.prototype, "title", void 0);
9834
9839
  __decorate([property({ type: Boolean })], AxebowExpandableHeader.prototype, "expanded", void 0);
9840
+ __decorate([property({ type: Boolean })], AxebowExpandableHeader.prototype, "alwaysActive", void 0);
9835
9841
  __decorate([property({ type: String })], AxebowExpandableHeader.prototype, "stateLabel", void 0);
9836
9842
  __decorate([property({ type: String })], AxebowExpandableHeader.prototype, "tooltipContent", void 0);
9837
9843
  __decorate([property({ attribute: false })], AxebowExpandableHeader.prototype, "onToggle", void 0);