playbook_ui 13.12.0.pre.alpha.PLAY1081exporttypes1609 → 13.12.0.pre.alpha.PLAY1081exporttypes1623

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/index.js +4 -1
  3. data/app/pb_kits/playbook/pb_card/_card.tsx +2 -2
  4. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +5 -4
  5. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +1 -1
  6. data/app/pb_kits/playbook/pb_form_group/_form_group.tsx +3 -3
  7. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +2 -2
  8. data/app/pb_kits/playbook/pb_select/_select.tsx +2 -1
  9. data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +2 -3
  10. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  11. data/dist/playbook-rails.js +6 -6
  12. data/lib/playbook/version.rb +1 -1
  13. metadata +2 -182
  14. data/app/pb_kits/playbook/pb_avatar/_avatar.d.ts +0 -20
  15. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.d.ts +0 -21
  16. data/app/pb_kits/playbook/pb_background/_background.d.ts +0 -33
  17. data/app/pb_kits/playbook/pb_badge/_badge.d.ts +0 -24
  18. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.d.ts +0 -35
  19. data/app/pb_kits/playbook/pb_body/_body.d.ts +0 -24
  20. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.d.ts +0 -12
  21. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.d.ts +0 -13
  22. data/app/pb_kits/playbook/pb_button/_button.d.ts +0 -37
  23. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.d.ts +0 -17
  24. data/app/pb_kits/playbook/pb_caption/_caption.d.ts +0 -20
  25. data/app/pb_kits/playbook/pb_card/_card.d.ts +0 -42
  26. data/app/pb_kits/playbook/pb_checkbox/_checkbox.d.ts +0 -24
  27. data/app/pb_kits/playbook/pb_circle_chart/ChartsTypes.d.ts +0 -2
  28. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.d.ts +0 -35
  29. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.d.ts +0 -21
  30. data/app/pb_kits/playbook/pb_collapsible/_collapsible.d.ts +0 -29
  31. data/app/pb_kits/playbook/pb_collapsible/_helper_functions.d.ts +0 -2
  32. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.d.ts +0 -7
  33. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.d.ts +0 -10
  34. data/app/pb_kits/playbook/pb_collapsible/context.d.ts +0 -3
  35. data/app/pb_kits/playbook/pb_collapsible/useCollapsible.d.ts +0 -2
  36. data/app/pb_kits/playbook/pb_contact/_contact.d.ts +0 -13
  37. data/app/pb_kits/playbook/pb_currency/_currency.d.ts +0 -24
  38. data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.d.ts +0 -2
  39. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.d.ts +0 -3
  40. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.d.ts +0 -3
  41. data/app/pb_kits/playbook/pb_dashboard/themeTypes.d.ts +0 -40
  42. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.d.ts +0 -23
  43. data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.d.ts +0 -43
  44. data/app/pb_kits/playbook/pb_date/_date.d.ts +0 -18
  45. data/app/pb_kits/playbook/pb_date_picker/_date_picker.d.ts +0 -50
  46. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.d.ts +0 -23
  47. data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.d.ts +0 -18
  48. data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.d.ts +0 -44
  49. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.d.ts +0 -13
  50. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.d.ts +0 -10
  51. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.d.ts +0 -13
  52. data/app/pb_kits/playbook/pb_date_time/_date_time.d.ts +0 -18
  53. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.d.ts +0 -10
  54. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.d.ts +0 -10
  55. data/app/pb_kits/playbook/pb_detail/_detail.d.ts +0 -20
  56. data/app/pb_kits/playbook/pb_dialog/_close_icon.d.ts +0 -5
  57. data/app/pb_kits/playbook/pb_dialog/_dialog.d.ts +0 -68
  58. data/app/pb_kits/playbook/pb_dialog/_dialog_context.d.ts +0 -2
  59. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.d.ts +0 -8
  60. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.d.ts +0 -20
  61. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.d.ts +0 -19
  62. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.d.ts +0 -10
  63. data/app/pb_kits/playbook/pb_enhanced_element/element_observer.d.ts +0 -17
  64. data/app/pb_kits/playbook/pb_enhanced_element/index.d.ts +0 -17
  65. data/app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts +0 -16
  66. data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.d.ts +0 -10
  67. data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.d.ts +0 -10
  68. data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.d.ts +0 -14
  69. data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.d.ts +0 -14
  70. data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.d.ts +0 -11
  71. data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.d.ts +0 -8
  72. data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.d.ts +0 -18
  73. data/app/pb_kits/playbook/pb_filter/Filter/index.d.ts +0 -8
  74. data/app/pb_kits/playbook/pb_filter/_filter.d.ts +0 -1
  75. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +0 -18
  76. data/app/pb_kits/playbook/pb_flex/_flex.d.ts +0 -24
  77. data/app/pb_kits/playbook/pb_flex/_flex_item.d.ts +0 -14
  78. data/app/pb_kits/playbook/pb_form_group/_form_group.d.ts +0 -12
  79. data/app/pb_kits/playbook/pb_form_pill/_form_pill.d.ts +0 -20
  80. data/app/pb_kits/playbook/pb_gauge/_gauge.d.ts +0 -31
  81. data/app/pb_kits/playbook/pb_hashtag/_hashtag.d.ts +0 -17
  82. data/app/pb_kits/playbook/pb_highlight/_highlight.d.ts +0 -14
  83. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.d.ts +0 -23
  84. data/app/pb_kits/playbook/pb_icon/_icon.d.ts +0 -29
  85. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.d.ts +0 -16
  86. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.d.ts +0 -18
  87. data/app/pb_kits/playbook/pb_icon_value/_icon_value.d.ts +0 -14
  88. data/app/pb_kits/playbook/pb_image/_image.d.ts +0 -20
  89. data/app/pb_kits/playbook/pb_kit/dateTime.d.ts +0 -67
  90. data/app/pb_kits/playbook/pb_label_pill/_label_pill.d.ts +0 -15
  91. data/app/pb_kits/playbook/pb_label_value/_label_value.d.ts +0 -19
  92. data/app/pb_kits/playbook/pb_layout/_layout.d.ts +0 -48
  93. data/app/pb_kits/playbook/pb_legend/_legend.d.ts +0 -14
  94. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.d.ts +0 -12
  95. data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.d.ts +0 -10
  96. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.d.ts +0 -11
  97. data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnails.d.ts +0 -9
  98. data/app/pb_kits/playbook/pb_lightbox/Carousel/index.d.ts +0 -16
  99. data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.d.ts +0 -22
  100. data/app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts +0 -45
  101. data/app/pb_kits/playbook/pb_lightbox/_lightbox_context.d.ts +0 -2
  102. data/app/pb_kits/playbook/pb_lightbox/hooks/useKbdControls.d.ts +0 -3
  103. data/app/pb_kits/playbook/pb_lightbox/hooks/useWindowSize.d.ts +0 -6
  104. data/app/pb_kits/playbook/pb_line_graph/_line_graph.d.ts +0 -35
  105. data/app/pb_kits/playbook/pb_list/_list.d.ts +0 -22
  106. data/app/pb_kits/playbook/pb_list/_list_item.d.ts +0 -13
  107. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.d.ts +0 -13
  108. data/app/pb_kits/playbook/pb_map/_map.d.ts +0 -30
  109. data/app/pb_kits/playbook/pb_map/_map_controls.d.ts +0 -11
  110. data/app/pb_kits/playbook/pb_map/_map_custom_button.d.ts +0 -6
  111. data/app/pb_kits/playbook/pb_map/pbMapTheme.d.ts +0 -20
  112. data/app/pb_kits/playbook/pb_message/_message.d.ts +0 -33
  113. data/app/pb_kits/playbook/pb_message/_message_mention.d.ts +0 -13
  114. data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.d.ts +0 -33
  115. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.d.ts +0 -25
  116. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.d.ts +0 -20
  117. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +0 -16
  118. data/app/pb_kits/playbook/pb_nav/_item.d.ts +0 -40
  119. data/app/pb_kits/playbook/pb_nav/_nav.d.ts +0 -23
  120. data/app/pb_kits/playbook/pb_nav/navTypes.d.ts +0 -22
  121. data/app/pb_kits/playbook/pb_online_status/_online_status.d.ts +0 -14
  122. data/app/pb_kits/playbook/pb_passphrase/_passphrase.d.ts +0 -19
  123. data/app/pb_kits/playbook/pb_person/_person.d.ts +0 -15
  124. data/app/pb_kits/playbook/pb_person_contact/_person_contact.d.ts +0 -18
  125. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts +0 -34
  126. data/app/pb_kits/playbook/pb_pill/_pill.d.ts +0 -16
  127. data/app/pb_kits/playbook/pb_popover/_popover.d.ts +0 -22
  128. data/app/pb_kits/playbook/pb_popover/index.d.ts +0 -21
  129. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.d.ts +0 -17
  130. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.d.ts +0 -15
  131. data/app/pb_kits/playbook/pb_progress_step/_progress_step.d.ts +0 -19
  132. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.d.ts +0 -12
  133. data/app/pb_kits/playbook/pb_radio/_radio.d.ts +0 -355
  134. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.d.ts +0 -9
  135. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorTypes.d.ts +0 -9
  136. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +0 -2
  137. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.d.ts +0 -2
  138. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +0 -2
  139. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +0 -2
  140. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +0 -2
  141. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.d.ts +0 -31
  142. data/app/pb_kits/playbook/pb_rich_text_editor/inlineFocus.d.ts +0 -2
  143. data/app/pb_kits/playbook/pb_rich_text_editor/useFocus.d.ts +0 -2
  144. data/app/pb_kits/playbook/pb_section_separator/_section_separator.d.ts +0 -19
  145. data/app/pb_kits/playbook/pb_select/_select.d.ts +0 -385
  146. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.d.ts +0 -30
  147. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.d.ts +0 -27
  148. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.d.ts +0 -21
  149. data/app/pb_kits/playbook/pb_selectable_list/_item.d.ts +0 -20
  150. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.d.ts +0 -17
  151. data/app/pb_kits/playbook/pb_source/_source.d.ts +0 -17
  152. data/app/pb_kits/playbook/pb_star_rating/_star_rating.d.ts +0 -14
  153. data/app/pb_kits/playbook/pb_stat_change/_stat_change.d.ts +0 -10
  154. data/app/pb_kits/playbook/pb_stat_value/_stat_value.d.ts +0 -9
  155. data/app/pb_kits/playbook/pb_table/_table.d.ts +0 -24
  156. data/app/pb_kits/playbook/pb_table/_table_row.d.ts +0 -15
  157. data/app/pb_kits/playbook/pb_table/index.d.ts +0 -5
  158. data/app/pb_kits/playbook/pb_text_input/_text_input.d.ts +0 -383
  159. data/app/pb_kits/playbook/pb_textarea/_textarea.d.ts +0 -380
  160. data/app/pb_kits/playbook/pb_textarea/index.d.ts +0 -10
  161. data/app/pb_kits/playbook/pb_time/_time.d.ts +0 -16
  162. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.d.ts +0 -20
  163. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.d.ts +0 -15
  164. data/app/pb_kits/playbook/pb_timeline/_item.d.ts +0 -11
  165. data/app/pb_kits/playbook/pb_timeline/_timeline.d.ts +0 -26
  166. data/app/pb_kits/playbook/pb_timestamp/_timestamp.d.ts +0 -22
  167. data/app/pb_kits/playbook/pb_title/_title.d.ts +0 -26
  168. data/app/pb_kits/playbook/pb_title_count/_title_count.d.ts +0 -18
  169. data/app/pb_kits/playbook/pb_title_detail/_title_detail.d.ts +0 -16
  170. data/app/pb_kits/playbook/pb_toggle/_toggle.d.ts +0 -21
  171. data/app/pb_kits/playbook/pb_tooltip/_tooltip.d.ts +0 -356
  172. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.d.ts +0 -27
  173. data/app/pb_kits/playbook/pb_typeahead/_typeahead.d.ts +0 -35
  174. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.d.ts +0 -2
  175. data/app/pb_kits/playbook/pb_typeahead/components/Control.d.ts +0 -5
  176. data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.d.ts +0 -2
  177. data/app/pb_kits/playbook/pb_typeahead/components/MenuList.d.ts +0 -2
  178. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.d.ts +0 -9
  179. data/app/pb_kits/playbook/pb_typeahead/components/Option.d.ts +0 -2
  180. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.d.ts +0 -2
  181. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.d.ts +0 -2
  182. data/app/pb_kits/playbook/pb_typeahead/index.d.ts +0 -39
  183. data/app/pb_kits/playbook/pb_user/_user.d.ts +0 -23
  184. data/app/pb_kits/playbook/pb_user_badge/_user_badge.d.ts +0 -14
  185. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.d.ts +0 -2
  186. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.d.ts +0 -2
  187. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.d.ts +0 -41
  188. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.d.ts +0 -15
  189. data/app/pb_kits/playbook/utilities/globalProps.d.ts +0 -113
  190. data/app/pb_kits/playbook/utilities/object.d.ts +0 -1
  191. data/app/pb_kits/playbook/utilities/props.d.ts +0 -38
  192. data/app/pb_kits/playbook/utilities/text.d.ts +0 -3
  193. data/app/pb_kits/playbook/utilities/validEmojiChecker.d.ts +0 -1
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import { GlobalProps } from '../utilities/globalProps';
3
- declare type DatePickerProps = {
4
- allowInput?: boolean;
5
- aria?: {
6
- [key: string]: string;
7
- };
8
- className?: string;
9
- dark?: boolean;
10
- data?: {
11
- [key: string]: string;
12
- };
13
- defaultDate?: string;
14
- disableDate?: number[];
15
- disableInput?: boolean;
16
- disableRange?: number[];
17
- disableWeekdays?: number[];
18
- enableTime?: boolean;
19
- error?: string;
20
- format?: string;
21
- hideIcon?: boolean;
22
- hideLabel?: boolean;
23
- id?: string;
24
- inLine?: boolean;
25
- inputAria?: {
26
- [key: string]: string;
27
- };
28
- inputData?: {
29
- [key: string]: string;
30
- };
31
- inputOnChange?: (e: React.FormEvent<HTMLInputElement>) => void;
32
- inputValue?: string;
33
- label?: string;
34
- maxDate: string;
35
- minDate: string;
36
- name: string;
37
- pickerId?: string;
38
- placeholder?: string;
39
- positionElement?: HTMLElement | null;
40
- scrollContainer?: string;
41
- selectionType?: "month" | "week" | "quickpick";
42
- showTimezone?: boolean;
43
- staticPosition: boolean;
44
- thisRangesEndToday?: boolean;
45
- timeFormat?: string;
46
- type?: string;
47
- yearRange?: number[];
48
- } & GlobalProps;
49
- declare const DatePicker: (props: DatePickerProps) => React.ReactElement;
50
- export default DatePicker;
@@ -1,23 +0,0 @@
1
- import { BaseOptions } from 'flatpickr/dist/types/options';
2
- declare type DatePickerConfig = {
3
- closeOnSelect?: boolean;
4
- disableDate?: number[];
5
- disableRange?: number[];
6
- disableWeekdays?: number[];
7
- format?: string;
8
- pickerId?: ArrayLike<Node> | Node | string;
9
- required: boolean;
10
- hideIcon?: boolean;
11
- inLine?: boolean;
12
- onChange: (dateStr: string, selectedDates: Date[]) => void;
13
- selectionType?: "month" | "week" | "quickpick" | "";
14
- onClose: (dateStr: Date[] | string, selectedDates: Date[] | string) => void;
15
- showTimezone?: boolean;
16
- staticPosition: boolean;
17
- thisRangesEndToday?: boolean;
18
- timeCaption?: string;
19
- timeFormat?: string;
20
- yearRange: number[];
21
- } & Pick<BaseOptions, "allowInput" | "defaultDate" | "enableTime" | "maxDate" | "minDate" | "mode" | "plugins" | "position" | "positionElement">;
22
- declare const datePickerHelper: (config: DatePickerConfig, scrollContainer: string | HTMLElement) => any;
23
- export default datePickerHelper;
@@ -1,18 +0,0 @@
1
- declare type FpTypes = {
2
- setDate: (arg0: any, arg1: boolean) => void;
3
- config: {
4
- [key: string]: string;
5
- };
6
- clear: (arg0: boolean, arg1: boolean) => void;
7
- close: () => void;
8
- calendarContainer?: {
9
- classList: {
10
- add: (arg0: string) => void;
11
- };
12
- prepend: (arg0: HTMLDivElement) => void;
13
- append: (arg0: HTMLDivElement) => void;
14
- };
15
- loadedPlugins: string[];
16
- };
17
- declare const quickPickPlugin: (thisRangesEndToday: boolean) => (fp: FpTypes & any) => any;
18
- export default quickPickPlugin;
@@ -1,44 +0,0 @@
1
- declare type FpTypes = {
2
- amPM?: {
3
- style: {
4
- display: string;
5
- };
6
- };
7
- selectedDates: string | any[];
8
- setDate: (arg0: any, arg1: boolean) => void;
9
- input: {
10
- id: any;
11
- };
12
- timeContainer?: {
13
- classList: {
14
- add: (arg0: string) => void;
15
- };
16
- prepend: (arg0: HTMLDivElement) => void;
17
- append: (arg0: HTMLDivElement) => void;
18
- };
19
- minuteElement?: {
20
- step: string;
21
- };
22
- _initialDate: {
23
- toLocaleDateString: (arg0: string, arg1: {
24
- day: string;
25
- timeZoneName: string;
26
- }) => string | any[];
27
- };
28
- loadedPlugins: string[];
29
- };
30
- export declare const getTimezoneText: (inputDate: {
31
- toLocaleDateString: (arg0: string, arg1: {
32
- day: string;
33
- timeZoneName: string;
34
- }) => string | any[];
35
- }) => string;
36
- declare function timeSelectPlugin(props: {
37
- caption: string;
38
- showTimezone: boolean;
39
- }): (fp: FpTypes & any) => {
40
- onValueUpdate(): void;
41
- onOpen(): void;
42
- onReady(): void;
43
- };
44
- export default timeSelectPlugin;
@@ -1,13 +0,0 @@
1
- declare type DateRangeInlineProps = {
2
- className?: string;
3
- id?: string;
4
- data?: string;
5
- align?: "left" | "center" | "vertical";
6
- size?: "sm" | "xs";
7
- dark?: boolean;
8
- icon?: boolean;
9
- startDate?: Date;
10
- endDate?: Date;
11
- };
12
- declare const DateRangeInline: (props: DateRangeInlineProps) => JSX.Element;
13
- export default DateRangeInline;
@@ -1,10 +0,0 @@
1
- declare type DateRangeStackedProps = {
2
- className?: string | string[];
3
- data?: string;
4
- dark?: boolean;
5
- endDate: Date;
6
- id?: string;
7
- startDate: Date;
8
- };
9
- declare const DateRangeStacked: (props: DateRangeStackedProps) => JSX.Element;
10
- export default DateRangeStacked;
@@ -1,13 +0,0 @@
1
- declare type DateStackedProps = {
2
- align?: "left" | "center" | "right";
3
- bold?: boolean;
4
- className?: string | string[];
5
- dark?: boolean;
6
- data?: string;
7
- date: Date;
8
- size?: "sm" | "md";
9
- id?: string;
10
- reverse?: boolean;
11
- };
12
- declare const DateStacked: (props: DateStackedProps) => JSX.Element;
13
- export default DateStacked;
@@ -1,18 +0,0 @@
1
- declare type DateTimeProps = {
2
- align?: "left" | "center" | "right";
3
- aria?: {
4
- [key: string]: string;
5
- };
6
- className?: string;
7
- data?: {
8
- [key: string]: string;
9
- };
10
- datetime: Date;
11
- id?: string;
12
- size?: "sm" | "md";
13
- showDayOfWeek: boolean;
14
- showIcon?: boolean;
15
- timeZone?: string;
16
- };
17
- declare const DateTime: (props: DateTimeProps) => JSX.Element;
18
- export default DateTime;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- declare type DateTimeStackedProps = {
3
- id?: string;
4
- date: Date;
5
- datetime: Date;
6
- dark: boolean;
7
- timeZone?: string;
8
- };
9
- declare const DateTimeStacked: (props: DateTimeStackedProps) => React.ReactElement;
10
- export default DateTimeStacked;
@@ -1,10 +0,0 @@
1
- declare type DateYearStackedProps = {
2
- align?: "left" | "center" | "right";
3
- className?: string | string[];
4
- dark?: boolean;
5
- data?: string;
6
- date: Date;
7
- id?: string;
8
- };
9
- declare const DateYearStacked: (props: DateYearStackedProps) => JSX.Element;
10
- export default DateYearStacked;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { GlobalProps } from '../utilities/globalProps';
3
- declare type DetailProps = {
4
- aria?: {
5
- [key: string]: string;
6
- };
7
- bold?: boolean;
8
- children?: React.ReactChild[] | React.ReactChild;
9
- className?: string;
10
- color?: 'light' | 'default' | 'lighter' | 'link' | 'error' | 'success';
11
- dark?: boolean;
12
- data?: {
13
- [key: string]: string;
14
- };
15
- id?: string;
16
- tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
17
- text?: string;
18
- } & GlobalProps;
19
- declare const Detail: (props: DetailProps) => JSX.Element;
20
- export default Detail;
@@ -1,5 +0,0 @@
1
- declare type CloseIconProps = {
2
- onClose: () => any;
3
- };
4
- export declare const CloseIcon: (props: CloseIconProps) => JSX.Element;
5
- export {};
@@ -1,68 +0,0 @@
1
- import React from "react";
2
- declare type DialogProps = {
3
- aria?: {
4
- [key: string]: string;
5
- };
6
- cancelButton?: string;
7
- children: React.ReactNode | React.ReactNode[] | string;
8
- className?: string;
9
- closeable: boolean;
10
- confirmButton?: string;
11
- data?: object;
12
- id?: string;
13
- fullHeight?: boolean;
14
- loading?: boolean;
15
- onCancel?: () => void;
16
- onChange?: () => void;
17
- onClose?: () => void;
18
- onConfirm?: () => void;
19
- opened: boolean;
20
- portalClassName?: string;
21
- placement?: "left" | "center" | "right";
22
- shouldCloseOnOverlayClick: boolean;
23
- size?: "sm" | "md" | "lg" | "xl" | "status_size" | "content";
24
- status?: "info" | "caution" | "delete" | "error" | "success";
25
- text?: string;
26
- title?: string;
27
- trigger?: string;
28
- };
29
- declare const Dialog: {
30
- (props: DialogProps): JSX.Element;
31
- Header: (props: {
32
- aria?: {
33
- [key: string]: string;
34
- };
35
- children: React.ReactNode | React.ReactNode[];
36
- className?: string;
37
- closeable?: boolean;
38
- data?: object;
39
- id?: string;
40
- padding?: string;
41
- separator?: boolean;
42
- spacing?: "none" | "between" | "around" | "evenly";
43
- text?: string;
44
- title?: string;
45
- } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
46
- Body: (props: {
47
- children: React.ReactNode | React.ReactNode[];
48
- padding?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
49
- className?: string;
50
- }) => JSX.Element;
51
- Footer: (props: {
52
- aria?: {
53
- [key: string]: string;
54
- };
55
- children: React.ReactChild | React.ReactChild[];
56
- className?: string;
57
- data?: {
58
- [key: string]: string;
59
- };
60
- id?: string;
61
- padding?: string;
62
- paddingBottom?: string;
63
- paddingX?: string;
64
- separator?: boolean;
65
- spacing?: "none" | "between" | "around" | "evenly";
66
- } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
67
- };
68
- export default Dialog;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const DialogContext: React.Context<any>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- declare type DialogBodyProps = {
3
- children: React.ReactNode | React.ReactNode[] | string;
4
- padding?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
5
- className?: string;
6
- };
7
- declare const DialogBody: (props: DialogBodyProps) => JSX.Element;
8
- export default DialogBody;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { GlobalProps } from '../../utilities/globalProps';
3
- declare type DialogFooterProps = {
4
- aria?: {
5
- [key: string]: string;
6
- };
7
- children: React.ReactChild[] | React.ReactChild | string;
8
- className?: string;
9
- data?: {
10
- [key: string]: string;
11
- };
12
- id?: string;
13
- padding?: string;
14
- paddingBottom?: string;
15
- paddingX?: string;
16
- separator?: boolean;
17
- spacing?: "none" | "between" | "around" | "evenly";
18
- } & GlobalProps;
19
- declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
20
- export default DialogFooter;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { GlobalProps } from '../../utilities/globalProps';
3
- declare type DialogHeaderProps = {
4
- aria?: {
5
- [key: string]: string;
6
- };
7
- children: React.ReactNode[] | React.ReactNode | string;
8
- className?: string;
9
- closeable?: boolean;
10
- data?: object;
11
- id?: string;
12
- padding?: string;
13
- separator?: boolean;
14
- spacing?: "none" | "between" | "around" | "evenly";
15
- text?: string;
16
- title?: string;
17
- } & GlobalProps;
18
- declare const DialogHeader: (props: DialogHeaderProps) => JSX.Element;
19
- export default DialogHeader;
@@ -1,10 +0,0 @@
1
- declare type DistributionBarProps = {
2
- className?: string;
3
- colors: [];
4
- data?: string;
5
- id?: string;
6
- size?: "lg" | "sm";
7
- widths?: number[];
8
- };
9
- declare const DistributionBar: (props: DistributionBarProps) => JSX.Element;
10
- export default DistributionBar;
@@ -1,17 +0,0 @@
1
- import PbEnhancedElement from "./index";
2
- export default class ElementObserver {
3
- matchDelegate: PbEnhancedElement;
4
- target: Document;
5
- _mutationObserver: MutationObserver;
6
- constructor(matchDelegate: PbEnhancedElement, target?: Document);
7
- get mutationObserver(): MutationObserver;
8
- start(): void;
9
- stop(): void;
10
- catchup(): void;
11
- processMutationList(mutationList: Array<MutationRecord>): void;
12
- processAttributeChange(node: Element): void | Array<Element>;
13
- processRemovedNodes(nodes: Array<Element>): void;
14
- processAddedNodes(nodes: Array<Element>): void;
15
- handleRemovals(elements: Array<Element>): void;
16
- handleAdditions(elements: Array<Element>): void;
17
- }
@@ -1,17 +0,0 @@
1
- import ElementObserver from './element_observer';
2
- export default class PbEnhancedElement {
3
- static _elements: Map<Element, PbEnhancedElement>;
4
- static _observer: ElementObserver;
5
- element: Element;
6
- constructor(element?: Element);
7
- static get elements(): Map<Element, PbEnhancedElement>;
8
- static get observer(): ElementObserver;
9
- static get selector(): string;
10
- static matches(node: Element): Array<Element>;
11
- static addMatch(element: Element): void;
12
- static removeMatch(element: Element): void;
13
- static start(): void;
14
- static stop(): void;
15
- connect(): void;
16
- disconnect(): void;
17
- }
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import type { Callback } from '../types';
3
- declare type FileUploadProps = {
4
- accept?: string[];
5
- className?: string;
6
- customMessage?: string;
7
- data?: {
8
- [key: string]: string | number;
9
- };
10
- acceptedFilesDescription?: string;
11
- maxSize?: number;
12
- onFilesAccepted: Callback<File, File>;
13
- onFilesRejected: (error: string, files: File[]) => void;
14
- };
15
- declare const FileUpload: (props: FileUploadProps) => React.ReactElement;
16
- export default FileUpload;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export declare type FilterDescription = {
3
- [key: string]: string | null | boolean;
4
- };
5
- export declare type CurrentFiltersProps = {
6
- dark: boolean;
7
- filters: FilterDescription;
8
- };
9
- declare const CurrentFilters: ({ dark, filters }: CurrentFiltersProps) => React.ReactElement;
10
- export default CurrentFilters;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { GlobalProps } from '../../utilities/globalProps';
3
- export declare type FilterBackgroundProps = {
4
- background: boolean;
5
- className: string;
6
- children?: React.ReactChild[] | React.ReactChild;
7
- dark: boolean;
8
- } & GlobalProps;
9
- declare const FilterBackground: (props: FilterBackgroundProps) => React.ReactElement;
10
- export default FilterBackground;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { FilterDescription } from './CurrentFilters';
3
- import { FilterBackgroundProps } from './FilterBackground';
4
- import { SortingChangeCallback, SortOptions, SortValue } from './SortMenu';
5
- export declare type FilterDoubleProps = {
6
- children?: React.ReactChild[] | React.ReactChild;
7
- filters?: FilterDescription;
8
- onSortChange?: SortingChangeCallback;
9
- results?: number;
10
- sortOptions?: SortOptions;
11
- sortValue?: SortValue[];
12
- } & FilterBackgroundProps;
13
- declare const FilterDouble: ({ onSortChange, sortOptions, sortValue, filters, results, children, dark, minWidth, placement, ...bgProps }: FilterDoubleProps) => React.ReactElement;
14
- export default FilterDouble;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { FilterDescription } from './CurrentFilters';
3
- import { FilterBackgroundProps } from './FilterBackground';
4
- import { SortingChangeCallback, SortOptions, SortValue } from './SortMenu';
5
- export declare type FilterSingleProps = {
6
- children?: React.ReactChild[] | React.ReactChild;
7
- filters?: FilterDescription;
8
- onSortChange?: SortingChangeCallback;
9
- results?: number;
10
- sortOptions?: SortOptions;
11
- sortValue?: SortValue[];
12
- } & FilterBackgroundProps;
13
- declare const FilterSingle: ({ onSortChange, sortOptions, sortValue, filters, results, children, dark, minWidth, placement, ...bgProps }: FilterSingleProps) => React.ReactElement;
14
- export default FilterSingle;
@@ -1,11 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- declare type FiltersPopoverProps = {
3
- children?: React.ReactChild[] | React.ReactChild | (({ closePopover }: {
4
- closePopover: () => void;
5
- }) => ReactNode);
6
- dark?: boolean;
7
- minWidth?: string;
8
- placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
9
- };
10
- declare const FiltersPopover: ({ children, dark, minWidth, placement }: FiltersPopoverProps) => React.ReactElement;
11
- export default FiltersPopover;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- declare type ResultsCountProps = {
3
- dark?: boolean;
4
- results?: number | null;
5
- title?: boolean;
6
- };
7
- declare const ResultsCount: ({ dark, results, title }: ResultsCountProps) => React.ReactElement;
8
- export default ResultsCount;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- export declare type Direction = 'asc' | 'desc';
3
- export declare type SortOptions = {
4
- [name: string]: string;
5
- };
6
- export declare type SortValue = {
7
- name: string;
8
- dir: Direction;
9
- };
10
- export declare type SortingChangeCallback = (value: SortValue[]) => void;
11
- export declare type SortMenuProps = {
12
- dark?: boolean;
13
- onChange: SortingChangeCallback;
14
- options: SortOptions;
15
- value?: SortValue[];
16
- };
17
- declare const SortMenu: ({ dark, options, value, onChange }: SortMenuProps) => React.ReactElement;
18
- export default SortMenu;
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from './Filter';
@@ -1,18 +0,0 @@
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;
@@ -1,24 +0,0 @@
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;
@@ -1,14 +0,0 @@
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;
@@ -1,12 +0,0 @@
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;
@@ -1,20 +0,0 @@
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;