playbook_ui 13.12.0.pre.alpha.play10281596 → 13.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +1 -5
  3. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.tsx +2 -6
  4. data/app/pb_kits/playbook/pb_background/_background.tsx +5 -9
  5. data/app/pb_kits/playbook/pb_badge/_badge.tsx +1 -5
  6. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +2 -6
  7. data/app/pb_kits/playbook/pb_body/_body.tsx +1 -5
  8. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.tsx +1 -5
  9. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.tsx +2 -5
  10. data/app/pb_kits/playbook/pb_button/_button.tsx +1 -8
  11. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.tsx +1 -5
  12. data/app/pb_kits/playbook/pb_caption/_caption.tsx +1 -6
  13. data/app/pb_kits/playbook/pb_card/_card.tsx +1 -5
  14. data/app/pb_kits/playbook/pb_checkbox/_checkbox.tsx +2 -7
  15. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +2 -7
  16. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +3 -5
  17. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +1 -5
  18. data/app/pb_kits/playbook/pb_contact/_contact.tsx +1 -5
  19. data/app/pb_kits/playbook/pb_currency/_currency.tsx +1 -5
  20. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.tsx +1 -5
  21. data/app/pb_kits/playbook/pb_date/_date.tsx +7 -12
  22. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +1 -5
  23. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +1 -5
  24. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.tsx +4 -15
  25. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.tsx +5 -12
  26. data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +1 -5
  27. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +1 -5
  28. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx +4 -15
  29. data/app/pb_kits/playbook/pb_detail/_detail.tsx +1 -5
  30. data/app/pb_kits/playbook/pb_dialog/_dialog.tsx +3 -11
  31. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx +3 -8
  32. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx +1 -5
  33. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.tsx +1 -8
  34. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +2 -6
  35. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +1 -6
  36. data/app/pb_kits/playbook/pb_flex/_flex.tsx +1 -6
  37. data/app/pb_kits/playbook/pb_flex/_flex_item.tsx +1 -6
  38. data/app/pb_kits/playbook/pb_form_group/_form_group.tsx +1 -5
  39. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +1 -7
  40. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +2 -6
  41. data/app/pb_kits/playbook/pb_hashtag/_hashtag.tsx +1 -5
  42. data/app/pb_kits/playbook/pb_highlight/_highlight.tsx +0 -5
  43. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +3 -10
  44. data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -7
  45. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +1 -5
  46. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +1 -5
  47. data/app/pb_kits/playbook/pb_icon_value/_icon_value.tsx +1 -5
  48. data/app/pb_kits/playbook/pb_image/_image.tsx +1 -6
  49. data/app/pb_kits/playbook/pb_label_pill/_label_pill.tsx +1 -5
  50. data/app/pb_kits/playbook/pb_label_value/_label_value.tsx +2 -6
  51. data/app/pb_kits/playbook/pb_layout/_layout.tsx +1 -6
  52. data/app/pb_kits/playbook/pb_legend/_legend.tsx +1 -5
  53. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.tsx +1 -6
  54. data/app/pb_kits/playbook/pb_lightbox/_lightbox.tsx +1 -5
  55. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +3 -9
  56. data/app/pb_kits/playbook/pb_list/_list.tsx +2 -7
  57. data/app/pb_kits/playbook/pb_list/_list_item.tsx +1 -5
  58. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +1 -5
  59. data/app/pb_kits/playbook/pb_map/_map.tsx +1 -6
  60. data/app/pb_kits/playbook/pb_message/_message.tsx +1 -5
  61. data/app/pb_kits/playbook/pb_message/_message_mention.tsx +1 -5
  62. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +1 -5
  63. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.tsx +1 -5
  64. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +0 -6
  65. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.tsx +1 -5
  66. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +0 -6
  67. data/app/pb_kits/playbook/pb_nav/_item.tsx +2 -7
  68. data/app/pb_kits/playbook/pb_nav/_nav.tsx +1 -5
  69. data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +1 -5
  70. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +2 -6
  71. data/app/pb_kits/playbook/pb_person/_person.tsx +0 -5
  72. data/app/pb_kits/playbook/pb_person_contact/_person_contact.tsx +1 -5
  73. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +2 -8
  74. data/app/pb_kits/playbook/pb_pill/_pill.tsx +1 -5
  75. data/app/pb_kits/playbook/pb_popover/_popover.tsx +1 -6
  76. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.tsx +1 -5
  77. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.tsx +3 -9
  78. data/app/pb_kits/playbook/pb_progress_step/_progress_step.tsx +1 -5
  79. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx +2 -6
  80. data/app/pb_kits/playbook/pb_radio/_radio.tsx +1 -5
  81. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +1 -7
  82. data/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +1 -5
  83. data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +0 -8
  84. data/app/pb_kits/playbook/pb_select/_select.tsx +1 -6
  85. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +2 -6
  86. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.tsx +0 -5
  87. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.tsx +0 -5
  88. data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +3 -11
  89. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.tsx +1 -5
  90. data/app/pb_kits/playbook/pb_source/_source.tsx +1 -5
  91. data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +1 -5
  92. data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +2 -14
  93. data/app/pb_kits/playbook/pb_stat_value/_stat_value.tsx +0 -6
  94. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -5
  95. data/app/pb_kits/playbook/pb_table/_table_row.tsx +1 -5
  96. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -5
  97. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -7
  98. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +2 -5
  99. data/app/pb_kits/playbook/pb_textarea/docs/example.yml +0 -5
  100. data/app/pb_kits/playbook/pb_time/_time.tsx +2 -9
  101. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -5
  102. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.tsx +2 -6
  103. data/app/pb_kits/playbook/pb_timeline/_item.tsx +2 -9
  104. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -5
  105. data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +1 -5
  106. data/app/pb_kits/playbook/pb_title/_title.tsx +1 -5
  107. data/app/pb_kits/playbook/pb_title_count/_title_count.tsx +1 -5
  108. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +3 -16
  109. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +0 -5
  110. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +0 -4
  111. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +1 -5
  112. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +3 -9
  113. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +2 -7
  114. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -5
  115. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +1 -5
  116. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +1 -5
  117. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +1 -5
  118. data/app/pb_kits/playbook/utilities/props.ts +0 -16
  119. data/dist/playbook-rails.js +5 -5
  120. data/lib/playbook/version.rb +2 -2
  121. metadata +7 -32
  122. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default_swift.md +0 -11
  123. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_props_swift.md +0 -7
  124. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse_swift.md +0 -13
  125. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md +0 -11
  126. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md +0 -15
  127. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_props_swift.md +0 -5
  128. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_small_swift.md +0 -15
  129. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_xsmall_swift.md +0 -15
  130. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md +0 -14
  131. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md +0 -7
  132. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md +0 -8
  133. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md +0 -8
  134. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md +0 -7
  135. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md +0 -18
  136. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on_swift.md +0 -35
  137. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md +0 -29
  138. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md +0 -13
  139. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md +0 -24
  140. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md +0 -13
  141. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md +0 -27
  142. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md +0 -11
  143. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md +0 -9
  144. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default_swift.md +0 -11
  145. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name_swift.md +0 -10
  146. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md +0 -6
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.12.0"
5
- VERSION = "13.12.0.pre.alpha.play10281596"
4
+ PREVIOUS_VERSION = "13.11.1"
5
+ VERSION = "13.12.0"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.12.0.pre.alpha.play10281596
4
+ version: 13.12.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: 2023-12-01 00:00:00.000000000 Z
12
+ date: 2023-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1564,15 +1564,11 @@ files:
1564
1564
  - app/pb_kits/playbook/pb_multiple_users/docs/_description.md
