@erplora/outfitkit 0.1.9 → 0.1.11
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.
package/dist/ok-data-table.js
CHANGED
|
@@ -681,13 +681,14 @@ class OkDataTable extends LitElement {
|
|
|
681
681
|
<ion-select
|
|
682
682
|
label=${col.header}
|
|
683
683
|
label-placement="stacked"
|
|
684
|
+
fill="outline"
|
|
684
685
|
?multiple=${multi}
|
|
685
686
|
interface="modal"
|
|
686
687
|
.interfaceOptions=${{ cssClass: "ok-overlay" }}
|
|
687
|
-
placeholder=${
|
|
688
|
+
placeholder=${this.t.select}
|
|
688
689
|
@ionChange=${(e) => this.onFilterSelect(col, e.detail.value, multi)}
|
|
689
690
|
>
|
|
690
|
-
${multi ? nothing : html`<ion-select-option value="">${
|
|
691
|
+
${multi ? nothing : html`<ion-select-option value="">${this.t.select}</ion-select-option>`}
|
|
691
692
|
${opts.map((o) => html`<ion-select-option value=${o.value}>${o.label}</ion-select-option>`)}
|
|
692
693
|
</ion-select>
|
|
693
694
|
`;
|
package/dist/ok-widget-board.js
CHANGED
|
@@ -137,11 +137,12 @@ class OkWidgetBoard extends LitElement {
|
|
|
137
137
|
const modal = make("ion-modal");
|
|
138
138
|
modal.initialBreakpoint = 0.9;
|
|
139
139
|
modal.breakpoints = [0, 0.9, 1];
|
|
140
|
-
const header = make("ion-header");
|
|
141
|
-
const tb = make("ion-toolbar");
|
|
140
|
+
const header = make("ion-header", { attrs: { class: "okwb-header ion-no-border" } });
|
|
141
|
+
const tb = make("ion-toolbar", { attrs: { class: "okwb-toolbar ion-padding" } });
|
|
142
142
|
tb.appendChild(make("ion-title", { text: t.customize }));
|
|
143
143
|
const endBtns = make("ion-buttons", { attrs: { slot: "end" } });
|
|
144
|
-
const closeBtn = make("ion-button", {
|
|
144
|
+
const closeBtn = make("ion-button", { attrs: { fill: "clear", "aria-label": t.close } });
|
|
145
|
+
closeBtn.appendChild(make("ion-icon", { attrs: { slot: "icon-only", name: "close" } }));
|
|
145
146
|
closeBtn.addEventListener("click", () => modal.dismiss?.());
|
|
146
147
|
endBtns.appendChild(closeBtn);
|
|
147
148
|
tb.appendChild(endBtns);
|
|
@@ -175,7 +176,7 @@ class OkWidgetBoard extends LitElement {
|
|
|
175
176
|
content.appendChild(make("div", { attrs: { class: "okwb-sub" }, text: t.available }));
|
|
176
177
|
const availList = make("ion-list");
|
|
177
178
|
content.appendChild(availList);
|
|
178
|
-
const style = make("style", { text: `.okwb-sub{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ion-color-medium);padding:12px 16px 4px}.okwb-presets{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}` });
|
|
179
|
+
const style = make("style", { text: `.okwb-header{box-shadow:none}.okwb-header::after{display:none}.okwb-toolbar{--border-width:0;--border-color:transparent;box-shadow:none}.okwb-sub{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ion-color-medium);padding:12px 16px 4px}.okwb-presets{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}` });
|
|
179
180
|
modal.appendChild(style);
|
|
180
181
|
modal.appendChild(content);
|
|
181
182
|
document.body.appendChild(modal);
|
package/dist/outfitkit.bundle.js
CHANGED
|
@@ -1513,13 +1513,14 @@ class _ extends g {
|
|
|
1513
1513
|
<ion-select
|
|
1514
1514
|
label=${e.header}
|
|
1515
1515
|
label-placement="stacked"
|
|
1516
|
+
fill="outline"
|
|
1516
1517
|
?multiple=${o}
|
|
1517
1518
|
interface="modal"
|
|
1518
1519
|
.interfaceOptions=${{ cssClass: "ok-overlay" }}
|
|
1519
|
-
placeholder=${
|
|
1520
|
+
placeholder=${this.t.select}
|
|
1520
1521
|
@ionChange=${(i) => this.onFilterSelect(e, i.detail.value, o)}
|
|
1521
1522
|
>
|
|
1522
|
-
${o ? m : s`<ion-select-option value="">${
|
|
1523
|
+
${o ? m : s`<ion-select-option value="">${this.t.select}</ion-select-option>`}
|
|
1523
1524
|
${a.map((i) => s`<ion-select-option value=${i.value}>${i.label}</ion-select-option>`)}
|
|
1524
1525
|
</ion-select>
|
|
1525
1526
|
`;
|
|
@@ -3848,10 +3849,10 @@ class He extends g {
|
|
|
3848
3849
|
return k.text != null && ($.textContent = k.text), $;
|
|
3849
3850
|
}, r = t("ion-modal");
|
|
3850
3851
|
r.initialBreakpoint = 0.9, r.breakpoints = [0, 0.9, 1];
|
|
3851
|
-
const o = t("ion-header"), a = t("ion-toolbar");
|
|
3852
|
+
const o = t("ion-header", { attrs: { class: "okwb-header ion-no-border" } }), a = t("ion-toolbar", { attrs: { class: "okwb-toolbar ion-padding" } });
|
|
3852
3853
|
a.appendChild(t("ion-title", { text: e.customize }));
|
|
3853
|
-
const i = t("ion-buttons", { attrs: { slot: "end" } }), c = t("ion-button", {
|
|
3854
|
-
c.addEventListener("click", () => r.dismiss?.()), i.appendChild(c), a.appendChild(i), o.appendChild(a), r.appendChild(o);
|
|
3854
|
+
const i = t("ion-buttons", { attrs: { slot: "end" } }), c = t("ion-button", { attrs: { fill: "clear", "aria-label": e.close } });
|
|
3855
|
+
c.appendChild(t("ion-icon", { attrs: { slot: "icon-only", name: "close" } })), c.addEventListener("click", () => r.dismiss?.()), i.appendChild(c), a.appendChild(i), o.appendChild(a), r.appendChild(o);
|
|
3855
3856
|
const d = t("ion-content");
|
|
3856
3857
|
if (this.presets.length) {
|
|
3857
3858
|
d.appendChild(t("div", { attrs: { class: "okwb-sub" }, text: e.presets }));
|
|
@@ -3870,7 +3871,7 @@ class He extends g {
|
|
|
3870
3871
|
}), u.appendChild(h), d.appendChild(u), d.appendChild(t("div", { attrs: { class: "okwb-sub" }, text: e.available }));
|
|
3871
3872
|
const p = t("ion-list");
|
|
3872
3873
|
d.appendChild(p);
|
|
3873
|
-
const b = t("style", { text: ".okwb-sub{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ion-color-medium);padding:12px 16px 4px}.okwb-presets{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}" });
|
|
3874
|
+
const b = t("style", { text: ".okwb-header{box-shadow:none}.okwb-header::after{display:none}.okwb-toolbar{--border-width:0;--border-color:transparent;box-shadow:none}.okwb-sub{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ion-color-medium);padding:12px 16px 4px}.okwb-presets{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}" });
|
|
3874
3875
|
r.appendChild(b), r.appendChild(d), document.body.appendChild(r), this.modal = r, this.reorderEl = h, this.availEl = p, this.refreshModal();
|
|
3875
3876
|
}
|
|
3876
3877
|
/** Repinta las listas de activos/disponibles del modal según `value`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erplora/outfitkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "OutfitKit — librería de Web Components (Lit) que CONSTRUYE lo que Ionic no tiene (tree, data-table rica, inline-feedback, kpi/stat, stepper/wizard, calendar, kanban…) sobre primitivos de Ionic. Ionic es la base; OutfitKit cubre los huecos. npm + CDN, imports individuales, CSP-safe. Tema vía tokens --ok-* (fallback a --ion-*).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|