playbook_ui 13.11.1 → 13.12.0.pre.alpha.PLAY1081exporttypes1608

Sign up to get free protection for your applications and to get access to all the features.
Files changed (264) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_avatar/_avatar.d.ts +20 -0
  3. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.d.ts +21 -0
  4. data/app/pb_kits/playbook/pb_background/_background.d.ts +33 -0
  5. data/app/pb_kits/playbook/pb_badge/_badge.d.ts +24 -0
  6. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.d.ts +35 -0
  7. data/app/pb_kits/playbook/pb_body/_body.d.ts +24 -0
  8. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.d.ts +12 -0
  9. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.d.ts +13 -0
  10. data/app/pb_kits/playbook/pb_button/_button.d.ts +37 -0
  11. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.d.ts +17 -0
  12. data/app/pb_kits/playbook/pb_caption/_caption.d.ts +20 -0
  13. data/app/pb_kits/playbook/pb_card/_card.d.ts +42 -0
  14. data/app/pb_kits/playbook/pb_checkbox/_checkbox.d.ts +24 -0
  15. data/app/pb_kits/playbook/pb_circle_chart/ChartsTypes.d.ts +2 -0
  16. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.d.ts +35 -0
  17. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.d.ts +21 -0
  18. data/app/pb_kits/playbook/pb_collapsible/_collapsible.d.ts +29 -0
  19. data/app/pb_kits/playbook/pb_collapsible/_helper_functions.d.ts +2 -0
  20. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.d.ts +7 -0
  21. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.d.ts +10 -0
  22. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.rb +3 -1
  23. data/app/pb_kits/playbook/pb_collapsible/context.d.ts +3 -0
  24. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb +22 -0
  25. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md +3 -0
  26. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb +40 -0
  27. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md +1 -0
  28. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +2 -0
  29. data/app/pb_kits/playbook/pb_collapsible/index.js +4 -0
  30. data/app/pb_kits/playbook/pb_collapsible/useCollapsible.d.ts +2 -0
  31. data/app/pb_kits/playbook/pb_contact/_contact.d.ts +13 -0
  32. data/app/pb_kits/playbook/pb_currency/_currency.d.ts +24 -0
  33. data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.d.ts +2 -0
  34. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.d.ts +3 -0
  35. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.d.ts +3 -0
  36. data/app/pb_kits/playbook/pb_dashboard/themeTypes.d.ts +40 -0
  37. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.d.ts +23 -0
  38. data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.d.ts +43 -0
  39. data/app/pb_kits/playbook/pb_date/_date.d.ts +18 -0
  40. data/app/pb_kits/playbook/pb_date_picker/_date_picker.d.ts +50 -0
  41. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.d.ts +23 -0
  42. data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.d.ts +18 -0
  43. data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.d.ts +44 -0
  44. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.d.ts +13 -0
  45. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.d.ts +10 -0
  46. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.d.ts +13 -0
  47. data/app/pb_kits/playbook/pb_date_time/_date_time.d.ts +18 -0
  48. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.d.ts +10 -0
  49. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.d.ts +10 -0
  50. data/app/pb_kits/playbook/pb_detail/_detail.d.ts +20 -0
  51. data/app/pb_kits/playbook/pb_dialog/_close_icon.d.ts +5 -0
  52. data/app/pb_kits/playbook/pb_dialog/_dialog.d.ts +68 -0
  53. data/app/pb_kits/playbook/pb_dialog/_dialog_context.d.ts +2 -0
  54. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.d.ts +8 -0
  55. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.d.ts +20 -0
  56. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.d.ts +19 -0
  57. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.d.ts +10 -0
  58. data/app/pb_kits/playbook/pb_enhanced_element/element_observer.d.ts +17 -0
  59. data/app/pb_kits/playbook/pb_enhanced_element/index.d.ts +17 -0
  60. data/app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts +16 -0
  61. data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.d.ts +10 -0
  62. data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.d.ts +10 -0
  63. data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.d.ts +14 -0
  64. data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.d.ts +14 -0
  65. data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.d.ts +11 -0
  66. data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.d.ts +8 -0
  67. data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.d.ts +18 -0
  68. data/app/pb_kits/playbook/pb_filter/Filter/index.d.ts +8 -0
  69. data/app/pb_kits/playbook/pb_filter/_filter.d.ts +1 -0
  70. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +18 -0
  71. data/app/pb_kits/playbook/pb_flex/_flex.d.ts +24 -0
  72. data/app/pb_kits/playbook/pb_flex/_flex_item.d.ts +14 -0
  73. data/app/pb_kits/playbook/pb_form_group/_form_group.d.ts +12 -0
  74. data/app/pb_kits/playbook/pb_form_pill/_form_pill.d.ts +20 -0
  75. data/app/pb_kits/playbook/pb_gauge/_gauge.d.ts +31 -0
  76. data/app/pb_kits/playbook/pb_hashtag/_hashtag.d.ts +17 -0
  77. data/app/pb_kits/playbook/pb_highlight/_highlight.d.ts +14 -0
  78. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.d.ts +23 -0
  79. data/app/pb_kits/playbook/pb_icon/_icon.d.ts +29 -0
  80. data/app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md +7 -0
  81. data/app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md +7 -0
  82. data/app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md +11 -0
  83. data/app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md +8 -0
  84. data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md +11 -0
  85. data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md +46 -0
  86. data/app/pb_kits/playbook/pb_icon/docs/example.yml +8 -0
  87. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.d.ts +16 -0
  88. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.d.ts +18 -0
  89. data/app/pb_kits/playbook/pb_icon_value/_icon_value.d.ts +14 -0
  90. data/app/pb_kits/playbook/pb_image/_image.d.ts +20 -0
  91. data/app/pb_kits/playbook/pb_image/docs/_image_props_swift.md +7 -0
  92. data/app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md +47 -0
  93. data/app/pb_kits/playbook/pb_image/docs/_size_image_swift.md +47 -0
  94. data/app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md +15 -0
  95. data/app/pb_kits/playbook/pb_image/docs/example.yml +5 -0
  96. data/app/pb_kits/playbook/pb_kit/dateTime.d.ts +67 -0
  97. data/app/pb_kits/playbook/pb_label_pill/_label_pill.d.ts +15 -0
  98. data/app/pb_kits/playbook/pb_label_value/_label_value.d.ts +19 -0
  99. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md +11 -0
  100. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md +72 -0
  101. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md +41 -0
  102. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md +11 -0
  103. data/app/pb_kits/playbook/pb_label_value/docs/example.yml +6 -0
  104. data/app/pb_kits/playbook/pb_layout/_layout.d.ts +48 -0
  105. data/app/pb_kits/playbook/pb_legend/_legend.d.ts +14 -0
  106. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.d.ts +12 -0
  107. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.d.ts +10 -0
  108. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.d.ts +11 -0
  109. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnails.d.ts +9 -0
  110. data/app/pb_kits/playbook/pb_lightbox/Carousel/index.d.ts +16 -0
  111. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.d.ts +22 -0
  112. data/app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts +45 -0
  113. data/app/pb_kits/playbook/pb_lightbox/_lightbox_context.d.ts +2 -0
  114. data/app/pb_kits/playbook/pb_lightbox/hooks/useKbdControls.d.ts +3 -0
  115. data/app/pb_kits/playbook/pb_lightbox/hooks/useWindowSize.d.ts +6 -0
  116. data/app/pb_kits/playbook/pb_line_graph/_line_graph.d.ts +35 -0
  117. data/app/pb_kits/playbook/pb_list/_list.d.ts +22 -0
  118. data/app/pb_kits/playbook/pb_list/_list_item.d.ts +13 -0
  119. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.d.ts +13 -0
  120. data/app/pb_kits/playbook/pb_map/_map.d.ts +30 -0
  121. data/app/pb_kits/playbook/pb_map/_map_controls.d.ts +11 -0
  122. data/app/pb_kits/playbook/pb_map/_map_custom_button.d.ts +6 -0
  123. data/app/pb_kits/playbook/pb_map/pbMapTheme.d.ts +20 -0
  124. data/app/pb_kits/playbook/pb_message/_message.d.ts +33 -0
  125. data/app/pb_kits/playbook/pb_message/_message_mention.d.ts +13 -0
  126. data/app/pb_kits/playbook/pb_message/docs/_message_default_swift.md +57 -0
  127. data/app/pb_kits/playbook/pb_message/docs/_message_props_swift.md +12 -0
  128. data/app/pb_kits/playbook/pb_message/docs/example.yml +4 -0
  129. data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.d.ts +33 -0
  130. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.d.ts +25 -0
  131. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.d.ts +20 -0
  132. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default_swift.md +11 -0
  133. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_props_swift.md +7 -0
  134. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse_swift.md +13 -0
  135. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md +11 -0
  136. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +6 -0
  137. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +16 -0
  138. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md +15 -0
  139. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_props_swift.md +5 -0
  140. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_small_swift.md +15 -0
  141. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_xsmall_swift.md +15 -0
  142. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +6 -0
  143. data/app/pb_kits/playbook/pb_nav/_item.d.ts +40 -0
  144. data/app/pb_kits/playbook/pb_nav/_nav.d.ts +23 -0
  145. data/app/pb_kits/playbook/pb_nav/navTypes.d.ts +22 -0
  146. data/app/pb_kits/playbook/pb_online_status/_online_status.d.ts +14 -0
  147. data/app/pb_kits/playbook/pb_passphrase/_passphrase.d.ts +19 -0
  148. data/app/pb_kits/playbook/pb_person/_person.d.ts +15 -0
  149. data/app/pb_kits/playbook/pb_person_contact/_person_contact.d.ts +18 -0
  150. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts +34 -0
  151. data/app/pb_kits/playbook/pb_pill/_pill.d.ts +16 -0
  152. data/app/pb_kits/playbook/pb_popover/_popover.d.ts +22 -0
  153. data/app/pb_kits/playbook/pb_popover/index.d.ts +21 -0
  154. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.d.ts +17 -0
  155. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.d.ts +15 -0
  156. data/app/pb_kits/playbook/pb_progress_step/_progress_step.d.ts +19 -0
  157. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.d.ts +12 -0
  158. data/app/pb_kits/playbook/pb_radio/_radio.d.ts +355 -0
  159. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.d.ts +9 -0
  160. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorTypes.d.ts +9 -0
  161. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +2 -0
  162. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -0
  163. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -0
  164. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -0
  165. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -0
  166. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.d.ts +31 -0
  167. data/app/pb_kits/playbook/pb_rich_text_editor/inlineFocus.d.ts +2 -0
  168. data/app/pb_kits/playbook/pb_rich_text_editor/useFocus.d.ts +2 -0
  169. data/app/pb_kits/playbook/pb_section_separator/_section_separator.d.ts +19 -0
  170. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md +14 -0
  171. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md +7 -0
  172. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md +8 -0
  173. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md +8 -0
  174. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md +7 -0
  175. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md +18 -0
  176. data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +8 -0
  177. data/app/pb_kits/playbook/pb_select/_select.d.ts +385 -0
  178. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.d.ts +30 -0
  179. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.d.ts +27 -0
  180. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.d.ts +21 -0
  181. data/app/pb_kits/playbook/pb_selectable_list/_item.d.ts +20 -0
  182. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.d.ts +17 -0
  183. data/app/pb_kits/playbook/pb_source/_source.d.ts +17 -0
  184. data/app/pb_kits/playbook/pb_star_rating/_star_rating.d.ts +14 -0
  185. data/app/pb_kits/playbook/pb_stat_change/_stat_change.d.ts +10 -0
  186. data/app/pb_kits/playbook/pb_stat_value/_stat_value.d.ts +9 -0
  187. data/app/pb_kits/playbook/pb_table/_table.d.ts +24 -0
  188. data/app/pb_kits/playbook/pb_table/_table_row.d.ts +15 -0
  189. data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +4 -4
  190. data/app/pb_kits/playbook/pb_table/index.d.ts +5 -0
  191. data/app/pb_kits/playbook/pb_table/styles/_hover.scss +26 -2
  192. data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +1 -17
  193. data/app/pb_kits/playbook/pb_table/table_header.html.erb +4 -3
  194. data/app/pb_kits/playbook/pb_table/table_header.rb +28 -5
  195. data/app/pb_kits/playbook/pb_text_input/_text_input.d.ts +383 -0
  196. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on_swift.md +35 -0
  197. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md +29 -0
  198. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md +13 -0
  199. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md +24 -0
  200. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md +13 -0
  201. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +7 -0
  202. data/app/pb_kits/playbook/pb_textarea/_textarea.d.ts +380 -0
  203. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md +27 -0
  204. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md +11 -0
  205. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md +9 -0
  206. data/app/pb_kits/playbook/pb_textarea/docs/example.yml +5 -0
  207. data/app/pb_kits/playbook/pb_textarea/index.d.ts +10 -0
  208. data/app/pb_kits/playbook/pb_time/_time.d.ts +16 -0
  209. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.d.ts +20 -0
  210. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.d.ts +15 -0
  211. data/app/pb_kits/playbook/pb_timeline/_item.d.ts +11 -0
  212. data/app/pb_kits/playbook/pb_timeline/_timeline.d.ts +26 -0
  213. data/app/pb_kits/playbook/pb_timestamp/_timestamp.d.ts +22 -0
  214. data/app/pb_kits/playbook/pb_title/_title.d.ts +26 -0
  215. data/app/pb_kits/playbook/pb_title_count/_title_count.d.ts +18 -0
  216. data/app/pb_kits/playbook/pb_title_detail/_title_detail.d.ts +16 -0
  217. data/app/pb_kits/playbook/pb_toggle/_toggle.d.ts +21 -0
  218. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default_swift.md +11 -0
  219. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name_swift.md +10 -0
  220. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md +6 -0
  221. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +4 -0
  222. data/app/pb_kits/playbook/pb_tooltip/_tooltip.d.ts +356 -0
  223. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +25 -9
  224. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +1 -1
  225. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +0 -2
  226. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +0 -1
  227. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +0 -1
  228. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +0 -1
  229. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +1 -1
  230. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb +39 -0
  231. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md +5 -0
  232. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +45 -0
  233. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.md +3 -0
  234. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +3 -0
  235. data/app/pb_kits/playbook/pb_tooltip/docs/index.js +1 -0
  236. data/app/pb_kits/playbook/pb_tooltip/index.js +6 -0
  237. data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +2 -1
  238. data/app/pb_kits/playbook/pb_tooltip/tooltip.test.jsx +34 -0
  239. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.d.ts +27 -0
  240. data/app/pb_kits/playbook/pb_typeahead/_typeahead.d.ts +35 -0
  241. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.d.ts +2 -0
  242. data/app/pb_kits/playbook/pb_typeahead/components/Control.d.ts +5 -0
  243. data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.d.ts +2 -0
  244. data/app/pb_kits/playbook/pb_typeahead/components/MenuList.d.ts +2 -0
  245. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.d.ts +9 -0
  246. data/app/pb_kits/playbook/pb_typeahead/components/Option.d.ts +2 -0
  247. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.d.ts +2 -0
  248. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.d.ts +2 -0
  249. data/app/pb_kits/playbook/pb_typeahead/index.d.ts +39 -0
  250. data/app/pb_kits/playbook/pb_user/_user.d.ts +23 -0
  251. data/app/pb_kits/playbook/pb_user_badge/_user_badge.d.ts +14 -0
  252. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.d.ts +2 -0
  253. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.d.ts +2 -0
  254. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.d.ts +41 -0
  255. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.d.ts +15 -0
  256. data/app/pb_kits/playbook/playbook-doc.js +1 -1
  257. data/app/pb_kits/playbook/utilities/globalProps.d.ts +113 -0
  258. data/app/pb_kits/playbook/utilities/object.d.ts +1 -0
  259. data/app/pb_kits/playbook/utilities/props.d.ts +38 -0
  260. data/app/pb_kits/playbook/utilities/text.d.ts +3 -0
  261. data/app/pb_kits/playbook/utilities/validEmojiChecker.d.ts +1 -0
  262. data/dist/playbook-rails.js +3 -3
  263. data/lib/playbook/version.rb +2 -2
  264. metadata +236 -7
