datocms-react-ui 3.1.0-next.5 → 3.1.0-next.6

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 (369) hide show
  1. package/dist/LICENSE-lucide.txt +43 -0
  2. package/dist/styles.css +35 -18
  3. package/dist/ui-public/icons/index.js +296 -367
  4. package/dist/ui-public/icons/lucide/app-window.js +33 -0
  5. package/dist/ui-public/icons/lucide/arrow-big-down.js +22 -0
  6. package/dist/ui-public/icons/lucide/arrow-down-a-z.js +28 -0
  7. package/dist/ui-public/icons/lucide/arrow-down-from-line.js +26 -0
  8. package/dist/ui-public/icons/lucide/arrow-down.js +22 -0
  9. package/dist/ui-public/icons/lucide/arrow-left.js +22 -0
  10. package/dist/ui-public/icons/lucide/arrow-right-left.js +27 -0
  11. package/dist/ui-public/icons/lucide/arrow-right.js +22 -0
  12. package/dist/ui-public/icons/lucide/arrow-up-down.js +27 -0
  13. package/dist/ui-public/icons/lucide/arrow-up-from-line.js +26 -0
  14. package/dist/ui-public/icons/lucide/arrow-up.js +22 -0
  15. package/dist/ui-public/icons/lucide/ban.js +26 -0
  16. package/dist/ui-public/icons/lucide/book.js +22 -0
  17. package/dist/ui-public/icons/lucide/bookmark.js +22 -0
  18. package/dist/ui-public/icons/lucide/calendar.js +33 -0
  19. package/dist/ui-public/icons/{regular → lucide}/check.js +9 -3
  20. package/dist/ui-public/icons/{regular → lucide}/chevron-down.js +9 -3
  21. package/dist/ui-public/icons/{regular → lucide}/chevron-left.js +9 -3
  22. package/dist/ui-public/icons/{regular → lucide}/chevron-right.js +9 -3
  23. package/dist/ui-public/icons/lucide/chevrons-down.js +22 -0
  24. package/dist/ui-public/icons/lucide/chevrons-left.js +22 -0
  25. package/dist/ui-public/icons/lucide/chevrons-right.js +22 -0
  26. package/dist/ui-public/icons/lucide/circle-arrow-up.js +30 -0
  27. package/dist/ui-public/icons/lucide/circle-check.js +26 -0
  28. package/dist/ui-public/icons/lucide/circle-dot.js +30 -0
  29. package/dist/ui-public/icons/lucide/circle-exclamation-point.js +40 -0
  30. package/dist/ui-public/icons/lucide/circle-question-mark.js +30 -0
  31. package/dist/ui-public/icons/lucide/clock.js +26 -0
  32. package/dist/ui-public/icons/lucide/code.js +22 -0
  33. package/dist/ui-public/icons/lucide/command.js +22 -0
  34. package/dist/ui-public/icons/lucide/copy-plus.js +44 -0
  35. package/dist/ui-public/icons/lucide/copy.js +29 -0
  36. package/dist/ui-public/icons/lucide/corner-left-up.js +22 -0
  37. package/dist/ui-public/icons/lucide/database.js +31 -0
  38. package/dist/ui-public/icons/lucide/download.js +26 -0
  39. package/dist/ui-public/icons/lucide/earth.js +31 -0
  40. package/dist/ui-public/icons/lucide/ellipsis-vertical.js +38 -0
  41. package/dist/ui-public/icons/lucide/ellipsis.js +38 -0
  42. package/dist/ui-public/icons/lucide/external-link.js +26 -0
  43. package/dist/ui-public/icons/lucide/eye-off.js +27 -0
  44. package/dist/ui-public/icons/lucide/eye.js +26 -0
  45. package/dist/ui-public/icons/lucide/file-code.js +27 -0
  46. package/dist/ui-public/icons/lucide/file-output.js +27 -0
  47. package/dist/ui-public/icons/lucide/flask-conical.js +26 -0
  48. package/dist/ui-public/icons/lucide/fold-vertical.js +31 -0
  49. package/dist/ui-public/icons/lucide/folder-open.js +22 -0
  50. package/dist/ui-public/icons/lucide/folder-plus.js +26 -0
  51. package/dist/ui-public/icons/lucide/folder.js +22 -0
  52. package/dist/ui-public/icons/lucide/folders.js +22 -0
  53. package/dist/ui-public/icons/lucide/funnel.js +22 -0
  54. package/dist/ui-public/icons/lucide/gift.js +33 -0
  55. package/dist/ui-public/icons/lucide/git-branch.js +34 -0
  56. package/dist/ui-public/icons/lucide/git-fork.js +40 -0
  57. package/dist/ui-public/icons/lucide/globe.js +30 -0
  58. package/dist/ui-public/icons/lucide/grip-vertical.js +53 -0
  59. package/dist/ui-public/icons/lucide/hand.js +27 -0
  60. package/dist/ui-public/icons/lucide/hard-hat.js +33 -0
  61. package/dist/ui-public/icons/lucide/heading-1.js +27 -0
  62. package/dist/ui-public/icons/lucide/heading-2.js +27 -0
  63. package/dist/ui-public/icons/lucide/heading-3.js +28 -0
  64. package/dist/ui-public/icons/lucide/heading-4.js +28 -0
  65. package/dist/ui-public/icons/lucide/heading-5.js +28 -0
  66. package/dist/ui-public/icons/lucide/heading-6.js +32 -0
  67. package/dist/ui-public/icons/lucide/highlighter.js +22 -0
  68. package/dist/ui-public/icons/lucide/hourglass.js +27 -0
  69. package/dist/ui-public/icons/lucide/house.js +22 -0
  70. package/dist/ui-public/icons/lucide/image.js +37 -0
  71. package/dist/ui-public/icons/lucide/images.js +38 -0
  72. package/dist/ui-public/icons/lucide/info.js +30 -0
  73. package/dist/ui-public/icons/lucide/italic.js +41 -0
  74. package/dist/ui-public/icons/lucide/keyboard.js +38 -0
  75. package/dist/ui-public/icons/lucide/languages.js +29 -0
  76. package/dist/ui-public/icons/lucide/layers.js +26 -0
  77. package/dist/ui-public/icons/lucide/layout-grid.js +51 -0
  78. package/dist/ui-public/icons/lucide/letter-b.js +22 -0
  79. package/dist/ui-public/icons/lucide/life-buoy.js +37 -0
  80. package/dist/ui-public/icons/lucide/link.js +22 -0
  81. package/dist/ui-public/icons/lucide/list-indent-decrease.js +27 -0
  82. package/dist/ui-public/icons/lucide/list-indent-increase.js +27 -0
  83. package/dist/ui-public/icons/lucide/list-ordered.js +29 -0
  84. package/dist/ui-public/icons/lucide/list-tree.js +28 -0
  85. package/dist/ui-public/icons/lucide/list.js +29 -0
  86. package/dist/ui-public/icons/lucide/log-out.js +26 -0
  87. package/dist/ui-public/icons/lucide/mail.js +28 -0
  88. package/dist/ui-public/icons/lucide/map-pin.js +26 -0
  89. package/dist/ui-public/icons/lucide/map-pinned.js +30 -0
  90. package/dist/ui-public/icons/lucide/maximize.js +27 -0
  91. package/dist/ui-public/icons/lucide/menu.js +26 -0
  92. package/dist/ui-public/icons/lucide/messages-square.js +22 -0
  93. package/dist/ui-public/icons/lucide/minimize.js +27 -0
  94. package/dist/ui-public/icons/lucide/minus.js +22 -0
  95. package/dist/ui-public/icons/lucide/notepad-text.js +36 -0
  96. package/dist/ui-public/icons/lucide/octagon-exclamation-point.js +26 -0
  97. package/dist/ui-public/icons/lucide/palette.js +48 -0
  98. package/dist/ui-public/icons/lucide/panel-left.js +28 -0
  99. package/dist/ui-public/icons/lucide/panel-right.js +28 -0
  100. package/dist/ui-public/icons/lucide/pause.js +34 -0
  101. package/dist/ui-public/icons/lucide/pen.js +22 -0
  102. package/dist/ui-public/icons/lucide/pilcrow.js +26 -0
  103. package/dist/ui-public/icons/lucide/pipette.js +26 -0
  104. package/dist/ui-public/icons/lucide/play.js +22 -0
  105. package/dist/ui-public/icons/lucide/plus.js +22 -0
  106. package/dist/ui-public/icons/lucide/quote.js +22 -0
  107. package/dist/ui-public/icons/lucide/receipt.js +26 -0
  108. package/dist/ui-public/icons/lucide/redo-2.js +22 -0
  109. package/dist/ui-public/icons/lucide/refresh-cw.js +27 -0
  110. package/dist/ui-public/icons/lucide/rotate-ccw-clock.js +26 -0
  111. package/dist/ui-public/icons/lucide/rotate-ccw.js +22 -0
  112. package/dist/ui-public/icons/lucide/search.js +26 -0
  113. package/dist/ui-public/icons/lucide/send.js +22 -0
  114. package/dist/ui-public/icons/lucide/settings-2.js +35 -0
  115. package/dist/ui-public/icons/lucide/settings.js +26 -0
  116. package/dist/ui-public/icons/lucide/sliders-horizontal.js +32 -0
  117. package/dist/ui-public/icons/lucide/smartphone.js +29 -0
  118. package/dist/ui-public/icons/lucide/square-arrow-left.js +32 -0
  119. package/dist/ui-public/icons/lucide/square-arrow-up-right.js +32 -0
  120. package/dist/ui-public/icons/lucide/square-code.js +32 -0
  121. package/dist/ui-public/icons/lucide/square-dashed.js +35 -0
  122. package/dist/ui-public/icons/lucide/square-pen.js +22 -0
  123. package/dist/ui-public/icons/lucide/square-plus.js +32 -0
  124. package/dist/ui-public/icons/lucide/square-terminal.js +33 -0
  125. package/dist/ui-public/icons/lucide/store.js +26 -0
  126. package/dist/ui-public/icons/lucide/strikethrough.js +31 -0
  127. package/dist/ui-public/icons/lucide/table.js +33 -0
  128. package/dist/ui-public/icons/lucide/tag.js +27 -0
  129. package/dist/ui-public/icons/lucide/text-align-center.js +26 -0
  130. package/dist/ui-public/icons/lucide/text-align-end.js +26 -0
  131. package/dist/ui-public/icons/lucide/text-align-justify.js +26 -0
  132. package/dist/ui-public/icons/lucide/text-align-start.js +26 -0
  133. package/dist/ui-public/icons/lucide/toolbox.js +28 -0
  134. package/dist/ui-public/icons/lucide/trash.js +28 -0
  135. package/dist/ui-public/icons/lucide/triangle-exclamation-point.js +26 -0
  136. package/dist/ui-public/icons/lucide/underline.js +27 -0
  137. package/dist/ui-public/icons/lucide/undo-2.js +22 -0
  138. package/dist/ui-public/icons/lucide/unfold-vertical.js +31 -0
  139. package/dist/ui-public/icons/lucide/user-lock.js +37 -0
  140. package/dist/ui-public/icons/lucide/user-minus.js +35 -0
  141. package/dist/ui-public/icons/lucide/user-round-arrow-left.js +31 -0
  142. package/dist/ui-public/icons/lucide/user.js +26 -0
  143. package/dist/ui-public/icons/lucide/x.js +22 -0
  144. package/dist/ui-public/locales/en.js +2 -0
  145. package/dist/ui-public/src/UiTextKey.d.ts +1 -1
  146. package/dist/ui-public/src/actions/Button.d.ts +6 -1
  147. package/dist/ui-public/src/actions/Button.js +6 -0
  148. package/dist/ui-public/src/actions/disabledReason.js +1 -1
  149. package/dist/ui-public/src/content/UploadThreatTriangle.js +1 -1
  150. package/dist/ui-public/src/content/ValidityTriangles.js +1 -1
  151. package/dist/ui-public/src/form/PasswordInput.js +1 -9
  152. package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +1 -1
  153. package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +12 -4
  154. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +3 -0
  155. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +2 -1
  156. package/dist/ui-public/src/overlays/HoverCard/index.js +1 -1
  157. package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
  158. package/dist/ui-public/src/patterns/ListDetail/Overview.js +2 -2
  159. package/dist/ui-public/src/patterns/ListDetail/Page.js +8 -4
  160. package/dist/ui-public/src/patterns/ListDetail/Panel.js +11 -10
  161. package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +23 -8
  162. package/dist/ui-public/src/patterns/ListDetail/Split.js +99 -115
  163. package/dist/ui-public/src/patterns/ListDetail/index.d.ts +4 -3
  164. package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
  165. package/package.json +2 -2
  166. package/dist/ui-public/icons/brands/gitlab.js +0 -15
  167. package/dist/ui-public/icons/brands/markdown.js +0 -15
  168. package/dist/ui-public/icons/custom/language.js +0 -16
  169. package/dist/ui-public/icons/custom/masonry.js +0 -21
  170. package/dist/ui-public/icons/light/eye-slash.js +0 -16
  171. package/dist/ui-public/icons/light/eye.js +0 -16
  172. package/dist/ui-public/icons/regular/align-left.js +0 -15
  173. package/dist/ui-public/icons/regular/arrow-down-a-z.js +0 -16
  174. package/dist/ui-public/icons/regular/arrow-down-from-line.js +0 -16
  175. package/dist/ui-public/icons/regular/arrow-down-to-line.js +0 -15
  176. package/dist/ui-public/icons/regular/arrow-down.js +0 -16
  177. package/dist/ui-public/icons/regular/arrow-left.js +0 -16
  178. package/dist/ui-public/icons/regular/arrow-right-arrow-left.js +0 -16
  179. package/dist/ui-public/icons/regular/arrow-right-from-bracket.js +0 -16
  180. package/dist/ui-public/icons/regular/arrow-right.js +0 -16
  181. package/dist/ui-public/icons/regular/arrow-rotate-left.js +0 -15
  182. package/dist/ui-public/icons/regular/arrow-rotate-right.js +0 -16
  183. package/dist/ui-public/icons/regular/arrow-turn-up.js +0 -16
  184. package/dist/ui-public/icons/regular/arrow-up-arrow-down.js +0 -16
  185. package/dist/ui-public/icons/regular/arrow-up-from-line.js +0 -16
  186. package/dist/ui-public/icons/regular/arrow-up-right-from-square.js +0 -16
  187. package/dist/ui-public/icons/regular/arrow-up-to-line.js +0 -15
  188. package/dist/ui-public/icons/regular/arrow-up.js +0 -16
  189. package/dist/ui-public/icons/regular/arrows-from-line.js +0 -16
  190. package/dist/ui-public/icons/regular/arrows-rotate.js +0 -16
  191. package/dist/ui-public/icons/regular/arrows-to-line.js +0 -16
  192. package/dist/ui-public/icons/regular/arrows-turn-to-dots.js +0 -15
  193. package/dist/ui-public/icons/regular/badge-check.js +0 -15
  194. package/dist/ui-public/icons/regular/ballot-check.js +0 -15
  195. package/dist/ui-public/icons/regular/ban.js +0 -16
  196. package/dist/ui-public/icons/regular/bars.js +0 -16
  197. package/dist/ui-public/icons/regular/bold.js +0 -15
  198. package/dist/ui-public/icons/regular/bolt.js +0 -15
  199. package/dist/ui-public/icons/regular/book.js +0 -16
  200. package/dist/ui-public/icons/regular/bookmark.js +0 -16
  201. package/dist/ui-public/icons/regular/brackets-curly.js +0 -15
  202. package/dist/ui-public/icons/regular/browser.js +0 -16
  203. package/dist/ui-public/icons/regular/calendar-clock.js +0 -15
  204. package/dist/ui-public/icons/regular/calendar.js +0 -16
  205. package/dist/ui-public/icons/regular/chart-area.js +0 -15
  206. package/dist/ui-public/icons/regular/chevrons-down.js +0 -16
  207. package/dist/ui-public/icons/regular/chevrons-left.js +0 -16
  208. package/dist/ui-public/icons/regular/chevrons-right.js +0 -16
  209. package/dist/ui-public/icons/regular/circle-arrow-up.js +0 -16
  210. package/dist/ui-public/icons/regular/circle-check.js +0 -16
  211. package/dist/ui-public/icons/regular/circle-dot.js +0 -16
  212. package/dist/ui-public/icons/regular/circle-exclamation.js +0 -16
  213. package/dist/ui-public/icons/regular/circle-info.js +0 -16
  214. package/dist/ui-public/icons/regular/circle-question.js +0 -16
  215. package/dist/ui-public/icons/regular/clapperboard-play.js +0 -15
  216. package/dist/ui-public/icons/regular/clipboard.js +0 -15
  217. package/dist/ui-public/icons/regular/clock-rotate-left.js +0 -16
  218. package/dist/ui-public/icons/regular/clock.js +0 -16
  219. package/dist/ui-public/icons/regular/clone.js +0 -16
  220. package/dist/ui-public/icons/regular/cloud-arrow-down.js +0 -15
  221. package/dist/ui-public/icons/regular/code-branch.js +0 -16
  222. package/dist/ui-public/icons/regular/code-fork.js +0 -16
  223. package/dist/ui-public/icons/regular/command.js +0 -16
  224. package/dist/ui-public/icons/regular/comments.js +0 -16
  225. package/dist/ui-public/icons/regular/copy.js +0 -16
  226. package/dist/ui-public/icons/regular/cube.js +0 -15
  227. package/dist/ui-public/icons/regular/cubes.js +0 -15
  228. package/dist/ui-public/icons/regular/dash.js +0 -16
  229. package/dist/ui-public/icons/regular/database.js +0 -16
  230. package/dist/ui-public/icons/regular/diamond.js +0 -15
  231. package/dist/ui-public/icons/regular/down.js +0 -16
  232. package/dist/ui-public/icons/regular/download.js +0 -16
  233. package/dist/ui-public/icons/regular/earth-europe.js +0 -16
  234. package/dist/ui-public/icons/regular/ellipsis-vertical.js +0 -16
  235. package/dist/ui-public/icons/regular/ellipsis.js +0 -16
  236. package/dist/ui-public/icons/regular/envelope.js +0 -16
  237. package/dist/ui-public/icons/regular/expand.js +0 -16
  238. package/dist/ui-public/icons/regular/eye-dropper.js +0 -16
  239. package/dist/ui-public/icons/regular/eye.js +0 -16
  240. package/dist/ui-public/icons/regular/file-export.js +0 -16
  241. package/dist/ui-public/icons/regular/file-lines.js +0 -15
  242. package/dist/ui-public/icons/regular/file-shield.js +0 -15
  243. package/dist/ui-public/icons/regular/file.js +0 -15
  244. package/dist/ui-public/icons/regular/filter.js +0 -16
  245. package/dist/ui-public/icons/regular/fire-flame-curved.js +0 -15
  246. package/dist/ui-public/icons/regular/flask-gear.js +0 -16
  247. package/dist/ui-public/icons/regular/flask.js +0 -16
  248. package/dist/ui-public/icons/regular/folder-gear.js +0 -15
  249. package/dist/ui-public/icons/regular/folder-magnifying-glass.js +0 -15
  250. package/dist/ui-public/icons/regular/folder-open.js +0 -16
  251. package/dist/ui-public/icons/regular/folder-plus.js +0 -16
  252. package/dist/ui-public/icons/regular/folder.js +0 -16
  253. package/dist/ui-public/icons/regular/folders.js +0 -16
  254. package/dist/ui-public/icons/regular/gear.js +0 -16
  255. package/dist/ui-public/icons/regular/gift.js +0 -16
  256. package/dist/ui-public/icons/regular/globe.js +0 -16
  257. package/dist/ui-public/icons/regular/grid-2.js +0 -16
  258. package/dist/ui-public/icons/regular/grip-dots-vertical.js +0 -16
  259. package/dist/ui-public/icons/regular/hand.js +0 -16
  260. package/dist/ui-public/icons/regular/hourglass-clock.js +0 -16
  261. package/dist/ui-public/icons/regular/house.js +0 -16
  262. package/dist/ui-public/icons/regular/images.js +0 -16
  263. package/dist/ui-public/icons/regular/input-numeric.js +0 -15
  264. package/dist/ui-public/icons/regular/input-text.js +0 -15
  265. package/dist/ui-public/icons/regular/keyboard.js +0 -16
  266. package/dist/ui-public/icons/regular/layer-group.js +0 -16
  267. package/dist/ui-public/icons/regular/life-ring.js +0 -16
  268. package/dist/ui-public/icons/regular/link-simple.js +0 -15
  269. package/dist/ui-public/icons/regular/link.js +0 -16
  270. package/dist/ui-public/icons/regular/list-tree.js +0 -16
  271. package/dist/ui-public/icons/regular/list.js +0 -16
  272. package/dist/ui-public/icons/regular/magnifying-glass-chart.js +0 -15
  273. package/dist/ui-public/icons/regular/magnifying-glass.js +0 -16
  274. package/dist/ui-public/icons/regular/map-location-dot.js +0 -16
  275. package/dist/ui-public/icons/regular/memo.js +0 -16
  276. package/dist/ui-public/icons/regular/mobile-screen-button.js +0 -16
  277. package/dist/ui-public/icons/regular/octagon-exclamation.js +0 -16
  278. package/dist/ui-public/icons/regular/palette.js +0 -16
  279. package/dist/ui-public/icons/regular/paper-plane.js +0 -16
  280. package/dist/ui-public/icons/regular/paragraph.js +0 -15
  281. package/dist/ui-public/icons/regular/paste.js +0 -15
  282. package/dist/ui-public/icons/regular/pause.js +0 -16
  283. package/dist/ui-public/icons/regular/pen-paintbrush.js +0 -15
  284. package/dist/ui-public/icons/regular/pen-to-square.js +0 -16
  285. package/dist/ui-public/icons/regular/pen.js +0 -16
  286. package/dist/ui-public/icons/regular/people-arrows.js +0 -16
  287. package/dist/ui-public/icons/regular/photo-film.js +0 -15
  288. package/dist/ui-public/icons/regular/play.js +0 -16
  289. package/dist/ui-public/icons/regular/puzzle-piece.js +0 -15
  290. package/dist/ui-public/icons/regular/receipt.js +0 -16
  291. package/dist/ui-public/icons/regular/rectangle-barcode.js +0 -15
  292. package/dist/ui-public/icons/regular/rectangle-list.js +0 -15
  293. package/dist/ui-public/icons/regular/right-left.js +0 -15
  294. package/dist/ui-public/icons/regular/rotate-left.js +0 -16
  295. package/dist/ui-public/icons/regular/shield.js +0 -15
  296. package/dist/ui-public/icons/regular/sidebar-flip.js +0 -16
  297. package/dist/ui-public/icons/regular/sidebar.js +0 -16
  298. package/dist/ui-public/icons/regular/sliders.js +0 -16
  299. package/dist/ui-public/icons/regular/sparkles.js +0 -15
  300. package/dist/ui-public/icons/regular/square-caret-down.js +0 -15
  301. package/dist/ui-public/icons/regular/square-check.js +0 -15
  302. package/dist/ui-public/icons/regular/square-dashed.js +0 -15
  303. package/dist/ui-public/icons/regular/square-left.js +0 -16
  304. package/dist/ui-public/icons/regular/square-terminal.js +0 -16
  305. package/dist/ui-public/icons/regular/square-up-right.js +0 -16
  306. package/dist/ui-public/icons/regular/store.js +0 -16
  307. package/dist/ui-public/icons/regular/swap-arrows.js +0 -15
  308. package/dist/ui-public/icons/regular/table.js +0 -16
  309. package/dist/ui-public/icons/regular/tag.js +0 -16
  310. package/dist/ui-public/icons/regular/toggle-on.js +0 -15
  311. package/dist/ui-public/icons/regular/toolbox.js +0 -16
  312. package/dist/ui-public/icons/regular/trash-undo.js +0 -15
  313. package/dist/ui-public/icons/regular/trash.js +0 -16
  314. package/dist/ui-public/icons/regular/triangle-exclamation.js +0 -16
  315. package/dist/ui-public/icons/regular/turn-up.js +0 -16
  316. package/dist/ui-public/icons/regular/user-group.js +0 -15
  317. package/dist/ui-public/icons/regular/user-helmet-safety.js +0 -16
  318. package/dist/ui-public/icons/regular/user-lock.js +0 -16
  319. package/dist/ui-public/icons/regular/user-minus.js +0 -16
  320. package/dist/ui-public/icons/regular/user-tie.js +0 -15
  321. package/dist/ui-public/icons/regular/user.js +0 -16
  322. package/dist/ui-public/icons/regular/users.js +0 -15
  323. package/dist/ui-public/icons/regular/video.js +0 -15
  324. package/dist/ui-public/icons/regular/webhook.js +0 -15
  325. package/dist/ui-public/icons/regular/wrench.js +0 -15
  326. package/dist/ui-public/icons/regular/xmark.js +0 -16
  327. package/dist/ui-public/icons/solid/align-center.js +0 -16
  328. package/dist/ui-public/icons/solid/align-justify.js +0 -16
  329. package/dist/ui-public/icons/solid/align-left.js +0 -16
  330. package/dist/ui-public/icons/solid/align-right.js +0 -16
  331. package/dist/ui-public/icons/solid/arrow-rotate-left.js +0 -16
  332. package/dist/ui-public/icons/solid/arrow-rotate-right.js +0 -16
  333. package/dist/ui-public/icons/solid/bold.js +0 -16
  334. package/dist/ui-public/icons/solid/circle-exclamation.js +0 -16
  335. package/dist/ui-public/icons/solid/closed-captioning.js +0 -15
  336. package/dist/ui-public/icons/solid/code.js +0 -16
  337. package/dist/ui-public/icons/solid/compress.js +0 -16
  338. package/dist/ui-public/icons/solid/download.js +0 -15
  339. package/dist/ui-public/icons/solid/expand.js +0 -16
  340. package/dist/ui-public/icons/solid/file-arrow-down.js +0 -15
  341. package/dist/ui-public/icons/solid/file-code.js +0 -16
  342. package/dist/ui-public/icons/solid/grid-2.js +0 -16
  343. package/dist/ui-public/icons/solid/h1.js +0 -16
  344. package/dist/ui-public/icons/solid/h2.js +0 -16
  345. package/dist/ui-public/icons/solid/h3.js +0 -16
  346. package/dist/ui-public/icons/solid/h4.js +0 -16
  347. package/dist/ui-public/icons/solid/h5.js +0 -16
  348. package/dist/ui-public/icons/solid/h6.js +0 -16
  349. package/dist/ui-public/icons/solid/highlighter.js +0 -16
  350. package/dist/ui-public/icons/solid/horizontal-rule.js +0 -16
  351. package/dist/ui-public/icons/solid/image.js +0 -16
  352. package/dist/ui-public/icons/solid/indent.js +0 -16
  353. package/dist/ui-public/icons/solid/italic.js +0 -16
  354. package/dist/ui-public/icons/solid/link.js +0 -16
  355. package/dist/ui-public/icons/solid/list-ol.js +0 -16
  356. package/dist/ui-public/icons/solid/list-ul.js +0 -16
  357. package/dist/ui-public/icons/solid/location-dot.js +0 -16
  358. package/dist/ui-public/icons/solid/music.js +0 -15
  359. package/dist/ui-public/icons/solid/outdent.js +0 -16
  360. package/dist/ui-public/icons/solid/paragraph.js +0 -16
  361. package/dist/ui-public/icons/solid/plus.js +0 -16
  362. package/dist/ui-public/icons/solid/quote-right.js +0 -16
  363. package/dist/ui-public/icons/solid/rectangle-code.js +0 -16
  364. package/dist/ui-public/icons/solid/square-plus.js +0 -16
  365. package/dist/ui-public/icons/solid/strikethrough.js +0 -16
  366. package/dist/ui-public/icons/solid/subtitles.js +0 -15
  367. package/dist/ui-public/icons/solid/table.js +0 -16
  368. package/dist/ui-public/icons/solid/triangle-exclamation.js +0 -16
  369. package/dist/ui-public/icons/solid/underline.js +0 -16
