playbook_ui_docs 13.14.0.pre.alpha.play1120lintdatepicker1797 → 13.14.0

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_button/docs/_button_props_swift.md +0 -11
  3. data/app/pb_kits/playbook/pb_button/docs/example.yml +0 -1
  4. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +4 -5
  5. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +4 -8
  6. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +4 -8
  7. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +2 -4
  8. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +1 -1
  9. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -7
  10. data/app/pb_kits/playbook/pb_person/docs/example.yml +0 -4
  11. data/app/pb_kits/playbook/pb_select/docs/example.yml +0 -5
  12. data/app/pb_kits/playbook/pb_user/docs/example.yml +0 -7
  13. data/dist/playbook-doc.js +8 -8
  14. metadata +7 -22
  15. data/app/pb_kits/playbook/pb_button/docs/_button_reaction_swift.md +0 -26
  16. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default_swift.md +0 -11
  17. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_props_table.md +0 -13
  18. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes_swift.md +0 -18
  19. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status_swift.md +0 -14
  20. data/app/pb_kits/playbook/pb_person/docs/_person_default_swift.md +0 -8
  21. data/app/pb_kits/playbook/pb_person/docs/_person_props_swift.md +0 -5
  22. data/app/pb_kits/playbook/pb_select/docs/_select_default_swift.md +0 -15
  23. data/app/pb_kits/playbook/pb_select/docs/_select_error_swift.md +0 -18
  24. data/app/pb_kits/playbook/pb_select/docs/_select_props_table.md +0 -8
  25. data/app/pb_kits/playbook/pb_user/docs/_user_horizontal_swift.md +0 -37
  26. data/app/pb_kits/playbook/pb_user/docs/_user_props_table.md +0 -10
  27. data/app/pb_kits/playbook/pb_user/docs/_user_size_swift.md +0 -35
  28. data/app/pb_kits/playbook/pb_user/docs/_user_text_only_swift.md +0 -27
  29. data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size_swift.md +0 -35
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: 13.14.0.pre.alpha.play1120lintdatepicker1797
4
+ version: 13.14.0
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: 2024-01-03 00:00:00.000000000 Z
12
+ date: 2023-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -179,7 +179,6 @@ files:
179
179
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
180
180
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
181
181
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.md
182
- - app/pb_kits/playbook/pb_button/docs/_button_reaction_swift.md
183
182
  - app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
184
183
  - app/pb_kits/playbook/pb_button/docs/_button_size.jsx
185
184
  - app/pb_kits/playbook/pb_button/docs/_button_size.md
@@ -512,14 +511,12 @@ files:
512
511
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.html.erb
513
512
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx
514
513
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
515
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_default_swift.md
516
514
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.html.erb
517
515
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx
518
516
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.md
519
517
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.html.erb
520
518
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx
521
519
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.md
522
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_props_table.md
523
520
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.html.erb
524
521
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx
525
522
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md
@@ -530,14 +527,12 @@ files:
530
527
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md
531
528
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.html.erb
532
529
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx
533
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes_swift.md
534
530
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.html.erb
535
531
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx
536
532
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.md
537
533
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.html.erb
538
534
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx
539
535
  - app/pb_kits/playbook/pb_dialog/docs/_dialog_status.md
540
- - app/pb_kits/playbook/pb_dialog/docs/_dialog_status_swift.md
541
536
  - app/pb_kits/playbook/pb_dialog/docs/example.yml
542
537
  - app/pb_kits/playbook/pb_dialog/docs/index.js
543
538
  - app/pb_kits/playbook/pb_distribution_bar/docs/_description.md
@@ -1081,8 +1076,6 @@ files:
1081
1076
  - app/pb_kits/playbook/pb_person/docs/_person_default.html.erb
1082
1077
  - app/pb_kits/playbook/pb_person/docs/_person_default.jsx
1083
1078
  - app/pb_kits/playbook/pb_person/docs/_person_default.md
1084
- - app/pb_kits/playbook/pb_person/docs/_person_default_swift.md
1085
- - app/pb_kits/playbook/pb_person/docs/_person_props_swift.md
1086
1079
  - app/pb_kits/playbook/pb_person/docs/example.yml
1087
1080
  - app/pb_kits/playbook/pb_person/docs/index.js
1088
1081
  - app/pb_kits/playbook/pb_person_contact/docs/_description.md
@@ -1262,7 +1255,6 @@ files:
1262
1255
  - app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx
1263
1256
  - app/pb_kits/playbook/pb_select/docs/_select_default.html.erb
1264
1257
  - app/pb_kits/playbook/pb_select/docs/_select_default.jsx