1565
1565
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.html.erb
1566
1566
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.jsx
1567
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default_swift.md
1568
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_props_swift.md
1569
1567
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.html.erb
1570
1568
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.jsx
1571
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse_swift.md
1572
1569
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.html.erb
1573
1570
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.jsx
1574
1571
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.md
1575
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md
1576
1572
  - app/pb_kits/playbook/pb_multiple_users/docs/example.yml
1577
1573
  - app/pb_kits/playbook/pb_multiple_users/docs/index.js
1578
1574
  - app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
@@ -1584,10 +1580,6 @@ files:
1584
1580
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_description.md
1585
1581
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.html.erb
1586
1582
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx
1587
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md
1588
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_props_swift.md
1589
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_small_swift.md
1590
- - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_xsmall_swift.md
1591
1583
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml
1592
1584
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js
1593
1585
  - app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
@@ -1930,20 +1922,14 @@ files:
1930
1922
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.html.erb
1931
1923
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.jsx
1932
1924
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.md
1933
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md
1934
1925
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.html.erb
1935
1926
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.jsx
1936
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md
1937
1927
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.html.erb
1938
1928
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx
1939
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md
1940
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md
1941
1929
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.html.erb
1942
1930
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx
1943
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md
1944
1931
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.html.erb
1945
1932
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx
1946
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md
1947
1933
  - app/pb_kits/playbook/pb_section_separator/docs/example.yml
