playbook_ui_docs 13.13.0.pre.alpha.play10221678 → 13.13.0.pre.alpha.play10821726

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +5 -4
  3. data/app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md +14 -0
  4. data/app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md +6 -0
  5. data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md +14 -0
  6. data/app/pb_kits/playbook/pb_contact/docs/example.yml +6 -0
  7. data/app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md +11 -0
  8. data/app/pb_kits/playbook/pb_date/docs/_date_default_swift.md +16 -0
  9. data/app/pb_kits/playbook/pb_date/docs/_date_props_swift.md +8 -0
  10. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md +11 -0
  11. data/app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md +14 -0
  12. data/app/pb_kits/playbook/pb_date/docs/example.yml +7 -0
  13. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_react.jsx +2 -2
  14. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -4
  15. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -2
  16. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +8 -4
  17. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +8 -4
  18. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +4 -2
  19. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +1 -1
  20. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default_swift.md +18 -0
  21. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis_swift.md +34 -0
  22. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link_swift.md +18 -0
  23. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified_swift.md +13 -0
  24. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_props_swift.md +14 -0
  25. data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +6 -0
  26. data/dist/menu.yml +240 -168
  27. data/dist/playbook-doc.js +6 -6
  28. metadata +15 -8
  29. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.html.erb +0 -29
  30. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.jsx +0 -34
  31. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md +0 -7
  32. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.html.erb +0 -28
  33. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.jsx +0 -34
  34. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.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: 13.13.0.pre.alpha.play10221678
4
+ version: 13.13.0.pre.alpha.play10821726
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-12-13 00:00:00.000000000 Z
12
+ date: 2023-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -323,8 +323,11 @@ files:
323
323
  - app/pb_kits/playbook/pb_collapsible/docs/index.js
324
324
  - app/pb_kits/playbook/pb_contact/docs/_contact_default.html.erb
325
325
  - app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx
326
+ - app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md
327
+ - app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md
326
328
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb
327
329
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx
330
+ - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md
328
331
  - app/pb_kits/playbook/pb_contact/docs/_description.md
329
332
  - app/pb_kits/playbook/pb_contact/docs/example.yml
330
333
  - app/pb_kits/playbook/pb_contact/docs/index.js
@@ -355,15 +358,20 @@ files:
355
358
  - app/pb_kits/playbook/pb_dashboard_value/docs/index.js
356
359
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb
357
360
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx
361
+ - app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md
358
362
  - app/pb_kits/playbook/pb_date/docs/_date_default.html.erb
359
363
  - app/pb_kits/playbook/pb_date/docs/_date_default.jsx
364
+ - app/pb_kits/playbook/pb_date/docs/_date_default_swift.md
365
+ - app/pb_kits/playbook/pb_date/docs/_date_props_swift.md
360
366
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
361
367
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
362
368
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb
363
369
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx
364
370
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.md
371
+ - app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md
365
372
  - app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
366
373
  - app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
374
+ - app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md
367
375
  - app/pb_kits/playbook/pb_date/docs/_description.md
368
376
  - app/pb_kits/playbook/pb_date/docs/example.yml
369
377
  - app/pb_kits/playbook/pb_date/docs/index.js
@@ -412,12 +420,6 @@ files:
412
420
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md
413
421
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb
414
422
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx
415
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.html.erb
416
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.jsx
417
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
418
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.html.erb
419
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.jsx
420
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom_override.md
421
423
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.html.erb
422
424
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_rails.md
423
425
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_range_limit.html.erb
@@ -706,14 +708,19 @@ files:
706
708
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.html.erb
707
709
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx
708
710
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.md
711
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default_swift.md
709
712
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.html.erb
710
713
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx
711
714
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.md
715
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis_swift.md
712
716
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.html.erb
713
717
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.jsx
714
718
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.md
719
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link_swift.md
715
720
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.html.erb
716
721
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx
722
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified_swift.md
723
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_props_swift.md
717
724
  - app/pb_kits/playbook/pb_home_address_street/docs/example.yml
718
725
  - app/pb_kits/playbook/pb_home_address_street/docs/index.js
719
726
  - app/pb_kits/playbook/pb_icon/docs/_description.md
