poetry-ui 0.0.3 → 0.1.0

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: a79167a3bdfe8283f8e3d6517e9b1a253fabd02df41417c5cafa79ad3fa12ddf
4
- data.tar.gz: adb7128dde7ad61162336a2126b436e558bcd6bd49217c7347f0f829a8cecacc
3
+ metadata.gz: 1346a1ff6a62e643e9440c7c42e835d643b55ea2dbcf8bc7938d800964995306
4
+ data.tar.gz: a569d21afd89f4f611309bab9c05492bc47d1ff4e9997d1178bcfd8859c840de
5
5
  SHA512:
6
- metadata.gz: 78e59128853d1a15f2041262b1f8d486aeb626b4a0bb5f84cc649dd5c2f9dfe064962be4533de4e0f14a0c56e073daf33fb594e7ebfaa601d49adfb043d5c86a
7
- data.tar.gz: f847ad9c837ff9f46a89fef1d40548506f0e425ef9f95292d5145fe92f76cfb3736cd750a6790c94535337c6b2223932af1c7e6b9bab275dcf853b7bafb61fab
6
+ metadata.gz: '01872acf5407b8d3b14bb91c10f33f19b9fca4124f39338d8f88560c86bb6d41913ff50b92ef3dfa3293f4d14500fd3faa67395109a6d6f41a16412ab80c26ed'
7
+ data.tar.gz: 4180cbf5784bc923d57da1394c91542959570209ae1f8beb89e68d31e1c80f7ec5c0809fc65f363f6c6b3b025e72851f0ec08614b2020e94bee5df44ca6ccea0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
1
  # Changelog
2
2
 
3
3
  ## [Unreleased]
4
+
5
+ ## [0.1.0] - 2026-09-05
6
+
7
+ Initial public release. The family releases in lockstep; every gem pins its siblings at the same version.
8
+
9
+ - Eighty-eight server-rendered components, the shadcn/ui set as ViewComponents on Stimulus, with nine complete visual themes and eight whole-screen blocks.
10
+ - The model-bound form builder deriving labels, hints, errors, and aria from the model; testing helpers that drive components the way a user would.
11
+ - Chat and streaming components (message, bubble, marker, attachment, message scroller) and the deterministic `Poetry::Ui::Chat` replay rig.
12
+ - Generators: `poetry:install`, `poetry:add`, `poetry:block`, `poetry:skill`, `poetry:agents`, `poetry:agent_rules`, `poetry:editor`, `poetry:scaffold_templates`, `poetry:pagination`, `poetry:diff`, and the screen recipes.
13
+ - The engine serves llms.txt and llms-full.txt; Tabs, Dialog, Sheet, Drawer, and Combobox declare WebMCP tools.
data/README.md CHANGED
@@ -3,8 +3,9 @@
3
3
  Server-rendered UI components for Rails — the shadcn/ui component set as
4
4
  ViewComponents on Stimulus, with nine complete visual themes, a
5
5
  machine-readable component registry, and a full agent surface (llms.txt,
6
- MCP, Claude Code skills, `poetry check`). Names are working titles; the
7
- gems are unpublished.
6
+ MCP, Claude Code skills, `poetry check`). Published on RubyGems as
7
+ `poetry-ui`; the `poetry` umbrella installs it with poetry-core and
8
+ poetry-lucide.
8
9
 
9
10
  ## Install
10
11
 
@@ -137,6 +137,11 @@ module Poetry
137
137
 
138
138
  # Enforces the inherited title contract plus snap-point validity.
139
139
  # @api private
140
+ # The operate surface, inherited from Dialog and reworded for the
141
+ # drawer; the bare executes: re-resolves to this class's controller.
142
+ tool :open, description: "Open the drawer.", executes: :open, mutating: true
143
+ tool :close, description: "Close the drawer.", executes: :close, mutating: true
144
+
140
145
  def before_render
141
146
  super
142
147
  validate_snap_points! if snap_points.present?
@@ -78,6 +78,11 @@ module Poetry
78
78
  part "sheet-description", "Muted copy under the title, wired to aria-describedby"
79
79
  part "sheet-footer", "Action row pinned to the bottom of the panel"
80
80
 
81
+ # The operate surface, inherited from Dialog and reworded for the
82
+ # sheet; the bare executes: re-resolves to this class's controller.
83
+ tool :open, description: "Open the sheet.", executes: :open, mutating: true
84
+ tool :close, description: "Close the sheet.", executes: :close, mutating: true
85
+
81
86
  private
82
87
 
83
88
  # The Sheet deltas on the inherited panel: the side's edge classes
@@ -4493,14 +4493,14 @@ components:
4493
4493
  tools:
4494
4494
  - name: open
4495
4495
  title: Open
4496
- description: Open the dialog.
4496
+ description: Open the drawer.
4497
4497
  annotations:
4498
4498
  readOnlyHint: false
4499
4499
  untrustedContentHint: false
4500
4500
  executes: poetry--core--drawer#open
4501
4501
  - name: close
4502
4502
  title: Close
4503
- description: Close the dialog.
4503
+ description: Close the drawer.
4504
4504
  annotations:
4505
4505
  readOnlyHint: false
4506
4506
  untrustedContentHint: false
@@ -9611,14 +9611,14 @@ components:
9611
9611
  tools:
9612
9612
  - name: open
9613
9613
  title: Open
9614
- description: Open the dialog.
9614
+ description: Open the sheet.
9615
9615
  annotations:
9616
9616
  readOnlyHint: false
9617
9617
  untrustedContentHint: false
9618
9618
  executes: poetry--core--sheet#open
9619
9619
  - name: close
9620
9620
  title: Close
9621
- description: Close the dialog.
9621
+ description: Close the sheet.
9622
9622
  annotations:
9623
9623
  readOnlyHint: false
9624
9624
  untrustedContentHint: false
@@ -3,6 +3,6 @@
3
3
  module Poetry
4
4
  module Ui
5
5
  # The gem version.
6
- VERSION = "0.0.3"
6
+ VERSION = "0.1.0"
7
7
  end
8
8
  end
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.0.3
4
+ version: 0.1.0
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.0.3
18
+ version: 0.1.0
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.0.3
25
+ version: 0.1.0
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.'