trestle 0.9.9 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +26 -0
  3. data/.github/workflows/rspec.yml +37 -5
  4. data/.gitignore +3 -0
  5. data/Gemfile +14 -1
  6. data/README.md +3 -2
  7. data/app/assets/bundle/trestle/admin.css +23 -0
  8. data/app/assets/bundle/trestle/admin.js +83 -0
  9. data/app/assets/bundle/trestle/fa-brands-400.ttf +0 -0
  10. data/app/assets/bundle/trestle/fa-brands-400.woff2 +0 -0
  11. data/app/assets/bundle/trestle/fa-regular-400.ttf +0 -0
  12. data/app/assets/bundle/trestle/fa-regular-400.woff2 +0 -0
  13. data/app/assets/bundle/trestle/fa-solid-900.ttf +0 -0
  14. data/app/assets/bundle/trestle/fa-solid-900.woff2 +0 -0
  15. data/app/assets/bundle/trestle/locale/cs.js +110 -0
  16. data/app/assets/bundle/trestle/locale/de.js +116 -0
  17. data/app/assets/bundle/trestle/locale/en.js +329 -0
  18. data/app/assets/bundle/trestle/locale/es-MX.js +109 -0
  19. data/app/assets/bundle/trestle/locale/es.js +109 -0
  20. data/app/assets/bundle/trestle/locale/fr.js +111 -0
  21. data/app/assets/bundle/trestle/locale/ko.js +111 -0
  22. data/app/assets/bundle/trestle/locale/lv.js +109 -0
  23. data/app/assets/bundle/trestle/locale/nl.js +96 -0
  24. data/app/assets/bundle/trestle/locale/pl.js +99 -0
  25. data/app/assets/bundle/trestle/locale/pt-BR.js +98 -0
  26. data/app/assets/bundle/trestle/locale/vi.js +116 -0
  27. data/app/assets/bundle/trestle/locale/zh-CN.js +109 -0
  28. data/app/assets/bundle/trestle/photoswipe-063ce7be40e10b3e6848.digested.js +6 -0
  29. data/app/assets/sprockets/trestle/custom.css +1 -0
  30. data/app/assets/sprockets/trestle/icons/font-awesome.css.erb +32 -0
  31. data/app/assets/sprockets/trestle/manifest.js +4 -0
  32. data/app/assets/stylesheets/trestle/custom.css +6 -1
  33. data/app/controllers/concerns/trestle/controller/helpers.rb +2 -0
  34. data/app/controllers/concerns/trestle/controller/location.rb +1 -6
  35. data/app/controllers/concerns/trestle/controller/modal.rb +25 -0
  36. data/app/controllers/concerns/trestle/controller/turbo_stream.rb +12 -0
  37. data/app/controllers/concerns/trestle/resource/controller/actions.rb +39 -28
  38. data/app/controllers/concerns/trestle/resource/controller/redirection.rb +5 -5
  39. data/app/controllers/trestle/application_controller.rb +2 -1
  40. data/app/helpers/trestle/flash_helper.rb +10 -0
  41. data/app/helpers/trestle/form_helper.rb +3 -2
  42. data/app/helpers/trestle/format_helper.rb +2 -1
  43. data/app/helpers/trestle/i18n_helper.rb +46 -7
  44. data/app/helpers/trestle/modal_helper.rb +29 -0
  45. data/app/helpers/trestle/tab_helper.rb +1 -1
  46. data/app/helpers/trestle/turbo/frame_helper.rb +29 -0
  47. data/app/helpers/trestle/turbo/stream_helper.rb +9 -0
  48. data/app/helpers/trestle/turbo/tag_builder.rb +21 -0
  49. data/app/helpers/trestle/url_helper.rb +7 -4
  50. data/app/views/layouts/trestle/admin.html.erb +16 -18
  51. data/app/views/layouts/trestle/admin.turbo_stream.erb +4 -0
  52. data/app/views/layouts/trestle/modal.html.erb +5 -0
  53. data/app/views/trestle/_i18n.html.erb +12 -0
  54. data/app/views/trestle/_theme.html.erb +15 -0
  55. data/app/views/trestle/application/_header.html.erb +12 -10
  56. data/app/views/trestle/application/_layout.html.erb +6 -3
  57. data/app/views/trestle/application/_modal.html.erb +36 -0
  58. data/app/views/trestle/application/_tabs.html.erb +4 -4
  59. data/app/views/trestle/flash/_alert.html.erb +1 -1
  60. data/app/views/trestle/flash/_debug.html.erb +1 -1
  61. data/app/views/trestle/resource/_form.html.erb +5 -0
  62. data/app/views/trestle/resource/create.turbo_stream.erb +1 -0
  63. data/app/views/trestle/resource/destroy.turbo_stream.erb +1 -0
  64. data/app/views/trestle/resource/edit.html.erb +6 -2
  65. data/app/views/trestle/resource/index.html.erb +17 -10
  66. data/app/views/trestle/resource/new.html.erb +9 -2
  67. data/app/views/trestle/resource/show.html.erb +6 -2
  68. data/app/views/trestle/resource/update.turbo_stream.erb +1 -0
  69. data/app/views/trestle/shared/_sidebar.html.erb +10 -10
  70. data/frontend/css/components/_alerts.scss +41 -37
  71. data/frontend/css/components/_avatar.scss +12 -12
  72. data/frontend/css/components/_background.scss +8 -36
  73. data/frontend/css/components/_badges.scss +31 -0
  74. data/frontend/css/components/_breadcrumbs.scss +9 -30
  75. data/frontend/css/components/_buttons.scss +8 -7
  76. data/frontend/css/components/_datepicker.scss +15 -11
  77. data/frontend/css/components/_dropdown.scss +21 -9
  78. data/frontend/css/components/{_fields.scss → _forms.scss} +18 -5
  79. data/frontend/css/components/_grid.scss +29 -0
  80. data/frontend/css/components/_media-grid.scss +52 -44
  81. data/frontend/css/components/_modal.scss +37 -8
  82. data/frontend/css/components/_pagination.scss +5 -9
  83. data/frontend/css/components/_photoswipe.scss +8 -0
  84. data/frontend/css/components/_popover.scss +2 -1
  85. data/frontend/css/components/_scopes.scss +5 -11
  86. data/frontend/css/components/_select.scss +160 -31
  87. data/frontend/css/components/_sort.scss +1 -1
  88. data/frontend/css/components/_table.scss +61 -66
  89. data/frontend/css/components/_tabs.scss +20 -20
  90. data/frontend/css/components/_tags.scss +80 -15
  91. data/frontend/css/components/_toolbars.scss +18 -13
  92. data/frontend/css/components/_turbo.scss +3 -0
  93. data/frontend/css/core/_bootstrap.scss +46 -0
  94. data/frontend/css/core/_dependencies.scss +4 -3
  95. data/frontend/css/core/_functions.scss +31 -0
  96. data/frontend/css/core/_mixins.scss +2 -36
  97. data/frontend/css/core/_theme.scss +261 -0
  98. data/frontend/css/core/_typography.scss +16 -14
  99. data/frontend/css/icons/_fontawesome.scss +3 -15
  100. data/frontend/css/index.scss +15 -7
  101. data/frontend/css/layout/_base.scss +6 -4
  102. data/frontend/css/layout/_content-header.scss +71 -0
  103. data/frontend/css/layout/_footer.scss +5 -7
  104. data/frontend/css/layout/_header.scss +5 -3
  105. data/frontend/css/layout/_main-content.scss +107 -0
  106. data/frontend/css/layout/_navigation.scss +112 -50
  107. data/frontend/css/layout/_sidebar.scss +72 -36
  108. data/frontend/css/support/_sprockets.scss +2 -0
  109. data/frontend/css/support/_webpack.scss +2 -0
  110. data/frontend/css/variables/_bootstrap.scss +158 -55
  111. data/frontend/css/variables/_maps.scss +15 -0
  112. data/frontend/css/variables/_trestle.scss +70 -38
  113. data/frontend/js/controllers/application_controller.js +17 -0
  114. data/frontend/js/controllers/batch_action_controller.js +59 -0
  115. data/frontend/js/controllers/checkbox_select_controller.js +46 -0
  116. data/frontend/js/controllers/confirm_controller.js +115 -0
  117. data/frontend/js/controllers/confirm_delete_controller.js +11 -0
  118. data/frontend/js/controllers/datepicker_controller.js +12 -0
  119. data/frontend/js/controllers/datetimepicker_controller.js +13 -0
  120. data/frontend/js/controllers/deprecated/init_controller.js +9 -0
  121. data/frontend/js/controllers/flatpickr_controller.js +50 -0
  122. data/frontend/js/controllers/follow_url_controller.js +36 -0
  123. data/frontend/js/controllers/form_error_controller.js +24 -0
  124. data/frontend/js/controllers/form_loading_controller.js +50 -0
  125. data/frontend/js/controllers/gallery_controller.js +12 -0
  126. data/frontend/js/controllers/index.js +19 -0
  127. data/frontend/js/controllers/keyboard_submit_controller.js +25 -0
  128. data/frontend/js/controllers/lightbox_controller.js +158 -0
  129. data/frontend/js/controllers/mobile_sidebar_controller.js +30 -0
  130. data/frontend/js/controllers/modal_controller.js +36 -0
  131. data/frontend/js/controllers/modal_frame_controller.js +11 -0
  132. data/frontend/js/controllers/modal_trigger_controller.js +74 -0
  133. data/frontend/js/{components/navigation.js → controllers/navigation_controller.js} +14 -10
  134. data/frontend/js/controllers/navigation_tooltip_controller.js +32 -0
  135. data/frontend/js/controllers/popover_controller.js +87 -0
  136. data/frontend/js/controllers/reloadable_controller.js +34 -0
  137. data/frontend/js/controllers/select_controller.js +49 -0
  138. data/frontend/js/controllers/sidebar_controller.js +33 -0
  139. data/frontend/js/controllers/tab_errors_controller.js +45 -0
  140. data/frontend/js/controllers/tabs_controller.js +45 -0
  141. data/frontend/js/controllers/timepicker_controller.js +14 -0
  142. data/frontend/js/controllers/toggle_attr_controller.js +27 -0
  143. data/frontend/js/controllers/toggle_class_controller.js +27 -0
  144. data/frontend/js/controllers/tooltip_controller.js +13 -0
  145. data/frontend/js/controllers/wrapper_controller.js +43 -0
  146. data/frontend/js/core/backdrop.js +100 -0
  147. data/frontend/js/core/error_modal.js +65 -0
  148. data/frontend/js/core/fetch.js +32 -0
  149. data/frontend/js/core/i18n.js +24 -10
  150. data/frontend/js/core/modal.js +52 -0
  151. data/frontend/js/core/stream_actions.js +56 -0
  152. data/frontend/js/core/turbo_errors.js +9 -0
  153. data/frontend/js/{core → deprecated}/events.js +1 -8
  154. data/frontend/js/deprecated/tooltip.js +8 -0
  155. data/frontend/js/index.js +28 -40
  156. data/frontend/js/mixins/index.js +5 -0
  157. data/frontend/js/mixins/photoswipe.js +10 -0
  158. data/frontend/js/util/bootstrap.js +93 -0
  159. data/i18n/config.yml +14 -0
  160. data/i18n/environment.rb +8 -0
  161. data/i18n/export +3 -0
  162. data/i18n/template.erb +1 -0
  163. data/lib/generators/trestle/install/install_generator.rb +3 -8
  164. data/lib/generators/trestle/install/templates/trestle.rb.erb +5 -5
  165. data/lib/trestle/color.rb +113 -0
  166. data/lib/trestle/configuration.rb +16 -8
  167. data/lib/trestle/engine.rb +28 -20
  168. data/lib/trestle/form/fields/check_box_helpers.rb +7 -18
  169. data/lib/trestle/form/fields/collection_select.rb +1 -1
  170. data/lib/trestle/form/fields/color_field.rb +4 -0
  171. data/lib/trestle/form/fields/date_field.rb +4 -0
  172. data/lib/trestle/form/fields/date_picker.rb +10 -4
  173. data/lib/trestle/form/fields/date_select.rb +1 -1
  174. data/lib/trestle/form/fields/datetime_field.rb +4 -0
  175. data/lib/trestle/form/fields/datetime_select.rb +1 -1
  176. data/lib/trestle/form/fields/file_field.rb +3 -28
  177. data/lib/trestle/form/fields/form_control.rb +2 -2
  178. data/lib/trestle/form/fields/form_group.rb +1 -1
  179. data/lib/trestle/form/fields/grouped_collection_select.rb +1 -1
  180. data/lib/trestle/form/fields/radio_button_helpers.rb +5 -17
  181. data/lib/trestle/form/fields/range_field.rb +1 -5
  182. data/lib/trestle/form/fields/select.rb +17 -1
  183. data/lib/trestle/form/fields/time_field.rb +4 -0
  184. data/lib/trestle/form/fields/time_select.rb +1 -1
  185. data/lib/trestle/form/fields/time_zone_select.rb +1 -1
  186. data/lib/trestle/form/renderer.rb +4 -1
  187. data/lib/trestle/form.rb +16 -1
  188. data/lib/trestle/resource/toolbar.rb +18 -8
  189. data/lib/trestle/sprockets_compressor.rb +16 -0
  190. data/lib/trestle/table/actions_column.rb +2 -2
  191. data/lib/trestle/table/row.rb +2 -1
  192. data/lib/trestle/table/select_column.rb +3 -6
  193. data/lib/trestle/table.rb +6 -1
  194. data/lib/trestle/toolbar/context.rb +7 -4
  195. data/lib/trestle/toolbar/item.rb +1 -1
  196. data/lib/trestle/toolbar/menu.rb +11 -11
  197. data/lib/trestle/version.rb +1 -1
  198. data/lib/trestle.rb +2 -23
  199. data/package.json +31 -27
  200. data/trestle.gemspec +6 -11
  201. data/webpack.config.js +10 -10
  202. data/yarn.lock +1523 -1274
  203. metadata +177 -210
  204. data/app/assets/bundle/trestle/bundle.css +0 -12
  205. data/app/assets/bundle/trestle/bundle.js +0 -89
  206. data/app/assets/bundle/trestle/fa-brands-400.eot +0 -0
  207. data/app/assets/bundle/trestle/fa-brands-400.svg +0 -3717
  208. data/app/assets/bundle/trestle/fa-brands-400.woff +0 -0
  209. data/app/assets/bundle/trestle/fa-regular-400.eot +0 -0
  210. data/app/assets/bundle/trestle/fa-regular-400.svg +0 -801
  211. data/app/assets/bundle/trestle/fa-regular-400.woff +0 -0
  212. data/app/assets/bundle/trestle/fa-solid-900.eot +0 -0
  213. data/app/assets/bundle/trestle/fa-solid-900.svg +0 -5034
  214. data/app/assets/bundle/trestle/fa-solid-900.woff +0 -0
  215. data/app/assets/javascripts/trestle/admin.js +0 -3
  216. data/app/assets/javascripts/trestle/i18n.js.erb +0 -8
  217. data/app/assets/stylesheets/trestle/admin.css +0 -2
  218. data/app/assets/stylesheets/trestle/icons/_font-awesome.css.erb +0 -40
  219. data/app/controllers/concerns/trestle/controller/dialog.rb +0 -16
  220. data/app/views/trestle/application/_dialog.html.erb +0 -34
  221. data/frontend/css/components/_color-vars.scss +0 -10
  222. data/frontend/css/components/_custom-forms.scss +0 -35
  223. data/frontend/css/components/_magnific-popup.scss +0 -36
  224. data/frontend/css/components/_turbolinks.scss +0 -3
  225. data/frontend/css/layout/_content.scss +0 -169
  226. data/frontend/js/components/confirmation.js +0 -32
  227. data/frontend/js/components/datepicker.js +0 -69
  228. data/frontend/js/components/dialog.js +0 -149
  229. data/frontend/js/components/file.js +0 -7
  230. data/frontend/js/components/form.js +0 -100
  231. data/frontend/js/components/gallery.js +0 -33
  232. data/frontend/js/components/pagination.js +0 -51
  233. data/frontend/js/components/select.js +0 -18
  234. data/frontend/js/components/sidebar.js +0 -75
  235. data/frontend/js/components/table.js +0 -61
  236. data/frontend/js/components/tabs.js +0 -59
  237. data/frontend/js/components/tooltips.js +0 -25
  238. data/frontend/js/core/contexts.js +0 -17
  239. data/frontend/js/core/turbolinks.js +0 -3
  240. data/frontend/js/core/visit.js +0 -16
  241. data/frontend/theme/trestle/_theme.scss +0 -4
  242. data/frontend/theme/trestle/_variables.scss +0 -4
  243. data/frontend/theme/trestle/theme/_defaults.scss +0 -152
  244. data/frontend/theme/trestle/theme/_functions.scss +0 -44
  245. data/frontend/theme/trestle/theme/_variables.scss +0 -15
  246. data/frontend/theme/trestle/theme/bootstrap/_alert.scss +0 -19
  247. data/frontend/theme/trestle/theme/bootstrap/_badge.scss +0 -25
  248. data/frontend/theme/trestle/theme/bootstrap/_buttons.scss +0 -93
  249. data/frontend/theme/trestle/theme/bootstrap/_color-vars.scss +0 -11
  250. data/frontend/theme/trestle/theme/bootstrap/_custom-forms.scss +0 -93
  251. data/frontend/theme/trestle/theme/bootstrap/_dropdown.scss +0 -6
  252. data/frontend/theme/trestle/theme/bootstrap/_forms.scss +0 -6
  253. data/frontend/theme/trestle/theme/bootstrap/_links.scss +0 -7
  254. data/frontend/theme/trestle/theme/bootstrap/_list-group.scss +0 -31
  255. data/frontend/theme/trestle/theme/bootstrap/_nav.scss +0 -6
  256. data/frontend/theme/trestle/theme/bootstrap/_pagination.scss +0 -18
  257. data/frontend/theme/trestle/theme/bootstrap/_progress.scss +0 -3
  258. data/frontend/theme/trestle/theme/bootstrap/_tables.scss +0 -41
  259. data/frontend/theme/trestle/theme/bootstrap/_utilities.scss +0 -3
  260. data/frontend/theme/trestle/theme/bootstrap/utilities/_background.scss +0 -17
  261. data/frontend/theme/trestle/theme/bootstrap/utilities/_borders.scss +0 -5
  262. data/frontend/theme/trestle/theme/bootstrap/utilities/_text.scss +0 -18
  263. data/frontend/theme/trestle/theme/trestle/_background.scss +0 -61
  264. data/frontend/theme/trestle/theme/trestle/_datepicker.scss +0 -58
  265. data/frontend/theme/trestle/theme/trestle/_headers.scss +0 -4
  266. data/frontend/theme/trestle/theme/trestle/_navbar.scss +0 -15
  267. data/frontend/theme/trestle/theme/trestle/_navigation.scss +0 -5
  268. data/frontend/theme/trestle/theme/trestle/_select2.scss +0 -22
  269. data/frontend/theme/trestle/theme/trestle/_tags.scss +0 -12
  270. data/frontend/theme/trestle/theme/trestle/_turbolinks.scss +0 -3
  271. data/frontend/theme/trestle/theme.scss +0 -29
  272. data/lib/generators/trestle/install/templates/_theme.scss +0 -13
  273. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ar-dz.js +0 -0
  274. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ar.js +0 -0
  275. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/at.js +0 -0
  276. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/az.js +0 -0
  277. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/be.js +0 -0
  278. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bg.js +0 -0
  279. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bn.js +0 -0
  280. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bs.js +0 -0
  281. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cat.js +0 -0
  282. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ckb.js +0 -0
  283. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cs.js +0 -0
  284. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cy.js +0 -0
  285. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/da.js +0 -0
  286. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/de.js +0 -0
  287. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/default.js +0 -0
  288. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/eo.js +0 -0
  289. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/es.js +0 -0
  290. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/et.js +0 -0
  291. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fa.js +0 -0
  292. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fi.js +0 -0
  293. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fo.js +0 -0
  294. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fr.js +0 -0
  295. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ga.js +0 -0
  296. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/gr.js +0 -0
  297. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/he.js +0 -0
  298. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hi.js +0 -0
  299. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hr.js +0 -0
  300. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hu.js +0 -0
  301. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hy.js +0 -0
  302. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/id.js +0 -0
  303. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/is.js +0 -0
  304. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/it.js +0 -0
  305. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ja.js +0 -0
  306. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ka.js +0 -0
  307. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/km.js +0 -0
  308. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ko.js +0 -0
  309. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/kz.js +0 -0
  310. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/lt.js +0 -0
  311. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/lv.js +0 -0
  312. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/mk.js +0 -0
  313. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/mn.js +0 -0
  314. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ms.js +0 -0
  315. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/my.js +0 -0
  316. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/nl.js +0 -0
  317. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/nn.js +0 -0
  318. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/no.js +0 -0
  319. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pa.js +0 -0
  320. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pl.js +0 -0
  321. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pt.js +0 -0
  322. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ro.js +0 -0
  323. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ru.js +0 -0
  324. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/si.js +0 -0
  325. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sk.js +0 -0
  326. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sl.js +0 -0
  327. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sq.js +0 -0
  328. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sr-cyr.js +0 -0
  329. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sr.js +0 -0
  330. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sv.js +0 -0
  331. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/th.js +0 -0
  332. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/tr.js +0 -0
  333. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uk.js +0 -0
  334. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uz.js +0 -0
  335. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uz_latn.js +0 -0
  336. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/vn.js +0 -0
  337. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/zh-tw.js +0 -0
  338. /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/zh.js +0 -0
  339. /data/app/assets/{stylesheets → sprockets}/trestle/_custom.css +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trestle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 5.2.0