@@ -1,176 +1,160 @@
1
- import { Misc, Navigation } from "../../../icons/index.js";
1
+ import { Misc } from "../../../icons/index.js";
2
2
  import { useRegisterActions } from "../../actions/Actions/registry.js";
3
3
  import { useMediaQuery } from "../../hooks/useMediaQuery.js";
4
4
  import { CollectionRegionProvider } from "../../layout/Pane/PaneRegion.js";
5
- import { useSashActionReveal } from "../../layout/SplitView/SashActionButton.js";
6
5
  import SplitView_default from "../../layout/SplitView/SplitView.js";
7
6
  import { TOGGLE_RIGHT_SIDEBAR_ACTION_ID } from "../../layout/SplitPane/toggle.js";
8
7
  import SplitPane from "../../layout/SplitPane/index.js";
8
+ import BlankSlate_default from "../../feedback/BlankSlate.js";
9
9
  import { useListDetailWidths } from "./Widths.js";
10
+ import { useDetailWidthDrag } from "./useDetailWidthDrag.js";
11
+ import FloatingDetail_default from "./FloatingDetail.js";
10
12
  import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
11
13
  import classNames from "classnames";
12
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
15
  //#region ../ui-public/src/patterns/ListDetail/Split.tsx
14
16
  var MIN_LIST_WIDTH = 360;
