@keboola/design 14.0.0 → 15.1.0

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 (303) hide show
  1. package/AGENTS.md +11 -23
  2. package/CHANGELOG.md +58 -0
  3. package/COMPONENT-API.md +109 -115
  4. package/dist/{AIKit-BRSZ3nY7.js → AIKit-BR6jfsdI.js} +69 -35
  5. package/dist/AIKit-BR6jfsdI.js.map +1 -0
  6. package/dist/{Alert-CZ0dDsuk.js → Alert-Chz6KZ7e.js} +11 -20
  7. package/dist/Alert-Chz6KZ7e.js.map +1 -0
  8. package/dist/{AlertModal-BDle9ZVQ.js → AlertModal-DMsn62JJ.js} +16 -36
  9. package/dist/AlertModal-DMsn62JJ.js.map +1 -0
  10. package/dist/{AppShell-B03fj1j7.js → AppShell-C8V1KRr_.js} +2 -2
  11. package/dist/{AppShell-B03fj1j7.js.map → AppShell-C8V1KRr_.js.map} +1 -1
  12. package/dist/{AutoSaveTextarea-jiqNeeE4.js → AutoSaveTextarea-BbMhC5Aq.js} +3 -3
  13. package/dist/AutoSaveTextarea-BbMhC5Aq.js.map +1 -0
  14. package/dist/{Badge-Ba3epgcI.js → Badge-CqlOE5A2.js} +23 -12
  15. package/dist/Badge-CqlOE5A2.js.map +1 -0
  16. package/dist/{BrandEditor-CN2HJ_12.js → BrandEditor-D61pzWRq.js} +7 -9
  17. package/dist/BrandEditor-D61pzWRq.js.map +1 -0
  18. package/dist/{BrandLogo-BfITD0im.js → BrandLogo-DkESE19K.js} +2 -2
  19. package/dist/{BrandLogo-BfITD0im.js.map → BrandLogo-DkESE19K.js.map} +1 -1
  20. package/dist/{Breadcrumb-BnIlsoIH.js → Breadcrumb-DbqvDnYl.js} +4 -4
  21. package/dist/{Breadcrumb-BnIlsoIH.js.map → Breadcrumb-DbqvDnYl.js.map} +1 -1
  22. package/dist/{Button-D2JqBAq7.js → Button-BNkyYU8u.js} +9 -185
  23. package/dist/Button-BNkyYU8u.js.map +1 -0
  24. package/dist/{Card-Bpc_ZlL4.js → Card-DxjGiqH8.js} +11 -18
  25. package/dist/Card-DxjGiqH8.js.map +1 -0
  26. package/dist/{Checkbox-uFE8XLT_.js → Checkbox-CHDDJyAA.js} +20 -45
  27. package/dist/Checkbox-CHDDJyAA.js.map +1 -0
  28. package/dist/{Clipboard-D-9XOqy4.js → Clipboard-DlwVZS1P.js} +2 -2
  29. package/dist/{Clipboard-D-9XOqy4.js.map → Clipboard-DlwVZS1P.js.map} +1 -1
  30. package/dist/{ClipboardButton-DxvZG_H0.js → ClipboardButton-B1Hr_n_Z.js} +3 -3
  31. package/dist/{ClipboardButton-DxvZG_H0.js.map → ClipboardButton-B1Hr_n_Z.js.map} +1 -1
  32. package/dist/{CodeEditor-BfRSCKEs.js → CodeEditor-DVSPdfdo.js} +24 -31
  33. package/dist/CodeEditor-DVSPdfdo.js.map +1 -0
  34. package/dist/{ColorInput-CDKH8q_f.js → ColorInput-B_eZIu39.js} +5 -7
  35. package/dist/ColorInput-B_eZIu39.js.map +1 -0
  36. package/dist/{ColorModeSwitch-DR6J2U6M.js → ColorModeSwitch-BlrH8jAi.js} +3 -3
  37. package/dist/{ColorModeSwitch-DR6J2U6M.js.map → ColorModeSwitch-BlrH8jAi.js.map} +1 -1
  38. package/dist/{Combobox-CEesMe2M.js → Combobox-BLqX-Tdh.js} +16 -24
  39. package/dist/Combobox-BLqX-Tdh.js.map +1 -0
  40. package/dist/{Command-T3MLRaen.js → Command-DhXmqFLT.js} +46 -32
  41. package/dist/Command-DhXmqFLT.js.map +1 -0
  42. package/dist/{CopyField-CNbCHw9a.js → CopyField-D0Pg4Z0R.js} +2 -2
  43. package/dist/{CopyField-CNbCHw9a.js.map → CopyField-D0Pg4Z0R.js.map} +1 -1
  44. package/dist/{DateInput-ClK1lCxz.js → DateInput-duinbI9_.js} +5 -7
  45. package/dist/DateInput-duinbI9_.js.map +1 -0
  46. package/dist/{DatePicker-CgHAu9KX.js → DatePicker-Cg_aG_N4.js} +2 -2
  47. package/dist/{DatePicker-CgHAu9KX.js.map → DatePicker-Cg_aG_N4.js.map} +1 -1
  48. package/dist/{DateRangeInput-DtlAffS1.js → DateRangeInput-BYVHf9zo.js} +5 -7
  49. package/dist/DateRangeInput-BYVHf9zo.js.map +1 -0
  50. package/dist/{DateRangePicker-CXpXPMoh.js → DateRangePicker-m47cSV1r.js} +7 -12
  51. package/dist/DateRangePicker-m47cSV1r.js.map +1 -0
  52. package/dist/{DropdownMenu-B1gGvZoh.js → DropdownMenu-Bum99mVf.js} +35 -64
  53. package/dist/DropdownMenu-Bum99mVf.js.map +1 -0
  54. package/dist/{FieldItem-CYvJyjiI.js → FieldItem-BHUqgSO1.js} +3 -3
  55. package/dist/{FieldItem-CYvJyjiI.js.map → FieldItem-BHUqgSO1.js.map} +1 -1
  56. package/dist/{FileUpload-D6vPG3WB.js → FileUpload-BYFONpEl.js} +3 -3
  57. package/dist/FileUpload-BYFONpEl.js.map +1 -0
  58. package/dist/{Form-CD55zJiy.js → Form-Dqbt_tIs.js} +8 -8
  59. package/dist/{Form-CD55zJiy.js.map → Form-Dqbt_tIs.js.map} +1 -1
  60. package/dist/{FormGroup-DiYFdEhH.js → FormGroup-V5kIgQRN.js} +3 -3
  61. package/dist/{FormGroup-DiYFdEhH.js.map → FormGroup-V5kIgQRN.js.map} +1 -1
  62. package/dist/{FullScreenModal-CUuAakh3.js → FullScreenModal-DAvvlGOz.js} +2 -5
  63. package/dist/FullScreenModal-DAvvlGOz.js.map +1 -0
  64. package/dist/HoverCard-Cf9iYyaW.js +26 -0
  65. package/dist/HoverCard-Cf9iYyaW.js.map +1 -0
  66. package/dist/{InlineEdit-D5RdunZo.js → InlineEdit-D4P0SvCB.js} +5 -9
  67. package/dist/InlineEdit-D4P0SvCB.js.map +1 -0
  68. package/dist/{InputGroup-Dm014ruw.js → InputGroup-CZv_7QlM.js} +39 -146
  69. package/dist/InputGroup-CZv_7QlM.js.map +1 -0
  70. package/dist/{Kbd-3YM7NQO4.js → Kbd-CflKthfu.js} +5 -14
  71. package/dist/Kbd-CflKthfu.js.map +1 -0
  72. package/dist/{MermaidDiagram-CeiOkI60.js → MermaidDiagram-2-EuNu1i.js} +4 -4
  73. package/dist/{MermaidDiagram-CeiOkI60.js.map → MermaidDiagram-2-EuNu1i.js.map} +1 -1
  74. package/dist/{Modal-DMZRswk4.js → Modal-DwuvuiUx.js} +17 -36
  75. package/dist/Modal-DwuvuiUx.js.map +1 -0
  76. package/dist/{ModalTitle-CTECVgL8.js → ModalTitle-RGWwIMU6.js} +3 -3
  77. package/dist/ModalTitle-RGWwIMU6.js.map +1 -0
  78. package/dist/{MultiActionButtonGroup-CEv_txvz.js → MultiActionButtonGroup-Dzig87s1.js} +3 -3
  79. package/dist/{MultiActionButtonGroup-CEv_txvz.js.map → MultiActionButtonGroup-Dzig87s1.js.map} +1 -1
  80. package/dist/{Navbar-CtVYcRFn.js → Navbar-DHUS7XiU.js} +2 -2
  81. package/dist/{Navbar-CtVYcRFn.js.map → Navbar-DHUS7XiU.js.map} +1 -1
  82. package/dist/OtpInput-CY8yCaJk.js.map +1 -1
  83. package/dist/{PageToolbar-B_e7HGva.js → PageToolbar-LKP6PiP_.js} +4 -4
  84. package/dist/{PageToolbar-B_e7HGva.js.map → PageToolbar-LKP6PiP_.js.map} +1 -1
  85. package/dist/{Pagination-DDp6PRqf.js → Pagination-D27x5KmH.js} +2 -2
  86. package/dist/{Pagination-DDp6PRqf.js.map → Pagination-D27x5KmH.js.map} +1 -1
  87. package/dist/{Popconfirm-BgV6a0sl.js → Popconfirm-p72DiagN.js} +3 -3
  88. package/dist/{Popconfirm-BgV6a0sl.js.map → Popconfirm-p72DiagN.js.map} +1 -1
  89. package/dist/{Popover-BU7nGOv-.js → Popover-DnBw5Uay.js} +25 -38
  90. package/dist/Popover-DnBw5Uay.js.map +1 -0
  91. package/dist/{RadioGroup-C8EC3fqO.js → RadioGroup-B0TwHjBb.js} +9 -13
  92. package/dist/RadioGroup-B0TwHjBb.js.map +1 -0
  93. package/dist/{Search-aaUMI4ix.js → Search-vyZwGKMU.js} +3 -3
  94. package/dist/{Search-aaUMI4ix.js.map → Search-vyZwGKMU.js.map} +1 -1
  95. package/dist/{SearchInput-Dxi2GK4n.js → SearchInput-DyYXyw3u.js} +4 -6
  96. package/dist/SearchInput-DyYXyw3u.js.map +1 -0
  97. package/dist/{SectionNav-BnHOMLtE.js → SectionNav-6hcIpZLO.js} +5 -5
  98. package/dist/{SectionNav-BnHOMLtE.js.map → SectionNav-6hcIpZLO.js.map} +1 -1
  99. package/dist/{Select-CjQgU_6K.js → Select-C6zKeip5.js} +11 -25
  100. package/dist/Select-C6zKeip5.js.map +1 -0
  101. package/dist/{Sheet-utw4_rUa.js → Sheet-DKG20J7W.js} +13 -16
  102. package/dist/Sheet-DKG20J7W.js.map +1 -0
  103. package/dist/{Sidebar-BAmux2Uj.js → Sidebar-BlYqasnX.js} +11 -11
  104. package/dist/Sidebar-BlYqasnX.js.map +1 -0
  105. package/dist/{Slider-DbzzSDRV.js → Slider-DrcsM8_G.js} +4 -4
  106. package/dist/Slider-DrcsM8_G.js.map +1 -0
  107. package/dist/{Stepper-BBPembeK.js → Stepper-CQrUPVFL.js} +2 -2
  108. package/dist/Stepper-CQrUPVFL.js.map +1 -0
  109. package/dist/Switch-DccpSpzC.js +66 -0
  110. package/dist/Switch-DccpSpzC.js.map +1 -0
  111. package/dist/{Tabs-C0uvkPHc.js → Tabs-Ck4uWf8U.js} +2 -2
  112. package/dist/{Tabs-C0uvkPHc.js.map → Tabs-Ck4uWf8U.js.map} +1 -1
  113. package/dist/{TextInput-K2DSDs5O.js → TextInput-CR0_USaY.js} +4 -7
  114. package/dist/TextInput-CR0_USaY.js.map +1 -0
  115. package/dist/{ThemeProvider-C8yaKlM1.js → ThemeProvider-BTK7AL-T.js} +21 -8
  116. package/dist/ThemeProvider-BTK7AL-T.js.map +1 -0
  117. package/dist/{TimePicker-DyyV3nw8.js → TimePicker-lk3NGqeK.js} +2 -2
  118. package/dist/{TimePicker-DyyV3nw8.js.map → TimePicker-lk3NGqeK.js.map} +1 -1
  119. package/dist/{Toast-BGnUL4jV.js → Toast-937n7n8i.js} +2 -2
  120. package/dist/{Toast-BGnUL4jV.js.map → Toast-937n7n8i.js.map} +1 -1
  121. package/dist/{ToggleAllTooltip-Dlmq-yqS.js → ToggleAllTooltip-DEjbWFoj.js} +2 -2
  122. package/dist/{ToggleAllTooltip-Dlmq-yqS.js.map → ToggleAllTooltip-DEjbWFoj.js.map} +1 -1
  123. package/dist/Workbench-CxgNCs3I.js.map +1 -1
  124. package/dist/{ZoomableSvg-Dh1OstPN.js → ZoomableSvg-CxXKanUR.js} +5 -5
  125. package/dist/{ZoomableSvg-Dh1OstPN.js.map → ZoomableSvg-CxXKanUR.js.map} +1 -1
  126. package/dist/editors.js +4 -4
  127. package/dist/flint.js +4 -4
  128. package/dist/index.d.ts +113 -125
  129. package/dist/index.js +61 -61
  130. package/dist/internal/blocks/AIKit.js +1 -1
  131. package/dist/internal/blocks/AppShell.js +1 -1
  132. package/dist/internal/blocks/AuthLayout.js +1 -1
  133. package/dist/internal/blocks/AutoSaveTextarea.js +1 -1
  134. package/dist/internal/blocks/BrandEditor.js +1 -1
  135. package/dist/internal/blocks/ChartPanel.js +1 -1
  136. package/dist/internal/blocks/ChipEditor.js +5 -9
  137. package/dist/internal/blocks/ChipEditor.js.map +1 -1
  138. package/dist/internal/blocks/ClipboardButton.js +1 -1
  139. package/dist/internal/blocks/ColorInput.js +1 -1
  140. package/dist/internal/blocks/ColorModeSwitch.js +1 -1
  141. package/dist/internal/blocks/Command.js +1 -1
  142. package/dist/internal/blocks/CopyField.js +1 -1
  143. package/dist/internal/blocks/DateInput.js +1 -1
  144. package/dist/internal/blocks/DateRangeInput.js +1 -1
  145. package/dist/internal/blocks/EmptyConfigurationActionCard.js +1 -1
  146. package/dist/internal/blocks/ErrorState.js +18 -29
  147. package/dist/internal/blocks/ErrorState.js.map +1 -1
  148. package/dist/internal/blocks/ExportMenu.js +3 -3
  149. package/dist/internal/blocks/ExportMenu.js.map +1 -1
  150. package/dist/internal/blocks/Form/connectors/ComboboxField.js +2 -2
  151. package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +1 -1
  152. package/dist/internal/blocks/Form.js +1 -1
  153. package/dist/internal/blocks/FormGroup.js +1 -1
  154. package/dist/internal/blocks/InlineEdit.js +1 -1
  155. package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
  156. package/dist/internal/blocks/MultiCombobox.js +5 -9
  157. package/dist/internal/blocks/MultiCombobox.js.map +1 -1
  158. package/dist/internal/blocks/NumberInput.js +2 -4
  159. package/dist/internal/blocks/NumberInput.js.map +1 -1
  160. package/dist/internal/blocks/PageToolbar.js +1 -1
  161. package/dist/internal/blocks/PasswordInput.js +3 -5
  162. package/dist/internal/blocks/PasswordInput.js.map +1 -1
  163. package/dist/internal/blocks/SearchInput.js +1 -1
  164. package/dist/internal/blocks/SearchInputWithNavigation.js +6 -7
  165. package/dist/internal/blocks/SearchInputWithNavigation.js.map +1 -1
  166. package/dist/internal/blocks/SectionNav.js +1 -1
  167. package/dist/internal/blocks/SplitButton.js +2 -2
  168. package/dist/internal/blocks/StatCard.js +1 -1
  169. package/dist/internal/blocks/TextInput.js +1 -1
  170. package/dist/internal/blocks/Textarea.js +3 -8
  171. package/dist/internal/blocks/Textarea.js.map +1 -1
  172. package/dist/internal/blocks/TimeInput.js +4 -6
  173. package/dist/internal/blocks/TimeInput.js.map +1 -1
  174. package/dist/internal/components/Alert.js +1 -1
  175. package/dist/internal/components/AlertModal.js +1 -1
  176. package/dist/internal/components/Avatar.js +1 -1
  177. package/dist/internal/components/Badge.js +1 -1
  178. package/dist/internal/components/BrandLogo.js +1 -1
  179. package/dist/internal/components/Breadcrumb.js +1 -1
  180. package/dist/internal/components/Button.js +2 -2
  181. package/dist/internal/components/ButtonGroup.js +1 -1
  182. package/dist/internal/components/ButtonGroup.js.map +1 -1
  183. package/dist/internal/components/Card.js +1 -1
  184. package/dist/internal/components/Checkbox.js +1 -1
  185. package/dist/internal/components/Clipboard.js +1 -1
  186. package/dist/internal/components/CollapsiblePanel.js +1 -1
  187. package/dist/internal/components/Combobox.js +1 -1
  188. package/dist/internal/components/DatePicker.js +1 -1
  189. package/dist/internal/components/DateRangePicker.js +1 -1
  190. package/dist/internal/components/DropdownMenu.js +1 -1
  191. package/dist/internal/components/FileUpload.js +1 -1
  192. package/dist/internal/components/FullScreenModal.js +1 -1
  193. package/dist/internal/components/HoverCard.js +1 -1
  194. package/dist/internal/components/InputGroup.js +1 -1
  195. package/dist/internal/components/Kbd.js +1 -1
  196. package/dist/internal/components/Modal.js +1 -1
  197. package/dist/internal/components/Navbar.js +1 -1
  198. package/dist/internal/components/Pagination.js +1 -1
  199. package/dist/internal/components/Popconfirm.js +1 -1
  200. package/dist/internal/components/Popover.js +1 -1
  201. package/dist/internal/components/RadioGroup.js +1 -1
  202. package/dist/internal/components/Search.js +1 -1
  203. package/dist/internal/components/Select.js +1 -1
  204. package/dist/internal/components/Sheet.js +1 -1
  205. package/dist/internal/components/Sidebar.js +1 -1
  206. package/dist/internal/components/Skeleton/Skeleton.js +1 -1
  207. package/dist/internal/components/Skeleton/Skeleton.js.map +1 -1
  208. package/dist/internal/components/Slider.js +1 -1
  209. package/dist/internal/components/Stepper.js +1 -1
  210. package/dist/internal/components/Switch.js +1 -1
  211. package/dist/internal/components/Tabs.js +1 -1
  212. package/dist/internal/components/ThemeProvider.js +3 -4
  213. package/dist/internal/components/TimePicker.js +1 -1
  214. package/dist/internal/components/Toast.js +2 -2
  215. package/dist/internal/components/Toggle.js +13 -3
  216. package/dist/internal/components/Toggle.js.map +1 -1
  217. package/dist/internal/components/Tooltip.js +1 -1
  218. package/dist/internal/components/Truncated.js +1 -1
  219. package/dist/internal/components/ZoomableSvg.js +1 -1
  220. package/dist/internal/hooks/useTimeout.js +19 -0
  221. package/dist/internal/hooks/useTimeout.js.map +1 -0
  222. package/dist/internal/utils.js +1 -1
  223. package/dist/markdown-editor.js +16 -18
  224. package/dist/markdown-editor.js.map +1 -1
  225. package/dist/mermaid.js +1 -1
  226. package/dist/rjsf.js +33 -42
  227. package/dist/rjsf.js.map +1 -1
  228. package/dist/styles-DxazJ8Mz.js +81 -0
  229. package/dist/styles-DxazJ8Mz.js.map +1 -0
  230. package/dist/styles-T8xwr0sR.js +73 -0
  231. package/dist/styles-T8xwr0sR.js.map +1 -0
  232. package/dist/styles.css +1 -1
  233. package/dist/testing.d.ts +0 -2
  234. package/dist/testing.js +3 -10
  235. package/dist/testing.js.map +1 -1
  236. package/dist/{useColorSchemeState-Cw4MCXUs.js → themeScopeContext-CEVXbYvZ.js} +43 -15
  237. package/dist/themeScopeContext-CEVXbYvZ.js.map +1 -0
  238. package/dist/{useThemeAttributes-B199Regy.js → themeTokens-DCeb62ap.js} +22 -4
  239. package/dist/themeTokens-DCeb62ap.js.map +1 -0
  240. package/dist/{toast-D6Z6MOB5.js → toast-Y3cTMBW8.js} +7 -10
  241. package/dist/toast-Y3cTMBW8.js.map +1 -0
  242. package/dist/{utils-LQ4jJA-9.js → utils-DwC9u0tM.js} +26 -52
  243. package/dist/utils-DwC9u0tM.js.map +1 -0
  244. package/dist/vega.js +2 -2
  245. package/dist/{vegaTheme-BrmVoPEz.js → vegaTheme-ISwGXvof.js} +2 -2
  246. package/dist/{vegaTheme-BrmVoPEz.js.map → vegaTheme-ISwGXvof.js.map} +1 -1
  247. package/dist/{vegaTokens-Ce07C0DH.js → vegaTokens-DCkvpIVE.js} +2 -2
  248. package/dist/{vegaTokens-Ce07C0DH.js.map → vegaTokens-DCkvpIVE.js.map} +1 -1
  249. package/package.json +2 -2
  250. package/src/styles.css +0 -35
  251. package/src/theme.css +46 -0
  252. package/dist/AIKit-BRSZ3nY7.js.map +0 -1
  253. package/dist/Alert-CZ0dDsuk.js.map +0 -1
  254. package/dist/AlertModal-BDle9ZVQ.js.map +0 -1
  255. package/dist/AutoSaveTextarea-jiqNeeE4.js.map +0 -1
  256. package/dist/Badge-Ba3epgcI.js.map +0 -1
  257. package/dist/BrandEditor-CN2HJ_12.js.map +0 -1
  258. package/dist/Button-D2JqBAq7.js.map +0 -1
  259. package/dist/Card-Bpc_ZlL4.js.map +0 -1
  260. package/dist/Checkbox-uFE8XLT_.js.map +0 -1
  261. package/dist/CodeEditor-BfRSCKEs.js.map +0 -1
  262. package/dist/ColorInput-CDKH8q_f.js.map +0 -1
  263. package/dist/Combobox-CEesMe2M.js.map +0 -1
  264. package/dist/Command-T3MLRaen.js.map +0 -1
  265. package/dist/DateInput-ClK1lCxz.js.map +0 -1
  266. package/dist/DateRangeInput-DtlAffS1.js.map +0 -1
  267. package/dist/DateRangePicker-CXpXPMoh.js.map +0 -1
  268. package/dist/DropdownMenu-B1gGvZoh.js.map +0 -1
  269. package/dist/FileUpload-D6vPG3WB.js.map +0 -1
  270. package/dist/FullScreenModal-CUuAakh3.js.map +0 -1
  271. package/dist/HoverCard-BBdPYqEf.js +0 -31
  272. package/dist/HoverCard-BBdPYqEf.js.map +0 -1
  273. package/dist/InlineEdit-D5RdunZo.js.map +0 -1
  274. package/dist/InputGroup-Dm014ruw.js.map +0 -1
  275. package/dist/Kbd-3YM7NQO4.js.map +0 -1
  276. package/dist/Modal-DMZRswk4.js.map +0 -1
  277. package/dist/ModalTitle-CTECVgL8.js.map +0 -1
  278. package/dist/Popover-BU7nGOv-.js.map +0 -1
  279. package/dist/RadioGroup-C8EC3fqO.js.map +0 -1
  280. package/dist/SearchInput-Dxi2GK4n.js.map +0 -1
  281. package/dist/Select-CjQgU_6K.js.map +0 -1
  282. package/dist/Sheet-utw4_rUa.js.map +0 -1
  283. package/dist/Sidebar-BAmux2Uj.js.map +0 -1
  284. package/dist/Slider-DbzzSDRV.js.map +0 -1
  285. package/dist/Stepper-BBPembeK.js.map +0 -1
  286. package/dist/Switch-Dw4tvQls.js +0 -201
  287. package/dist/Switch-Dw4tvQls.js.map +0 -1
  288. package/dist/TextInput-K2DSDs5O.js.map +0 -1
  289. package/dist/ThemeProvider-C8yaKlM1.js.map +0 -1
  290. package/dist/context-U293r3v-.js +0 -29
  291. package/dist/context-U293r3v-.js.map +0 -1
  292. package/dist/defaults-i_xG2F_1.js +0 -32
  293. package/dist/defaults-i_xG2F_1.js.map +0 -1
  294. package/dist/styles-BDA5rQz3.js +0 -127
  295. package/dist/styles-BDA5rQz3.js.map +0 -1
  296. package/dist/styles-YQdM7G8c.js +0 -159
  297. package/dist/styles-YQdM7G8c.js.map +0 -1
  298. package/dist/themeTokens-l2Fsfcs7.js +0 -22
  299. package/dist/themeTokens-l2Fsfcs7.js.map +0 -1
  300. package/dist/toast-D6Z6MOB5.js.map +0 -1
  301. package/dist/useColorSchemeState-Cw4MCXUs.js.map +0 -1
  302. package/dist/useThemeAttributes-B199Regy.js.map +0 -1
  303. package/dist/utils-LQ4jJA-9.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,88 +1,86 @@
