playbook_ui 13.13.0.pre.alpha.play900startratingasinput1657 → 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 (171) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +5 -5
  3. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.tsx +3 -3
  4. data/app/pb_kits/playbook/pb_background/_background.tsx +9 -9
  5. data/app/pb_kits/playbook/pb_badge/_badge.tsx +2 -2
  6. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +3 -3
  7. data/app/pb_kits/playbook/pb_body/_body.tsx +4 -5
  8. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.tsx +3 -4
  9. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.tsx +3 -3
  10. data/app/pb_kits/playbook/pb_button/_button.tsx +40 -37
  11. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.tsx +3 -3
  12. data/app/pb_kits/playbook/pb_caption/_caption.tsx +1 -1
  13. data/app/pb_kits/playbook/pb_card/_card.tsx +2 -2
  14. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +5 -4
  15. data/app/pb_kits/playbook/pb_checkbox/_checkbox.tsx +3 -3
  16. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -9
  17. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +1 -1
  18. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +5 -7
  19. data/app/pb_kits/playbook/pb_collapsible/_helper_functions.ts +2 -2
  20. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +5 -4
  21. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +16 -12
  22. data/app/pb_kits/playbook/pb_contact/_contact.tsx +3 -3
  23. data/app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md +14 -0
  24. data/app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md +6 -0
  25. data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md +14 -0
  26. data/app/pb_kits/playbook/pb_contact/docs/example.yml +6 -0
  27. data/app/pb_kits/playbook/pb_currency/_currency.tsx +2 -2
  28. data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.ts +1 -1
  29. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +4 -57
  30. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +4 -57
  31. data/app/pb_kits/playbook/pb_dashboard/themeTypes.ts +20 -16
  32. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.tsx +1 -1
  33. data/app/pb_kits/playbook/pb_date/_date.tsx +7 -7
  34. data/app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md +11 -0
  35. data/app/pb_kits/playbook/pb_date/docs/_date_default_swift.md +16 -0
  36. data/app/pb_kits/playbook/pb_date/docs/_date_props_swift.md +8 -0
  37. data/app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md +11 -0
  38. data/app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md +14 -0
  39. data/app/pb_kits/playbook/pb_date/docs/example.yml +7 -0
  40. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +1 -1
  41. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +2 -2
  42. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.tsx +2 -2
  43. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.tsx +8 -8
  44. data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +2 -2
  45. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +1 -1
  46. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx +2 -2
  47. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js +6 -3
  48. data/app/pb_kits/playbook/pb_detail/_detail.tsx +4 -4
  49. data/app/pb_kits/playbook/pb_dialog/_close_icon.tsx +2 -2
  50. data/app/pb_kits/playbook/pb_dialog/_dialog.tsx +42 -34
  51. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.tsx +1 -1
  52. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx +4 -5
  53. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx +4 -4
  54. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +8 -4
  55. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +8 -4
  56. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +4 -2
  57. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +1 -1
  58. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.tsx +5 -5
  59. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +1 -1
  60. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +1 -1
  61. data/app/pb_kits/playbook/pb_flex/_flex.tsx +1 -1
  62. data/app/pb_kits/playbook/pb_flex/_flex_item.tsx +1 -1
  63. data/app/pb_kits/playbook/pb_form_group/_form_group.tsx +1 -1
  64. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +1 -1
  65. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +1 -1
  66. data/app/pb_kits/playbook/pb_hashtag/_hashtag.tsx +1 -1
  67. data/app/pb_kits/playbook/pb_highlight/_highlight.tsx +1 -1
  68. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +1 -1
  69. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default_swift.md +18 -0
  70. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis_swift.md +34 -0
  71. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link_swift.md +18 -0
  72. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified_swift.md +13 -0
  73. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_props_swift.md +14 -0
  74. data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +6 -0
  75. data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -1
  76. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +1 -1
  77. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +1 -1
  78. data/app/pb_kits/playbook/pb_icon_value/_icon_value.tsx +1 -1
  79. data/app/pb_kits/playbook/pb_image/_image.tsx +1 -1
  80. data/app/pb_kits/playbook/pb_label_pill/_label_pill.tsx +1 -1
  81. data/app/pb_kits/playbook/pb_label_value/_label_value.tsx +1 -1
  82. data/app/pb_kits/playbook/pb_layout/_layout.tsx +1 -1
  83. data/app/pb_kits/playbook/pb_legend/_legend.tsx +1 -1
  84. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.tsx +1 -1
  85. data/app/pb_kits/playbook/pb_lightbox/_lightbox.tsx +1 -1
  86. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +1 -1
  87. data/app/pb_kits/playbook/pb_list/_list.tsx +1 -1
  88. data/app/pb_kits/playbook/pb_list/_list_item.tsx +1 -1
  89. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +1 -1
  90. data/app/pb_kits/playbook/pb_map/_map.tsx +1 -1
  91. data/app/pb_kits/playbook/pb_message/_message.tsx +1 -1
  92. data/app/pb_kits/playbook/pb_message/_message_mention.tsx +1 -1
  93. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +1 -1
  94. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.tsx +1 -1
  95. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.tsx +1 -1
  96. data/app/pb_kits/playbook/pb_nav/_item.tsx +1 -1
  97. data/app/pb_kits/playbook/pb_nav/_nav.tsx +1 -1
  98. data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +1 -1
  99. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +1 -1
  100. data/app/pb_kits/playbook/pb_person/_person.tsx +1 -1
  101. data/app/pb_kits/playbook/pb_person_contact/_person_contact.tsx +1 -1
  102. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +1 -1
  103. data/app/pb_kits/playbook/pb_pill/_pill.tsx +1 -1
  104. data/app/pb_kits/playbook/pb_popover/_popover.tsx +1 -1
  105. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.tsx +1 -1
  106. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.tsx +1 -1
  107. data/app/pb_kits/playbook/pb_progress_step/_progress_step.tsx +1 -1
  108. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx +1 -1
  109. data/app/pb_kits/playbook/pb_radio/_radio.tsx +1 -1
  110. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +1 -1
  111. data/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +1 -1
  112. data/app/pb_kits/playbook/pb_select/_select.tsx +1 -1
  113. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +1 -1
  114. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.tsx +1 -1
  115. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.tsx +1 -1
  116. data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +1 -1
  117. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.tsx +1 -1
  118. data/app/pb_kits/playbook/pb_source/_source.tsx +1 -1
  119. data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +53 -105
  120. data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +63 -180
  121. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +8 -6
  122. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +6 -19
  123. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +1 -3
  124. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +5 -22
  125. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +5 -12
  126. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +0 -8
  127. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +26 -48
  128. data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +6 -82
  129. data/app/pb_kits/playbook/pb_star_rating/star_rating.test.js +34 -34
  130. data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +1 -1
  131. data/app/pb_kits/playbook/pb_stat_value/_stat_value.tsx +1 -1
  132. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
  133. data/app/pb_kits/playbook/pb_table/_table_row.tsx +1 -1
  134. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  135. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +1 -1
  136. data/app/pb_kits/playbook/pb_time/_time.tsx +1 -1
  137. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
  138. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.tsx +1 -1
  139. data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
  140. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  141. data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +1 -1
  142. data/app/pb_kits/playbook/pb_title/_title.tsx +1 -1
  143. data/app/pb_kits/playbook/pb_title_count/_title_count.tsx +1 -1
  144. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +1 -1
  145. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
  146. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +1 -1
  147. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +1 -1
  148. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +1 -1
  149. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
  150. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +1 -1
  151. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +1 -1
  152. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +1 -1
  153. data/app/pb_kits/playbook/tokens/exports/exports.d.ts +1 -0
  154. data/app/pb_kits/playbook/utilities/props.ts +2 -2
  155. data/dist/menu.yml +240 -168
  156. data/dist/playbook-rails.js +5 -5
  157. data/lib/playbook/version.rb +1 -1
  158. metadata +16 -15
  159. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.html.erb +0 -2
  160. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.jsx +0 -25
  161. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +0 -3
  162. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +0 -31
  163. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +0 -6
  164. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +0 -58
  165. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +0 -16
  166. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +0 -60
  167. data/app/pb_kits/playbook/pb_star_rating/stars/primary_star.svg +0 -3
  168. data/app/pb_kits/playbook/pb_star_rating/stars/star_outline.svg +0 -3
  169. data/app/pb_kits/playbook/pb_star_rating/stars/subtle_dark_star.svg +0 -3
  170. data/app/pb_kits/playbook/pb_star_rating/stars/subtle_star.svg +0 -3
  171. data/app/pb_kits/playbook/pb_star_rating/stars/yellow_star.svg +0 -3
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.13.0"
5
- VERSION = "13.13.0.pre.alpha.play900startratingasinput1657"
5
+ VERSION = "13.13.0.pre.alpha.play10821726"
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: 13.13.0.pre.alpha.play900startratingasinput1657
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-11 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: actionpack
@@ -661,8 +661,11 @@ files:
661
661
  - app/pb_kits/playbook/pb_contact/contact.test.js
