@trunkjs/content-pane 1.0.15 → 1.0.16

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.16 (2025-12-11)
2
+
3
+ This was a version bump only for content-pane to align it with other projects, there were no code changes.
4
+
1
5
  ## 1.0.15 (2025-12-11)
2
6
 
3
7
  This was a version bump only for content-pane to align it with other projects, there were no code changes.
@@ -1,9 +1,9 @@
1
1
  import { ReactiveElement } from 'lit';
2
2
  declare const ContentAreaElement2_base: (abstract new (...args: any[]) => {
3
- "__#3414@#debugCached": boolean | null;
4
- "__#3414@#myElementId": number;
3
+ "__#3409@#debugCached": boolean | null;
4
+ "__#3409@#myElementId": number;
5
5
  invalidateDebugCache(): void;
6
- "__#3414@#myLoggerInstance": import('../../../../browser-utils/src/index.ts').Logger | null;
6
+ "__#3409@#myLoggerInstance": import('../../../../browser-utils/src/index.ts').Logger | null;
7
7
  readonly _debug: boolean;
8
8
  getLogger(instanceId?: string): import('../../../../browser-utils/src/index.ts').Logger;
9
9
  log(...args: any[]): void;
package/index.js CHANGED
@@ -129,7 +129,7 @@ class kt {
129
129
  const o = {};
130
130
  for (const i of Array.from(e.attributes))
131
131
  i.name.startsWith("section-") ? o[i.name.replace(/^section-/, "")] = i.value : (i.name.startsWith("layout") || r) && (o[i.name] = i.value, e.removeAttribute(i.name));
132
- return r || e.classList.forEach((i) => {
132
+ return r || Array.from(e.classList).forEach((i) => {
133
133
  i.startsWith("section-") && (o.class = (o.class ? o.class + " " : "") + i.replace(/^section-/, ""), e.classList.remove(i));
134
134
  }), o;
135
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trunkjs/content-pane",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "./index.js",
5
5
  "dependencies": {
6
6
  "@trunkjs/browser-utils": "^1.0.14",