playbook_ui_docs 14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 → 14.11.1.pre.alpha.play17725372

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b87aa30f33e7b108b4e005b9abe1fa36f76f435ba0425261e2b1efeffcbea44
4
- data.tar.gz: '05822f0b929223ef65c7c00512bdd6aa804f94eb545d54b99cb69cad8573627f'
3
+ metadata.gz: 71665013535983bbbb262a5e9fd63b1418f67026361e2660fbe3c5f4c2ccea1a
4
+ data.tar.gz: a343b17a0932ac52611e4861419b243c188e410d07a8502a8acab75e029ff42f
5
5
  SHA512:
6
- metadata.gz: 7fe509985ac4eee981ffc5b477f986a23ec6eca428b59b1e3b0aac9e7572337e3e94d125af83c98b766f35a19f01bf7f2683fac4641ce27a4e8295cd3d7b1320
7
- data.tar.gz: 983b9bd19890c4d1c056b636220c68ab570ff01d700c32d7d3892b0d6bff05842c7f26db0ffaf98fea092e9b4f4b1b6557572babf58186ae155d2442353b8262
6
+ metadata.gz: 7a91954d5fef65f3f118f85a45ab2c038560f6a5016a740ce0e6114d3040fa71a3148829dd0874ef4ada370d5018370cd48dbadcd506832a64e0ef384c90f2ba
7
+ data.tar.gz: d0c777e8b3e108bef802adfa5f68cf78017af5505ad3e39278399fc8721effc54d74c5a2263640477e39a3b8809ab6c6193897fc6e94571f656aa6a420d8d2a8
@@ -0,0 +1,50 @@
1
+
2
+
3
+
4
+ <%= pb_rails("title", props: { text: "Input Masks", size: 4, margin_bottom: "md" }) %>
5
+
6
+ <div class="pb--doc-demo-elements">
7
+ <%= pb_rails("text_input", props: {
8
+ label: "Currency",
9
+ mask: "currency",
10
+ margin_bottom: "md",
11
+ name: "currency_name"
12
+ }) %>
13
+
14
+ <%= pb_rails("text_input", props: {
15
+ label: "ZIP Code",
16
+ mask: "zip_code",
17
+ margin_bottom: "md",
18
+ }) %>
19
+
20
+ <%= pb_rails("text_input", props: {
21
+ label: "Postal Code",
22
+ mask: "postal_code",
23
+ placeholder: "12345-6789",
24
+ margin_bottom: "md",
25
+ }) %>
26
+
27
+ <%= pb_rails("text_input", props: {
28
+ label: "Social Security Number",
29
+ mask: "ssn",
30
+ margin_bottom: "md",
31
+ }) %>
32
+
33
+ <%= pb_rails("title" , props: {
34
+ text: "Hidden Input Under The Hood",
35
+ padding_bottom: "sm"
36
+ })%>
37
+
38
+ <%= pb_rails("text_input", props: {
39
+ label: "Currency",
40
+ mask: "currency",
41
+ margin_bottom: "md",
42
+ name: "currency_name",
43
+ id: "example-currency"
44
+ }) %>
45
+
46
+ <style>
47
+ #example-currency-sanitized {display: flex !important;}
48
+ </style>
49
+
50
+ </div>
@@ -0,0 +1,3 @@
1
+ This mask feature lets you style your inputs while maintaining the value that the user typed in.
2
+
3
+ There's a hidden input file that stores the raw value, and has the `name` feild. It will also copy the id field with a "#{your-id-sanitized}"
@@ -8,6 +8,7 @@ examples:
8
8
  - text_input_inline: Inline
9
9
  - text_input_no_label: No Label
10
10
  - text_input_options: Input Options
11
+ - text_input_mask: Mask
11
12
  react:
12
13
  - text_input_default: Default
13
14
  - text_input_error: With Error
@@ -23,4 +24,4 @@ examples:
23
24
  - text_input_error_swift: With Error
24
25
  - text_input_disabled_swift: Disabled
25
26
  - text_input_add_on_swift: Add On
26
- - text_input_props_swift: ""
27
+ - text_input_props_swift: ""
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341
4
+ version: 14.11.1.pre.alpha.play17725372
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-01-10 00:00:00.000000000 Z
12
+ date: 2025-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -1830,7 +1830,9 @@ files:
1830
1830
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md
1831
1831
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
1832
1832
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
1833
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.html.erb
1833
1834
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx
1835
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_mask_rails.md
1834
1836
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
1835
1837
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
1836
1838
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb
@@ -2108,7 +2110,7 @@ homepage: https://playbook.powerapp.cloud/
2108
2110
  licenses:
2109
2111
  - ISC
2110
2112
  metadata: {}
2111
- post_install_message:
2113
+ post_install_message:
2112
2114
  rdoc_options: []
2113
2115
  require_paths:
2114
2116
  - lib
@@ -2124,7 +2126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2124
2126
  version: '0'
2125
2127
  requirements: []
2126
2128
  rubygems_version: 3.5.3
2127
- signing_key:
2129
+ signing_key:
2128
2130
  specification_version: 4
2129
2131
  summary: Playbook Design System Docs
2130
2132
  test_files: []