@gouvfr-lasuite/ui-kit 0.1.8 → 0.1.9
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16473,6 +16473,8 @@ const sa = (t) => t ? t.nodeType === qe.SEPARATOR : !1, ua = (t) => t ? t.nodeTy
|
|
|
16473
16473
|
data: f,
|
|
16474
16474
|
ref: c.treeApiRef,
|
|
16475
16475
|
openByDefault: !1,
|
|
16476
|
+
selectionFollowsFocus: !1,
|
|
16477
|
+
disableMultiSelection: !0,
|
|
16476
16478
|
disableEdit: !0,
|
|
16477
16479
|
className: "c__tree-view",
|
|
16478
16480
|
idAccessor: "key",
|
|
@@ -16863,7 +16865,12 @@ const Ax = (t) => {
|
|
|
16863
16865
|
children: /* @__PURE__ */ C.jsxs(
|
|
16864
16866
|
"div",
|
|
16865
16867
|
{
|
|
16866
|
-
onClick:
|
|
16868
|
+
onClick: ($) => {
|
|
16869
|
+
$.target.closest(".c__tree-view--node") || $.stopPropagation(), e == null || e();
|
|
16870
|
+
},
|
|
16871
|
+
onKeyDown: ($) => {
|
|
16872
|
+
$.stopPropagation();
|
|
16873
|
+
},
|
|
16867
16874
|
ref: r,
|
|
16868
16875
|
style: i,
|
|
16869
16876
|
className: ft("c__tree-view--node", {
|