1
1
  import { cn } from "./classNames-DcGnTh2N.js";
2
- import { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider, copyToClipboard, isMac } from "./utils-LQ4jJA-9.js";
3
- import { DEFAULT_BRAND_ID, DEFAULT_COLOR_SCHEME } from "./defaults-i_xG2F_1.js";
4
- import { ArgoDesignContext, useArgoDesign, useTheme } from "./context-U293r3v-.js";
2
+ import { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider, copyToClipboard, isMac } from "./utils-DwC9u0tM.js";
5
3
  import { findLiteralMatches, hasLiteralMatch } from "./findLiteralMatches-DgGLzyG0.js";
6
4
  import { mergeRefs } from "./internal/utils/mergeRefs.js";
7
- import { Button, ButtonInline, argoVariants } from "./Button-D2JqBAq7.js";
5
+ import { Button, ButtonInline, buttonVariants } from "./Button-BNkyYU8u.js";
8
6
  import { ButtonGroup } from "./internal/components/ButtonGroup.js";
9
- import { DropdownMenu } from "./DropdownMenu-B1gGvZoh.js";
7
+ import { DropdownMenu } from "./DropdownMenu-Bum99mVf.js";
10
8
  import { ScrollArea, ScrollBar } from "./internal/components/ScrollArea.js";
