playbook_ui_docs 13.13.0.pre.alpha.PLAY1097linterenhancedelement1728 → 13.13.0.pre.alpha.play900startratingasinput1657

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_contact/docs/example.yml +0 -6
  3. data/app/pb_kits/playbook/pb_date/docs/example.yml +0 -7
  4. data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +0 -6
  5. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.html.erb +2 -0
  6. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.jsx +25 -0
  7. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +3 -0
  8. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +31 -0
  9. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +6 -8
  10. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +19 -6
  11. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +3 -1
  12. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +22 -5
  13. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +6 -0
  14. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +58 -0
  15. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +16 -0
  16. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +60 -0
  17. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +12 -5
  18. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +8 -0
  19. data/dist/menu.yml +168 -240
  20. data/dist/playbook-doc.js +8 -8
  21. metadata +10 -15
  22. data/app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md +0 -14
  23. data/app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md +0 -6
  24. data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md +0 -14
  25. data/app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md +0 -11
  26. data/app/pb_kits/playbook/pb_date/docs/_date_default_swift.md +0 -16
  27. data/app/pb_kits/playbook/pb_date/docs/_date_props_swift.md +0 -8
  28. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md +0 -11
  29. data/app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md +0 -14
  30. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default_swift.md +0 -18
  31. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis_swift.md +0 -34
  32. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link_swift.md +0 -18
  33. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified_swift.md +0 -13
  34. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_props_swift.md +0 -14
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.PLAY1097linterenhancedelement1728
4
+ version: 13.13.0.pre.alpha.play900startratingasinput1657
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-19 00:00:00.000000000 Z
12
+ date: 2023-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -323,11 +323,8 @@ 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
328
326
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb
329
327
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx
330
- - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md
331
328
  - app/pb_kits/playbook/pb_contact/docs/_description.md
332
329
  - app/pb_kits/playbook/pb_contact/docs/example.yml
333
330
  - app/pb_kits/playbook/pb_contact/docs/index.js
@@ -358,20 +355,15 @@ files:
358
355
  - app/pb_kits/playbook/pb_dashboard_value/docs/index.js
359
356
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb
360
357
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx
361
- - app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md
362
358
  - app/pb_kits/playbook/pb_date/docs/_date_default.html.erb
363
359
  - 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
366
360
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
367
361
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
368
362
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb
369
363
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx
370
364
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.md
371
- - app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md
372
365
  - app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
373
366
  - app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
374
- - app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md
375
367
  - app/pb_kits/playbook/pb_date/docs/_description.md
376
368
  - app/pb_kits/playbook/pb_date/docs/example.yml
377
369
  - app/pb_kits/playbook/pb_date/docs/index.js
@@ -708,19 +700,14 @@ files:
708
700
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.html.erb
709
701
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx
710
702
  - 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
712
703
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.html.erb
713
704
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx
714
705
  - 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
716
706
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.html.erb
717
707
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.jsx
718
708
  - 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
720
709
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.html.erb
721
710
  - 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
724
711
  - app/pb_kits/playbook/pb_home_address_street/docs/example.yml
725
712
  - app/pb_kits/playbook/pb_home_address_street/docs/index.js
726
713
  - app/pb_kits/playbook/pb_icon/docs/_description.md
@@ -1326,10 +1313,18 @@ files:
1326
1313
  - app/pb_kits/playbook/pb_source/docs/example.yml
1327
1314
  - app/pb_kits/playbook/pb_source/docs/index.js
1328
1315
  - app/pb_kits/playbook/pb_star_rating/docs/_description.md
1316
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.html.erb
1317
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.jsx
1318
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb
1319
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx
1329
1320
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb
1330
1321
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx
1331
1322
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb
1332
1323
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx
1324
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb
1325
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx
1326
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb
1327
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
1333
1328
  - app/pb_kits/playbook/pb_star_rating/docs/example.yml
1334
1329
  - app/pb_kits/playbook/pb_star_rating/docs/index.js
1335
1330
  - app/pb_kits/playbook/pb_stat_change/docs/_description.md