662
662
  - app/pb_kits/playbook/pb_contact/docs/_contact_default.html.erb
663
663
  - app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx
664
+ - app/pb_kits/playbook/pb_contact/docs/_contact_default_swift.md
665
+ - app/pb_kits/playbook/pb_contact/docs/_contact_props_swift.md
664
666
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb
665
667
  - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx
668
+ - app/pb_kits/playbook/pb_contact/docs/_contact_with_detail_swift.md
666
669
  - app/pb_kits/playbook/pb_contact/docs/_description.md
667
670
  - app/pb_kits/playbook/pb_contact/docs/example.yml
668
671
  - app/pb_kits/playbook/pb_contact/docs/index.js
@@ -713,15 +716,20 @@ files:
713
716
  - app/pb_kits/playbook/pb_date/date.rb
714
717
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb
715
718
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx
719
+ - app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md
716
720
  - app/pb_kits/playbook/pb_date/docs/_date_default.html.erb
717
721
  - app/pb_kits/playbook/pb_date/docs/_date_default.jsx
722
+ - app/pb_kits/playbook/pb_date/docs/_date_default_swift.md
723
+ - app/pb_kits/playbook/pb_date/docs/_date_props_swift.md
718
724
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
719
725
  - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
720
726
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.html.erb
721
727
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx
722
728
  - app/pb_kits/playbook/pb_date/docs/_date_unstyled.md
