udp-react-stencil-component-library 26.7.0 → 26.8.0-beta.1

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.
@@ -9,6 +9,12 @@ type UdpTreeEvents = {
9
9
  item: any;
10
10
  expanded: boolean;
11
11
  }>>;
12
+ onSelectionChange: EventName<CustomEvent<{
13
+ selectedIds: (string | number)[];
14
+ id: string | number;
15
+ item: any;
16
+ selected: boolean;
17
+ }>>;
12
18
  onItemDragStart: EventName<CustomEvent<{
13
19
  id: string;
14
20
  item: any;
@@ -1 +1 @@
1
- {"version":3,"file":"udp-tree.d.mts","names":[],"sources":["../../lib/udp-tree.ts"],"mappings":";;;;KAcY,aAAA;EACR,WAAA,EAAa,SAAA,CAAU,WAAA;EACvB,gBAAA,EAAkB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,QAAA;EAAA;EACjE,eAAA,EAAiB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,GAAA;EAAA;EAChE,aAAA,EAAe,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;EAAA;EACnD,UAAA,EAAY,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,MAAA;IAAiB,OAAA;EAAA;EAC5E,iBAAA,EAAmB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAe,MAAA;EAAA;AAAA;AAAA,cAG7D,SAAA,EAAS,qBAAA,CAAsB,OAAA,EAAgB,aAAA"}
1
+ {"version":3,"file":"udp-tree.d.mts","names":[],"sources":["../../lib/udp-tree.ts"],"mappings":";;;;KAcY,aAAA;EACR,WAAA,EAAa,SAAA,CAAU,WAAA;EACvB,gBAAA,EAAkB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,QAAA;EAAA;EACjE,iBAAA,EAAmB,SAAA,CAAU,WAAA;IACzB,WAAA;IACA,EAAA;IACA,IAAA;IACA,QAAA;EAAA;EAEJ,eAAA,EAAiB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,GAAA;EAAA;EAChE,aAAA,EAAe,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;EAAA;EACnD,UAAA,EAAY,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAW,MAAA;IAAiB,OAAA;EAAA;EAC5E,iBAAA,EAAmB,SAAA,CAAU,WAAA;IAAc,EAAA;IAAY,IAAA;IAAe,MAAA;EAAA;AAAA;AAAA,cAG7D,SAAA,EAAS,qBAAA,CAAsB,OAAA,EAAgB,aAAA"}
@@ -10,6 +10,7 @@ const UdpTree$1 = /* @__PURE__ */ createComponent({
10
10
  events: {
11
11
  onItemClick: "itemClick",
12
12
  onExpandedChange: "expandedChange",
13
+ onSelectionChange: "selectionChange",
13
14
  onItemDragStart: "itemDragStart",
14
15
  onItemDragEnd: "itemDragEnd",
15
16
  onItemDrop: "itemDrop",
@@ -1 +1 @@
1
- {"version":3,"file":"udp-tree.mjs","names":["UdpTree","UdpTreeElement","defineUdpTree"],"sources":["../../lib/udp-tree.ts"],"sourcesContent":["'use client';\n\n/**\n * This file was automatically generated by the Stencil React Output Target.\n * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/* eslint-disable */\n\nimport type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';\nimport { createComponent } from '@stencil/react-output-target/runtime';\nimport { UdpTree as UdpTreeElement, defineCustomElement as defineUdpTree } from \"@univerus/udp-stencil-component-library/dist/components/udp-tree.js\";\nimport React from 'react';\n\nexport type UdpTreeEvents = {\n onItemClick: EventName<CustomEvent<any>>,\n onExpandedChange: EventName<CustomEvent<{ id: string; item: any; expanded: boolean }>>,\n onItemDragStart: EventName<CustomEvent<{ id: string; item: any; tag?: string }>>,\n onItemDragEnd: EventName<CustomEvent<{ id: string; item: any }>>,\n onItemDrop: EventName<CustomEvent<{ id: string; item: any; dragId?: string; dragTag?: string }>>,\n onItemActionClick: EventName<CustomEvent<{ id: string; item: unknown; action: string }>>\n};\n\nexport const UdpTree: StencilReactComponent<UdpTreeElement, UdpTreeEvents> = /*@__PURE__*/ createComponent<UdpTreeElement, UdpTreeEvents>({\n tagName: 'udp-tree',\n elementClass: UdpTreeElement,\n // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.\n react: React,\n events: {\n onItemClick: 'itemClick',\n onExpandedChange: 'expandedChange',\n onItemDragStart: 'itemDragStart',\n onItemDragEnd: 'itemDragEnd',\n onItemDrop: 'itemDrop',\n onItemActionClick: 'itemActionClick'\n } as UdpTreeEvents,\n defineCustomElement: defineUdpTree\n});\n"],"mappings":";;;;;AAuBA,MAAaA,YAA8E,gCAA+C;CACtI,SAAS;CACT,cAAcC;CAEd,OAAO;CACP,QAAQ;EACJ,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,eAAe;EACf,YAAY;EACZ,mBAAmB;EACtB;CACoBC;CACxB,CAAC"}
1
+ {"version":3,"file":"udp-tree.mjs","names":["UdpTree","UdpTreeElement","defineUdpTree"],"sources":["../../lib/udp-tree.ts"],"sourcesContent":["'use client';\n\n/**\n * This file was automatically generated by the Stencil React Output Target.\n * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/* eslint-disable */\n\nimport type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';\nimport { createComponent } from '@stencil/react-output-target/runtime';\nimport { UdpTree as UdpTreeElement, defineCustomElement as defineUdpTree } from \"@univerus/udp-stencil-component-library/dist/components/udp-tree.js\";\nimport React from 'react';\n\nexport type UdpTreeEvents = {\n onItemClick: EventName<CustomEvent<any>>,\n onExpandedChange: EventName<CustomEvent<{ id: string; item: any; expanded: boolean }>>,\n onSelectionChange: EventName<CustomEvent<{\n selectedIds: (string | number)[];\n id: string | number;\n item: any;\n selected: boolean;\n }>>,\n onItemDragStart: EventName<CustomEvent<{ id: string; item: any; tag?: string }>>,\n onItemDragEnd: EventName<CustomEvent<{ id: string; item: any }>>,\n onItemDrop: EventName<CustomEvent<{ id: string; item: any; dragId?: string; dragTag?: string }>>,\n onItemActionClick: EventName<CustomEvent<{ id: string; item: unknown; action: string }>>\n};\n\nexport const UdpTree: StencilReactComponent<UdpTreeElement, UdpTreeEvents> = /*@__PURE__*/ createComponent<UdpTreeElement, UdpTreeEvents>({\n tagName: 'udp-tree',\n elementClass: UdpTreeElement,\n // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.\n react: React,\n events: {\n onItemClick: 'itemClick',\n onExpandedChange: 'expandedChange',\n onSelectionChange: 'selectionChange',\n onItemDragStart: 'itemDragStart',\n onItemDragEnd: 'itemDragEnd',\n onItemDrop: 'itemDrop',\n onItemActionClick: 'itemActionClick'\n } as UdpTreeEvents,\n defineCustomElement: defineUdpTree\n});\n"],"mappings":";;;;;AA6BA,MAAaA,YAA8E,gCAA+C;CACtI,SAAS;CACT,cAAcC;CAEd,OAAO;CACP,QAAQ;EACJ,aAAa;EACb,kBAAkB;EAClB,mBAAmB;EACnB,iBAAiB;EACjB,eAAe;EACf,YAAY;EACZ,mBAAmB;EACtB;CACoBC;CACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udp-react-stencil-component-library",
3
- "version": "26.7.0",
3
+ "version": "26.8.0-beta.1",
4
4
  "description": "Unity React Wrapped Stencil Components",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -285,7 +285,7 @@
285
285
  },
286
286
  "dependencies": {
287
287
  "@stencil/react-output-target": "^1.2.0",
288
- "udp-stencil-component-library": "^26.7.0",
288
+ "udp-stencil-component-library": "26.8.0-beta.1",
289
289
  "react": "^18.2.0"
290
290
  }
291
291
  }