1948
1934
  - app/pb_kits/playbook/pb_section_separator/docs/index.js
1949
1935
  - app/pb_kits/playbook/pb_section_separator/section_separator.html.erb
@@ -2211,25 +2197,20 @@ files:
2211
2197
  - app/pb_kits/playbook/pb_text_input/docs/_footer.md
2212
2198
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.html.erb
2213
2199
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx
2214
- - app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on_swift.md
2215
2200
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.html.erb
2216
2201
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx
2217
2202
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb
2218
2203
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx
2219
- - app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md
2220
2204
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.html.erb
2221
2205
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx
2222
- - app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md
2223
2206
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.html.erb
2224
2207
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx
2225
2208
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.md
2226
- - app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md
2227
2209
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
2228
2210
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
2229
2211
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
2230
2212
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
2231
2213
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb
2232
- - app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md
2233
2214
  - app/pb_kits/playbook/pb_text_input/docs/example.yml
2234
2215
  - app/pb_kits/playbook/pb_text_input/docs/index.js
2235
2216
  - app/pb_kits/playbook/pb_text_input/text_input.html.erb
@@ -2246,14 +2227,11 @@ files:
2246
2227
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx
2247
2228
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.html.erb
2248
2229
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx
2249
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md
2250
2230
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.html.erb
2251
2231
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx
2252
2232
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.md
2253
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md
2254
2233
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.html.erb
2255
2234
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.jsx
2256
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md
2257
2235
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.html.erb
2258
2236
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx
2259
2237
  - app/pb_kits/playbook/pb_textarea/docs/example.yml
@@ -2411,12 +2389,9 @@ files:
2411
2389
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_custom_radio.jsx
2412
2390
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_default.html.erb
2413
2391
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx
2414
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_default_swift.md
2415
2392
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.html.erb
2416
2393
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.jsx
2417
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_name_swift.md
2418
2394
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb
2419
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md
2420
2395
  - app/pb_kits/playbook/pb_toggle/docs/example.yml
2421
2396
  - app/pb_kits/playbook/pb_toggle/docs/index.js
2422
2397
  - app/pb_kits/playbook/pb_toggle/toggle.html.erb
@@ -2726,7 +2701,7 @@ homepage: https://playbook.powerapp.cloud/
2726
2701
  licenses:
2727
2702
  - ISC
2728
2703
  metadata: {}
2729
- post_install_message:
2704
+ post_install_message:
2730
2705
  rdoc_options: []
2731
2706
  require_paths:
2732
2707
  - lib