1265
- - app/pb_kits/playbook/pb_select/docs/_select_default_swift.md
1266
1258
  - app/pb_kits/playbook/pb_select/docs/_select_disabled.html.erb
1267
1259
  - app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx
1268
1260
  - app/pb_kits/playbook/pb_select/docs/_select_disabled_options.html.erb
@@ -1270,7 +1262,6 @@ files:
1270
1262
  - app/pb_kits/playbook/pb_select/docs/_select_error.html.erb
1271
1263
  - app/pb_kits/playbook/pb_select/docs/_select_error.jsx
1272
1264
  - app/pb_kits/playbook/pb_select/docs/_select_error.md
1273
- - app/pb_kits/playbook/pb_select/docs/_select_error_swift.md
1274
1265
  - app/pb_kits/playbook/pb_select/docs/_select_inline.html.erb
1275
1266
  - app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
1276
1267
  - app/pb_kits/playbook/pb_select/docs/_select_inline_compact.html.erb
@@ -1278,7 +1269,6 @@ files:
1278
1269
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb
1279
1270
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx
1280
1271
  - app/pb_kits/playbook/pb_select/docs/_select_multiple.md
1281
- - app/pb_kits/playbook/pb_select/docs/_select_props_table.md
1282
1272
  - app/pb_kits/playbook/pb_select/docs/_select_required.html.erb
1283
1273
  - app/pb_kits/playbook/pb_select/docs/_select_required.jsx
1284
1274
  - app/pb_kits/playbook/pb_select/docs/_select_value_text_same.html.erb
@@ -1673,19 +1663,14 @@ files:
1673
1663
  - app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_react.md
1674
1664
  - app/pb_kits/playbook/pb_user/docs/_user_default.html.erb
1675
1665
  - app/pb_kits/playbook/pb_user/docs/_user_default.jsx
1676
- - app/pb_kits/playbook/pb_user/docs/_user_horizontal_swift.md
1677
- - app/pb_kits/playbook/pb_user/docs/_user_props_table.md
1678
1666
  - app/pb_kits/playbook/pb_user/docs/_user_size.html.erb
1679
1667
  - app/pb_kits/playbook/pb_user/docs/_user_size.jsx
1680
- - app/pb_kits/playbook/pb_user/docs/_user_size_swift.md
1681
1668
  - app/pb_kits/playbook/pb_user/docs/_user_subtitle.html.erb
1682
1669
  - app/pb_kits/playbook/pb_user/docs/_user_subtitle.jsx
1683
1670
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.html.erb
1684
1671
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx
1685
- - app/pb_kits/playbook/pb_user/docs/_user_text_only_swift.md
1686
1672
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.html.erb
1687
1673
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx
1688
- - app/pb_kits/playbook/pb_user/docs/_user_vertical_size_swift.md
1689
1674
  - app/pb_kits/playbook/pb_user/docs/_user_with_territory.html.erb
1690
1675
  - app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
1691
1676
  - app/pb_kits/playbook/pb_user/docs/example.yml
@@ -1726,7 +1711,7 @@ homepage: https://playbook.powerapp.cloud/
1726
1711
  licenses:
1727
1712
  - ISC
1728
1713
  metadata: {}
1729
- post_install_message:
1714
+ post_install_message:
1730
1715
  rdoc_options: []
1731
1716
  require_paths:
1732
1717
  - lib
@@ -1737,12 +1722,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1737
1722
  version: '0'
1738
1723
  required_rubygems_version: !ruby/object:Gem::Requirement
1739
1724
  requirements:
1740
- - - ">"
1725
+ - - ">="
1741
1726
  - !ruby/object:Gem::Version
1742
- version: 1.3.1
1727
+ version: '0'
1743
1728
  requirements: []
1744
1729
  rubygems_version: 3.3.7
1745
- signing_key:
1730
+ signing_key:
1746
1731
  specification_version: 4
1747
1732
  summary: Playbook Design System Docs
1748
1733
  test_files: []
