plutonium 0.16.5 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (715) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/plutonium.css +9 -1
  3. data/app/assets/plutonium.js +23273 -9599
  4. data/app/assets/plutonium.js.map +4 -4
  5. data/app/assets/plutonium.min.js +159 -49
  6. data/app/assets/plutonium.min.js.map +4 -4
  7. data/app/views/plutonium/_resource_header.html.erb +33 -24
  8. data/app/views/rodauth/otp_unlock.html.erb +22 -0
  9. data/app/views/rodauth/otp_unlock_not_available.html.erb +14 -0
  10. data/app/views/rodauth/webauthn_remove.html.erb +1 -0
  11. data/docs/guide/getting-started/resources.md +2 -2
  12. data/docs/guide/tutorial.md +4 -4
  13. data/gemfiles/rails_7.gemfile.lock +406 -0
  14. data/lib/generators/pu/core/assets/assets_generator.rb +1 -1
  15. data/lib/generators/pu/res/conn/conn_generator.rb +24 -10
  16. data/lib/generators/pu/rodauth/concerns/configuration.rb +11 -0
  17. data/lib/generators/pu/rodauth/concerns/feature_selector.rb +4 -0
  18. data/lib/generators/pu/rodauth/install_generator.rb +3 -1
  19. data/lib/generators/pu/rodauth/migration/active_record/otp_unlock.erb +7 -0
  20. data/lib/generators/pu/rodauth/templates/INSTRUCTIONS +2 -46
  21. data/lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt +3 -3
  22. data/lib/generators/pu/rodauth/templates/app/mailers/rodauth_mailer.rb.tt +50 -1
  23. data/lib/generators/pu/rodauth/templates/app/rodauth/account_rodauth_plugin.rb.tt +37 -3
  24. data/lib/generators/pu/rodauth/templates/app/rodauth/rodauth_plugin.rb.tt +33 -8
  25. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_disabled.text.erb +2 -0
  26. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_locked_out.text.erb +9 -0
  27. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_setup.text.erb +2 -0
  28. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_unlock_failed.text.erb +8 -0
  29. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_unlocked.text.erb +2 -0
  30. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/webauthn_authenticator_added.text.erb +3 -0
  31. data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/webauthn_authenticator_removed.text.erb +3 -0
  32. data/lib/generators/pu/rodauth/views_generator.rb +1 -12
  33. data/lib/plutonium/core/controllers/authorizable.rb +3 -1
  34. data/lib/plutonium/helpers/application_helper.rb +0 -8
  35. data/lib/plutonium/helpers.rb +0 -3
  36. data/lib/plutonium/railtie.rb +0 -14
  37. data/lib/plutonium/reloader.rb +2 -12
  38. data/lib/plutonium/rodauth/controller_methods.rb +1 -3
  39. data/lib/plutonium/ui/component/behaviour.rb +1 -1
  40. data/lib/plutonium/ui/component/kit.rb +59 -15
  41. data/lib/plutonium/ui/display/base.rb +6 -2
  42. data/lib/plutonium/ui/display/{component → components}/association.rb +1 -1
  43. data/lib/plutonium/ui/display/components/attachment.rb +93 -0
  44. data/lib/plutonium/ui/display/{component → components}/markdown.rb +2 -1
  45. data/lib/plutonium/ui/display/resource.rb +21 -6
  46. data/lib/plutonium/ui/display/theme.rb +2 -1
  47. data/lib/plutonium/ui/form/base.rb +7 -0
  48. data/lib/plutonium/ui/form/components/belongs_to.rb +45 -1
  49. data/lib/plutonium/ui/form/components/has_many.rb +45 -1
  50. data/lib/plutonium/ui/form/components/uppy.rb +173 -0
  51. data/lib/plutonium/ui/form/query.rb +5 -5
  52. data/lib/plutonium/ui/form/resource.rb +6 -6
  53. data/lib/plutonium/ui/form/theme.rb +6 -2
  54. data/lib/plutonium/ui/frame_navigator_panel.rb +25 -4
  55. data/lib/plutonium/ui/layout/base.rb +1 -1
  56. data/lib/plutonium/ui/layout/header.rb +1 -1
  57. data/lib/plutonium/ui/layout/sidebar.rb +0 -1
  58. data/lib/plutonium/ui/nav_grid_menu.rb +93 -0
  59. data/lib/plutonium/ui/nav_user.rb +121 -0
  60. data/lib/plutonium/ui/panel.rb +2 -2
  61. data/lib/plutonium/ui/tab_list.rb +73 -0
  62. data/lib/plutonium/ui/table/base.rb +7 -1
  63. data/lib/plutonium/ui/table/components/attachment.rb +71 -0
  64. data/lib/plutonium/ui/table/components/pagy_info.rb +12 -4
  65. data/lib/plutonium/ui/table/components/pagy_pagination.rb +5 -5
  66. data/lib/plutonium/ui/table/display_theme.rb +2 -1
  67. data/lib/plutonium/ui/table/resource.rb +11 -12
  68. data/lib/plutonium/version.rb +1 -1
  69. data/package-lock.json +356 -18
  70. data/package.json +6 -2
  71. data/src/css/plutonium.css +3 -0
  72. data/src/js/controllers/attachment_input_controller.js +241 -0
  73. data/src/js/controllers/attachment_preview_container_controller.js +15 -0
  74. data/src/js/controllers/attachment_preview_controller.js +63 -0
  75. data/src/js/controllers/color_mode_controller.js +0 -1
  76. data/src/js/controllers/easymde_controller.js +0 -1
  77. data/src/js/controllers/flatpickr_controller.js +0 -1
  78. data/src/js/controllers/form_controller.js +0 -1
  79. data/src/js/controllers/frame_navigator_controller.js +16 -12
  80. data/src/js/controllers/intl_tel_input_controller.js +0 -1
  81. data/src/js/controllers/register_controllers.js +12 -30
  82. data/src/js/controllers/resource_collapse_controller.js +0 -1
  83. data/src/js/controllers/resource_dismiss_controller.js +0 -1
  84. data/src/js/controllers/resource_drop_down_controller.js +161 -9
  85. data/src/js/controllers/{header_controller.js → resource_header_controller.js} +1 -0
  86. data/src/js/controllers/resource_tab_list_controller.js +64 -0
  87. data/src/js/controllers/select_navigator.js +16 -0
  88. data/src/js/controllers/slim_select_controller.js +0 -1
  89. data/src/js/support/dom_element.js +78 -0
  90. data/src/js/support/mime_icon.js +127 -0
  91. data/tailwind.options.js +0 -5
  92. metadata +29 -642
  93. data/README copy.md +0 -83
  94. data/app/assets/application.js.bk +0 -31419
  95. data/app/assets/icons/flags/ghana.svg +0 -49
  96. data/app/assets/icons/outline/address-book.svg +0 -3
  97. data/app/assets/icons/outline/adjustments-horizontal.svg +0 -3
  98. data/app/assets/icons/outline/adjustments-vertical.svg +0 -3
  99. data/app/assets/icons/outline/align-center.svg +0 -3
  100. data/app/assets/icons/outline/angle-down.svg +0 -3
  101. data/app/assets/icons/outline/angle-left.svg +0 -3
  102. data/app/assets/icons/outline/angle-right.svg +0 -3
  103. data/app/assets/icons/outline/angle-up.svg +0 -3
  104. data/app/assets/icons/outline/annotation.svg +0 -3
  105. data/app/assets/icons/outline/archive-arrow-down.svg +0 -3
  106. data/app/assets/icons/outline/archive.svg +0 -3
  107. data/app/assets/icons/outline/arrow-down-to-bracket.svg +0 -3
  108. data/app/assets/icons/outline/arrow-down.svg +0 -3
  109. data/app/assets/icons/outline/arrow-left-to-bracket.svg +0 -3
  110. data/app/assets/icons/outline/arrow-left.svg +0 -3
  111. data/app/assets/icons/outline/arrow-right-alt.svg +0 -3
  112. data/app/assets/icons/outline/arrow-right-to-bracket.svg +0 -3
  113. data/app/assets/icons/outline/arrow-right.svg +0 -3
  114. data/app/assets/icons/outline/arrow-sort-letters.svg +0 -3
  115. data/app/assets/icons/outline/arrow-up-down.svg +0 -3
  116. data/app/assets/icons/outline/arrow-up-from-bracket.svg +0 -3
  117. data/app/assets/icons/outline/arrow-up-right-down-left.svg +0 -3
  118. data/app/assets/icons/outline/arrow-up-right-from-square.svg +0 -3
  119. data/app/assets/icons/outline/arrow-up.svg +0 -3
  120. data/app/assets/icons/outline/arrows-repeat-count.svg +0 -3
  121. data/app/assets/icons/outline/arrows-repeat.svg +0 -3
  122. data/app/assets/icons/outline/atom.svg +0 -3
  123. data/app/assets/icons/outline/backward-step.svg +0 -3
  124. data/app/assets/icons/outline/badge-check.svg +0 -3
  125. data/app/assets/icons/outline/bars-from-left.svg +0 -3
  126. data/app/assets/icons/outline/bars.svg +0 -3
  127. data/app/assets/icons/outline/bell-active-alt.svg +0 -3
  128. data/app/assets/icons/outline/bell-active.svg +0 -3
  129. data/app/assets/icons/outline/bell-ring.svg +0 -3
  130. data/app/assets/icons/outline/bell.svg +0 -3
  131. data/app/assets/icons/outline/blender-phone.svg +0 -3
  132. data/app/assets/icons/outline/book-open.svg +0 -3
  133. data/app/assets/icons/outline/book.svg +0 -3
  134. data/app/assets/icons/outline/bookmark.svg +0 -3
  135. data/app/assets/icons/outline/brain.svg +0 -3
  136. data/app/assets/icons/outline/briefcase.svg +0 -3
  137. data/app/assets/icons/outline/bug.svg +0 -3
  138. data/app/assets/icons/outline/building.svg +0 -3
  139. data/app/assets/icons/outline/bullhorn.svg +0 -3
  140. data/app/assets/icons/outline/calendar-edit.svg +0 -3
  141. data/app/assets/icons/outline/calendar-month.svg +0 -3
  142. data/app/assets/icons/outline/calendar-plus.svg +0 -3
  143. data/app/assets/icons/outline/calendar-week.svg +0 -3
  144. data/app/assets/icons/outline/camera-photo.svg +0 -4
  145. data/app/assets/icons/outline/caption.svg +0 -3
  146. data/app/assets/icons/outline/caret-down.svg +0 -3
  147. data/app/assets/icons/outline/caret-left.svg +0 -3
  148. data/app/assets/icons/outline/caret-right.svg +0 -3
  149. data/app/assets/icons/outline/caret-sort.svg +0 -3
  150. data/app/assets/icons/outline/caret-up.svg +0 -3
  151. data/app/assets/icons/outline/cart-plus-alt.svg +0 -3
  152. data/app/assets/icons/outline/cart-plus.svg +0 -3
  153. data/app/assets/icons/outline/cart.svg +0 -3
  154. data/app/assets/icons/outline/cash.svg +0 -3
  155. data/app/assets/icons/outline/chart-line-down.svg +0 -3
  156. data/app/assets/icons/outline/chart-line-up.svg +0 -3
  157. data/app/assets/icons/outline/chart-mixed-dollar.svg +0 -3
  158. data/app/assets/icons/outline/chart-mixed.svg +0 -3
  159. data/app/assets/icons/outline/chart-pie.svg +0 -4
  160. data/app/assets/icons/outline/chart.svg +0 -3
  161. data/app/assets/icons/outline/check-circle.svg +0 -3
  162. data/app/assets/icons/outline/check-plus-circle.svg +0 -3
  163. data/app/assets/icons/outline/check.svg +0 -3
  164. data/app/assets/icons/outline/chevron-double-down.svg +0 -3
  165. data/app/assets/icons/outline/chevron-double-left.svg +0 -3
  166. data/app/assets/icons/outline/chevron-double-right.svg +0 -3
  167. data/app/assets/icons/outline/chevron-double-up.svg +0 -3
  168. data/app/assets/icons/outline/chevron-down.svg +0 -3
  169. data/app/assets/icons/outline/chevron-left.svg +0 -3
  170. data/app/assets/icons/outline/chevron-right.svg +0 -3
  171. data/app/assets/icons/outline/chevron-sort.svg +0 -3
  172. data/app/assets/icons/outline/chevron-up.svg +0 -3
  173. data/app/assets/icons/outline/circle-pause.svg +0 -3
  174. data/app/assets/icons/outline/circle-plus.svg +0 -3
  175. data/app/assets/icons/outline/clapperboard-play.svg +0 -3
  176. data/app/assets/icons/outline/clipboard-check.svg +0 -3
  177. data/app/assets/icons/outline/clipboard-list.svg +0 -3
  178. data/app/assets/icons/outline/clipboard.svg +0 -3
  179. data/app/assets/icons/outline/clock.svg +0 -3
  180. data/app/assets/icons/outline/close-circle.svg +0 -3
  181. data/app/assets/icons/outline/close.svg +0 -3
  182. data/app/assets/icons/outline/cloud-arrow-up.svg +0 -3
  183. data/app/assets/icons/outline/code-branch.svg +0 -3
  184. data/app/assets/icons/outline/code-fork.svg +0 -3
  185. data/app/assets/icons/outline/code-merge.svg +0 -3
  186. data/app/assets/icons/outline/code-pull-request.svg +0 -3
  187. data/app/assets/icons/outline/code.svg +0 -3
  188. data/app/assets/icons/outline/cog.svg +0 -4
  189. data/app/assets/icons/outline/column.svg +0 -3
  190. data/app/assets/icons/outline/command.svg +0 -3
  191. data/app/assets/icons/outline/compress.svg +0 -3
  192. data/app/assets/icons/outline/computer-speaker.svg +0 -3
  193. data/app/assets/icons/outline/credit-card.svg +0 -3
  194. data/app/assets/icons/outline/database.svg +0 -3
  195. data/app/assets/icons/outline/desktop-pc.svg +0 -3
  196. data/app/assets/icons/outline/dna.svg +0 -3
  197. data/app/assets/icons/outline/dollar.svg +0 -3
  198. data/app/assets/icons/outline/dots-horizontal.svg +0 -3
  199. data/app/assets/icons/outline/dots-vertical.svg +0 -3
  200. data/app/assets/icons/outline/download.svg +0 -3
  201. data/app/assets/icons/outline/draw-square.svg +0 -3
  202. data/app/assets/icons/outline/edit.svg +0 -3
  203. data/app/assets/icons/outline/envelope-open.svg +0 -3
  204. data/app/assets/icons/outline/envelope.svg +0 -3
  205. data/app/assets/icons/outline/euro.svg +0 -3
  206. data/app/assets/icons/outline/exclamation-circle.svg +0 -3
  207. data/app/assets/icons/outline/expand.svg +0 -3
  208. data/app/assets/icons/outline/eye-slash.svg +0 -3
  209. data/app/assets/icons/outline/eye.svg +0 -4
  210. data/app/assets/icons/outline/face-explode.svg +0 -4
  211. data/app/assets/icons/outline/face-grin-stars.svg +0 -6
  212. data/app/assets/icons/outline/face-grin.svg +0 -3
  213. data/app/assets/icons/outline/face-laugh.svg +0 -3
  214. data/app/assets/icons/outline/file-chart-bar.svg +0 -3
  215. data/app/assets/icons/outline/file-check.svg +0 -3
  216. data/app/assets/icons/outline/file-circle-plus.svg +0 -3
  217. data/app/assets/icons/outline/file-clone.svg +0 -3
  218. data/app/assets/icons/outline/file-code.svg +0 -3
  219. data/app/assets/icons/outline/file-copy-alt.svg +0 -3
  220. data/app/assets/icons/outline/file-copy.svg +0 -3
  221. data/app/assets/icons/outline/file-csv.svg +0 -3
  222. data/app/assets/icons/outline/file-export.svg +0 -3
  223. data/app/assets/icons/outline/file-image.svg +0 -4
  224. data/app/assets/icons/outline/file-import.svg +0 -3
  225. data/app/assets/icons/outline/file-invoice.svg +0 -3
  226. data/app/assets/icons/outline/file-lines.svg +0 -3
  227. data/app/assets/icons/outline/file-music.svg +0 -3
  228. data/app/assets/icons/outline/file-paste.svg +0 -3
  229. data/app/assets/icons/outline/file-pdf.svg +0 -3
  230. data/app/assets/icons/outline/file-pen.svg +0 -3
  231. data/app/assets/icons/outline/file-ppt.svg +0 -3
  232. data/app/assets/icons/outline/file-search.svg +0 -3
  233. data/app/assets/icons/outline/file-shield.svg +0 -3
  234. data/app/assets/icons/outline/file-video.svg +0 -3
  235. data/app/assets/icons/outline/file-word.svg +0 -3
  236. data/app/assets/icons/outline/file-zip.svg +0 -3
  237. data/app/assets/icons/outline/file.svg +0 -3
  238. data/app/assets/icons/outline/filter.svg +0 -3
  239. data/app/assets/icons/outline/fingerprint.svg +0 -3
  240. data/app/assets/icons/outline/fire.svg +0 -3
  241. data/app/assets/icons/outline/flag.svg +0 -3
  242. data/app/assets/icons/outline/folder-arrow-right.svg +0 -3
  243. data/app/assets/icons/outline/folder-duplicate.svg +0 -3
  244. data/app/assets/icons/outline/folder-open.svg +0 -3
  245. data/app/assets/icons/outline/folder-plus.svg +0 -3
  246. data/app/assets/icons/outline/folder.svg +0 -3
  247. data/app/assets/icons/outline/forward-step.svg +0 -3
  248. data/app/assets/icons/outline/forward.svg +0 -3
  249. data/app/assets/icons/outline/gift-box.svg +0 -3
  250. data/app/assets/icons/outline/globe.svg +0 -3
  251. data/app/assets/icons/outline/grid-plus.svg +0 -3
  252. data/app/assets/icons/outline/grid.svg +0 -3
  253. data/app/assets/icons/outline/headphones.svg +0 -3
  254. data/app/assets/icons/outline/heart.svg +0 -3
  255. data/app/assets/icons/outline/home.svg +0 -3
  256. data/app/assets/icons/outline/hourglass.svg +0 -3
  257. data/app/assets/icons/outline/image.svg +0 -3
  258. data/app/assets/icons/outline/inbox-full.svg +0 -3
  259. data/app/assets/icons/outline/inbox.svg +0 -3
  260. data/app/assets/icons/outline/indent.svg +0 -3
  261. data/app/assets/icons/outline/info-circle.svg +0 -3
  262. data/app/assets/icons/outline/keyboard.svg +0 -5
  263. data/app/assets/icons/outline/label.svg +0 -3
  264. data/app/assets/icons/outline/landmark.svg +0 -3
  265. data/app/assets/icons/outline/layers.svg +0 -3
  266. data/app/assets/icons/outline/letter-bold.svg +0 -3
  267. data/app/assets/icons/outline/letter-italic.svg +0 -3
  268. data/app/assets/icons/outline/letter-underline.svg +0 -3
  269. data/app/assets/icons/outline/life-saver.svg +0 -3
  270. data/app/assets/icons/outline/lightbulb.svg +0 -3
  271. data/app/assets/icons/outline/link.svg +0 -3
  272. data/app/assets/icons/outline/list-music.svg +0 -3
  273. data/app/assets/icons/outline/list.svg +0 -3
  274. data/app/assets/icons/outline/lock-open.svg +0 -3
  275. data/app/assets/icons/outline/lock-time.svg +0 -3
  276. data/app/assets/icons/outline/lock.svg +0 -3
  277. data/app/assets/icons/outline/mail-box.svg +0 -3
  278. data/app/assets/icons/outline/map-pin-alt.svg +0 -4
  279. data/app/assets/icons/outline/map-pin.svg +0 -3
  280. data/app/assets/icons/outline/message-caption.svg +0 -3
  281. data/app/assets/icons/outline/message-dots.svg +0 -3
  282. data/app/assets/icons/outline/messages.svg +0 -3
  283. data/app/assets/icons/outline/microphone.svg +0 -3
  284. data/app/assets/icons/outline/minimize.svg +0 -3
  285. data/app/assets/icons/outline/minus.svg +0 -3
  286. data/app/assets/icons/outline/mobile-phone.svg +0 -3
  287. data/app/assets/icons/outline/moon.svg +0 -3
  288. data/app/assets/icons/outline/newspaper.svg +0 -3
  289. data/app/assets/icons/outline/ordered-list.svg +0 -3
  290. data/app/assets/icons/outline/outdent.svg +0 -3
  291. data/app/assets/icons/outline/palette.svg +0 -3
  292. data/app/assets/icons/outline/paper-clip.svg +0 -3
  293. data/app/assets/icons/outline/paper-plane.svg +0 -3
  294. data/app/assets/icons/outline/paragraph.svg +0 -3
  295. data/app/assets/icons/outline/pause.svg +0 -3
  296. data/app/assets/icons/outline/pen-nib.svg +0 -3
  297. data/app/assets/icons/outline/pen.svg +0 -3
  298. data/app/assets/icons/outline/phone.svg +0 -3
  299. data/app/assets/icons/outline/play.svg +0 -3
  300. data/app/assets/icons/outline/plus.svg +0 -3
  301. data/app/assets/icons/outline/printer.svg +0 -3
  302. data/app/assets/icons/outline/profile-card.svg +0 -3
  303. data/app/assets/icons/outline/question-circle.svg +0 -3
  304. data/app/assets/icons/outline/quote.svg +0 -3
  305. data/app/assets/icons/outline/receipt.svg +0 -3
  306. data/app/assets/icons/outline/rectangle-list.svg +0 -3
  307. data/app/assets/icons/outline/redo.svg +0 -3
  308. data/app/assets/icons/outline/refresh.svg +0 -3
  309. data/app/assets/icons/outline/reply-all.svg +0 -3
  310. data/app/assets/icons/outline/reply.svg +0 -3
  311. data/app/assets/icons/outline/restore-window.svg +0 -3
  312. data/app/assets/icons/outline/rocket.svg +0 -3
  313. data/app/assets/icons/outline/ruler-combined.svg +0 -3
  314. data/app/assets/icons/outline/sale-percent.svg +0 -3
  315. data/app/assets/icons/outline/scale-balanced.svg +0 -3
  316. data/app/assets/icons/outline/search.svg +0 -3
  317. data/app/assets/icons/outline/share-all.svg +0 -3
  318. data/app/assets/icons/outline/share-nodes.svg +0 -3
  319. data/app/assets/icons/outline/shield-check.svg +0 -3
  320. data/app/assets/icons/outline/shield.svg +0 -3
  321. data/app/assets/icons/outline/shopping-bag.svg +0 -3
  322. data/app/assets/icons/outline/shuffle.svg +0 -3
  323. data/app/assets/icons/outline/sort-horizontal.svg +0 -3
  324. data/app/assets/icons/outline/sort.svg +0 -3
  325. data/app/assets/icons/outline/star-half-stroke.svg +0 -3
  326. data/app/assets/icons/outline/star-half.svg +0 -3
  327. data/app/assets/icons/outline/star.svg +0 -3
  328. data/app/assets/icons/outline/store.svg +0 -3
  329. data/app/assets/icons/outline/sun.svg +0 -3
  330. data/app/assets/icons/outline/swatchbook.svg +0 -3
  331. data/app/assets/icons/outline/table-column.svg +0 -3
  332. data/app/assets/icons/outline/table-row.svg +0 -3
  333. data/app/assets/icons/outline/tablet.svg +0 -3
  334. data/app/assets/icons/outline/tag.svg +0 -3
  335. data/app/assets/icons/outline/terminal.svg +0 -3
  336. data/app/assets/icons/outline/text-size.svg +0 -3
  337. data/app/assets/icons/outline/text-slash.svg +0 -3
  338. data/app/assets/icons/outline/thumbs-down.svg +0 -3
  339. data/app/assets/icons/outline/thumbs-up.svg +0 -3
  340. data/app/assets/icons/outline/ticket.svg +0 -3
  341. data/app/assets/icons/outline/trash-bin.svg +0 -3
  342. data/app/assets/icons/outline/truck.svg +0 -3
  343. data/app/assets/icons/outline/undo.svg +0 -3
  344. data/app/assets/icons/outline/upload.svg +0 -3
  345. data/app/assets/icons/outline/user-add.svg +0 -3
  346. data/app/assets/icons/outline/user-circle.svg +0 -3
  347. data/app/assets/icons/outline/user-edit.svg +0 -3
  348. data/app/assets/icons/outline/user-headset.svg +0 -3
  349. data/app/assets/icons/outline/user-remove.svg +0 -3
  350. data/app/assets/icons/outline/user-settings.svg +0 -3
  351. data/app/assets/icons/outline/user.svg +0 -3
  352. data/app/assets/icons/outline/users-group.svg +0 -3
  353. data/app/assets/icons/outline/users.svg +0 -3
  354. data/app/assets/icons/outline/video-camera.svg +0 -3
  355. data/app/assets/icons/outline/volume-down.svg +0 -3
  356. data/app/assets/icons/outline/volume-up.svg +0 -3
  357. data/app/assets/icons/outline/wallet.svg +0 -3
  358. data/app/assets/icons/outline/wand-magic-sparkles.svg +0 -3
  359. data/app/assets/icons/outline/window.svg +0 -3
  360. data/app/assets/icons/outline/zoom-in.svg +0 -3
  361. data/app/assets/icons/outline/zoom-out.svg +0 -3
  362. data/app/assets/icons/solid/X.svg +0 -3
  363. data/app/assets/icons/solid/address-book.svg +0 -3
  364. data/app/assets/icons/solid/adjustments-horizontal.svg +0 -3
  365. data/app/assets/icons/solid/adjustments-vertical.svg +0 -3
  366. data/app/assets/icons/solid/annotation.svg +0 -3
  367. data/app/assets/icons/solid/apple.svg +0 -3
  368. data/app/assets/icons/solid/archive-arrow-down.svg +0 -3
  369. data/app/assets/icons/solid/archive.svg +0 -4
  370. data/app/assets/icons/solid/arrow-right-alt.svg +0 -3
  371. data/app/assets/icons/solid/arrow-up-right-from-square.svg +0 -4
  372. data/app/assets/icons/solid/backward-step.svg +0 -3
  373. data/app/assets/icons/solid/badge-check.svg +0 -3
  374. data/app/assets/icons/solid/bell-active-alt.svg +0 -3
  375. data/app/assets/icons/solid/bell-active.svg +0 -5
  376. data/app/assets/icons/solid/bell-ring.svg +0 -3
  377. data/app/assets/icons/solid/bell.svg +0 -3
  378. data/app/assets/icons/solid/blender-phone.svg +0 -3
  379. data/app/assets/icons/solid/book-open.svg +0 -3
  380. data/app/assets/icons/solid/book.svg +0 -3
  381. data/app/assets/icons/solid/bookmark.svg +0 -3
  382. data/app/assets/icons/solid/brain.svg +0 -3
  383. data/app/assets/icons/solid/briefcase.svg +0 -3
  384. data/app/assets/icons/solid/bug.svg +0 -3
  385. data/app/assets/icons/solid/building.svg +0 -3
  386. data/app/assets/icons/solid/bullhorn.svg +0 -3
  387. data/app/assets/icons/solid/calendar-edit.svg +0 -4
  388. data/app/assets/icons/solid/calendar-month.svg +0 -3
  389. data/app/assets/icons/solid/calendar-plus.svg +0 -3
  390. data/app/assets/icons/solid/calendar-week.svg +0 -3
  391. data/app/assets/icons/solid/camera-photo.svg +0 -3
  392. data/app/assets/icons/solid/caption.svg +0 -3
  393. data/app/assets/icons/solid/caret-down.svg +0 -3
  394. data/app/assets/icons/solid/caret-left.svg +0 -3
  395. data/app/assets/icons/solid/caret-right.svg +0 -3
  396. data/app/assets/icons/solid/caret-sort.svg +0 -3
  397. data/app/assets/icons/solid/caret-up.svg +0 -3
  398. data/app/assets/icons/solid/cart-plus-alt.svg +0 -4
  399. data/app/assets/icons/solid/cart-plus.svg +0 -4
  400. data/app/assets/icons/solid/cart.svg +0 -3
  401. data/app/assets/icons/solid/cash.svg +0 -5
  402. data/app/assets/icons/solid/chart-mixed-dollar.svg +0 -3
  403. data/app/assets/icons/solid/chart-pie.svg +0 -4
  404. data/app/assets/icons/solid/check-circle.svg +0 -3
  405. data/app/assets/icons/solid/check-plus-circle.svg +0 -4
  406. data/app/assets/icons/solid/circle-pause.svg +0 -3
  407. data/app/assets/icons/solid/circle-plus.svg +0 -3
  408. data/app/assets/icons/solid/clapperboard-play.svg +0 -3
  409. data/app/assets/icons/solid/clipboard-check.svg +0 -3
  410. data/app/assets/icons/solid/clipboard-list.svg +0 -3
  411. data/app/assets/icons/solid/clipboard.svg +0 -3
  412. data/app/assets/icons/solid/clock.svg +0 -3
  413. data/app/assets/icons/solid/close-circle.svg +0 -3
  414. data/app/assets/icons/solid/cloud-arrow-up.svg +0 -4
  415. data/app/assets/icons/solid/code-branch.svg +0 -3
  416. data/app/assets/icons/solid/code-fork.svg +0 -3
  417. data/app/assets/icons/solid/code-merge.svg +0 -3
  418. data/app/assets/icons/solid/code-pull-request.svg +0 -3
  419. data/app/assets/icons/solid/cog.svg +0 -3
  420. data/app/assets/icons/solid/column.svg +0 -3
  421. data/app/assets/icons/solid/computer-speaker.svg +0 -4
  422. data/app/assets/icons/solid/credit-card.svg +0 -4
  423. data/app/assets/icons/solid/css.svg +0 -3
  424. data/app/assets/icons/solid/database.svg +0 -3
  425. data/app/assets/icons/solid/desktop-pc.svg +0 -3
  426. data/app/assets/icons/solid/discord.svg +0 -3
  427. data/app/assets/icons/solid/download.svg +0 -4
  428. data/app/assets/icons/solid/draw-square.svg +0 -4
  429. data/app/assets/icons/solid/dribbble.svg +0 -3
  430. data/app/assets/icons/solid/dropbox.svg +0 -4
  431. data/app/assets/icons/solid/edit.svg +0 -4
  432. data/app/assets/icons/solid/envelope-open.svg +0 -4
  433. data/app/assets/icons/solid/envelope.svg +0 -4
  434. data/app/assets/icons/solid/exclamation-circle.svg +0 -3
  435. data/app/assets/icons/solid/eye-slash.svg +0 -5
  436. data/app/assets/icons/solid/eye.svg +0 -3
  437. data/app/assets/icons/solid/face-explode.svg +0 -3
  438. data/app/assets/icons/solid/face-grin-stars.svg +0 -3
  439. data/app/assets/icons/solid/face-grin.svg +0 -3
  440. data/app/assets/icons/solid/face-laugh.svg +0 -3
  441. data/app/assets/icons/solid/facebook.svg +0 -3
  442. data/app/assets/icons/solid/file-chart-bar.svg +0 -3
  443. data/app/assets/icons/solid/file-check.svg +0 -4
  444. data/app/assets/icons/solid/file-circle-plus.svg +0 -4
  445. data/app/assets/icons/solid/file-clone.svg +0 -4
  446. data/app/assets/icons/solid/file-code.svg +0 -3
  447. data/app/assets/icons/solid/file-copy-alt.svg +0 -4
  448. data/app/assets/icons/solid/file-copy.svg +0 -4
  449. data/app/assets/icons/solid/file-csv.svg +0 -3
  450. data/app/assets/icons/solid/file-export.svg +0 -3
  451. data/app/assets/icons/solid/file-image.svg +0 -3
  452. data/app/assets/icons/solid/file-import.svg +0 -3
  453. data/app/assets/icons/solid/file-invoice.svg +0 -3
  454. data/app/assets/icons/solid/file-lines.svg +0 -3
  455. data/app/assets/icons/solid/file-music.svg +0 -3
  456. data/app/assets/icons/solid/file-paste.svg +0 -4
  457. data/app/assets/icons/solid/file-pdf.svg +0 -3
  458. data/app/assets/icons/solid/file-pen.svg +0 -4
  459. data/app/assets/icons/solid/file-ppt.svg +0 -3
  460. data/app/assets/icons/solid/file-search.svg +0 -3
  461. data/app/assets/icons/solid/file-shield.svg +0 -4
  462. data/app/assets/icons/solid/file-video.svg +0 -3
  463. data/app/assets/icons/solid/file-word.svg +0 -3
  464. data/app/assets/icons/solid/file-zip.svg +0 -3
  465. data/app/assets/icons/solid/file.svg +0 -3
  466. data/app/assets/icons/solid/filter.svg +0 -3
  467. data/app/assets/icons/solid/fire.svg +0 -3
  468. data/app/assets/icons/solid/flag.svg +0 -3
  469. data/app/assets/icons/solid/flowbite.svg +0 -6
  470. data/app/assets/icons/solid/folder-arrow-right.svg +0 -3
  471. data/app/assets/icons/solid/folder-duplicate.svg +0 -4
  472. data/app/assets/icons/solid/folder-open.svg +0 -3
  473. data/app/assets/icons/solid/folder-plus.svg +0 -3
  474. data/app/assets/icons/solid/folder.svg +0 -3
  475. data/app/assets/icons/solid/forward-step.svg +0 -3
  476. data/app/assets/icons/solid/forward.svg +0 -3
  477. data/app/assets/icons/solid/gift-box.svg +0 -3
  478. data/app/assets/icons/solid/github.svg +0 -3
  479. data/app/assets/icons/solid/globe.svg +0 -3
  480. data/app/assets/icons/solid/google.svg +0 -3
  481. data/app/assets/icons/solid/grid-plus.svg +0 -3
  482. data/app/assets/icons/solid/grid.svg +0 -3
  483. data/app/assets/icons/solid/headphones.svg +0 -3
  484. data/app/assets/icons/solid/heart.svg +0 -3
  485. data/app/assets/icons/solid/home.svg +0 -3
  486. data/app/assets/icons/solid/hourglass.svg +0 -3
  487. data/app/assets/icons/solid/html.svg +0 -3
  488. data/app/assets/icons/solid/image.svg +0 -4
  489. data/app/assets/icons/solid/inbox-full.svg +0 -3
  490. data/app/assets/icons/solid/inbox.svg +0 -3
  491. data/app/assets/icons/solid/indent.svg +0 -3
  492. data/app/assets/icons/solid/info-circle.svg +0 -3
  493. data/app/assets/icons/solid/keyboard.svg +0 -3
  494. data/app/assets/icons/solid/label.svg +0 -3
  495. data/app/assets/icons/solid/landmark.svg +0 -4
  496. data/app/assets/icons/solid/layers.svg +0 -4
  497. data/app/assets/icons/solid/life-saver.svg +0 -3
  498. data/app/assets/icons/solid/lightbulb.svg +0 -3
  499. data/app/assets/icons/solid/linkedin.svg +0 -4
  500. data/app/assets/icons/solid/list-music.svg +0 -3
  501. data/app/assets/icons/solid/lock-open.svg +0 -3
  502. data/app/assets/icons/solid/lock-time.svg +0 -4
  503. data/app/assets/icons/solid/lock.svg +0 -3
  504. data/app/assets/icons/solid/mail-box.svg +0 -3
  505. data/app/assets/icons/solid/map-pin-alt.svg +0 -3
  506. data/app/assets/icons/solid/map-pin.svg +0 -3
  507. data/app/assets/icons/solid/message-caption.svg +0 -3
  508. data/app/assets/icons/solid/message-dots.svg +0 -3
  509. data/app/assets/icons/solid/messages.svg +0 -4
  510. data/app/assets/icons/solid/microphone.svg +0 -4
  511. data/app/assets/icons/solid/mobile-phone.svg +0 -3
  512. data/app/assets/icons/solid/moon.svg +0 -3
  513. data/app/assets/icons/solid/newspaper.svg +0 -3
  514. data/app/assets/icons/solid/npm.svg +0 -3
  515. data/app/assets/icons/solid/outdent.svg +0 -3
  516. data/app/assets/icons/solid/palette.svg +0 -3
  517. data/app/assets/icons/solid/paper-plane.svg +0 -3
  518. data/app/assets/icons/solid/paragraph.svg +0 -3
  519. data/app/assets/icons/solid/pause.svg +0 -3
  520. data/app/assets/icons/solid/pen-nib.svg +0 -3
  521. data/app/assets/icons/solid/pen.svg +0 -3
  522. data/app/assets/icons/solid/phone.svg +0 -3
  523. data/app/assets/icons/solid/play.svg +0 -3
  524. data/app/assets/icons/solid/printer.svg +0 -3
  525. data/app/assets/icons/solid/profile-card.svg +0 -3
  526. data/app/assets/icons/solid/question-circle.svg +0 -3
  527. data/app/assets/icons/solid/quote.svg +0 -3
  528. data/app/assets/icons/solid/react.svg +0 -4
  529. data/app/assets/icons/solid/receipt.svg +0 -3
  530. data/app/assets/icons/solid/rectangle-list.svg +0 -3
  531. data/app/assets/icons/solid/reply-all.svg +0 -3
  532. data/app/assets/icons/solid/reply.svg +0 -3
  533. data/app/assets/icons/solid/rocket.svg +0 -3
  534. data/app/assets/icons/solid/sale-percent.svg +0 -3
  535. data/app/assets/icons/solid/scale-balanced.svg +0 -3
  536. data/app/assets/icons/solid/search.svg +0 -4
  537. data/app/assets/icons/solid/share-all.svg +0 -3
  538. data/app/assets/icons/solid/share-nodes.svg +0 -3
  539. data/app/assets/icons/solid/shield-check.svg +0 -3
  540. data/app/assets/icons/solid/shield.svg +0 -3
  541. data/app/assets/icons/solid/shopping-bag.svg +0 -3
  542. data/app/assets/icons/solid/stackoverflow.svg +0 -4
  543. data/app/assets/icons/solid/star-half-stroke.svg +0 -3
  544. data/app/assets/icons/solid/star-half.svg +0 -3
  545. data/app/assets/icons/solid/star.svg +0 -3
  546. data/app/assets/icons/solid/store.svg +0 -3
  547. data/app/assets/icons/solid/sun.svg +0 -3
  548. data/app/assets/icons/solid/swatchbook.svg +0 -3
  549. data/app/assets/icons/solid/table-column.svg +0 -3
  550. data/app/assets/icons/solid/table-row.svg +0 -3
  551. data/app/assets/icons/solid/tablet.svg +0 -3
  552. data/app/assets/icons/solid/tag.svg +0 -3
  553. data/app/assets/icons/solid/tailwind.svg +0 -3
  554. data/app/assets/icons/solid/terminal.svg +0 -3
  555. data/app/assets/icons/solid/thumbs-down.svg +0 -3
  556. data/app/assets/icons/solid/thumbs-up.svg +0 -3
  557. data/app/assets/icons/solid/ticket.svg +0 -3
  558. data/app/assets/icons/solid/trash-bin.svg +0 -3
  559. data/app/assets/icons/solid/truck.svg +0 -3
  560. data/app/assets/icons/solid/twitter.svg +0 -3
  561. data/app/assets/icons/solid/upload.svg +0 -3
  562. data/app/assets/icons/solid/user-add.svg +0 -3
  563. data/app/assets/icons/solid/user-circle.svg +0 -3
  564. data/app/assets/icons/solid/user-edit.svg +0 -3
  565. data/app/assets/icons/solid/user-headset.svg +0 -3
  566. data/app/assets/icons/solid/user-remove.svg +0 -3
  567. data/app/assets/icons/solid/user-settings.svg +0 -3
  568. data/app/assets/icons/solid/user.svg +0 -3
  569. data/app/assets/icons/solid/users-group.svg +0 -3
  570. data/app/assets/icons/solid/users.svg +0 -3
  571. data/app/assets/icons/solid/video-camera.svg +0 -3
  572. data/app/assets/icons/solid/volume-down.svg +0 -4
  573. data/app/assets/icons/solid/volume-up.svg +0 -5
  574. data/app/assets/icons/solid/vue.svg +0 -3
  575. data/app/assets/icons/solid/wallet.svg +0 -4
  576. data/app/assets/icons/solid/wand-magic-sparkles.svg +0 -4
  577. data/app/assets/icons/solid/window-restore.svg +0 -4
  578. data/app/assets/icons/solid/window.svg +0 -3
  579. data/app/assets/icons/solid/youtube.svg +0 -3
  580. data/app/assets/icons/solid/zoom-in.svg +0 -3
  581. data/app/assets/icons/solid/zoom-out.svg +0 -3
  582. data/app/views/components/action_button/action_button_component.html.erb +0 -7
  583. data/app/views/components/action_button/action_button_component.rb +0 -15
  584. data/app/views/components/attributes.rb +0 -184
  585. data/app/views/components/base.rb +0 -29
  586. data/app/views/components/block/block_component.html.erb +0 -3
  587. data/app/views/components/block/block_component.rb +0 -44
  588. data/app/views/components/breadcrumbs/breadcrumbs_component.html.erb +0 -96
  589. data/app/views/components/breadcrumbs/breadcrumbs_component.rb +0 -9
  590. data/app/views/components/button/button_component.html.erb +0 -11
  591. data/app/views/components/button/button_component.rb +0 -128
  592. data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +0 -8
  593. data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +0 -6
  594. data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +0 -3
  595. data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +0 -18
  596. data/app/views/components/empty_card/empty_card_component.html.erb +0 -6
  597. data/app/views/components/empty_card/empty_card_component.rb +0 -7
  598. data/app/views/components/form/form_builder.rb +0 -75
  599. data/app/views/components/form/form_component.html.erb +0 -73
  600. data/app/views/components/form/form_component.rb +0 -23
  601. data/app/views/components/has_many_panel/has_many_panel_component.html.erb +0 -25
  602. data/app/views/components/has_many_panel/has_many_panel_component.rb +0 -16
  603. data/app/views/components/header/header_component.html.erb +0 -1
  604. data/app/views/components/header/header_component.rb +0 -7
  605. data/app/views/components/interactive_action_form/interactive_action_form_component.html.erb +0 -39
  606. data/app/views/components/interactive_action_form/interactive_action_form_component.rb +0 -8
  607. data/app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb +0 -24
  608. data/app/views/components/nav_grid_menu/nav_grid_menu_component.rb +0 -23
  609. data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb +0 -4
  610. data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb +0 -20
  611. data/app/views/components/nav_user/nav_user_component.html.erb +0 -50
  612. data/app/views/components/nav_user/nav_user_component.rb +0 -32
  613. data/app/views/components/nav_user_link/nav_user_link_component.html.erb +0 -7
  614. data/app/views/components/nav_user_link/nav_user_link_component.rb +0 -23
  615. data/app/views/components/nav_user_section/nav_user_section_component.html.erb +0 -7
  616. data/app/views/components/nav_user_section/nav_user_section_component.rb +0 -18
  617. data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +0 -64
  618. data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +0 -29
  619. data/app/views/components/pagination/pagination_component.html.erb +0 -6
  620. data/app/views/components/pagination/pagination_component.rb +0 -94
  621. data/app/views/components/panel/panel_component.html.erb +0 -17
  622. data/app/views/components/panel/panel_component.rb +0 -17
  623. data/app/views/components/resource_header/resource_header_component.html.erb +0 -83
  624. data/app/views/components/resource_header/resource_header_component.rb +0 -30
  625. data/app/views/components/resource_layout/resource_layout_component.html.erb +0 -53
  626. data/app/views/components/resource_layout/resource_layout_component.rb +0 -41
  627. data/app/views/components/sidebar/sidebar_component.html.erb +0 -69
  628. data/app/views/components/sidebar/sidebar_component.rb +0 -23
  629. data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +0 -5
  630. data/app/views/components/sidebar_menu/sidebar_menu_component.rb +0 -17
  631. data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +0 -64
  632. data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +0 -52
  633. data/app/views/components/skeleton/table/table_component.html.erb +0 -18
  634. data/app/views/components/skeleton/table/table_component.rb +0 -6
  635. data/app/views/components/table/table_component.html.erb +0 -43
  636. data/app/views/components/table/table_component.rb +0 -159
  637. data/app/views/components/table_search_input/table_search_input_component.html.erb +0 -48
  638. data/app/views/components/table_search_input/table_search_input_component.rb +0 -15
  639. data/app/views/components/table_toolbar/table_toolbar_component.html.erb +0 -7
  640. data/app/views/components/table_toolbar/table_toolbar_component.rb +0 -17
  641. data/app/views/components/toolbar/toolbar_component.html.erb +0 -67
  642. data/app/views/components/toolbar/toolbar_component.rb +0 -26
  643. data/app/views/layouts/resource.html copy.erb +0 -49
  644. data/app/views/plutonium/_resource_header.html copy.erb +0 -287
  645. data/lib/generators/pu/gen/component/component_generator.rb +0 -99
  646. data/lib/generators/pu/gen/component/templates/component.html.erb.tt +0 -3
  647. data/lib/generators/pu/gen/component/templates/component.rb.tt +0 -15
  648. data/lib/generators/pu/gen/component/templates/controller.js.tt +0 -8
  649. data/lib/plutonium/builders/menus/sidebar_menu.rb.bk +0 -26
  650. data/lib/plutonium/builders/menus/sidebar_menu_item.rb.bk +0 -28
  651. data/lib/plutonium/component_registry.rb +0 -19
  652. data/lib/plutonium/core/action.rb +0 -49
  653. data/lib/plutonium/core/actions/basic_action.rb +0 -16
  654. data/lib/plutonium/core/actions/collection.rb +0 -37
  655. data/lib/plutonium/core/actions/destroy_action.rb +0 -23
  656. data/lib/plutonium/core/actions/edit_action.rb +0 -21
  657. data/lib/plutonium/core/actions/interactive_action.rb +0 -64
  658. data/lib/plutonium/core/actions/new_action.rb +0 -20
  659. data/lib/plutonium/core/actions/show_action.rb +0 -19
  660. data/lib/plutonium/core/associations/renderers/base.rb +0 -77
  661. data/lib/plutonium/core/associations/renderers/factory.rb +0 -36
  662. data/lib/plutonium/core/associations/renderers/has_many_renderer.rb +0 -18
  663. data/lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb +0 -31
  664. data/lib/plutonium/core/autodiscovery/discoverer.rb +0 -15
  665. data/lib/plutonium/core/autodiscovery/input_discoverer.rb +0 -31
  666. data/lib/plutonium/core/autodiscovery/renderer_discoverer.rb +0 -31
  667. data/lib/plutonium/core/definers/action_definer.rb +0 -25
  668. data/lib/plutonium/core/definers/association_renderer_definer.rb +0 -33
  669. data/lib/plutonium/core/definers/field_definer.rb +0 -19
  670. data/lib/plutonium/core/definers/field_input_definer.rb +0 -77
  671. data/lib/plutonium/core/definers/field_renderer_definer.rb +0 -37
  672. data/lib/plutonium/core/fields/inputs/attachment_input.rb +0 -24
  673. data/lib/plutonium/core/fields/inputs/base.rb +0 -110
  674. data/lib/plutonium/core/fields/inputs/belongs_to_association_input.rb +0 -15
  675. data/lib/plutonium/core/fields/inputs/checkbox_input.rb +0 -15
  676. data/lib/plutonium/core/fields/inputs/date_time_input.rb +0 -15
  677. data/lib/plutonium/core/fields/inputs/factory.rb +0 -50
  678. data/lib/plutonium/core/fields/inputs/has_many_association_input.rb +0 -15
  679. data/lib/plutonium/core/fields/inputs/nested_input.rb +0 -72
  680. data/lib/plutonium/core/fields/inputs/noop_input.rb +0 -16
  681. data/lib/plutonium/core/fields/inputs/phone_input.rb +0 -22
  682. data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +0 -48
  683. data/lib/plutonium/core/fields/inputs/simple_form_association_input.rb +0 -26
  684. data/lib/plutonium/core/fields/inputs/simple_form_input.rb +0 -13
  685. data/lib/plutonium/core/fields/renderers/association_renderer.rb +0 -28
  686. data/lib/plutonium/core/fields/renderers/attachment_renderer.rb +0 -21
  687. data/lib/plutonium/core/fields/renderers/base.rb +0 -83
  688. data/lib/plutonium/core/fields/renderers/basic_renderer.rb +0 -13
  689. data/lib/plutonium/core/fields/renderers/factory.rb +0 -37
  690. data/lib/plutonium/core/renderable.rb +0 -20
  691. data/lib/plutonium/core/ui/collection.rb +0 -18
  692. data/lib/plutonium/core/ui/detail.rb +0 -15
  693. data/lib/plutonium/core/ui/form.rb +0 -12
  694. data/lib/plutonium/helpers/action_buttons_helper.rb +0 -32
  695. data/lib/plutonium/helpers/component_helper.rb +0 -14
  696. data/lib/plutonium/helpers/form_helper.rb +0 -50
  697. data/lib/plutonium/icons.rb +0 -32
  698. data/lib/plutonium/preserved__/field.rb.bk +0 -65
  699. data/lib/plutonium/preserved__/input.rb.bk +0 -93
  700. data/lib/plutonium/ui/table/components/pagy_page_info.rb +0 -70
  701. data/src/js/controllers/has_many_panel_controller.js +0 -8
  702. data/src/js/controllers/interactive_action_form_controller.js +0 -13
  703. data/src/js/controllers/nav_grid_menu_controller.js +0 -8
  704. data/src/js/controllers/nav_grid_menu_item_controller.js +0 -8
  705. data/src/js/controllers/nav_user_controller.js +0 -8
  706. data/src/js/controllers/nav_user_link_controller.js +0 -8
  707. data/src/js/controllers/nav_user_section_controller.js +0 -8
  708. data/src/js/controllers/resource_layout_controller.js +0 -8
  709. data/src/js/controllers/sidebar_controller.js +0 -8
  710. data/src/js/controllers/sidebar_menu_controller.js +0 -8
  711. data/src/js/controllers/sidebar_menu_item_controller.js +0 -8
  712. data/src/js/controllers/table_controller.js +0 -8
  713. data/src/js/controllers/table_search_input_controller.js +0 -8
  714. data/src/js/controllers/table_toolbar_controller.js +0 -8
  715. data/src/js/controllers/toolbar_controller.js +0 -8
