playbook-ui 13.14.0 → 13.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/CHANGELOG.md +18 -17
  2. package/dist/pb_avatar/_avatar.d.ts +1 -1
  3. package/dist/pb_avatar_action_button/_avatar_action_button.d.ts +5 -3
  4. package/dist/pb_background/_background.d.ts +2 -2
  5. package/dist/pb_badge/_badge.d.ts +2 -2
  6. package/dist/pb_bar_graph/_bar_graph.d.ts +3 -3
  7. package/dist/pb_body/_body.d.ts +1 -2
  8. package/dist/pb_bread_crumbs/_bread_crumb_item.d.ts +6 -3
  9. package/dist/pb_bread_crumbs/_bread_crumbs.d.ts +5 -3
  10. package/dist/pb_button/_button.d.ts +2 -2
  11. package/dist/pb_button_toolbar/_button_toolbar.d.ts +5 -3
  12. package/dist/pb_caption/_caption.d.ts +1 -1
  13. package/dist/pb_card/_card.d.ts +2 -2
  14. package/dist/pb_checkbox/_checkbox.d.ts +2 -2
  15. package/dist/pb_circle_chart/_circle_chart.d.ts +5 -3
  16. package/dist/pb_circle_icon_button/_circle_icon_button.d.ts +1 -1
  17. package/dist/pb_collapsible/_collapsible.d.ts +7 -5
  18. package/dist/pb_collapsible/_helper_functions.d.ts +2 -2
  19. package/dist/pb_collapsible/child_kits/CollapsibleContent.d.ts +1 -1
  20. package/dist/pb_contact/_contact.d.ts +6 -3
  21. package/dist/pb_currency/_currency.d.ts +3 -2
  22. package/dist/pb_dashboard/themeTypes.d.ts +4 -39
  23. package/dist/pb_dashboard_value/_dashboard_value.d.ts +1 -1
  24. package/dist/pb_date/_date.d.ts +3 -2
  25. package/dist/pb_date_picker/_date_picker.d.ts +1 -1
  26. package/dist/pb_date_range_inline/_date_range_inline.d.ts +3 -2
  27. package/dist/pb_date_range_stacked/_date_range_stacked.d.ts +3 -2
  28. package/dist/pb_date_stacked/_date_stacked.d.ts +3 -2
  29. package/dist/pb_date_time/_date_time.d.ts +3 -2
  30. package/dist/pb_date_time_stacked/_date_time_stacked.d.ts +1 -1
  31. package/dist/pb_date_year_stacked/_date_year_stacked.d.ts +3 -2
  32. package/dist/pb_detail/_detail.d.ts +2 -2
  33. package/dist/pb_dialog/_close_icon.d.ts +3 -2
  34. package/dist/pb_dialog/_dialog.d.ts +14 -10
  35. package/dist/pb_dialog/child_kits/_dialog_body.d.ts +1 -1
  36. package/dist/pb_dialog/child_kits/_dialog_footer.d.ts +2 -2
  37. package/dist/pb_dialog/child_kits/_dialog_header.d.ts +5 -3
  38. package/dist/pb_distribution_bar/_distribution_bar.d.ts +3 -2
  39. package/dist/pb_file_upload/_file_upload.d.ts +1 -1
  40. package/dist/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +1 -1
  41. package/dist/pb_flex/_flex.d.ts +1 -1
  42. package/dist/pb_flex/_flex_item.d.ts +1 -1
  43. package/dist/pb_form_group/_form_group.d.ts +1 -1
  44. package/dist/pb_form_pill/_form_pill.d.ts +1 -1
  45. package/dist/pb_gauge/_gauge.d.ts +1 -1
  46. package/dist/pb_hashtag/_hashtag.d.ts +1 -1
  47. package/dist/pb_highlight/_highlight.d.ts +1 -1
  48. package/dist/pb_home_address_street/_home_address_street.d.ts +1 -1
  49. package/dist/pb_icon/_icon.d.ts +1 -1
  50. package/dist/pb_icon_circle/_icon_circle.d.ts +1 -1
  51. package/dist/pb_icon_stat_value/_icon_stat_value.d.ts +1 -1
  52. package/dist/pb_icon_value/_icon_value.d.ts +1 -1
  53. package/dist/pb_image/_image.d.ts +1 -1
  54. package/dist/pb_label_pill/_label_pill.d.ts +1 -1
  55. package/dist/pb_label_value/_label_value.d.ts +1 -1
  56. package/dist/pb_layout/_layout.d.ts +1 -1
  57. package/dist/pb_legend/_legend.d.ts +1 -1
  58. package/dist/pb_lightbox/Header/_lightbox_header.d.ts +1 -1
  59. package/dist/pb_lightbox/_lightbox.d.ts +2 -2
  60. package/dist/pb_line_graph/_line_graph.d.ts +1 -1
  61. package/dist/pb_list/_list.d.ts +1 -1
  62. package/dist/pb_list/_list_item.d.ts +1 -1
  63. package/dist/pb_loading_inline/_loading_inline.d.ts +1 -1
  64. package/dist/pb_map/_map.d.ts +1 -1
  65. package/dist/pb_message/_message.d.ts +2 -2
  66. package/dist/pb_message/_message_mention.d.ts +1 -1
  67. package/dist/pb_multi_level_select/_multi_level_select.d.ts +1 -1
  68. package/dist/pb_multiple_users/_multiple_users.d.ts +1 -1
  69. package/dist/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +1 -1
  70. package/dist/pb_nav/_item.d.ts +1 -1
  71. package/dist/pb_nav/_nav.d.ts +1 -1
  72. package/dist/pb_online_status/_online_status.d.ts +1 -1
  73. package/dist/pb_passphrase/_passphrase.d.ts +1 -1
  74. package/dist/pb_person/_person.d.ts +1 -1
  75. package/dist/pb_person_contact/_person_contact.d.ts +1 -1
  76. package/dist/pb_phone_number_input/_phone_number_input.d.ts +1 -1
  77. package/dist/pb_pill/_pill.d.ts +1 -1
  78. package/dist/pb_popover/_popover.d.ts +1 -1
  79. package/dist/pb_progress_pills/_progress_pills.d.ts +1 -1
  80. package/dist/pb_progress_simple/_progress_simple.d.ts +1 -1
  81. package/dist/pb_progress_step/_progress_step.d.ts +1 -1
  82. package/dist/pb_progress_step/_progress_step_item.d.ts +1 -1
  83. package/dist/pb_radio/_radio.d.ts +112 -104
  84. package/dist/pb_rich_text_editor/_rich_text_editor.d.ts +1 -1
  85. package/dist/pb_section_separator/_section_separator.d.ts +1 -1
  86. package/dist/pb_select/_select.d.ts +112 -104
  87. package/dist/pb_selectable_card/_selectable_card.d.ts +1 -1
  88. package/dist/pb_selectable_card_icon/_selectable_card_icon.d.ts +1 -1
  89. package/dist/pb_selectable_icon/_selectable_icon.d.ts +1 -1
  90. package/dist/pb_selectable_list/_item.d.ts +1 -1
  91. package/dist/pb_selectable_list/_selectable_list.d.ts +1 -1
  92. package/dist/pb_source/_source.d.ts +1 -1
  93. package/dist/pb_star_rating/_star_rating.d.ts +1 -1
  94. package/dist/pb_stat_change/_stat_change.d.ts +1 -1
  95. package/dist/pb_stat_value/_stat_value.d.ts +1 -1
  96. package/dist/pb_table/_table.d.ts +1 -1
  97. package/dist/pb_table/_table_row.d.ts +1 -1
  98. package/dist/pb_text_input/_text_input.d.ts +112 -104
  99. package/dist/pb_textarea/_textarea.d.ts +116 -108
  100. package/dist/pb_time/_time.d.ts +1 -1
  101. package/dist/pb_time_range_inline/_time_range_inline.d.ts +1 -1
  102. package/dist/pb_time_stacked/_time_stacked.d.ts +1 -1
  103. package/dist/pb_timeline/_item.d.ts +1 -1
  104. package/dist/pb_timeline/_timeline.d.ts +4 -4
  105. package/dist/pb_timestamp/_timestamp.d.ts +1 -1
  106. package/dist/pb_title/_title.d.ts +1 -2
  107. package/dist/pb_title_count/_title_count.d.ts +1 -1
  108. package/dist/pb_title_detail/_title_detail.d.ts +1 -1
  109. package/dist/pb_toggle/_toggle.d.ts +1 -1
  110. package/dist/pb_tooltip/_tooltip.d.ts +112 -104
  111. package/dist/pb_treemap_chart/_treemap_chart.d.ts +1 -1
  112. package/dist/pb_typeahead/_typeahead.d.ts +1 -1
  113. package/dist/pb_user/_user.d.ts +1 -1
  114. package/dist/pb_user_badge/_user_badge.d.ts +1 -1
  115. package/dist/pb_walkthrough/_walkthrough.d.ts +1 -1
  116. package/dist/pb_weekday_stacked/_weekday_stacked.d.ts +1 -1
  117. package/dist/playbook-doc.js +7 -7
  118. package/dist/playbook-rails.js +4 -4
  119. package/dist/playbook.css +1 -1
  120. package/dist/playbook.js +6 -6
  121. package/dist/utilities/globalProps.d.ts +5 -1
  122. package/dist/utilities/props.d.ts +2 -2
  123. package/package.json +1 -1
@@ -8,9 +8,11 @@ declare type DialogProps = {
8
8
  className?: string;
9
9
  closeable: boolean;
10
10
  confirmButton?: string;
11
- data?: object;
11
+ data?: {
12
+ [key: string]: string;
13
+ };
12
14
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
15
+ [key: string]: string | number | boolean | (() => void);
14
16
  };
15
17
  id?: string;
16
18
  fullHeight?: boolean;
@@ -30,7 +32,7 @@ declare type DialogProps = {
30
32
  trigger?: string;
31
33
  };
32
34
  declare const Dialog: {
33
- (props: DialogProps): JSX.Element;
35
+ (props: DialogProps): React.ReactElement;
34
36
  Header: (props: {
35
37
  aria?: {
36
38
  [key: string]: string;
@@ -38,9 +40,11 @@ declare const Dialog: {
38
40
  children: React.ReactNode | React.ReactNode[];
39
41
  className?: string;
40
42
  closeable?: boolean;
41
- data?: object;
43
+ data?: {
44
+ [key: string]: string;
45
+ };
42
46
  htmlOptions?: {
43
- [key: string]: string | number | boolean | Function;
47
+ [key: string]: string | number | boolean | (() => void);
44
48
  };
45
49
  id?: string;
46
50
  padding?: string;
@@ -48,12 +52,12 @@ declare const Dialog: {
48
52
  spacing?: "none" | "between" | "around" | "evenly";
49
53
  text?: string;
50
54
  title?: string;
51
- } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
55
+ } & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
52
56
  Body: (props: {
53
57
  children: React.ReactNode | React.ReactNode[];
54
- padding?: "xs" | "sm" | "md" | "lg" | "xl" | "xxs";
58
+ padding?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
55
59
  className?: string;
56
- }) => JSX.Element;
60
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
57
61
  Footer: (props: {
58
62
  aria?: {
59
63
  [key: string]: string;
@@ -64,7 +68,7 @@ declare const Dialog: {
64
68
  [key: string]: string;
65
69
  };
66
70
  htmlOptions?: {
67
- [key: string]: string | number | boolean | Function;
71
+ [key: string]: string | number | boolean | (() => void);
68
72
  };
69
73
  id?: string;
70
74
  padding?: string;
@@ -72,6 +76,6 @@ declare const Dialog: {
72
76
  paddingX?: string;
73
77
  separator?: boolean;
74
78
  spacing?: "none" | "between" | "around" | "evenly";
75
- } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
79
+ } & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
76
80
  };
77
81
  export default Dialog;
@@ -4,5 +4,5 @@ declare type DialogBodyProps = {
4
4
  padding?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
5
5
  className?: string;
6
6
  };
7
- declare const DialogBody: (props: DialogBodyProps) => JSX.Element;
7
+ declare const DialogBody: (props: DialogBodyProps) => React.ReactElement;
8
8
  export default DialogBody;
@@ -10,7 +10,7 @@ declare type DialogFooterProps = {
10
10
  [key: string]: string;
11
11
  };
12
12
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
13
+ [key: string]: string | number | boolean | (() => void);
14
14
  };
15
15
  id?: string;
16
16
  padding?: string;
@@ -19,5 +19,5 @@ declare type DialogFooterProps = {
19
19
  separator?: boolean;
20
20
  spacing?: "none" | "between" | "around" | "evenly";
21
21
  } & GlobalProps;
22
- declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
22
+ declare const DialogFooter: (props: DialogFooterProps) => React.ReactElement;
23
23
  export default DialogFooter;
@@ -7,9 +7,11 @@ declare type DialogHeaderProps = {
7
7
  children: React.ReactNode[] | React.ReactNode | string;
8
8
  className?: string;
9
9
  closeable?: boolean;
10
- data?: object;
10
+ data?: {
11
+ [key: string]: string;
12
+ };
11
13
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
14
+ [key: string]: string | number | boolean | (() => void);
13
15
  };
14
16
  id?: string;
15
17
  padding?: string;
@@ -18,5 +20,5 @@ declare type DialogHeaderProps = {
18
20
  text?: string;
19
21
  title?: string;
20
22
  } & GlobalProps;
21
- declare const DialogHeader: (props: DialogHeaderProps) => JSX.Element;
23
+ declare const DialogHeader: (props: DialogHeaderProps) => React.ReactElement;
22
24
  export default DialogHeader;
@@ -1,13 +1,14 @@
1
+ import React from 'react';
1
2
  declare type DistributionBarProps = {
2
3
  className?: string;
3
4
  colors: [];
4
5
  data?: string;
5
6
  htmlOptions?: {
6
- [key: string]: string | number | boolean | Function;
7
+ [key: string]: string | number | boolean | (() => void);
7
8
  };
8
9
  id?: string;
9
10
  size?: "lg" | "sm";
10
11
  widths?: number[];
11
12
  };
12
- declare const DistributionBar: (props: DistributionBarProps) => JSX.Element;
13
+ declare const DistributionBar: (props: DistributionBarProps) => React.ReactElement;
13
14
  export default DistributionBar;
@@ -8,7 +8,7 @@ declare type FileUploadProps = {
8
8
  [key: string]: string | number;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  acceptedFilesDescription?: string;
14
14
  maxSize?: number;
@@ -7,7 +7,7 @@ declare type FixedConfirmationToastProps = {
7
7
  data?: string;
8
8
  horizontal?: "right" | "left" | "center";
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  multiLine?: boolean;
@@ -8,7 +8,7 @@ declare type FlexProps = {
8
8
  horizontal?: "left" | "center" | "right" | "stretch" | "none";
9
9
  justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none";
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  inline?: boolean;
@@ -5,7 +5,7 @@ declare type FlexItemPropTypes = {
5
5
  fixedSize?: string;
6
6
  grow?: boolean;
7
7
  htmlOptions?: {
8
- [key: string]: string | number | boolean | Function;
8
+ [key: string]: string | number | boolean | (() => void);
9
9
  };
10
10
  shrink?: boolean;
11
11
  className?: string;
@@ -7,7 +7,7 @@ declare type FormGroupProps = {
7
7
  data?: object;
8
8
  fullWidth?: boolean;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  };
@@ -3,7 +3,7 @@ import { GlobalProps } from '../utilities/globalProps';
3
3
  declare type FormPillProps = {
4
4
  className?: string;
5
5
  htmlOptions?: {
6
- [key: string]: string | number | boolean | Function;
6
+ [key: string]: string | number | boolean | (() => void);
7
7
  };
8
8
  id?: string;
9
9
  text: string;
@@ -15,7 +15,7 @@ declare type GaugeProps = {
15
15
  fullCircle?: boolean;
16
16
  height?: string;
17
17
  htmlOptions?: {
18
- [key: string]: string | number | boolean | Function;
18
+ [key: string]: string | number | boolean | (() => void);
19
19
  };
20
20
  id?: string;
21
21
  max?: number;
@@ -7,7 +7,7 @@ declare type HashtagProps = {
7
7
  dark?: boolean;
8
8
  data?: string;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  newWindow?: boolean;
@@ -6,7 +6,7 @@ declare type HighlightProps = {
6
6
  [key: string]: string;
7
7
  };
8
8
  htmlOptions?: {
9
- [key: string]: string | number | boolean | Function;
9
+ [key: string]: string | number | boolean | (() => void);
10
10
  };
11
11
  id?: string;
12
12
  children?: React.ReactChild[] | React.ReactChild | string;
@@ -12,7 +12,7 @@ declare type HomeAddressStreetProps = {
12
12
  dark?: boolean;
13
13
  emphasis: "street" | "city";
14
14
  htmlOptions?: {
15
- [key: string]: string | number | boolean | Function;
15
+ [key: string]: string | number | boolean | (() => void);
16
16
  };
17
17
  homeId: string;
18
18
  houseStyle: string;
@@ -16,7 +16,7 @@ declare type IconProps = {
16
16
  flip?: "horizontal" | "vertical" | "both" | "none";
17
17
  icon: string;
18
18
  htmlOptions?: {
19
- [key: string]: string | number | boolean | Function;
19
+ [key: string]: string | number | boolean | (() => void);
20
20
  };
21
21
  id?: string;
22
22
  inverse?: boolean;
@@ -9,7 +9,7 @@ declare type IconCircleProps = {
9
9
  };
10
10
  icon: string;
11
11
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
12
+ [key: string]: string | number | boolean | (() => void);
13
13
  };
14
14
  id?: string;
15
15
  size?: "base" | "xs" | "sm" | "md" | "lg" | "xl";
@@ -7,7 +7,7 @@ declare type IconStatValueProps = {
7
7
  dark?: boolean;
8
8
  icon: string;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  orientation?: "vertical" | "horizontal";
@@ -8,7 +8,7 @@ declare type IconValueProps = {
8
8
  data?: object;
9
9
  icon: string;
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  text: string;
@@ -10,7 +10,7 @@ declare type ImageType = {
10
10
  [key: string]: string;
11
11
  };
12
12
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
13
+ [key: string]: string | number | boolean | (() => void);
14
14
  };
15
15
  id?: string;
16
16
  onError?: () => void;
@@ -7,7 +7,7 @@ declare type LabelPillProps = {
7
7
  [key: string]: string;
8
8
  };
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  label?: string;
@@ -8,7 +8,7 @@ declare type LabelValueProps = {
8
8
  data?: object;
9
9
  date?: Date;
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  label: string;
@@ -10,7 +10,7 @@ declare type LayoutPropTypes = {
10
10
  data?: object;
11
11
  full?: boolean;
12
12
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
13
+ [key: string]: string | number | boolean | (() => void);
14
14
  };
15
15
  position?: "left" | "right";
16
16
  responsive?: boolean;
@@ -7,7 +7,7 @@ declare type LegendProps = {
7
7
  dark?: boolean;
8
8
  data?: object;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  prefixText?: string;
@@ -11,7 +11,7 @@ declare type LightboxHeaderProps = {
11
11
  [key: string]: string | number;
12
12
  };
13
13
  htmlOptions?: {
14
- [key: string]: string | number | boolean | Function;
14
+ [key: string]: string | number | boolean | (() => void);
15
15
  };
16
16
  icon?: string;
17
17
  id?: string;
@@ -11,7 +11,7 @@ declare type LightboxType = {
11
11
  };
12
12
  description?: string | any;
13
13
  htmlOptions?: {
14
- [key: string]: string | number | boolean | Function;
14
+ [key: string]: string | number | boolean | (() => void);
15
15
  };
16
16
  id?: string;
17
17
  photos: [];
@@ -37,7 +37,7 @@ declare const Lightbox: {
37
37
  [key: string]: string | number;
38
38
  };
39
39
  htmlOptions?: {
40
- [key: string]: string | number | boolean | Function;
40
+ [key: string]: string | number | boolean | (() => void);
41
41
  };
42
42
  icon?: string;
43
43
  id?: string;
@@ -12,7 +12,7 @@ declare type LineGraphProps = {
12
12
  }[];
13
13
  gradient?: boolean;
14
14
  htmlOptions?: {
15
- [key: string]: string | number | boolean | Function;
15
+ [key: string]: string | number | boolean | (() => void);
16
16
  };
17
17
  id: string;
18
18
  pointStart: number;
@@ -9,7 +9,7 @@ declare type ListProps = {
9
9
  dark?: boolean;
10
10
  data?: object;
11
11
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
12
+ [key: string]: string | number | boolean | (() => void);
13
13
  };
14
14
  id?: string;
15
15
  layout?: "" | "left" | "right";
@@ -7,7 +7,7 @@ declare type ListItemProps = {
7
7
  className?: string;
8
8
  data?: object;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  tabIndex?: number;
@@ -8,7 +8,7 @@ declare type LoadingInlineProps = {
8
8
  [key: string]: string;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  };
@@ -10,7 +10,7 @@ declare type MapProps = {
10
10
  [key: string]: string;
11
11
  };
12
12
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
13
+ [key: string]: string | number | boolean | (() => void);
14
14
  };
15
15
  id?: string;
16
16
  zoomBtns?: boolean;
@@ -10,7 +10,7 @@ declare type MessageProps = {
10
10
  className?: string;
11
11
  data?: object;
12
12
  htmlOptions?: {
13
- [key: string]: string | number | boolean | Function;
13
+ [key: string]: string | number | boolean | (() => void);
14
14
  };
15
15
  id?: string;
16
16
  label?: string;
@@ -30,7 +30,7 @@ declare const Message: {
30
30
  className?: string;
31
31
  data?: object;
32
32
  htmlOptions?: {
33
- [key: string]: string | number | boolean | Function;
33
+ [key: string]: string | number | boolean | (() => void);
34
34
  };
35
35
  id?: string;
36
36
  variant: "user" | "self";
@@ -7,7 +7,7 @@ declare type MessageMentionProps = {
7
7
  className?: string;
8
8
  data?: object;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  variant: 'user' | 'self';
@@ -8,7 +8,7 @@ declare type MultiLevelSelectProps = {
8
8
  [key: string]: string;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  inputDisplay?: "pills" | "none";
@@ -9,7 +9,7 @@ declare type MultipleUsersProps = {
9
9
  [key: string]: string;
10
10
  };
11
11
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
12
+ [key: string]: string | number | boolean | (() => void);
13
13
  };
14
14
  id?: string;
15
15
  maxDisplayedUsers?: number;
@@ -8,7 +8,7 @@ declare type MultipleUsersStackedProps = {
8
8
  [key: string]: string;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  users: Array<{
@@ -15,7 +15,7 @@ declare type NavItemProps = {
15
15
  dark?: boolean;
16
16
  fontSize?: "normal" | "small";
17
17
  htmlOptions?: {
18
- [key: string]: string | number | boolean | Function;
18
+ [key: string]: string | number | boolean | (() => void);
19
19
  };
20
20
  iconLeft?: string;
21
21
  iconRight?: string | string[];
@@ -12,7 +12,7 @@ declare type NavProps = {
12
12
  dark?: boolean;
13
13
  highlight?: boolean;
14
14
  htmlOptions?: {
15
- [key: string]: string | number | boolean | Function;
15
+ [key: string]: string | number | boolean | (() => void);
16
16
  };
17
17
  id?: string;
18
18
  onClick?: React.MouseEventHandler<HTMLElement>;
@@ -8,7 +8,7 @@ declare type OnlineStatusProps = {
8
8
  [key: string]: string | number;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  status?: "online" | "offline" | "away";
@@ -7,7 +7,7 @@ declare type PassphraseProps = {
7
7
  data?: object;
8
8
  dark?: boolean;
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  id?: string;
13
13
  inputProps?: {};
@@ -9,7 +9,7 @@ declare type PersonProps = {
9
9
  };
10
10
  firstName: string;
11
11
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
12
+ [key: string]: string | number | boolean | (() => void);
13
13
  };
14
14
  id?: string;
15
15
  lastName: string;
@@ -11,7 +11,7 @@ declare type PersonContactProps = {
11
11
  data?: object;
12
12
  firstName: string;
13
13
  htmlOptions?: {
14
- [key: string]: string | number | boolean | Function;
14
+ [key: string]: string | number | boolean | (() => void);
15
15
  };
16
16
  id?: string;
17
17
  lastName: string;
@@ -19,7 +19,7 @@ declare type PhoneNumberInputProps = {
19
19
  disabled?: boolean;
20
20
  error?: string;
21
21
  htmlOptions?: {
22
- [key: string]: string | number | boolean | Function;
22
+ [key: string]: string | number | boolean | (() => void);
23
23
  };
24
24
  id?: string;
25
25
  initialCountry?: string;
@@ -8,7 +8,7 @@ declare type PillProps = {
8
8
  [key: string]: string;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  text: string;
@@ -11,7 +11,7 @@ declare type PbPopoverProps = {
11
11
  [key: string]: string;
12
12
  };
13
13
  htmlOptions?: {
14
- [key: string]: string | number | boolean | Function;
14
+ [key: string]: string | number | boolean | (() => void);
15
15
  };
16
16
  id?: string;
17
17
  offset?: boolean;
@@ -9,7 +9,7 @@ declare type ProgressPillsProps = {
9
9
  };
10
10
  dark?: boolean;
11
11
  htmlOptions?: {
12
- [key: string]: string | number | boolean | Function;
12
+ [key: string]: string | number | boolean | (() => void);
13
13
  };
14
14
  id?: string;
15
15
  steps?: number;
@@ -4,7 +4,7 @@ declare type ProgressSimpleProps = {
4
4
  dark?: boolean;
5
5
  data?: string;
6
6
  htmlOptions?: {
7
- [key: string]: string | number | boolean | Function;
7
+ [key: string]: string | number | boolean | (() => void);
8
8
  };
9
9
  id?: string;
10
10
  max?: number;
@@ -8,7 +8,7 @@ declare type ProgressStepProps = {
8
8
  [key: string]: string;
9
9
  };
10
10
  htmlOptions?: {
11
- [key: string]: string | number | boolean | Function;
11
+ [key: string]: string | number | boolean | (() => void);
12
12
  };
13
13
  id?: string;
14
14
  children?: React.ReactChild[] | React.ReactChild;
@@ -7,7 +7,7 @@ declare type ProgressStepItemProps = {
7
7
  status?: "complete" | "active" | "inactive" | "hidden";
8
8
  children?: React.ReactNode | React.ReactNode[];
9
9
  htmlOptions?: {
10
- [key: string]: string | number | boolean | Function;
10
+ [key: string]: string | number | boolean | (() => void);
11
11
  };
12
12
  icon?: string;
13
13
  };