@erplora/outfitkit 0.1.10 → 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.
@@ -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", { text: t.close });
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);
@@ -3849,10 +3849,10 @@ class He extends g {
3849
3849
  return k.text != null && ($.textContent = k.text), $;
3850
3850
  }, r = t("ion-modal");
3851
3851
  r.initialBreakpoint = 0.9, r.breakpoints = [0, 0.9, 1];
3852
- 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" } });
3853
3853
  a.appendChild(t("ion-title", { text: e.customize }));
3854
- const i = t("ion-buttons", { attrs: { slot: "end" } }), c = t("ion-button", { text: e.close });
3855
- 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);
3856
3856
  const d = t("ion-content");
3857
3857
  if (this.presets.length) {
3858
3858
  d.appendChild(t("div", { attrs: { class: "okwb-sub" }, text: e.presets }));
@@ -3871,7 +3871,7 @@ class He extends g {
3871
3871
  }), u.appendChild(h), d.appendChild(u), d.appendChild(t("div", { attrs: { class: "okwb-sub" }, text: e.available }));
3872
3872
  const p = t("ion-list");
3873
3873
  d.appendChild(p);
3874
- 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}" });
3875
3875
  r.appendChild(b), r.appendChild(d), document.body.appendChild(r), this.modal = r, this.reorderEl = h, this.availEl = p, this.refreshModal();
3876
3876
  }
3877
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.10",
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",