playbook_ui_docs 16.3.0.pre.alpha.play283714716 → 16.3.0.pre.alpha.play284214735

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: cadbc5bbf2bbb82aae8436b17ccbd662bed02a8b0eff1ead6af7b19dc794f583
4
- data.tar.gz: d366296d077df9f7bc3bf12eff3d5d61627c8c056cc6d76de9d2b57274936957
3
+ metadata.gz: d7fd0f1d1221799524e92b76f2ed3298b267e1ff95f5071bd323e60163a816e3
4
+ data.tar.gz: c06abee3d4e67be8e8eafb83923f7b873e2a288655fe822a78060c1d5fa239c3
5
5
  SHA512:
6
- metadata.gz: 7568c39e6f105602f69dd3f69579997892958aff1fb3a5fedc21deb7c8f89d768ce5ab517e571cfa26f883f39ea91c4539e38f76c6bd5e461712b1177605df5e
7
- data.tar.gz: '0173218057ac074b64a84b92c6984673c710474bc630afedbfe370a60cb9cd316850c7381b357c1b3c9a77bfc2d087e989bcf6129f11d6dd955c0b0b7e213527'
6
+ metadata.gz: 43a00035d7c2ef43c318c2a022ac2acf085f543ee501ceb41d877ac4252adcd1373ed8b889710f54c3ae69bdde303bf1d1758eca8a3e75eb2d2f56580af6d239
7
+ data.tar.gz: 331c1c8b2939174ae9b8f1912f8a08b8c09c157ad820ab9c73b6ee78de5d768eee61faa630b56bd90d5c8961cab097c61fb5204710213fb8940b5bddc8c384dc
@@ -1,20 +1,11 @@
1
1
  <%= pb_rails("button", props: { text: "Open Dialog", data: {"open-dialog": "dialog-1"} }) %>
2
2
 
3
- <%= pb_rails("dialog", props: {
4
- id:"dialog-1",
5
- size: "md",
6
- title: "Header Title is the Title Prop"
7
- }) do %>
8
- <%= pb_rails("dialog/dialog_body") do %>
9
- <%= pb_rails("button", props: { aria: { label: "Loading" }, loading: true, margin_right: "lg", text: "Button Primary" }) %>
10
- <div style="height: 800px; background-color: lightgray;"></div>
11
- <%= pb_rails("button", props: { loading: true, text: "Loading..." }) %>
12
- <% end %>
13
-
14
- <%= pb_rails("dialog/dialog_footer") do %>
15
- <%= pb_rails("flex", props: { spacing: "between", padding_x: "md", padding_bottom: "md", padding: "sm" }) do %>
16
- <%= pb_rails("button", props: { loading: true, text: "Send My Issue" }) %>
17
- <%= pb_rails("button", props: { text: "Back", variant: "link", data: {"close-dialog": "dialog-1"} }) %>
18
- <% end %>
19
- <% end %>
20
- <% end %>
3
+ <%= pb_rails("dialog", props: {
4
+ id:"dialog-1",
5
+ size: "sm",
6
+ title: "Header Title is the Title Prop",
7
+ text: "Hello Body Text, Nice to meet ya.",
8
+ cancel_button: "Cancel Button",
9
+ confirm_button: "Okay",
10
+ confirm_button_id: "confirm-button-1"
11
+ }) %>
@@ -12,35 +12,16 @@ const DialogDefault = () => {
12
12
  <>
13
13
  <Button onClick={open}>{'Open Dialog'}</Button>
14
14
  <Dialog
15
+ cancelButton="Cancel Button"
16
+ confirmButton="Okay"
15
17
  onCancel={close}
16
18
  onClose={close}
17
19
  onConfirm={close}
18
20
  opened={isOpen}
19
- size="md"
21
+ size="sm"
22
+ text="Hello Body Text, Nice to meet ya."
20
23
  title="Header Title is the Title Prop"
21
- >
22
- <Dialog.Body>
23
- <Button
24
- aria={{ label: 'Loading' }}
25
- loading
26
- text="Button Primary"
27
- />
28
- <div style={{height: '800px', backgroundColor: 'lightgray'}} />
29
- <Button
30
- loading
31
- text="Loading..."
32
- />
33
- </Dialog.Body>
34
- <Dialog.Footer>
35
- <Button
36
- loading
37
- text="Send My Issue"
38
- />
39
- <Button variant="link">
40
- {"Back"}
41
- </Button>
42
- </Dialog.Footer>
43
- </Dialog>
24
+ />
44
25
  </>
45
26
  )
46
27
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.3.0.pre.alpha.play283714716
4
+ version: 16.3.0.pre.alpha.play284214735
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-02-27 00:00:00.000000000 Z
12
+ date: 2026-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui