playbook_ui_docs 12.26.1.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown831 → 12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -4
  3. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -3
  4. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.jsx +26 -0
  5. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.md +3 -0
  6. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.jsx +30 -0
  7. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.md +3 -0
  8. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +14 -0
  9. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +60 -0
  10. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +5 -1
  11. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +3 -0
  12. data/dist/playbook-doc.js +199 -199
  13. metadata +8 -9
  14. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.html.erb +0 -12
  15. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md +0 -3
  16. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.html.erb +0 -12
  17. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.jsx +0 -18
  18. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md +0 -1
  19. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.jsx +0 -17
  20. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md +0 -1
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: 12.26.1.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown831
4
+ version: 12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836
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-23 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: playbook_ui
@@ -360,13 +360,6 @@ files:
360
360
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
361
361
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
362
362
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx
363
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.html.erb
364
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md
365
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.html.erb
366
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.jsx
367
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.md
368
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.jsx
369
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.md
370
363
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
371
364
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
372
365
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
@@ -944,6 +937,10 @@ files:
944
937
  - app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx
945
938
  - app/pb_kits/playbook/pb_person_contact/docs/example.yml
946
939
  - app/pb_kits/playbook/pb_person_contact/docs/index.js
940
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.jsx
941
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.md
942
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.jsx
943
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.md
947
944
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb
948
945
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
949
946
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md
@@ -956,6 +953,8 @@ files:
956
953
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
957
954
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
958
955
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
956
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
957
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
959
958
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
960
959
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
961
960
  - app/pb_kits/playbook/pb_pill/docs/_description.md
@@ -1,12 +0,0 @@
1
- <%= pb_rails("date_picker", props: {
2
- allow_input: true,
3
- end_date_id: "quick-pick-end-date",
4
- end_date_name: "quick-pick-end-date",
5
- mode: "range",
6
- picker_id: "date-picker-quick-pick",
7
- placeholder: "mm/dd/yyyy → mm/dd/yyyy",
8
- selection_type: "quickpick",
9
- start_date_id: "quick-pick-start-date",
10
- start_date_name: "quick-pick-start-date"
11
- }) %>
12
-
@@ -1,3 +0,0 @@
1
- This date range variant uses hidden inputs to handle start and end dates. While they are not required props, it is advisable to specify a unique `start_date_id`, `start_date_name`, `end_date_id`, and `end_date_name` for each quick pick instance you place in a form and/or on a page.
2
-
3
- Like all other date pickers, the quick pick does require a `picker_id`.
@@ -1,12 +0,0 @@
1
- <%= pb_rails("date_picker", props: {
2
- allow_input: true,
3
- end_date_id: "range-limit-end-date",
4
- end_date_name: "range-limit-end-date",
5
- mode: "range",
6
- picker_id: "thisRangesEndToday",
7
- placeholder: "mm/dd/yyyy → mm/dd/yyyy",
8
- selection_type: "quickpick",
9
- start_date_id: "range-limit-start-date",
10
- start_date_name: "range-limit-start-date",
11
- this_ranges_end_today: true
12
- }) %>
@@ -1,18 +0,0 @@
1
- import React from 'react'
2
- import DatePicker from '../_date_picker'
3
-
4
- const DatePickerQuickPickRangeLimit = (props) => (
5
- <>
6
- <DatePicker
7
- allowInput
8
- mode="range"
9
- pickerId="thisRangesEndToday"
10
- placeholder="mm/dd/yyyy → mm/dd/yyyy"
11
- selectionType="quickpick"
12
- thisRangesEndToday
13
- {...props}
14
- />
15
- </>
16
- )
17
-
18
- export default DatePickerQuickPickRangeLimit
@@ -1 +0,0 @@
1
- Applying `this_ranges_end_today` (Rails) or `thisRangesEndToday` (React) causes all “This” preset ranges (i.e., this week, this month, this quarter, this year) to use an endDate of today, instead of their natural end date in the future.
@@ -1,17 +0,0 @@
1
- import React from 'react'
2
- import DatePicker from '../_date_picker'
3
-
4
- const DatePickerQuickPickReact = (props) => (
5
- <>
6
- <DatePicker
7
- allowInput
8
- mode="range"
9
- pickerId="date-picker-quick-pick"
10
- placeholder="mm/dd/yyyy → mm/dd/yyyy"
11
- selectionType="quickpick"
12
- {...props}
13
- />
14
- </>
15
- )
16
-
17
- export default DatePickerQuickPickReact
@@ -1 +0,0 @@
1
- Use the `onChange` handler function to access the startDate and endDate values. Check the [`onChange` example](https://playbook.powerapp.cloud/kits/date_picker/react#onchange) for more information.