data/package-lock.json CHANGED
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "name": "@radioactive-labs/plutonium",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@radioactive-labs/plutonium",
9
- "version": "0.2.1",
9
+ "version": "0.3.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@hotwired/stimulus": "^3.2.2",
13
13
  "@hotwired/turbo": "^8.0.4",
14
+ "@popperjs/core": "^2.11.8",
15
+ "@uppy/core": "^4.3.1",
16
+ "@uppy/dashboard": "^4.1.3",
17
+ "@uppy/image-editor": "^3.2.1",
18
+ "@uppy/xhr-upload": "^4.2.3",
14
19
  "dompurify": "^3.2.2",
15
- "flowbite": "^2.3.0",
16
20
  "lodash.debounce": "^4.0.8",
17
21
  "marked": "^15.0.3"
18
22
  },
@@ -1127,6 +1131,7 @@
1127
1131
  "version": "2.11.8",
1128
1132
  "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
1129
1133
  "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
1134
+ "license": "MIT",
1130
1135
  "funding": {
1131
1136
  "type": "opencollective",
1132
1137
  "url": "https://opencollective.com/popperjs"
@@ -1504,6 +1509,12 @@
1504
1509
  "node": ">=4"
1505
1510
  }
1506
1511
  },
1512
+ "node_modules/@transloadit/prettier-bytes": {
1513
+ "version": "0.3.5",
1514
+ "resolved": "https://registry.npmjs.org/@transloadit/prettier-bytes/-/prettier-bytes-0.3.5.tgz",
1515
+ "integrity": "sha512-xF4A3d/ZyX2LJWeQZREZQw+qFX4TGQ8bGVP97OLRt6sPO6T0TNHBFTuRHOJh7RNmYOBmQ9MHxpolD9bXihpuVA==",
1516
+ "license": "MIT"
1517
+ },
1507
1518
  "node_modules/@trysound/sax": {
1508
1519
  "version": "0.2.0",
1509
1520
  "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
@@ -1866,6 +1877,12 @@
1866
1877
  "dev": true,
1867
1878
  "license": "MIT"
1868
1879
  },
