playbook_ui 13.12.0.pre.alpha.PLAY1051removinghighchartsdependency1551 → 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 (209) 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_bar_graph/_bar_graph.tsx +32 -36
  8. data/app/pb_kits/playbook/pb_body/_body.d.ts +24 -0
  9. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.d.ts +12 -0
  10. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.d.ts +13 -0
  11. data/app/pb_kits/playbook/pb_button/_button.d.ts +37 -0
  12. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.d.ts +17 -0
  13. data/app/pb_kits/playbook/pb_caption/_caption.d.ts +20 -0
  14. data/app/pb_kits/playbook/pb_card/_card.d.ts +42 -0
  15. data/app/pb_kits/playbook/pb_checkbox/_checkbox.d.ts +24 -0
  16. data/app/pb_kits/playbook/pb_circle_chart/ChartsTypes.d.ts +2 -0
  17. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.d.ts +35 -0
  18. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +63 -67
  19. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.d.ts +21 -0
  20. data/app/pb_kits/playbook/pb_collapsible/_collapsible.d.ts +29 -0
  21. data/app/pb_kits/playbook/pb_collapsible/_helper_functions.d.ts +2 -0
  22. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.d.ts +7 -0
  23. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.d.ts +10 -0
  24. data/app/pb_kits/playbook/pb_collapsible/context.d.ts +3 -0
  25. data/app/pb_kits/playbook/pb_collapsible/useCollapsible.d.ts +2 -0
  26. data/app/pb_kits/playbook/pb_contact/_contact.d.ts +13 -0
  27. data/app/pb_kits/playbook/pb_currency/_currency.d.ts +24 -0
  28. data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.d.ts +2 -0
  29. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.d.ts +3 -0
  30. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.d.ts +3 -0
  31. data/app/pb_kits/playbook/pb_dashboard/themeTypes.d.ts +40 -0
  32. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.d.ts +23 -0
  33. data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.d.ts +43 -0
  34. data/app/pb_kits/playbook/pb_date/_date.d.ts +18 -0
  35. data/app/pb_kits/playbook/pb_date_picker/_date_picker.d.ts +50 -0
  36. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.d.ts +23 -0
  37. data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.d.ts +18 -0
  38. data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.d.ts +44 -0
  39. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.d.ts +13 -0
  40. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.d.ts +10 -0
  41. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.d.ts +13 -0
  42. data/app/pb_kits/playbook/pb_date_time/_date_time.d.ts +18 -0
  43. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.d.ts +10 -0
  44. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.d.ts +10 -0
  45. data/app/pb_kits/playbook/pb_detail/_detail.d.ts +20 -0
  46. data/app/pb_kits/playbook/pb_dialog/_close_icon.d.ts +5 -0
  47. data/app/pb_kits/playbook/pb_dialog/_dialog.d.ts +68 -0
  48. data/app/pb_kits/playbook/pb_dialog/_dialog_context.d.ts +2 -0
  49. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.d.ts +8 -0
  50. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.d.ts +20 -0
  51. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.d.ts +19 -0
  52. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.d.ts +10 -0
  53. data/app/pb_kits/playbook/pb_enhanced_element/element_observer.d.ts +17 -0
  54. data/app/pb_kits/playbook/pb_enhanced_element/index.d.ts +17 -0
  55. data/app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts +16 -0
  56. data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.d.ts +10 -0
  57. data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.d.ts +10 -0
  58. data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.d.ts +14 -0
  59. data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.d.ts +14 -0
  60. data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.d.ts +11 -0
  61. data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.d.ts +8 -0
  62. data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.d.ts +18 -0
  63. data/app/pb_kits/playbook/pb_filter/Filter/index.d.ts +8 -0
  64. data/app/pb_kits/playbook/pb_filter/_filter.d.ts +1 -0
  65. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +18 -0
  66. data/app/pb_kits/playbook/pb_flex/_flex.d.ts +24 -0
  67. data/app/pb_kits/playbook/pb_flex/_flex_item.d.ts +14 -0
  68. data/app/pb_kits/playbook/pb_form_group/_form_group.d.ts +12 -0
  69. data/app/pb_kits/playbook/pb_form_pill/_form_pill.d.ts +20 -0
  70. data/app/pb_kits/playbook/pb_gauge/_gauge.d.ts +31 -0
  71. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +46 -57
  72. data/app/pb_kits/playbook/pb_hashtag/_hashtag.d.ts +17 -0
  73. data/app/pb_kits/playbook/pb_highlight/_highlight.d.ts +14 -0
  74. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.d.ts +23 -0
  75. data/app/pb_kits/playbook/pb_icon/_icon.d.ts +29 -0
  76. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.d.ts +16 -0
  77. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.d.ts +18 -0
  78. data/app/pb_kits/playbook/pb_icon_value/_icon_value.d.ts +14 -0
  79. data/app/pb_kits/playbook/pb_image/_image.d.ts +20 -0
  80. data/app/pb_kits/playbook/pb_kit/dateTime.d.ts +67 -0
  81. data/app/pb_kits/playbook/pb_label_pill/_label_pill.d.ts +15 -0
  82. data/app/pb_kits/playbook/pb_label_value/_label_value.d.ts +19 -0
  83. data/app/pb_kits/playbook/pb_layout/_layout.d.ts +48 -0
  84. data/app/pb_kits/playbook/pb_legend/_legend.d.ts +14 -0
  85. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.d.ts +12 -0
  86. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.d.ts +10 -0
  87. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.d.ts +11 -0
  88. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnails.d.ts +9 -0
  89. data/app/pb_kits/playbook/pb_lightbox/Carousel/index.d.ts +16 -0
  90. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.d.ts +22 -0
  91. data/app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts +45 -0
  92. data/app/pb_kits/playbook/pb_lightbox/_lightbox_context.d.ts +2 -0
  93. data/app/pb_kits/playbook/pb_lightbox/hooks/useKbdControls.d.ts +3 -0
  94. data/app/pb_kits/playbook/pb_lightbox/hooks/useWindowSize.d.ts +6 -0
  95. data/app/pb_kits/playbook/pb_line_graph/_line_graph.d.ts +35 -0
  96. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +34 -39
  97. data/app/pb_kits/playbook/pb_list/_list.d.ts +22 -0
  98. data/app/pb_kits/playbook/pb_list/_list_item.d.ts +13 -0
  99. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.d.ts +13 -0
  100. data/app/pb_kits/playbook/pb_map/_map.d.ts +30 -0
  101. data/app/pb_kits/playbook/pb_map/_map_controls.d.ts +11 -0
  102. data/app/pb_kits/playbook/pb_map/_map_custom_button.d.ts +6 -0
  103. data/app/pb_kits/playbook/pb_map/pbMapTheme.d.ts +20 -0
  104. data/app/pb_kits/playbook/pb_message/_message.d.ts +33 -0
  105. data/app/pb_kits/playbook/pb_message/_message_mention.d.ts +13 -0
  106. data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.d.ts +33 -0
  107. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.d.ts +25 -0
  108. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.d.ts +20 -0
  109. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default_swift.md +11 -0
  110. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_props_swift.md +7 -0
  111. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse_swift.md +13 -0
  112. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md +11 -0
  113. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +6 -0
  114. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +16 -0
  115. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md +15 -0
  116. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_props_swift.md +5 -0
  117. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_small_swift.md +15 -0
  118. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_xsmall_swift.md +15 -0
  119. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +6 -0
  120. data/app/pb_kits/playbook/pb_nav/_item.d.ts +40 -0
  121. data/app/pb_kits/playbook/pb_nav/_nav.d.ts +23 -0
  122. data/app/pb_kits/playbook/pb_nav/navTypes.d.ts +22 -0
  123. data/app/pb_kits/playbook/pb_online_status/_online_status.d.ts +14 -0
  124. data/app/pb_kits/playbook/pb_passphrase/_passphrase.d.ts +19 -0
  125. data/app/pb_kits/playbook/pb_person/_person.d.ts +15 -0
  126. data/app/pb_kits/playbook/pb_person_contact/_person_contact.d.ts +18 -0
  127. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts +34 -0
  128. data/app/pb_kits/playbook/pb_pill/_pill.d.ts +16 -0
  129. data/app/pb_kits/playbook/pb_popover/_popover.d.ts +22 -0
  130. data/app/pb_kits/playbook/pb_popover/index.d.ts +21 -0
  131. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.d.ts +17 -0
  132. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.d.ts +15 -0
  133. data/app/pb_kits/playbook/pb_progress_step/_progress_step.d.ts +19 -0
  134. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.d.ts +12 -0
  135. data/app/pb_kits/playbook/pb_radio/_radio.d.ts +355 -0
  136. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.d.ts +9 -0
  137. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorTypes.d.ts +9 -0
  138. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +2 -0
  139. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -0
  140. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -0
  141. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -0
  142. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -0
  143. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.d.ts +31 -0
  144. data/app/pb_kits/playbook/pb_rich_text_editor/inlineFocus.d.ts +2 -0
  145. data/app/pb_kits/playbook/pb_rich_text_editor/useFocus.d.ts +2 -0
  146. data/app/pb_kits/playbook/pb_section_separator/_section_separator.d.ts +19 -0
  147. data/app/pb_kits/playbook/pb_select/_select.d.ts +385 -0
  148. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.d.ts +30 -0
  149. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.d.ts +27 -0
  150. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.d.ts +21 -0
  151. data/app/pb_kits/playbook/pb_selectable_list/_item.d.ts +20 -0
  152. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.d.ts +17 -0
  153. data/app/pb_kits/playbook/pb_source/_source.d.ts +17 -0
  154. data/app/pb_kits/playbook/pb_star_rating/_star_rating.d.ts +14 -0
  155. data/app/pb_kits/playbook/pb_stat_change/_stat_change.d.ts +10 -0
  156. data/app/pb_kits/playbook/pb_stat_value/_stat_value.d.ts +9 -0
  157. data/app/pb_kits/playbook/pb_table/_table.d.ts +24 -0
  158. data/app/pb_kits/playbook/pb_table/_table_row.d.ts +15 -0
  159. data/app/pb_kits/playbook/pb_table/index.d.ts +5 -0
  160. data/app/pb_kits/playbook/pb_text_input/_text_input.d.ts +383 -0
  161. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on_swift.md +35 -0
  162. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md +29 -0
  163. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md +13 -0
  164. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md +24 -0
  165. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md +13 -0
  166. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +7 -0
  167. data/app/pb_kits/playbook/pb_textarea/_textarea.d.ts +380 -0
  168. data/app/pb_kits/playbook/pb_textarea/index.d.ts +10 -0
  169. data/app/pb_kits/playbook/pb_time/_time.d.ts +16 -0
  170. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.d.ts +20 -0
  171. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.d.ts +15 -0
  172. data/app/pb_kits/playbook/pb_timeline/_item.d.ts +11 -0
  173. data/app/pb_kits/playbook/pb_timeline/_timeline.d.ts +26 -0
  174. data/app/pb_kits/playbook/pb_timestamp/_timestamp.d.ts +22 -0
  175. data/app/pb_kits/playbook/pb_title/_title.d.ts +26 -0
  176. data/app/pb_kits/playbook/pb_title_count/_title_count.d.ts +18 -0
  177. data/app/pb_kits/playbook/pb_title_detail/_title_detail.d.ts +16 -0
  178. data/app/pb_kits/playbook/pb_toggle/_toggle.d.ts +21 -0
  179. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default_swift.md +11 -0
  180. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name_swift.md +10 -0
  181. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md +6 -0
  182. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +4 -0
  183. data/app/pb_kits/playbook/pb_tooltip/_tooltip.d.ts +356 -0
  184. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.d.ts +27 -0
  185. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +28 -33
  186. data/app/pb_kits/playbook/pb_typeahead/_typeahead.d.ts +35 -0
  187. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.d.ts +2 -0
  188. data/app/pb_kits/playbook/pb_typeahead/components/Control.d.ts +5 -0
  189. data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.d.ts +2 -0
  190. data/app/pb_kits/playbook/pb_typeahead/components/MenuList.d.ts +2 -0
  191. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.d.ts +9 -0
  192. data/app/pb_kits/playbook/pb_typeahead/components/Option.d.ts +2 -0
  193. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.d.ts +2 -0
  194. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.d.ts +2 -0
  195. data/app/pb_kits/playbook/pb_typeahead/index.d.ts +39 -0
  196. data/app/pb_kits/playbook/pb_user/_user.d.ts +23 -0
  197. data/app/pb_kits/playbook/pb_user_badge/_user_badge.d.ts +14 -0
  198. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.d.ts +2 -0
  199. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.d.ts +2 -0
  200. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.d.ts +41 -0
  201. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.d.ts +15 -0
  202. data/app/pb_kits/playbook/utilities/globalProps.d.ts +113 -0
  203. data/app/pb_kits/playbook/utilities/object.d.ts +1 -0
  204. data/app/pb_kits/playbook/utilities/props.d.ts +38 -0
  205. data/app/pb_kits/playbook/utilities/text.d.ts +3 -0
  206. data/app/pb_kits/playbook/utilities/validEmojiChecker.d.ts +1 -0
  207. data/dist/playbook-rails.js +7 -7
  208. data/lib/playbook/version.rb +1 -1
  209. metadata +198 -2
