@kumori/aurora-wui-components 0.0.292-dev4292.2 → 0.0.292-dev4294
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-promotion-dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-promotion-dropdown/axebow-promotion-dropdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"axebow-promotion-dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-promotion-dropdown/axebow-promotion-dropdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGlD,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+DAA+D,CAAC;AACvE,OAAO,+DAA+D,CAAC;AAEvE,qBACa,uBAAwB,SAAQ,UAAU;IACrD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,aAAa,SAAM;IACpB,KAAK,EAAE,MAAM,EAAE,CAAM;IACpB,cAAc,SAAK;IACnB,aAAa,SAAK;IAClB,cAAc,SAAM;IAEhD,OAAO,CAAC,eAAe;IAKvB,MAAM;CAkCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,2BAA2B,EAAE,uBAAuB,CAAC;KACtD;CACF"}
|
package/dist/index.js
CHANGED
|
@@ -1519,22 +1519,7 @@ var AxebowPromotionDropdown = class AxebowPromotionDropdown extends LitElement {
|
|
|
1519
1519
|
this.redirectionUrl = "";
|
|
1520
1520
|
}
|
|
1521
1521
|
static {
|
|
1522
|
-
this.styles = [
|
|
1523
|
-
unsafeCSS(tailwind_default),
|
|
1524
|
-
axebowTheme,
|
|
1525
|
-
css`
|
|
1526
|
-
sl-checkbox::part(control) {
|
|
1527
|
-
border-radius: 9999px;
|
|
1528
|
-
}
|
|
1529
|
-
sl-dropdown[open] [slot='trigger'] {
|
|
1530
|
-
background-color: white;
|
|
1531
|
-
color: var(--axebow-primary);
|
|
1532
|
-
}
|
|
1533
|
-
sl-dropdown[open] [slot='trigger'] axebow-icon {
|
|
1534
|
-
--axebow-icon-color: var(--axebow-primary);
|
|
1535
|
-
}
|
|
1536
|
-
`
|
|
1537
|
-
];
|
|
1522
|
+
this.styles = [unsafeCSS(tailwind_default), axebowTheme];
|
|
1538
1523
|
}
|
|
1539
1524
|
_handleRedirect() {
|
|
1540
1525
|
if (!this.redirectionUrl) return;
|
|
@@ -1545,7 +1530,7 @@ var AxebowPromotionDropdown = class AxebowPromotionDropdown extends LitElement {
|
|
|
1545
1530
|
<sl-dropdown>
|
|
1546
1531
|
<div
|
|
1547
1532
|
slot="trigger"
|
|
1548
|
-
class="inline-flex items-center gap-2 h-10 px-3 rounded-md
|
|
1533
|
+
class="inline-flex items-center gap-2 h-10 px-3 rounded-md text-white cursor-pointer whitespace-nowrap"
|
|
1549
1534
|
>
|
|
1550
1535
|
<span class="text-base font-semibold">${this.promotionText}</span>
|
|
1551
1536
|
<axebow-icon iconName="keyboard_arrow_down" iconColor="white" size="md"></axebow-icon>
|
|
@@ -1555,7 +1540,7 @@ var AxebowPromotionDropdown = class AxebowPromotionDropdown extends LitElement {
|
|
|
1555
1540
|
${this.steps.map((step, index) => html`
|
|
1556
1541
|
<div class="flex items-center justify-between gap-2">
|
|
1557
1542
|
<div class="flex items-center gap-2 min-w-0">
|
|
1558
|
-
<span class="shrink-0 text-base font-semibold text-
|
|
1543
|
+
<span class="shrink-0 text-base font-semibold text-(--axebow-primary)">${index + 1}</span>
|
|
1559
1544
|
<span class="text-base text-black">${step}</span>
|
|
1560
1545
|
</div>
|
|
1561
1546
|
<sl-checkbox .checked=${index < this.completedSteps} disabled></sl-checkbox>
|
|
@@ -1563,12 +1548,7 @@ var AxebowPromotionDropdown = class AxebowPromotionDropdown extends LitElement {
|
|
|
1563
1548
|
`)}
|
|
1564
1549
|
</div>
|
|
1565
1550
|
<axebow-divider margin="0.75rem 0"></axebow-divider>
|
|
1566
|
-
<axebow-button
|
|
1567
|
-
variant="primary"
|
|
1568
|
-
fixedWidth="23rem"
|
|
1569
|
-
fixedHeight="2.5rem"
|
|
1570
|
-
@click=${() => this._handleRedirect()}
|
|
1571
|
-
>
|
|
1551
|
+
<axebow-button class="w-full" variant="primary" fixedHeight="2.5rem" @click=${() => this._handleRedirect()}>
|
|
1572
1552
|
${this.promotionText}
|
|
1573
1553
|
<axebow-icon iconName="open_in_new" size="md" slot="suffix"></axebow-icon>
|
|
1574
1554
|
</axebow-button>
|