@@ -1,26 +0,0 @@
1
- ![reaction-button](https://github.com/powerhome/playbook/assets/54749071/10d21ee2-4faf-4c18-ab72-242df8f837c4)
2
-
3
- ```swift
4
- @State private var count: Int = 153
5
- @State private var count1: Int = 5
6
-
7
- HStack(alignment: .center, spacing: 12) {
8
- PBReactionButton(
9
- count: $count,
10
- icon: "\u{1F389}",
11
- isInteractive: true
12
- )
13
- PBReactionButton(
14
- count: $count1,
15
- icon: "1️⃣",
16
- isInteractive: false
17
- )
18
- PBReactionButton(
19
- isInteractive: false
20
- )
21
- PBReactionButton(
22
- pbIcon: PBIcon(FontAwesome.user),
23
- isInteractive: false
24
- )
25
- }
26
- ```
@@ -1,11 +0,0 @@
1
- ![user-default](https://github.com/powerhome/playbook/assets/54749071/f9b593d5-a688-49bf-a282-8fb70058b539)
2
-
3
- ```swift
4
- PBDialog(
5
- title: "This is some informative text",
6
- message: infoMessage,
7
- cancelButton: ("Cancel", closeToast),
8
- confirmButton: ("Okay", closeToast)
9
- )
10
- ```
11
-
@@ -1,13 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **content** | `Content` | Sets the View content | | |
5
- | **title** | `String` | Sets title for dialog header | | |
6
- | **message** | `String` | Sets dialog message| | |
7
- | **variant** | `DialogVariant` | Changes variant of dialog | `.default` | `.default` `.status()` |
8
- | **isStacked** | `isStacked` | Changes whether the dialog buttons are stacked or inline | `false` | `true` `false` |
9
- | **cancelButton** | `Action` | Dismisses the dialog | | |
10
- | **confirmButton** | `Action` | Confirms dialog message was received | | |
11
- | **onClose** | `Action` | Starts action when dialog is closed | | |
12
- | **size** | `DialogSize` | Determines size of dialog | `.medium`| `.small` `.medium` `large` |
13
- | **shouldCloseOnOverlay** | `Bool` | Determines if overlay should close | `false` | `true` `false` |
@@ -1,18 +0,0 @@
1
- ![dialog-large](https://github.com/powerhome/playbook/assets/54749071/41ea273d-3f85-4514-88d7-21f49499f9a2)
2
-
3
- ```swift
4
- @State private var presentSmallDialog: Bool = false
5
- @State private var presentMediumDialog: Bool = false
6
- @State private var presentLargeDialog: Bool = false
7
- let infoMessage = "This is a message for informational purposes only and requires no action."
8
-
9
- PBDialog(
10
- title: "Large",
11
- message: infoMessage,
12
- variant: .default,
13
- isStacked: false,
14
- cancelButton: ("Cancel", {}),
15
- confirmButton: ("Okay", {}),
16
- size: .large
17
- )
18
- ```
@@ -1,14 +0,0 @@
1
- ![success](https://github.com/powerhome/playbook/assets/54749071/a3605f4f-ea77-4377-a1bd-977bb3c26a03)
2
-
3
- ```swift
4
-
5
- PBDialog(
6
- title: "Success!",
7
- message: infoMessage,
8
- variant: .status(.success),
9
- isStacked: true,
10
- cancelButton: ("Cancel", closeToast),
11
- confirmButton: ("Okay", closeToast),
12
- size: .small
13
- )
14
- ```
@@ -1,8 +0,0 @@
1
- ![PBIOS-227](https://github.com/powerhome/playbook/assets/92755007/e43f94bd-2d2e-46cc-a848-6ac7425f89f9)
2
-
3
-
4
- ```swift
5
-
6
- PBPerson(firstName: "Timothy", lastName: "Wenhold")
7
-
8
- ```
@@ -1,5 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **firstName** | `String` | Sets the first name | | |
5
- | **lastName** | `String` | Sets the last name | | |
@@ -1,15 +0,0 @@
1
- ![select-default](https://github.com/powerhome/playbook/assets/54749071/ead0e074-46ae-425a-ab32-d9c4418a0783)
2
-
3
-
4
- ```swift
5
- let defaultOptions = [
6
- (value: "1", text: "Burgers"),
7
- (value: "2", text: "Pizza"),
8
- (value: "3", text: "Tacos")
9
- ]
10
- @State private var defaultState = ""
11
-
12
- PBSelect(title: "Favorite Food", options: defaultOptions, style: .default) { selected in
13
- defaultState = selected
14
- }
15
- ```
@@ -1,18 +0,0 @@
1
- ![select-error](https://github.com/powerhome/playbook/assets/54749071/c02e365b-c3a1-446b-b9f2-47db11315786)
2
-
3
- ```swift
4
- let defaultOptions = [
5
- (value: "1", text: "Burgers"),
6
- (value: "2", text: "Pizza"),
7
- (value: "3", text: "Tacos")
8
- ]
9
- @State private var errorState = ""
10
-
11
- PBSelect(
12
- title: "Favorite Food",
13
- options: defaultOptions,
14
- style: .error("Please make a valid selection")
15
- ) { selected in
16
- errorState = selected
17
- }
18
- ```
@@ -1,8 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **title** | `String` | Sets label title for dropdown | | |
5
- | **options** | `(String, String)` | Displays the list of dropdown options | | |
6
- | **style** | `Variant` | Options for the state of dropdown | `.default` | `default` `disabled` `error` |
7
- | **selectedOption** | `String` | Changes selected value when new value is selected | | |
8
- | **selected** | `String` | Changes the value of the option selected in dropdown | | |
@@ -1,37 +0,0 @@
1
- ![user-horizontal](https://github.com/powerhome/playbook/assets/92755007/63680051-6a88-4ae7-bffd-74d8e9b3a805)
2
-
3
- ```swift
4
-
5
- let img = Image("andrew", bundle: .module)
6
- let name = "Andrew K"
7
- let title = "Rebels Developer"
8
-
9
- VStack(alignment: .leading, spacing: Spacing.small) {
10
- PBUser(
11
- name: name,
12
- image: img,
13
- territory: "PHL",
14
- title: title
15
- )
16
-
17
- PBUser(
18
- name: name,
19
- territory: "PHL",
20
- title: title
21
- )
22
-
23
- PBUser(
24
- name: name,
25
- image: img,
26
- size: .small,
27
- title: title
28
- )
29
-
30
- PBUser(
31
- name: name,
32
- image: img,
33
- size: .small
34
- )
35
- }
36
-
37
- ```
@@ -1,10 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **name** | `String` | Sets the User's name | | |
5
- | **displayAvatar** | `Bool` | Displays the User's avatar | `true` | `true` `false` |
6
- | **image** | `Image` | Sets image for the avatar | | |
7
- | **orientation** | `Orientation` | Changes the orientation of the User | `.horizontal` | `.horizontal` `.verticle` |
8
- | **size** | `UserAvatarSize` | Changes the size of the User | `.medium` | `.small` `.medium` `.large` |
9
- | **territory** | `String` | Adds the User's territory | | |
10
- | **title** | `String` | Adds a title | | |
@@ -1,35 +0,0 @@
1
- ![user-size](https://github.com/powerhome/playbook/assets/54749071/ed012a15-64a1-4c13-a0bc-7457660992f6)
2
-
3
-
4
- ```swift
5
-
6
- let img = Image("andrew", bundle: .module)
7
- let name = "Andrew K"
8
- let title = "Rebels Developer"
9
-
10
- VStack(alignment: .leading, spacing: Spacing.small) {
11
- PBUser(
12
- name: name,
13
- image: img,
14
- size: .small,
15
- territory: "PHL",
16
- title: title
17
- )
18
-
19
- PBUser(
20
- name: name,
21
- image: img,
22
- territory: "PHL",
23
- title: title
24
- )
25
-
26
- PBUser(
27
- name: name,
28
- image: img,
29
- size: .large,
30
- territory: "PHL",
31
- title: title
32
- )
33
- }
34
-
35
- ```
@@ -1,27 +0,0 @@
1
- ![user-text-only](https://github.com/powerhome/playbook/assets/54749071/ba04df54-6590-4db6-ad32-38932a08aced)
2
-
3
-
4
- ```swift
5
-
6
- let img = Image("andrew", bundle: .module)
7
- let name = "Andrew K"
8
- let title = "Rebels Developer"
9
-
10
- VStack(spacing: Spacing.small) {
11
- PBUser(
12
- name: name,
13
- displayAvatar: false,
14
- size: .large,
15
- territory: "PHL",
16
- title: title
17
- )
18
-
19
- PBUser(
20
- name: name,
21
- displayAvatar: false,
22
- territory: "PHL",
23
- title: title
24
- )
25
- }
26
-
27
- ```
@@ -1,35 +0,0 @@
1
- ![user-verticle-size](https://github.com/powerhome/playbook/assets/54749071/e99b4c9b-0752-467e-971e-a6a5f520009e)
2
-
3
-
4
- ```swift
5
-
6
- let img = Image("andrew", bundle: .module)
7
- let name = "Andrew K"
8
- let title = "Rebels Developer"
9
-
10
- VStack(alignment: .leading, spacing: Spacing.small) {
11
- PBUser(
12
- name: name,
13
- image: img,
14
- orientation: .vertical,
15
- size: .small,
16
- title: title
17
- )
18
-
19
- PBUser(
20
- name: name,
21
- image: img,
22
- orientation: .vertical,
23
- title: title
24
- )
25
-
26
- PBUser(
27
- name: name,
28
- image: img,
29
- orientation: .vertical,
30
- size: .large,
31
- title: title
32
- )
33
- }
34
-
35
- ```