1880
+ "node_modules/@types/retry": {
1881
+ "version": "0.12.2",
1882
+ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz",
1883
+ "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==",
1884
+ "license": "MIT"
1885
+ },
1869
1886
  "node_modules/@types/trusted-types": {
1870
1887
  "version": "2.0.7",
1871
1888
  "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
@@ -1894,6 +1911,213 @@
1894
1911
  "dev": true,
1895
1912
  "license": "ISC"
1896
1913
  },
1914
+ "node_modules/@uppy/companion-client": {
1915
+ "version": "4.3.0",
1916
+ "resolved": "https://registry.npmjs.org/@uppy/companion-client/-/companion-client-4.3.0.tgz",
1917
+ "integrity": "sha512-S8Fs7KgLE8CEf225S/j28yZTMqVaqvmesX5mrd/I1H0dHzIoruLYC/3q3QnihGbQRxyobUpnBmo67o24+mAc7g==",
1918
+ "license": "MIT",
1919
+ "dependencies": {
1920
+ "@uppy/utils": "^6.0.6",
1921
+ "namespace-emitter": "^2.0.1",
1922
+ "p-retry": "^6.1.0"
1923
+ },
1924
+ "peerDependencies": {
1925
+ "@uppy/core": "^4.3.1"
1926
+ }
1927
+ },
1928
+ "node_modules/@uppy/core": {
1929
+ "version": "4.3.1",
1930
+ "resolved": "https://registry.npmjs.org/@uppy/core/-/core-4.3.1.tgz",
1931
+ "integrity": "sha512-vov6agqmZrbmkG6E5LpSGNOeVXP4u0pe3UXCqVBZvU+WPInA264d4+X7NUnD6cF/BHPfckbfKh+60Tm1A40VEg==",
1932
+ "license": "MIT",
1933
+ "dependencies": {
1934
+ "@transloadit/prettier-bytes": "^0.3.4",
1935
+ "@uppy/store-default": "^4.1.2",
1936
+ "@uppy/utils": "^6.0.6",
1937
+ "lodash": "^4.17.21",
1938
+ "mime-match": "^1.0.2",
1939
+ "namespace-emitter": "^2.0.1",
1940
+ "nanoid": "^5.0.0",
1941
+ "preact": "^10.5.13"
1942
+ }
1943
+ },
1944
+ "node_modules/@uppy/core/node_modules/nanoid": {
1945
+ "version": "5.0.9",
1946
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz",
1947
+ "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==",
1948
+ "funding": [
1949
+ {
1950
+ "type": "github",
1951
+ "url": "https://github.com/sponsors/ai"
1952
+ }
1953
+ ],
1954
+ "license": "MIT",
1955
+ "bin": {
1956
+ "nanoid": "bin/nanoid.js"
1957
+ },
1958
+ "engines": {
1959
+ "node": "^18 || >=20"
1960
+ }
1961
+ },
1962
+ "node_modules/@uppy/dashboard": {
1963
+ "version": "4.1.3",
1964
+ "resolved": "https://registry.npmjs.org/@uppy/dashboard/-/dashboard-4.1.3.tgz",
1965
+ "integrity": "sha512-2gNBRp4IVlsxJ1Twsub4KcudZ+I3ETnsukKs8xfk1F/0D0jZrqIZtsEQxL9PtGLOKQpNlnhN3UjXb/okWJRCUQ==",
1966
+ "license": "MIT",
1967
+ "dependencies": {
1968
+ "@transloadit/prettier-bytes": "^0.3.4",
1969
+ "@uppy/informer": "^4.1.2",
1970
+ "@uppy/provider-views": "^4.1.0",
1971
+ "@uppy/status-bar": "^4.0.5",
1972
+ "@uppy/thumbnail-generator": "^4.0.2",
1973
+ "@uppy/utils": "^6.0.5",
1974
+ "classnames": "^2.2.6",
1975
+ "lodash": "^4.17.21",
1976
+ "memoize-one": "^6.0.0",
1977
+ "nanoid": "^5.0.0",
1978
+ "preact": "^10.5.13",
1979
+ "shallow-equal": "^3.0.0"
1980
+ },
1981
+ "peerDependencies": {
1982
+ "@uppy/core": "^4.3.0"
1983
+ }
1984
+ },
1985
+ "node_modules/@uppy/dashboard/node_modules/nanoid": {
1986
+ "version": "5.0.9",
1987
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz",
1988
+ "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==",
1989
+ "funding": [
1990
+ {
1991
+ "type": "github",
1992
+ "url": "https://github.com/sponsors/ai"
1993
+ }
1994
+ ],
1995
+ "license": "MIT",
1996
+ "bin": {
1997
+ "nanoid": "bin/nanoid.js"
1998
+ },
1999
+ "engines": {
2000
+ "node": "^18 || >=20"
2001
+ }
2002
+ },
2003
+ "node_modules/@uppy/image-editor": {
2004
+ "version": "3.2.1",
2005
+ "resolved": "https://registry.npmjs.org/@uppy/image-editor/-/image-editor-3.2.1.tgz",
2006
+ "integrity": "sha512-AqlyeRn4n4SmiVydJxY2DC5UGpaQxqF0CP3AcQLpizA+RSM/Z6ltZoZJ5XiRVRKiTbVCt4GHWufd42TVZbwFLQ==",
2007
+ "license": "MIT",
2008
+ "dependencies": {
2009
+ "@uppy/utils": "^6.0.5",
2010
+ "cropperjs": "^1.6.2",
2011
+ "preact": "^10.5.13"
2012
+ },
2013
+ "peerDependencies": {
2014
+ "@uppy/core": "^4.3.0"
2015
+ }
2016
+ },
2017
+ "node_modules/@uppy/informer": {
2018
+ "version": "4.1.2",
2019
+ "resolved": "https://registry.npmjs.org/@uppy/informer/-/informer-4.1.2.tgz",
2020
+ "integrity": "sha512-+fsDuuAivHlF+AXOQpiJMIbavGbAhBfn36SF5q52DlFr9151lWUe2sQ3wR3yCyyRkcq006Xx7oeWnOI+mM/10A==",
2021
+ "license": "MIT",
2022
+ "dependencies": {
2023
+ "@uppy/utils": "^6.0.5",
2024
+ "preact": "^10.5.13"
2025
+ },
2026
+ "peerDependencies": {
2027
+ "@uppy/core": "^4.3.0"
2028
+ }
2029
+ },
2030
+ "node_modules/@uppy/provider-views": {
2031
+ "version": "4.2.0",
2032
+ "resolved": "https://registry.npmjs.org/@uppy/provider-views/-/provider-views-4.2.0.tgz",
2033
+ "integrity": "sha512-0em+bAUvcZFV4kHIq154LK1d53rDyiN6cfhXCBQSb65erLlaKX/rmsbiMzvy2/pOhcWltaGlQwVWIoS+tF1G1A==",
2034
+ "license": "MIT",
2035
+ "dependencies": {
2036
+ "@uppy/utils": "^6.0.6",
2037
+ "classnames": "^2.2.6",
2038
+ "nanoid": "^5.0.0",
2039
+ "p-queue": "^8.0.0",
2040
+ "preact": "^10.5.13"
2041
+ },
2042
+ "peerDependencies": {
2043
+ "@uppy/core": "^4.3.1"
2044
+ }
2045
+ },
2046
+ "node_modules/@uppy/provider-views/node_modules/nanoid": {
2047
+ "version": "5.0.9",
2048
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz",
2049
+ "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==",
2050
+ "funding": [
2051
+ {
2052
+ "type": "github",
2053
+ "url": "https://github.com/sponsors/ai"
2054
+ }
2055
+ ],
2056
+ "license": "MIT",
2057
+ "bin": {
2058
+ "nanoid": "bin/nanoid.js"
2059
+ },
2060
+ "engines": {
2061
+ "node": "^18 || >=20"
2062
+ }
2063
+ },
2064
+ "node_modules/@uppy/status-bar": {
2065
+ "version": "4.0.6",
2066
+ "resolved": "https://registry.npmjs.org/@uppy/status-bar/-/status-bar-4.0.6.tgz",
2067
+ "integrity": "sha512-FuRtew70hfCCQE4sJmMkMGsokIpoU9B4q78L2iF496y531oJ3chhaywgLZhKgIDub2Xiyj2gCPUREi7W3sbA5g==",
2068
+ "license": "MIT",
2069
+ "dependencies": {
2070
+ "@transloadit/prettier-bytes": "^0.3.4",
2071
+ "@uppy/utils": "^6.0.6",
2072
+ "classnames": "^2.2.6",
2073
+ "preact": "^10.5.13"
2074
+ },
2075
+ "peerDependencies": {
2076
+ "@uppy/core": "^4.3.1"
2077
+ }
2078
+ },
2079
+ "node_modules/@uppy/store-default": {
2080
+ "version": "4.1.2",
2081
+ "resolved": "https://registry.npmjs.org/@uppy/store-default/-/store-default-4.1.2.tgz",
2082
+ "integrity": "sha512-1Zi4S9rZiiEzDw/7TDNtwCWP8Y/6aBtWzKwP6EWH7NHBKX8yGFlQMRDwAXCKaxDxb46L0RNK8nWjOzHM+0Farg==",
2083
+ "license": "MIT"
2084
+ },
2085
+ "node_modules/@uppy/thumbnail-generator": {
2086
+ "version": "4.0.2",
2087
+ "resolved": "https://registry.npmjs.org/@uppy/thumbnail-generator/-/thumbnail-generator-4.0.2.tgz",
2088
+ "integrity": "sha512-5viK5dxekUTmEaHwRwN3qTBU2bu2uDxMr91gwVoT2niL37erkNau0fFwFpZYuc5V0A9PacP27Jcs7R5a6giTCA==",
2089
+ "license": "MIT",
2090
+ "dependencies": {
2091
+ "@uppy/utils": "^6.0.5",
2092
+ "exifr": "^7.0.0"
2093
+ },
2094
+ "peerDependencies": {
2095
+ "@uppy/core": "^4.3.0"
2096
+ }
2097
+ },
2098
+ "node_modules/@uppy/utils": {
2099
+ "version": "6.0.6",
2100
+ "resolved": "https://registry.npmjs.org/@uppy/utils/-/utils-6.0.6.tgz",
2101
+ "integrity": "sha512-7/4jrJTSEth7DKCOZiOEY3JWGTUlwV9Gnrtlp25yJvJ7HbOVQ0ToJUuDz9wCZJ3V2++zfj30JbvBynbOH40WxA==",
2102
+ "license": "MIT",
2103
+ "dependencies": {
2104
+ "lodash": "^4.17.21",
2105
+ "preact": "^10.5.13"
2106
+ }
2107
+ },
2108
+ "node_modules/@uppy/xhr-upload": {
2109
+ "version": "4.2.3",
2110
+ "resolved": "https://registry.npmjs.org/@uppy/xhr-upload/-/xhr-upload-4.2.3.tgz",
2111
+ "integrity": "sha512-XoqrfNCSADvPXcKHeilyEVNOtoWCI6OFaJA2tRp0EL+L9iF4FRr++SvkgJb7xFv04TCTT1h5CDKxGLmnf0e4yg==",
2112
+ "license": "MIT",
2113
+ "dependencies": {
2114
+ "@uppy/companion-client": "^4.2.0",
2115
+ "@uppy/utils": "^6.0.5"
2116
+ },
2117
+ "peerDependencies": {
2118
+ "@uppy/core": "^4.3.0"
2119
+ }
2120
+ },
1897
2121
  "node_modules/@vitejs/plugin-vue": {
1898
2122
  "version": "5.1.4",
1899
2123
  "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.1.4.tgz",
@@ -2671,6 +2895,12 @@
2671
2895
  "node": ">= 6"
2672
2896
  }