@@ -0,0 +1,356 @@
1
+ import React from "react";
2
+ import { Placement } from "@floating-ui/react";
3
+ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ className?: string | string[];
8
+ children: JSX.Element;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ delay?: number | Partial<{
13
+ open: number;
14
+ close: number;
15
+ }>;
16
+ icon?: string;
17
+ interaction?: boolean;
18
+ placement?: Placement;
19
+ position?: "absolute" | "fixed";
20
+ text: string;
21
+ showTooltip?: boolean;
22
+ } & {
23
+ alignContent?: never;
24
+ } & {
25
+ alignItems?: never;
26
+ } & {
27
+ alignSelf?: never;
28
+ } & {
29
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
30
+ } & {
31
+ cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
32
+ } & {
33
+ dark?: boolean;
34
+ } & {
35
+ display?: import("../types").DisplayType;
36
+ } & import("../types").DisplaySizes & {
37
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
38
+ } & {
39
+ flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
40
+ } & {
41
+ flexGrow?: 0 | 1;
42
+ } & {
43
+ flexShrink?: 0 | 1;
44
+ } & {
45
+ flexWrap?: "wrap" | "nowrap" | "wrapReverse";
46
+ } & {
47
+ justifyContent?: never;
48
+ } & {
49
+ justifySelf?: never;
50
+ } & {
51
+ lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
52
+ } & {
53
+ marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
54
+ marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
55
+ marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
56
+ marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
57
+ marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
58
+ marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
59
+ margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
60
+ break?: string;
61
+ default?: string;
62
+ } & {
63
+ maxWidth?: import("../types").Sizes;
64
+ } & {
65
+ numberSpacing?: "tabular";
66
+ } & {
67
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
68
+ } & {
69
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
70
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
71
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
72
+ } & {
73
+ paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
74
+ paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
75
+ paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
76
+ paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
77
+ paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
78
+ paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
79
+ padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
80
+ break?: string;
81
+ default?: string;
82
+ } & {
83
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
84
+ } & {
85
+ shadow?: "none" | "deep" | "deeper" | "deepest";
86
+ } & {
87
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
88
+ } & {
89
+ zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
90
+ } & {
91
+ hover?: string;
92
+ }, string | number> | Pick<{
93
+ aria?: {
94
+ [key: string]: string;
95
+ };
96
+ className?: string | string[];
97
+ children: JSX.Element;
98
+ data?: {
99
+ [key: string]: string;
100
+ };
101
+ delay?: number | Partial<{
102
+ open: number;
103
+ close: number;
104
+ }>;
105
+ icon?: string;
106
+ interaction?: boolean;
107
+ placement?: Placement;
108
+ position?: "absolute" | "fixed";
109
+ text: string;
110
+ showTooltip?: boolean;
111
+ } & {
112
+ alignContent?: never;
113
+ } & {
114
+ alignItems?: never;
115
+ } & {
116
+ alignSelf?: never;
117
+ } & {
118
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
119
+ } & {
120
+ cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
121
+ } & {
122
+ dark?: boolean;
123
+ } & {
124
+ display?: import("../types").DisplayType;
125
+ } & import("../types").DisplaySizes & {
126
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
127
+ } & {
128
+ flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
129
+ } & {
130
+ flexGrow?: 0 | 1;
131
+ } & {
132
+ flexShrink?: 0 | 1;
133
+ } & {
134
+ flexWrap?: "wrap" | "nowrap" | "wrapReverse";
135
+ } & {
136
+ justifyContent?: never;
137
+ } & {
138
+ justifySelf?: never;
139
+ } & {
140
+ lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
141
+ } & {
142
+ marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
143
+ marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
144
+ marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
145
+ marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
146
+ marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
147
+ marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
148
+ margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
149
+ break?: string;
150
+ default?: string;
151
+ } & {
152
+ maxWidth?: import("../types").Sizes;
153
+ } & {
154
+ numberSpacing?: "tabular";
155
+ } & {
156
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
157
+ } & {
158
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
159
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
160
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
161
+ } & {
162
+ paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
163
+ paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
164
+ paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
165
+ paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
166
+ paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
167
+ paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
168
+ padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
169
+ break?: string;
170
+ default?: string;
171
+ } & {
172
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
173
+ } & {
174
+ shadow?: "none" | "deep" | "deeper" | "deepest";
175
+ } & {
176
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
177
+ } & {
178
+ [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
179
+ } & {
180
+ hover?: string;
181
+ }, string | number> | Pick<{
182
+ aria?: {
183
+ [key: string]: string;
184
+ };
185
+ className?: string | string[];
186
+ children: JSX.Element;
187
+ data?: {
188
+ [key: string]: string;
189
+ };
190
+ delay?: number | Partial<{
191
+ open: number;
192
+ close: number;
193
+ }>;
194
+ icon?: string;
195
+ interaction?: boolean;
196
+ placement?: Placement;
197
+ position?: "absolute" | "fixed";
198
+ text: string;
199
+ showTooltip?: boolean;
200
+ } & {
201
+ alignContent?: never;
202
+ } & {
203
+ alignItems?: never;
204
+ } & {
205
+ alignSelf?: never;
206
+ } & {
207
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
208
+ } & {
209
+ cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
210
+ } & {
211
+ dark?: boolean;
212
+ } & import("../types").DisplaySizes & {
213
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
214
+ } & {
215
+ flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
216
+ } & {
217
+ flexGrow?: 0 | 1;
218
+ } & {
219
+ flexShrink?: 0 | 1;
220
+ } & {
221
+ flexWrap?: "wrap" | "nowrap" | "wrapReverse";
222
+ } & {
223
+ justifyContent?: never;
224
+ } & {
225
+ justifySelf?: never;
226
+ } & {
227
+ lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
228
+ } & {
229
+ marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
230
+ marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
231
+ marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
232
+ marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
233
+ marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
234
+ marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
235
+ margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
236
+ break?: string;
237
+ default?: string;
238
+ } & {
239
+ maxWidth?: import("../types").Sizes;
240
+ } & {
241
+ numberSpacing?: "tabular";
242
+ } & {
243
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
244
+ } & {
245
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
246
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
247
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
248
+ } & {
249
+ paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
250
+ paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
251
+ paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
252
+ paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
253
+ paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
254
+ paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
255
+ padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
256
+ break?: string;
257
+ default?: string;
258
+ } & {
259
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
260
+ } & {
261
+ shadow?: "none" | "deep" | "deeper" | "deepest";
262
+ } & {
263
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
264
+ } & {
265
+ zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
266
+ } & {
267
+ hover?: string;
268
+ }, string | number> | Pick<{
269
+ aria?: {
270
+ [key: string]: string;
271
+ };
272
+ className?: string | string[];
273
+ children: JSX.Element;
274
+ data?: {
275
+ [key: string]: string;
276
+ };
277
+ delay?: number | Partial<{
278
+ open: number;
279
+ close: number;
280
+ }>;
281
+ icon?: string;
282
+ interaction?: boolean;
283
+ placement?: Placement;
284
+ position?: "absolute" | "fixed";
285
+ text: string;
286
+ showTooltip?: boolean;
287
+ } & {
288
+ alignContent?: never;
289
+ } & {
290
+ alignItems?: never;
291
+ } & {
292
+ alignSelf?: never;
293
+ } & {
294
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
295
+ } & {
296
+ cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
297
+ } & {
298
+ dark?: boolean;
299
+ } & import("../types").DisplaySizes & {
300
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
301
+ } & {
302
+ flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
303
+ } & {
304
+ flexGrow?: 0 | 1;
305
+ } & {
306
+ flexShrink?: 0 | 1;
307
+ } & {
308
+ flexWrap?: "wrap" | "nowrap" | "wrapReverse";
309
+ } & {
310
+ justifyContent?: never;
311
+ } & {
312
+ justifySelf?: never;
313
+ } & {
314
+ lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
315
+ } & {
316
+ marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
317
+ marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
318
+ marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
319
+ marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
320
+ marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
321
+ marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
322
+ margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
323
+ break?: string;
324
+ default?: string;
325
+ } & {
326
+ maxWidth?: import("../types").Sizes;
327
+ } & {
328
+ numberSpacing?: "tabular";
329
+ } & {
330
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
331
+ } & {
332
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
333
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
334
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
335
+ } & {
336
+ paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
337
+ paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
338
+ paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
339
+ paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
340
+ paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
341
+ paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
342
+ padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
343
+ break?: string;
344
+ default?: string;
345
+ } & {
346
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
347
+ } & {
348
+ shadow?: "none" | "deep" | "deeper" | "deepest";
349
+ } & {
350
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
351
+ } & {
352
+ [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
353
+ } & {
354
+ hover?: string;
355
+ }, string | number>) & React.RefAttributes<unknown>>;
356
+ export default Tooltip;
@@ -0,0 +1,27 @@
1
+ declare type TreemapChartProps = {
2
+ chartData: {
3
+ name: string;
4
+ parent?: string | number;
5
+ value: number;
6
+ color?: string;
7
+ id?: string | number;
8
+ }[];
9
+ className?: string;
10
+ colors: string[];
11
+ dark?: boolean;
12
+ drillable: boolean;
13
+ grouped: boolean;
14
+ height?: string;
15
+ id: number | string;
16
+ title?: string;
17
+ tooltipHtml: string;
18
+ type?: string;
19
+ aria?: {
20
+ [key: string]: string;
21
+ };
22
+ data?: {
23
+ [key: string]: string;
24
+ };
25
+ };
26
+ declare const TreemapChart: ({ aria, data, chartData, colors, dark, drillable, grouped, height, id, title, tooltipHtml, type, ...props }: TreemapChartProps) => JSX.Element;
27
+ export default TreemapChart;
@@ -5,6 +5,7 @@ import { globalProps } from "../utilities/globalProps";
5
5
  import { buildAriaProps, buildDataProps } from "../utilities/props";
6
6
 
7
7
  import HighchartsReact from "highcharts-react-official";
8
+ import Highcharts from "highcharts";
8
9
  import { highchartsTheme } from "../pb_dashboard/pbChartsLightTheme";
9
10
  import { highchartsDarkTheme } from "../pb_dashboard/pbChartsDarkTheme";
10
11
  import mapColors from "../pb_dashboard/pbChartsColorsHelper";
@@ -12,24 +13,24 @@ import treemap from 'highcharts/modules/treemap'
12
13
 
13
14
  type TreemapChartProps = {
14
15
  chartData: {
15
- name: string,
16
- parent?: string | number,
17
- value: number,
18
- color?: string,
19
- id?: string | number,
20
- }[],
21
- className?: string,
22
- colors: string[],
23
- dark?: boolean,
24
- drillable: boolean,
25
- grouped: boolean,
26
- height?: string,
27
- id: number | string,
28
- title?: string,
29
- tooltipHtml: string,
30
- type?: string,
31
- aria?: { [key: string]: string },
32
- data?: { [key: string]: string },
16
+ name: string;
17
+ parent?: string | number;
18
+ value: number;
19
+ color?: string;
20
+ id?: string | number;
21
+ }[];
22
+ className?: string;
23
+ colors: string[];
24
+ dark?: boolean;
25
+ drillable: boolean;
26
+ grouped: boolean;
27
+ height?: string;
28
+ id: number | string;
29
+ title?: string;
30
+ tooltipHtml: string;
31
+ type?: string;
32
+ aria?: { [key: string]: string };
33
+ data?: { [key: string]: string };
33
34
  };