11
9
  import { SplitButton } from "./internal/blocks/SplitButton.js";
12
- import { MultiActionButtonGroup } from "./MultiActionButtonGroup-CEv_txvz.js";
10
+ import { MultiActionButtonGroup } from "./MultiActionButtonGroup-Dzig87s1.js";
13
11
  import { Toggle } from "./internal/components/Toggle.js";
14
12
  import { ToggleGroup } from "./ToggleGroup-BOz1yyz6.js";
15
- import { Clipboard } from "./Clipboard-D-9XOqy4.js";
16
- import { ClipboardButton, ClipboardInline } from "./ClipboardButton-DxvZG_H0.js";
13
+ import { Clipboard } from "./Clipboard-DlwVZS1P.js";
14
+ import { ClipboardButton, ClipboardInline } from "./ClipboardButton-B1Hr_n_Z.js";
17
15
  import { ExportMenu } from "./internal/blocks/ExportMenu.js";
18
- import { CopyField } from "./CopyField-CNbCHw9a.js";
16
+ import { CopyField } from "./CopyField-D0Pg4Z0R.js";
19
17
  import { Label } from "./internal/components/Label.js";
20
18
  import { MicrosoftButton } from "./internal/blocks/MicrosoftButton.js";
21
19
  import { FacebookButton } from "./internal/blocks/FacebookButton.js";
22
20
  import { GoogleButton } from "./internal/blocks/GoogleButton.js";
23
21
  import { Link } from "./internal/components/Link.js";
24
- import { AlertModal } from "./AlertModal-BDle9ZVQ.js";
25
- import { Modal } from "./Modal-DMZRswk4.js";
26
- import { Separator } from "./internal/components/Separator.js";
27
- import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-CUuAakh3.js";
22
+ import { AlertModal } from "./AlertModal-DMsn62JJ.js";
23
+ import { Modal } from "./Modal-DwuvuiUx.js";
24
+ import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-DAvvlGOz.js";
28
25
  import { Truncated } from "./internal/components/Truncated.js";
29
- import { Sheet } from "./Sheet-utw4_rUa.js";
26
+ import { Sheet } from "./Sheet-DKG20J7W.js";
30
27
  import { useStableCallback } from "./internal/hooks/useStableCallback.js";
31
- import { Popover } from "./Popover-BU7nGOv-.js";
32
- import { Popconfirm } from "./Popconfirm-BgV6a0sl.js";
33
- import { HoverCard } from "./HoverCard-BBdPYqEf.js";
34
- import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "./Command-T3MLRaen.js";
35
- import { InputGroup } from "./InputGroup-Dm014ruw.js";
36
- import { TextInput } from "./TextInput-K2DSDs5O.js";
28
+ import { Popover } from "./Popover-DnBw5Uay.js";
29
+ import { Popconfirm } from "./Popconfirm-p72DiagN.js";
30
+ import { HoverCard } from "./HoverCard-Cf9iYyaW.js";
31
+ import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "./Command-DhXmqFLT.js";
32
+ import { InputGroup } from "./InputGroup-CZv_7QlM.js";
33
+ import { TextInput } from "./TextInput-CR0_USaY.js";
37
34
  import { SpotlightBackdrop, useTargetRect } from "./internal/components/SpotlightBackdrop.js";
38
35
  import { Calendar } from "./Calendar-BnKi1kPu.js";
39
- import { DatePicker } from "./DatePicker-CgHAu9KX.js";
40
- import { TimePicker } from "./TimePicker-DyyV3nw8.js";
41
- import { DateRangePicker } from "./DateRangePicker-CXpXPMoh.js";
42
- import { Switch } from "./Switch-Dw4tvQls.js";
43
- import { RadioGroup } from "./RadioGroup-C8EC3fqO.js";
44
- import { Slider } from "./Slider-DbzzSDRV.js";
45
- import { Search, SearchForm } from "./Search-aaUMI4ix.js";
36
+ import { DatePicker } from "./DatePicker-Cg_aG_N4.js";
37
+ import { TimePicker } from "./TimePicker-lk3NGqeK.js";
38
+ import { DateRangePicker } from "./DateRangePicker-m47cSV1r.js";
39
+ import { Switch } from "./Switch-DccpSpzC.js";
40
+ import { RadioGroup } from "./RadioGroup-B0TwHjBb.js";
41
+ import { Separator } from "./internal/components/Separator.js";
42
+ import { Slider } from "./Slider-DrcsM8_G.js";
43
+ import { Search, SearchForm } from "./Search-vyZwGKMU.js";
46
44
  import { forwardAccessibleName } from "./internal/utils/accessibleName.js";
47
- import { Select } from "./Select-CjQgU_6K.js";
48
- import { Checkbox } from "./Checkbox-uFE8XLT_.js";
49
- import { BLANK_VALUES, Combobox, filterByWords, matchByWords, namedLabel, withBlankValues } from "./Combobox-CEesMe2M.js";
50
- import { Badge } from "./Badge-Ba3epgcI.js";
45
+ import { Select } from "./Select-C6zKeip5.js";
46
+ import { Checkbox } from "./Checkbox-CHDDJyAA.js";
47
+ import { BLANK_VALUES, Combobox, filterByWords, matchByWords, namedLabel, withBlankValues } from "./Combobox-BLqX-Tdh.js";
48
+ import { Badge } from "./Badge-CqlOE5A2.js";
51
49
  import { MultiCombobox } from "./internal/blocks/MultiCombobox.js";
52
- import { FormGroup } from "./FormGroup-DiYFdEhH.js";
53
- import { ColorInput } from "./ColorInput-CDKH8q_f.js";
50
+ import { FormGroup } from "./FormGroup-V5kIgQRN.js";
51
+ import { ColorInput } from "./ColorInput-B_eZIu39.js";
54
52
  import { HelpBlock } from "./internal/components/HelpBlock.js";
55
53
  import { NumberInput } from "./internal/blocks/NumberInput.js";
56
54
  import { Textarea } from "./internal/blocks/Textarea.js";
57
55
  import { ComboboxField } from "./internal/blocks/Form/connectors/ComboboxField.js";
58
56
  import { MultiComboboxField } from "./internal/blocks/Form/connectors/MultiComboboxField.js";
59
57
  import { ChipEditor } from "./internal/blocks/ChipEditor.js";
60
- import { AutoSaveTextarea } from "./AutoSaveTextarea-jiqNeeE4.js";
61
- import { Kbd, kbdVariants, keys } from "./Kbd-3YM7NQO4.js";
58
+ import { AutoSaveTextarea } from "./AutoSaveTextarea-BbMhC5Aq.js";
59
+ import { Kbd, kbdVariants, keys } from "./Kbd-CflKthfu.js";
62
60
  import { useAutosizeInput } from "./internal/hooks/useAutosizeInput.js";
63
- import { InlineEdit } from "./InlineEdit-D5RdunZo.js";
64
- import { ColorModeSwitch } from "./ColorModeSwitch-DR6J2U6M.js";
65
- import { DateInput } from "./DateInput-ClK1lCxz.js";
61
+ import { InlineEdit } from "./InlineEdit-D4P0SvCB.js";
62
+ import { ColorModeSwitch } from "./ColorModeSwitch-BlrH8jAi.js";
63
+ import { DateInput } from "./DateInput-duinbI9_.js";
66
64
  import { PasswordInput } from "./internal/blocks/PasswordInput.js";
67
65
  import { TimeInput } from "./internal/blocks/TimeInput.js";
68
- import { DateRangeInput } from "./DateRangeInput-DtlAffS1.js";
66
+ import { DateRangeInput } from "./DateRangeInput-BYVHf9zo.js";
69
67
  import { OtpInput, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "./OtpInput-CY8yCaJk.js";
70
- import { SearchInput } from "./SearchInput-Dxi2GK4n.js";
68
+ import { SearchInput } from "./SearchInput-DyYXyw3u.js";
71
69
  import { SearchInputWithNavigation } from "./internal/blocks/SearchInputWithNavigation.js";
72
- import { FileUpload, useFileDropTarget, useFileUploadRejections } from "./FileUpload-D6vPG3WB.js";
73
- import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "./AIKit-BRSZ3nY7.js";
70
+ import { FileUpload, useFileDropTarget, useFileUploadRejections } from "./FileUpload-BYFONpEl.js";
71
+ import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "./AIKit-BR6jfsdI.js";
74
72
  import { Collapsible } from "./Collapsible-DD4xTL75.js";
75
- import { Alert } from "./Alert-CZ0dDsuk.js";
73
+ import { Alert } from "./Alert-Chz6KZ7e.js";
76
74
  import { Table, tableAriaSort } from "./Table-CilEvpMq.js";
77
75
  import { Skeleton } from "./internal/components/Skeleton/Skeleton.js";
78
76
  import { DiagramSkeleton } from "./internal/blocks/DiagramShared/DiagramSkeleton.js";
79
- import { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "./ZoomableSvg-Dh1OstPN.js";
77
+ import { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "./ZoomableSvg-CxXKanUR.js";
80
78
  import { Progress } from "./internal/components/Progress.js";
81
79
  import { MAX_DIGIT_HOTKEY, digitFromKeyCode, useAltDigitHotkey } from "./internal/hooks/useAltDigitHotkey.js";
82
- import { toast } from "./toast-D6Z6MOB5.js";
83
- import { Toaster, useNotification } from "./Toast-BGnUL4jV.js";
80
+ import { toast } from "./toast-Y3cTMBW8.js";
81
+ import { Toaster, useNotification } from "./Toast-937n7n8i.js";
84
82
  import { EmptySearchContent } from "./internal/components/EmptySearchContent.js";
85
- import { Card } from "./Card-Bpc_ZlL4.js";
83
+ import { Card } from "./Card-DxjGiqH8.js";
86
84
  import { EmptyConfigurationActionCard } from "./internal/blocks/EmptyConfigurationActionCard.js";
87
85
  import { EmptyState } from "./internal/blocks/EmptyState.js";
88
86
  import { ErrorState } from "./internal/blocks/ErrorState.js";
@@ -90,26 +88,27 @@ import { SkeletonList } from "./internal/components/Skeleton/SkeletonList.js";
90
88
  import { DotsLoader } from "./internal/components/DotsLoader.js";
91
89
  import { CollapsiblePanel } from "./internal/components/CollapsiblePanel.js";
92
90
  import { PanelWithDetails } from "./internal/components/PanelWithDetails.js";
93
- import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, keboola, keboolaLegacySidebar, useThemeScopeContainer } from "./ThemeProvider-C8yaKlM1.js";
94
- import { AppShell, appShellSlotSelector } from "./AppShell-B03fj1j7.js";
95
- import { BrandLogo } from "./BrandLogo-BfITD0im.js";
91
+ import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, kbcUi, keboola, useTheme, useThemeScopeContainer } from "./ThemeProvider-BTK7AL-T.js";
92
+ import { DEFAULT_BRAND_ID, DEFAULT_COLOR_SCHEME } from "./themeScopeContext-CEVXbYvZ.js";
93
+ import { AppShell, appShellSlotSelector } from "./AppShell-C8V1KRr_.js";
94
+ import { BrandLogo } from "./BrandLogo-DkESE19K.js";
96
95
  import { AuthLayout } from "./internal/blocks/AuthLayout.js";
97
96
  import { PageLayout } from "./PageLayout-C9aXTpqV.js";
98
97
  import { PageHeader } from "./PageHeader-CL1A6jFM.js";
99
- import { PageToolbar } from "./PageToolbar-B_e7HGva.js";
100
- import { SectionNav } from "./SectionNav-BnHOMLtE.js";
98
+ import { PageToolbar } from "./PageToolbar-LKP6PiP_.js";
99
+ import { SectionNav } from "./SectionNav-6hcIpZLO.js";
101
100
  import { ResizableHandle, ResizablePanel, ResizablePanelGroup, useDefaultLayout } from "./Resizable-D8zs0kcq.js";
102
- import { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "./Sidebar-BAmux2Uj.js";
101
+ import { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "./Sidebar-BlYqasnX.js";
103
102
  import { useScrollbarPosition } from "./internal/hooks/useScrollbarPosition.js";
104
- import { Navbar } from "./Navbar-CtVYcRFn.js";
103
+ import { Navbar } from "./Navbar-DHUS7XiU.js";
105
104
  import { DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Workbench, useWorkbench } from "./Workbench-CxgNCs3I.js";
106
- import { Breadcrumb } from "./Breadcrumb-BnIlsoIH.js";
107
- import { Tabs, TabsContent } from "./Tabs-C0uvkPHc.js";
108
- import { Stepper } from "./Stepper-BBPembeK.js";
105
+ import { Breadcrumb } from "./Breadcrumb-DbqvDnYl.js";
106
+ import { Tabs, TabsContent } from "./Tabs-Ck4uWf8U.js";
107
+ import { Stepper } from "./Stepper-CQrUPVFL.js";
109
108
  import { Timeline } from "./Timeline-DUXgByUE.js";
110
109
  import { Avatar } from "./internal/components/Avatar.js";
111
110
  import { MarkedText } from "./MarkedText-DlmlJO0u.js";
112
- import { Pagination } from "./Pagination-DDp6PRqf.js";
111
+ import { Pagination } from "./Pagination-D27x5KmH.js";
113
112
  import { DiffType, DiffView, computeDiffRows, computeLineInformation } from "./DiffView-Dy4z-n-1.js";
114
113
  import { PaneHeader } from "./internal/components/MergeEditor/PaneHeader.js";
115
114
  import { ConflictStatusIndicator } from "./internal/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.js";
@@ -117,7 +116,8 @@ import { useMergeDiff } from "./useMergeDiff-CvowEXJ1.js";
117
116
  import { DashboardHero } from "./internal/blocks/DashboardHero.js";
118
117
  import { StatCard, StatCardGrid } from "./internal/blocks/StatCard.js";
119
118
  import { ChartPanel } from "./internal/blocks/ChartPanel.js";
120
- import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "./Form-CD55zJiy.js";
121
- import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "./BrandEditor-CN2HJ_12.js";
119
+ import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "./Form-Dqbt_tIs.js";
120
+ import { useTimeout } from "./internal/hooks/useTimeout.js";
121
+ import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "./BrandEditor-D61pzWRq.js";
122
122
  import { Slot } from "@radix-ui/react-slot";
123
- export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerSources, AnswerSummary, AppShell, ArgoDesignContext, AttachmentChip, AuthLayout, AutoSaveTextarea, Avatar, BLANK_VALUES, Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, CONTEXT_CHIP_EXPANDABLE_LENGTH, Calendar, Card, ChartPanel, ChatInlineIcon, ChatNotice, Checkbox, ChipEditor, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, ComboboxField, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, ContextChip, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiagramSkeleton, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, ExportMenu, FacebookButton, FileDownloadChip, FileGallery, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineEdit, InlineStepDetail, InlineStepGroup, InlineStepLabel, InputGroup, JumpToLatest, Kbd, Label, Link, MAX_DIGIT_HOTKEY, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, MessageBubble, MicrosoftButton, Modal, ModeChip, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, PROMPT_INPUT_CONTAINER, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, Select, Separator, Sheet, Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, Slot, SourceChip, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table, Tabs, TabsContent, TextInput, Textarea, ThemeProvider, ThemeScope, ThinkingIndicator, TimeInput, TimePicker, Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, Tooltip, TooltipProvider, Truncated, UsageBar, UsageStats, UsageStatsRing, Workbench, ZoomableSvg, agnes, appShellSlotSelector, argoVariants, brandSchema, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, digitFromKeyCode, exampleCustomer, filterByWords, findLiteralMatches, findMentionToken, findSlashToken, formatPercentage, forwardAccessibleName, getChatInlineIconName, harbor, hasLiteralMatch, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, splitSealedBlocks, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAltDigitHotkey, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withBlankValues, withForm, withholdOpenTail };
123
+ export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerSources, AnswerSummary, AppShell, AttachmentChip, AuthLayout, AutoSaveTextarea, Avatar, BLANK_VALUES, Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, CONTEXT_CHIP_EXPANDABLE_LENGTH, Calendar, Card, ChartPanel, ChatInlineIcon, ChatNotice, Checkbox, ChipEditor, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, ComboboxField, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, ContextChip, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiagramSkeleton, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, ExportMenu, FacebookButton, FileDownloadChip, FileGallery, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineEdit, InlineStepDetail, InlineStepGroup, InlineStepLabel, InputGroup, JumpToLatest, Kbd, Label, Link, MAX_DIGIT_HOTKEY, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, MessageBubble, MicrosoftButton, Modal, ModeChip, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, PROMPT_INPUT_CONTAINER, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, Select, Separator, Sheet, Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, Slot, SourceChip, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table, Tabs, TabsContent, TextInput, Textarea, ThemeProvider, ThemeScope, ThinkingIndicator, TimeInput, TimePicker, Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, Tooltip, TooltipProvider, Truncated, UsageBar, UsageStats, UsageStatsRing, Workbench, ZoomableSvg, agnes, appShellSlotSelector, brandSchema, buttonVariants, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, digitFromKeyCode, exampleCustomer, filterByWords, findLiteralMatches, findMentionToken, findSlashToken, formatPercentage, forwardAccessibleName, getChatInlineIconName, harbor, hasLiteralMatch, hexToChannels, isMac, kbcUi, kbdVariants, keboola, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, splitSealedBlocks, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAltDigitHotkey, useAppForm, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useTimeout, useWorkbench, wcagLevel, withBlankValues, withForm, withholdOpenTail };
@@ -1,2 +1,2 @@
1
- import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "../../AIKit-BRSZ3nY7.js";
1
+ import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "../../AIKit-BR6jfsdI.js";
2
2
  export { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail };
@@ -1,2 +1,2 @@
1
- import { AppShell, appShellSlotSelector } from "../../AppShell-B03fj1j7.js";
1
+ import { AppShell, appShellSlotSelector } from "../../AppShell-C8V1KRr_.js";
2
2
  export { AppShell, appShellSlotSelector };
@@ -1,5 +1,5 @@
1
1
  import { cn } from "../../classNames-DcGnTh2N.js";
2
- import { BrandLogo } from "../../BrandLogo-BfITD0im.js";
2
+ import { BrandLogo } from "../../BrandLogo-DkESE19K.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/blocks/AuthLayout/AuthLayout.tsx
5
5
  const widthClass = {
@@ -1,2 +1,2 @@
1
- import { AutoSaveTextarea } from "../../AutoSaveTextarea-jiqNeeE4.js";
1
+ import { AutoSaveTextarea } from "../../AutoSaveTextarea-BbMhC5Aq.js";
2
2
  export { AutoSaveTextarea };
@@ -1,2 +1,2 @@
1
- import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "../../BrandEditor-CN2HJ_12.js";
1
+ import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "../../BrandEditor-D61pzWRq.js";
2
2
  export { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel };
@@ -1,5 +1,5 @@
1
1
  import { cn } from "../../classNames-DcGnTh2N.js";
2
- import { Card } from "../../Card-Bpc_ZlL4.js";
2
+ import { Card } from "../../Card-DxjGiqH8.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/blocks/ChartPanel/ChartPanel.tsx
5
5
  /**
@@ -1,10 +1,9 @@
1
- import { splitEntry } from "../../utils-LQ4jJA-9.js";
2
- import { useArgoDesign } from "../../context-U293r3v-.js";
1
+ import { splitEntry } from "../../utils-DwC9u0tM.js";
3
2
  import { mergeRefs } from "../utils/mergeRefs.js";
4
3
  import { X } from "../../icons-ZIeZXXS7.js";
5
- import { InputGroup } from "../../InputGroup-Dm014ruw.js";
4
+ import { InputGroup } from "../../InputGroup-CZv_7QlM.js";
6
5
  import { useControllableState } from "../../useControllableState-CUYXMsfz.js";
7
- import { Badge } from "../../Badge-Ba3epgcI.js";
6
+ import { Badge } from "../../Badge-CqlOE5A2.js";
8
7
  import { useRef, useState } from "react";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
10
9
  //#region src/blocks/ChipEditor/ChipEditor.tsx
@@ -18,8 +17,7 @@ const sameValue = (a, b) => a.toLowerCase() === b.toLowerCase();
18
17
  * - Wrap in a `FormGroup` for label and error state.
19
18
  * - Values are compared case-insensitively.
20
19
  */
21
- const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator = ",", canAdd, chipColor, removeLabel = defaultRemoveLabel, testId, state = "default", sizing = "default", variant, focusVariant = "default", className, disabled = false, readOnly = false, onChange, onBlur, onKeyDown, ...inputProps }) => {
22
- const renderArgo = useArgoDesign();
20
+ const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator = ",", canAdd, chipColor, removeLabel = defaultRemoveLabel, testId, state = "default", focusVariant = "default", className, disabled = false, readOnly = false, onChange, onBlur, onKeyDown, ...inputProps }) => {
23
21
  const inputRef = useRef(null);
24
22
  const [query, setQuery] = useState("");
25
23
  const [values, setValues] = useControllableState({
@@ -83,8 +81,6 @@ const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValue
83
81
  };
84
82
  return /* @__PURE__ */ jsxs(InputGroup, {
85
83
  state,
86
- variant,
87
- sizing,
88
84
  focusVariant,
89
85
  className,
90
86
  "data-testid": testId,
@@ -95,7 +91,7 @@ const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValue
95
91
  children: values.map((value, index) => /* @__PURE__ */ jsxs(Badge.Root, {
96
92
  role: "listitem",
97
93
  color: chipColor,
98
- variant: renderArgo ? "pill" : "default",
94
+ variant: "pill",
99
95
  className: "tw:max-w-40",
100
96
  children: [/* @__PURE__ */ jsx(Badge.Label, {
101
97
  title: value,
@@ -1 +1 @@
1
- {"version":3,"file":"ChipEditor.js","names":[],"sources":["../../../src/blocks/ChipEditor/ChipEditor.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport type { ChangeEvent, ComponentProps, ComponentRef, FocusEvent, KeyboardEvent } from 'react';\n\nimport { Badge } from '../../components/Badge';\nimport { InputGroup } from '../../components/InputGroup';\nimport { useArgoDesign } from '../../components/ThemeProvider/context';\nimport { useControllableState } from '../../hooks/useControllableState';\nimport { X } from '../../icons';\nimport { DEFAULT_ENTRY_SEPARATOR, mergeRefs, splitEntry } from '../../utils';\n\ntype InputGroupProps = Pick<\n ComponentProps<typeof InputGroup>,\n 'variant' | 'focusVariant' | 'sizing' | 'state'\n>;\n\ntype BadgeColor = ComponentProps<typeof Badge>['color'];\n\ntype OwnProps = {\n value?: string[];\n defaultValue?: string[];\n /** Called with the whole next list whenever a value is added or removed. */\n onValueChange?: (value: string[]) => void;\n /**\n * Splits one entry into several values, like `MultiCombobox`'s `createSeparator`.\n * `null` when a value can itself contain the separator.\n */\n separator?: string | RegExp | null;\n /** Gates each value after the split; a pasted list keeps the values that pass. */\n canAdd?: (value: string) => boolean;\n /** The chip colour. Decorative — it categorises values, it does not encode their state. */\n chipColor?: BadgeColor;\n /** Names each remove button for a screen reader. */\n removeLabel?: (value: string) => string;\n testId?: string;\n};\n\nexport type Props = InputGroupProps &\n OwnProps &\n Omit<ComponentProps<'input'>, 'value' | 'defaultValue' | 'type' | 'prefix'>;\n\nconst defaultRemoveLabel = (value: string) => `Remove ${value}`;\n\nconst sameValue = (a: string, b: string) => a.toLowerCase() === b.toLowerCase();\n\n/**\n * Free-text token editor — type a value, press Enter, it becomes a removable chip.\n *\n * - **Use** for strings the user writes rather than picks; the platform's one chip editor.\n * - **Not** for values from a known list — use `MultiCombobox` (`allowCreate` if open-ended).\n * - Wrap in a `FormGroup` for label and error state.\n * - Values are compared case-insensitively.\n */\nexport const ChipEditor = ({\n ref: forwardedRef,\n value: valueProp,\n defaultValue,\n onValueChange,\n separator = DEFAULT_ENTRY_SEPARATOR,\n canAdd,\n chipColor,\n removeLabel = defaultRemoveLabel,\n testId,\n state = 'default',\n sizing = 'default',\n variant,\n focusVariant = 'default',\n className,\n disabled = false,\n readOnly = false,\n onChange,\n onBlur,\n onKeyDown,\n ...inputProps\n}: Props) => {\n const renderArgo = useArgoDesign();\n const inputRef = useRef<ComponentRef<'input'>>(null);\n const [query, setQuery] = useState('');\n\n const [values, setValues] = useControllableState<string[]>({\n prop: valueProp,\n defaultProp: defaultValue ?? [],\n onChange: onValueChange,\n });\n\n const isEditable = !disabled && !readOnly;\n\n /**\n * Turns typed text into chips; returns whether the text is spent.\n *\n * - A duplicate adds nothing but still spends the text.\n * - Only a value `canAdd` rejects keeps the text, so the user can fix it.\n */\n const commit = (entry: string): { isSpent: boolean } => {\n const parts = splitEntry(entry, separator)\n .map((part) => part.trim())\n .filter((part) => part !== '');\n\n const accepted = parts.filter((part) => canAdd?.(part) ?? true);\n const added = accepted.filter(\n (part, index) =>\n !values.some((held) => sameValue(held, part)) &&\n accepted.findIndex((other) => sameValue(other, part)) === index,\n );\n\n if (added.length > 0) setValues([...values, ...added]);\n\n return { isSpent: accepted.length === parts.length };\n };\n\n const commitAndClear = (entry: string) => {\n if (commit(entry).isSpent) setQuery('');\n };\n\n const handleChange = (event: ChangeEvent<HTMLInputElement>) => {\n onChange?.(event);\n const next = event.target.value;\n\n // A typed string separator commits everything before the last one; the rest stays in the field.\n // `RegExp` separators only split on commit.\n if (typeof separator === 'string' && next.includes(separator)) {\n const cut = next.lastIndexOf(separator);\n commit(next.slice(0, cut));\n setQuery(next.slice(cut + separator.length));\n return;\n }\n\n setQuery(next);\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n\n if (event.key === 'Enter') {\n // Always prevented: Enter adds a value, never submits the surrounding form.\n event.preventDefault();\n commitAndClear(query);\n return;\n }\n\n if (event.key === 'Backspace' && query === '' && values.length > 0) {\n setValues(values.slice(0, -1));\n return;\n }\n\n if (event.key === 'Escape' && query !== '') {\n // Only with text to discard — otherwise Escape reaches the enclosing overlay.\n event.preventDefault();\n event.stopPropagation();\n setQuery('');\n }\n };\n\n const handleBlur = (event: FocusEvent<HTMLInputElement>) => {\n onBlur?.(event);\n // A value typed then blurred is one the user meant to add.\n commitAndClear(query);\n };\n\n const removeAt = (index: number) => {\n setValues(values.filter((_, position) => position !== index));\n inputRef.current?.focus();\n };\n\n return (\n <InputGroup\n state={state}\n variant={variant}\n sizing={sizing}\n focusVariant={focusVariant}\n className={className}\n data-testid={testId}\n >\n <InputGroup.Addon align=\"block-start\" className=\"tw:flex-wrap\" role=\"list\">\n {values.map((value, index) => (\n <Badge.Root\n key={value}\n role=\"listitem\"\n color={chipColor}\n variant={renderArgo ? 'pill' : 'default'}\n className=\"tw:max-w-40\"\n >\n {/* Same cap and the same `title` as a `MultiCombobox` chip — the two chip rows are the\n same object to a user, so they truncate at the same width. */}\n <Badge.Label title={value}>{value}</Badge.Label>\n {isEditable && (\n <Badge.Addon variant=\"inline\" align=\"inline-end\">\n <Badge.Button aria-label={removeLabel(value)} onClick={() => removeAt(index)}>\n <X className=\"tw:size-3\" />\n </Badge.Button>\n </Badge.Addon>\n )}\n </Badge.Root>\n ))}\n </InputGroup.Addon>\n\n <InputGroup.Input\n {...inputProps}\n ref={mergeRefs(forwardedRef ?? null, inputRef)}\n type=\"text\"\n value={query}\n disabled={disabled}\n readOnly={readOnly}\n onChange={handleChange}\n onKeyDown={hand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K;MAAG,eAAe,SAAS,KAAK;MACzE,UAAA,oBAAC,GAAD,EAAG,WAAU,YAAa,CAAA;KACd,CAAA;IACH,CAAA,CAEL;GAhBL,GAAA,KAgBK,CACb;EACe,CAAA,GAElB,oBAAC,WAAW,OAAZ;GACE,GAAI;GACJ,KAAK,UAAU,gBAAgB,MAAM,QAAQ;GAC7C,MAAK;GACL,OAAO;GACG;GACA;GACV,UAAU;GACV,WAAW;GACX,QAAQ;EACT,CAAA,CACS;;AAEhB"}
1
+ {"version":3,"file":"ChipEditor.js","names":[],"sources":["../../../src/blocks/ChipEditor/ChipEditor.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport type { ChangeEvent, ComponentProps, ComponentRef, FocusEvent, KeyboardEvent } from 'react';\n\nimport { Badge } from '../../components/Badge';\nimport { InputGroup } from '../../components/InputGroup';\nimport { useControllableState } from '../../hooks/useControllableState';\nimport { X } from '../../icons';\nimport { DEFAULT_ENTRY_SEPARATOR, mergeRefs, splitEntry } from '../../utils';\n\ntype InputGroupProps = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;\n\ntype BadgeColor = ComponentProps<typeof Badge>['color'];\n\ntype OwnProps = {\n value?: string[];\n defaultValue?: string[];\n /** Called with the whole next list whenever a value is added or removed. */\n onValueChange?: (value: string[]) => void;\n /**\n * Splits one entry into several values, like `MultiCombobox`'s `createSeparator`.\n * `null` when a value can itself contain the separator.\n */\n separator?: string | RegExp | null;\n /** Gates each value after the split; a pasted list keeps the values that pass. */\n canAdd?: (value: string) => boolean;\n /** The chip colour. Decorative — it categorises values, it does not encode their state. */\n chipColor?: BadgeColor;\n /** Names each remove button for a screen reader. */\n removeLabel?: (value: string) => string;\n testId?: string;\n};\n\nexport type Props = InputGroupProps &\n OwnProps &\n Omit<ComponentProps<'input'>, 'value' | 'defaultValue' | 'type' | 'prefix'>;\n\nconst defaultRemoveLabel = (value: string) => `Remove ${value}`;\n\nconst sameValue = (a: string, b: string) => a.toLowerCase() === b.toLowerCase();\n\n/**\n * Free-text token editor — type a value, press Enter, it becomes a removable chip.\n *\n * - **Use** for strings the user writes rather than picks; the platform's one chip editor.\n * - **Not** for values from a known list — use `MultiCombobox` (`allowCreate` if open-ended).\n * - Wrap in a `FormGroup` for label and error state.\n * - Values are compared case-insensitively.\n */\nexport const ChipEditor = ({\n ref: forwardedRef,\n value: valueProp,\n defaultValue,\n onValueChange,\n separator = DEFAULT_ENTRY_SEPARATOR,\n canAdd,\n chipColor,\n removeLabel = defaultRemoveLabel,\n testId,\n state = 'default',\n focusVariant = 'default',\n className,\n disabled = false,\n readOnly = false,\n onChange,\n onBlur,\n onKeyDown,\n ...inputProps\n}: Props) => {\n const inputRef = useRef<ComponentRef<'input'>>(null);\n const [query, setQuery] = useState('');\n\n const [values, setValues] = useControllableState<string[]>({\n prop: valueProp,\n defaultProp: defaultValue ?? [],\n onChange: onValueChange,\n });\n\n const isEditable = !disabled && !readOnly;\n\n /**\n * Turns typed text into chips; returns whether the text is spent.\n *\n * - A duplicate adds nothing but still spends the text.\n * - Only a value `canAdd` rejects keeps the text, so the user can fix it.\n */\n const commit = (entry: string): { isSpent: boolean } => {\n const parts = splitEntry(entry, separator)\n .map((part) => part.trim())\n .filter((part) => part !== '');\n\n const accepted = parts.filter((part) => canAdd?.(part) ?? true);\n const added = accepted.filter(\n (part, index) =>\n !values.some((held) => sameValue(held, part)) &&\n accepted.findIndex((other) => sameValue(other, part)) === index,\n );\n\n if (added.length > 0) setValues([...values, ...added]);\n\n return { isSpent: accepted.length === parts.length };\n };\n\n const commitAndClear = (entry: string) => {\n if (commit(entry).isSpent) setQuery('');\n };\n\n const handleChange = (event: ChangeEvent<HTMLInputElement>) => {\n onChange?.(event);\n const next = event.target.value;\n\n // A typed string separator commits everything before the last one; the rest stays in the field.\n // `RegExp` separators only split on commit.\n if (typeof separator === 'string' && next.includes(separator)) {\n const cut = next.lastIndexOf(separator);\n commit(next.slice(0, cut));\n setQuery(next.slice(cut + separator.length));\n return;\n }\n\n setQuery(next);\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n\n if (event.key === 'Enter') {\n // Always prevented: Enter adds a value, never submits the surrounding form.\n event.preventDefault();\n commitAndClear(query);\n return;\n }\n\n if (event.key === 'Backspace' && query === '' && values.length > 0) {\n setValues(values.slice(0, -1));\n return;\n }\n\n if (event.key === 'Escape' && query !== '') {\n // Only with text to discard — otherwise Escape reaches the enclosing overlay.\n event.preventDefault();\n event.stopPropagation();\n setQuery('');\n }\n };\n\n const handleBlur = (event: FocusEvent<HTMLInputElement>) => {\n onBlur?.(event);\n // A value typed then blurred is one the user meant to add.\n commitAndClear(query);\n };\n\n const removeAt = (index: number) => {\n setValues(values.filter((_, position) => position !== index));\n inputRef.current?.focus();\n };\n\n return (\n <InputGroup\n state={state}\n focusVariant={focusVariant}\n className={className}\n data-testid={testId}\n >\n <InputGroup.Addon align=\"block-start\" className=\"tw:flex-wrap\" role=\"list\">\n {values.map((value, index) => (\n <Badge.Root\n key={value}\n role=\"listitem\"\n color={chipColor}\n variant=\"pill\"\n className=\"tw:max-w-40\"\n >\n {/* Same cap and the same `title` as a `MultiCombobox` chip — the two chip rows are the\n same object to a user, so they truncate at the same width. */}\n <Badge.Label title={value}>{value}</Badge.Label>\n {isEditable && (\n <Badge.Addon variant=\"inline\" align=\"inline-end\">\n <Badge.Button aria-label={removeLabel(value)} onClick={() => removeAt(index)}>\n <X className=\"tw:size-3\" />\n </Badge.Button>\n </Badge.Addon>\n )}\n </Badge.Root>\n ))}\n </InputGroup.Addon>\n\n <InputGroup.Input\n {...inputProps}\n ref={mergeRefs(forwardedRef ?? null, inputRef)}\n type=\"text\"\n value={query}\n disabled={disabled}\n readOnly={readOnly}\n onChange={handleChange}\n onKeyDown={handleKeyDown}\n onBlur={handleBlur}\n />\n </InputGroup>\n );\n};\n"],"mappings":";;;;;;;;;AAoCA,MAAM,sBAAsB,UAAkB,UAAU;AA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E,GAAI;GACJ,KAAK,UAAU,gBAAgB,MAAM,QAAQ;GAC7C,MAAK;GACL,OAAO;GACG;GACA;GACV,UAAU;GACV,WAAW;GACX,QAAQ;EACT,CAAA,CACS;;AAEhB"}
@@ -1,2 +1,2 @@
1
- import { ClipboardButton, ClipboardInline } from "../../ClipboardButton-DxvZG_H0.js";
1
+ import { ClipboardButton, ClipboardInline } from "../../ClipboardButton-B1Hr_n_Z.js";
2
2
  export { ClipboardButton, ClipboardInline };
@@ -1,2 +1,2 @@
1
- import { ColorInput } from "../../ColorInput-CDKH8q_f.js";
1
+ import { ColorInput } from "../../ColorInput-B_eZIu39.js";
2
2
  export { ColorInput };
@@ -1,2 +1,2 @@
1
- import { ColorModeSwitch } from "../../ColorModeSwitch-DR6J2U6M.js";
1
+ import { ColorModeSwitch } from "../../ColorModeSwitch-BlrH8jAi.js";
2
2
  export { ColorModeSwitch };
@@ -1,2 +1,2 @@
1
- import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "../../Command-T3MLRaen.js";
1
+ import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "../../Command-DhXmqFLT.js";
2
2
  export { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState };
@@ -1,2 +1,2 @@
1
- import { CopyField } from "../../CopyField-CNbCHw9a.js";
1
+ import { CopyField } from "../../CopyField-D0Pg4Z0R.js";
2
2
  export { CopyField };
@@ -1,2 +1,2 @@
1
- import { DateInput } from "../../DateInput-ClK1lCxz.js";
1
+ import { DateInput } from "../../DateInput-duinbI9_.js";
2
2
  export { DateInput };
@@ -1,2 +1,2 @@
1
- import { DateRangeInput } from "../../DateRangeInput-DtlAffS1.js";
1
+ import { DateRangeInput } from "../../DateRangeInput-BYVHf9zo.js";
2
2
  export { DateRangeInput };
@@ -1,4 +1,4 @@
1
- import { Card } from "../../Card-Bpc_ZlL4.js";
1
+ import { Card } from "../../Card-DxjGiqH8.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  //#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.tsx
4
4
  const EmptyConfigurationActionCard = ({ title, children, className }) => {
@@ -1,4 +1,3 @@
1
- import { useArgoDesign } from "../../context-U293r3v-.js";
2
1
  import { cva } from "class-variance-authority";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  //#region src/blocks/ErrorState/ErrorState.tsx
@@ -49,8 +48,7 @@ const errorStateIconClassnames = cva([
49
48
  "tw:size-16",
50
49
  "tw:text-4xl",
51
50
  "tw:[&_svg:not([class*=\"tw:size-\"])]:size-10",
52
- "tw:data-[argo=false]:text-error-500",
53
- "tw:data-[argo=true]:text-destructive"
51
+ "tw:text-destructive"
54
52
  ]
55
53
  } },
56
54
  defaultVariants: { variant: "default" }
@@ -70,8 +68,7 @@ const errorStateTitleClassnames = cva(["tw:m-0", "tw:font-semibold"], {
70
68
  destructive: [
71
69
  "tw:text-lg",
72
70
  "tw:leading-7",
73
- "tw:data-[argo=false]:text-error-700",
74
- "tw:data-[argo=true]:text-destructive"
71
+ "tw:text-destructive"
75
72
  ]
76
73
  } },
77
74
  defaultVariants: { variant: "default" }
@@ -124,30 +121,22 @@ const ErrorStateRoot = ({ className, variant = "default", children, ...rest }) =
124
121
  ...rest,
125
122
  children
126
123
  });
127
- const ErrorStateIcon = ({ className, variant = "default", children, ...rest }) => {
128
- const renderArgo = useArgoDesign();
129
- return /* @__PURE__ */ jsx("div", {
130
- "data-argo": renderArgo,
131
- className: errorStateIconClassnames({
132
- className,
133
- variant
134
- }),
135
- ...rest,
136
- children
137
- });
138
- };
139
- const ErrorStateTitle = ({ className, variant = "default", as: Tag = "h3", children, ...rest }) => {
140
- const renderArgo = useArgoDesign();
141
- return /* @__PURE__ */ jsx(Tag, {
142
- "data-argo": renderArgo,
143
- className: errorStateTitleClassnames({
144
- className,
145
- variant
146
- }),
147
- ...rest,
148
- children
149
- });
150
- };
124
+ const ErrorStateIcon = ({ className, variant = "default", children, ...rest }) => /* @__PURE__ */ jsx("div", {
125
+ className: errorStateIconClassnames({
126
+ className,
127
+ variant
128
+ }),
129
+ ...rest,
130
+ children
131
+ });
132
+ const ErrorStateTitle = ({ className, variant = "default", as: Tag = "h3", children, ...rest }) => /* @__PURE__ */ jsx(Tag, {
133
+ className: errorStateTitleClassnames({
134
+ className,
135
+ variant
136
+ }),
137
+ ...rest,
138
+ children
139
+ });
151
140
  const ErrorStateDescription = ({ className, variant = "default", children, ...rest }) => /* @__PURE__ */ jsx("p", {
152
141
  className: errorStateDescriptionClassnames({
153
142
  className,
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorState.js","names":[],"sources":["../../../src/blocks/ErrorState/ErrorState.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\nimport { useArgoDesign } from '../../components/ThemeProvider/context';\n\nconst errorStateClassnames = cva(['tw:flex', 'tw:flex-col', 'tw:items-center', 'tw:text-center'], {\n variants: {\n variant: {\n default: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n compact: ['tw:py-8', 'tw:px-4', 'tw:gap-2'],\n destructive: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateIconClassnames = cva(['tw:flex', 'tw:items-center', 'tw:justify-center'], {\n variants: {\n variant: {\n default: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:text-warning',\n ],\n compact: [\n 'tw:size-10',\n 'tw:text-2xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-6',\n 'tw:text-warning',\n ],\n // Legacy keeps the fixed error scale; argo uses the themeable destructive token.\n destructive: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:data-[argo=false]:text-error-500',\n 'tw:data-[argo=true]:text-destructive',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateTitleClassnames = cva(['tw:m-0', 'tw:font-semibold'], {\n variants: {\n variant: {\n default: ['tw:text-lg', 'tw:leading-7', 'tw:text-foreground'],\n compact: ['tw:text-base', 'tw:leading-6', 'tw:text-foreground'],\n destructive: [\n 'tw:text-lg',\n 'tw:leading-7',\n 'tw:data-[argo=false]:text-error-700',\n 'tw:data-[argo=true]:text-destructive',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateDescriptionClassnames = cva(['tw:m-0', 'tw:text-muted-foreground'], {\n variants: {\n variant: {\n default: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n compact: ['tw:text-xs', 'tw:leading-4', 'tw:max-w-xs'],\n destructive: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateActionsClassnames = cva(['tw:flex', 'tw:items-center', 'tw:flex-wrap'], {\n variants: {\n variant: {\n default: ['tw:gap-3', 'tw:mt-2'],\n compact: ['tw:gap-2', 'tw:mt-1'],\n destructive: ['tw:gap-3', 'tw:mt-2'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype Variant = VariantProps<typeof errorStateClassnames>['variant'];\n\n/**\n * Props for `ErrorState`. `variant` chooses look — `\"default\"` for non-blocking errors, `\"compact\"` for\n * inside cards, `\"destructive\"` for blocking failures (red title + icon).\n */\ntype RootProps = ComponentProps<'div'> &\n VariantProps<typeof errorStateClassnames> & {\n variant?: Variant;\n };\n\n/**\n * Page-level error placeholder with `Icon`, `Title`, `Description` and `Actions` slots.\n *\n * - Use when the page can't render: failed request, no permission, missing entity.\n * - Put a recovery action (retry, go back, request access) in `ErrorState.Actions`.\n * - Not for transient failures (`toast()`), form validation (`FormGroup`) or banners (`Alert`).\n */\nconst ErrorStateRoot = ({ className, variant = 'default', children, ...rest }: RootProps) => (\n <div role=\"alert\" className={errorStateClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\ntype SlotProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateIcon = ({ className, variant = 'default', children, ...rest }: SlotProps) => {\n const renderArgo = useArgoDesign();\n return (\n <div\n data-argo={renderArgo}\n className={errorStateIconClassnames({ className, variant })}\n {...rest}\n >\n {children}\n </div>\n );\n};\n\ntype HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\ntype TitleProps = ComponentProps<'h3'> & {\n variant?: Variant;\n /** Set it to avoid a heading-order skip (e.g. `h2` directly under a page's `h1`). */\n as?: HeadingLevel;\n};\n\nconst ErrorStateTitle = ({\n className,\n variant = 'default',\n as: Tag = 'h3',\n children,\n ...rest\n}: TitleProps) => {\n const renderArgo = useArgoDesign();\n return (\n <Tag\n data-argo={renderArgo}\n className={errorStateTitleClassnames({ className, variant })}\n {...rest}\n >\n {children}\n </Tag>\n );\n};\n\ntype DescriptionProps = ComponentProps<'p'> & { variant?: Variant };\n\nconst ErrorStateDescription = ({\n className,\n variant = 'default',\n children,\n ...rest\n}: DescriptionProps) => (\n <p className={errorStateDescriptionClassnames({ className, variant })} {...rest}>\n {children}\n </p>\n);\n\ntype ActionsProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateActions = ({ className, variant = 'default', children, ...rest }: ActionsProps) => (\n <div className={errorStateActionsClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\nexport const ErrorState = ErrorStateRoot as typeof ErrorStateRoot & {\n Icon: typeof ErrorStateIcon;\n Title: typeof ErrorStateTitle;\n Description: typeof ErrorStateDescription;\n Actions: typeof ErrorStateActions;\n};\n\nErrorState.Icon = ErrorStateIcon;\nErrorState.Title = ErrorStateTitle;\nErrorState.Description = ErrorStateDescription;\nErrorState.Actions = ErrorStateActions;\n\nexport type { RootProps as ErrorStateProps, Variant as ErrorStateVariant };\n"],"mappings":";;;;AAMA,MAAM,uBAAu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G,WACrE,oBAAC,OAAD;CAAK,MAAK;CAAQ,WAAW,qBAAqB;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CAC5E;AACE,CAAA;AAKP,MAAM,kBAAkB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WAAsB;CAC3F,MAAM,aAAa,cAAc;CACjC,OACE,oBAAC,OAAD;EACE,aAAW;EACX,WAAW,yBAAyB;GAAE;GAAW;EAAQ,CAAC;EAC1D,GAAI;EAEH;CACE,CAAA;AAET;AAUA,MAAM,mBAAmB,EACvB,WACA,UAAU,WACV,IAAI,MAAM,MACV,UACA,GAAG,WACa;CAChB,MAAM,aAAa,cAAc;CACjC,OACE,oBAAC,KAAD;EACE,aAAW;EACX,WAAW,0BAA0B;GAAE;GAAW;EAAQ,CAAC;EAC3D,GAAI;EAEH;CACE,CAAA;AAET;AAIA,MAAM,yBAAyB,EAC7B,WACA,UAAU,WACV,UACA,GAAG,WAEH,oBAAC,KAAD;CAAG,WAAW,gCAAgC;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACxE;AACA,CAAA;AAKL,MAAM,qBAAqB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACxE,oBAAC,OAAD;CAAK,WAAW,4BAA4B;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACtE;AACE,CAAA;AAGP,MAAa,aAAa;AAO1B,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,UAAU"}
1
+ {"version":3,"file":"ErrorState.js","names":[],"sources":["../../../src/blocks/ErrorState/ErrorState.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\nconst errorStateClassnames = cva(['tw:flex', 'tw:flex-col', 'tw:items-center', 'tw:text-center'], {\n variants: {\n variant: {\n default: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n compact: ['tw:py-8', 'tw:px-4', 'tw:gap-2'],\n destructive: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateIconClassnames = cva(['tw:flex', 'tw:items-center', 'tw:justify-center'], {\n variants: {\n variant: {\n default: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:text-warning',\n ],\n compact: [\n 'tw:size-10',\n 'tw:text-2xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-6',\n 'tw:text-warning',\n ],\n destructive: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:text-destructive',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateTitleClassnames = cva(['tw:m-0', 'tw:font-semibold'], {\n variants: {\n variant: {\n default: ['tw:text-lg', 'tw:leading-7', 'tw:text-foreground'],\n compact: ['tw:text-base', 'tw:leading-6', 'tw:text-foreground'],\n destructive: ['tw:text-lg', 'tw:leading-7', 'tw:text-destructive'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateDescriptionClassnames = cva(['tw:m-0', 'tw:text-muted-foreground'], {\n variants: {\n variant: {\n default: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n compact: ['tw:text-xs', 'tw:leading-4', 'tw:max-w-xs'],\n destructive: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateActionsClassnames = cva(['tw:flex', 'tw:items-center', 'tw:flex-wrap'], {\n variants: {\n variant: {\n default: ['tw:gap-3', 'tw:mt-2'],\n compact: ['tw:gap-2', 'tw:mt-1'],\n destructive: ['tw:gap-3', 'tw:mt-2'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype Variant = VariantProps<typeof errorStateClassnames>['variant'];\n\n/**\n * Props for `ErrorState`. `variant` chooses look — `\"default\"` for non-blocking errors, `\"compact\"` for\n * inside cards, `\"destructive\"` for blocking failures (red title + icon).\n */\ntype RootProps = ComponentProps<'div'> &\n VariantProps<typeof errorStateClassnames> & {\n variant?: Variant;\n };\n\n/**\n * Page-level error placeholder with `Icon`, `Title`, `Description` and `Actions` slots.\n *\n * - Use when the page can't render: failed request, no permission, missing entity.\n * - Put a recovery action (retry, go back, request access) in `ErrorState.Actions`.\n * - Not for transient failures (`toast()`), form validation (`FormGroup`) or banners (`Alert`).\n */\nconst ErrorStateRoot = ({ className, variant = 'default', children, ...rest }: RootProps) => (\n <div role=\"alert\" className={errorStateClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\ntype SlotProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateIcon = ({ className, variant = 'default', children, ...rest }: SlotProps) => (\n <div className={errorStateIconClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\ntype HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\ntype TitleProps = ComponentProps<'h3'> & {\n variant?: Variant;\n /** Set it to avoid a heading-order skip (e.g. `h2` directly under a page's `h1`). */\n as?: HeadingLevel;\n};\n\nconst ErrorStateTitle = ({\n className,\n variant = 'default',\n as: Tag = 'h3',\n children,\n ...rest\n}: TitleProps) => (\n <Tag className={errorStateTitleClassnames({ className, variant })} {...rest}>\n {children}\n </Tag>\n);\n\ntype DescriptionProps = ComponentProps<'p'> & { variant?: Variant };\n\nconst ErrorStateDescription = ({\n className,\n variant = 'default',\n children,\n ...rest\n}: DescriptionProps) => (\n <p className={errorStateDescriptionClassnames({ className, variant })} {...rest}>\n {children}\n </p>\n);\n\ntype ActionsProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateActions = ({ className, variant = 'default', children, ...rest }: ActionsProps) => (\n <div className={errorStateActionsClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\nexport const ErrorState = ErrorStateRoot as typeof ErrorStateRoot & {\n Icon: typeof ErrorStateIcon;\n Title: typeof ErrorStateTitle;\n Description: typeof ErrorStateDescription;\n Actions: typeof ErrorStateActions;\n};\n\nErrorState.Icon = ErrorStateIcon;\nErrorState.Title = ErrorStateTitle;\nErrorState.Description = ErrorStateDescription;\nErrorState.Actions = ErrorStateActions;\n\nexport type { RootProps as ErrorStateProps, Variant as ErrorStateVariant };\n"],"mappings":";;;AAIA,MAAM,uBAAuB,IAAI;CAAC;CAAW;CAAe;CAAmB;AAAgB,GAAG;CAChG,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAY;GAAW;EAAU;EAC3C,SAAS;GAAC;GAAW;GAAW;EAAU;EAC1C,aAAa;GAAC;GAAY;GAAW;EAAU;CACjD,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,2BAA2B,IAAI;CAAC;CAAW;CAAmB;AAAmB,GAAG;CACxF,UAAU,EACR,SAAS;EACP,SAAS;GACP;GACA;GACA;GACA;EACF;EACA,SAAS;GACP;GACA;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;GACA;EACF;CACF,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,4BAA4B,IAAI,CAAC,UAAU,kBAAkB,GAAG;CACpE,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAc;GAAgB;EAAoB;EAC5D,SAAS;GAAC;GAAgB;GAAgB;EAAoB;EAC9D,aAAa;GAAC;GAAc;GAAgB;EAAqB;CACnE,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,kCAAkC,IAAI,CAAC,UAAU,0BAA0B,GAAG;CAClF,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAc;GAAgB;EAAa;EACrD,SAAS;GAAC;GAAc;GAAgB;EAAa;EACrD,aAAa;GAAC;GAAc;GAAgB;EAAa;CAC3D,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,8BAA8B,IAAI;CAAC;CAAW;CAAmB;AAAc,GAAG;CACtF,UAAU,EACR,SAAS;EACP,SAAS,CAAC,YAAY,SAAS;EAC/B,SAAS,CAAC,YAAY,SAAS;EAC/B,aAAa,CAAC,YAAY,SAAS;CACrC,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;;;;;;;;AAoBD,MAAM,kBAAkB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACrE,oBAAC,OAAD;CAAK,MAAK;CAAQ,WAAW,qBAAqB;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CAC5E;AACE,CAAA;AAKP,MAAM,kBAAkB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACrE,oBAAC,OAAD;CAAK,WAAW,yBAAyB;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACnE;AACE,CAAA;AAWP,MAAM,mBAAmB,EACvB,WACA,UAAU,WACV,IAAI,MAAM,MACV,UACA,GAAG,WAEH,oBAAC,KAAD;CAAK,WAAW,0BAA0B;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACpE;AACE,CAAA;AAKP,MAAM,yBAAyB,EAC7B,WACA,UAAU,WACV,UACA,GAAG,WAEH,oBAAC,KAAD;CAAG,WAAW,gCAAgC;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACxE;AACA,CAAA;AAKL,MAAM,qBAAqB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACxE,oBAAC,OAAD;CAAK,WAAW,4BAA4B;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACtE;AACE,CAAA;AAGP,MAAa,aAAa;AAO1B,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,UAAU"}
@@ -1,7 +1,7 @@
1
- import { Tooltip } from "../../utils-LQ4jJA-9.js";
1
+ import { Tooltip } from "../../utils-DwC9u0tM.js";
2
2
  import { Download } from "../../icons-ZIeZXXS7.js";
3
- import { Button } from "../../Button-D2JqBAq7.js";
4
- import { DropdownMenu } from "../../DropdownMenu-B1gGvZoh.js";
3
+ import { Button } from "../../Button-BNkyYU8u.js";
4
+ import { DropdownMenu } from "../../DropdownMenu-Bum99mVf.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/blocks/ExportMenu/ExportMenu.tsx
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ExportMenu.js","names":[],"sources":["../../../src/blocks/ExportMenu/ExportMenu.tsx"],"sourcesContent":["import { Button } from '../../components/Button';\nimport { DropdownMenu } from '../../components/DropdownMenu';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Download } from '../../icons';\n\nexport type ExportMenuItem = {\n /** Menu label, e.g. \"Download as CSV\". */\n label: string;\n onSelect: () => void;\n};\n\ntype Props = {\n items: ExportMenuItem[];\n /** Accessible name + tooltip for the trigger, e.g. \"Export table\". */\n label: string;\n size?: 'icon-xs' | 'icon-sm';\n /** `outline` for a standalone control; `invisible` in a row of ghost actions. */\n variant?: 'outline' | 'invisible';\n};\n\n/**\n * Download-icon trigger with a menu of export formats.\n *\n * - Callers inject it into `ZoomableSvg`; importing it there would pull ~11 kB of\n * `DropdownMenu` chunk-mates behind the lazy `@keboola/design/mermaid` boundary.\n */\nexport const ExportMenu = ({ items, label, size = 'icon-sm', variant = 'outline' }: Props) => (\n <DropdownMenu>\n <Tooltip tooltip={label} placement=\"top\" triggerAsChild>\n <DropdownMenu.Trigger asChild>\n <Button\n size={size}\n variant={variant}\n aria-label={label}\n // Argo `outline` resets the background when active; keep an open trigger tinted.\n className=\"tw:data-[state=open]:!bg-primary/10 tw:data-[state=open]:!text-primary\"\n >\n <Download className=\"tw:size-4\" />\n </Button>\n </DropdownMenu.Trigger>\n </Tooltip>\n <DropdownMenu.Content align=\"end\">\n {/* Keyed by index: labels aren't guaranteed unique. */}\n {items.map((item, index) => (\n <DropdownMenu.Item key={index} onSelect={item.onSelect}>\n {item.label}\n </DropdownMenu.Item>\n ))}\n </DropdownMenu.Content>\n </DropdownMenu>\n);\n"],"mappings":";;;;;;;;;;;;AA0BA,MAAa,cAAc,EAAE,OAAO,OAAO,OAAO,WAAW,UAAU,gBACrE,qBAAC,cAAD,EAAA,UAAA,CACE,oBAAC,SAAD;CAAS,SAAS;CAAO,WAAU;CAAM,gBAAA;CACvC,UAAA,oBAAC,aAAa,SAAd;EAAsB,SAAA;EACpB,UAAA,oBAAC,QAAD;GACQ;GACG;GACT,cAAY;GAEZ,WAAU;GAEV,UAAA,oBAAC,UAAD,EAAU,WAAU,YAAa,CAAA;EAC3B,CAAA;CACY,CAAA;AACf,CAAA,GACT,oBAAC,aAAa,SAAd;CAAsB,OAAM;CAEzB,UAAA,MAAM,KAAK,MAAM,UAChB,oBAAC,aAAa,MAAd;EAA+B,UAAU,KAAK;EAC3C,UAAA,KAAK;CACW,GAFK,KAEL,CACpB;AACmB,CAAA,CACV,EAAA,CAAA"}
1
+ {"version":3,"file":"ExportMenu.js","names":[],"sources":["../../../src/blocks/ExportMenu/ExportMenu.tsx"],"sourcesContent":["import { Button } from '../../components/Button';\nimport { DropdownMenu } from '../../components/DropdownMenu';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Download } from '../../icons';\n\nexport type ExportMenuItem = {\n /** Menu label, e.g. \"Download as CSV\". */\n label: string;\n onSelect: () => void;\n};\n\ntype Props = {\n items: ExportMenuItem[];\n /** Accessible name + tooltip for the trigger, e.g. \"Export table\". */\n label: string;\n size?: 'icon-xs' | 'icon-sm';\n /** `outline` for a standalone control; `invisible` in a row of ghost actions. */\n variant?: 'outline' | 'invisible';\n};\n\n/**\n * Download-icon trigger with a menu of export formats.\n *\n * - Callers inject it into `ZoomableSvg`; importing it there would pull ~11 kB of\n * `DropdownMenu` chunk-mates behind the lazy `@keboola/design/mermaid` boundary.\n */\nexport const ExportMenu = ({ items, label, size = 'icon-sm', variant = 'outline' }: Props) => (\n <DropdownMenu>\n <Tooltip tooltip={label} placement=\"top\" triggerAsChild>\n <DropdownMenu.Trigger asChild>\n <Button\n size={size}\n variant={variant}\n aria-label={label}\n // `outline` resets the background when active; keep an open trigger tinted.\n className=\"tw:data-[state=open]:!bg-primary/10 tw:data-[state=open]:!text-primary\"\n >\n <Download className=\"tw:size-4\" />\n </Button>\n </DropdownMenu.Trigger>\n </Tooltip>\n <DropdownMenu.Content align=\"end\">\n {/* Keyed by index: labels aren't guaranteed unique. */}\n {items.map((item, index) => (\n <DropdownMenu.Item key={index} onSelect={item.onSelect}>\n {item.label}\n </DropdownMenu.Item>\n ))}\n </DropdownMenu.Content>\n </DropdownMenu>\n);\n"],"mappings":";;;;;;;;;;;;AA0BA,MAAa,cAAc,EAAE,OAAO,OAAO,OAAO,WAAW,UAAU,gBACrE,qBAAC,cAAD,EAAA,UAAA,CACE,oBAAC,SAAD;CAAS,SAAS;CAAO,WAAU;CAAM,gBAAA;CACvC,UAAA,oBAAC,aAAa,SAAd;EAAsB,SAAA;EACpB,UAAA,oBAAC,QAAD;GACQ;GACG;GACT,cAAY;GAEZ,WAAU;GAEV,UAAA,oBAAC,UAAD,EAAU,WAAU,YAAa,CAAA;EAC3B,CAAA;CACY,CAAA;AACf,CAAA,GACT,oBAAC,aAAa,SAAd;CAAsB,OAAM;CAEzB,UAAA,MAAM,KAAK,MAAM,UAChB,oBAAC,aAAa,MAAd;EAA+B,UAAU,KAAK;EAC3C,UAAA,KAAK;CACW,GAFK,KAEL,CACpB;AACmB,CAAA,CACV,EAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Combobox } from "../../../../Combobox-CEesMe2M.js";
2
- import { FieldItem, useFieldContext } from "../../../../FieldItem-CYvJyjiI.js";
1
+ import { Combobox } from "../../../../Combobox-BLqX-Tdh.js";
2
+ import { FieldItem, useFieldContext } from "../../../../FieldItem-BHUqgSO1.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/blocks/Form/connectors/ComboboxField.tsx
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { MultiCombobox } from "../../MultiCombobox.js";
2
- import { FieldItem, useFieldContext } from "../../../../FieldItem-CYvJyjiI.js";
2
+ import { FieldItem, useFieldContext } from "../../../../FieldItem-BHUqgSO1.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/blocks/Form/connectors/MultiComboboxField.tsx
5
5
  /**
@@ -1,2 +1,2 @@
1
- import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "../../Form-CD55zJiy.js";
1
+ import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "../../Form-Dqbt_tIs.js";
2
2
  export { setServerFieldErrors, setSubmitError, useAppForm, withForm };
@@ -1,2 +1,2 @@
1
- import { FormGroup } from "../../FormGroup-DiYFdEhH.js";
1
+ import { FormGroup } from "../../FormGroup-V5kIgQRN.js";
2
2
  export { FormGroup };
@@ -1,2 +1,2 @@
1
- import { InlineEdit } from "../../InlineEdit-D5RdunZo.js";
1
+ import { InlineEdit } from "../../InlineEdit-D4P0SvCB.js";
2
2
  export { InlineEdit };
@@ -1,2 +1,2 @@
1
- import { MultiActionButtonGroup } from "../../MultiActionButtonGroup-CEv_txvz.js";
1
+ import { MultiActionButtonGroup } from "../../MultiActionButtonGroup-Dzig87s1.js";
2
2
  export { MultiActionButtonGroup };