15
- var DEFAULT_DETAIL_WIDTH = 500;
16
17
  var MAX_FIRST_LIST_WIDTH = 1100;
17
- var MIN_DETAIL_WIDTH = 360;
18
18
  var DETAIL_SASH_STYLE = {
19
19
  left: "auto",
20
20
  right: -5,
21
21
  width: 10,
22
22
  zIndex: 2
23
23
  };
24
- var OVERLAY_MEDIA_QUERY = "(max-width: 1100px)";
25
- var SASH_STYLE = {
26
- left: -5,
27
- width: 10,
28
- zIndex: 2
29
- };
24
+ var CLOSE_DETAIL_ACTION_ID = "listDetail.close";
25
+ var NARROW_VIEWPORT_MEDIA_QUERY = "(max-width: 1100px)";
30
26
  var noop = () => {};
27
+ var EMPTY_DETAIL_TITLE = { id: "admin.listDetail.panel.empty.title" };
28
+ var EMPTY_DETAIL_DESCRIPTION = { id: "admin.listDetail.panel.empty.description" };
31
29
  var DetailOpenContext = createContext(false);
32
- var OverlayCloseContext = createContext(void 0);
33
30
  function getListDetailMaxWidth(listWidth, detailWidth) {
34
- return (listWidth ?? MAX_FIRST_LIST_WIDTH) + (detailWidth ?? DEFAULT_DETAIL_WIDTH);
31
+ return (listWidth ?? MAX_FIRST_LIST_WIDTH) + (detailWidth ?? 500);
35
32
  }