2673
2897
  },
2898
+ "node_modules/classnames": {
2899
+ "version": "2.5.1",
2900
+ "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz",
2901
+ "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==",
2902
+ "license": "MIT"
2903
+ },
2674
2904
  "node_modules/cliui": {
2675
2905
  "version": "8.0.1",
2676
2906
  "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
@@ -2862,6 +3092,12 @@
2862
3092
  "layout-base": "^1.0.0"
2863
3093
  }
2864
3094
  },
3095
+ "node_modules/cropperjs": {
3096
+ "version": "1.6.2",
3097
+ "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz",
3098
+ "integrity": "sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA==",
3099
+ "license": "MIT"
3100
+ },
2865
3101
  "node_modules/cross-spawn": {
2866
3102
  "version": "7.0.6",
2867
3103
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
@@ -3877,6 +4113,18 @@
3877
4113
  "dev": true,
3878
4114
  "license": "MIT"
3879
4115
  },
4116
+ "node_modules/eventemitter3": {
4117
+ "version": "5.0.1",
4118
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
4119
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
4120
+ "license": "MIT"
4121
+ },
4122
+ "node_modules/exifr": {
4123
+ "version": "7.1.3",
4124
+ "resolved": "https://registry.npmjs.org/exifr/-/exifr-7.1.3.tgz",
4125
+ "integrity": "sha512-g/aje2noHivrRSLbAUtBPWFbxKdKhgj/xr1vATDdUXPOFYJlQ62Ft0oy+72V6XLIpDJfHs6gXLbBLAolqOXYRw==",
4126
+ "license": "MIT"
4127
+ },
3880
4128
  "node_modules/fast-glob": {
3881
4129
  "version": "3.3.2",
3882
4130
  "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
@@ -3926,15 +4174,6 @@
3926
4174
  "node": ">=8"
3927
4175
  }