729
+ - app/pb_kits/playbook/pb_date/docs/_date_unstyled_swift.md
723
730
  - app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
724
731
  - app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
732
+ - app/pb_kits/playbook/pb_date/docs/_date_variants_swift.md
725
733
  - app/pb_kits/playbook/pb_date/docs/_description.md
726
734
  - app/pb_kits/playbook/pb_date/docs/example.yml
727
735
  - app/pb_kits/playbook/pb_date/docs/index.js
@@ -1198,14 +1206,19 @@ files:
1198
1206
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.html.erb
1199
1207
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx
1200
1208
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.md
1209
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default_swift.md
1201
1210
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.html.erb
1202
1211
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx
1203
1212
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.md
1213
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis_swift.md
1204
1214
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.html.erb
1205
1215
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.jsx
1206
1216
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.md
1217
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link_swift.md
1207
1218
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.html.erb
1208
1219
  - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx
1220
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified_swift.md
1221
+ - app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_props_swift.md
1209
1222
  - app/pb_kits/playbook/pb_home_address_street/docs/example.yml
1210
1223
  - app/pb_kits/playbook/pb_home_address_street/docs/index.js
1211
1224
  - app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb
@@ -2071,28 +2084,15 @@ files:
2071
2084
  - app/pb_kits/playbook/pb_star_rating/_star_rating.scss
2072
2085
  - app/pb_kits/playbook/pb_star_rating/_star_rating.tsx
2073
2086
  - app/pb_kits/playbook/pb_star_rating/docs/_description.md
2074
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.html.erb
2075
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_background_options.jsx
2076
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb
2077
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx
2078
2087
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb
2079
2088
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx
2080
2089
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb
2081
2090
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx
2082
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb
2083
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx
2084
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb
2085
- - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
2086
2091
  - app/pb_kits/playbook/pb_star_rating/docs/example.yml
2087
2092
  - app/pb_kits/playbook/pb_star_rating/docs/index.js
2088
2093
  - app/pb_kits/playbook/pb_star_rating/star_rating.html.erb
2089
2094
  - app/pb_kits/playbook/pb_star_rating/star_rating.rb
2090
2095
  - app/pb_kits/playbook/pb_star_rating/star_rating.test.js
2091
- - app/pb_kits/playbook/pb_star_rating/stars/primary_star.svg
2092
- - app/pb_kits/playbook/pb_star_rating/stars/star_outline.svg
2093
- - app/pb_kits/playbook/pb_star_rating/stars/subtle_dark_star.svg
2094
- - app/pb_kits/playbook/pb_star_rating/stars/subtle_star.svg
2095
- - app/pb_kits/playbook/pb_star_rating/stars/yellow_star.svg
2096
2096
  - app/pb_kits/playbook/pb_stat_change/_stat_change.scss