@@ -1,29 +0,0 @@
1
- <%= pb_rails("date_picker", props: {
2
- allow_input: true,
3
- custom_quick_pick_dates: {
4
- dates: [
5
- # Allow Playbook to handle the logic...
6
- {
7
- label: "Last 15 months",
8
- value: {
9
- timePeriod: "months",
10
- amount: 15,
11
- },
12
- },
13
- # Or, be explicit with an exact date range for more control...
14
- {
15
- label: "First Week of June 2022",
16
- value: ["06/01/2022", "06/07/2022"],
17
- },
18
- ],
19
- },
20
- end_date_id: "quick-pick-end-date",
21
- end_date_name: "quick-pick-end-date",
22
- mode: "range",
23
- picker_id: "date-picker-quick-pick-custom",
24
- placeholder: "mm/dd/yyyy to mm/dd/yyyy",
25
- selection_type: "quickpick",
26
- start_date_id: "quick-pick-start-date",
27
- start_date_name: "quick-pick-start-date"
28
- }) %>
29
-
@@ -1,34 +0,0 @@
1
- import React from "react"
2
- import DatePicker from "../_date_picker"
3
-
4
- const DatePickerQuickPickCustom = (props) => (
5
- <>
6
- <DatePicker
7
- allowInput
8
- customQuickPickDates={{
9
- dates: [
10
- // Allow Playbook to handle the logic...
11
- {
12
- label: "Last 15 months",
13
- value: {
14
- timePeriod: "months",
15
- amount: 15,
16
- },
17
- },
18
- // Or, be explicit with an exact date range for more control...
19
- {
20
- label: "First Week of June 2022",
21
- value: ["06/01/2022", "06/07/2022"],
22
- },
23
- ],
24
- }}
25
- mode='range'
26
- pickerId='date-picker-quick-pick-custom-override'
27
- placeholder='mm/dd/yyyy to mm/dd/yyyy'
28
- selectionType='quickpick'
29
- {...props}
30
- />
31
- </>
32
- )
33
-
34
- export default DatePickerQuickPickCustom
@@ -1,7 +0,0 @@
1
- The customQuickPickDates/custom_quick_pick_dates prop allows for the user/dev to define their own quick pick dates.
2
- The prop accepts an object with two key/value pairs: dates & override (separate doc example below).
3
-
4
- The dates property accepts an array of objects. Each object in the array has label and value properties. The label is what will be displayed in the UI of the dropdown menu. The value property is just the date that is going to be passed to the datepicker. The value property can be an array of two strings that represent a range, allowing for the dev to be extremely specific. Additionally, the dates array allows for a clean, simple API under that automatically converts dates in a common vernacular.
5
-
6
- The timePeriod property accepts "days", "weeks", "months", "quarters" or "years", representing past time periods.
7
- The amount property accepts any number.
@@ -1,28 +0,0 @@
1
- <%= pb_rails("date_picker", props: {
2
- allow_input: true,
3
- custom_quick_pick_dates: {
4
- override: false,
5
- dates: [
6
- {
7
- label: "Last 15 months",
8
- value: {
9
- timePeriod: "months",
10
- amount: 15,
11
- },
12
- },
13
- {
14
- label: "First Week of June 2022",
15
- value: ["06/01/2022", "06/07/2022"],
16
- },
17
- ],
18
- },
19
- end_date_id: "quick-pick-end-date",
20
- end_date_name: "quick-pick-end-date",
21
- mode: "range",
22
- picker_id: "date-picker-quick-pick-override",
23
- placeholder: "mm/dd/yyyy to mm/dd/yyyy",
24
- selection_type: "quickpick",
25
- start_date_id: "quick-pick-start-date",
26
- start_date_name: "quick-pick-start-date"
27
- }) %>
28
-
@@ -1,34 +0,0 @@
1
- import React from "react"
2
- import DatePicker from "../_date_picker"
3
-
4
- const DatePickerQuickPickCustomOverride = (props) => (
5
- <>
6
- <DatePicker
7
- allowInput
8
- customQuickPickDates={{
9
- override: false,
10
- dates: [
11
- {
12
- label: "Last 15 months",
13
- value: {
14
- timePeriod: "months",
15
- amount: 15,
16
- },
17
- },
18
- {
19
- label: "First Week of June 2022",
20
- value: ["06/01/2022", "06/07/2022"],
21
- },
22
- ],
23
- }}
24
- marginTop='lg'
25
- mode='range'
26
- pickerId='date-picker-quick-pick-custom'
27
- placeholder='mm/dd/yyyy to mm/dd/yyyy'
28
- selectionType='quickpick'
29
- {...props}
30
- />
31
- </>
32
- )
33
-
34
- export default DatePickerQuickPickCustomOverride
@@ -1 +0,0 @@
1
- The customQuickPickDates/custom_quick_pick_dates prop allows for an override boolean. The override allows for the user to completely override the quick pick dates that ship with the component. Default of `override` is set to true. If you would like to simply append your dates to the default quick pick dates, set this prop to false explicitly.