3928
4176
  },
3929
- "node_modules/flowbite": {
3930
- "version": "2.3.0",
3931
- "resolved": "https://registry.npmjs.org/flowbite/-/flowbite-2.3.0.tgz",
3932
- "integrity": "sha512-pm3JRo8OIJHGfFYWgaGpPv8E+UdWy0Z3gEAGufw+G/1dusaU/P1zoBLiQpf2/+bYAi+GBQtPVG86KYlV0W+AFQ==",
3933
- "dependencies": {
3934
- "@popperjs/core": "^2.9.3",
3935
- "mini-svg-data-uri": "^1.4.3"
3936
- }
3937
- },
3938
4177
  "node_modules/flowbite-typography": {
3939
4178
  "version": "1.0.5",
3940
4179
  "resolved": "https://registry.npmjs.org/flowbite-typography/-/flowbite-typography-1.0.5.tgz",
@@ -4274,6 +4513,18 @@
4274
4513
  "node": ">=0.10.0"
4275
4514
  }
4276
4515
  },
4516
+ "node_modules/is-network-error": {
4517
+ "version": "1.1.0",
4518
+ "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.1.0.tgz",
4519
+ "integrity": "sha512-tUdRRAnhT+OtCZR/LxZelH/C7QtjtFrTu5tXCA8pl55eTUElUHT+GPYV8MBMBvea/j+NxQqVt3LbWMRir7Gx9g==",
4520
+ "license": "MIT",
4521
+ "engines": {
4522
+ "node": ">=16"
4523
+ },
4524
+ "funding": {
4525
+ "url": "https://github.com/sponsors/sindresorhus"
4526
+ }
4527
+ },
4277
4528
  "node_modules/is-number": {
4278
4529
  "version": "7.0.0",
4279
4530
  "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
@@ -4440,8 +4691,7 @@
4440
4691
  "node_modules/lodash": {
4441
4692
  "version": "4.17.21",
4442
4693
  "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
4443
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
4444
- "dev": true
4694
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
4445
4695
  },
4446
4696
  "node_modules/lodash-es": {
4447
4697
  "version": "4.17.21",
@@ -4554,6 +4804,12 @@
4554
4804
  "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
4555
4805
  "dev": true
4556
4806
  },
4807
+ "node_modules/memoize-one": {
4808
+ "version": "6.0.0",
4809
+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz",
4810
+ "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==",
4811
+ "license": "MIT"
4812
+ },
4557
4813
  "node_modules/merge2": {
4558
4814
  "version": "1.4.1",
4559
4815
  "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
@@ -4720,10 +4976,20 @@
4720
4976
  "node": ">=8.6"
4721
4977
  }
4722
4978
  },