@@ -0,0 +1,72 @@
1
+ ![label-value-examples](https://github.com/powerhome/playbook/assets/92755007/1810abee-c45a-45ac-bb12-eef88d6a254e)
2
+
3
+
4
+ ```swift
5
+
6
+ VStack(alignment: .leading, spacing: Spacing.small) {
7
+ Text("Patient Profile")
8
+ .pbFont(.title4)
9
+ .padding(.bottom, Spacing.xSmall)
10
+
11
+ PBLabelValue(
12
+ "Age",
13
+ variant: .details,
14
+ icon: FontAwesome.user,
15
+ title: "24 yrs old"
16
+ )
17
+
18
+ PBLabelValue(
19
+ "Blood",
20
+ variant: .details,
21
+ icon: FontAwesome.tint,
22
+ title: "A +"
23
+ )
24
+
25
+ PBLabelValue(
26
+ "Weight",
27
+ variant: .details,
28
+ icon: FontAwesome.weight,
29
+ title: "91 kg"
30
+ )
31
+
32
+ PBLabelValue(
33
+ "Height",
34
+ variant: .details,
35
+ icon: FontAwesome.arrowsAltV,
36
+ title: "187 cm"
37
+ )
38
+
39
+ Text("Workout Schedule")
40
+ .pbFont(.title4)
41
+ .padding(.top, Spacing.large)
42
+ .padding(.bottom, Spacing.xSmall)
43
+
44
+ PBLabelValue(
45
+ "Chest",
46
+ variant: .details,
47
+ icon: FontAwesome.dumbbell,
48
+ description: "6 sets • 8 reps • 40-100 kg",
49
+ title: "Bench Press",
50
+ active: true
51
+ )
52
+
53
+ PBLabelValue(
54
+ "Biceps",
55
+ variant: .details,
56
+ icon: FontAwesome.dumbbell,
57
+ description: "5 sets • 12 reps • 20-40 kg",
58
+ title: "Barbell Curl",
59
+ active: true
60
+ )
61
+
62
+ PBLabelValue(
63
+ "Back",
64
+ variant: .details,
65
+ icon: FontAwesome.dumbbell,
66
+ description: "8 sets • 8 reps • 40-120 kg",
67
+ title: "Back Squat",
68
+ active: true
69
+ )
70
+ }
71
+
72
+ ```
@@ -0,0 +1,41 @@
1
+ ![label-value-details](https://github.com/powerhome/playbook/assets/92755007/bc1628f8-8698-4ac2-a236-d93687e6f165)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading, spacing: Spacing.small) {
6
+ PBLabelValue(
7
+ "Installer",
8
+ variant: .details,
9
+ icon: FontAwesome.truck,
10
+ title: "JD Installations LLC"
11
+ )
12
+
13
+ PBLabelValue(
14
+ "Project",
15
+ variant: .details,
16
+ icon: FontAwesome.home,
17
+ description: "33-12345",
18
+ title: "Jefferson-Smith"
19
+ )
20
+
21
+ PBLabelValue(
22
+ "Project",
23
+ variant: .details,
24
+ icon: FontAwesome.home,
25
+ description: "33-12345",
26
+ title: "Jefferson-Smith",
27
+ date: Date()
28
+ )
29
+
30
+ PBLabelValue(
31
+ "Project",
32
+ variant: .details,
33
+ icon: FontAwesome.home,
34
+ description: "33-12345",
35
+ title: "Jefferson-Smith",
36
+ date: Date(),
37
+ active: true
38
+ )
39
+ }
40
+
41
+ ```
@@ -0,0 +1,11 @@
1
+ ### Props
2
+ | Name | Type | Description | Default | Values |
3
+ | --- | ----------- | --------- | --------- | --------- |
4
+ | **Label** | `String` | Sets the label text | | |
5
+ | **Value** | `String` | Sets the value | `nil` | |
6
+ | **Variant** | `Variant` | Changes the style of the Label Value | `.default` | `.default` `.details` |
7
+ | **Icon** | `PlaybookGenericIcon` | Adds an icon next to the title | `nil` | |
8
+ | **Description** | `String` | Sets the description | `nil` | |
9
+ | **Title** | `String` | Sets the title | `nil` | |
10
+ | **Date** | `Date` | Adds a date | `nil` | |
11
+ | **Active** | `Bool` | Changes the style of the Label Value | `false` | `true` `false` |
@@ -11,3 +11,9 @@ examples:
11
11
  - label_value_default: Default
12
12
  - label_value_details: Details
13
13
  - label_value_details_examples: Other Examples
14
+
15
+ swift:
16
+ - label_value_default_swift: Default
17
+ - label_value_details_swift: Details
18
+ - label_value_details_examples_swift: Other Examples
19
+ - label_value_props_swift: ""
@@ -0,0 +1,48 @@
1
+ import React from 'react';
2
+ declare type LayoutPropTypes = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children?: React.ReactChild[] | React.ReactChild;
7
+ className?: string;
8
+ collapse?: "xs" | "sm" | "md" | "lg" | "xl";
9
+ dark?: boolean;
10
+ data?: object;
11
+ full?: boolean;
12
+ position?: "left" | "right";
13
+ responsive?: boolean;
14
+ size?: "xs" | "sm" | "md" | "base" | "lg" | "xl";
15
+ variant?: "light" | "dark" | "gradient";
16
+ transparent?: boolean;
17
+ layout?: "sidebar" | "collection" | "kanban" | "content" | "masonry";
18
+ };
19
+ declare type LayoutSideProps = {
20
+ children: React.ReactNode[] | React.ReactNode;
21
+ className?: string;
22
+ };
23
+ declare type LayoutBodyProps = {
24
+ children: React.ReactNode[] | React.ReactNode;
25
+ className?: string;
26
+ };
27
+ declare type LayoutItemProps = {
28
+ children: React.ReactNode[] | React.ReactNode;
29
+ className?: string;
30
+ size?: "sm" | "md" | "lg";
31
+ };
32
+ declare type LayoutHeaderProps = {
33
+ children: React.ReactNode[] | React.ReactNode;
34
+ className?: string;
35
+ };
36
+ declare type LayoutFooterProps = {
37
+ children: React.ReactNode[] | React.ReactNode;
38
+ className?: string;
39
+ };
40
+ declare const Layout: {
41
+ (props: LayoutPropTypes): JSX.Element;
42
+ Side: (props: LayoutSideProps) => JSX.Element;
43
+ Body: (props: LayoutBodyProps) => JSX.Element;
44
+ Item: (props: LayoutItemProps) => JSX.Element;
45
+ Header: (props: LayoutHeaderProps) => JSX.Element;
46
+ Footer: (props: LayoutFooterProps) => JSX.Element;
47
+ };
48
+ export default Layout;
@@ -0,0 +1,14 @@
1
+ declare type LegendProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ color?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ id?: string;
10
+ prefixText?: string;
11
+ text: string;
12
+ };
13
+ declare const Legend: (props: LegendProps) => JSX.Element;
14
+ export default Legend;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare type SlideType = {
3
+ alt?: string;
4
+ current?: number;
5
+ onClick: () => void;
6
+ onChange?: (index: number) => void;
7
+ onZoom: (zoom: boolean) => void;
8
+ zooming: boolean;
9
+ url: string;
10
+ };
11
+ export default function Slide({ alt, onClick, onZoom, url, zooming, }: SlideType): React.ReactElement;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare type SlidesType = {
3
+ urls: Array<string>;
4
+ current: number;
5
+ onChange: (index: number) => void;
6
+ onClick: (index: number) => void;
7
+ setIndex?: (index: number) => void;
8
+ };
9
+ export default function Slides({ urls, current, onChange, setIndex, }: SlidesType): React.ReactElement;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type ThumbnailType = {
3
+ active?: boolean;
4
+ alt?: string;
5
+ onClick: () => void;
6
+ buttonRef?: React.RefObject<HTMLButtonElement>;
7
+ url: string;
8
+ width?: string;
9
+ };
10
+ export default function Thumbnail({ active, alt, width, url, onClick, buttonRef, }: ThumbnailType): React.ReactElement;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare const indexWithinBounds: (current: number, min: number, max: number) => number;
3
+ declare type ThumbnailsType = {
4
+ current: number;
5
+ onChange: (index: number) => void;
6
+ urls: string[];
7
+ };
8
+ export default function Thumbnails({ current, onChange, urls, }: ThumbnailsType): React.ReactElement;
9
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ declare type CarouselType = {
3
+ initialPhoto?: string;
4
+ onClose?: () => void;
5
+ icon?: string;
6
+ currentIndex: number;
7
+ photos: {
8
+ url: string;
9
+ thumbnail: string;
10
+ }[];
11
+ onChange: (index: number) => void;
12
+ onClick?: (index: number) => void;
13
+ setIndex?: (index: number) => void;
14
+ };
15
+ export default function Carousel({ currentIndex, photos, onClick, onChange, setIndex, }: CarouselType): React.ReactElement;
16
+ export {};
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ import { GlobalProps } from "../../utilities/globalProps";
3
+ declare type LightboxHeaderProps = {
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ children?: React.ReactNode[] | React.ReactNode | string;
8
+ className?: string;
9
+ closeable?: boolean;
10
+ data?: {
11
+ [key: string]: string | number;
12
+ };
13
+ icon?: string;
14
+ id?: string;
15
+ onClickRight?: () => void;
16
+ onClose?: () => void;
17
+ text?: string;
18
+ navRight?: string;
19
+ title?: string;
20
+ } & GlobalProps;
21
+ declare const LightboxHeader: (props: LightboxHeaderProps) => React.ReactElement;
22
+ export default LightboxHeader;
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+ declare type LightboxType = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children: React.ReactNode[] | React.ReactNode | string;
7
+ className?: string;
8
+ currentPhotoIndex?: number;
9
+ data?: {
10
+ [key: string]: string | number;
11
+ };
12
+ description?: string | any;
13
+ id?: string;
14
+ photos: [];
15
+ initialPhoto?: number;
16
+ onChange?: (index: number) => {};
17
+ onClickRight?: () => void;
18
+ onClose?: () => void;
19
+ icon: string;
20
+ navRight?: string;
21
+ trigger?: string;
22
+ title?: string | any;
23
+ };
24
+ declare const Lightbox: {
25
+ (props: LightboxType): React.ReactNode;
26
+ Header: (props: {
27
+ aria?: {
28
+ [key: string]: string;
29
+ };
30
+ children?: React.ReactNode | React.ReactNode[];
31
+ className?: string;
32
+ closeable?: boolean;
33
+ data?: {
34
+ [key: string]: string | number;
35
+ };
36
+ icon?: string;
37
+ id?: string;
38
+ onClickRight?: () => void;
39
+ onClose?: () => void;
40
+ text?: string;
41
+ navRight?: string;
42
+ title?: string;
43
+ } & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
44
+ };
45
+ export default Lightbox;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LightboxContext: React.Context<{}>;
@@ -0,0 +1,3 @@
1
+ export declare const useKbdControls: (api: {
2
+ [key: string]: () => void;
3
+ }) => string;
@@ -0,0 +1,6 @@
1
+ declare type WindowSize = {
2
+ width: number;
3
+ height: number;
4
+ };
5
+ export declare const useWindowSize: () => WindowSize;
6
+ export {};
@@ -0,0 +1,35 @@
1
+ declare type LineGraphProps = {
2
+ align?: "left" | "right" | "center";
3
+ axisTitle?: string;
4
+ dark?: Boolean;
5
+ xAxisCategories: [];
6
+ yAxisMin: number;
7
+ yAxisMax: number;
8
+ className?: string;
9
+ chartData: {
10
+ name: string;
11
+ data: number[];
12
+ }[];
13
+ gradient?: boolean;
14
+ id: string;
15
+ pointStart: number;
16
+ subTitle?: string;
17
+ title: string;
18
+ type?: string;
19
+ legend?: boolean;
20
+ toggleLegendClick?: boolean;
21
+ height?: string;
22
+ colors: string[];
23
+ layout?: "horizontal" | "vertical" | "proximate";
24
+ verticalAlign?: "top" | "middle" | "bottom";
25
+ x?: number;
26
+ y?: number;
27
+ aria?: {
28
+ [key: string]: string;
29
+ };
30
+ data?: {
31
+ [key: string]: string;
32
+ };
33
+ };
34
+ declare const LineGraph: ({ aria, data, align, className, dark, gradient, type, id, legend, toggleLegendClick, layout, verticalAlign, x, y, axisTitle, xAxisCategories, yAxisMin, yAxisMax, chartData, pointStart, subTitle, title, height, colors, ...props }: LineGraphProps) => JSX.Element;
35
+ export default LineGraph;
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ declare type ListProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ borderless?: boolean;
7
+ className?: string;
8
+ children: React.ReactNode[] | React.ReactNode;
9
+ dark?: boolean;
10
+ data?: object;
11
+ id?: string;
12
+ layout?: "" | "left" | "right";
13
+ ordered?: boolean;
14
+ role?: string;
15
+ tabIndex?: number;
16
+ text?: string;
17
+ size?: string;
18
+ variant?: string;
19
+ xpadding?: boolean;
20
+ };
21
+ declare const List: (props: ListProps) => JSX.Element;
22
+ export default List;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ declare type ListItemProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children: React.ReactNode[] | React.ReactNode;
7
+ className?: string;
8
+ data?: object;
9
+ id?: string;
10
+ tabIndex?: number;
11
+ };
12
+ declare const ListItem: (props: ListItemProps) => JSX.Element;
13
+ export default ListItem;
@@ -0,0 +1,13 @@
1
+ declare type LoadingInlineProps = {
2
+ align?: "left" | "center" | "right";
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ data?: {
8
+ [key: string]: string;
9
+ };
10
+ id?: string;
11
+ };
12
+ declare const LoadingInline: (props: LoadingInlineProps) => JSX.Element;
13
+ export default LoadingInline;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type MapProps = {
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ children?: React.ReactChild[] | React.ReactNode;
8
+ className?: string;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ id?: string;
13
+ zoomBtns?: boolean;
14
+ flyTo?: boolean;
15
+ zoomInClick?: () => {};
16
+ zoomOutClick?: () => {};
17
+ flyToClick?: () => {};
18
+ } & GlobalProps;
19
+ declare const Map: {
20
+ (props: MapProps): JSX.Element;
21
+ Controls: ({ zoomBtns, zoomInClick, zoomOutClick, flyTo, flyToClick, children, }: {
22
+ zoomBtns?: boolean;
23
+ flyTo?: boolean;
24
+ zoomInClick?: () => {};
25
+ zoomOutClick?: () => {};
26
+ flyToClick?: () => {};
27
+ children?: React.ReactNode | React.ReactNode[];
28
+ }) => JSX.Element;
29
+ };
30
+ export default Map;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ declare type MapControlTypes = {
3
+ zoomBtns?: boolean;
4
+ flyTo?: boolean;
5
+ zoomInClick?: () => {};
6
+ zoomOutClick?: () => {};
7
+ flyToClick?: () => {};
8
+ children?: React.ReactNode | React.ReactNode[];
9
+ };
10
+ declare const MapControls: ({ zoomBtns, zoomInClick, zoomOutClick, flyTo, flyToClick, children, }: MapControlTypes) => JSX.Element;
11
+ export default MapControls;
@@ -0,0 +1,6 @@
1
+ declare type MapCustomButtonTypes = {
2
+ onClick?: () => {};
3
+ icon?: string;
4
+ };
5
+ declare const MapCustomButton: ({ onClick, icon }: MapCustomButtonTypes) => JSX.Element;
6
+ export default MapCustomButton;
@@ -0,0 +1,20 @@
1
+ declare const mapTheme: {
2
+ marker: any;
3
+ maptiles: string;
4
+ flyToConfig: {
5
+ zoom: number;
6
+ bearing: number;
7
+ curve: number;
8
+ easing: (t: any) => any;
9
+ essential: boolean;
10
+ };
11
+ zoomConfig: {
12
+ duration: number;
13
+ };
14
+ mapConfig: {
15
+ style: string;
16
+ zoom: number;
17
+ attributionControl: boolean;
18
+ };
19
+ };
20
+ export default mapTheme;
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ declare type MessageProps = {
3
+ aria: {
4
+ [key: string]: string;
5
+ };
6
+ avatarName?: string;
7
+ avatarStatus?: "away" | "offline" | "online";
8
+ avatarUrl?: string;
9
+ children?: React.ReactChild[] | React.ReactChild;
10
+ className?: string;
11
+ data?: object;
12
+ id?: string;
13
+ label?: string;
14
+ message: string;
15
+ timestamp?: string;
16
+ timestampObject?: Date;
17
+ timezone?: string;
18
+ alignTimestamp?: string;
19
+ };
20
+ declare const Message: {
21
+ (props: MessageProps): JSX.Element;
22
+ Mention: (props: {
23
+ aria: {
24
+ [key: string]: string;
25
+ };
26
+ children?: React.ReactChild | React.ReactChild[];
27
+ className?: string;
28
+ data?: object;
29
+ id?: string;
30
+ variant: "user" | "self";
31
+ }) => JSX.Element;
32
+ };
33
+ export default Message;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ declare type MessageMentionProps = {
3
+ aria: {
4
+ [key: string]: string;
5
+ };
6
+ children?: React.ReactChild[] | React.ReactChild;
7
+ className?: string;
8
+ data?: object;
9
+ id?: string;
10
+ variant: 'user' | 'self';
11
+ };
12
+ declare const MessageMention: (props: MessageMentionProps) => JSX.Element;
13
+ export default MessageMention;
@@ -0,0 +1,57 @@
1
+ ![message-default](https://github.com/powerhome/playbook/assets/92755007/a50c7439-a429-4e8a-b8d4-ef8323199745)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading, spacing: Spacing.small) {
6
+ PBMessage(
7
+ avatar: AnyView(picAnna),
8
+ label: "Anna Black",
9
+ message: "How can we assist you today?",
10
+ timestamp: Date().addingTimeInterval(-20)
11
+ )
12
+
13
+ PBMessage(
14
+ avatar: AnyView(picPatric),
15
+ label: "Patrick Welch",
16
+ message: "We will escalate this issue to a Senior Support agent.",
17
+ timestamp: Date().addingTimeInterval(-540),
18
+ timestampAlignment: .leading
19
+ )
20
+
21
+ PBMessage(
22
+ avatar: AnyView(picLuccile),
23
+ label: "Lucille Sanchez",
24
+ message: "Application for Kate Smith is waiting for your approval",
25
+ timestamp: Date().addingTimeInterval(-200000)
26
+ )
27
+
28
+ PBMessage(
29
+ avatar: AnyView(PBAvatar(name: "Beverly Reyes", size: .xSmall)),
30
+ label: "Beverly Reyes",
31
+ message: "We are so sorry you had a bad experience!",
32
+ timestamp: Date().addingTimeInterval(-200000)
33
+ )
34
+
35
+ PBMessage(
36
+ label: "Keith Craig",
37
+ message: "Please hold for one moment, I will check with my manager.",
38
+ timestamp: Date().addingTimeInterval(-200000)
39
+ ) {}
40
+
41
+ PBMessage(
42
+ label: "Keith Craig",
43
+ timestamp: Date().addingTimeInterval(-200000)
44
+ ) {
45
+ Image("Forest", bundle: .module).resizable().frame(width: 240, height: 240)
46
+ }
47
+
48
+ PBMessage(
49
+ label: "Keith Craig",
50
+ message: "Please hold for one moment, I will check with my manager.",
51
+ timestamp: Date().addingTimeInterval(-200000)
52
+ ) {
53
+ Image("Forest", bundle: .module).resizable().frame(width: 240, height: 240)
54
+ }
55
+ }
56
+
57
+ ```
@@ -0,0 +1,12 @@
1
+ ### Props
2
+ | Name | Type | Description | Default | Values |
3
+ | --- | ----------- | --------- | --------- | --------- |
4
+ | **Avatar** | `AnyView` | Sets avatar image | `nil` | |
5
+ | **Label** | `String` | Sets the name of the sender | `""` | |
6
+ | **Message** | `String` | Sets the message text | `nil` | |
7
+ | **Timestamp** | `Date` | Adds a date | | `nil` |
8
+ | **Timestamp Alignment** | `TimestampAlignment` | Changes the style of the timestamp | `.trailing` | `.leading` `.trailing` |
9
+ | **Change TimeStamp On Hover** | `Bool` | Changes the timestamp hover functionality | `false` | `true` `false` |
10
+ | **Vertical Padding** | `CGFloat` | Changes vertical padding | `Spacing.xSmall` | `Spacing.none` `Spacing.xxSmall` `Spacing.xSmall` `Spacing.small` `Spacing.medium` `Spacing.large` `Spacing.xLarge` |
11
+ | **Horizontal Padding** | `CGFloat` | Changes horizontal padding | `Spacing.xSmall` | `Spacing.none` `Spacing.xxSmall` `Spacing.xSmall` `Spacing.small` `Spacing.medium` `Spacing.large` `Spacing.xLarge` |
12
+ | **Timestamp Variant** | `PBTimestamp.Variant` | Changes the style of the Message | `.standard` | `.standard` `.hideUserElapsed` |
@@ -11,3 +11,7 @@ examples:
11
11
  - message_timestamp: With Timestamp Hover
12
12
  - message_hover: Hover
13
13
  - message_mentions: Mentions
14
+
15
+ swift:
16
+ - message_default_swift: Default
17
+ - message_props_swift: ""