33
+ version: 6.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 5.2.0
40
+ version: 6.0.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: sprockets-rails
42
+ name: turbo-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.0
47
+ version: 2.0.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.0
54
+ version: 2.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: kaminari
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -122,62 +122,6 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.1.5
125
- - !ruby/object:Gem::Dependency
126
- name: bundler
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: rake
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: sqlite3
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: turbolinks
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
125
  description: Trestle is a modern, responsive admin framework for Ruby on Rails.
182
126
  email:
183
127
  - sam@sampohlenz.com
@@ -188,6 +132,7 @@ files:
188
132
  - ".babelrc"
189
133
  - ".browserslistrc"
190
134
  - ".gitattributes"
135
+ - ".github/workflows/release.yml"
191
136
  - ".github/workflows/rspec.yml"
192
137
  - ".gitignore"
193
138
  - ".rspec"
@@ -197,104 +142,109 @@ files:
197
142
  - LICENSE
198
143
  - README.md
199
144
  - Rakefile
200
- - app/assets/bundle/trestle/bundle.css
201
- - app/assets/bundle/trestle/bundle.js
202
- - app/assets/bundle/trestle/fa-brands-400.eot
203
- - app/assets/bundle/trestle/fa-brands-400.svg
145
+ - app/assets/bundle/trestle/admin.css
146
+ - app/assets/bundle/trestle/admin.js
204
147
  - app/assets/bundle/trestle/fa-brands-400.ttf