4979
+ "node_modules/mime-match": {
4980
+ "version": "1.0.2",
4981
+ "resolved": "https://registry.npmjs.org/mime-match/-/mime-match-1.0.2.tgz",
4982
+ "integrity": "sha512-VXp/ugGDVh3eCLOBCiHZMYWQaTNUHv2IJrut+yXA6+JbLPXHglHwfS/5A5L0ll+jkCY7fIzRJcH6OIunF+c6Cg==",
4983
+ "license": "ISC",
4984
+ "dependencies": {
4985
+ "wildcard": "^1.1.0"
4986
+ }
4987
+ },
4723
4988
  "node_modules/mini-svg-data-uri": {
4724
4989
  "version": "1.4.4",
4725
4990
  "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz",
4726
4991
  "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==",
4992
+ "dev": true,
4727
4993
  "bin": {
4728
4994
  "mini-svg-data-uri": "cli.js"
4729
4995
  }
@@ -4818,10 +5084,16 @@
4818
5084
  "thenify-all": "^1.0.0"
4819
5085
  }
4820
5086
  },
5087
+ "node_modules/namespace-emitter": {
5088
+ "version": "2.0.1",
5089
+ "resolved": "https://registry.npmjs.org/namespace-emitter/-/namespace-emitter-2.0.1.tgz",
5090
+ "integrity": "sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==",
5091
+ "license": "MIT"
5092
+ },
4821
5093
  "node_modules/nanoid": {
4822
- "version": "3.3.7",
4823
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
4824
- "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
5094
+ "version": "3.3.8",
5095
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
5096
+ "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==",
4825
5097
  "dev": true,
4826
5098
  "funding": [
4827
5099
  {
@@ -4829,6 +5101,7 @@
4829
5101
  "url": "https://github.com/sponsors/ai"
4830
5102
  }
4831
5103
  ],
5104
+ "license": "MIT",
4832
5105
  "bin": {
4833
5106
  "nanoid": "bin/nanoid.cjs"
4834
5107
  },
@@ -4911,6 +5184,60 @@
4911
5184
  "url": "https://github.com/sponsors/antfu"
4912
5185
  }
