playbook_ui_docs 14.14.0.pre.alpha.play1852reacthookformsupportradio6318 → 14.14.0.pre.alpha.play1922tooltipfloatingui6361

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.
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: 14.14.0.pre.alpha.play1852reacthookformsupportradio6318
4
+ version: 14.14.0.pre.alpha.play1922tooltipfloatingui6361
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: 2025-02-25 00:00:00.000000000 Z
12
+ date: 2025-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -455,6 +455,10 @@ files:
455
455
  - app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
456
456
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
457
457
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
458
+ - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
459
+ - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
460
+ - app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md
461
+ - app/pb_kits/playbook/pb_currency/docs/_currency_null_display_react.md
458
462
  - app/pb_kits/playbook/pb_currency/docs/_currency_props_swift.md
459
463
  - app/pb_kits/playbook/pb_currency/docs/_currency_size.html.erb
460
464
  - app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx
@@ -1555,8 +1559,6 @@ files:
1555
1559
  - app/pb_kits/playbook/pb_radio/docs/_radio_orientation_swift.md
1556
1560
  - app/pb_kits/playbook/pb_radio/docs/_radio_padding_swift.md
1557
1561
  - app/pb_kits/playbook/pb_radio/docs/_radio_props_swift.md
1558
- - app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx
1559
- - app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.md
1560
1562
  - app/pb_kits/playbook/pb_radio/docs/_radio_spacing_swift.md
1561
1563
  - app/pb_kits/playbook/pb_radio/docs/_radio_subtitle_swift.md
1562
1564
  - app/pb_kits/playbook/pb_radio/docs/example.yml
@@ -2060,9 +2062,12 @@ files:
2060
2062
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md
2061
2063
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx
2062
2064
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.md
2065
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.html.erb
2066
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.md
2063
2067
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.erb
2064
2068
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
2065
2069
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.md
2070
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.html.erb
2066
2071
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
2067
2072
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.md
2068
2073
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx
@@ -1,60 +0,0 @@
1
- import React from "react"
2
- import { useForm } from "react-hook-form"
3
- import { Radio, Flex, Body } from "playbook-ui"
4
-
5
- const RadioReactHook = () => {
6
- const { register, watch } = useForm({
7
- defaultValues: {
8
- size: "Small",
9
- },
10
- })
11
-
12
- const selectedSize = watch("size", "Small")
13
-
14
- return (
15
- <Flex orientation="row">
16
- <Flex
17
- align="start"
18
- orientation="column"
19
- paddingRight="lg"
20
- >
21
- <Radio
22
- alignment="left"
23
- label="Small"
24
- marginBottom='sm'
25
- name="size"
26
- value="Small"
27
- {...register("size")}
28
- />
29
- <br />
30
- <Radio
31
- alignment="left"
32
- label="Medium"
33
- marginBottom='sm'
34
- name="size"
35
- value="Medium"
36
- {...register("size")}
37
- />
38
- <br />
39
- <Radio
40
- alignment="left"
41
- label="Large"
42
- marginBottom='sm'
43
- name="size"
44
- value="Large"
45
- {...register("size")}
46
- />
47
- </Flex>
48
- <Flex
49
- align="start"
50
- orientation="column"
51
- >
52
- <Body
53
- text={`Selected Size: ${selectedSize}`}
54
- />
55
- </Flex>
56
- </Flex>
57
- )
58
- }
59
-
60
- export default RadioReactHook
@@ -1 +0,0 @@
1
- You can pass react hook props to the radio kit.