36
33
  function useIsListDetailOpen() {
37
34
  return useContext(DetailOpenContext);
38
35
  }
39
- function useListDetailOverlayClose() {
40
- return useContext(OverlayCloseContext);
41
- }
42
- /**
43
- * A list at the left and the detail of the open row at the right, as the
44
- * records of a model in the cms. The list keeps its place and its width when
45
- * a row opens or closes, thus the user does not lose the row. When no row is
46
- * open, there is no detail: the space at the right of the list stays empty.
47
- * The user resizes the list and the detail; the space at the right of the
48
- * detail stays empty. On a small viewport, the detail goes over the list.
49
- * The widths come from the ListDetailWidthsProvider of the app.
50
- */
51
- function ListDetailSplit({ detail, children }) {
52
- const panel = detail?.panel;
53
- const onCloseDetail = detail?.onClose ?? noop;
54
- const { listWidth, onListWidthChange, detailWidth: storedDetailWidth, onDetailWidthChange } = useListDetailWidths();
55
- const { matches: isOverlay } = useMediaQuery(OVERLAY_MEDIA_QUERY);
56
- const isOpen = Boolean(panel);
57
- const [container, setContainer] = useState(null);
58
- const containerRef = useRef(null);
59
- const setContainerElement = useCallback((element) => {
60
- containerRef.current = element;
61
- setContainer(element);
36
+ function useElementWidth() {
37
+ const [element, setElement] = useState(null);
38
+ const ref = useRef(null);
39
+ const setRef = useCallback((node) => {
40
+ ref.current = node;
41
+ setElement(node);
62
42
  }, []);
63
- const [containerWidth, setContainerWidth] = useState();
43
+ const [width, setWidth] = useState();
64
44
  useEffect(() => {
65
- if (!container) return void 0;
45
+ if (!element) return void 0;
66
46
  const observer = new ResizeObserver(() => {
67
- setContainerWidth(container.offsetWidth);
47
+ setWidth(element.offsetWidth);
68
48
  });
69
- observer.observe(container);
49
+ observer.observe(element);
70
50
  return () => observer.disconnect();
71
- }, [container]);
72
- const [dragDetailWidth, setDragDetailWidth] = useState();
73
- const detailWidth = dragDetailWidth ?? storedDetailWidth ?? DEFAULT_DETAIL_WIDTH;
74
- const dragStart = useRef({
75
- x: 0,
76
- width: 0
77
- });
78
- const handleDetailDragStart = useCallback((x) => {
79
- dragStart.current = {
80
- x,
81
- width: detailWidth,
82
- last: void 0
83
- };
84
- }, [detailWidth]);
85
- const handleDetailDragMove = useCallback((x) => {
86
- const { x: startX, width } = dragStart.current;
87
- const newWidth = Math.max(MIN_DETAIL_WIDTH, width + x - startX);
88
- dragStart.current.last = newWidth;
89
- setDragDetailWidth(newWidth);
90
- }, []);
91
- const handleDetailDragEnd = useCallback(() => {
92
- const { last } = dragStart.current;
93
- if (last !== void 0) onDetailWidthChange(last);
94
- setDragDetailWidth(void 0);
95
- }, [onDetailWidthChange]);
96
- const maxListWidth = containerWidth === void 0 ? void 0 : Math.max(MIN_LIST_WIDTH, containerWidth - MIN_DETAIL_WIDTH);
97
- const firstListWidth = containerWidth === void 0 ? MAX_FIRST_LIST_WIDTH : Math.max(MIN_LIST_WIDTH, Math.min(MAX_FIRST_LIST_WIDTH, containerWidth - DEFAULT_DETAIL_WIDTH));
98
- const size = Math.min(listWidth ?? firstListWidth, maxListWidth ?? Number.POSITIVE_INFINITY);
99
- const hideButton = useSashActionReveal(isOpen && isOverlay);
51
+ }, [element]);
52
+ return {
53
+ ref,
54
+ setRef,
55
+ width
56
+ };
57
+ }
58
+ function useDetailActions(isOpen, onClose, onReopen) {
100
59
  useRegisterActions([{
101
- id: "listDetail.close",
60
+ id: CLOSE_DETAIL_ACTION_ID,
102
61
  name: { id: "admin.listDetail.panel.close" },
103
62
  shortcut: { key: "escape" },
104
63
  palette: "hidden",
105
64
  applicable: () => isOpen,
106
- run: onCloseDetail
65
+ run: onClose
107
66
  }, {
108
67
  id: TOGGLE_RIGHT_SIDEBAR_ACTION_ID,
109
68
  name: { id: "sidebar.toggleRight" },
110
69
  icon: Misc.SidebarFlipIcon,
111
70
  shortcut: { key: "]" },
112
- applicable: () => isOpen || Boolean(detail?.onReopen),
113
- run: () => isOpen ? onCloseDetail() : detail?.onReopen?.()
71
+ applicable: () => isOpen || Boolean(onReopen),
72
+ run: () => isOpen ? onClose() : onReopen?.()
114
73
  }]);
74
+ }
75
+ /**
76
+ * A list at the left and the detail of the open row at the right, as the
77
+ * records of a model in DatoCMS. The list keeps its place and its width when
78
+ * a row opens or closes, thus the user does not lose the row.
79
+ * With the "beside" placement, the user resizes the list and the detail, and
80
+ * the space at the right of the detail stays empty. When no row is open, the
81
+ * place of the detail shows a blank slate that tells the user to open a row.
82
+ * With the "over" placement, and on a small viewport, the list takes all the
83
+ * width and the open detail goes over it.
84
+ * The widths come from the ListDetailWidthsProvider of the app.
85
+ */
86
+ function ListDetailSplit({ detail, children }) {
87
+ const panel = detail?.panel;
88
+ const onCloseDetail = detail?.onClose ?? noop;
89
+ const isOpen = Boolean(panel);
90
+ const { matches: isNarrowViewport } = useMediaQuery(NARROW_VIEWPORT_MEDIA_QUERY);
91
+ const placement = isNarrowViewport ? "over" : detail?.placement ?? "beside";
92
+ const container = useElementWidth();
93
+ useDetailActions(isOpen, onCloseDetail, detail?.onReopen);
115
94
  const list = /* @__PURE__ */ jsx(DetailOpenContext.Provider, {
116
95
  value: isOpen,
117
96
  children: /* @__PURE__ */ jsx(CollectionRegionProvider, {
118
- value: containerRef,
97
+ value: container.ref,
119
98
  children
120
99
  })
121
100
  });
122
101
  return /* @__PURE__ */ jsx("div", {
123
- ref: setContainerElement,
102
+ ref: container.setRef,
124
103
  className: classNames("ListDetailSplit", {
125
104
  "ListDetailSplit--open": isOpen,
126
- "ListDetailSplit--overlay": isOverlay
105
+ "ListDetailSplit--over": placement === "over"
127
106
  }),
128
- children: isOverlay ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
107
+ children: placement === "over" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
129
108
  className: "ListDetailSplit__list",
130
109
  children: list
131
- }), isOpen && /* @__PURE__ */ jsxs("div", {
110
+ }), isOpen && /* @__PURE__ */ jsx(FloatingDetail_default, {
111
+ panel,
112
+ onClose: onCloseDetail,
113
+ resizable: !isNarrowViewport,
114
+ containerWidth: container.width,
115
+ container: container.ref
116
+ })] }) : /* @__PURE__ */ jsx(BesideSplit, {
117
+ containerWidth: container.width,
118
+ detail,
119
+ list
120
+ })
121
+ });
122
+ }
123
+ function BesideSplit({ containerWidth, detail, list }) {
124
+ const panel = detail?.panel;
125
+ const { listWidth, onListWidthChange } = useListDetailWidths();
126
+ const { width: detailWidth, sashHandlers } = useDetailWidthDrag({ sashSide: "right" });
127
+ const maxListWidth = containerWidth === void 0 ? void 0 : Math.max(MIN_LIST_WIDTH, containerWidth - 360);
128
+ const firstListWidth = containerWidth === void 0 ? MAX_FIRST_LIST_WIDTH : Math.max(MIN_LIST_WIDTH, Math.min(MAX_FIRST_LIST_WIDTH, containerWidth - 500));
129
+ const size = Math.min(listWidth ?? firstListWidth, maxListWidth ?? Number.POSITIVE_INFINITY);
130
+ return /* @__PURE__ */ jsxs(SplitPane, {
131
+ primaryPane: "right",
132
+ size,
133
+ minSize: MIN_LIST_WIDTH,
134
+ maxSize: maxListWidth,
135
+ onDragFinished: onListWidthChange,
136
+ children: [list, panel ? /* @__PURE__ */ jsxs("div", {
132
137
  className: "ListDetailSplit__detail",
133
- ...hideButton.paneHoverProps,
138
+ style: { width: detailWidth },
134
139
  children: [/* @__PURE__ */ jsx(SplitView_default.Sash, {
135
140
  split: "vertical",
136
- allowResize: false,
137
- style: SASH_STYLE,
138
- onMouseDown: noop,
139
- onMouseMove: noop,
140
- onMouseUp: noop,
141
- action: {
142
- icon: Navigation.ChevronsRightIcon,
143
- label: { id: "admin.listDetail.panel.close" },
144
- action: "sidebar.toggleRight",
145
- onClick: onCloseDetail,
146
- revealFrom: "right",
147
- hidden: !hideButton.isVisible
148
- }
149
- }), /* @__PURE__ */ jsx(OverlayCloseContext.Provider, {
150
- value: onCloseDetail,
151
- children: panel
152
- })]
153
- })] }) : /* @__PURE__ */ jsxs(SplitPane, {
154
- primaryPane: "right",
155
- size,
156
- minSize: MIN_LIST_WIDTH,
157
- maxSize: maxListWidth,
158
- onDragFinished: onListWidthChange,
159
- children: [list, isOpen ? /* @__PURE__ */ jsxs("div", {
160
- className: "ListDetailSplit__detail",
161
- style: { width: detailWidth },
162
- children: [/* @__PURE__ */ jsx(SplitView_default.Sash, {
163
- split: "vertical",
164
- allowResize: true,
165
- style: DETAIL_SASH_STYLE,
166
- onMouseDown: handleDetailDragStart,
167
- onMouseMove: handleDetailDragMove,
168
- onMouseUp: handleDetailDragEnd
169
- }), panel]
170
- }) : null]
171
- })
141
+ allowResize: true,
142
+ style: DETAIL_SASH_STYLE,
143
+ ...sashHandlers
144
+ }), panel]
145
+ }) : detail ? /* @__PURE__ */ jsx("div", {
146
+ className: "ListDetailSplit__detail ListDetailSplit__detail--empty",
147
+ style: { width: detailWidth },
148
+ children: /* @__PURE__ */ jsx(BlankSlate_default, {
149
+ placement: "area",
150
+ small: true,
151
+ icon: /* @__PURE__ */ jsx(Misc.SquareDashedIcon, {}),
152
+ title: EMPTY_DETAIL_TITLE,
153
+ description: EMPTY_DETAIL_DESCRIPTION
154
+ })
155
+ }) : null]
172
156
  });
