@kumori/aurora-wui-components 0.0.269-dev4124.16 → 0.0.269-dev4124.18

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.
@@ -9,8 +9,6 @@ export declare class AxebowSummaryStepHeader extends LitElement {
9
9
  isEditing: boolean;
10
10
  editLabel: string;
11
11
  editingLabel: string;
12
- /** Whether the user has reached this step yet - unreached steps show greyed
13
- * out with no expand affordance, but still show their title/divider. */
14
12
  enabled: boolean;
15
13
  render(): import('lit-html').TemplateResult<1>;
16
14
  private _handleToggle;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-summary-step-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-summary/axebow-summary-step-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAIlD,OAAO,+BAA+B,CAAC;AACvC,OAAO,qEAAqE,CAAC;AAE7E,qBACa,uBAAwB,SAAQ,UAAU;IACrD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,SAAM;IACd,KAAK,UAAS;IACd,SAAS,UAAS;IAClB,OAAO,UAAQ;IACf,SAAS,UAAS;IACnB,SAAS,SAAU;IACnB,YAAY,SAAa;IACrD;6EACyE;IAC5C,OAAO,UAAQ;IAE5C,MAAM;IAmDN,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,WAAW;CAGpB"}
1
+ {"version":3,"file":"axebow-summary-step-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-summary/axebow-summary-step-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAIlD,OAAO,+BAA+B,CAAC;AAEvC,qBACa,uBAAwB,SAAQ,UAAU;IACrD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,SAAM;IACd,KAAK,UAAS;IACd,SAAS,UAAS;IAClB,OAAO,UAAQ;IACf,SAAS,UAAS;IACnB,SAAS,SAAU;IACnB,YAAY,SAAa;IACxB,OAAO,UAAQ;IAE5C,MAAM;IAoDN,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,WAAW;CAGpB"}
package/dist/index.js CHANGED
@@ -24,7 +24,6 @@ import "@shoelace-style/shoelace/dist/components/icon/icon.js";
24
24
  import "@shoelace-style/shoelace/dist/components/badge/badge.js";
25
25
  import "@shoelace-style/shoelace/dist/components/spinner/spinner.js";
26
26
  import { Chart } from "chart.js/auto";
27
- import "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";
28
27
  import "@shoelace-style/shoelace/dist/components/card/card.js";
29
28
  import "@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.js";
30
29
  //#region src/styles/axebow-theme.ts
@@ -10358,18 +10357,21 @@ var AxebowSummaryStepHeader = class AxebowSummaryStepHeader extends LitElement {
10358
10357
  <div class="flex gap-2 items-center justify-between">
10359
10358
  <div class="flex items-center gap-0.5 min-w-0">
10360
10359
  ${this.valid && this.enabled ? html`
10361
- <sl-icon-button
10362
- name="${this.collapsed ? "arrows-expand" : "arrows-collapse"}"
10363
- class="text-(--axebow-tertiary) shrink-0"
10360
+ <axebow-icon
10361
+ iconName="${this.collapsed ? "expand_all" : "collapse_all"}"
10362
+ iconColor="var(--axebow-tertiary)"
10363
+ size="md"
10364
+ clickable
10365
+ class="shrink-0"
10364
10366
  @click=${this._handleToggle}
10365
- ></sl-icon-button>
10367
+ ></axebow-icon>
10366
10368
  ` : ""}
10367
10369
  <h5
10368
10370
  class="my-2 min-w-0 flex-1 truncate text-base uppercase ${this.enabled ? "font-semibold" : "font-normal text-(--axebow-gray)"}"
10369
10371
  >
10370
10372
  STEP ${this.stepNumber}: ${this.stepTitle}
10371
10373
  </h5>
10372
- ${this.valid && this.enabled ? html`<axebow-icon
10374
+ ${this.valid && this.enabled && !this.isEditing ? html`<axebow-icon
10373
10375
  class="shrink-0"
10374
10376
  iconName="check_circle"
10375
10377
  iconColor="var(--axebow-success)"
@@ -10378,11 +10380,11 @@ var AxebowSummaryStepHeader = class AxebowSummaryStepHeader extends LitElement {
10378
10380
  </div>
10379
10381
  <div class="flex items-center gap-2 shrink-0">
10380
10382
  ${this.isEditing ? html`<span class="w-11.25 h-4.25 shrink-0 text-base text-(--axebow-gray)">${this.editingLabel}</span>` : ""}
10381
- ${this.enabled && this.valid && this.canEdit ? html`
10383
+ ${this.enabled && this.valid && this.canEdit && !this.isEditing ? html`
10382
10384
  <div
10383
- class="w-4.5 h-4.5 shrink-0 flex items-center justify-center ${this.isEditing ? "opacity-50" : "cursor-pointer"}"
10384
- title="${this.isEditing ? this.editingLabel : this.editLabel}"
10385
- @click=${this.isEditing ? void 0 : this._handleEdit}
10385
+ class="w-4.5 h-4.5 shrink-0 flex items-center justify-center cursor-pointer"
10386
+ title="${this.editLabel}"
10387
+ @click=${this._handleEdit}
10386
10388
  >
10387
10389
  <axebow-icon iconName="edit_square" iconColor="var(--axebow-tertiary)" size="md"></axebow-icon>
10388
10390
  </div>