@rozie-ui/sortable-list-lit 0.1.7 → 0.1.8
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/index.cjs +7 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +7 -0
- package/package.json +2 -2
- package/src/SortableList.ts +7 -1
package/dist/index.cjs
CHANGED
|
@@ -643,9 +643,16 @@ let SortableList = class SortableList extends (0, _lit_labs_preact_signals.Signa
|
|
|
643
643
|
* with React/Vue/Svelte/Solid/Angular). Both Lit attribute-naming
|
|
644
644
|
* forms are folded into the skip set: kebab-case for model props
|
|
645
645
|
* (explicit `attribute:`) AND lowercased property name (Lit's default).
|
|
646
|
+
*
|
|
647
|
+
* command-palette-per-level-virtual / portal-through-portal cluster —
|
|
648
|
+
* `data-rozie-ref` is ALWAYS skipped too (a reserved compiler bookkeeping
|
|
649
|
+
* attribute, never a consumer prop) so a parent-assigned `ref=` on this
|
|
650
|
+
* component's own host tag can never clobber this component's OWN
|
|
651
|
+
* internal `data-rozie-ref` ref markers via fallthrough re-application.
|
|
646
652
|
*/
|
|
647
653
|
get $attrs() {
|
|
648
654
|
const __skip = new Set([
|
|
655
|
+
"data-rozie-ref",
|
|
649
656
|
"items",
|
|
650
657
|
"item-key",
|
|
651
658
|
"itemkey",
|
package/dist/index.d.cts
CHANGED
|
@@ -144,6 +144,12 @@ declare class SortableList extends SortableList_base {
|
|
|
144
144
|
* with React/Vue/Svelte/Solid/Angular). Both Lit attribute-naming
|
|
145
145
|
* forms are folded into the skip set: kebab-case for model props
|
|
146
146
|
* (explicit `attribute:`) AND lowercased property name (Lit's default).
|
|
147
|
+
*
|
|
148
|
+
* command-palette-per-level-virtual / portal-through-portal cluster —
|
|
149
|
+
* `data-rozie-ref` is ALWAYS skipped too (a reserved compiler bookkeeping
|
|
150
|
+
* attribute, never a consumer prop) so a parent-assigned `ref=` on this
|
|
151
|
+
* component's own host tag can never clobber this component's OWN
|
|
152
|
+
* internal `data-rozie-ref` ref markers via fallthrough re-application.
|
|
147
153
|
*/
|
|
148
154
|
private get $attrs();
|
|
149
155
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -144,6 +144,12 @@ declare class SortableList extends SortableList_base {
|
|
|
144
144
|
* with React/Vue/Svelte/Solid/Angular). Both Lit attribute-naming
|
|
145
145
|
* forms are folded into the skip set: kebab-case for model props
|
|
146
146
|
* (explicit `attribute:`) AND lowercased property name (Lit's default).
|
|
147
|
+
*
|
|
148
|
+
* command-palette-per-level-virtual / portal-through-portal cluster —
|
|
149
|
+
* `data-rozie-ref` is ALWAYS skipped too (a reserved compiler bookkeeping
|
|
150
|
+
* attribute, never a consumer prop) so a parent-assigned `ref=` on this
|
|
151
|
+
* component's own host tag can never clobber this component's OWN
|
|
152
|
+
* internal `data-rozie-ref` ref markers via fallthrough re-application.
|
|
147
153
|
*/
|
|
148
154
|
private get $attrs();
|
|
149
155
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -616,9 +616,16 @@ let SortableList = class SortableList extends SignalWatcher(LitElement) {
|
|
|
616
616
|
* with React/Vue/Svelte/Solid/Angular). Both Lit attribute-naming
|
|
617
617
|
* forms are folded into the skip set: kebab-case for model props
|
|
618
618
|
* (explicit `attribute:`) AND lowercased property name (Lit's default).
|
|
619
|
+
*
|
|
620
|
+
* command-palette-per-level-virtual / portal-through-portal cluster —
|
|
621
|
+
* `data-rozie-ref` is ALWAYS skipped too (a reserved compiler bookkeeping
|
|
622
|
+
* attribute, never a consumer prop) so a parent-assigned `ref=` on this
|
|
623
|
+
* component's own host tag can never clobber this component's OWN
|
|
624
|
+
* internal `data-rozie-ref` ref markers via fallthrough re-application.
|
|
619
625
|
*/
|
|
620
626
|
get $attrs() {
|
|
621
627
|
const __skip = new Set([
|
|
628
|
+
"data-rozie-ref",
|
|
622
629
|
"items",
|
|
623
630
|
"item-key",
|
|
624
631
|
"itemkey",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rozie-ui/sortable-list-lit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"src"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@rozie/runtime-lit": "0.2.
|
|
43
|
+
"@rozie/runtime-lit": "0.2.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"lit": "^3.2",
|
package/src/SortableList.ts
CHANGED
|
@@ -459,9 +459,15 @@ private __rozieFirstUpdateDone = false;
|
|
|
459
459
|
* with React/Vue/Svelte/Solid/Angular). Both Lit attribute-naming
|
|
460
460
|
* forms are folded into the skip set: kebab-case for model props
|
|
461
461
|
* (explicit `attribute:`) AND lowercased property name (Lit's default).
|
|
462
|
+
*
|
|
463
|
+
* command-palette-per-level-virtual / portal-through-portal cluster —
|
|
464
|
+
* `data-rozie-ref` is ALWAYS skipped too (a reserved compiler bookkeeping
|
|
465
|
+
* attribute, never a consumer prop) so a parent-assigned `ref=` on this
|
|
466
|
+
* component's own host tag can never clobber this component's OWN
|
|
467
|
+
* internal `data-rozie-ref` ref markers via fallthrough re-application.
|
|
462
468
|
*/
|
|
463
469
|
private get $attrs(): Record<string, string> {
|
|
464
|
-
const __skip = new Set<string>(['items', 'item-key', 'itemkey', 'handle', 'group', 'animation', 'disabled', 'disable-keyboard', 'disablekeyboard', 'options', 'label-for', 'labelfor', 'ghost-class', 'ghostclass', 'chosen-class', 'chosenclass', 'drag-class', 'dragclass', 'filter', 'easing', 'force-fallback', 'forcefallback', 'swap-threshold', 'swapthreshold', 'cloneable', 'list-class', 'listclass', 'item-class', 'itemclass', 'item-style', 'itemstyle']);
|
|
470
|
+
const __skip = new Set<string>(['data-rozie-ref', 'items', 'item-key', 'itemkey', 'handle', 'group', 'animation', 'disabled', 'disable-keyboard', 'disablekeyboard', 'options', 'label-for', 'labelfor', 'ghost-class', 'ghostclass', 'chosen-class', 'chosenclass', 'drag-class', 'dragclass', 'filter', 'easing', 'force-fallback', 'forcefallback', 'swap-threshold', 'swapthreshold', 'cloneable', 'list-class', 'listclass', 'item-class', 'itemclass', 'item-style', 'itemstyle']);
|
|
465
471
|
const out: Record<string, string> = {};
|
|
466
472
|
for (const a of Array.from(this.attributes)) {
|
|
467
473
|
if (__skip.has(a.name)) continue;
|