205
- - app/assets/bundle/trestle/fa-brands-400.woff
206
148
  - app/assets/bundle/trestle/fa-brands-400.woff2
207
- - app/assets/bundle/trestle/fa-regular-400.eot
208
- - app/assets/bundle/trestle/fa-regular-400.svg
209
149
  - app/assets/bundle/trestle/fa-regular-400.ttf
210
- - app/assets/bundle/trestle/fa-regular-400.woff
211
150
  - app/assets/bundle/trestle/fa-regular-400.woff2
212
- - app/assets/bundle/trestle/fa-solid-900.eot
213
- - app/assets/bundle/trestle/fa-solid-900.svg
214
151
  - app/assets/bundle/trestle/fa-solid-900.ttf
215
- - app/assets/bundle/trestle/fa-solid-900.woff
216
152
  - app/assets/bundle/trestle/fa-solid-900.woff2
217
- - app/assets/bundle/trestle/flatpickr/ar-dz.js
218
- - app/assets/bundle/trestle/flatpickr/ar.js
219
- - app/assets/bundle/trestle/flatpickr/at.js
220
- - app/assets/bundle/trestle/flatpickr/az.js
221
- - app/assets/bundle/trestle/flatpickr/be.js
222
- - app/assets/bundle/trestle/flatpickr/bg.js
223
- - app/assets/bundle/trestle/flatpickr/bn.js
224
- - app/assets/bundle/trestle/flatpickr/bs.js
225
- - app/assets/bundle/trestle/flatpickr/cat.js
226
- - app/assets/bundle/trestle/flatpickr/ckb.js
227
- - app/assets/bundle/trestle/flatpickr/cs.js
228
- - app/assets/bundle/trestle/flatpickr/cy.js
229
- - app/assets/bundle/trestle/flatpickr/da.js
230
- - app/assets/bundle/trestle/flatpickr/de.js
231
- - app/assets/bundle/trestle/flatpickr/default.js
232
- - app/assets/bundle/trestle/flatpickr/eo.js
233
- - app/assets/bundle/trestle/flatpickr/es.js
234
- - app/assets/bundle/trestle/flatpickr/et.js
235
- - app/assets/bundle/trestle/flatpickr/fa.js
236
- - app/assets/bundle/trestle/flatpickr/fi.js
237
- - app/assets/bundle/trestle/flatpickr/fo.js
238
- - app/assets/bundle/trestle/flatpickr/fr.js
239
- - app/assets/bundle/trestle/flatpickr/ga.js
240
- - app/assets/bundle/trestle/flatpickr/gr.js
241
- - app/assets/bundle/trestle/flatpickr/he.js
242
- - app/assets/bundle/trestle/flatpickr/hi.js
243
- - app/assets/bundle/trestle/flatpickr/hr.js
244
- - app/assets/bundle/trestle/flatpickr/hu.js
245
- - app/assets/bundle/trestle/flatpickr/hy.js
246
- - app/assets/bundle/trestle/flatpickr/id.js
247
- - app/assets/bundle/trestle/flatpickr/is.js
248
- - app/assets/bundle/trestle/flatpickr/it.js
249
- - app/assets/bundle/trestle/flatpickr/ja.js
250
- - app/assets/bundle/trestle/flatpickr/ka.js
251
- - app/assets/bundle/trestle/flatpickr/km.js
252
- - app/assets/bundle/trestle/flatpickr/ko.js
253
- - app/assets/bundle/trestle/flatpickr/kz.js
254
- - app/assets/bundle/trestle/flatpickr/lt.js
255
- - app/assets/bundle/trestle/flatpickr/lv.js
256
- - app/assets/bundle/trestle/flatpickr/mk.js
257
- - app/assets/bundle/trestle/flatpickr/mn.js
258
- - app/assets/bundle/trestle/flatpickr/ms.js
259
- - app/assets/bundle/trestle/flatpickr/my.js
260
- - app/assets/bundle/trestle/flatpickr/nl.js
261
- - app/assets/bundle/trestle/flatpickr/nn.js
262
- - app/assets/bundle/trestle/flatpickr/no.js
263
- - app/assets/bundle/trestle/flatpickr/pa.js
264
- - app/assets/bundle/trestle/flatpickr/pl.js
265
- - app/assets/bundle/trestle/flatpickr/pt.js
266
- - app/assets/bundle/trestle/flatpickr/ro.js
267
- - app/assets/bundle/trestle/flatpickr/ru.js
268
- - app/assets/bundle/trestle/flatpickr/si.js
269
- - app/assets/bundle/trestle/flatpickr/sk.js
270
- - app/assets/bundle/trestle/flatpickr/sl.js
271
- - app/assets/bundle/trestle/flatpickr/sq.js
272
- - app/assets/bundle/trestle/flatpickr/sr-cyr.js
273
- - app/assets/bundle/trestle/flatpickr/sr.js
274
- - app/assets/bundle/trestle/flatpickr/sv.js
275
- - app/assets/bundle/trestle/flatpickr/th.js
276
- - app/assets/bundle/trestle/flatpickr/tr.js
277
- - app/assets/bundle/trestle/flatpickr/uk.js
278
- - app/assets/bundle/trestle/flatpickr/uz.js
279
- - app/assets/bundle/trestle/flatpickr/uz_latn.js
280
- - app/assets/bundle/trestle/flatpickr/vn.js
281
- - app/assets/bundle/trestle/flatpickr/zh-tw.js
282
- - app/assets/bundle/trestle/flatpickr/zh.js
283
- - app/assets/javascripts/trestle/admin.js
153
+ - app/assets/bundle/trestle/locale/cs.js
154
+ - app/assets/bundle/trestle/locale/de.js
155
+ - app/assets/bundle/trestle/locale/en.js
156
+ - app/assets/bundle/trestle/locale/es-MX.js
157
+ - app/assets/bundle/trestle/locale/es.js
158
+ - app/assets/bundle/trestle/locale/flatpickr/ar-dz.js
159
+ - app/assets/bundle/trestle/locale/flatpickr/ar.js
160
+ - app/assets/bundle/trestle/locale/flatpickr/at.js
161
+ - app/assets/bundle/trestle/locale/flatpickr/az.js
162
+ - app/assets/bundle/trestle/locale/flatpickr/be.js
163
+ - app/assets/bundle/trestle/locale/flatpickr/bg.js
164
+ - app/assets/bundle/trestle/locale/flatpickr/bn.js
165
+ - app/assets/bundle/trestle/locale/flatpickr/bs.js
166
+ - app/assets/bundle/trestle/locale/flatpickr/cat.js
167
+ - app/assets/bundle/trestle/locale/flatpickr/ckb.js
168
+ - app/assets/bundle/trestle/locale/flatpickr/cs.js
169
+ - app/assets/bundle/trestle/locale/flatpickr/cy.js
170
+ - app/assets/bundle/trestle/locale/flatpickr/da.js
171
+ - app/assets/bundle/trestle/locale/flatpickr/de.js
172
+ - app/assets/bundle/trestle/locale/flatpickr/default.js
173
+ - app/assets/bundle/trestle/locale/flatpickr/eo.js
174
+ - app/assets/bundle/trestle/locale/flatpickr/es.js
175
+ - app/assets/bundle/trestle/locale/flatpickr/et.js
176
+ - app/assets/bundle/trestle/locale/flatpickr/fa.js
177
+ - app/assets/bundle/trestle/locale/flatpickr/fi.js
178
+ - app/assets/bundle/trestle/locale/flatpickr/fo.js
179
+ - app/assets/bundle/trestle/locale/flatpickr/fr.js
180
+ - app/assets/bundle/trestle/locale/flatpickr/ga.js
181
+ - app/assets/bundle/trestle/locale/flatpickr/gr.js
182
+ - app/assets/bundle/trestle/locale/flatpickr/he.js
183
+ - app/assets/bundle/trestle/locale/flatpickr/hi.js
184
+ - app/assets/bundle/trestle/locale/flatpickr/hr.js
185
+ - app/assets/bundle/trestle/locale/flatpickr/hu.js
186
+ - app/assets/bundle/trestle/locale/flatpickr/hy.js
187
+ - app/assets/bundle/trestle/locale/flatpickr/id.js
188
+ - app/assets/bundle/trestle/locale/flatpickr/is.js
189
+ - app/assets/bundle/trestle/locale/flatpickr/it.js
190
+ - app/assets/bundle/trestle/locale/flatpickr/ja.js
191
+ - app/assets/bundle/trestle/locale/flatpickr/ka.js
192
+ - app/assets/bundle/trestle/locale/flatpickr/km.js
193
+ - app/assets/bundle/trestle/locale/flatpickr/ko.js
194
+ - app/assets/bundle/trestle/locale/flatpickr/kz.js
195
+ - app/assets/bundle/trestle/locale/flatpickr/lt.js
196
+ - app/assets/bundle/trestle/locale/flatpickr/lv.js
197
+ - app/assets/bundle/trestle/locale/flatpickr/mk.js
198
+ - app/assets/bundle/trestle/locale/flatpickr/mn.js
199
+ - app/assets/bundle/trestle/locale/flatpickr/ms.js
200
+ - app/assets/bundle/trestle/locale/flatpickr/my.js
201
+ - app/assets/bundle/trestle/locale/flatpickr/nl.js
202
+ - app/assets/bundle/trestle/locale/flatpickr/nn.js
203
+ - app/assets/bundle/trestle/locale/flatpickr/no.js
204
+ - app/assets/bundle/trestle/locale/flatpickr/pa.js
205
+ - app/assets/bundle/trestle/locale/flatpickr/pl.js
206
+ - app/assets/bundle/trestle/locale/flatpickr/pt.js
207
+ - app/assets/bundle/trestle/locale/flatpickr/ro.js
208
+ - app/assets/bundle/trestle/locale/flatpickr/ru.js
209
+ - app/assets/bundle/trestle/locale/flatpickr/si.js
210
+ - app/assets/bundle/trestle/locale/flatpickr/sk.js
211
+ - app/assets/bundle/trestle/locale/flatpickr/sl.js
212
+ - app/assets/bundle/trestle/locale/flatpickr/sq.js
213
+ - app/assets/bundle/trestle/locale/flatpickr/sr-cyr.js
214
+ - app/assets/bundle/trestle/locale/flatpickr/sr.js
215
+ - app/assets/bundle/trestle/locale/flatpickr/sv.js
216
+ - app/assets/bundle/trestle/locale/flatpickr/th.js
217
+ - app/assets/bundle/trestle/locale/flatpickr/tr.js
218
+ - app/assets/bundle/trestle/locale/flatpickr/uk.js
219
+ - app/assets/bundle/trestle/locale/flatpickr/uz.js
220
+ - app/assets/bundle/trestle/locale/flatpickr/uz_latn.js
221
+ - app/assets/bundle/trestle/locale/flatpickr/vn.js
222
+ - app/assets/bundle/trestle/locale/flatpickr/zh-tw.js
223
+ - app/assets/bundle/trestle/locale/flatpickr/zh.js
224
+ - app/assets/bundle/trestle/locale/fr.js
225
+ - app/assets/bundle/trestle/locale/ko.js
226
+ - app/assets/bundle/trestle/locale/lv.js
227
+ - app/assets/bundle/trestle/locale/nl.js
228
+ - app/assets/bundle/trestle/locale/pl.js
229
+ - app/assets/bundle/trestle/locale/pt-BR.js
230
+ - app/assets/bundle/trestle/locale/vi.js
231
+ - app/assets/bundle/trestle/locale/zh-CN.js
232
+ - app/assets/bundle/trestle/photoswipe-063ce7be40e10b3e6848.digested.js
284
233
  - app/assets/javascripts/trestle/custom.js
