poetry-ui 0.0.3 → 0.0.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab0453987f8e6aff47863576776931b0cacd19e89a9644cb1b0b1674b935fb1e
|
|
4
|
+
data.tar.gz: be24d8485f557896330f0c3d65a608ffd96f585f138f02b0ebf1c5486000261c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b89bf71aafd006abe6a5dd4d3ee0336581a5c588bdeb6c1164d989039778dec6193b2eb3cb892a6ff9f796a815bbe4aa021c3896fe6165721ac62d2f713d464
|
|
7
|
+
data.tar.gz: ff25a71943b8e7fd7206e5aadd1bc00d424d729c74d57955e4357cc1e8ebb76f914c9fca32e26c30fb4d5942af3c49d3157b1417741aa80d1c60d709dc5f02b0
|
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`).
|
|
7
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
9621
|
+
description: Close the sheet.
|
|
9622
9622
|
annotations:
|
|
9623
9623
|
readOnlyHint: false
|
|
9624
9624
|
untrustedContentHint: false
|
data/lib/poetry/ui/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.0.4
|
|
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.
|
|
18
|
+
version: 0.0.4
|
|
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.
|
|
25
|
+
version: 0.0.4
|
|
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.'
|