playbook_ui_docs 16.2.0.pre.alpha.PLAY2798idvsinputoptionsidfortextarea14471 → 16.2.0.pre.alpha.faiconbuttonfix14520

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: 86257cae5e7d87dcfcf61181debc44fcd932178f83095afeb7cd39c98bdf74b2
4
- data.tar.gz: 9419c6db216b2ebd0f04e097361a67729e82b7717c3b452ed80698cd6bfd4ed7
3
+ metadata.gz: 2d5b728890c2197ac87cc49020f72dd3c58d11adcc9393a0ada870e694d5b5b2
4
+ data.tar.gz: 309743b2081eb867a0b61aa46770299a43dca6c977847f066db7c9583ff589a2
5
5
  SHA512:
6
- metadata.gz: 9d43d2a65d93cea51e1c4255dcff236b8b14f5b5f9707e68fa2d29fe0f071688c94153246adeddb1d4f043a020c3dd1effd17901080a6dda2763a7571140516a
7
- data.tar.gz: eaf3e5afa8b9aa3262d27d9158a4c44edbd2411a9c6aedebd673c36736f98072689a9bae9ac68dfe87dbd2728ef5a2bbec2f8f06d09e7d2e1d404a442750fcba
6
+ metadata.gz: 1bfdae97c26a242d811dec278d9756761ddaee3fdce69bdeecb126d9abac6b7c67ccd78265c6682e4367caa1c9141d4c7886e88ec7886933f5607c8b1b170478
7
+ data.tar.gz: 4a9f052f51a66eba8640eb55fcd409f5b445999581e56fb27881f0acad7bb3b26433ac51159c3d93a53e8b1b34f5690e0301de38844f5c8f296ed93c862c9c9f
@@ -1,4 +1,6 @@
1
- <%= pb_rails("caption", props: { text: "Test colors" }) %>
2
- <%= pb_rails("caption", props: { text: "Test colors", color: "success" }) %>
3
- <%= pb_rails("caption", props: { text: "Test colors", color: "error" }) %>
4
- <%= pb_rails("caption", props: { text: "Test colors", color: "link" }) %>
1
+ <%= pb_rails("caption", props: { text: "Caption light" }) %>
2
+ <%= pb_rails("caption", props: { text: "Caption default", color: "default" }) %>
3
+ <%= pb_rails("caption", props: { text: "Caption lighter", color: "lighter" }) %>
4
+ <%= pb_rails("caption", props: { text: "Caption success", color: "success" }) %>
5
+ <%= pb_rails("caption", props: { text: "Caption error", color: "error" }) %>
6
+ <%= pb_rails("caption", props: { text: "Caption link", color: "link" }) %>
@@ -4,23 +4,33 @@ import Caption from "../../pb_caption/_caption"
4
4
  const CaptionColors = (props) => {
5
5
  return (
6
6
  <div>
7
+ <Caption
8
+ text="Caption light"
9
+ {...props}
10
+ />
11
+ <Caption
12
+ color="default"
13
+ text="Caption default"
14
+ {...props}
15
+ />
7
16
  <Caption
8
- text="Test colors"
17
+ color="lighter"
18
+ text="Caption lighter"
9
19
  {...props}
10
20
  />
11
21
  <Caption
12
22
  color="success"
13
- text="Test colors"
23
+ text="Caption success"
14
24
  {...props}
15
25
  />
16
26
  <Caption
17
27
  color="error"
18
- text="Test colors"
28
+ text="Caption error"
19
29
  {...props}
20
30
  />
21
31
  <Caption
22
32
  color="link"
23
- text="Test colors"
33
+ text="Caption link"
24
34
  {...props}
25
35
  />
26
36
  </div>
@@ -1,24 +1,6 @@
1
- <%= pb_rails("detail", props: {
2
- text: "I am a detail kit",
3
- color: "default"
4
- }) %>
5
-
6
- <%= pb_rails("detail", props: {
7
- text: "I am a detail kit",
8
- color: "lighter"
9
- }) %>
10
-
11
- <%= pb_rails("detail", props: {
12
- text: "I am a detail kit",
13
- color: "link"
14
- }) %>
15
-
16
- <%= pb_rails("detail", props: {
17
- text: "I am a detail kit",
18
- color: "error"
19
- }) %>
20
-
21
- <%= pb_rails("detail", props: {
22
- text: "I am a detail kit",
23
- color: "success"
24
- }) %>
1
+ <%= pb_rails("detail", props: { text: "I am a detail kit" }) %>
2
+ <%= pb_rails("detail", props: { text: "I am a detail kit", color: "default" }) %>
3
+ <%= pb_rails("detail", props: { text: "I am a detail kit", color: "lighter" }) %>
4
+ <%= pb_rails("detail", props: { text: "I am a detail kit", color: "link" }) %>
5
+ <%= pb_rails("detail", props: { text: "I am a detail kit", color: "error" }) %>
6
+ <%= pb_rails("detail", props: { text: "I am a detail kit", color: "success" }) %>
@@ -1,38 +1,40 @@
1
1
  import React from 'react'
2
2
  import Detail from '../../pb_detail/_detail'
3
3
 
4
- const DetailColors = (props) => (
5
- <div>
6
- <Detail
7
- color="default"
8
- text="I am a detail kit"
9
- {...props}
10
- />
11
-
12
- <Detail
13
- color="lighter"
14
- text="I am a detail kit"
15
- {...props}
16
- />
17
-
18
- <Detail
19
- color="link"
20
- text="I am a detail kit"
21
- {...props}
22
- />
23
-
24
- <Detail
25
- color="error"
26
- text="I am a detail kit"
27
- {...props}
28
- />
29
-
30
- <Detail
31
- color="success"
32
- text="I am a detail kit"
33
- {...props}
34
- />
35
- </div>
36
- )
4
+ const DetailColors = (props) => {
5
+ return (
6
+ <div>
7
+ <Detail
8
+ text="I am a detail kit"
9
+ {...props}
10
+ />
11
+ <Detail
12
+ color="default"
13
+ text="I am a detail kit"
14
+ {...props}
15
+ />
16
+ <Detail
17
+ color="lighter"
18
+ text="I am a detail kit"
19
+ {...props}
20
+ />
21
+ <Detail
22
+ color="link"
23
+ text="I am a detail kit"
24
+ {...props}
25
+ />
26
+ <Detail
27
+ color="error"
28
+ text="I am a detail kit"
29
+ {...props}
30
+ />
31
+ <Detail
32
+ color="success"
33
+ text="I am a detail kit"
34
+ {...props}
35
+ />
36
+ </div>
37
+ )
38
+ }
37
39
 
38
40
  export default DetailColors
@@ -2,19 +2,17 @@ import React from 'react'
2
2
 
3
3
  import TextInput from '../_text_input'
4
4
 
5
- class TextInputDisabled extends React.Component {
6
- render(props) {
7
- return (
8
- <div>
9
- <TextInput
10
- disabled
11
- label="Last Name"
12
- placeholder="Enter last name"
13
- {...props}
14
- />
15
- </div>
16
- )
17
- }
5
+ const TextInputDisabled = (props) => {
6
+ return (
7
+ <div>
8
+ <TextInput
9
+ disabled
10
+ label="Last Name"
11
+ placeholder="Enter last name"
12
+ {...props}
13
+ />
14
+ </div>
15
+ )
18
16
  }
19
17
 
20
18
  export default TextInputDisabled
@@ -21,7 +21,6 @@ examples:
21
21
  - textarea_inline: Inline
22
22
  - textarea_emoji_mask: Emoji Mask
23
23
  - textarea_required_indicator: Required Indicator
24
- - textarea_input_options: Input Options
25
24
  - textarea_disabled: Disabled
26
25
 
27
26
  swift:
@@ -1,10 +1,9 @@
1
- export { default as TextareaDefault } from "./_textarea_default.jsx"
1
+ export { default as TextareaDefault } from './_textarea_default.jsx'
2
2
  export { default as TextareaDisabled } from './_textarea_disabled.jsx'
3
- export { default as TextareaResize } from "./_textarea_resize.jsx"
4
- export { default as TextareaCustom } from "./_textarea_custom.jsx"
5
- export { default as TextareaError } from "./_textarea_error.jsx"
6
- export { default as TextareaCharacterCounter } from "./_textarea_character_counter.jsx"
7
- export { default as TextareaInline } from "./_textarea_inline.jsx"
8
- export { default as TextareaEmojiMask } from "./_textarea_emoji_mask.jsx"
9
- export { default as TextareaRequiredIndicator } from "./_textarea_required_indicator.jsx"
10
- export { default as TextareaInputOptions } from "./_textarea_input_options.jsx"
3
+ export { default as TextareaResize } from './_textarea_resize.jsx'
4
+ export { default as TextareaCustom } from './_textarea_custom.jsx'
5
+ export { default as TextareaError } from './_textarea_error.jsx'
6
+ export { default as TextareaCharacterCounter } from './_textarea_character_counter.jsx'
7
+ export { default as TextareaInline } from './_textarea_inline.jsx'
8
+ export { default as TextareaEmojiMask } from './_textarea_emoji_mask.jsx'
9
+ export { default as TextareaRequiredIndicator } from './_textarea_required_indicator.jsx'
@@ -1,4 +1,6 @@
1
1
  <%= pb_rails("title", props: { text: "Default Color", tag: "h1", size: 3 }) %>
2
+ <%= pb_rails("title", props: { text: "Title Color", tag: "h1", size: 3, color: "light" }) %>
3
+ <%= pb_rails("title", props: { text: "Title Color", tag: "h1", size: 3, color: "lighter" }) %>
2
4
  <%= pb_rails("title", props: { text: "Title Color", tag: "h1", size: 3, color: "link" }) %>
3
5
  <%= pb_rails("title", props: { text: "Title Color", tag: "h1", size: 3, color: "success" }) %>
4
6
  <%= pb_rails("title", props: { text: "Title Color", tag: "h1", size: 3, color: "error" }) %>
@@ -9,6 +9,20 @@ const TitleColors = (props) => {
9
9
  text="Default Color"
10
10
  {...props}
11
11
  />
12
+ <Title
13
+ color="light"
14
+ size={3}
15
+ tag="h1"
16
+ text="Title Color"
17
+ {...props}
18
+ />
19
+ <Title
20
+ color="lighter"
21
+ size={3}
22
+ tag="h1"
23
+ text="Title Color"
24
+ {...props}
25
+ />
12
26
  <Title
13
27
  color="link"
14
28
  size={3}
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.2.0.pre.alpha.PLAY2798idvsinputoptionsidfortextarea14471
4
+ version: 16.2.0.pre.alpha.faiconbuttonfix14520
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-17 00:00:00.000000000 Z
12
+ date: 2026-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -2389,7 +2389,6 @@ files:
2389
2389
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.html.erb
2390
2390
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.jsx
2391
2391
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_input_options.html.erb
2392
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_input_options.jsx
2393
2392
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_input_options.md
2394
2393
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md
2395
2394
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_required_indicator.html.erb
@@ -1,68 +0,0 @@
1
- import React, { useState } from "react"
2
-
3
- import Textarea from "../_textarea"
4
-
5
- const TextareaInputOptions = (props) => {
6
- const [value1, setValue1] = useState("")
7
- const [value2, setValue2] = useState("")
8
- const [value3, setValue3] = useState("")
9
- const [value4, setValue4] = useState("")
10
-
11
- return (
12
- <div>
13
- <Textarea
14
- id="container-id"
15
- label="ID on Container"
16
- name="comment"
17
- onChange={(e) => setValue1(e.target.value)}
18
- rows={4}
19
- value={value1}
20
- {...props}
21
- />
22
-
23
- <br />
24
-
25
- <Textarea
26
- inputOptions={{ id: "textarea-id" }}
27
- label="ID on Textarea via inputOptions"
28
- name="comment"
29
- onChange={(e) => setValue2(e.target.value)}
30
- rows={4}
31
- value={value2}
32
- {...props}
33
- />
34
-
35
- <br />
36
-
37
- <Textarea
38
- id="container-id-2"
39
- inputOptions={{ id: "textarea-id-2" }}
40
- label="Both Container and Textarea IDs"
41
- name="comment"
42
- onChange={(e) => setValue3(e.target.value)}
43
- rows={4}
44
- value={value3}
45
- {...props}
46
- />
47
-
48
- <br />
49
-
50
- <Textarea
51
- inputOptions={{
52
- "aria-label": "Enter description",
53
- "aria-describedby": "help-text",
54
- data: { controller: "textarea", action: "focus->handleFocus" },
55
- id: "description-textarea"
56
- }}
57
- label="Data and ARIA Attributes"
58
- name="description"
59
- onChange={(e) => setValue4(e.target.value)}
60
- rows={4}
61
- value={value4}
62
- {...props}
63
- />
64
- </div>
65
- )
66
- }
67
-
68
- export default TextareaInputOptions