4913
5186
  },
5187
+ "node_modules/p-queue": {
5188
+ "version": "8.0.1",
5189
+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.0.1.tgz",
5190
+ "integrity": "sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==",
5191
+ "license": "MIT",
5192
+ "dependencies": {
5193
+ "eventemitter3": "^5.0.1",
5194
+ "p-timeout": "^6.1.2"
5195
+ },
5196
+ "engines": {
5197
+ "node": ">=18"
5198
+ },
5199
+ "funding": {
5200
+ "url": "https://github.com/sponsors/sindresorhus"
5201
+ }
5202
+ },
5203
+ "node_modules/p-retry": {
5204
+ "version": "6.2.1",
5205
+ "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.1.tgz",
5206
+ "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==",
5207
+ "license": "MIT",
5208
+ "dependencies": {
5209
+ "@types/retry": "0.12.2",
5210
+ "is-network-error": "^1.0.0",
5211
+ "retry": "^0.13.1"
5212
+ },
5213
+ "engines": {
5214
+ "node": ">=16.17"
5215
+ },
5216
+ "funding": {
5217
+ "url": "https://github.com/sponsors/sindresorhus"
5218
+ }
5219
+ },
5220
+ "node_modules/p-retry/node_modules/retry": {
5221
+ "version": "0.13.1",
5222
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz",
5223
+ "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==",
5224
+ "license": "MIT",
5225
+ "engines": {
5226
+ "node": ">= 4"
5227
+ }
5228
+ },
5229
+ "node_modules/p-timeout": {
5230
+ "version": "6.1.3",
5231
+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.3.tgz",
5232
+ "integrity": "sha512-UJUyfKbwvr/uZSV6btANfb+0t/mOhKV/KXcCUTp8FcQI+v/0d+wXqH4htrW0E4rR6WiEO/EPvUFiV9D5OI4vlw==",
5233
+ "license": "MIT",
5234
+ "engines": {
5235
+ "node": ">=14.16"
5236
+ },
5237
+ "funding": {
5238
+ "url": "https://github.com/sponsors/sindresorhus"
5239
+ }
5240
+ },
4914
5241
  "node_modules/package-manager-detector": {
4915
5242
  "version": "0.2.2",
4916
5243
  "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-0.2.2.tgz",
@@ -5721,7 +6048,6 @@
5721
6048
  "version": "10.24.3",
5722
6049
  "resolved": "https://registry.npmjs.org/preact/-/preact-10.24.3.tgz",
5723
6050
  "integrity": "sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==",
5724
- "dev": true,
5725
6051
  "license": "MIT",
5726
6052
  "funding": {
5727
6053
  "type": "opencollective",
@@ -5983,6 +6309,12 @@
5983
6309
  "license": "MIT",
5984
6310
  "peer": true
5985
6311
  },
6312
+ "node_modules/shallow-equal": {
6313
+ "version": "3.1.0",
6314
+ "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-3.1.0.tgz",
6315
+ "integrity": "sha512-pfVOw8QZIXpMbhBWvzBISicvToTiM5WBF1EeAUZDDSb5Dt29yl4AYbyywbJFSEsRUMr7gJaxqCdr4L3tQf9wVg==",
6316
+ "license": "MIT"
6317
+ },
5986
6318
  "node_modules/shebang-command": {
5987
6319
  "version": "2.0.0",
5988
6320
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -7269,6 +7601,12 @@
7269
7601
  "node": ">= 8"
7270
7602
  }
7271
7603
  },