@@ -2737,12 +2712,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2737
2712
  version: '0'
2738
2713
  required_rubygems_version: !ruby/object:Gem::Requirement
2739
2714
  requirements:
2740
- - - ">"
2715
+ - - ">="
2741
2716
  - !ruby/object:Gem::Version
2742
- version: 1.3.1
2717
+ version: '0'
2743
2718
  requirements: []
2744
2719
  rubygems_version: 3.3.7
2745
- signing_key:
2720
+ signing_key:
2746
2721
  specification_version: 4
2747
2722
  summary: Playbook Design System
2748
2723
  test_files: []
@@ -1,11 +0,0 @@
1
- ![mulitple-users-default](https://github.com/powerhome/playbook/assets/92755007/73dffd55-14f7-468e-b6ea-4e700980183d)
2
-
3
- ```swift
4
-
5
- let twoUsers = [andrew, picAndrew]
6
-
7
- PBDoc(title: "xSmall") {
8
- PBMultipleUsers(users: twoUsers, size: .xSmall)
9
- }
10
-
11
- ```
@@ -1,7 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **Users** | `[PBUser]` | Sets the user's avatars | | |
5
- | **Size** | `AvatarSize` | Changes the size of the avatars | `.small` | `.xSmall` `.small` |
6
- | **Reversed** | `Bool` | Changes the order of the avatars | `false` | `true` `false` |
7
- | **Max Displayed Users** | `Int` | Limits the number of avatars displayed | `4` | |
@@ -1,13 +0,0 @@
1
- ![multiple-users-reverse](https://github.com/powerhome/playbook/assets/92755007/be3f6f7d-f699-40f2-bbb6-8a99144a8744)
2
-
3
- ```swift
4
-
5
- let multipleUsers = [andrew, picAndrew, andrew, andrew]
6
- let twoUsers = [andrew, picAndrew]
7
-
8
- VStack(alignment: .leading, spacing: Spacing.small) {
9
- PBMultipleUsers(users: multipleUsers, size: .small, reversed: true)
10
- PBMultipleUsers(users: twoUsers, size: .small, reversed: true)
11
- }
12
-
13
- ```
@@ -1,11 +0,0 @@
1
- ![mulitple-users-size](https://github.com/powerhome/playbook/assets/92755007/5c15b862-fb32-4e0a-a826-bc25b1db555e)
2
-
3
- ```swift
4
-
5
- let multipleUsers = [andrew, picAndrew, andrew, andrew]
6
-
7
- PBDoc(title: "Small") {
8
- PBMultipleUsers(users: multipleUsers, size: .small)
9
- }
10
-
11
- ```
@@ -1,15 +0,0 @@
1
- ![mulitple-users-stacked-default](https://github.com/powerhome/playbook/assets/92755007/180e1275-3eb6-4b28-b1ef-bdde45ab3c2e)
2
-
3
- ```swift
4
-
5
- let oneUser = [andrew]
6
- let twoUsers = [andrew, picAndrew]
7
- let multipleUsers = [andrew, picAndrew, andrew, andrew]
8
-
9
- HStack(spacing: Spacing.xSmall) {
10
- PBMultipleUsersStacked(users: oneUser, size: .default)
11
- PBMultipleUsersStacked(users: twoUsers, size: .default)
12
- PBMultipleUsersStacked(users: multipleUsers, size: .default)
13
- }
14
-
15
- ```
@@ -1,5 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **Users** | `[PBUser]` | Sets the user's avatars | | |
5
- | **Size** | `Size` | Changes the size of the avatars | `.small` | `.default` `.small` `.xSmall` |
@@ -1,15 +0,0 @@
1
- ![mulitple-users-stacked-small](https://github.com/powerhome/playbook/assets/92755007/277fd685-6302-462e-a02a-18a8fcb57715)
2
-
3
- ```swift
4
-
5
- let oneUser = [andrew]
6
- let twoUsers = [andrew, picAndrew]
7
- let multipleUsers = [andrew, picAndrew, andrew, andrew]
8
-
9
- HStack(spacing: Spacing.xSmall) {
10
- PBMultipleUsersStacked(users: oneUser)
11
- PBMultipleUsersStacked(users: twoUsers)
12
- PBMultipleUsersStacked(users: multipleUsers)
13
- }
14
-
15
- ```
@@ -1,15 +0,0 @@
1
- ![mulitple-users-stacked-xsmall](https://github.com/powerhome/playbook/assets/92755007/4f31976f-a41b-4923-9230-5015f6ad75f8)
2
-
3
- ```swift
4
-
5
- let oneUser = [andrew]
6
- let twoUsers = [andrew, picAndrew]
7
- let multipleUsers = [andrew, picAndrew, andrew, andrew]
8
-
9
- HStack(spacing: Spacing.xSmall) {
10
- PBMultipleUsersStacked(users: oneUser, size: .xSmall)
11
- PBMultipleUsersStacked(users: twoUsers, size: .xSmall)
12
- PBMultipleUsersStacked(users: multipleUsers, size: .xSmall)
13
- }
14
-
15
- ```
@@ -1,14 +0,0 @@
1
-
2
- ![section-separator-children](https://github.com/powerhome/playbook/assets/92755007/acd6a8eb-d034-4efd-b2e6-afabe739e678)
3
-
4
- ```swift
5
-
6
- PBSectionSeparator(variant: .dashed) {
7
- PBCard(alignment: .center, borderRadius: BorderRadius.rounded, padding: Spacing.xxSmall, width: 70) {
8
- Text("Today")
9
- .pbFont(.caption)
10
- .frame(maxWidth: .infinity, alignment: .center)
11
- }
12
- }
13
-
14
- ```
@@ -1,7 +0,0 @@
1
- ![section-separator-dashed](https://github.com/powerhome/playbook/assets/92755007/e4f01870-3d90-4655-9136-5c7565711e1f)
2
-
3
- ```swift
4
-
5
- PBSectionSeparator(variant: .dashed)
6
-
7
- ```
@@ -1,8 +0,0 @@
1
-
2
- ![section-separator-default](https://github.com/powerhome/playbook/assets/92755007/2560d5e2-f345-42d2-bad9-2a2e031b3e08)
3
-
4
- ```swift
5
-
6
- PBSectionSeparator()
7
-
8
- ```
@@ -1,8 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **text** | `String` | Adds text to the Section Separator | `nil` | |
5
- | **orientation** | `Orientation` | Changes the orientation | `.horizontal` | `.horizontal` `.vertical` |
6
- | **variant** | `Variant` | Changes the style of the Section Separator | `.card` | `.dashed` `.card` |
7
- | **dividerOpacity** | `CGFloat` | Adjusts the opacity of the divider | `1` | |
8
- | **margin** | `CGFloat` | Adds margin between text and the divider | `Spacing.xSmall` | `Spacing.none` `Spacing.xxSmall` `Spacing.xSmall` `Spacing.small` `Spacing.medium` `Spacing.large` `Spacing.xLarge` |
@@ -1,7 +0,0 @@
1
- ![section-separator-text](https://github.com/powerhome/playbook/assets/92755007/4b481a7d-d001-43b6-b779-cfdc6fffc15f)
2
-
3
- ```swift
4
-
5
- PBSectionSeparator("Text separator")
6
-
7
- ```
@@ -1,18 +0,0 @@
1
- ![section-separator-verticle](https://github.com/powerhome/playbook/assets/92755007/21ca54a5-6b8a-459f-91ad-4e9b68258f68)
2
-
3
- ```swift
4
-
5
- let loremIpsum: some View = Text(
6
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
7
- )
8
-
9
- HStack(spacing: Spacing.none) {
10
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
11
- PBSectionSeparator(orientation: .vertical)
12
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
13
- }
14
- .frame(maxWidth: .infinity)
15
- .frame(height: 120, alignment: .center)
16
- .listRowSeparator(.hidden)
17
-
18
- ```
@@ -1,35 +0,0 @@
1
- ![text-input-add-on](https://github.com/powerhome/playbook/assets/92755007/65a28e6a-9e65-4ca1-af8d-91dae6eac4f5)
2
-
3
- ```swift
4
-
5
- PBTextInput(
6
- "ADD ON WITH DEFAULTS",
7
- text: $textAddOn,
8
- style: .rightIcon(.user, divider: true)
9
- )
10
-
11
- PBTextInput(
12
- "RIGHT-ALIGNED ADD ON WITH BORDER",
13
- text: $textAddOnRight,
14
- style: .rightIcon(.user, divider: true)
15
- )
16
-
17
- PBTextInput(
18
- "RIGHT-ALIGNED ADD ON WITH NO BORDER",
19
- text: $textAddOnRightNoBorder,
20
- style: .rightIcon(.user, divider: false)
21
- )
22
-
23
- PBTextInput(
24
- "LEFT-ALIGNED ADD ON WITH NO BORDER",
25
- text: $textAddOnLeft,
26
- style: .leftIcon(.user, divider: false)
27
- )
28
-
29
- PBTextInput(
30
- "LEFT-ALIGNED ADD ON WITH BORDER",
31
- text: $textAddOnLeftNoBorder,
32
- style: .leftIcon(.user, divider: true)
33
- )
34
-
35
- ```
@@ -1,29 +0,0 @@
1
- ![text-input-default](https://github.com/powerhome/playbook/assets/92755007/625a246e-9d5c-42ea-8c6e-7afcf0984c9a)
2
-
3
-
4
- ```swift
5
-
6
- @State private var textFirstName: String = ""
7
- @State private var textLastName: String = ""
8
- @State private var textPhone: String = ""
9
-
10
- PBTextInput(
11
- "First name",
12
- text: $textFirstName,
13
- placeholder: "Enter first name"
14
- )
15
-
16
- PBTextInput(
17
- "Last name",
18
- text: $textLastName,
19
- placeholder: "Enter last name"
20
- )
21
-
22
- PBTextInput(
23
- "Phone number",
24
- text: $textPhone,
25
- placeholder: "Enter phone number",
26
- keyboardType: .phonePad
27
- )
28
-
29
- ```
@@ -1,13 +0,0 @@
1
- ![text-input-disabled](https://github.com/powerhome/playbook/assets/92755007/0e08256e-dd76-4528-b748-826f38bbe6a0)
2
-
3
-
4
- ```swift
5
-
6
- PBTextInput(
7
- "Last name",
8
- text: $textDisabled,
9
- placeholder: "Enter last name",
10
- style: .disabled
11
- )
12
-
13
- ```
@@ -1,24 +0,0 @@
1
- ![text-input-error](https://github.com/powerhome/playbook/assets/92755007/7c664f75-1d7a-4a94-bc59-6f845a68ce19)
2
-
3
-
4
- ```swift
5
-
6
- @State private var textError: String = ""
7
- @State private var textConfirmError: String = ""
8
-
9
- PBTextInput(
10
- "Email address",
11
- text: $textError,
12
- placeholder: "Enter email address",
13
- error: (true, "Insert a valid email"),
14
- style: .leftIcon(.user, divider: true)
15
- )
16
-
17
- PBTextInput(
18
- "Confirm email address",
19
- text: $textConfirmError,
20
- placeholder: "Confirm email address",
21
- style: .leftIcon(.user, divider: true)
22
- )
23
-
24
- ```
@@ -1,13 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **title** | `String` | Adds a title | `nil` | |
5
- | **placeholder** | `String` | Adds placeholder text | `""` | |
6
- | **error** | `(Bool, String)` | Changes the style of the Text Input | `nil` | |
7
- | **style** | `Style` | Changes the style of the Text Input | `.default` | `.default` `.rightIcon` `.leftIcon` `.inline` `.disabled` |
8
- | **onChange** | `Bool` | Adds an event handler | `nil` | |
9
- | **keyboardType** | `UIKeyboardType` | Speficies the keyboard type (ios only) | `.default` | |
10
- | **text** | `String` | Sets the Text Input's text value | | |
11
- | **selected** | `Bool` | Changes the style of the Text Input | | `true` `false` |
12
- | **isHovering** | `Bool` | Changes the style of the Text Input | `false` | `true` `false` |
13
- | **isIconHovering** | `Bool` | Changes the style of the Text Input | `false` | `true` `false` |
@@ -1,27 +0,0 @@
1
- ![textarea-default](https://github.com/powerhome/playbook/assets/92755007/40eec958-63d7-4840-bf5c-f8d1e34c911a)
2
-
3
- ```swift
4
-
5
- @State var defaultText = ""
6
- @State var placeholderText = ""
7
- @State var customText = "Default value text"
8
-
9
- VStack(alignment: .leading, spacing: Spacing.small) {
10
- PBTextArea(
11
- "Label",
12
- text: $defaultText
13
- )
14
-
15
- PBTextArea(
16
- "Label",
17
- text: $placeholderText,
18
- placeholder: "Placeholder with text"
19
- )
20
-
21
- PBTextArea(
22
- "Label",
23
- text: $customText
24
- )
25
- }
26
-
27
- ```
@@ -1,11 +0,0 @@
1
- ![textarea-error](https://github.com/powerhome/playbook/assets/92755007/6d47a914-ea0b-4fbc-9f2a-6237935a3b4c)
2
-
3
- ```swift
4
-
5
- PBTextArea(
6
- "Label",
7
- text: $errorText,
8
- error: "This field has an error!"
9
- )
10
-
11
- ```
@@ -1,9 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **characterCount** | `CharacterCount` | Adds a character counter to the Textarea | `.noCount` | `.noCount` `.count` `.maxCharacterCount` `.maxCharacterCountBlock` `.maxCharacterCountError` |
5
- | **inline** | `Bool` | Changes the style of the Textarea | `false` | `true` `false` |
6
- | **label** | `String` | Adds a label | `nil` | |
7
- | **placeholder** | `String` | Adds placeholder text | `nil` | |
8
- | **text** | `String` | Sets the Textarea's text value | `Binding<String>` | |
9
- | **error** | `String` | Changes the style of the Textarea | `nil` | |
@@ -1,11 +0,0 @@
1
- ![toggle-default](https://github.com/powerhome/playbook/assets/92755007/bd99bd01-d577-4455-b1f9-a88b637e8a60)
2
-
3
-
4
- ```swift
5
-
6
- VStack(spacing: Spacing.small) {
7
- PBToggle(checked: true)
8
- PBToggle(checked: false)
9
- }
10
-
11
- ```
@@ -1,10 +0,0 @@
1
- ![toggle-name](https://github.com/powerhome/playbook/assets/92755007/e45a575c-ab14-4181-a5e8-eb8d1f57ab4d)
2
-
3
- ```swift
4
-
5
- VStack(spacing: Spacing.small) {
6
- PBToggle(label: "car", checked: false)
7
- PBToggle(label: "bike", checked: false)
8
- }
9
-
10
- ```
@@ -1,6 +0,0 @@
1
- ### Props
2
- | Name | Type | Description | Default | Values |
3
- | --- | ----------- | --------- | --------- | --------- |
4
- | **isHovering** | `Bool` | Changes the style of the Toggle | `false` | `true` `false` |
5
- | **label** | `String` | Adds a label to the Toggle | `nil` | |
6
- | **checked** | `Bool` | Changes the style of the Toggle | | `true` `false` |