@keboola/design 17.1.0 → 17.2.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.
Files changed (181) hide show
  1. package/AGENTS.md +2 -0
  2. package/CHANGELOG.md +34 -1
  3. package/dist/{AIKit-DyysN1kS.js → AIKit-DgyoP_kW.js} +19 -11
  4. package/dist/AIKit-DgyoP_kW.js.map +1 -0
  5. package/dist/{Alert-BQB-og_I.js → Alert-CcAVKRSM.js} +2 -2
  6. package/dist/{Alert-BQB-og_I.js.map → Alert-CcAVKRSM.js.map} +1 -1
  7. package/dist/{AlertModal-BkmyEvsR.js → AlertModal-DG3GuHtd.js} +2 -2
  8. package/dist/{AlertModal-BkmyEvsR.js.map → AlertModal-DG3GuHtd.js.map} +1 -1
  9. package/dist/{AppShell-CDbecT-t.js → AppShell-CPr3vmUv.js} +2 -2
  10. package/dist/{AppShell-CDbecT-t.js.map → AppShell-CPr3vmUv.js.map} +1 -1
  11. package/dist/Badge-CFRhducL.js.map +1 -1
  12. package/dist/{BrandEditor-BHE6nsob.js → BrandEditor-8PxfTIcN.js} +6 -6
  13. package/dist/{BrandEditor-BHE6nsob.js.map → BrandEditor-8PxfTIcN.js.map} +1 -1
  14. package/dist/{BrandLogo-n4Qhi1tI.js → BrandLogo-DZLi6TZV.js} +2 -2
  15. package/dist/{BrandLogo-n4Qhi1tI.js.map → BrandLogo-DZLi6TZV.js.map} +1 -1
  16. package/dist/{Breadcrumb-BAwQTo0c.js → Breadcrumb-B_4zm7jJ.js} +3 -3
  17. package/dist/{Breadcrumb-BAwQTo0c.js.map → Breadcrumb-B_4zm7jJ.js.map} +1 -1
  18. package/dist/{Button-BAMX1iuI.js → Button-BgjVUBON.js} +2 -2
  19. package/dist/{Button-BAMX1iuI.js.map → Button-BgjVUBON.js.map} +1 -1
  20. package/dist/{Checkbox-CfjpwIcg.js → Checkbox-CsvhT9Bj.js} +2 -2
  21. package/dist/{Checkbox-CfjpwIcg.js.map → Checkbox-CsvhT9Bj.js.map} +1 -1
  22. package/dist/{Clipboard-BaU3cDi5.js → Clipboard-C6clKAwX.js} +2 -2
  23. package/dist/{Clipboard-BaU3cDi5.js.map → Clipboard-C6clKAwX.js.map} +1 -1
  24. package/dist/{ClipboardButton-BWeaQEM2.js → ClipboardButton-1ISIYJQj.js} +3 -3
  25. package/dist/{ClipboardButton-BWeaQEM2.js.map → ClipboardButton-1ISIYJQj.js.map} +1 -1
  26. package/dist/{CodeEditor-BdTxkPD4.js → CodeEditor-Dx9gyVHV.js} +4 -4
  27. package/dist/{CodeEditor-BdTxkPD4.js.map → CodeEditor-Dx9gyVHV.js.map} +1 -1
  28. package/dist/{ColorInput-BoVdBxJ7.js → ColorInput-CT3OTIOu.js} +3 -3
  29. package/dist/{ColorInput-BoVdBxJ7.js.map → ColorInput-CT3OTIOu.js.map} +1 -1
  30. package/dist/{ColorModeSwitch-BDkdmHYl.js → ColorModeSwitch-BsZ13XeH.js} +2 -2
  31. package/dist/{ColorModeSwitch-BDkdmHYl.js.map → ColorModeSwitch-BsZ13XeH.js.map} +1 -1
  32. package/dist/{Combobox-RZ0i3w8u.js → Combobox-D_modNUu.js} +6 -6
  33. package/dist/Combobox-D_modNUu.js.map +1 -0
  34. package/dist/{Command-D6XYzzJf.js → Command-ZOAxNfFf.js} +2 -2
  35. package/dist/{Command-D6XYzzJf.js.map → Command-ZOAxNfFf.js.map} +1 -1
  36. package/dist/{CopyField-9WBU8thS.js → CopyField-CXdg8t3Y.js} +2 -2
  37. package/dist/{CopyField-9WBU8thS.js.map → CopyField-CXdg8t3Y.js.map} +1 -1
  38. package/dist/{DateInput-CCYG0AtT.js → DateInput-DpoPkZRC.js} +3 -3
  39. package/dist/{DateInput-CCYG0AtT.js.map → DateInput-DpoPkZRC.js.map} +1 -1
  40. package/dist/{DateRangeInput-CpZK1IFp.js → DateRangeInput-DhmYH6V9.js} +3 -3
  41. package/dist/{DateRangeInput-CpZK1IFp.js.map → DateRangeInput-DhmYH6V9.js.map} +1 -1
  42. package/dist/{DateRangePicker-B2AUKX7u.js → DateRangePicker-CQXMvR3C.js} +2 -2
  43. package/dist/{DateRangePicker-B2AUKX7u.js.map → DateRangePicker-CQXMvR3C.js.map} +1 -1
  44. package/dist/{FieldItem-eM7IHBt5.js → FieldItem-D5EpKxjN.js} +3 -3
  45. package/dist/{FieldItem-eM7IHBt5.js.map → FieldItem-D5EpKxjN.js.map} +1 -1
  46. package/dist/{FileUpload-d-hNPfPV.js → FileUpload-CpdNficK.js} +2 -2
  47. package/dist/{FileUpload-d-hNPfPV.js.map → FileUpload-CpdNficK.js.map} +1 -1
  48. package/dist/{Form-B_9sNehB.js → Form-CXYgF4uw.js} +7 -7
  49. package/dist/{Form-B_9sNehB.js.map → Form-CXYgF4uw.js.map} +1 -1
  50. package/dist/{FormGroup-D7ahkK1q.js → FormGroup-B-_HsL1J.js} +3 -3
  51. package/dist/{FormGroup-D7ahkK1q.js.map → FormGroup-B-_HsL1J.js.map} +1 -1
  52. package/dist/{FullScreenModal-CiRKNsls.js → FullScreenModal-xMdgp0A-.js} +2 -2
  53. package/dist/{FullScreenModal-CiRKNsls.js.map → FullScreenModal-xMdgp0A-.js.map} +1 -1
  54. package/dist/{InlineEdit-BzOox46S.js → InlineEdit-DDPFk6Ak.js} +4 -4
  55. package/dist/{InlineEdit-BzOox46S.js.map → InlineEdit-DDPFk6Ak.js.map} +1 -1
  56. package/dist/{InputGroup-DnGP9-ZQ.js → InputGroup-oui6630r.js} +2 -2
  57. package/dist/{InputGroup-DnGP9-ZQ.js.map → InputGroup-oui6630r.js.map} +1 -1
  58. package/dist/{Kbd-6velz9J-.js → Kbd-D4F65jXO.js} +2 -2
  59. package/dist/{Kbd-6velz9J-.js.map → Kbd-D4F65jXO.js.map} +1 -1
  60. package/dist/{MermaidDiagram-l83gco3r.js → MermaidDiagram-Cg-c8jjI.js} +2 -2
  61. package/dist/{MermaidDiagram-l83gco3r.js.map → MermaidDiagram-Cg-c8jjI.js.map} +1 -1
  62. package/dist/{Modal-CLu6Eg5p.js → Modal-Cro4XHuT.js} +2 -2
  63. package/dist/{Modal-CLu6Eg5p.js.map → Modal-Cro4XHuT.js.map} +1 -1
  64. package/dist/{MultiActionButtonGroup-B3-wNw7w.js → MultiActionButtonGroup-DSxYdeRE.js} +3 -3
  65. package/dist/{MultiActionButtonGroup-B3-wNw7w.js.map → MultiActionButtonGroup-DSxYdeRE.js.map} +1 -1
  66. package/dist/{Navbar-BEc-Pqo5.js → Navbar-DB2YAs_2.js} +2 -2
  67. package/dist/{Navbar-BEc-Pqo5.js.map → Navbar-DB2YAs_2.js.map} +1 -1
  68. package/dist/{PageHeader-DosMyar2.js → PageHeader-CfFKjCzo.js} +2 -2
  69. package/dist/PageHeader-CfFKjCzo.js.map +1 -0
  70. package/dist/{PageToolbar-NmiausP7.js → PageToolbar-BTYKQCao.js} +2 -2
  71. package/dist/{PageToolbar-NmiausP7.js.map → PageToolbar-BTYKQCao.js.map} +1 -1
  72. package/dist/{Pagination-DidOPSPB.js → Pagination-C4pi5DHG.js} +2 -2
  73. package/dist/{Pagination-DidOPSPB.js.map → Pagination-C4pi5DHG.js.map} +1 -1
  74. package/dist/{Popconfirm-C4ryoeGP.js → Popconfirm-DOWgVS2t.js} +2 -2
  75. package/dist/{Popconfirm-C4ryoeGP.js.map → Popconfirm-DOWgVS2t.js.map} +1 -1
  76. package/dist/{RadioGroup-BIElT-nH.js → RadioGroup-BCpVnOjW.js} +2 -2
  77. package/dist/{RadioGroup-BIElT-nH.js.map → RadioGroup-BCpVnOjW.js.map} +1 -1
  78. package/dist/{Search-xDWaQ2z3.js → Search-hED5IJlr.js} +2 -2
  79. package/dist/{Search-xDWaQ2z3.js.map → Search-hED5IJlr.js.map} +1 -1
  80. package/dist/{SearchInput-BwlJ77mV.js → SearchInput-BTTnMdb1.js} +3 -3
  81. package/dist/{SearchInput-BwlJ77mV.js.map → SearchInput-BTTnMdb1.js.map} +1 -1
  82. package/dist/{SectionNav-DV3Hwj-5.js → SectionNav-O5hcU01h.js} +3 -3
  83. package/dist/{SectionNav-DV3Hwj-5.js.map → SectionNav-O5hcU01h.js.map} +1 -1
  84. package/dist/{Select-C3Q_Xk_Z.js → Select-DguW42V3.js} +2 -2
  85. package/dist/{Select-C3Q_Xk_Z.js.map → Select-DguW42V3.js.map} +1 -1
  86. package/dist/{Sheet-D7NnOyud.js → Sheet-DGqQqtof.js} +2 -2
  87. package/dist/{Sheet-D7NnOyud.js.map → Sheet-DGqQqtof.js.map} +1 -1
  88. package/dist/{Sidebar-DaUDM8jm.js → Sidebar-BD9iGHqL.js} +5 -5
  89. package/dist/{Sidebar-DaUDM8jm.js.map → Sidebar-BD9iGHqL.js.map} +1 -1
  90. package/dist/{Slider-Cdl8FOvI.js → Slider-D12JmXyd.js} +3 -3
  91. package/dist/{Slider-Cdl8FOvI.js.map → Slider-D12JmXyd.js.map} +1 -1
  92. package/dist/{Tabs-DUOUQKh7.js → Tabs-Z6ckOaSb.js} +2 -2
  93. package/dist/{Tabs-DUOUQKh7.js.map → Tabs-Z6ckOaSb.js.map} +1 -1
  94. package/dist/{TextInput-BAL-zOAN.js → TextInput-tWtbWBFQ.js} +3 -3
  95. package/dist/{TextInput-BAL-zOAN.js.map → TextInput-tWtbWBFQ.js.map} +1 -1
  96. package/dist/{ThemeProvider-MzVbTDBj.js → ThemeProvider-DHf_Tvwk.js} +2 -2
  97. package/dist/{ThemeProvider-MzVbTDBj.js.map → ThemeProvider-DHf_Tvwk.js.map} +1 -1
  98. package/dist/{ToggleAllTooltip-DQE5Lw6w.js → ToggleAllTooltip-EghNnsQC.js} +2 -2
  99. package/dist/{ToggleAllTooltip-DQE5Lw6w.js.map → ToggleAllTooltip-EghNnsQC.js.map} +1 -1
  100. package/dist/{ZoomableSvg-CIOqAYpd.js → ZoomableSvg-Cp2zJNIG.js} +4 -4
  101. package/dist/{ZoomableSvg-CIOqAYpd.js.map → ZoomableSvg-Cp2zJNIG.js.map} +1 -1
  102. package/dist/editors.js +3 -3
  103. package/dist/flint.js +3 -3
  104. package/dist/flint.js.map +1 -1
  105. package/dist/index.d.ts +2 -2
  106. package/dist/index.js +47 -47
  107. package/dist/internal/blocks/AIKit.js +1 -1
  108. package/dist/internal/blocks/AppShell.js +1 -1
  109. package/dist/internal/blocks/AuthLayout.js +1 -1
  110. package/dist/internal/blocks/BrandEditor.js +1 -1
  111. package/dist/internal/blocks/BulkActionsBar.js +1 -1
  112. package/dist/internal/blocks/ChipEditor.js +2 -2
  113. package/dist/internal/blocks/ClipboardButton.js +1 -1
  114. package/dist/internal/blocks/ColorInput.js +1 -1
  115. package/dist/internal/blocks/ColorModeSwitch.js +1 -1
  116. package/dist/internal/blocks/Command.js +1 -1
  117. package/dist/internal/blocks/CopyField.js +1 -1
  118. package/dist/internal/blocks/DateInput.js +1 -1
  119. package/dist/internal/blocks/DateRangeInput.js +1 -1
  120. package/dist/internal/blocks/ExportMenu.js +2 -2
  121. package/dist/internal/blocks/Form/connectors/ComboboxField.js +2 -2
  122. package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +1 -1
  123. package/dist/internal/blocks/Form.js +2 -2
  124. package/dist/internal/blocks/FormGroup.js +1 -1
  125. package/dist/internal/blocks/InlineEdit.js +1 -1
  126. package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
  127. package/dist/internal/blocks/MultiCombobox.js +3 -3
  128. package/dist/internal/blocks/NumberInput.js +1 -1
  129. package/dist/internal/blocks/PageHeader.js +1 -1
  130. package/dist/internal/blocks/PageToolbar.js +1 -1
  131. package/dist/internal/blocks/PasswordInput.js +2 -2
  132. package/dist/internal/blocks/SearchInput.js +1 -1
  133. package/dist/internal/blocks/SearchInputWithNavigation.js +3 -3
  134. package/dist/internal/blocks/SectionNav.js +1 -1
  135. package/dist/internal/blocks/SplitButton.js +1 -1
  136. package/dist/internal/blocks/TextInput.js +1 -1
  137. package/dist/internal/blocks/Textarea.js +1 -1
  138. package/dist/internal/blocks/TimeInput.js +2 -2
  139. package/dist/internal/components/Alert.js +1 -1
  140. package/dist/internal/components/AlertModal.js +1 -1
  141. package/dist/internal/components/Avatar.js +3 -2
  142. package/dist/internal/components/Avatar.js.map +1 -1
  143. package/dist/internal/components/BrandLogo.js +1 -1
  144. package/dist/internal/components/Breadcrumb.js +1 -1
  145. package/dist/internal/components/Button.js +1 -1
  146. package/dist/internal/components/Checkbox.js +1 -1
  147. package/dist/internal/components/Clipboard.js +1 -1
  148. package/dist/internal/components/CollapsiblePanel.js +1 -1
  149. package/dist/internal/components/Combobox.js +1 -1
  150. package/dist/internal/components/DateRangePicker.js +1 -1
  151. package/dist/internal/components/FileUpload.js +1 -1
  152. package/dist/internal/components/FullScreenModal.js +1 -1
  153. package/dist/internal/components/InputGroup.js +1 -1
  154. package/dist/internal/components/Kbd.js +1 -1
  155. package/dist/internal/components/Modal.js +1 -1
  156. package/dist/internal/components/Navbar.js +1 -1
  157. package/dist/internal/components/Pagination.js +1 -1
  158. package/dist/internal/components/Popconfirm.js +1 -1
  159. package/dist/internal/components/RadioGroup.js +1 -1
  160. package/dist/internal/components/Search.js +1 -1
  161. package/dist/internal/components/Select.js +1 -1
  162. package/dist/internal/components/Sheet.js +1 -1
  163. package/dist/internal/components/Sidebar.js +1 -1
  164. package/dist/internal/components/Slider.js +1 -1
  165. package/dist/internal/components/Tabs.js +1 -1
  166. package/dist/internal/components/ThemeProvider.js +1 -1
  167. package/dist/internal/components/Tooltip.js +1 -1
  168. package/dist/internal/components/Truncated.js +1 -1
  169. package/dist/internal/components/ZoomableSvg.js +1 -1
  170. package/dist/internal/utils.js +1 -1
  171. package/dist/markdown-editor.js +6 -6
  172. package/dist/mermaid.js +1 -1
  173. package/dist/rjsf.js +74 -54
  174. package/dist/rjsf.js.map +1 -1
  175. package/dist/testing.js +1 -1
  176. package/dist/{utils-BxEJOnFD.js → utils-CLNKe1ar.js} +10 -1
  177. package/dist/{utils-BxEJOnFD.js.map → utils-CLNKe1ar.js.map} +1 -1
  178. package/package.json +26 -26
  179. package/dist/AIKit-DyysN1kS.js.map +0 -1
  180. package/dist/Combobox-RZ0i3w8u.js.map +0 -1
  181. package/dist/PageHeader-DosMyar2.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { cn } from "../../classNames-DkX30VJU.js";