2097
2097
  - app/pb_kits/playbook/pb_stat_change/_stat_change.tsx
2098
2098
  - app/pb_kits/playbook/pb_stat_change/docs/_description.md
@@ -2626,6 +2626,7 @@ files:
2626
2626
  - app/pb_kits/playbook/tokens/exports/_shadows.scss
2627
2627
  - app/pb_kits/playbook/tokens/exports/_spacing.scss
2628
2628
  - app/pb_kits/playbook/tokens/exports/_typography.scss
2629
+ - app/pb_kits/playbook/tokens/exports/exports.d.ts
2629
2630
  - app/pb_kits/playbook/tokens/index.scss
2630
2631
  - app/pb_kits/playbook/utilities/_background_colors.scss
2631
2632
  - app/pb_kits/playbook/utilities/_border_radius.scss
@@ -1,2 +0,0 @@
1
- <%= pb_rails("star_rating", props: { rating: 3, background_type: "fill", padding_bottom: "xs" }) %>
2
- <%= pb_rails("star_rating", props: { rating: 3, background_type: "outline", padding_bottom: "xs" }) %>
@@ -1,25 +0,0 @@
1
- import React from 'react'
2
-
3
- import StarRating from '../_star_rating'
4
-
5
- const StarRatingBackgroundOptions = (props) => (
6
- <>
7
-
8
- <StarRating
9
- paddingBottom="xs"
10
- rating={3}
11
- {...props}
12
- />
13
-
14
-
15
- <StarRating
16
- backgroundType='outline'
17
- paddingBottom="xs"
18
- rating={3}
19
- {...props}
20
- />
21
-
22
- </>
23
- )
24
-
25
- export default StarRatingBackgroundOptions
@@ -1,3 +0,0 @@
1
- <%= pb_rails("star_rating", props: { rating: 3, padding_bottom: "xs" }) %>
2
- <%= pb_rails("star_rating", props: { rating: 3, color_option: "primary", padding_bottom: "xs" }) %>
3
- <%= pb_rails("star_rating", props: { rating: 3, color_option: "subtle", padding_bottom: "xs" }) %>
@@ -1,31 +0,0 @@
1
- import React from 'react'
2
-
3
- import StarRating from '../_star_rating'
4
-
5
- const StarRatingColorOptions = (props) => (
6
- <>
7
-
8
- <StarRating
9
- paddingBottom="xs"
10
- rating={3}
11
- {...props}
12
- />
13
-
14
- <StarRating
15
- colorOption='primary'
16
- paddingBottom="xs"
17
- rating={3}
18
- {...props}
19
- />
20
-
21
- <StarRating
22
- colorOption='subtle'
23
- paddingBottom="xs"
24
- rating={3}
25
- {...props}
26
- />
27
-
28
- </>
29
- )
30
-
31
- export default StarRatingColorOptions
@@ -1,6 +0,0 @@
1
- <%= pb_rails("star_rating", props: { rating: 3, denominator: 3, padding_bottom: "xs" }) %>
2
- <%= pb_rails("star_rating", props: { rating: 3, denominator: 4, padding_bottom: "xs" }) %>
3
- <%= pb_rails("star_rating", props: { rating: 3, padding_bottom: "xs" }) %>
4
- <%= pb_rails("star_rating", props: { rating: 3, denominator: 6, padding_bottom: "xs" }) %>
5
- <%= pb_rails("star_rating", props: { rating: 3, denominator: 7, padding_bottom: "xs" }) %>
6
- <%= pb_rails("star_rating", props: { rating: 3, denominator: 8, padding_bottom: "xs" }) %>
@@ -1,58 +0,0 @@
1
- import React from 'react'
2
-
3
- import StarRating from '../_star_rating'
4
-
5
- const StarRatingNumberConfig = (props) => (
6
- <>
7
-
8
- <StarRating
9
- denominator={3}
10
- paddingBottom="xs"
11
- rating={3}
12
- {...props}
13
- />
14
-
15
-
16
- <StarRating
17
- denominator={4}
18
- paddingBottom="xs"
19
- rating={3}
20
- {...props}
21
- />
22
-
23
-
24
- <StarRating
25
- denominator={5}
26
- paddingBottom="xs"
27
- rating={3}
28
- {...props}
29
- />
30
-
31
-
32
- <StarRating
33
- denominator={6}
34
- paddingBottom="xs"
35
- rating={3}
36
- {...props}
37
- />
38
-
39
-
40
- <StarRating
41
- denominator={7}
42
- paddingBottom="xs"
43
- rating={3}
44
- {...props}
45
- />
46
-
47
-
48
- <StarRating
49
- denominator={8}
50
- paddingBottom="xs"
51
- rating={3}
52
- {...props}
53
- />
54
-
55
- </>
56
- )
57
-
58
- export default StarRatingNumberConfig
@@ -1,16 +0,0 @@
1
- <%= pb_rails("star_rating", props: { rating: 3, size: "xs", padding_bottom: "xs" }) %>
2
-
3
-
4
- <%= pb_rails("star_rating", props: { rating: 3, size: "sm", padding_bottom: "xs" }) %>
5
-
6
-
7
- <%= pb_rails("star_rating", props: { rating: 3, size: "md", padding_bottom: "xs" }) %>
8
-
9
-
10
- <%= pb_rails("star_rating", props: { rating: 3, size: "lg", padding_bottom: "xs" }) %>
11
-
12
-
13
- <%= pb_rails("star_rating", props: { rating: 3, size: "lg", layout_option: "number", padding_bottom: "xs" }) %>
14
-
15
-
16
- <%= pb_rails("star_rating", props: { rating: 3, size: "lg", layout_option: "onestar", padding_bottom: "xs" }) %>
@@ -1,60 +0,0 @@
1
- import React from 'react'
2
-
3
- import StarRating from '../_star_rating'
4
-
5
- const StarRatingSizeOptions = (props) => (
6
- <>
7
-
8
- <StarRating
9
- paddingBottom="xs"
10
- rating={3}
11
- size="xs"
12
- {...props}
13
- />
14
-
15
-
16
- <StarRating
17
- paddingBottom="xs"
18
- rating={3}
19
- size="sm"
20
- {...props}
21
- />
22
-
23
-
24
- <StarRating
25
- paddingBottom="xs"
26
- rating={3}
27
- size="md"
28
- {...props}
29
- />
30
-
31
-
32
- <StarRating
33
- paddingBottom="xs"
34
- rating={3}
35
- size="lg"
36
- {...props}
37
- />
38
-
39
-
40
- <StarRating
41
- layoutOption="number"
42
- paddingBottom="xs"
43
- rating={3}
44
- size="lg"
45
- {...props}
46
- />
47
-
48
-
49
- <StarRating
50
- layoutOption="onestar"
51
- paddingBottom="xs"
52
- rating={3}
53
- size="lg"
54
- {...props}
55
- />
56
-
57
- </>
58
- )
59
-
60
- export default StarRatingSizeOptions
@@ -1,3 +0,0 @@
1
- <svg viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fillRule="evenodd" clipRule="evenodd" d="M9.86015 0.4371C9.73527 0.187329 9.4855 0 9.17328 0C8.89229 0 8.64252 0.187329 8.51763 0.4371L6.36335 4.83932L1.58647 5.55742C1.30547 5.58864 1.08692 5.80719 0.99326 6.05696C0.899595 6.33795 0.962038 6.61895 1.18059 6.8375L4.64617 10.2719L3.80319 15.1112C3.77197 15.3922 3.89685 15.7044 4.11541 15.8605C4.36518 16.0166 4.64617 16.0478 4.89594 15.9229L9.17328 13.6126L13.4506 15.9229C13.7004 16.0478 14.0126 16.0166 14.2624 15.8605C14.4809 15.7044 14.6058 15.3922 14.5434 15.1112L13.7316 10.2719L17.1972 6.8375C17.4157 6.61895 17.4782 6.33795 17.3845 6.05696C17.2909 5.80719 17.0723 5.58864 16.7913 5.55742L12.0144 4.83932L9.86015 0.4371Z" fill="#0056CF"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5.91323 5.33377L6.17269 5.29477L6.28801 5.0591L8.44116 0.659187C8.49971 0.543364 8.59517 0.5 8.64884 0.5C8.74499 0.5 8.83506 0.555009 8.88775 0.659235L11.0409 5.0591L11.1562 5.29477L11.4157 5.33377L16.1925 6.05186L16.2021 6.0533L16.2117 6.05436C16.2359 6.05706 16.2671 6.06847 16.3024 6.09973C16.3374 6.13062 16.3686 6.17476 16.3886 6.22412C16.4186 6.32162 16.401 6.40181 16.3198 6.48332C16.3196 6.48353 16.3194 6.48374 16.3192 6.48395L12.8552 9.91671L12.6712 10.0991L12.7141 10.3546L13.5258 15.1939L13.528 15.2068L13.5308 15.2196C13.5488 15.3004 13.5074 15.402 13.4567 15.4462C13.3391 15.5132 13.2227 15.5096 13.1546 15.4781L8.88646 13.1726L8.64884 13.0443L8.41121 13.1726L4.14274 15.4782C4.07877 15.5083 3.99031 15.5147 3.87267 15.4466C3.82302 15.4033 3.76655 15.2914 3.77463 15.1781L4.61431 10.3577L4.65911 10.1005L4.47368 9.91671L1.0097 6.48394C1.00947 6.48372 1.00925 6.4835 1.00903 6.48327C0.927878 6.40178 0.91031 6.3216 0.94026 6.22412C0.960274 6.17476 0.99154 6.13062 1.02646 6.09973C1.0618 6.06847 1.09296 6.05706 1.11724 6.05436L1.12682 6.0533L1.13635 6.05186L5.91323 5.33377Z" stroke="#C1CDD6"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path class="" fillRule="evenodd" clipRule="evenodd" d="M9.86015 0.4371C9.73527 0.187329 9.4855 0 9.17328 0C8.89229 0 8.64252 0.187329 8.51763 0.4371L6.36335 4.83932L1.58647 5.55742C1.30547 5.58864 1.08692 5.80719 0.99326 6.05696C0.899595 6.33795 0.962038 6.61895 1.18059 6.8375L4.64617 10.2719L3.80319 15.1112C3.77197 15.3922 3.89685 15.7044 4.11541 15.8605C4.36518 16.0166 4.64617 16.0478 4.89594 15.9229L9.17328 13.6126L13.4506 15.9229C13.7004 16.0478 14.0126 16.0166 14.2624 15.8605C14.4809 15.7044 14.6058 15.3922 14.5434 15.1112L13.7316 10.2719L17.1972 6.8375C17.4157 6.61895 17.4782 6.33795 17.3845 6.05696C17.2909 5.80719 17.0723 5.58864 16.7913 5.55742L12.0144 4.83932L9.86015 0.4371Z" fill="#F9BB00"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fillRule="evenodd" clipRule="evenodd" d="M9.86015 0.4371C9.73527 0.187329 9.4855 0 9.17328 0C8.89229 0 8.64252 0.187329 8.51763 0.4371L6.36335 4.83932L1.58647 5.55742C1.30547 5.58864 1.08692 5.80719 0.99326 6.05696C0.899595 6.33795 0.962038 6.61895 1.18059 6.8375L4.64617 10.2719L3.80319 15.1112C3.77197 15.3922 3.89685 15.7044 4.11541 15.8605C4.36518 16.0166 4.64617 16.0478 4.89594 15.9229L9.17328 13.6126L13.4506 15.9229C13.7004 16.0478 14.0126 16.0166 14.2624 15.8605C14.4809 15.7044 14.6058 15.3922 14.5434 15.1112L13.7316 10.2719L17.1972 6.8375C17.4157 6.61895 17.4782 6.33795 17.3845 6.05696C17.2909 5.80719 17.0723 5.58864 16.7913 5.55742L12.0144 4.83932L9.86015 0.4371Z" fill="#F9BB00"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fillRule="evenodd" clipRule="evenodd" d="M9.86015 0.4371C9.73527 0.187329 9.4855 0 9.17328 0C8.89229 0 8.64252 0.187329 8.51763 0.4371L6.36335 4.83932L1.58647 5.55742C1.30547 5.58864 1.08692 5.80719 0.99326 6.05696C0.899595 6.33795 0.962038 6.61895 1.18059 6.8375L4.64617 10.2719L3.80319 15.1112C3.77197 15.3922 3.89685 15.7044 4.11541 15.8605C4.36518 16.0166 4.64617 16.0478 4.89594 15.9229L9.17328 13.6126L13.4506 15.9229C13.7004 16.0478 14.0126 16.0166 14.2624 15.8605C14.4809 15.7044 14.6058 15.3922 14.5434 15.1112L13.7316 10.2719L17.1972 6.8375C17.4157 6.61895 17.4782 6.33795 17.3845 6.05696C17.2909 5.80719 17.0723 5.58864 16.7913 5.55742L12.0144 4.83932L9.86015 0.4371Z" />
3
- </svg>