@w6w/ui 0.2.56 → 0.2.57

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/CallTargetForm.d.ts +10 -0
  3. package/dist/{CodeBlock-CymlfyeA.cjs → CodeBlock-BSX1pi6W.cjs} +2 -2
  4. package/dist/{CodeBlock-CymlfyeA.cjs.map → CodeBlock-BSX1pi6W.cjs.map} +1 -1
  5. package/dist/{CodeBlock-C-oIIYfC.js → CodeBlock-CPKXSNEs.js} +7 -3
  6. package/dist/{CodeBlock-C-oIIYfC.js.map → CodeBlock-CPKXSNEs.js.map} +1 -1
  7. package/dist/CodeEditor.d.ts +2 -0
  8. package/dist/JsonEditor.d.ts +1 -3
  9. package/dist/Markdown.d.ts +3 -1
  10. package/dist/StepBuilderModal.d.ts +2 -3
  11. package/dist/TriggerSampleButton.d.ts +11 -0
  12. package/dist/WorkflowFlowEditor.d.ts +48 -0
  13. package/dist/YamlEditor.d.ts +1 -2
  14. package/dist/callable-fields.d.ts +4 -0
  15. package/dist/code.cjs +1 -1
  16. package/dist/code.mjs +1 -1
  17. package/dist/components/ConfirmModal.d.ts +7 -1
  18. package/dist/components/DataEntryList.d.ts +2 -0
  19. package/dist/components/ResultViewer.d.ts +1 -2
  20. package/dist/connection-app-meta-BeYDm-cs.cjs +24 -0
  21. package/dist/connection-app-meta-BeYDm-cs.cjs.map +1 -0
  22. package/dist/{connection-app-meta-ZCPakGjD.js → connection-app-meta-aURFNTx_.js} +6115 -5806
  23. package/dist/connection-app-meta-aURFNTx_.js.map +1 -0
  24. package/dist/flow.cjs +4 -3
  25. package/dist/flow.cjs.map +1 -1
  26. package/dist/flow.mjs +1820 -1753
  27. package/dist/flow.mjs.map +1 -1
  28. package/dist/index.cjs +2 -2
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.mjs +306 -305
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/provider.d.ts +3 -0
  33. package/package.json +2 -1
  34. package/src/code.css +24 -0
  35. package/src/styles/_code-editor.scss +16 -0
  36. package/src/styles/_copyable.scss +22 -0
  37. package/src/styles/_data-vars.scss +11 -0
  38. package/src/styles.css +54 -0
  39. package/dist/connection-app-meta-BEXlKBgV.cjs +0 -22
  40. package/dist/connection-app-meta-BEXlKBgV.cjs.map +0 -1
  41. package/dist/connection-app-meta-ZCPakGjD.js.map +0 -1
@@ -3618,7 +3618,8 @@ function Rt(e, a = be) {
3618
3618
  const k = j(async () => {
3619
3619
  var p;
3620
3620
  try {
3621
- await ((p = navigator.clipboard) == null ? void 0 : p.writeText(e)), l(!0), u.current !== null && clearTimeout(u.current), u.current = setTimeout(() => l(!1), a);
3621
+ if (!((p = navigator.clipboard) != null && p.writeText)) return;
3622
+ await navigator.clipboard.writeText(e), l(!0), u.current !== null && clearTimeout(u.current), u.current = setTimeout(() => l(!1), a);
3622
3623
  } catch {
3623
3624
  }
3624
3625
  }, [e, a]);
@@ -3663,7 +3664,10 @@ function It(e) {
3663
3664
  type: "button",
3664
3665
  className: `w6w-icon-btn w6w-copyable-btn${v ? " is-copied" : ""}`,
3665
3666
  "aria-label": u,
3666
- onClick: () => void g(),
3667
+ onPointerDown: (d) => d.stopPropagation(),
3668
+ onClick: (d) => {
3669
+ d.stopPropagation(), g();
3670
+ },
3667
3671
  children: v ? /* @__PURE__ */ t(Bt, {}) : /* @__PURE__ */ t(Lt, {})
3668
3672
  }
3669
3673
  ),
@@ -3767,4 +3771,4 @@ export {
3767
3771
  Mt as i,
3768
3772
  Rt as u
3769
3773
  };
3770
- //# sourceMappingURL=CodeBlock-C-oIIYfC.js.map
3774
+ //# sourceMappingURL=CodeBlock-CPKXSNEs.js.map