@kumori/aurora-wui-components 0.0.232 → 0.0.233
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-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-tab-selector/axebow-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAGvC,qBACa,iBAAkB,SAAQ,UAAU;IACA,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"axebow-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-tab-selector/axebow-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAGvC,qBACa,iBAAkB,SAAQ,UAAU;IACA,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,UAAS;IAErC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,YAAY,CAAiB;IAE9C,OAAO,CAAC,SAAS,CAAiC;IAElD,MAAM,CAAC,MAAM,4BA4BX;IAEF,iBAAiB;IAOjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IASzD,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,UAAU;IAMlB,MAAM;CAiDP"}
|
package/dist/index.js
CHANGED
|
@@ -6874,6 +6874,7 @@ var AxebowTabSelector = class AxebowTabSelector extends LitElement {
|
|
|
6874
6874
|
constructor(..._args) {
|
|
6875
6875
|
super(..._args);
|
|
6876
6876
|
this.disabled = false;
|
|
6877
|
+
this.bordered = false;
|
|
6877
6878
|
this._activeTab = 0;
|
|
6878
6879
|
this._tabCount = 0;
|
|
6879
6880
|
this._tabDisabled = [];
|
|
@@ -6951,7 +6952,9 @@ var AxebowTabSelector = class AxebowTabSelector extends LitElement {
|
|
|
6951
6952
|
render() {
|
|
6952
6953
|
const tabs = Array.from({ length: this._tabCount }, (_, i) => i);
|
|
6953
6954
|
return html`
|
|
6954
|
-
<div
|
|
6955
|
+
<div
|
|
6956
|
+
class="w-full max-w-194.25 rounded-xl box-border ${this.bordered ? "border border-(--axebow-table-header-border)" : ""}"
|
|
6957
|
+
>
|
|
6955
6958
|
<div class="w-full h-8 flex bg-(--axebow-base) gap-1 rounded-t-xl box-border">
|
|
6956
6959
|
${tabs.map((i) => {
|
|
6957
6960
|
const active = this._activeTab === i;
|
|
@@ -6994,6 +6997,7 @@ __decorate([property({
|
|
|
6994
6997
|
attribute: false
|
|
6995
6998
|
})], AxebowTabSelector.prototype, "disabled", void 0);
|
|
6996
6999
|
__decorate([property({ type: Number })], AxebowTabSelector.prototype, "activeTab", void 0);
|
|
7000
|
+
__decorate([property({ type: Boolean })], AxebowTabSelector.prototype, "bordered", void 0);
|
|
6997
7001
|
__decorate([state()], AxebowTabSelector.prototype, "_activeTab", void 0);
|
|
6998
7002
|
__decorate([state()], AxebowTabSelector.prototype, "_tabCount", void 0);
|
|
6999
7003
|
__decorate([state()], AxebowTabSelector.prototype, "_tabDisabled", void 0);
|