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
|
@@ -13,7 +13,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
error?: string;
|
|
15
15
|
htmlOptions?: {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
16
|
+
[key: string]: string | number | boolean | (() => void);
|
|
17
17
|
};
|
|
18
18
|
id?: string;
|
|
19
19
|
inline?: boolean;
|
|
@@ -26,7 +26,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
26
26
|
name?: string;
|
|
27
27
|
required?: boolean;
|
|
28
28
|
rows?: number;
|
|
29
|
-
resize: "
|
|
29
|
+
resize: "none" | "auto" | "horizontal" | "vertical" | "both";
|
|
30
30
|
onChange?: InputCallback<HTMLTextAreaElement>;
|
|
31
31
|
} & {
|
|
32
32
|
alignContent?: never;
|
|
@@ -35,15 +35,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
35
35
|
} & {
|
|
36
36
|
alignSelf?: never;
|
|
37
37
|
} & {
|
|
38
|
-
borderRadius?: "
|
|
38
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
39
39
|
} & {
|
|
40
|
-
cursor?: "
|
|
40
|
+
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";
|
|
41
41
|
} & {
|
|
42
42
|
dark?: boolean;
|
|
43
43
|
} & {
|
|
44
44
|
display?: import("../types").DisplayType;
|
|
45
45
|
} & import("../types").DisplaySizes & {
|
|
46
|
-
flex?: "none" | "auto" | "initial" | "
|
|
46
|
+
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
47
47
|
} & {
|
|
48
48
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
49
49
|
} & {
|
|
@@ -59,13 +59,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
59
59
|
} & {
|
|
60
60
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
61
61
|
} & {
|
|
62
|
-
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
63
|
-
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
64
|
-
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
65
|
-
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
66
|
-
marginX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
67
|
-
marginY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
68
|
-
margin?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
62
|
+
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
63
|
+
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
64
|
+
marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
65
|
+
marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
66
|
+
marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
67
|
+
marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
68
|
+
margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
69
69
|
break?: string;
|
|
70
70
|
default?: string;
|
|
71
71
|
} & {
|
|
@@ -73,27 +73,29 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
73
73
|
} & {
|
|
74
74
|
numberSpacing?: "tabular";
|
|
75
75
|
} & {
|
|
76
|
-
order?: 1 | 2 | 3 |
|
|
76
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
77
77
|
} & {
|
|
78
|
-
overflowX?: "auto" | "scroll" | "
|
|
79
|
-
overflowY?: "auto" | "scroll" | "
|
|
80
|
-
overflow?: "auto" | "scroll" | "
|
|
78
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
79
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
80
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
81
81
|
} & {
|
|
82
|
-
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
83
|
-
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
84
|
-
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
85
|
-
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
86
|
-
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
87
|
-
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
88
|
-
padding?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
82
|
+
paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
83
|
+
paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
84
|
+
paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
85
|
+
paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
86
|
+
paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
87
|
+
paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
88
|
+
padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
89
89
|
break?: string;
|
|
90
90
|
default?: string;
|
|
91
91
|
} & {
|
|
92
|
-
position?: "
|
|
92
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
|
93
93
|
} & {
|
|
94
94
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
95
95
|
} & {
|
|
96
|
-
textAlign?: "center" | "
|
|
96
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
97
|
+
} & {
|
|
98
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
97
99
|
} & {
|
|
98
100
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
99
101
|
} & {
|
|
@@ -111,7 +113,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
111
113
|
disabled?: boolean;
|
|
112
114
|
error?: string;
|
|
113
115
|
htmlOptions?: {
|
|
114
|
-
[key: string]: string | number | boolean |
|
|
116
|
+
[key: string]: string | number | boolean | (() => void);
|
|
115
117
|
};
|
|
116
118
|
id?: string;
|
|
117
119
|
inline?: boolean;
|
|
@@ -124,7 +126,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
124
126
|
name?: string;
|
|
125
127
|
required?: boolean;
|
|
126
128
|
rows?: number;
|
|
127
|
-
resize: "
|
|
129
|
+
resize: "none" | "auto" | "horizontal" | "vertical" | "both";
|
|
128
130
|
onChange?: InputCallback<HTMLTextAreaElement>;
|
|
129
131
|
} & {
|
|
130
132
|
alignContent?: never;
|
|
@@ -133,15 +135,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
133
135
|
} & {
|
|
134
136
|
alignSelf?: never;
|
|
135
137
|
} & {
|
|
136
|
-
borderRadius?: "
|
|
138
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
137
139
|
} & {
|
|
138
|
-
cursor?: "
|
|
140
|
+
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";
|
|
139
141
|
} & {
|
|
140
142
|
dark?: boolean;
|
|
141
143
|
} & {
|
|
142
144
|
display?: import("../types").DisplayType;
|
|
143
145
|
} & import("../types").DisplaySizes & {
|
|
144
|
-
flex?: "none" | "auto" | "initial" | "
|
|
146
|
+
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
145
147
|
} & {
|
|
146
148
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
147
149
|
} & {
|
|
@@ -157,13 +159,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
157
159
|
} & {
|
|
158
160
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
159
161
|
} & {
|
|
160
|
-
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
161
|
-
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
162
|
-
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
163
|
-
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
164
|
-
marginX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
165
|
-
marginY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
166
|
-
margin?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
162
|
+
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
163
|
+
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
164
|
+
marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
165
|
+
marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
166
|
+
marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
167
|
+
marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
168
|
+
margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
167
169
|
break?: string;
|
|
168
170
|
default?: string;
|
|
169
171
|
} & {
|
|
@@ -171,27 +173,29 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
171
173
|
} & {
|
|
172
174
|
numberSpacing?: "tabular";
|
|
173
175
|
} & {
|
|
174
|
-
order?: 1 | 2 | 3 |
|
|
176
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
175
177
|
} & {
|
|
176
|
-
overflowX?: "auto" | "scroll" | "
|
|
177
|
-
overflowY?: "auto" | "scroll" | "
|
|
178
|
-
overflow?: "auto" | "scroll" | "
|
|
178
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
179
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
180
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
179
181
|
} & {
|
|
180
|
-
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
181
|
-
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
182
|
-
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
183
|
-
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
184
|
-
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
185
|
-
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
186
|
-
padding?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
182
|
+
paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
183
|
+
paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
184
|
+
paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
185
|
+
paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
186
|
+
paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
187
|
+
paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
188
|
+
padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
187
189
|
break?: string;
|
|
188
190
|
default?: string;
|
|
189
191
|
} & {
|
|
190
|
-
position?: "
|
|
192
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
|
191
193
|
} & {
|
|
192
194
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
193
195
|
} & {
|
|
194
|
-
textAlign?: "center" | "
|
|
196
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
197
|
+
} & {
|
|
198
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
195
199
|
} & {
|
|
196
200
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
197
201
|
} & {
|
|
@@ -209,7 +213,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
209
213
|
disabled?: boolean;
|
|
210
214
|
error?: string;
|
|
211
215
|
htmlOptions?: {
|
|
212
|
-
[key: string]: string | number | boolean |
|
|
216
|
+
[key: string]: string | number | boolean | (() => void);
|
|
213
217
|
};
|
|
214
218
|
id?: string;
|
|
215
219
|
inline?: boolean;
|
|
@@ -222,7 +226,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
222
226
|
name?: string;
|
|
223
227
|
required?: boolean;
|
|
224
228
|
rows?: number;
|
|
225
|
-
resize: "
|
|
229
|
+
resize: "none" | "auto" | "horizontal" | "vertical" | "both";
|
|
226
230
|
onChange?: InputCallback<HTMLTextAreaElement>;
|
|
227
231
|
} & {
|
|
228
232
|
alignContent?: never;
|
|
@@ -231,13 +235,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
231
235
|
} & {
|
|
232
236
|
alignSelf?: never;
|
|
233
237
|
} & {
|
|
234
|
-
borderRadius?: "
|
|
238
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
235
239
|
} & {
|
|
236
|
-
cursor?: "
|
|
240
|
+
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";
|
|
237
241
|
} & {
|
|
238
242
|
dark?: boolean;
|
|
239
243
|
} & import("../types").DisplaySizes & {
|
|
240
|
-
flex?: "none" | "auto" | "initial" | "
|
|
244
|
+
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
241
245
|
} & {
|
|
242
246
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
243
247
|
} & {
|
|
@@ -253,13 +257,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
253
257
|
} & {
|
|
254
258
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
255
259
|
} & {
|
|
256
|
-
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
257
|
-
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
258
|
-
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
259
|
-
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
260
|
-
marginX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
261
|
-
marginY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
262
|
-
margin?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
260
|
+
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
261
|
+
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
262
|
+
marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
263
|
+
marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
264
|
+
marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
265
|
+
marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
266
|
+
margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
263
267
|
break?: string;
|
|
264
268
|
default?: string;
|
|
265
269
|
} & {
|
|
@@ -267,27 +271,29 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
267
271
|
} & {
|
|
268
272
|
numberSpacing?: "tabular";
|
|
269
273
|
} & {
|
|
270
|
-
order?: 1 | 2 | 3 |
|
|
274
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
271
275
|
} & {
|
|
272
|
-
overflowX?: "auto" | "scroll" | "
|
|
273
|
-
overflowY?: "auto" | "scroll" | "
|
|
274
|
-
overflow?: "auto" | "scroll" | "
|
|
276
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
277
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
278
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
275
279
|
} & {
|
|
276
|
-
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
277
|
-
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
278
|
-
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
279
|
-
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
280
|
-
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
281
|
-
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
282
|
-
padding?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
280
|
+
paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
281
|
+
paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
282
|
+
paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
283
|
+
paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
284
|
+
paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
285
|
+
paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
286
|
+
padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
283
287
|
break?: string;
|
|
284
288
|
default?: string;
|
|
285
289
|
} & {
|
|
286
|
-
position?: "
|
|
290
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
|
287
291
|
} & {
|
|
288
292
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
289
293
|
} & {
|
|
290
|
-
textAlign?: "center" | "
|
|
294
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
295
|
+
} & {
|
|
296
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
291
297
|
} & {
|
|
292
298
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
293
299
|
} & {
|
|
@@ -305,7 +311,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
305
311
|
disabled?: boolean;
|
|
306
312
|
error?: string;
|
|
307
313
|
htmlOptions?: {
|
|
308
|
-
[key: string]: string | number | boolean |
|
|
314
|
+
[key: string]: string | number | boolean | (() => void);
|
|
309
315
|
};
|
|
310
316
|
id?: string;
|
|
311
317
|
inline?: boolean;
|
|
@@ -318,7 +324,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
318
324
|
name?: string;
|
|
319
325
|
required?: boolean;
|
|
320
326
|
rows?: number;
|
|
321
|
-
resize: "
|
|
327
|
+
resize: "none" | "auto" | "horizontal" | "vertical" | "both";
|
|
322
328
|
onChange?: InputCallback<HTMLTextAreaElement>;
|
|
323
329
|
} & {
|
|
324
330
|
alignContent?: never;
|
|
@@ -327,13 +333,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
327
333
|
} & {
|
|
328
334
|
alignSelf?: never;
|
|
329
335
|
} & {
|
|
330
|
-
borderRadius?: "
|
|
336
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
331
337
|
} & {
|
|
332
|
-
cursor?: "
|
|
338
|
+
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";
|
|
333
339
|
} & {
|
|
334
340
|
dark?: boolean;
|
|
335
341
|
} & import("../types").DisplaySizes & {
|
|
336
|
-
flex?: "none" | "auto" | "initial" | "
|
|
342
|
+
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
337
343
|
} & {
|
|
338
344
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
339
345
|
} & {
|
|
@@ -349,13 +355,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
349
355
|
} & {
|
|
350
356
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
351
357
|
} & {
|
|
352
|
-
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
353
|
-
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
354
|
-
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
355
|
-
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
356
|
-
marginX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
357
|
-
marginY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
358
|
-
margin?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
358
|
+
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
359
|
+
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
360
|
+
marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
361
|
+
marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
362
|
+
marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
363
|
+
marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
364
|
+
margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
359
365
|
break?: string;
|
|
360
366
|
default?: string;
|
|
361
367
|
} & {
|
|
@@ -363,27 +369,29 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
363
369
|
} & {
|
|
364
370
|
numberSpacing?: "tabular";
|
|
365
371
|
} & {
|
|
366
|
-
order?: 1 | 2 | 3 |
|
|
372
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
367
373
|
} & {
|
|
368
|
-
overflowX?: "auto" | "scroll" | "
|
|
369
|
-
overflowY?: "auto" | "scroll" | "
|
|
370
|
-
overflow?: "auto" | "scroll" | "
|
|
374
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
375
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
376
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
371
377
|
} & {
|
|
372
|
-
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
373
|
-
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
374
|
-
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
375
|
-
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
376
|
-
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
377
|
-
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
378
|
-
padding?: "none" | "auto" | "initial" | import("../types").Sizes
|
|
378
|
+
paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
379
|
+
paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
380
|
+
paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
381
|
+
paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
382
|
+
paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
383
|
+
paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
384
|
+
padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
379
385
|
break?: string;
|
|
380
386
|
default?: string;
|
|
381
387
|
} & {
|
|
382
|
-
position?: "
|
|
388
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
|
383
389
|
} & {
|
|
384
390
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
385
391
|
} & {
|
|
386
|
-
textAlign?: "center" | "
|
|
392
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
393
|
+
} & {
|
|
394
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
387
395
|
} & {
|
|
388
396
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
389
397
|
} & {
|
package/dist/pb_time/_time.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare type ItemProps = {
|
|
|
4
4
|
children?: React.ReactNode[] | React.ReactNode;
|
|
5
5
|
date?: Date;
|
|
6
6
|
htmlOptions?: {
|
|
7
|
-
[key: string]: string | number | boolean |
|
|
7
|
+
[key: string]: string | number | boolean | (() => void);
|
|
8
8
|
};
|
|
9
9
|
icon?: string;
|
|
10
10
|
iconColor?: 'default' | 'royal' | 'blue' | 'purple' | 'teal' | 'red' | 'yellow' | 'green';
|
|
@@ -9,7 +9,7 @@ declare type TimelineProps = {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
};
|
|
11
11
|
htmlOptions?: {
|
|
12
|
-
[key: string]: string | number | boolean |
|
|
12
|
+
[key: string]: string | number | boolean | (() => void);
|
|
13
13
|
};
|
|
14
14
|
id?: string;
|
|
15
15
|
orientation?: string;
|
|
@@ -22,11 +22,11 @@ declare const Timeline: {
|
|
|
22
22
|
children?: React.ReactNode | React.ReactNode[];
|
|
23
23
|
date?: Date;
|
|
24
24
|
htmlOptions?: {
|
|
25
|
-
[key: string]: string | number | boolean |
|
|
25
|
+
[key: string]: string | number | boolean | (() => void);
|
|
26
26
|
};
|
|
27
27
|
icon?: string;
|
|
28
|
-
iconColor?: "default" | "
|
|
29
|
-
lineStyle?: "
|
|
28
|
+
iconColor?: "default" | "yellow" | "red" | "green" | "royal" | "blue" | "purple" | "teal";
|
|
29
|
+
lineStyle?: "dotted" | "solid";
|
|
30
30
|
}) => JSX.Element;
|
|
31
31
|
};
|
|
32
32
|
export default Timeline;
|
|
@@ -11,7 +11,7 @@ declare type TimestampProps = {
|
|
|
11
11
|
timestamp: Date | string;
|
|
12
12
|
timezone: string;
|
|
13
13
|
htmlOptions?: {
|
|
14
|
-
[key: string]: string | number | boolean |
|
|
14
|
+
[key: string]: string | number | boolean | (() => void);
|
|
15
15
|
};
|
|
16
16
|
id?: string;
|
|
17
17
|
showDate?: boolean;
|
|
@@ -16,13 +16,12 @@ declare type TitleProps = {
|
|
|
16
16
|
[key: string]: string;
|
|
17
17
|
};
|
|
18
18
|
htmlOptions?: {
|
|
19
|
-
[key: string]: string | number | boolean |
|
|
19
|
+
[key: string]: string | number | boolean | (() => void);
|
|
20
20
|
};
|
|
21
21
|
id?: string;
|
|
22
22
|
size?: SizeType | SizeResponsiveType;
|
|
23
23
|
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" | "span";
|
|
24
24
|
text?: string;
|
|
25
|
-
truncate?: null | "1" | "2" | "3" | "4" | "5";
|
|
26
25
|
variant?: null | "link";
|
|
27
26
|
} & GlobalProps;
|
|
28
27
|
declare const Title: (props: TitleProps) => React.ReactElement;
|