plutonium 0.15.6 → 0.15.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/plutonium.css +1 -1
  3. data/app/assets/plutonium.js +25 -11
  4. data/app/assets/plutonium.js.map +2 -2
  5. data/app/assets/plutonium.min.js +4 -4
  6. data/app/assets/plutonium.min.js.map +3 -3
  7. data/app/views/layouts/rodauth.html.erb +2 -2
  8. data/docs/guide/getting-started/installation.md +2 -1
  9. data/docs/guide/getting-started/resources.md +8 -12
  10. data/docs/public/templates/plutonium.rb +8 -0
  11. data/lib/generators/pu/core/assets/assets_generator.rb +1 -1
  12. data/lib/generators/pu/eject/layout/layout_generator.rb +3 -3
  13. data/lib/generators/pu/eject/shell/shell_generator.rb +3 -3
  14. data/lib/generators/pu/gem/dotenv/dotenv_generator.rb +1 -1
  15. data/lib/generators/pu/gem/letter_opener/letter_opener_generator.rb +21 -0
  16. data/lib/generators/pu/gem/redis/redis_generator.rb +0 -2
  17. data/lib/generators/pu/gem/standard/standard_generator.rb +19 -0
  18. data/lib/generators/pu/lib/plutonium_generators/generator.rb +1 -1
  19. data/lib/generators/pu/res/conn/conn_generator.rb +1 -1
  20. data/lib/plutonium/definition/actions.rb +6 -2
  21. data/lib/plutonium/definition/base.rb +1 -0
  22. data/lib/plutonium/definition/nested_inputs.rb +19 -0
  23. data/lib/plutonium/resource/controller.rb +1 -1
  24. data/lib/plutonium/resource/controllers/interactive_actions.rb +1 -1
  25. data/lib/plutonium/resource/controllers/presentable.rb +1 -5
  26. data/lib/plutonium/ui/block.rb +13 -0
  27. data/lib/plutonium/ui/component/kit.rb +10 -0
  28. data/lib/plutonium/ui/display/resource.rb +29 -11
  29. data/lib/plutonium/ui/display/theme.rb +1 -1
  30. data/lib/plutonium/ui/dyna_frame/content.rb +2 -2
  31. data/lib/plutonium/ui/dyna_frame/host.rb +20 -0
  32. data/lib/plutonium/ui/form/concerns/renders_nested_resource_fields.rb +282 -0
  33. data/lib/plutonium/ui/form/resource.rb +39 -29
  34. data/lib/plutonium/ui/form/theme.rb +1 -1
  35. data/lib/plutonium/ui/frame_navigator_panel.rb +53 -0
  36. data/lib/plutonium/ui/panel.rb +63 -0
  37. data/lib/plutonium/ui/skeleton_table.rb +29 -0
  38. data/lib/plutonium/ui/table/resource.rb +1 -1
  39. data/lib/plutonium/version.rb +1 -1
  40. data/src/js/controllers/frame_navigator_controller.js +25 -8
  41. data/src/js/controllers/nested_resource_form_fields_controller.js +2 -2
  42. metadata +11 -3
  43. data/lib/generators/pu/gem/redis/templates/.keep +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.6
4
+ version: 0.15.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-01 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk
@@ -1099,8 +1099,9 @@ files:
1099
1099
  - lib/generators/pu/gem/dotenv/templates/.env.template
1100
1100
  - lib/generators/pu/gem/dotenv/templates/.keep
1101
1101
  - lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb
1102
+ - lib/generators/pu/gem/letter_opener/letter_opener_generator.rb
1102
1103
  - lib/generators/pu/gem/redis/redis_generator.rb
1103
- - lib/generators/pu/gem/redis/templates/.keep
1104
+ - lib/generators/pu/gem/standard/standard_generator.rb
1104
1105
  - lib/generators/pu/gen/component/component_generator.rb
1105
1106
  - lib/generators/pu/gen/component/templates/component.html.erb.tt
1106
1107
  - lib/generators/pu/gen/component/templates/component.rb.tt
@@ -1276,6 +1277,7 @@ files:
1276
1277
  - lib/plutonium/definition/base.rb
1277
1278
  - lib/plutonium/definition/config_attr.rb
1278
1279
  - lib/plutonium/definition/defineable_props.rb
1280
+ - lib/plutonium/definition/nested_inputs.rb
1279
1281
  - lib/plutonium/definition/presentable.rb
1280
1282
  - lib/plutonium/definition/search.rb
1281
1283
  - lib/plutonium/definition/sorting.rb
@@ -1348,6 +1350,7 @@ files:
1348
1350
  - lib/plutonium/support/parameters.rb
1349
1351
  - lib/plutonium/ui.rb
1350
1352
  - lib/plutonium/ui/action_button.rb
1353
+ - lib/plutonium/ui/block.rb
1351
1354
  - lib/plutonium/ui/breadcrumbs.rb
1352
1355
  - lib/plutonium/ui/component/base.rb
1353
1356
  - lib/plutonium/ui/component/behaviour.rb
@@ -1358,12 +1361,15 @@ files:
1358
1361
  - lib/plutonium/ui/display/resource.rb
1359
1362
  - lib/plutonium/ui/display/theme.rb
1360
1363
  - lib/plutonium/ui/dyna_frame/content.rb
1364
+ - lib/plutonium/ui/dyna_frame/host.rb
1361
1365
  - lib/plutonium/ui/empty_card.rb
1362
1366
  - lib/plutonium/ui/form/base.rb
1367
+ - lib/plutonium/ui/form/concerns/renders_nested_resource_fields.rb
1363
1368
  - lib/plutonium/ui/form/interaction.rb
1364
1369
  - lib/plutonium/ui/form/query.rb
1365
1370
  - lib/plutonium/ui/form/resource.rb
1366
1371
  - lib/plutonium/ui/form/theme.rb
1372
+ - lib/plutonium/ui/frame_navigator_panel.rb
1367
1373
  - lib/plutonium/ui/page/base.rb
1368
1374
  - lib/plutonium/ui/page/edit.rb
1369
1375
  - lib/plutonium/ui/page/index.rb
@@ -1371,6 +1377,8 @@ files:
1371
1377
  - lib/plutonium/ui/page/new.rb
1372
1378
  - lib/plutonium/ui/page/show.rb
1373
1379
  - lib/plutonium/ui/page_header.rb
1380
+ - lib/plutonium/ui/panel.rb
1381
+ - lib/plutonium/ui/skeleton_table.rb
1374
1382
  - lib/plutonium/ui/table/base.rb
1375
1383
  - lib/plutonium/ui/table/components/pagy_info.rb
1376
1384
  - lib/plutonium/ui/table/components/pagy_page_info.rb
File without changes