playbook-ui 13.14.0 → 13.15.0-alpha.reactselectbump581876
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.
- package/CHANGELOG.md +46 -17
- package/dist/pb_avatar/_avatar.d.ts +1 -1
- package/dist/pb_avatar_action_button/_avatar_action_button.d.ts +5 -3
- package/dist/pb_background/_background.d.ts +2 -2
- package/dist/pb_badge/_badge.d.ts +2 -2
- package/dist/pb_bar_graph/_bar_graph.d.ts +3 -3
- package/dist/pb_body/_body.d.ts +1 -2
- package/dist/pb_bread_crumbs/_bread_crumb_item.d.ts +6 -3
- package/dist/pb_bread_crumbs/_bread_crumbs.d.ts +5 -3
- package/dist/pb_button/_button.d.ts +2 -2
- package/dist/pb_button_toolbar/_button_toolbar.d.ts +5 -3
- package/dist/pb_caption/_caption.d.ts +1 -1
- package/dist/pb_card/_card.d.ts +2 -2
- package/dist/pb_checkbox/_checkbox.d.ts +2 -2
- package/dist/pb_circle_chart/_circle_chart.d.ts +5 -3
- package/dist/pb_circle_icon_button/_circle_icon_button.d.ts +1 -1
- package/dist/pb_collapsible/_collapsible.d.ts +7 -5
- package/dist/pb_collapsible/_helper_functions.d.ts +2 -2
- package/dist/pb_collapsible/child_kits/CollapsibleContent.d.ts +1 -1
- package/dist/pb_contact/_contact.d.ts +6 -3
- package/dist/pb_currency/_currency.d.ts +3 -2
- package/dist/pb_dashboard/themeTypes.d.ts +4 -39
- package/dist/pb_dashboard_value/_dashboard_value.d.ts +1 -1
- package/dist/pb_date/_date.d.ts +3 -2
- package/dist/pb_date_picker/_date_picker.d.ts +1 -1
- package/dist/pb_date_range_inline/_date_range_inline.d.ts +3 -2
- package/dist/pb_date_range_stacked/_date_range_stacked.d.ts +3 -2
- package/dist/pb_date_stacked/_date_stacked.d.ts +3 -2
- package/dist/pb_date_time/_date_time.d.ts +3 -2
- package/dist/pb_date_time_stacked/_date_time_stacked.d.ts +1 -1
- package/dist/pb_date_year_stacked/_date_year_stacked.d.ts +3 -2
- package/dist/pb_detail/_detail.d.ts +2 -2
- package/dist/pb_dialog/_close_icon.d.ts +3 -2
- package/dist/pb_dialog/_dialog.d.ts +14 -10
- package/dist/pb_dialog/child_kits/_dialog_body.d.ts +1 -1
- package/dist/pb_dialog/child_kits/_dialog_footer.d.ts +2 -2
- package/dist/pb_dialog/child_kits/_dialog_header.d.ts +5 -3
- package/dist/pb_distribution_bar/_distribution_bar.d.ts +3 -2
- package/dist/pb_file_upload/_file_upload.d.ts +1 -1
- package/dist/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +1 -1
- package/dist/pb_flex/_flex.d.ts +1 -1
- package/dist/pb_flex/_flex_item.d.ts +1 -1
- package/dist/pb_form_group/_form_group.d.ts +1 -1
- package/dist/pb_form_pill/_form_pill.d.ts +1 -1
- package/dist/pb_gauge/_gauge.d.ts +1 -1
- package/dist/pb_hashtag/_hashtag.d.ts +1 -1
- package/dist/pb_highlight/_highlight.d.ts +1 -1
- package/dist/pb_home_address_street/_home_address_street.d.ts +1 -1
- package/dist/pb_icon/_icon.d.ts +1 -1
- package/dist/pb_icon_circle/_icon_circle.d.ts +1 -1
- package/dist/pb_icon_stat_value/_icon_stat_value.d.ts +1 -1
- package/dist/pb_icon_value/_icon_value.d.ts +1 -1
- package/dist/pb_image/_image.d.ts +1 -1
- package/dist/pb_label_pill/_label_pill.d.ts +1 -1
- package/dist/pb_label_value/_label_value.d.ts +1 -1
- package/dist/pb_layout/_layout.d.ts +1 -1
- package/dist/pb_legend/_legend.d.ts +1 -1
- package/dist/pb_lightbox/Header/_lightbox_header.d.ts +1 -1
- package/dist/pb_lightbox/_lightbox.d.ts +2 -2
- package/dist/pb_line_graph/_line_graph.d.ts +1 -1
- package/dist/pb_list/_list.d.ts +1 -1
- package/dist/pb_list/_list_item.d.ts +1 -1
- package/dist/pb_loading_inline/_loading_inline.d.ts +1 -1
- package/dist/pb_map/_map.d.ts +1 -1
- package/dist/pb_message/_message.d.ts +2 -2
- package/dist/pb_message/_message_mention.d.ts +1 -1
- package/dist/pb_multi_level_select/_multi_level_select.d.ts +1 -1
- package/dist/pb_multiple_users/_multiple_users.d.ts +1 -1
- package/dist/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +1 -1
- package/dist/pb_nav/_item.d.ts +1 -1
- package/dist/pb_nav/_nav.d.ts +1 -1
- package/dist/pb_online_status/_online_status.d.ts +1 -1
- package/dist/pb_passphrase/_passphrase.d.ts +1 -1
- package/dist/pb_person/_person.d.ts +1 -1
- package/dist/pb_person_contact/_person_contact.d.ts +1 -1
- package/dist/pb_phone_number_input/_phone_number_input.d.ts +1 -1
- package/dist/pb_pill/_pill.d.ts +1 -1
- package/dist/pb_popover/_popover.d.ts +1 -1
- package/dist/pb_progress_pills/_progress_pills.d.ts +1 -1
- package/dist/pb_progress_simple/_progress_simple.d.ts +1 -1
- package/dist/pb_progress_step/_progress_step.d.ts +1 -1
- package/dist/pb_progress_step/_progress_step_item.d.ts +1 -1
- package/dist/pb_radio/_radio.d.ts +104 -96
- package/dist/pb_rich_text_editor/_rich_text_editor.d.ts +1 -1
- package/dist/pb_section_separator/_section_separator.d.ts +1 -1
- package/dist/pb_select/_select.d.ts +104 -96
- package/dist/pb_selectable_card/_selectable_card.d.ts +1 -1
- package/dist/pb_selectable_card_icon/_selectable_card_icon.d.ts +1 -1
- package/dist/pb_selectable_icon/_selectable_icon.d.ts +1 -1
- package/dist/pb_selectable_list/_item.d.ts +1 -1
- package/dist/pb_selectable_list/_selectable_list.d.ts +1 -1
- package/dist/pb_source/_source.d.ts +1 -1
- package/dist/pb_star_rating/_star_rating.d.ts +1 -1
- package/dist/pb_stat_change/_stat_change.d.ts +1 -1
- package/dist/pb_stat_value/_stat_value.d.ts +1 -1
- package/dist/pb_table/_table.d.ts +1 -1
- package/dist/pb_table/_table_row.d.ts +1 -1
- package/dist/pb_text_input/_text_input.d.ts +104 -96
- package/dist/pb_textarea/_textarea.d.ts +108 -100
- package/dist/pb_time/_time.d.ts +1 -1
- package/dist/pb_time_range_inline/_time_range_inline.d.ts +1 -1
- package/dist/pb_time_stacked/_time_stacked.d.ts +1 -1
- package/dist/pb_timeline/_item.d.ts +1 -1
- package/dist/pb_timeline/_timeline.d.ts +4 -4
- package/dist/pb_timestamp/_timestamp.d.ts +1 -1
- package/dist/pb_title/_title.d.ts +1 -2
- package/dist/pb_title_count/_title_count.d.ts +1 -1
- package/dist/pb_title_detail/_title_detail.d.ts +1 -1
- package/dist/pb_toggle/_toggle.d.ts +1 -1
- package/dist/pb_tooltip/_tooltip.d.ts +104 -96
- package/dist/pb_treemap_chart/_treemap_chart.d.ts +1 -1
- package/dist/pb_typeahead/_typeahead.d.ts +1 -1
- package/dist/pb_user/_user.d.ts +1 -1
- package/dist/pb_user_badge/_user_badge.d.ts +1 -1
- package/dist/pb_walkthrough/_walkthrough.d.ts +1 -1
- package/dist/pb_weekday_stacked/_weekday_stacked.d.ts +1 -1
- package/dist/playbook-doc.js +8 -8
- package/dist/playbook-rails.js +14 -6
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +8 -8
- package/dist/utilities/globalProps.d.ts +5 -1
- package/dist/utilities/props.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type CloseIconProps = {
|
|
2
|
-
onClose: () =>
|
|
3
|
+
onClose: () => void;
|
|
3
4
|
};
|
|
4
|
-
export declare const CloseIcon: (props: CloseIconProps) =>
|
|
5
|
+
export declare const CloseIcon: (props: CloseIconProps) => React.ReactElement;
|
|
5
6
|
export {};
|
|
@@ -8,9 +8,11 @@ declare type DialogProps = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
closeable: boolean;
|
|
10
10
|
confirmButton?: string;
|
|
11
|
-
data?:
|
|
11
|
+
data?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
12
14
|
htmlOptions?: {
|
|
13
|
-
[key: string]: string | number | boolean |
|
|
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):
|
|
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?:
|
|
43
|
+
data?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
42
46
|
htmlOptions?: {
|
|
43
|
-
[key: string]: string | number | boolean |
|
|
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) =>
|
|
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?: "
|
|
58
|
+
padding?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
|
|
55
59
|
className?: string;
|
|
56
|
-
}) =>
|
|
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 |
|
|
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) =>
|
|
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) =>
|
|
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 |
|
|
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) =>
|
|
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?:
|
|
10
|
+
data?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
11
13
|
htmlOptions?: {
|
|
12
|
-
[key: string]: string | number | boolean |
|
|
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) =>
|
|
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 |
|
|
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) =>
|
|
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 |
|
|
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 |
|
|
10
|
+
[key: string]: string | number | boolean | (() => void);
|
|
11
11
|
};
|
|
12
12
|
id?: string;
|
|
13
13
|
multiLine?: boolean;
|
package/dist/pb_flex/_flex.d.ts
CHANGED
|
@@ -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 |
|
|
11
|
+
[key: string]: string | number | boolean | (() => void);
|
|
12
12
|
};
|
|
13
13
|
id?: string;
|
|
14
14
|
inline?: boolean;
|
|
@@ -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 |
|
|
6
|
+
[key: string]: string | number | boolean | (() => void);
|
|
7
7
|
};
|
|
8
8
|
id?: string;
|
|
9
9
|
text: string;
|
|
@@ -6,7 +6,7 @@ declare type HighlightProps = {
|
|
|
6
6
|
[key: string]: string;
|
|
7
7
|
};
|
|
8
8
|
htmlOptions?: {
|
|
9
|
-
[key: string]: string | number | boolean |
|
|
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 |
|
|
15
|
+
[key: string]: string | number | boolean | (() => void);
|
|
16
16
|
};
|
|
17
17
|
homeId: string;
|
|
18
18
|
houseStyle: string;
|
package/dist/pb_icon/_icon.d.ts
CHANGED
|
@@ -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 |
|
|
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 |
|
|
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 |
|
|
10
|
+
[key: string]: string | number | boolean | (() => void);
|
|
11
11
|
};
|
|
12
12
|
id?: string;
|
|
13
13
|
orientation?: "vertical" | "horizontal";
|
|
@@ -10,7 +10,7 @@ declare type LayoutPropTypes = {
|
|
|
10
10
|
data?: object;
|
|
11
11
|
full?: boolean;
|
|
12
12
|
htmlOptions?: {
|
|
13
|
-
[key: string]: string | number | boolean |
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
14
14
|
};
|
|
15
15
|
position?: "left" | "right";
|
|
16
16
|
responsive?: boolean;
|
|
@@ -11,7 +11,7 @@ declare type LightboxType = {
|
|
|
11
11
|
};
|
|
12
12
|
description?: string | any;
|
|
13
13
|
htmlOptions?: {
|
|
14
|
-
[key: string]: string | number | boolean |
|
|
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 |
|
|
40
|
+
[key: string]: string | number | boolean | (() => void);
|
|
41
41
|
};
|
|
42
42
|
icon?: string;
|
|
43
43
|
id?: string;
|
package/dist/pb_list/_list.d.ts
CHANGED
package/dist/pb_map/_map.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare type MessageProps = {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
data?: object;
|
|
12
12
|
htmlOptions?: {
|
|
13
|
-
[key: string]: string | number | boolean |
|
|
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 |
|
|
33
|
+
[key: string]: string | number | boolean | (() => void);
|
|
34
34
|
};
|
|
35
35
|
id?: string;
|
|
36
36
|
variant: "user" | "self";
|
package/dist/pb_nav/_item.d.ts
CHANGED
|
@@ -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 |
|
|
18
|
+
[key: string]: string | number | boolean | (() => void);
|
|
19
19
|
};
|
|
20
20
|
iconLeft?: string;
|
|
21
21
|
iconRight?: string | string[];
|
package/dist/pb_nav/_nav.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare type NavProps = {
|
|
|
12
12
|
dark?: boolean;
|
|
13
13
|
highlight?: boolean;
|
|
14
14
|
htmlOptions?: {
|
|
15
|
-
[key: string]: string | number | boolean |
|
|
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 |
|
|
11
|
+
[key: string]: string | number | boolean | (() => void);
|
|
12
12
|
};
|
|
13
13
|
id?: string;
|
|
14
14
|
status?: "online" | "offline" | "away";
|
|
@@ -19,7 +19,7 @@ declare type PhoneNumberInputProps = {
|
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
error?: string;
|
|
21
21
|
htmlOptions?: {
|
|
22
|
-
[key: string]: string | number | boolean |
|
|
22
|
+
[key: string]: string | number | boolean | (() => void);
|
|
23
23
|
};
|
|
24
24
|
id?: string;
|
|
25
25
|
initialCountry?: string;
|
package/dist/pb_pill/_pill.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare type ProgressStepProps = {
|
|
|
8
8
|
[key: string]: string;
|
|
9
9
|
};
|
|
10
10
|
htmlOptions?: {
|
|
11
|
-
[key: string]: string | number | boolean |
|
|
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 |
|
|
10
|
+
[key: string]: string | number | boolean | (() => void);
|
|
11
11
|
};
|
|
12
12
|
icon?: string;
|
|
13
13
|
};
|