@nonoun/native-playground 0.2.4 → 0.2.6

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.
@@ -38,8 +38,8 @@
38
38
  }
39
39
 
40
40
  /* Toolbar button hover background (ghost variant forces transparent) */
41
- :where(native-playground) > :where(n-card-header) :where(n-button):hover,
42
- :where(native-playground) > :where(n-card-header) :where(n-button)[force-hover] {
41
+ :where(native-playground) > :where(n-header) :where(n-button):hover,
42
+ :where(native-playground) > :where(n-header) :where(n-button)[force-hover] {
43
43
  background: var(--n-pg-editor-bg);
44
44
  }
45
45
 
@@ -144,7 +144,7 @@
144
144
  }
145
145
 
146
146
  /* Card-header — dark chrome context for toolbar & tab bar */
147
- :where(native-playground) :where(n-card-header) {
147
+ :where(native-playground) :where(n-header) {
148
148
  background: var(--n-pg-chrome);
149
149
  border-bottom: var(--n-pg-border);
150
150
  padding: 0;
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./playground-element-CrsNEOwq.js";
1
+ import { a as e, i as t, n, r, t as i } from "./playground-element-ZQhZxB3I.js";
2
2
  export { i as NPlayground, r as TAB_LABELS, n as buildSrcdoc, e as createPlaygroundStore, t as getLanguageExtension };
@@ -212,7 +212,7 @@ var p = [
212
212
  window.removeEventListener("message", this.#k), clearTimeout(this.#r), this.#t.clear(), this.#i.destroy(), this.#a?.destroy(), this.#a = null, this.#o?.destroy(), this.#o = null, this.#n = null, this.#d = null, this.#f = null, this.#l = null, this.#u = [], super.teardown();
213
213
  }
214
214
  #p() {
215
- let e = document.createElement("n-card-header"), t = document.createElement("n-toolbar");
215
+ let e = document.createElement("n-header"), t = document.createElement("n-toolbar");
216
216
  t.setAttribute("variant", "plain"), t.setAttribute("size", "md"), t.setAttribute("fill", "");
217
217
  let n = this.#m("pg-btn-run", "Run", "▶ Run");
218
218
  n.addEventListener("native:press", this.#C);
@@ -228,7 +228,7 @@ var p = [
228
228
  s.className = "pg-split";
229
229
  let c = document.createElement("div");
230
230
  c.className = "pg-editor";
231
- let u = document.createElement("n-card-header"), d = document.createElement("n-tabs");
231
+ let u = document.createElement("n-header"), d = document.createElement("n-tabs");
232
232
  d.setAttribute("value", this.#e.activeTab.value), d.setAttribute("size", "sm");
233
233
  for (let e of p) {
234
234
  let t = document.createElement("n-tab");
package/dist/register.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./playground-element-CrsNEOwq.js";
1
+ import { t as e } from "./playground-element-ZQhZxB3I.js";
2
2
  import { define as t } from "@nonoun/native-ui";
3
3
  /**
4
4
  * Register native-playground
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nonoun/native-playground",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Embeddable live code sandbox for @nonoun/native-ui",
5
5
  "license": "MIT",
6
6
  "type": "module",