173
157
  }
174
158
  var Split_default = React.memo(ListDetailSplit);
175
159
  //#endregion
176
- export { Split_default as default, getListDetailMaxWidth, useIsListDetailOpen, useListDetailOverlayClose };
160
+ export { CLOSE_DETAIL_ACTION_ID, Split_default as default, getListDetailMaxWidth, useIsListDetailOpen };
@@ -1,12 +1,13 @@
1
1
  import { getPaginatedListState, type ListDetailPageState, useOpenRowRoute, useReopenLastRow } from './Page.js';
2
- import { getListDetailMaxWidth, useIsListDetailOpen } from './Split.js';
2
+ import { getListDetailMaxWidth, type ListDetailPlacement, useIsListDetailOpen } from './Split.js';
3
3
  import { ListDetailWidthsProvider } from './Widths.js';
4
4
  export declare const ListDetail: {
5
5
  Page: import("react").MemoExoticComponent<({ detail, title, help, subtitle, menu, display, busy, filter, controls, button, footer, state, overview, children, }: import("./Page.js").ListDetailPageProps) => import("react").JSX.Element>;
6
6
  Split: import("react").MemoExoticComponent<({ detail, children }: import("./Split.js").ListDetailSplitProps) => import("react").JSX.Element>;
7
7
  Panel: import("react").MemoExoticComponent<({ title, state, fetching, actions, toolbarAction, entity, children, }: import("./Panel.js").ListDetailPanelProps) => import("react").JSX.Element>;
8
- Overview: import("react").MemoExoticComponent<({ children }: {
8
+ Overview: import("react").MemoExoticComponent<({ children, placement }: {
9
9
  children: React.ReactNode;
10
+ placement?: ListDetailPlacement;
10
11
  }) => import("react").JSX.Element>;
11
12
  };
12
- export { getListDetailMaxWidth, getPaginatedListState, type ListDetailPageState, ListDetailWidthsProvider, useIsListDetailOpen, useOpenRowRoute, useReopenLastRow, };
13
+ export { getListDetailMaxWidth, getPaginatedListState, type ListDetailPageState, type ListDetailPlacement, ListDetailWidthsProvider, useIsListDetailOpen, useOpenRowRoute, useReopenLastRow, };
@@ -0,0 +1,43 @@
1
+ import { useListDetailWidths } from "./Widths.js";
2
+ import { useCallback, useRef, useState } from "react";
3
+ /**
4
+ * The width of the detail and the handlers of its sash. The detail beside
5
+ * the list and the detail over the list share the stored width of
6
+ * ListDetailWidthsProvider. The new width goes to the provider only at the
7
+ * end of the drag.
8
+ */
9
+ function useDetailWidthDrag({ sashSide, maxWidth }) {
10
+ const { detailWidth: storedWidth, onDetailWidthChange } = useListDetailWidths();
11
+ const [dragWidth, setDragWidth] = useState();
12
+ const width = Math.max(360, Math.min(maxWidth ?? Number.POSITIVE_INFINITY, dragWidth ?? storedWidth ?? 500));
13
+ const drag = useRef({
14
+ x: 0,
15
+ width: 0
16
+ });
17
+ return {
18
+ width,
19
+ sashHandlers: {
20
+ onMouseDown: useCallback((x) => {
21
+ drag.current = {
22
+ x,
23
+ width,
24
+ last: void 0
25
+ };
26
+ }, [width]),
27
+ onMouseMove: useCallback((x) => {
28
+ const { x: startX, width: startWidth } = drag.current;
29
+ const distance = sashSide === "right" ? x - startX : startX - x;
30
+ const newWidth = Math.max(360, Math.min(maxWidth ?? Number.POSITIVE_INFINITY, startWidth + distance));
31
+ drag.current.last = newWidth;
32
+ setDragWidth(newWidth);
33
+ }, [sashSide, maxWidth]),
34
+ onMouseUp: useCallback(() => {
35
+ const { last } = drag.current;
36
+ if (last !== void 0) onDetailWidthChange(last);
37
+ setDragWidth(void 0);
38
+ }, [onDetailWidthChange])
39
+ }
40
+ };
41
+ }
42
+ //#endregion
43
+ export { useDetailWidthDrag };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datocms-react-ui",
3
- "version": "3.1.0-next.5",
3
+ "version": "3.1.0-next.6",
4
4
  "description": "React components to use inside DatoCMS plugins",
5
5
  "keywords": [
6
6
  "datocms",
@@ -67,7 +67,7 @@
67
67
  "xss": "^1.0.14"
68
68
  },
69
69
  "peerDependencies": {
70
- "datocms-plugin-sdk": "^2.2.7",
70
+ "datocms-plugin-sdk": "^2.2.7 || ^3.0.0-next.0",
71
71
  "react": "^18.0.0 || ^19.0.0",
72
72
  "react-dom": "^18.0.0 || ^19.0.0"
73
73
  },
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/brands/gitlab.svg?react
4
- var SvgGitlab = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 512 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z" })
13
- });
14
- forwardRef(SvgGitlab);
15
- //#endregion
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/brands/markdown.svg?react
4
- var SvgMarkdown = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 640 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M593.8 59.1H46.2C20.7 59.1 0 79.8 0 105.2v301.5c0 25.5 20.7 46.2 46.2 46.2h547.7c25.5 0 46.2-20.7 46.1-46.1V105.2c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6H277v-120l-61.5 76.9-61.5-76.9v120H92.3V151.4h61.5l61.5 76.9 61.5-76.9h61.5v209.2zm135.3 3.1L381.5 256H443V151.4h61.5V256H566z" })
13
- });
14
- forwardRef(SvgMarkdown);
15
- //#endregion
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/custom/language.svg?react
4
- var SvgLanguage = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 256 256",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M170 130.481 189.766 170h-39.532l8.347-16.669L170 130.481ZM254 23v210c0 5.57-2.212 10.911-6.151 14.849A20.995 20.995 0 0 1 233 254H23a20.997 20.997 0 0 1-21-21V23A21 21 0 0 1 23 2h210a20.998 20.998 0 0 1 21 21Zm-22.102 184.301-52.5-105a10.503 10.503 0 0 0-14.924-4.244 10.503 10.503 0 0 0-3.872 4.244l-17.298 34.624a81.765 81.765 0 0 1-30.988-13.125A104.493 104.493 0 0 0 137.975 65H159.5a10.502 10.502 0 0 0 7.425-17.925A10.502 10.502 0 0 0 159.5 44H107V33.5a10.5 10.5 0 1 0-21 0V44H33.5a10.5 10.5 0 1 0 0 21h83.318a83.654 83.654 0 0 1-20.082 44.691 86.55 86.55 0 0 1-11.812-17.864 10.5 10.5 0 0 0-18.795 9.345 107.309 107.309 0 0 0 14.962 22.51A83.505 83.505 0 0 1 33.5 138.5a10.5 10.5 0 1 0 0 21 104.423 104.423 0 0 0 63.144-21.171 102.817 102.817 0 0 0 36.987 17.929l-25.529 51.043a10.51 10.51 0 0 0 4.699 14.097 10.51 10.51 0 0 0 14.097-4.699L139.734 191h60.532l12.836 25.699a10.527 10.527 0 0 0 6.075 5.269 10.513 10.513 0 0 0 13.291-6.645 10.513 10.513 0 0 0-.57-8.022Z" })
13
- });
14
- var ForwardRef = forwardRef(SvgLanguage);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,21 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/custom/masonry.svg?react
4
- var SvgMasonry = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 80 70",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("g", {
13
- "data-name": "Layer 2",
14
- children: /* @__PURE__ */ jsx("path", {
15
- d: "M47.1 32.5H6a6 6 0 01-6-6V6a6 6 0 016-6h41.1a6 6 0 016 6v20.5a6 6 0 01-6 6zm32.9-6V6a6 6 0 00-6-6h-9.9a6 6 0 00-6 6v20.5a6 6 0 006 6H74a6 6 0 006-6zM32.9 70H74a6 6 0 006-6V43.5a6 6 0 00-6-6H32.9a6 6 0 00-6 6V64a6 6 0 006 6zM6 70h9.9a6 6 0 006-6V43.5a6 6 0 00-6-6H6a6 6 0 00-6 6V64a6 6 0 006 6z",
16
- "data-name": "Layer 1"
17
- })
18
- })
19
- });
20
- forwardRef(SvgMasonry);
21
- //#endregion
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/light/eye-slash.svg?react
4
- var SvgEyeSlash = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 640 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z" })
13
- });
14
- var ForwardRef = forwardRef(SvgEyeSlash);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/light/eye.svg?react
4
- var SvgEye = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 576 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z" })
13
- });
14
- var ForwardRef = forwardRef(SvgEye);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/align-left.svg?react
4
- var SvgAlignLeft = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 448 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M24 40C10.7 40 0 50.7 0 64S10.7 88 24 88H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H24zm0 128c-13.3 0-24 10.7-24 24s10.7 24 24 24H424c13.3 0 24-10.7 24-24s-10.7-24-24-24H24zM0 320c0 13.3 10.7 24 24 24H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H24c-13.3 0-24 10.7-24 24zM24 424c-13.3 0-24 10.7-24 24s10.7 24 24 24H424c13.3 0 24-10.7 24-24s-10.7-24-24-24H24z" })
13
- });
14
- forwardRef(SvgAlignLeft);
15
- //#endregion
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-down-a-z.svg?react
4
- var SvgArrowDownAZ = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 576 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M47 377l96 96c9.4 9.4 24.6 9.4 33.9 0l96-96c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55V56c0-13.3-10.7-24-24-24s-24 10.7-24 24V398.1L81 343c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9zm305-89c-13.3 0-24 10.7-24 24s10.7 24 24 24h74.6L334.1 440.1c-6.3 7.1-7.8 17.2-4 25.8S342.6 480 352 480H480c13.3 0 24-10.7 24-24s-10.7-24-24-24H405.4l92.5-104.1c6.3-7.1 7.8-17.2 4-25.8S489.4 288 480 288H352zM416 32c-9.1 0-17.4 5.1-21.5 13.3l-80 160c-5.9 11.9-1.1 26.3 10.7 32.2s26.3 1.1 32.2-10.7L370.8 200H456c1.7 0 3.3-.2 4.9-.5l13.6 27.2c5.9 11.9 20.3 16.7 32.2 10.7s16.7-20.3 10.7-32.2l-80-160C433.4 37.1 425.1 32 416 32zM394.8 152L416 109.7 437.2 152H394.8z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowDownAZ);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-down-from-line.svg?react
4
- var SvgArrowDownFromLine = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 384 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M174.5 472.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 395.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 303.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136zM360 80c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 32C10.7 32 0 42.7 0 56S10.7 80 24 80l336 0z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowDownFromLine);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-down-to-line.svg?react
4
- var SvgArrowDownToLine = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 384 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M360 480c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM174.5 344.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 267.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 175.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136z" })
13
- });
14
- forwardRef(SvgArrowDownToLine);
15
- //#endregion
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-down.svg?react
4
- var SvgArrowDown = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 384 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M174.6 472.6c4.5 4.7 10.8 7.4 17.4 7.4s12.8-2.7 17.4-7.4l168-176c9.2-9.6 8.8-24.8-.8-33.9s-24.8-8.8-33.9 .8L216 396.1 216 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 340.1L41.4 263.4c-9.2-9.6-24.3-9.9-33.9-.8s-9.9 24.3-.8 33.9l168 176z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowDown);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-left.svg?react
4
- var SvgArrowLeft = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 448 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowLeft);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-right-arrow-left.svg?react
4
- var SvgArrowRightArrowLeft = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 448 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M103 497c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55L424 408c13.3 0 24-10.7 24-24s-10.7-24-24-24L81.9 360l55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L7 367c-9.4 9.4-9.4 24.6 0 33.9l96 96zM441 145c9.4-9.4 9.4-24.6 0-33.9L345 15c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l55 55L24 104c-13.3 0-24 10.7-24 24s10.7 24 24 24l342.1 0-55 55c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l96-96z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowRightArrowLeft);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-right-from-bracket.svg?react
4
- var SvgArrowRightFromBracket = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 512 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M505 273c9.4-9.4 9.4-24.6 0-33.9L377 111c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l87 87L184 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l246.1 0-87 87c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 273zM168 80c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 32C39.4 32 0 71.4 0 120L0 392c0 48.6 39.4 88 88 88l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l80 0z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowRightFromBracket);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,16 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-right.svg?react
4
- var SvgArrowRight = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 448 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z" })
13
- });
14
- var ForwardRef = forwardRef(SvgArrowRight);
15
- //#endregion
16
- export { ForwardRef as default };
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region ../ui-public/icons/regular/arrow-rotate-left.svg?react
4
- var SvgArrowRotateLeft = (props, ref) => /* @__PURE__ */ jsx("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 512 512",
7
- width: "1em",
8
- height: "1em",
9
- "aria-hidden": "true",
10
- ref,
11
- ...props,
12
- children: /* @__PURE__ */ jsx("path", { d: "M40 224c-13.3 0-24-10.7-24-24V56c0-13.3 10.7-24 24-24s24 10.7 24 24v80.1l20-23.5C125 63.4 186.9 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-50.4 0-97-16.7-134.4-44.8c-10.6-8-12.7-23-4.8-33.6s23-12.7 33.6-4.8C179.8 418.9 216.3 432 256 432c97.2 0 176-78.8 176-176s-78.8-176-176-176c-54.3 0-102.9 24.6-135.2 63.4l-.1 .2 0 0L93.1 176H184c13.3 0 24 10.7 24 24s-10.7 24-24 24H40z" })
13
- });
14
- forwardRef(SvgArrowRotateLeft);
15
- //#endregion