34
35
 
35
36
  const TreemapChart = ({
@@ -49,6 +50,13 @@ const TreemapChart = ({
49
50
  }: TreemapChartProps) => {
50
51
  const ariaProps = buildAriaProps(aria);
51
52
  const dataProps = buildDataProps(data);
53
+ const setupTheme = () => {
54
+ dark
55
+ ? Highcharts.setOptions(highchartsDarkTheme)
56
+ : Highcharts.setOptions(highchartsTheme);
57
+ };
58
+ treemap(Highcharts)
59
+ setupTheme();
52
60
 
53
61
  const staticOptions = {
54
62
  title: {
@@ -80,26 +88,13 @@ const TreemapChart = ({
80
88
  };
81
89
 
82
90
  const [options, setOptions] = useState({});
83
- const [isHighchartsLoaded, setIsHighchartsLoaded] = useState(false);
84
91
 
85
92
  useEffect(() => {
93
+
86
94
  setOptions({ ...staticOptions });
87
-
88
- const interval = setInterval(() => {
89
- if (window.Highcharts) {
90
- clearInterval(interval)
91
- dark
92
- ? window.Highcharts.setOptions(highchartsDarkTheme)
93
- : window.Highcharts.setOptions(highchartsTheme)
94
-
95
- treemap(window.Highcharts)
96
- setIsHighchartsLoaded(true)
97
- }
98
- }, 0)
99
95
  }, [chartData]);
100
96
 
101
97
  return (
102
- isHighchartsLoaded &&
103
98
  <HighchartsReact
104
99
  containerProps={{
105
100
  className: classnames(globalProps(props), "pb_treemap_chart"),
@@ -107,7 +102,7 @@ const TreemapChart = ({
107
102
  ...ariaProps,
108
103
  ...dataProps,
109
104
  }}
110
- highcharts={window.Highcharts}
105
+ highcharts={Highcharts}
111
106
  options={options}
112
107
  />
113
108
  );
@@ -0,0 +1,35 @@
1
+ import { Noop } from '../types';
2
+ /**
3
+ * @typedef {object} Props
4
+ * @prop {boolean} async - whether Typeahead should fetch data from
5
+ * a remote location to populate the options
6
+ * @prop {string} label - the text for the optional typeahead input label
7
+ */
8
+ declare type TypeaheadProps = {
9
+ async?: boolean;
10
+ className?: string;
11
+ components?: object;
12
+ createable?: boolean;
13
+ dark?: boolean;
14
+ data?: {
15
+ [key: string]: string;
16
+ };
17
+ error?: string;
18
+ id?: string;
19
+ label?: string;
20
+ loadOptions?: string | Noop;
21
+ getOptionLabel?: string | (() => any);
22
+ getOptionValue?: string | (() => any);
23
+ name?: string;
24
+ };
25
+ export declare type SelectValueType = {
26
+ label: string;
27
+ value: string;
28
+ imageUrl?: string;
29
+ };
30
+ /**
31
+ * @constant {React.ReactComponent} Typeahead
32
+ * @param {TypeaheadProps} props - props as described at https://react-select.com/props
33
+ */
34
+ declare const Typeahead: ({ async, className, components, createable, error, data, getOptionLabel, getOptionValue, id, loadOptions, ...props }: TypeaheadProps) => JSX.Element;
35
+ export default Typeahead;
@@ -0,0 +1,2 @@
1
+ declare const ClearContainer: (props: any) => JSX.Element;
2
+ export default ClearContainer;
@@ -0,0 +1,5 @@
1
+ declare type Props = {
2
+ selectProps: any;
3
+ };
4
+ declare const TypeaheadControl: (props: Props) => JSX.Element;
5
+ export default TypeaheadControl;
@@ -0,0 +1,2 @@
1
+ declare const IndicatorsContainer: (props: any) => JSX.Element;
2
+ export default IndicatorsContainer;
@@ -0,0 +1,2 @@
1
+ declare const MenuList: (props: any) => JSX.Element;
2
+ export default MenuList;
@@ -0,0 +1,9 @@
1
+ import { SelectValueType } from '../_typeahead';
2
+ declare type Props = {
3
+ data: SelectValueType;
4
+ multiValueTemplate: any;
5
+ removeProps: any;
6
+ selectProps: any;
7
+ };
8
+ declare const MultiValue: (props: Props) => JSX.Element;
9
+ export default MultiValue;
@@ -0,0 +1,2 @@
1
+ declare const Option: (props: any) => JSX.Element;
2
+ export default Option;
@@ -0,0 +1,2 @@
1
+ declare const Placeholder: (props: any) => JSX.Element;
2
+ export default Placeholder;
@@ -0,0 +1,2 @@
1
+ declare const ValueContainer: (props: any) => JSX.Element;
2
+ export default ValueContainer;
@@ -0,0 +1,39 @@
1
+ import PbEnhancedElement from '../pb_enhanced_element';
2
+ export default class PbTypeahead extends PbEnhancedElement {
3
+ _searchInput: HTMLInputElement;
4
+ _resultsElement: HTMLElement;
5
+ _debouncedSearch: Function;
6
+ _resultsLoadingIndicator: HTMLElement;
7
+ _resultOptionTemplate: HTMLElement;
8
+ _resultsOptionCache: Map<string, Array<DocumentFragment>>;
9
+ _searchContext: string;
10
+ static get selector(): string;
11
+ connect(): void;
12
+ handleKeydown(event: KeyboardEvent): void;
13
+ search(): void;
14
+ resultsCacheUpdate(searchTerm: string, searchContext: string, results: Array<DocumentFragment>): void;
15
+ resultsCacheClear(): void;
16
+ get debouncedSearch(): any;
17
+ showResults(): void;
18
+ optionSelected(event: MouseEvent): void;
19
+ clearResults(): void;
20
+ newResultOption(content: DocumentFragment): Element;
21
+ focusPreviousOption(): void;
22
+ focusNextOption(): void;
23
+ get resultOptionItems(): Element[];
24
+ get currentSelectedResultOptionItem(): Element;
25
+ get searchInput(): HTMLInputElement;
26
+ get searchTerm(): string;
27
+ get searchContext(): string;
28
+ set searchContext(value: string);
29
+ get searchTermAndContext(): string;
30
+ cacheKeyFor(searchTerm: string, searchContext: string): string;
31
+ searchInputClear(): void;
32
+ get searchTermMinimumLength(): string;
33
+ get searchDebounceTimeout(): string;
34
+ get resultsElement(): HTMLElement;
35
+ get resultOptionTemplate(): HTMLElement;
36
+ get resultsOptionCache(): Map<any, any>;
37
+ get resultsLoadingIndicator(): HTMLElement;
38
+ toggleResultsLoadingIndicator(visible: boolean): void;
39
+ }
@@ -0,0 +1,23 @@
1
+ import { GlobalProps } from '../utilities/globalProps';
2
+ declare type UserProps = {
3
+ align?: "left" | "center" | "right";
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ avatar?: boolean;
8
+ avatarUrl?: string;
9
+ className?: string;
10
+ dark?: boolean;
11
+ data?: {
12
+ [key: string]: string;
13
+ };
14
+ id?: string;
15
+ name?: string;
16
+ orientation?: "horizontal" | "vertical";
17
+ size?: "sm" | "md" | "lg";
18
+ subtitle?: string | Array<Node> | Node;
19
+ territory?: string;
20
+ title?: string;
21
+ } & GlobalProps;
22
+ declare const User: (props: UserProps) => JSX.Element;
23
+ export default User;
@@ -0,0 +1,14 @@
1
+ declare type UserBadgeProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ badge?: "million-dollar" | "veteran";
6
+ className?: string;
7
+ data?: {
8
+ [key: string]: string;
9
+ };
10
+ id?: string;
11
+ size?: "sm" | "md" | "lg";
12
+ };
13
+ declare const UserBadge: (props: UserBadgeProps) => JSX.Element;
14
+ export default UserBadge;
@@ -0,0 +1,2 @@
1
+ declare const MillionDollar: () => JSX.Element;
2
+ export default MillionDollar;
@@ -0,0 +1,2 @@
1
+ declare const Veteran: () => JSX.Element;
2
+ export default Veteran;