285
- - app/assets/javascripts/trestle/i18n.js.erb
286
- - app/assets/stylesheets/trestle/_custom.css
287
- - app/assets/stylesheets/trestle/admin.css
234
+ - app/assets/sprockets/trestle/_custom.css
235
+ - app/assets/sprockets/trestle/custom.css
236
+ - app/assets/sprockets/trestle/icons/font-awesome.css.erb
237
+ - app/assets/sprockets/trestle/manifest.js
288
238
  - app/assets/stylesheets/trestle/custom.css
289
- - app/assets/stylesheets/trestle/icons/_font-awesome.css.erb
290
239
  - app/controllers/concerns/trestle/controller/breadcrumbs.rb
291
240
  - app/controllers/concerns/trestle/controller/callbacks.rb
292
- - app/controllers/concerns/trestle/controller/dialog.rb
293
241
  - app/controllers/concerns/trestle/controller/helpers.rb
294
242
  - app/controllers/concerns/trestle/controller/layout.rb
295
243
  - app/controllers/concerns/trestle/controller/location.rb
244
+ - app/controllers/concerns/trestle/controller/modal.rb
296
245
  - app/controllers/concerns/trestle/controller/title.rb
297
246
  - app/controllers/concerns/trestle/controller/toolbars.rb
247
+ - app/controllers/concerns/trestle/controller/turbo_stream.rb
298
248
  - app/controllers/concerns/trestle/resource/controller/actions.rb