7604
+ "node_modules/wildcard": {
7605
+ "version": "1.1.2",
7606
+ "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-1.1.2.tgz",
7607
+ "integrity": "sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==",
7608
+ "license": "MIT"
7609
+ },
7272
7610
  "node_modules/wrap-ansi": {
7273
7611
  "version": "8.1.0",
7274
7612
  "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radioactive-labs/plutonium",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Core assets for the Plutonium gem",
5
5
  "type": "module",
6
6
  "main": "src/js/core.js",
@@ -20,8 +20,12 @@
20
20
  "dependencies": {
21
21
  "@hotwired/stimulus": "^3.2.2",
22
22
  "@hotwired/turbo": "^8.0.4",
23
+ "@popperjs/core": "^2.11.8",
24
+ "@uppy/core": "^4.3.1",
25
+ "@uppy/dashboard": "^4.1.3",
26
+ "@uppy/image-editor": "^3.2.1",
27
+ "@uppy/xhr-upload": "^4.2.3",
23
28
  "dompurify": "^3.2.2",
24
- "flowbite": "^2.3.0",
25
29
  "lodash.debounce": "^4.0.8",
26
30
  "marked": "^15.0.3"
27
31
  },
@@ -1,6 +1,9 @@
1
1
  @import "core.css";
2
2
  @import "easymde.css";
3
3
  @import "slim_select.css";
4
+ @import "@uppy/core/dist/style.min";
5
+ @import "@uppy/dashboard/dist/style.min";
6
+ @import "@uppy/image-editor/dist/style.min";
4
7
 
5
8
  @tailwind base;
6
9
  @tailwind components;