playbook_ui 12.26.1.pre.alpha.railsmultilevelimprovements842 → 12.27.0.pre.alpha.expandednotworking853

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +11 -9
  3. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_month_and_year_styles.scss +1 -1
  4. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss +1 -1
  5. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +1 -1
  6. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +28 -3
  7. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +1 -0
  8. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +0 -3
  9. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +109 -44
  10. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +14 -0
  11. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +60 -0
  12. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +3 -1
  13. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +1 -0
  14. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +6 -0
  15. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js +110 -62
  16. data/app/pb_kits/playbook/pb_rich_text_editor/_trix_styles.scss +2 -2
  17. data/app/pb_kits/playbook/pb_title/_title.scss +1 -1
  18. data/app/pb_kits/playbook/pb_title/_title.tsx +2 -3
  19. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb +1 -0
  20. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx +6 -0
  21. data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.md +1 -2
  22. data/app/pb_kits/playbook/pb_title/title.rb +3 -10
  23. data/app/pb_kits/playbook/pb_title/title.test.js +3 -3
  24. data/app/pb_kits/playbook/utilities/object.ts +3 -0
  25. data/dist/playbook-rails.js +4 -4
  26. data/lib/playbook/forms/builder/intl_telephone_field.rb +12 -0
  27. data/lib/playbook/forms/builder.rb +1 -0
  28. data/lib/playbook/version.rb +2 -2
  29. metadata +6 -2
@@ -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
  require_relative "builder/multi_level_select_field"
14
15
 
15
16
  prepend(FormFieldBuilder.new(:email_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.26.1"
5
- VERSION = "12.26.1.pre.alpha.railsmultilevelimprovements842"
4
+ PREVIOUS_VERSION = "12.27.0"
5
+ VERSION = "12.27.0.pre.alpha.expandednotworking853"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.26.1.pre.alpha.railsmultilevelimprovements842
4
+ version: 12.27.0.pre.alpha.expandednotworking853
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: 2023-06-27 00:00:00.000000000 Z
12
+ date: 2023-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1601,6 +1601,8 @@ files:
1601
1601
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
1602
1602
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
1603
1603
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
1604
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
1605
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
1604
1606
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
1605
1607
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
1606
1608
  - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb
@@ -2412,6 +2414,7 @@ files:
2412
2414
  - app/pb_kits/playbook/utilities/flexbox_global_props/_justify_self.scss
2413
2415
  - app/pb_kits/playbook/utilities/flexbox_global_props/_order.scss
2414
2416
  - app/pb_kits/playbook/utilities/globalProps.ts
2417
+ - app/pb_kits/playbook/utilities/object.ts
2415
2418
  - app/pb_kits/playbook/utilities/props.ts
2416
2419
  - app/pb_kits/playbook/utilities/test-utils.js
2417
2420
  - app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js
@@ -2450,6 +2453,7 @@ files:
2450
2453
  - lib/playbook/forms/builder/collection_select_field.rb
2451
2454
  - lib/playbook/forms/builder/date_picker_field.rb
2452
2455
  - lib/playbook/forms/builder/form_field_builder.rb
2456
+ - lib/playbook/forms/builder/intl_telephone_field.rb
2453
2457
  - lib/playbook/forms/builder/multi_level_select_field.rb
2454
2458
  - lib/playbook/forms/builder/select_field.rb
2455
2459
  - lib/playbook/forms/builder/typeahead_field.rb