299
249
  - app/controllers/concerns/trestle/resource/controller/data_methods.rb
300
250
  - app/controllers/concerns/trestle/resource/controller/redirection.rb
@@ -316,6 +266,7 @@ files:
316
266
  - app/helpers/trestle/i18n_helper.rb
317
267
  - app/helpers/trestle/icon_helper.rb
318
268
  - app/helpers/trestle/layout_helper.rb
269
+ - app/helpers/trestle/modal_helper.rb
319
270
  - app/helpers/trestle/navigation_helper.rb
320
271
  - app/helpers/trestle/pagination_helper.rb
321
272
  - app/helpers/trestle/params_helper.rb
@@ -326,6 +277,9 @@ files:
326
277
  - app/helpers/trestle/timestamp_helper.rb
327
278
  - app/helpers/trestle/title_helper.rb
328
279
  - app/helpers/trestle/toolbars_helper.rb
280
+ - app/helpers/trestle/turbo/frame_helper.rb
281
+ - app/helpers/trestle/turbo/stream_helper.rb
282
+ - app/helpers/trestle/turbo/tag_builder.rb
329
283
  - app/helpers/trestle/url_helper.rb
330
284
  - app/views/kaminari/trestle/_first_page.html.erb
331
285
  - app/views/kaminari/trestle/_gap.html.erb
