playbook_ui_docs 15.7.0.pre.alpha.play270013288 β†’ 15.7.0.pre.alpha.play270013367

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: 1d62476042996094254363558ece90fffa173035fa682906e9fbc1171ab8d138
4
- data.tar.gz: dd87eddb307bbad14a4700bf44fe4da2bcfc28a23fc7b5909dfe169e3bc28e08
3
+ metadata.gz: 00e99b07da36921db52f0ac15b8a5137f27d7f3d10eb3c6b4c226d0731290c75
4
+ data.tar.gz: 6119c458bbad84047e958aaec0116545ee27cab61b798edda0581b1c899fc8c5
5
5
  SHA512:
6
- metadata.gz: 9326238a6f91e3bfda2a0edecd58b1413c7f449b559641146760c9a1e4176fe064b6b96013863304990192d697efaa40b90f80b135daaae2062e573396f3eede
7
- data.tar.gz: 355f51e14036720d4a370df3655f13ba78231e1689ba42ac0f8feff5ef90a110e1777ec1df05df83bf6cecec50025571c8d1d594206a7029e8e51c75f6291bcc
6
+ metadata.gz: 689f1aa27a6025039f6af18a9f0cd514cb0d55efdbb54c36f3ee7cce3315aa3fdfcbd02dda10536777141eca3fa257c4c80f1dfb6dc1a5ab4d4dc4cc288c8dd5
7
+ data.tar.gz: 406b0a83e9386ea3fbc89c48ba2b6dbce1127fc564bc19242a1beaf03f7c3bec6b8e0c12f3910c174e5b6c6b88692a8286d238bca694fc330cd056aef870d96e
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbBarGraph } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbCircleChart } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbGaugeChart } from 'playbook-ui/charts'
10
+ ```
@@ -2,4 +2,9 @@
2
2
 
3
3
  This kit is a wrapper around the Highcharts library. It applies styling and default settings but does NOT ship Highcharts. Once 'highcharts' and 'highcharts-react-official are installed into your repo, any prop or functionality provided by Highcharts can be used with this kit without requiring specific props from Playbook. The doc examples below showcase a few common usecases but are not a comprehensive list of all the functionalities possible.
4
4
 
5
- See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
5
+ See the [highcharts API docs](https://api.highcharts.com/highcharts/) for a comprehensive look at what is possible.
6
+
7
+ **NOTE**: All chart kits are available through a separate entrypoint to keep Highcharts optional. Import them using:
8
+ ```javascript
9
+ import { PbLineGraph } from 'playbook-ui/charts'
10
+ ```
@@ -0,0 +1,7 @@
1
+ <%= pb_rails("text_input", props: {
2
+ emoji_mask: true,
3
+ label: "Emoji Mask",
4
+ placeholder: "Try typing or pasting emojis...",
5
+ }) %>
6
+
7
+
@@ -0,0 +1,24 @@
1
+ import React, { useState } from 'react'
2
+
3
+ import TextInput from '../../pb_text_input/_text_input'
4
+
5
+ const TextInputEmojiMask = (props) => {
6
+ const [basicValue, setBasicValue] = useState('')
7
+
8
+ return (
9
+ <div>
10
+ <TextInput
11
+ emojiMask
12
+ label="Emoji Mask"
13
+ onChange={({ target }) => setBasicValue(target.value)}
14
+ placeholder="Try typing or pasting emojis..."
15
+ value={basicValue}
16
+ {...props}
17
+ />
18
+ </div>
19
+ )
20
+ }
21
+
22
+ export default TextInputEmojiMask
23
+
24
+
@@ -0,0 +1,2 @@
1
+ Use the `emojiMask` / `emoji_mask` prop to prevent users from entering emoji characters (🐸 🐈 πŸ„β€β™‚οΈ) in typed or pasted content. It allows accented characters and other non-ASCII letters (Γ©, ΓΌ, ζ–‡).
2
+
@@ -11,6 +11,7 @@ examples:
11
11
  - text_input_mask: Mask
12
12
  - text_input_autocomplete: Autocomplete
13
13
  - text_input_required_indicator: Required Indicator
14
+ - text_input_emoji_mask: Emoji Mask
14
15
 
15
16
 
16
17
  react:
@@ -25,6 +26,7 @@ examples:
25
26
  - text_input_sanitize: Sanitized Masked Input
26
27
  - text_input_autocomplete: Autocomplete
27
28
  - text_input_required_indicator: Required Indicator
29
+ - text_input_emoji_mask: Emoji Mask
28
30
 
29
31
 
30
32
  swift:
@@ -9,3 +9,4 @@ export { default as TextInputMask } from './_text_input_mask.jsx'
9
9
  export { default as TextInputSanitize } from './_text_input_sanitize.jsx'
10
10
  export { default as TextInputAutocomplete } from './_text_input_autocomplete.jsx'
11
11
  export { default as TextInputRequiredIndicator } from './_text_input_required_indicator.jsx'
12
+ export { default as TextInputEmojiMask } from './_text_input_emoji_mask.jsx'
@@ -0,0 +1,5 @@
1
+ <%= pb_rails("textarea", props: {
2
+ emoji_mask: true,
3
+ label: "Emoji Mask",
4
+ placeholder: "Try typing or pasting emojis...",
5
+ }) %>
@@ -0,0 +1,24 @@
1
+ import React, { useState } from 'react'
2
+
3
+ import Textarea from '../../pb_textarea/_textarea'
4
+
5
+ const TextareaEmojiMask = (props) => {
6
+ const [basicValue, setBasicValue] = useState('')
7
+
8
+ return (
9
+ <div>
10
+ <Textarea
11
+ emojiMask
12
+ label="Emoji Mask"
13
+ onChange={({ target }) => setBasicValue(target.value)}
14
+ placeholder="Try typing or pasting emojis..."
15
+ value={basicValue}
16
+ {...props}
17
+ />
18
+ </div>
19
+ )
20
+ }
21
+
22
+ export default TextareaEmojiMask
23
+
24
+
@@ -0,0 +1 @@
1
+ Use the `emojiMask` / `emoji_mask` prop to prevent users from entering emoji characters (🐸 🐈 πŸ„β€β™‚οΈ) in typed or pasted content. It allows accented characters and other non-ASCII letters (Γ©, ΓΌ, ζ–‡).
@@ -7,6 +7,7 @@ examples:
7
7
  - textarea_error: Textarea w/ Error
8
8
  - textarea_character_counter: Character Counter
9
9
  - textarea_inline: Inline
10
+ - textarea_emoji_mask: Emoji Mask
10
11
 
11
12
  react:
12
13
  - textarea_default: Default
@@ -15,6 +16,7 @@ examples:
15
16
  - textarea_error: Textarea w/ Error
16
17
  - textarea_character_counter: Character Counter
17
18
  - textarea_inline: Inline
19
+ - textarea_emoji_mask: Emoji Mask
18
20
 
19
21
  swift:
20
22
  - textarea_default_swift: Default
@@ -4,3 +4,4 @@ export { default as TextareaCustom } from './_textarea_custom.jsx'
4
4
  export { default as TextareaError } from './_textarea_error.jsx'
5
5
  export { default as TextareaCharacterCounter } from './_textarea_character_counter.jsx'
6
6
  export { default as TextareaInline } from './_textarea_inline.jsx'
7
+ export { default as TextareaEmojiMask } from './_textarea_emoji_mask.jsx'
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: 15.7.0.pre.alpha.play270013288
4
+ version: 15.7.0.pre.alpha.play270013367
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-01-05 00:00:00.000000000 Z
12
+ date: 2026-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -2269,6 +2269,9 @@ files:
2269
2269
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.html.erb
2270
2270
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx
2271
2271
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md
2272
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_emoji_mask.html.erb
2273
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_emoji_mask.jsx
2274
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_emoji_mask.md
2272
2275
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.html.erb
2273
2276
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx
2274
2277
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.md
@@ -2298,6 +2301,9 @@ files:
2298
2301
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.html.erb
2299
2302
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx
2300
2303
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md
2304
+ - app/pb_kits/playbook/pb_textarea/docs/_textarea_emoji_mask.html.erb
2305
+ - app/pb_kits/playbook/pb_textarea/docs/_textarea_emoji_mask.jsx
2306
+ - app/pb_kits/playbook/pb_textarea/docs/_textarea_emoji_mask.md
2301
2307
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.html.erb
2302
2308
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx
2303
2309
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.md