2
- import { Tooltip } from "../../utils-BxEJOnFD.js";
2
+ import { Tooltip } from "../../utils-CLNKe1ar.js";
3
3
  import { useState } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  // src/components/Truncated.tsx
@@ -1 +1 @@
1
- export { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "../../ZoomableSvg-CIOqAYpd.js";
1
+ export { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "../../ZoomableSvg-Cp2zJNIG.js";
@@ -1,5 +1,5 @@
1
1
  import { cn } from "../classNames-DkX30VJU.js";
2
- import { DEFAULT_ENTRY_SEPARATOR, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, isMac, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle } from "../utils-BxEJOnFD.js";
2
+ import { DEFAULT_ENTRY_SEPARATOR, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, isMac, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle } from "../utils-CLNKe1ar.js";
3
3
  import { findLiteralMatches, findLiteralTermMatches, hasLiteralMatch } from "../findLiteralMatches-BaLZTPtx.js";
4
4
  import { mergeRefs } from "./utils/mergeRefs.js";
5
5
  export { DEFAULT_ENTRY_SEPARATOR, cn, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, findLiteralMatches, findLiteralTermMatches, hasLiteralMatch, isMac, mergeRefs, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle };
@@ -1,15 +1,15 @@
1
1
  import { cn } from "./classNames-DkX30VJU.js";
2
- import { Tooltip } from "./utils-BxEJOnFD.js";
2
+ import { Tooltip } from "./utils-CLNKe1ar.js";
3
3
  import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Bold, ChevronDown, Code, Heading1, Heading2, Heading3, Italic, Link, List, ListOrdered, Quote, SquareCode, Strikethrough, Type, Underline } from "./icons-DDR9dFSr.js";
4
- import { Button } from "./Button-BAMX1iuI.js";
4
+ import { Button } from "./Button-BgjVUBON.js";
5
5
  import { ButtonGroup } from "./internal/components/ButtonGroup.js";
6
6
  import { DropdownMenu } from "./DropdownMenu-Ba9atqDa.js";
7
7
  import { Label } from "./internal/components/Label.js";
8
8
  import { useStableCallback } from "./internal/hooks/useStableCallback.js";
9
9
  import { Popover } from "./Popover-DhOPlWgF.js";
10
- import { TextInput } from "./TextInput-BAL-zOAN.js";
11
- import { FormGroup } from "./FormGroup-D7ahkK1q.js";
12
- import { Kbd } from "./Kbd-6velz9J-.js";
10
+ import { TextInput } from "./TextInput-tWtbWBFQ.js";
11
+ import { FormGroup } from "./FormGroup-B-_HsL1J.js";
12
+ import { Kbd } from "./Kbd-D4F65jXO.js";
13
13
  import { Skeleton } from "./internal/components/Skeleton/Skeleton.js";
14
14
  import { toast } from "./toast-Dzj1EFOb.js";
15
15
  import { Suspense, createContext, lazy, use, useCallback, useEffect, useId, useRef, useState } from "react";
@@ -276,7 +276,7 @@ const KeyboardPlugin = ({ onSave, onCancel, singleLine, blurOnEscape, skipBlurSa
276
276
  return null;
277
277
  };
278
278
  // src/blocks/MarkdownEditor/nodes/MermaidNodeComponent.tsx
279
- const MermaidDiagram = lazy(() => import("./MermaidDiagram-l83gco3r.js").then((n) => n.MermaidDiagram_exports).then((m) => ({ default: m.MermaidDiagram }), (error) => {
279
+ const MermaidDiagram = lazy(() => import("./MermaidDiagram-Cg-c8jjI.js").then((n) => n.MermaidDiagram_exports).then((m) => ({ default: m.MermaidDiagram }), (error) => {
280
280
  console.error("[MarkdownEditor] failed to load MermaidDiagram chunk", error);
281
281
  return { default: ({ code }) => /* @__PURE__ */ jsx("pre", { children: /* @__PURE__ */ jsx("code", { children: code }) }) };
282
282
  }));
package/dist/mermaid.js CHANGED
@@ -1 +1 @@
1
- export { MermaidDiagram } from "./MermaidDiagram-l83gco3r.js";
1
+ export { MermaidDiagram } from "./MermaidDiagram-Cg-c8jjI.js";
package/dist/rjsf.js CHANGED
@@ -1,24 +1,24 @@
1
1
  import { cn } from "./classNames-DkX30VJU.js";
2
- import { Tooltip, debounce } from "./utils-BxEJOnFD.js";
2
+ import { Tooltip, debounce } from "./utils-CLNKe1ar.js";
3
3
  import { BookOpen, Info, Trash2 } from "./icons-DDR9dFSr.js";
4
- import { Button } from "./Button-BAMX1iuI.js";
4
+ import { Button } from "./Button-BgjVUBON.js";
5
5
  import { Label } from "./internal/components/Label.js";
6
6
  import { Link } from "./internal/components/Link.js";
7
7
  import { useStableCallback } from "./internal/hooks/useStableCallback.js";
8
- import { TextInput } from "./TextInput-BAL-zOAN.js";
9
- import { RadioGroup } from "./RadioGroup-BIElT-nH.js";
10
- import { Checkbox } from "./Checkbox-CfjpwIcg.js";
11
- import { Combobox } from "./Combobox-RZ0i3w8u.js";
8
+ import { TextInput } from "./TextInput-tWtbWBFQ.js";
9
+ import { RadioGroup } from "./RadioGroup-BCpVnOjW.js";
10
+ import { Checkbox } from "./Checkbox-CsvhT9Bj.js";
11
+ import { Combobox } from "./Combobox-D_modNUu.js";
12
12
  import { MultiCombobox } from "./internal/blocks/MultiCombobox.js";
13
- import { FormGroup } from "./FormGroup-D7ahkK1q.js";
13
+ import { FormGroup } from "./FormGroup-B-_HsL1J.js";
14
14
  import { NumberInput } from "./internal/blocks/NumberInput.js";
15
15
  import { Textarea } from "./internal/blocks/Textarea.js";
16
- import { DateInput } from "./DateInput-CCYG0AtT.js";
16
+ import { DateInput } from "./DateInput-DpoPkZRC.js";
17
17
  import { PasswordInput } from "./internal/blocks/PasswordInput.js";
18
- import { Alert } from "./Alert-BQB-og_I.js";
18
+ import { Alert } from "./Alert-CcAVKRSM.js";
19
19
  import { CollapsiblePanel } from "./internal/components/CollapsiblePanel.js";
20
- import { Tabs, TabsContent } from "./Tabs-DUOUQKh7.js";
21
- import { CodeEditor, isLanguageMode } from "./CodeEditor-BdTxkPD4.js";
20
+ import { Tabs, TabsContent } from "./Tabs-Z6ckOaSb.js";
21
+ import { CodeEditor, isLanguageMode } from "./CodeEditor-Dx9gyVHV.js";
22
22
  import { createContext, isValidElement, use, useCallback, useEffect, useMemo, useRef, useState } from "react";
23
23
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
24
24
  import DOMPurify from "dompurify";
@@ -233,15 +233,37 @@ const CodeEditorField = ({ fieldPathId, formData, onChange, disabled, readonly,
233
233
  options: uiOptions ?? {}
234
234
  });
235
235
  };
236
+ // src/blocks/RjsfSchemaEditor/TooltipIcon.tsx
237
+ const TooltipIcon = ({ rawHelp }) => {
238
+ const renderMarkdown = useRenderMarkdown();
239
+ return /* @__PURE__ */ jsx(Tooltip, {
240
+ placement: "top",
241
+ variant: "explanatory",
242
+ tooltip: renderMarkdown(rawHelp),
243
+ triggerAsChild: true,
244
+ children: /* @__PURE__ */ jsx("span", {
245
+ className: "tw:cursor-help tw:text-muted-foreground",
246
+ children: /* @__PURE__ */ jsx(Info, { className: "tw:size-4" })
247
+ })
248
+ });
249
+ };
236
250
  // src/blocks/RjsfSchemaEditor/SchemaDescription.tsx
237
- /** Renders a schema description with sanitized HTML support (links, formatting, etc.). */
238
- const SchemaDescription = ({ description }) => {
251
+ /**
252
+ * Renders a schema description with sanitized HTML support (links, formatting, etc.).
253
+ * - `tooltip` adds a help icon at the end of the text.
254
+ */
255
+ const SchemaDescription = ({ description, tooltip }) => {
239
256
  if (!description) return null;
240
- return /* @__PURE__ */ jsx("p", {
257
+ return /* @__PURE__ */ jsxs("p", {
241
258
  className: "tw:text-xs tw:text-muted-foreground",
242
- dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(description) }
259
+ children: [/* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(description) } }), tooltip && /* @__PURE__ */ jsx(InlineTooltipIcon, { rawHelp: tooltip })]
243
260
  });
244
261
  };
262
+ /** Help icon that flows with the text it ends. */
263
+ const InlineTooltipIcon = ({ rawHelp }) => /* @__PURE__ */ jsx("span", {
264
+ className: "tw:ml-1 tw:inline-block tw:align-middle",
265
+ children: /* @__PURE__ */ jsx(TooltipIcon, { rawHelp })
266
+ });
245
267
  // src/blocks/RjsfSchemaEditor/fields/GridObjectField.tsx
246
268
  /**
247
269
  * Custom field that renders an object's properties in a responsive grid layout.
@@ -346,20 +368,6 @@ const InfoField = ({ schema, uiSchema }) => {
346
368
  })
347
369
  });
348
370
  };
349
- // src/blocks/RjsfSchemaEditor/TooltipIcon.tsx
350
- const TooltipIcon = ({ rawHelp }) => {
351
- const renderMarkdown = useRenderMarkdown();
352
- return /* @__PURE__ */ jsx(Tooltip, {
353
- placement: "top",
354
- variant: "explanatory",
355
- tooltip: renderMarkdown(rawHelp),
356
- triggerAsChild: true,
357
- children: /* @__PURE__ */ jsx("span", {
358
- className: "tw:cursor-help tw:text-muted-foreground",
359
- children: /* @__PURE__ */ jsx(Info, { className: "tw:size-4" })
360
- })
361
- });
362
- };
363
371
  // src/blocks/RjsfSchemaEditor/fields/TableArrayField.tsx
364
372
  /** Default value for a freshly added cell/item, honouring the schema default. */
365
373
  const defaultValueFor = (prop) => {
@@ -454,7 +462,7 @@ const TableArrayField = ({ schema, uiSchema = {}, formData, onChange, disabled,
454
462
  className: "tw:px-2 tw:py-1.5 tw:[&>div]:mb-0",
455
463
  children: /* @__PURE__ */ jsx(SchemaField, {
456
464
  name: key,
457
- schema: properties[key],
465
+ schema: properties[key] ?? {},
458
466
  uiSchema: getCellUiSchema(key),
459
467
  formData: item[key],
460
468
  ...SCHEMA_FIELD_STUBS,
@@ -481,28 +489,31 @@ const TableArrayField = ({ schema, uiSchema = {}, formData, onChange, disabled,
481
489
  onClick: handleAddRow,
482
490
  children: ["Add ", itemSchema?.title || "Item"]
483
491
  });
484
- if (schema.title) {
485
- const tooltip = uiSchema["ui:help"];
486
- return /* @__PURE__ */ jsxs(CollapsiblePanel, {
487
- className: "tw:rounded-lg",
488
- headerClassName: "tw:rounded-lg",
489
- header: /* @__PURE__ */ jsxs("span", {
490
- className: "tw:inline-flex tw:items-center tw:gap-1",
491
- children: [schema.title, tooltip && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp: tooltip })]
492
- }),
493
- defaultExpanded: true,
494
- bodyClassName: "tw:flex tw:flex-col tw:gap-4",
495
- children: [
496
- /* @__PURE__ */ jsx(SchemaDescription, { description: schema.description }),
497
- table,
498
- addButton
499
- ]
500
- });
501
- }
492
+ const tooltip = uiSchema["ui:help"];
493
+ const tooltipInDescription = Boolean(tooltip && schema.description && uiSchema["ui:options"]?.tooltipPlacement === "description");
494
+ const description = /* @__PURE__ */ jsx(SchemaDescription, {
495
+ description: schema.description,
496
+ tooltip: tooltipInDescription ? tooltip : void 0
497
+ });
498
+ if (schema.title) return /* @__PURE__ */ jsxs(CollapsiblePanel, {
499
+ className: "tw:rounded-lg",
500
+ headerClassName: "tw:rounded-lg",
501
+ header: /* @__PURE__ */ jsxs("span", {
502
+ className: "tw:inline-flex tw:items-center tw:gap-1",
503
+ children: [schema.title, tooltip && !tooltipInDescription && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp: tooltip })]
504
+ }),
505
+ defaultExpanded: true,
506
+ bodyClassName: "tw:flex tw:flex-col tw:gap-4",
507
+ children: [
508
+ description,
509
+ table,
510
+ addButton
511
+ ]
512
+ });
502
513
  return /* @__PURE__ */ jsxs("div", {
503
514
  className: "tw:flex tw:flex-col tw:gap-4",
504
515
  children: [
505
- /* @__PURE__ */ jsx(SchemaDescription, { description: schema.description }),
516
+ description,
506
517
  table,
507
518
  addButton
508
519
  ]
@@ -742,12 +753,15 @@ const FieldTemplateBody = ({ id, label, rawHelp, rawDescription, rawErrors, chil
742
753
  if (widget === "test-connection" || widget === "sync-action") return /* @__PURE__ */ jsx(Fragment$1, { children });
743
754
  if (schema.type === "object") return /* @__PURE__ */ jsx(Fragment$1, { children });
744
755
  if (schema.type === "array" && !uiSchema?.["ui:widget"]) return /* @__PURE__ */ jsx(Fragment$1, { children });
745
- const documentation = (uiSchema?.["ui:options"])?.documentation;
756
+ const uiOptions = uiSchema?.["ui:options"];
757
+ const documentation = uiOptions?.documentation;
746
758
  const hasErrors = rawErrors && rawErrors.length > 0;
747
759
  const isCheckbox = schema.type === "boolean" && uiSchema?.["ui:widget"] !== "select";
748
760
  const showLabel = displayLabel && label && !isCheckbox;
749
- const hasHelpIcons = Boolean(rawHelp || documentation);
750
- const helpIcons = /* @__PURE__ */ jsxs(Fragment$1, { children: [rawHelp && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp }), documentation && /* @__PURE__ */ jsx(DocumentationLinkIcon, { documentation })] });
761
+ const helpInDescription = Boolean(rawHelp && rawDescription && uiOptions?.tooltipPlacement === "description");
762
+ const labelHelp = helpInDescription ? void 0 : rawHelp;
763
+ const hasHelpIcons = Boolean(labelHelp || documentation);
764
+ const helpIcons = /* @__PURE__ */ jsxs(Fragment$1, { children: [labelHelp && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp: labelHelp }), documentation && /* @__PURE__ */ jsx(DocumentationLinkIcon, { documentation })] });
751
765
  return /* @__PURE__ */ jsxs(FormGroup, {
752
766
  state: hasErrors ? "error" : "default",
753
767
  children: [
@@ -766,7 +780,7 @@ const FieldTemplateBody = ({ id, label, rawHelp, rawDescription, rawErrors, chil
766
780
  className: "tw:flex tw:items-center tw:gap-1",
767
781
  children: [children, helpIcons]
768
782
  }) : children,
769
- rawDescription && /* @__PURE__ */ jsx(FormGroup.Help, { children: /* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(rawDescription) } }) }),
783
+ rawDescription && /* @__PURE__ */ jsxs(FormGroup.Help, { children: [/* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(rawDescription) } }), helpInDescription && rawHelp && /* @__PURE__ */ jsx(InlineTooltipIcon, { rawHelp })] }),
770
784
  hasErrors && /* @__PURE__ */ jsx(FormGroup.Help, { children: rawErrors.join(". ") })
771
785
  ]
772
786
  });
@@ -1339,7 +1353,13 @@ const generateUiSchema = (schema, readOnly = false, definitions, globalConfig, h
1339
1353
  if (globalValue !== void 0) {
1340
1354
  if (typeof globalValue !== "object" || globalValue === null || Array.isArray(globalValue)) fieldUi["ui:disabled"] = true;
1341
1355
  }
1342
- if (options?.tooltip) fieldUi["ui:help"] = String(options.tooltip);
1356
+ if (options?.tooltip) {
1357
+ fieldUi["ui:help"] = String(options.tooltip);
1358
+ if (options.tooltip_placement === "description") fieldUi["ui:options"] = {
1359
+ ...fieldUi["ui:options"],
1360
+ tooltipPlacement: "description"
1361
+ };
1362
+ }
1343
1363
  if ((options?.documentation)?.link) fieldUi["ui:options"] = {
1344
1364
  ...fieldUi["ui:options"],
1345
1365
  documentation: options?.documentation