@@ -333,10 +287,14 @@ files:
333
287
  - app/views/kaminari/trestle/_page.html.erb
334
288
  - app/views/kaminari/trestle/_paginator.html.erb
335
289
  - app/views/layouts/trestle/admin.html.erb
290
+ - app/views/layouts/trestle/admin.turbo_stream.erb
291
+ - app/views/layouts/trestle/modal.html.erb
292
+ - app/views/trestle/_i18n.html.erb
293
+ - app/views/trestle/_theme.html.erb
336
294
  - app/views/trestle/admin/index.html.erb
337
- - app/views/trestle/application/_dialog.html.erb
338
295
  - app/views/trestle/application/_header.html.erb
339
296
  - app/views/trestle/application/_layout.html.erb
297
+ - app/views/trestle/application/_modal.html.erb
340
298
  - app/views/trestle/application/_tabs.html.erb
341
299
  - app/views/trestle/application/_utilities.html.erb
342
300
  - app/views/trestle/dashboard/index.html.erb
@@ -346,10 +304,13 @@ files:
346
304
  - app/views/trestle/resource/_form.html.erb
347
305
  - app/views/trestle/resource/_scopes.html.erb
348
306
  - app/views/trestle/resource/_table.html.erb
307
+ - app/views/trestle/resource/create.turbo_stream.erb
308
+ - app/views/trestle/resource/destroy.turbo_stream.erb
349
309
  - app/views/trestle/resource/edit.html.erb