@@ -1,14 +0,0 @@
1
- ![contact-default](https://github.com/powerhome/playbook/assets/92755007/4226a1e0-5f31-4445-a536-57e95b83768a)
2
-
3
- ```swift
4
-
5
- VStack(alignment: .leading, spacing: Spacing.small) {
6
- PBContact(type: .cell, value: "3491859988")
7
- PBContact(value: "5555555555")
8
- PBContact(type: .email, value: "email@example.com")
9
- PBContact(type: .work, value: "3245627482")
10
- PBContact(type: .workCell, value: "3245627482")
11
- }
12
-
13
-
14
- ```
@@ -1,6 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **detail** | `Bool` | Displays text describing the Contact's type | `false` | `true` `false` |
5
- | **contactValue** | `String` | Sets the Contact's text value | | |
6
- | **type** | `ContactType` | Sets the icon | `.home` | `cell` `email` `home` `work` `workCell` `wrongPhone` `ext` `custom` |
@@ -1,14 +0,0 @@
1
- ![contact-detail-indicator](https://github.com/powerhome/playbook/assets/92755007/2a29d4b5-6e7b-43ff-8e7c-0dbeec11627e)
2
-
3
- ```swift
4
-
5
- VStack(alignment: .leading, spacing: Spacing.small) {
6
- PBContact(type: .cell, value: "3491859988", detail: true)
7
- PBContact(value: "5555555555", detail: true)
8
- PBContact(type: .email, value: "email@example.com", detail: true)
9
- PBContact(type: .work, value: "3245627482", detail: true)
10
- PBContact(type: .ext, value: "1234", detail: true)
11
- }
12
-
13
-
14
- ```
@@ -1,11 +0,0 @@
1
- ![date-alignment](https://github.com/powerhome/playbook/assets/92755007/094761cb-5151-4de5-a8e1-f905455c2aca)
2
-
3
- ```swift
4
-
5
- VStack(spacing: Spacing.small) {
6
- PBDate(Date(), variant: .standard, typography: .title4, alignment: .leading)
7
- PBDate(Date(), variant: .withIcon(isStandard: true), typography: .title4, iconSize: .x1, alignment: .center)
8
- PBDate(Date(), variant: .short, typography: .title4, alignment: .trailing)
9
- }
10
-
11
- ```
@@ -1,16 +0,0 @@
1
- ![date-default](https://github.com/powerhome/playbook/assets/92755007/0d9f151d-2a18-445c-add3-8194c343bfea)
2
-
3
-
4
- ```swift
5
-
6
- VStack(alignment: .leading, spacing: Spacing.small) {
7
- PBDate(Date(), variant: .short)
8
- PBDate(Date(), variant: .dayDate)
9
- PBDate(Date(), variant: .standard)
10
- Spacer()
11
- PBDate(Date(), variant: .short, typography: .title4)
12
- PBDate(Date(), variant: .dayDate, typography: .title4)
13
- PBDate(Date(), variant: .standard, typography: .title4)
14
- }
15
-
16
- ```
@@ -1,8 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **datestamp** | `Date` | Sets the date | | |
5
- | **variant** | `Variant` | Changes the style | `.short` | `.short` `.dayDate` `.standard` `.withIcon(isStandard: true)` `withIcon(isStandard: false)` |
6
- | **typography** | `PBFont` | Sets the font | `.caption` | `.title1` `.title2` `.title3` `.title4` `.body` `.buttonText` `.largeCaption` `.caption` `.subcaption` `.monogram` `.badgeText` `.detail` |
7
- | **iconSize** | `PBIcon.IconSize` | Chances the icon's size | `.x1` | `xSmall` `small` `large` `x1` `x2` `x3` `x4` `x5` `x6` `x7` `x8` `x9` `x10` |
8
- | **alignment** | `Alignment` | Changes the alignment | `.leading` | `.leading` `.trailing` |
@@ -1,11 +0,0 @@
1
- ![date-unstyled](https://github.com/powerhome/playbook/assets/92755007/dc0ab7cf-0d97-407c-9aac-f53645eb6ee2)
2
-
3
- ```swift
4
-
5
- VStack(alignment: .leading, spacing: Spacing.small) {
6
- PBDate(Date(), variant: .short, typography: .body)
7
- PBDate(Date(), variant: .standard, typography: .title1)
8
- PBDate(Date(), variant: .withIcon(isStandard: false), typography: .subcaption, iconSize: .xSmall)
9
- }
10
-
11
- ```
@@ -1,14 +0,0 @@
1
- ![date-varients](https://github.com/powerhome/playbook/assets/92755007/bb240082-afb9-4802-af5f-7aaccec37aae)
2
-
3
-
4
- ```swift
5
-
6
- VStack(alignment: .leading, spacing: Spacing.small) {
7
- PBDate(Date(), variant: .withIcon(isStandard: true), typography: .caption, iconSize: .xSmall)
8
- PBDate(Date(), variant: .standard, typography: .title4)
9
- PBDate(Date(), variant: .withIcon(isStandard: true), typography: .title4, iconSize: .x1)
10
- PBDate(Date(), variant: .dayDate, typography: .title4)
11
- PBDate(Date(), variant: .withIcon(isStandard: false), typography: .title4, iconSize: .x1)
12
- }
13
-
14
- ```
@@ -1,18 +0,0 @@
1
- ![home-address-street-default](https://github.com/powerhome/playbook/assets/92755007/a4c97536-a402-4cc2-90be-4eeda3b57f6d)
2
-
3
- ```swift
4
-
5
- PBHomeAddressStreet(
6
- address: "70 Prospect Ave",
7
- withBullet: true,
8
- houseStyle: "Colonial",
9
- addressCont: "Apt M18",
10
- city: "West Chester",
11
- homeId: "8250263",
12
- homeUrl: "https://powerhrg.com/",
13
- state: "PA",
14
- territory: "PHL",
15
- zipcode: "19382"
16
- )
17
-
18
- ```
@@ -1,34 +0,0 @@
1
- ![home-address-street-emphasis](https://github.com/powerhome/playbook/assets/92755007/338ed5f9-7e06-4e4c-b71e-d0a348f7a6d6)
2
-
3
- ```swift
4
-
5
- PBHomeAddressStreet(
6
- address: "70 Prospect Ave",
7
- withBullet: true,
8
- houseStyle: "Colonial",
9
- addressCont: "Apt M18",
10
- city: "West Chester",
11
- homeId: "8250263",
12
- homeUrl: "https://powerhrg.com/",
13
- state: "PA",
14
- territory: "PHL",
15
- zipcode: "19382"
16
- )
17
-
18
- Spacer(minLength: Spacing.medium)
19
-
20
- PBHomeAddressStreet(
21
- address: "70 Prospect Ave",
22
- withBullet: true,
23
- houseStyle: "Colonial",
24
- addressCont: "Apt M18",
25
- city: "West Chester",
26
- homeId: "8250263",
27
- homeUrl: "https://powerhrg.com/",
28
- state: "PA",
29
- territory: "PHL",
30
- zipcode: "19382",
31
- emphasize: .city
32
- )
33
-
34
- ```
@@ -1,18 +0,0 @@
1
- ![home-address-street-link](https://github.com/powerhome/playbook/assets/92755007/890a61d9-896b-45a1-aa7c-c78783f3ac54)
2
-
3
- ```swift
4
-
5
- PBHomeAddressStreet(
6
- address: "70 Prospect Ave",
7
- withBullet: true,
8
- houseStyle: "Colonial",
9
- addressCont: "Apt M18",
10
- city: "West Chester",
11
- homeId: "8250263",
12
- homeUrl: "https://powerhrg.com/",
13
- state: "PA",
14
- territory: "PHL",
15
- zipcode: "19382"
16
- )
17
-
18
- ```
@@ -1,13 +0,0 @@
1
- ![home-address-street-modified](https://github.com/powerhome/playbook/assets/92755007/32e16708-896f-41c8-ae06-7bea00225b4f)
2
-
3
- ```swift
4
-
5
- PBHomeAddressStreet(
6
- address: "70 Prospect Ave",
7
- city: "West Chester",
8
- state: "PA",
9
- territory: "PHL",
10
- zipcode: "19382"
11
- )
12
-
13
- ```
@@ -1,14 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **address** | `String` | Sets the address | | |
5
- | **withBullet** | `Bool` | Adds a bullet after the address | `false` | `false` `true` |
6
- | **houseStyle** | `String` | Sets the house style | `nil` | |
7
- | **addressCont** | `String` | Sets additional address text | `nil` | |
8
- | **city** | `String` | Sets the city | | |
9
- | **homeId** | `String` | Sets the home ID | `nil` | |
10
- | **homeUrl** | `String` | Adds a URL to the homeID | `nil` | |
11
- | **state** | `String` | Sets the state | | |
12
- | **territory** | `String` | Sets the territory | | |
13
- | **zipcode** | `String` | Sets the zipcode | | |
14
- | **emphasize** | `Emphasize` | Changes text to bold | `.address` | `.address` `.city` `.cityWithZipcode` |