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,8 @@
1
+ import React from 'react';
2
+ import { FilterSingleProps } from './FilterSingle';
3
+ import { FilterDoubleProps } from './FilterDouble';
4
+ declare type FilterProps = FilterSingleProps | (FilterDoubleProps & {
5
+ double?: boolean;
6
+ });
7
+ declare const Filter: ({ double, ...templateProps }: FilterProps) => React.ReactElement;
8
+ export default Filter;
@@ -0,0 +1 @@
1
+ export { default } from './Filter';
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ declare type FixedConfirmationToastProps = {
3
+ autoClose?: number;
4
+ children?: React.ReactChild[] | React.ReactChild;
5
+ className?: string;
6
+ closeable?: boolean;
7
+ data?: string;
8
+ horizontal?: "right" | "left" | "center";
9
+ id?: string;
10
+ multiLine?: boolean;
11
+ onClose?: () => void;
12
+ open?: boolean;
13
+ status?: "success" | "error" | "neutral" | "tip";
14
+ text?: string;
15
+ vertical?: "top" | "bottom";
16
+ };
17
+ declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) => JSX.Element;
18
+ export default FixedConfirmationToast;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ import { Sizes } from '../types';
4
+ declare type FlexProps = {
5
+ children: React.ReactChild[] | React.ReactNode;
6
+ className?: string;
7
+ data?: object;
8
+ horizontal?: "left" | "center" | "right" | "stretch" | "none";
9
+ justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none";
10
+ id?: string;
11
+ inline?: boolean;
12
+ orientation?: "row" | "column";
13
+ spacing?: "around" | "between" | "evenly" | "none";
14
+ reverse?: boolean;
15
+ vertical?: "top" | "center" | "bottom" | "stretch" | "baseline" | "none";
16
+ align?: "start" | "center" | "end" | "stretch" | "baseline" | "none";
17
+ gap?: Sizes | "none";
18
+ rowGap?: Sizes | "none";
19
+ columnGap?: Sizes | "none";
20
+ wrap?: boolean;
21
+ alignSelf?: "start" | "end" | "center" | "stretch" | "none";
22
+ } & GlobalProps;
23
+ declare const Flex: (props: FlexProps) => JSX.Element;
24
+ export default Flex;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type FlexItemPropTypes = {
4
+ children: React.ReactNode[] | React.ReactNode;
5
+ fixedSize?: string;
6
+ grow?: boolean;
7
+ shrink?: boolean;
8
+ className?: string;
9
+ order?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'first' | 'none';
10
+ alignSelf?: "start" | "end" | "center" | "stretch" | null;
11
+ displayFlex?: boolean;
12
+ } & GlobalProps;
13
+ declare const FlexItem: (props: FlexItemPropTypes) => React.ReactElement;
14
+ export default FlexItem;
@@ -0,0 +1,12 @@
1
+ declare type FormGroupProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ children?: Node;
6
+ className?: string;
7
+ data?: object;
8
+ fullWidth?: boolean;
9
+ id?: string;
10
+ };
11
+ declare const FormGroup: (props: FormGroupProps) => JSX.Element;
12
+ export default FormGroup;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type FormPillProps = {
4
+ className?: string;
5
+ id?: string;
6
+ text: string;
7
+ name?: string;
8
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
9
+ avatar?: boolean;
10
+ avatarUrl?: string;
11
+ size?: string;
12
+ textTransform?: 'none' | 'lowercase';
13
+ closeProps?: {
14
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
15
+ onMouseDown?: React.MouseEventHandler<HTMLSpanElement>;
16
+ onTouchEnd?: React.TouchEventHandler<HTMLSpanElement>;
17
+ };
18
+ } & GlobalProps;
19
+ declare const FormPill: (props: FormPillProps) => JSX.Element;
20
+ export default FormPill;
@@ -0,0 +1,31 @@
1
+ declare type GaugeProps = {
2
+ aria: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ chartData?: {
7
+ name: string;
8
+ value: number[] | number;
9
+ }[];
10
+ dark?: Boolean;
11
+ data?: {
12
+ [key: string]: string;
13
+ };
14
+ disableAnimation?: boolean;
15
+ fullCircle?: boolean;
16
+ height?: string;
17
+ id?: string;
18
+ max?: number;
19
+ min?: number;
20
+ prefix?: string;
21
+ showLabels?: boolean;
22
+ style?: string;
23
+ suffix?: string;
24
+ title?: string;
25
+ tooltipHtml?: string;
26
+ colors: string[];
27
+ minorTickInterval: any;
28
+ circumference: number[];
29
+ };
30
+ declare const Gauge: ({ aria, className, chartData, dark, data, disableAnimation, fullCircle, height, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => JSX.Element;
31
+ export default Gauge;
@@ -0,0 +1,17 @@
1
+ import { GlobalProps } from '../utilities/globalProps';
2
+ declare type HashtagProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: string;
9
+ id?: string;
10
+ newWindow?: boolean;
11
+ rel?: string;
12
+ text?: string;
13
+ type: "default" | "home" | "project" | "appointment";
14
+ url?: string;
15
+ } & GlobalProps;
16
+ declare const Hashtag: (props: HashtagProps) => JSX.Element;
17
+ export default Hashtag;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type HighlightProps = {
4
+ className?: string;
5
+ data?: {
6
+ [key: string]: string;
7
+ };
8
+ id?: string;
9
+ children?: React.ReactChild[] | React.ReactChild | string;
10
+ text?: string;
11
+ highlightedText?: string[];
12
+ } & GlobalProps;
13
+ declare const Highlight: (props: HighlightProps) => React.ReactElement;
14
+ export default Highlight;
@@ -0,0 +1,23 @@
1
+ declare type HomeAddressStreetProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ address: string;
6
+ addressCont: string;
7
+ city: string;
8
+ className?: string;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ dark?: boolean;
13
+ emphasis: "street" | "city";
14
+ homeId: string;
15
+ houseStyle: string;
16
+ homeUrl: string;
17
+ newWindow: boolean;
18
+ state: string;
19
+ zipcode: string;
20
+ territory: string;
21
+ };
22
+ declare const HomeAddressStreet: (props: HomeAddressStreetProps) => JSX.Element;
23
+ export default HomeAddressStreet;
@@ -0,0 +1,29 @@
1
+ import { GlobalProps } from '../utilities/globalProps';
2
+ export declare type IconSizes = "lg" | "xs" | "sm" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | "";
3
+ declare type IconProps = {
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ border?: string;
8
+ className?: string;
9
+ customIcon?: {
10
+ [key: string]: SVGElement;
11
+ };
12
+ data?: {
13
+ [key: string]: string;
14
+ };
15
+ fixedWidth?: boolean;
16
+ flip?: "horizontal" | "vertical" | "both" | "none";
17
+ icon: string;
18
+ id?: string;
19
+ inverse?: boolean;
20
+ listItem?: boolean;
21
+ pull?: "left" | "right" | "none";
22
+ pulse?: boolean;
23
+ rotation?: 90 | 180 | 270;
24
+ size?: IconSizes;
25
+ fontStyle?: 'far' | 'fas' | 'fab' | 'fak';
26
+ spin?: boolean;
27
+ } & GlobalProps;
28
+ declare const Icon: (props: IconProps) => JSX.Element;
29
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ ![card-border](https://github.com/powerhome/playbook/assets/92755007/442640c8-1b4f-455d-8517-5ca5cd120664)
2
+
3
+ ```swift
4
+
5
+ PBIcon(FontAwesome.user, border: true)
6
+
7
+ ```
@@ -0,0 +1,7 @@
1
+ ![card-default](https://github.com/powerhome/playbook/assets/92755007/8c7e5454-1d42-4d13-9107-ffc5773a136a)
2
+
3
+ ```swift
4
+
5
+ PBIcon.fontAwesome(.user, size: .x1)
6
+
7
+ ```
@@ -0,0 +1,11 @@
1
+ ![icon-flipped](https://github.com/powerhome/playbook/assets/92755007/2776fb83-942d-4a38-9dff-9dcb73940dfe)
2
+
3
+ ```swift
4
+
5
+ HStack(spacing: Spacing.xSmall) {
6
+ PBIcon(FontAwesome.questionCircle, flipped: [.horizontal])
7
+ PBIcon(FontAwesome.questionCircle, flipped: [.vertical])
8
+ PBIcon(FontAwesome.questionCircle, flipped: [.horizontal, .vertical])
9
+ }
10
+
11
+ ```
@@ -0,0 +1,8 @@
1
+ ### Props
2
+ | Name | Type | Description | Default | Values |
3
+ | --- | ----------- | --------- | --------- | --------- |
4
+ | **Icon** | `PlaybookGenericIcon` | Sets the kit's Icon | | |
5
+ | **Size** | `IconSize` | Changes the size of the Icon | `.x1` | `xSmall` `small` `large` `x1` `x2` `x3` `x4` `x5` `x6` `x7` `x8` `x9` `x10` |
6
+ | **Rotation** | `IconRotation` | Rotates the Icon | `.zero` | `.zero` `.right` `.straight` `.obtuse` |
7
+ | **Border** | `Bool` | Adds a border | `false` | `true` `false` |
8
+ | **Flipped** | `[Axis]` | Flips the Icon | `nil` | `[.horizontal]` `[.vertical]` `[.horizontal, .vertical]` |
@@ -0,0 +1,11 @@
1
+ ![icon-rotate](https://github.com/powerhome/playbook/assets/92755007/29a6c127-a8a0-4dd9-a8cb-6401f772f11e)
2
+
3
+ ```swift
4
+
5
+ HStack(spacing: Spacing.xSmall) {
6
+ PBIcon(FontAwesome.user, rotation: .right)
7
+ PBIcon(FontAwesome.user, rotation: .zero)
8
+ PBIcon(FontAwesome.user, rotation: .obtuse)
9
+ }
10
+
11
+ ```
@@ -0,0 +1,46 @@
1
+ ![icon-size](https://github.com/powerhome/playbook/assets/92755007/b3aa3933-56b1-4fe4-bb8b-00d786abb23a)
2
+
3
+ ```swift
4
+
5
+ HStack(spacing: Spacing.xSmall) {
6
+ PBIcon.fontAwesome(.atlas, size: .xSmall)
7
+ Text("xSmall")
8
+
9
+ PBIcon.fontAwesome(.atlas, size: .small)
10
+ Text("small")
11
+
12
+ PBIcon.fontAwesome(.atlas, size: .large)
13
+ Text("large")
14
+
15
+ PBIcon.fontAwesome(.atlas, size: .x1)
16
+ Text("x1")
17
+
18
+ PBIcon.fontAwesome(.atlas, size: .x2)
19
+ Text("x2")
20
+
21
+ PBIcon.fontAwesome(.atlas, size: .x3)
22
+ Text("x3")
23
+
24
+ PBIcon.fontAwesome(.atlas, size: .x4)
25
+ Text("x4")
26
+
27
+ PBIcon.fontAwesome(.atlas, size: .x5)
28
+ Text("x5")
29
+
30
+ PBIcon.fontAwesome(.atlas, size: .x6)
31
+ Text("x6")
32
+
33
+ PBIcon.fontAwesome(.atlas, size: .x7)
34
+ Text("x7")
35
+
36
+ PBIcon.fontAwesome(.atlas, size: .x8)
37
+ Text("x8")
38
+
39
+ PBIcon.fontAwesome(.atlas, size: .x9)
40
+ Text("x9")
41
+
42
+ PBIcon.fontAwesome(.atlas, size: .x10)
43
+ Text("x10")
44
+ }
45
+
46
+ ```
@@ -20,3 +20,11 @@ examples:
20
20
  - icon_sizes: Icon Sizes
21
21
  - icon_custom: Icon Custom
22
22
  - icon_fa_kit: Icon with FontAwesome Kit
23
+
24
+ swift:
25
+ - icon_default_swift: Icon Default
26
+ - icon_rotate_swift: Icon Rotate
27
+ - icon_flip_swift: Icon Flip
28
+ - icon_border_swift: Icon Border
29
+ - icon_sizes_swift: Icon Sizes
30
+ - icon_props_swift: Props
@@ -0,0 +1,16 @@
1
+ declare type IconCircleProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ dark?: boolean;
7
+ data?: {
8
+ [key: string]: string;
9
+ };
10
+ icon: string;
11
+ id?: string;
12
+ size?: "base" | "xs" | "sm" | "md" | "lg" | "xl";
13
+ variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
14
+ };
15
+ declare const IconCircle: (props: IconCircleProps) => JSX.Element;
16
+ export default IconCircle;
@@ -0,0 +1,18 @@
1
+ declare type IconStatValueProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ data?: object;
7
+ dark?: boolean;
8
+ icon: string;
9
+ id?: string;
10
+ orientation?: "vertical" | "horizontal";
11
+ size?: "sm" | "md" | "lg";
12
+ text?: string;
13
+ unit?: string;
14
+ value: number;
15
+ variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
16
+ };
17
+ declare const IconStatValue: (props: IconStatValueProps) => JSX.Element;
18
+ export default IconStatValue;
@@ -0,0 +1,14 @@
1
+ declare type IconValueProps = {
2
+ align?: "left" | "center" | "right";
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ icon: string;
10
+ id?: string;
11
+ text: string;
12
+ };
13
+ declare const IconValue: (props: IconValueProps) => JSX.Element;
14
+ export default IconValue;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type ImageType = {
4
+ alt?: string;
5
+ aria?: {
6
+ [key: string]: string;
7
+ };
8
+ className?: string;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ id?: string;
13
+ onError?: () => void;
14
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
15
+ rounded?: boolean;
16
+ transition?: "blur" | "fade" | "scale";
17
+ url?: string;
18
+ } & GlobalProps;
19
+ declare const Image: (props: ImageType) => React.ReactElement;
20
+ export default Image;
@@ -0,0 +1,7 @@
1
+ ### Props
2
+ | Name | Type | Description | Default | Values |
3
+ | --- | ----------- | --------- | --------- | --------- |
4
+ | **Image** | `Image` | Sets the Image | | |
5
+ | **Place Holder** | `Image` | sets the placeholder Image | `nil` | |
6
+ | **Size** | `Size` | Changes the size of the Image | `nil` | `.xSmall` `.small` `.medium` `.large` `.xLarge` |
7
+ | **Rounded** | `ImageCornerRadius` | Adds rounded corners to the Image | `.sharp` | `.rounded` `.sharp` |
@@ -0,0 +1,47 @@
1
+ ![image-rounded](https://github.com/powerhome/playbook/assets/92755007/ee2cff73-2702-4a09-b654-f151bbdf90f2)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading, spacing: Spacing.small) {
6
+ Text("xSmall").pbFont(.detail(true), color: .text(.default))
7
+ PBImage(
8
+ image: nil,
9
+ placeholder: Image("Forest", bundle: .module),
10
+ size: .xSmall,
11
+ rounded: .rounded
12
+ )
13
+
14
+ Text("small").pbFont(.detail(true), color: .text(.default))
15
+ PBImage(
16
+ image: nil,
17
+ placeholder: Image("Forest", bundle: .module),
18
+ size: .small,
19
+ rounded: .rounded
20
+ )
21
+
22
+ Text("medium").pbFont(.detail(true), color: .text(.default))
23
+ PBImage(
24
+ image: nil,
25
+ placeholder: Image("Forest", bundle: .module),
26
+ size: .medium,
27
+ rounded: .rounded
28
+ )
29
+
30
+ Text("large").pbFont(.detail(true), color: .text(.default))
31
+ PBImage(
32
+ image: nil,
33
+ placeholder: Image("Forest", bundle: .module),
34
+ size: .large,
35
+ rounded: .rounded
36
+ )
37
+
38
+ Text("xLarge").pbFont(.detail(true), color: .text(.default))
39
+ PBImage(
40
+ image: nil,
41
+ placeholder: Image("Forest", bundle: .module),
42
+ size: .xLarge,
43
+ rounded: .rounded
44
+ )
45
+ }
46
+
47
+ ```
@@ -0,0 +1,47 @@
1
+ ![image-size](https://github.com/powerhome/playbook/assets/92755007/261600b9-b49c-4f5b-8c80-9ecc65dc424a)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading, spacing: Spacing.small) {
6
+ Text("xSmall").pbFont(.detail(true), color: .text(.default))
7
+ PBImage(
8
+ image: nil,
9
+ placeholder: Image("Forest", bundle: .module),
10
+ size: .xSmall,
11
+ rounded: .sharp
12
+ )
13
+
14
+ Text("small").pbFont(.detail(true), color: .text(.default))
15
+ PBImage(
16
+ image: nil,
17
+ placeholder: Image("Forest", bundle: .module),
18
+ size: .small,
19
+ rounded: .sharp
20
+ )
21
+
22
+ Text("medium").pbFont(.detail(true), color: .text(.default))
23
+ PBImage(
24
+ image: nil,
25
+ placeholder: Image("Forest", bundle: .module),
26
+ size: .medium,
27
+ rounded: .sharp
28
+ )
29
+
30
+ Text("large").pbFont(.detail(true), color: .text(.default))
31
+ PBImage(
32
+ image: nil,
33
+ placeholder: Image("Forest", bundle: .module),
34
+ size: .large,
35
+ rounded: .sharp
36
+ )
37
+
38
+ Text("xLarge").pbFont(.detail(true), color: .text(.default))
39
+ PBImage(
40
+ image: nil,
41
+ placeholder: Image("Forest", bundle: .module),
42
+ size: .xLarge,
43
+ rounded: .sharp
44
+ )
45
+ }
46
+
47
+ ```
@@ -0,0 +1,15 @@
1
+ ![image-size-none](https://github.com/powerhome/playbook/assets/92755007/442ff028-028a-4ccb-9733-d408d32966d6)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading) {
6
+ Text("None").pbFont(.detail(true), color: .text(.default))
7
+ PBImage(
8
+ image: nil,
9
+ placeholder: Image("Forest", bundle: .module),
10
+ size: .none,
11
+ rounded: .sharp
12
+ )
13
+ }
14
+
15
+ ```
@@ -9,3 +9,8 @@ examples:
9
9
  - rounded_image: Rounded
10
10
  - custom_error_image: Error Handling
11
11
  - transition_image: Transition
12
+ swift:
13
+ - size_image_swift: Size
14
+ - size_none_image_swift: Size None
15
+ - rounded_image_swift: Rounded
16
+ - image_props_swift: ""
@@ -0,0 +1,67 @@
1
+ export declare const toMinute: (newDate: Date | string, timeZone?: string) => string;
2
+ export declare const toHour: (newDate: Date | string, timeZone?: string) => string;
3
+ export declare const toDay: (newDate: Date | string, timeZone?: string) => number;
4
+ export declare const toDayAbbr: (newDate: Date | string) => string;
5
+ export declare const toWeekday: (newDate: Date | string) => string;
6
+ export declare const toMonth: (newDate: Date | string, timeZone?: string) => string;
7
+ export declare const toMonthNum: (newDate: Date | string) => number;
8
+ export declare const toYear: (newDate: Date | string, timeZone?: string) => number;
9
+ export declare const toTime: (newDate: Date | string, timeZone?: string) => string;
10
+ export declare const toMeridiem: (newDate: Date | string, timeZone?: string) => string;
11
+ export declare const toTimeZone: (newDate: Date | string, timeZone?: string) => string;
12
+ export declare const toTimeWithMeridiem: (newDate: Date | string, timeZone: string) => string;
13
+ export declare const toIso: (newDate: Date | string) => string;
14
+ export declare const fromNow: (newDate: Date | string) => string;
15
+ export declare const toCustomFormat: (newDate: Date | string, format?: string) => string;
16
+ export declare const getYesterdayDate: (newDate: Date | string) => Date;
17
+ export declare const getFirstDayOfWeek: (newDate: Date | string) => Date;
18
+ export declare const getLastDayOfWeek: (newDate: Date | string) => Date;
19
+ export declare const getPreviousWeekStartDate: (newDate: Date | string) => Date;
20
+ export declare const getPreviousWeekEndDate: (newDate: Date | string) => Date;
21
+ export declare const getMonthStartDate: (newDate: Date | string) => Date;
22
+ export declare const getMonthEndDate: (newDate: Date | string) => Date;
23
+ export declare const getPreviousMonthStartDate: (newDate: Date | string) => Date;
24
+ export declare const getPreviousMonthEndDate: (newDate: Date | string) => Date;
25
+ export declare const getQuarterStartDate: (newDate: Date | string) => Date;
26
+ export declare const getQuarterEndDate: (newDate: Date | string) => Date;
27
+ export declare const getPreviousQuarterStartDate: (newDate: Date | string) => Date;
28
+ export declare const getPreviousQuarterEndDate: (newDate: Date | string) => Date;
29
+ export declare const getYearStartDate: (newDate: Date | string) => Date;
30
+ export declare const getYearEndDate: (newDate: Date | string) => Date;
31
+ export declare const getPreviousYearStartDate: (newDate: Date | string) => Date;
32
+ export declare const getPreviousYearEndDate: (newDate: Date | string) => Date;
33
+ declare const _default: {
34
+ toMinute: (newDate: string | Date, timeZone?: string) => string;
35
+ toHour: (newDate: string | Date, timeZone?: string) => string;
36
+ toDay: (newDate: string | Date, timeZone?: string) => number;
37
+ toDayAbbr: (newDate: string | Date) => string;
38
+ toWeekday: (newDate: string | Date) => string;
39
+ toMonth: (newDate: string | Date, timeZone?: string) => string;
40
+ toMonthNum: (newDate: string | Date) => number;
41
+ toYear: (newDate: string | Date, timeZone?: string) => number;
42
+ toTime: (newDate: string | Date, timeZone?: string) => string;
43
+ toMeridiem: (newDate: string | Date, timeZone?: string) => string;
44
+ toTimeZone: (newDate: string | Date, timeZone?: string) => string;
45
+ toTimeWithMeridiem: (newDate: string | Date, timeZone: string) => string;
46
+ toIso: (newDate: string | Date) => string;
47
+ fromNow: (newDate: string | Date) => string;
48
+ toCustomFormat: (newDate: string | Date, format?: string) => string;
49
+ getYesterdayDate: (newDate: string | Date) => Date;
50
+ getFirstDayOfWeek: (newDate: string | Date) => Date;
51
+ getLastDayOfWeek: (newDate: string | Date) => Date;
52
+ getPreviousWeekStartDate: (newDate: string | Date) => Date;
53
+ getPreviousWeekEndDate: (newDate: string | Date) => Date;
54
+ getMonthStartDate: (newDate: string | Date) => Date;
55
+ getMonthEndDate: (newDate: string | Date) => Date;
56
+ getPreviousMonthStartDate: (newDate: string | Date) => Date;
57
+ getPreviousMonthEndDate: (newDate: string | Date) => Date;
58
+ getQuarterStartDate: (newDate: string | Date) => Date;
59
+ getQuarterEndDate: (newDate: string | Date) => Date;
60
+ getPreviousQuarterStartDate: (newDate: string | Date) => Date;
61
+ getPreviousQuarterEndDate: (newDate: string | Date) => Date;
62
+ getYearStartDate: (newDate: string | Date) => Date;
63
+ getYearEndDate: (newDate: string | Date) => Date;
64
+ getPreviousYearStartDate: (newDate: string | Date) => Date;
65
+ getPreviousYearEndDate: (newDate: string | Date) => Date;
66
+ };
67
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare type LabelPillProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ data?: {
7
+ [key: string]: string;
8
+ };
9
+ id?: string;
10
+ label?: string;
11
+ pillValue?: string;
12
+ variant: "error" | "info" | "neutral" | "primary" | "success" | "warning";
13
+ };
14
+ declare const LabelPill: (props: LabelPillProps) => JSX.Element;
15
+ export default LabelPill;
@@ -0,0 +1,19 @@
1
+ declare type LabelValueProps = {
2
+ active?: boolean;
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ date?: Date;
10
+ id?: string;
11
+ label: string;
12
+ value?: string;
13
+ variant?: "default" | "details";
14
+ icon?: string;
15
+ description?: string;
16
+ title?: string;
17
+ };
18
+ declare const LabelValue: (props: LabelValueProps) => JSX.Element;
19
+ export default LabelValue;
@@ -0,0 +1,11 @@
1
+ ![label-value-default](https://github.com/powerhome/playbook/assets/92755007/7a515a30-f1a1-4b08-a73a-6b13e6cff125)
2
+
3
+ ```swift
4
+
5
+ VStack(alignment: .leading, spacing: Spacing.small) {
6
+ PBLabelValue("Role", "Administrator, Moderator")
7
+ PBLabelValue("Email", "anna.black@powerhrg.com")
8
+ PBLabelValue("Bio", longText)
9
+ }
10
+
11
+ ```