poetry-ui 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfaee0a24a3a61b10a2bf12f2afb0dd5a0b8f93117392f8deb4fbb81da36c984
4
- data.tar.gz: bf5011451e6d6bd7fe2c7bed1ebc1150f3503d04fc04687f8bd0463d6a1612e4
3
+ metadata.gz: d60854dfc65e3eb23ea1bdb0541a9e6290d69d8712ec913e1df746667def08f2
4
+ data.tar.gz: ede37b77181f5842f3d6d484757d1c38a08d3b2883596dc9e65daf4d6f54e27b
5
5
  SHA512:
6
- metadata.gz: 11db0fc73021f75632fbf927e3f807043c7091eeaa049b5d58b90561910e2d521a94abe0f871333484f9f0292e3cc2f25c262c578d4dfb5d43a12591cb33159a
7
- data.tar.gz: d27e5cb320b82e7f40fca65b3e3898350a5ec6ac8778c88b95fb7f8a11fca29861783a1bc016322e5dab9a583b82586fccc7fd48d905f4f0603029fed700f866
6
+ metadata.gz: 8ca0c7adb7ee3844f1debc06a974b6103b3414fb79d9bc3a18ce237591d260b99352efd91337b90ec5cb6d840fc7cb2d3d8cb48eb2c0c8014cb2b7f55768ee37
7
+ data.tar.gz: c828928ac82441d518eaf35dc879eb8e134e070b88ca32c6559add9ec5d48786f126d4a3bfac5784a1413a4ee29328ff38707ae540a74b04c26ad50c7d770bdf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.3] - 2026-09-13
4
+
5
+ ### Fixed
6
+
7
+ - `poetry_webmcp_form ... do |form|` is no longer a yieldless block to `poetry check`: the registry's helpers section now says the helper yields the form builder, as the helper's own example always showed.
8
+ - `bin/rails poetry:check` accepts the app's own `poetry_*` helper methods (the adapter `poetry:pagination` copies in, a wrapper of the host's own): their names come from `app/helpers` boot-free, their options and blocks are their own, and the wiring rules still apply. A composed trigger's `do |wiring|` is no longer flagged either (poetry-core 0.1.3).
9
+
3
10
  ## [0.1.2] - 2026-09-13
4
11
 
5
12
  ### Added
@@ -982,6 +982,10 @@ module Poetry
982
982
  { "name" => "value", "type" => "object" }
983
983
  ]
984
984
  },
985
+ "poetry_webmcp_form" => {
986
+ "yields" => "the form builder (Poetry::Ui::FormBuilder unless builder: says otherwise) - " \
987
+ "form.field and form.input author the tool's parameters; every standard field helper works"
988
+ },
985
989
  "poetry_input_group_addon" => {
986
990
  "options" => [{ "name" => "align", "type" => "symbol", "default" => "inline-start",
987
991
  "variants" => INPUT_GROUP_ALIGNS.map(&:to_s) }]
@@ -12155,7 +12155,10 @@ helpers:
12155
12155
  poetry_table_header: {}
12156
12156
  poetry_table_row: {}
12157
12157
  poetry_tooltip_provider: {}
12158
- poetry_webmcp_form: {}
12158
+ poetry_webmcp_form:
12159
+ yields: 'the form builder (Poetry::Ui::FormBuilder unless builder: says otherwise)
12160
+ - form.field and form.input author the tool''s parameters; every standard field
12161
+ helper works'
12159
12162
  blocks:
12160
12163
  action-bar:
12161
12164
  title: Action bar
@@ -48,6 +48,7 @@ module Poetry
48
48
  AGENT_LINE = %(@import "./poetry/agent.css" layer(base);)
49
49
  # The reset floor, vendored only for hosts that opted out of preflight.
50
50
  RESET_FILE = "app/assets/tailwind/poetry/reset.css"
51
+ # The entry line that imports the floor, beside the theme in layer(base).
51
52
  RESET_LINE = %(@import "./poetry/reset.css" layer(base);)
52
53
  # The theme slot: --theme swaps its CONTENT, the filename stays put.
53
54
  STYLE_SLOT = "app/assets/tailwind/poetry/style-default.css"
@@ -3,6 +3,6 @@
3
3
  module Poetry
4
4
  module Ui
5
5
  # The gem version.
6
- VERSION = "0.1.2"
6
+ VERSION = "0.1.3"
7
7
  end
8
8
  end
@@ -43,7 +43,12 @@ namespace :poetry do
43
43
  # helpers join the valid set and their contracts are checked like the
44
44
  # gems' - built live from the loaded classes, never a committed file.
45
45
  host = Poetry::Core::HostComponents.registry(root: Rails.root)
46
- catalog = Poetry::Core::Check::Catalog.from_registries(roots, icon_names: icon_names, host_registry: host)
46
+ # The app's own poetry_* helper METHODS (app/helpers: the adapter
47
+ # poetry:pagination copies in, a wrapper the host wrote) are valid
48
+ # names with contracts of their own - the wiring rules still apply.
49
+ host_helpers = Poetry::Core::HostComponents.helper_methods(root: Rails.root)
50
+ catalog = Poetry::Core::Check::Catalog.from_registries(roots, icon_names: icon_names, host_registry: host,
51
+ host_helpers: host_helpers)
47
52
  findings = Poetry::Core::Check::Runner.new(catalog).run(paths, root: Rails.root)
48
53
 
49
54
  # The taste tier: design-slop warnings join the mechanical
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poetry-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Solt
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.1.2
18
+ version: 0.1.3
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.1.2
25
+ version: 0.1.3
26
26
  description: 'Poetry''s components for the AI-native UI component library: accessible,
27
27
  themeable, agent-legible ViewComponents built entirely on poetry-core''s public
28
28
  DSL.'