350
310
  - app/views/trestle/resource/index.html.erb
351
311
  - app/views/trestle/resource/new.html.erb
352
312
  - app/views/trestle/resource/show.html.erb
313
+ - app/views/trestle/resource/update.turbo_stream.erb
353
314
  - app/views/trestle/shared/_footer.html.erb
354
315
  - app/views/trestle/shared/_header.html.erb
355
316
  - app/views/trestle/shared/_sidebar.html.erb
@@ -385,17 +346,17 @@ files:
385
346
  - frontend/css/components/_alerts.scss
386
347
  - frontend/css/components/_avatar.scss
387
348
  - frontend/css/components/_background.scss
349
+ - frontend/css/components/_badges.scss
388
350
  - frontend/css/components/_breadcrumbs.scss
389
351
  - frontend/css/components/_buttons.scss
390
- - frontend/css/components/_color-vars.scss
391
- - frontend/css/components/_custom-forms.scss
392
352
  - frontend/css/components/_datepicker.scss
393
353
  - frontend/css/components/_dropdown.scss
394
- - frontend/css/components/_fields.scss
395
- - frontend/css/components/_magnific-popup.scss
354
+ - frontend/css/components/_forms.scss
355
+ - frontend/css/components/_grid.scss
396
356
  - frontend/css/components/_media-grid.scss
397
357
  - frontend/css/components/_modal.scss
398
358
  - frontend/css/components/_pagination.scss
359
+ - frontend/css/components/_photoswipe.scss
399
360
  - frontend/css/components/_popover.scss
400
361
  - frontend/css/components/_scopes.scss
401
362
  - frontend/css/components/_select.scss
@@ -405,82 +366,86 @@ files:
405
366
  - frontend/css/components/_tags.scss
406
367
  - frontend/css/components/_timestamp.scss
407
368
  - frontend/css/components/_toolbars.scss
408
- - frontend/css/components/_turbolinks.scss
369
+ - frontend/css/components/_turbo.scss
370
+ - frontend/css/core/_bootstrap.scss
409
371
  - frontend/css/core/_dependencies.scss
372
+ - frontend/css/core/_functions.scss
410
373
  - frontend/css/core/_mixins.scss
374
+ - frontend/css/core/_theme.scss
411
375
  - frontend/css/core/_typography.scss
412
376
  - frontend/css/icons/_fontawesome.scss
413
377
  - frontend/css/index.scss
414
378
  - frontend/css/layout/_base.scss
415
- - frontend/css/layout/_content.scss
379
+ - frontend/css/layout/_content-header.scss
416
380
  - frontend/css/layout/_footer.scss
417
381
  - frontend/css/layout/_header.scss
382
+ - frontend/css/layout/_main-content.scss
418
383
  - frontend/css/layout/_navigation.scss
419
384
  - frontend/css/layout/_sidebar.scss
420
385
  - frontend/css/support/_sprockets.scss
421
386
  - frontend/css/support/_webpack.scss
422
387
  - frontend/css/variables/_bootstrap.scss
388
+ - frontend/css/variables/_maps.scss
423
389
  - frontend/css/variables/_trestle.scss
424
390
  - frontend/images/bright-squares.png
425
391
  - frontend/index.js
426
- - frontend/js/components/confirmation.js
427
- - frontend/js/components/datepicker.js
428
- - frontend/js/components/dialog.js
429
- - frontend/js/components/file.js
430
- - frontend/js/components/form.js
431
- - frontend/js/components/gallery.js
432
- - frontend/js/components/navigation.js
433
- - frontend/js/components/pagination.js
434
- - frontend/js/components/select.js
435
- - frontend/js/components/sidebar.js
436
- - frontend/js/components/table.js
437
- - frontend/js/components/tabs.js
438
- - frontend/js/components/tooltips.js
439
- - frontend/js/core/contexts.js
392
+ - frontend/js/controllers/application_controller.js
393
+ - frontend/js/controllers/batch_action_controller.js
394
+ - frontend/js/controllers/checkbox_select_controller.js
395
+ - frontend/js/controllers/confirm_controller.js
396
+ - frontend/js/controllers/confirm_delete_controller.js
397
+ - frontend/js/controllers/datepicker_controller.js
398
+ - frontend/js/controllers/datetimepicker_controller.js
399
+ - frontend/js/controllers/deprecated/init_controller.js
400
+ - frontend/js/controllers/flatpickr_controller.js
401
+ - frontend/js/controllers/follow_url_controller.js
402
+ - frontend/js/controllers/form_error_controller.js
403
+ - frontend/js/controllers/form_loading_controller.js
404
+ - frontend/js/controllers/gallery_controller.js
405
+ - frontend/js/controllers/index.js
406
+ - frontend/js/controllers/keyboard_submit_controller.js
407
+ - frontend/js/controllers/lightbox_controller.js
408
+ - frontend/js/controllers/mobile_sidebar_controller.js
409
+ - frontend/js/controllers/modal_controller.js
410
+ - frontend/js/controllers/modal_frame_controller.js
411
+ - frontend/js/controllers/modal_trigger_controller.js
412
+ - frontend/js/controllers/navigation_controller.js
413
+ - frontend/js/controllers/navigation_tooltip_controller.js
414
+ - frontend/js/controllers/popover_controller.js
415
+ - frontend/js/controllers/reloadable_controller.js
416
+ - frontend/js/controllers/select_controller.js
417
+ - frontend/js/controllers/sidebar_controller.js
418
+ - frontend/js/controllers/tab_errors_controller.js
419
+ - frontend/js/controllers/tabs_controller.js
420
+ - frontend/js/controllers/timepicker_controller.js
421
+ - frontend/js/controllers/toggle_attr_controller.js
422
+ - frontend/js/controllers/toggle_class_controller.js
423
+ - frontend/js/controllers/tooltip_controller.js
424
+ - frontend/js/controllers/wrapper_controller.js
425
+ - frontend/js/core/backdrop.js
440
426
  - frontend/js/core/cookie.js
