playbook_ui 12.26.0 → 12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module Forms
5
+ class Builder
6
+ def intl_telephone(name, props: {})
7
+ props[:name] = name
8
+ @template.pb_rails("phone_number_input", props: props)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -10,6 +10,7 @@ module Playbook
10
10
  require_relative "builder/form_field_builder"
11
11
  require_relative "builder/select_field"
12
12
  require_relative "builder/typeahead_field"
13
+ require_relative "builder/intl_telephone_field"
13
14
 
14
15
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
15
16
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.25.0"
5
- VERSION = "12.26.0"
4
+ PREVIOUS_VERSION = "12.26.1"
5
+ VERSION = "12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.26.0
4
+ version: 12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836
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: 2023-06-15 00:00:00.000000000 Z
12
+ date: 2023-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1588,6 +1588,10 @@ files:
1588
1588
  - app/pb_kits/playbook/pb_person_contact/person_contact.test.js
1589
1589
  - app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss
1590
1590
  - app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx
1591
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.jsx
1592
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.md
1593
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.jsx
1594
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.md
1591
1595
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb
1592
1596
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
1593
1597
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md
@@ -1600,6 +1604,8 @@ files:
1600
1604
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
1601
1605
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
1602
1606
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
1607
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
1608
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
1603
1609
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
1604
1610
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
1605
1611
  - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb
@@ -2411,6 +2417,7 @@ files:
2411
2417
  - app/pb_kits/playbook/utilities/flexbox_global_props/_justify_self.scss
2412
2418
  - app/pb_kits/playbook/utilities/flexbox_global_props/_order.scss
2413
2419
  - app/pb_kits/playbook/utilities/globalProps.ts
2420
+ - app/pb_kits/playbook/utilities/object.ts
2414
2421
  - app/pb_kits/playbook/utilities/props.ts
2415
2422
  - app/pb_kits/playbook/utilities/test-utils.js
2416
2423
  - app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js
@@ -2449,6 +2456,7 @@ files:
2449
2456
  - lib/playbook/forms/builder/collection_select_field.rb
2450
2457
  - lib/playbook/forms/builder/date_picker_field.rb
2451
2458
  - lib/playbook/forms/builder/form_field_builder.rb
2459
+ - lib/playbook/forms/builder/intl_telephone_field.rb
2452
2460
  - lib/playbook/forms/builder/select_field.rb
2453
2461
  - lib/playbook/forms/builder/typeahead_field.rb
2454
2462
  - lib/playbook/justify_content.rb
@@ -2487,7 +2495,7 @@ homepage: https://playbook.powerapp.cloud/
2487
2495
  licenses:
2488
2496
  - ISC
2489
2497
  metadata: {}
2490
- post_install_message:
2498
+ post_install_message:
2491
2499
  rdoc_options: []
2492
2500
  require_paths:
2493
2501
  - lib
@@ -2498,12 +2506,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2498
2506
  version: '0'
2499
2507
  required_rubygems_version: !ruby/object:Gem::Requirement
2500
2508
  requirements:
2501
- - - ">="
2509
+ - - ">"
2502
2510
  - !ruby/object:Gem::Version
2503
- version: '0'
2511
+ version: 1.3.1
2504
2512
  requirements: []
2505
2513
  rubygems_version: 3.3.7
2506
- signing_key:
2514
+ signing_key:
2507
2515
  specification_version: 4
2508
2516
  summary: Playbook Design System
2509
2517
  test_files: []