@c2n/reorder-list 0.0.12 → 0.0.13

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.
@@ -0,0 +1 @@
1
+ {"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"src/reorder-list.ts","declarations":[{"kind":"class","description":"","name":"ReorderList","members":[{"kind":"field","name":"draggingElement","type":{"text":"HTMLElement"},"privacy":"protected"},{"kind":"field","name":"placeholderElement","type":{"text":"HTMLElement"},"privacy":"protected"},{"kind":"field","name":"containerElement","type":{"text":"HTMLElement"},"privacy":"protected"},{"kind":"field","name":"listItemElements","type":{"text":"NodeListOf<HTMLDivElement>"},"privacy":"protected"},{"kind":"field","name":"editable","type":{"text":"boolean"},"default":"false","attribute":"editable","reflects":true},{"kind":"field","name":"dragStartThreshold","type":{"text":"number"},"default":"10","attribute":"dragStartThreshold"},{"kind":"field","name":"autoScrollDisabled","type":{"text":"boolean"},"default":"false","attribute":"autoScrollDisabled"},{"kind":"field","name":"placeholderSlotIndex","type":{"text":"number"},"privacy":"private","default":"-1"},{"kind":"field","name":"placeholderSize","type":{"text":"object"},"privacy":"private","default":"{ width: '0px', height: '0px' }"},{"kind":"field","name":"childListObserver","type":{"text":"MutationObserver | null"},"privacy":"private","default":"null"},{"kind":"field","name":"hostBoundingClientRect","type":{"text":"DOMRect | null"},"privacy":"private","default":"null"},{"kind":"field","name":"scrollableParent","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"scrollableParentRect","type":{"text":"DOMRect | undefined"},"privacy":"private","default":"undefined"},{"kind":"field","name":"pickupPosition","type":{"text":"Point"},"privacy":"private","default":"{ x: 0, y: 0 }"},{"kind":"field","name":"itemPositions","type":{"text":"Array<DOMRect & { isFixed?: boolean }>"},"privacy":"private","default":"[]"},{"kind":"field","name":"currentDraggingItem","type":{"text":"Element | null"},"privacy":"private","default":"null"},{"kind":"field","name":"currentDraggingSlotIndex","type":{"text":"number"},"privacy":"private","default":"-1"},{"kind":"field","name":"skipAnimation","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"hasStartedDragging","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"scrollingTimer","type":{"text":"number"},"privacy":"private","default":"0"},{"kind":"field","name":"cacheMouseEvent","type":{"text":"MutateMouseEvent | null"},"privacy":"private","default":"null"},{"kind":"method","name":"renderSlots"},{"kind":"method","name":"createPlaceHolder","privacy":"private","parameters":[{"name":"itemClasses","type":{"text":"{ 'list-item--reorderable': boolean }"}}]},{"kind":"method","name":"handleMouseDown","privacy":"private","parameters":[{"name":"event","type":{"text":"MouseEvent"}}]},{"kind":"method","name":"isFixedItem","privacy":"private","parameters":[{"name":"item","type":{"text":"HTMLElement"}}]},{"kind":"field","name":"handleMouseMove"},{"kind":"field","name":"handleScroll"},{"kind":"method","name":"getItemIndexFromPointerPosition","privacy":"private","parameters":[{"name":"event","type":{"text":"MutateMouseEvent"}}]},{"kind":"field","name":"handleMouseUp"},{"kind":"method","name":"dispatchChangeEvent","privacy":"private"},{"kind":"method","name":"stopDrag","privacy":"private"},{"kind":"method","name":"getPointerPosition","privacy":"private","return":{"type":{"text":"Point"}},"parameters":[{"name":"event","type":{"text":"MutateMouseEvent"}}]},{"kind":"method","name":"observeChildList","privacy":"private"},{"kind":"method","name":"startScrollingIfNecessary","privacy":"private"},{"kind":"field","name":"startScrollInterval","privacy":"private"},{"kind":"method","name":"stopScrolling","privacy":"private"},{"kind":"method","name":"updateSlotMapping","privacy":"private"},{"kind":"method","name":"updateItemPositions","privacy":"private"},{"kind":"method","name":"applyTransform","privacy":"private","parameters":[{"name":"event","type":{"text":"MutateMouseEvent"}}]},{"kind":"method","name":"getTransform","privacy":"private","return":{"type":{"text":"string"}},"parameters":[{"name":"x","type":{"text":"number"}},{"name":"y","type":{"text":"number"}}]},{"kind":"method","name":"getSlottedTargetIndex","privacy":"private","return":{"type":{"text":"number"}},"parameters":[{"name":"event","type":{"text":"MouseEvent"}}]},{"kind":"method","name":"getChildItems","privacy":"private","return":{"type":{"text":"Element[]"}}},{"kind":"method","name":"getSortChildrenBySlot","privacy":"private","return":{"type":{"text":"Element[]"}}},{"kind":"method","name":"getNearestScrollableParent","privacy":"private","return":{"type":{"text":"HTMLElement | null"}},"parameters":[{"name":"node","default":"this","type":{"text":"HTMLElement | null"}}]}],"events":[{"name":"change","type":{"text":"CustomEvent"}}],"attributes":[{"name":"editable","type":{"text":"boolean"},"default":"false","fieldName":"editable"},{"name":"dragStartThreshold","type":{"text":"number"},"default":"10","fieldName":"dragStartThreshold"},{"name":"autoScrollDisabled","type":{"text":"boolean"},"default":"false","fieldName":"autoScrollDisabled"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"c2-reorder-list","customElement":true},{"kind":"function","name":"getMutableClientRect","return":{"type":{"text":"DOMRect"}},"parameters":[{"name":"element","type":{"text":"Element"}}]}],"exports":[{"kind":"js","name":"ReorderList","declaration":{"name":"ReorderList","module":"src/reorder-list.ts"}},{"kind":"custom-element-definition","name":"c2-reorder-list","declaration":{"name":"ReorderList","module":"src/reorder-list.ts"}},{"kind":"js","name":"getMutableClientRect","declaration":{"name":"getMutableClientRect","module":"src/reorder-list.ts"}}]}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c2n/reorder-list",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "main": "dist/reorder-list.js",
6
6
  "exports": {
@@ -21,6 +21,7 @@
21
21
  "files": [
22
22
  "dist",
23
23
  "types",
24
+ "custom-elements.json",
24
25
  "react.d.ts",
25
26
  "react.js",
26
27
  "vue.d.ts",
@@ -60,12 +61,12 @@
60
61
  }
61
62
  },
62
63
  "dependencies": {
63
- "@c2n/core": "0.0.12",
64
+ "@c2n/core": "0.0.13",
64
65
  "@lit-labs/motion": "1.1.0",
65
66
  "lit": "3.3.3"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@c2n/config": "*"
69
70
  },
70
- "gitHead": "43e38b42ac221ffeef99a773c42dd3356961d26a"
71
+ "gitHead": "aa19b641f64fbc54c36b7649a8171d7a686abbdd"
71
72
  }