441
- - frontend/js/core/events.js
427
+ - frontend/js/core/error_modal.js
428
+ - frontend/js/core/fetch.js
442
429
  - frontend/js/core/i18n.js
443
- - frontend/js/core/turbolinks.js
444
- - frontend/js/core/visit.js
430
+ - frontend/js/core/modal.js
431
+ - frontend/js/core/stream_actions.js
432
+ - frontend/js/core/turbo_errors.js
433
+ - frontend/js/deprecated/events.js
434
+ - frontend/js/deprecated/tooltip.js
445
435
  - frontend/js/index.js
446
- - frontend/theme/trestle/_theme.scss
447
- - frontend/theme/trestle/_variables.scss
448
- - frontend/theme/trestle/theme.scss
449
- - frontend/theme/trestle/theme/_defaults.scss
450
- - frontend/theme/trestle/theme/_functions.scss
451
- - frontend/theme/trestle/theme/_variables.scss
452
- - frontend/theme/trestle/theme/bootstrap/_alert.scss
453
- - frontend/theme/trestle/theme/bootstrap/_badge.scss
454
- - frontend/theme/trestle/theme/bootstrap/_buttons.scss
455
- - frontend/theme/trestle/theme/bootstrap/_color-vars.scss
456
- - frontend/theme/trestle/theme/bootstrap/_custom-forms.scss
457
- - frontend/theme/trestle/theme/bootstrap/_dropdown.scss
458
- - frontend/theme/trestle/theme/bootstrap/_forms.scss
459
- - frontend/theme/trestle/theme/bootstrap/_links.scss
460
- - frontend/theme/trestle/theme/bootstrap/_list-group.scss
461
- - frontend/theme/trestle/theme/bootstrap/_nav.scss
462
- - frontend/theme/trestle/theme/bootstrap/_pagination.scss
463
- - frontend/theme/trestle/theme/bootstrap/_progress.scss
464
- - frontend/theme/trestle/theme/bootstrap/_tables.scss
465
- - frontend/theme/trestle/theme/bootstrap/_utilities.scss
466
- - frontend/theme/trestle/theme/bootstrap/utilities/_background.scss
467
- - frontend/theme/trestle/theme/bootstrap/utilities/_borders.scss
468
- - frontend/theme/trestle/theme/bootstrap/utilities/_text.scss
469
- - frontend/theme/trestle/theme/trestle/_background.scss
470
- - frontend/theme/trestle/theme/trestle/_datepicker.scss
471
- - frontend/theme/trestle/theme/trestle/_headers.scss
472
- - frontend/theme/trestle/theme/trestle/_navbar.scss
473
- - frontend/theme/trestle/theme/trestle/_navigation.scss
474
- - frontend/theme/trestle/theme/trestle/_select2.scss
475
- - frontend/theme/trestle/theme/trestle/_tags.scss
476
- - frontend/theme/trestle/theme/trestle/_turbolinks.scss
436
+ - frontend/js/mixins/index.js
437
+ - frontend/js/mixins/photoswipe.js
438
+ - frontend/js/util/bootstrap.js
439
+ - i18n/config.yml
440
+ - i18n/environment.rb
441
+ - i18n/export
442
+ - i18n/template.erb
477
443
  - lib/generators/trestle/admin/admin_generator.rb
478
444
  - lib/generators/trestle/admin/templates/admin.rb.erb
479
445
  - lib/generators/trestle/admin/templates/index.html.erb
480
446
  - lib/generators/trestle/install/install_generator.rb
481
447
  - lib/generators/trestle/install/templates/_custom.css
482
448
  - lib/generators/trestle/install/templates/_custom.scss
483
- - lib/generators/trestle/install/templates/_theme.scss
484
449
  - lib/generators/trestle/install/templates/custom.js
485
450
  - lib/generators/trestle/install/templates/trestle.rb.erb
486
451
  - lib/generators/trestle/resource/resource_generator.rb
@@ -496,6 +461,7 @@ files:
496
461
  - lib/trestle/attribute.rb
497
462
  - lib/trestle/breadcrumb.rb
498
463
  - lib/trestle/builder.rb
464
+ - lib/trestle/color.rb
499
465
  - lib/trestle/configurable.rb
500
466
  - lib/trestle/configuration.rb
501
467
  - lib/trestle/debug_errors.rb
@@ -563,6 +529,7 @@ files:
563
529
  - lib/trestle/scopes/block.rb
564
530
  - lib/trestle/scopes/definition.rb
565
531
  - lib/trestle/scopes/scope.rb
532
+ - lib/trestle/sprockets_compressor.rb
566
533
  - lib/trestle/tab.rb
567
534
  - lib/trestle/table.rb
568
535
  - lib/trestle/table/actions_column.rb
@@ -583,9 +550,9 @@ files:
583
550
  - yarn.lock
584
551
  homepage: https://www.trestle.io
585
552
  licenses:
586
- - LGPL-3.0
553
+ - LGPL-3.0-only
587
554
  metadata: {}
588
- post_install_message:
555
+ post_install_message:
589
556
  rdoc_options: []
590
557
  require_paths:
591
558
  - lib
@@ -593,15 +560,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
593
560
  requirements:
594
561
  - - ">="
595
562
  - !ruby/object:Gem::Version
596
- version: 2.2.2
563
+ version: 2.6.0
597
564
  required_rubygems_version: !ruby/object:Gem::Requirement
598
565
  requirements:
599
566
  - - ">="
600
567
  - !ruby/object:Gem::Version
601
568
  version: '0'
602
569
  requirements: []
603
- rubygems_version: 3.5.10
604
- signing_key:
570
+ rubygems_version: 3.5.11
571
+ signing_key:
605
572
  specification_version: 4
606
573
  summary: A modern, responsive admin framework for Ruby on Rails
607
574
  test_files: []