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
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
# 13.15.0
|
|
2
|
+
##### January 5, 2024
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
List of changes:
|
|
4
5
|
|
|
5
6
|
**Kit Enhancements:**
|
|
7
|
+
- Convert Truncate Prop to Global [\#2975](https://github.com/powerhome/playbook/pull/2975) ([markdoeswork](https://github.com/markdoeswork))
|
|
8
|
+
|
|
9
|
+
**Fixed Bugs:**
|
|
10
|
+
- Display Prop Responsive Arguments Are Blocking Font Color [\#2973](https://github.com/powerhome/playbook/pull/2973) ([israel-molestina](https://github.com/israel-molestina))
|
|
11
|
+
|
|
12
|
+
**Improvements:**
|
|
13
|
+
- Docs: Add `xxl` As Max Width Value [\#2986](https://github.com/powerhome/playbook/pull/2986) ([israel-molestina](https://github.com/israel-molestina))
|
|
14
|
+
- Docs: List Nav Items Alphabetically Within Their Categories [\#2977](https://github.com/powerhome/playbook/pull/2977) ([augustomallmann](https://github.com/augustomallmann))
|
|
15
|
+
- Docs: Person [\#2953](https://github.com/powerhome/playbook/pull/2953) ([nickamantia](https://github.com/nickamantia))
|
|
16
|
+
- Docs: User [\#2898](https://github.com/powerhome/playbook/pull/2898) ([nickamantia](https://github.com/nickamantia))
|
|
17
|
+
- Docs: Reaction Button Variant [\#2985](https://github.com/powerhome/playbook/pull/2985) ([rachelradford21](https://github.com/rachelradford21))
|
|
18
|
+
- Docs: Select [\#2983](https://github.com/powerhome/playbook/pull/2983) ([rachelradford21](https://github.com/rachelradford21))
|
|
19
|
+
- Docs: Dialog [\#2979](https://github.com/powerhome/playbook/pull/2979) ([rachelradford21](https://github.com/rachelradford21))
|
|
20
|
+
- Linter Implementation: Kits A - D [\#2942](https://github.com/powerhome/playbook/pull/2942) ([augustomallmann](https://github.com/augustomallmann))
|
|
21
|
+
- Ready Playbook Web for Swift! [\#2978](https://github.com/powerhome/playbook/pull/2978) ([jasoncypret](https://github.com/jasoncypret))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
[Full Changelog](https://github.com/powerhome/playbook/compare/13.14.0...13.15.0)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
|
|
7
|
-
|
|
29
|
+
# Customize Your Calendar: Introducing Quick Pick Custom Ranges for Tailored Date Selection
|
|
30
|
+
|
|
31
|
+
##### December 19, 2023
|
|
32
|
+
|
|
33
|
+

|
|
34
|
+
|
|
35
|
+
Say goodbye to generic date options! Quick Pick Custom Ranges is here, allowing you to define and label your own date presets or add personalized choices to our default selection.
|
|
36
|
+
|
|
37
|
+
[13.14.0](https://github.com/powerhome/playbook/tree/13.14.0) full list of changes:
|
|
38
|
+
|
|
39
|
+
**Kit Enhancements:**
|
|
40
|
+
|
|
41
|
+
- Quick Pick Custom Dates [\#2943](https://github.com/powerhome/playbook/pull/2943) ([jasperfurniss](https://github.com/jasperfurniss))
|
|
8
42
|
|
|
9
43
|
**Fixed Bugs:**
|
|
10
44
|
|
|
11
|
-
-
|
|
45
|
+
- Card Kit Highlight Z-index Error [\#2935](https://github.com/powerhome/playbook/pull/2935) ([israel-molestina](https://github.com/israel-molestina))
|
|
12
46
|
|
|
13
47
|
**Improvements:**
|
|
14
48
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
49
|
+
- Removing Eslint Disable Tag from Enhanced Element [\#2952](https://github.com/powerhome/playbook/pull/2952) ([carloslimasd](https://github.com/carloslimasd))
|
|
50
|
+
- Docs: Homestreetaddress [\#2946](https://github.com/powerhome/playbook/pull/2946) ([nickamantia](https://github.com/nickamantia))
|
|
51
|
+
- Exporting Css Tokens [\#2945](https://github.com/powerhome/playbook/pull/2945) ([carloslimasd](https://github.com/carloslimasd))
|
|
52
|
+
- Docs: Date [\#2944](https://github.com/powerhome/playbook/pull/2944) ([nickamantia](https://github.com/nickamantia))
|
|
53
|
+
- Docs: Contact [\#2933](https://github.com/powerhome/playbook/pull/2933) ([nickamantia](https://github.com/nickamantia))
|
|
54
|
+
- Website Ps2 - Components - Index Navigation & Cards [\#2899](https://github.com/powerhome/playbook/pull/2899) ([augustomallmann](https://github.com/augustomallmann))
|
|
55
|
+
- Star Kit Upgrade [\#2864](https://github.com/powerhome/playbook/pull/2864) ([markdoeswork](https://github.com/markdoeswork))
|
|
22
56
|
|
|
23
|
-
**Merged pull requests:**
|
|
24
57
|
|
|
25
|
-
|
|
26
|
-
- 13.13.0 Version Bump [\#2936](https://github.com/powerhome/playbook/pull/2936) ([jasperfurniss](https://github.com/jasperfurniss))
|
|
58
|
+
[Full Changelog](https://github.com/powerhome/playbook/compare/13.13.0...13.14.0)
|
|
27
59
|
|
|
28
60
|
# 13.13.0
|
|
29
61
|
##### December 8, 2023
|
|
@@ -663,6 +695,3 @@ You can now wrap our Date kit with any of our typography kits (Title, Body, Capt
|
|
|
663
695
|
|
|
664
696
|
|
|
665
697
|
#### 🔍 Looking for something? **[See Our Release Archives](https://github.com/powerhome/playbook/blob/master/docs/CHANGELOG_ARCHIVE.md)**
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
|
@@ -7,9 +7,11 @@ declare type AvatarActionButtonProps = {
|
|
|
7
7
|
linkAriaLabel?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
dark?: 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
|
imageAlt?: string;
|
|
@@ -20,5 +22,5 @@ declare type AvatarActionButtonProps = {
|
|
|
20
22
|
placement?: string;
|
|
21
23
|
size?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
|
|
22
24
|
};
|
|
23
|
-
declare const AvatarActionButton: (props: AvatarActionButtonProps) =>
|
|
25
|
+
declare const AvatarActionButton: (props: AvatarActionButtonProps) => React.ReactElement;
|
|
24
26
|
export default AvatarActionButton;
|
|
@@ -17,7 +17,7 @@ declare type BackgroundProps = {
|
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
};
|
|
19
19
|
htmlOptions?: {
|
|
20
|
-
[key: string]: string | number | boolean |
|
|
20
|
+
[key: string]: string | number | boolean | (() => void);
|
|
21
21
|
};
|
|
22
22
|
id?: string;
|
|
23
23
|
padding?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -32,5 +32,5 @@ declare type ResponsiveProp<T> = T | {
|
|
|
32
32
|
xl?: T;
|
|
33
33
|
default?: T;
|
|
34
34
|
};
|
|
35
|
-
declare const Background: (props: BackgroundProps) =>
|
|
35
|
+
declare const Background: (props: BackgroundProps) => React.ReactElement;
|
|
36
36
|
export default Background;
|
|
@@ -14,7 +14,7 @@ declare type BadgeProps = {
|
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
16
16
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | (() => void);
|
|
18
18
|
};
|
|
19
19
|
id?: string;
|
|
20
20
|
removeIcon?: boolean;
|
|
@@ -23,5 +23,5 @@ declare type BadgeProps = {
|
|
|
23
23
|
text?: string;
|
|
24
24
|
variant?: "error" | "info" | "neutral" | "notification" | "primary" | "success" | "warning";
|
|
25
25
|
} & GlobalProps;
|
|
26
|
-
declare const Badge: (props: BadgeProps) =>
|
|
26
|
+
declare const Badge: (props: BadgeProps) => React.ReactElement;
|
|
27
27
|
export default Badge;
|
|
@@ -11,11 +11,11 @@ declare type BarGraphProps = {
|
|
|
11
11
|
data: number[];
|
|
12
12
|
}[];
|
|
13
13
|
className?: string;
|
|
14
|
+
id: string;
|
|
15
|
+
pointStart: number;
|
|
14
16
|
htmlOptions?: {
|
|
15
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | (() => void);
|
|
16
18
|
};
|
|
17
|
-
id: any;
|
|
18
|
-
pointStart: number | any;
|
|
19
19
|
subTitle?: string;
|
|
20
20
|
title: string;
|
|
21
21
|
type?: string;
|
package/dist/pb_body/_body.d.ts
CHANGED
|
@@ -14,13 +14,12 @@ declare type BodyProps = {
|
|
|
14
14
|
highlightedText?: string[];
|
|
15
15
|
highlighting?: boolean;
|
|
16
16
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | (() => void);
|
|
18
18
|
};
|
|
19
19
|
id?: string;
|
|
20
20
|
status?: 'neutral' | 'negative' | 'positive';
|
|
21
21
|
tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
22
22
|
text?: string;
|
|
23
|
-
truncate?: null | '1' | '2' | '3' | '4' | '5';
|
|
24
23
|
variant?: null | 'link';
|
|
25
24
|
} & GlobalProps;
|
|
26
25
|
declare const Body: (props: BodyProps) => React.ReactElement;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type BreadCrumbItemProps = {
|
|
2
3
|
aria?: {
|
|
3
4
|
[key: string]: string;
|
|
4
5
|
};
|
|
5
6
|
className?: string;
|
|
6
|
-
data?:
|
|
7
|
+
data?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
7
10
|
htmlOptions?: {
|
|
8
|
-
[key: string]: string | number | boolean |
|
|
11
|
+
[key: string]: string | number | boolean | (() => void);
|
|
9
12
|
};
|
|
10
13
|
id?: string;
|
|
11
14
|
component?: "a" | "span";
|
|
12
15
|
[x: string]: any;
|
|
13
16
|
};
|
|
14
|
-
declare const BreadCrumbItem: (props: BreadCrumbItemProps) =>
|
|
17
|
+
declare const BreadCrumbItem: (props: BreadCrumbItemProps) => React.ReactElement;
|
|
15
18
|
export default BreadCrumbItem;
|
|
@@ -4,13 +4,15 @@ declare type BreadCrumbsProps = {
|
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
};
|
|
6
6
|
className?: string;
|
|
7
|
-
data?:
|
|
7
|
+
data?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
8
10
|
htmlOptions?: {
|
|
9
|
-
[key: string]: string | number | boolean |
|
|
11
|
+
[key: string]: string | number | boolean | (() => void);
|
|
10
12
|
};
|
|
11
13
|
id?: string;
|
|
12
14
|
text?: string;
|
|
13
15
|
children?: React.ReactChild[] | React.ReactNode;
|
|
14
16
|
};
|
|
15
|
-
declare const BreadCrumbs: (props: BreadCrumbsProps) =>
|
|
17
|
+
declare const BreadCrumbs: (props: BreadCrumbsProps) => React.ReactElement;
|
|
16
18
|
export default BreadCrumbs;
|
|
@@ -17,7 +17,7 @@ declare type ButtonPropTypes = {
|
|
|
17
17
|
fullWidth?: boolean;
|
|
18
18
|
highlight?: boolean;
|
|
19
19
|
htmlOptions?: {
|
|
20
|
-
[key: string]: string | number | boolean |
|
|
20
|
+
[key: string]: string | number | boolean | (() => void);
|
|
21
21
|
};
|
|
22
22
|
icon?: string;
|
|
23
23
|
iconRight?: boolean;
|
|
@@ -36,5 +36,5 @@ declare type ButtonPropTypes = {
|
|
|
36
36
|
variant?: 'primary' | 'secondary' | 'link' | 'reaction';
|
|
37
37
|
wrapperClass?: string;
|
|
38
38
|
} & GlobalProps;
|
|
39
|
-
declare const Button: (props: ButtonPropTypes) =>
|
|
39
|
+
declare const Button: (props: ButtonPropTypes) => React.ReactElement;
|
|
40
40
|
export default Button;
|
|
@@ -6,9 +6,11 @@ declare type ButtonToolbarProps = {
|
|
|
6
6
|
children?: React.ReactChild[] | React.ReactChild;
|
|
7
7
|
className?: string;
|
|
8
8
|
connected?: boolean;
|
|
9
|
-
data?:
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
10
12
|
htmlOptions?: {
|
|
11
|
-
[key: string]: string | number | boolean |
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
12
14
|
};
|
|
13
15
|
id?: string;
|
|
14
16
|
onClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
@@ -16,5 +18,5 @@ declare type ButtonToolbarProps = {
|
|
|
16
18
|
text?: string;
|
|
17
19
|
variant?: "primary" | "secondary";
|
|
18
20
|
};
|
|
19
|
-
declare const ButtonToolbar: (props: ButtonToolbarProps) =>
|
|
21
|
+
declare const ButtonToolbar: (props: ButtonToolbarProps) => React.ReactElement;
|
|
20
22
|
export default ButtonToolbar;
|
|
@@ -11,7 +11,7 @@ declare type CaptionProps = {
|
|
|
11
11
|
[key: string]: string;
|
|
12
12
|
};
|
|
13
13
|
htmlOptions?: {
|
|
14
|
-
[key: string]: string | number | boolean |
|
|
14
|
+
[key: string]: string | number | boolean | (() => void);
|
|
15
15
|
};
|
|
16
16
|
id?: string;
|
|
17
17
|
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
package/dist/pb_card/_card.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare type CardPropTypes = {
|
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
16
16
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | (() => void);
|
|
18
18
|
};
|
|
19
19
|
highlight?: {
|
|
20
20
|
position?: "side" | "top";
|
|
@@ -38,7 +38,7 @@ declare type CardBodyProps = {
|
|
|
38
38
|
padding?: string;
|
|
39
39
|
} & GlobalProps;
|
|
40
40
|
declare const Card: {
|
|
41
|
-
(props: CardPropTypes):
|
|
41
|
+
(props: CardPropTypes): React.ReactElement;
|
|
42
42
|
Header: (props: CardHeaderProps) => JSX.Element;
|
|
43
43
|
Body: (props: CardBodyProps) => JSX.Element;
|
|
44
44
|
};
|
|
@@ -13,7 +13,7 @@ declare type CheckboxProps = {
|
|
|
13
13
|
};
|
|
14
14
|
error?: boolean;
|
|
15
15
|
htmlOptions?: {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
16
|
+
[key: string]: string | number | boolean | (() => void);
|
|
17
17
|
};
|
|
18
18
|
id?: string;
|
|
19
19
|
indeterminate?: boolean;
|
|
@@ -23,5 +23,5 @@ declare type CheckboxProps = {
|
|
|
23
23
|
text?: string;
|
|
24
24
|
value?: string;
|
|
25
25
|
} & GlobalProps;
|
|
26
|
-
declare const Checkbox: (props: CheckboxProps) =>
|
|
26
|
+
declare const Checkbox: (props: CheckboxProps) => React.ReactElement;
|
|
27
27
|
export default Checkbox;
|
|
@@ -7,13 +7,15 @@ declare type CircleChartProps = {
|
|
|
7
7
|
children?: Node;
|
|
8
8
|
className?: string;
|
|
9
9
|
colors?: string[];
|
|
10
|
-
dark?:
|
|
11
|
-
data?:
|
|
10
|
+
dark?: boolean;
|
|
11
|
+
data?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
12
14
|
dataLabelHtml?: string;
|
|
13
15
|
dataLabels?: boolean;
|
|
14
16
|
height?: string;
|
|
15
17
|
htmlOptions?: {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
18
|
+
[key: string]: string | number | boolean | (() => void);
|
|
17
19
|
};
|
|
18
20
|
id?: string;
|
|
19
21
|
innerSize?: "sm" | "md" | "lg" | "none";
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconSizes } from "../pb_icon/_icon";
|
|
3
3
|
declare type CollapsibleProps = {
|
|
4
|
-
children?:
|
|
4
|
+
children?: React.ReactElement | [] | any;
|
|
5
5
|
aria?: {
|
|
6
6
|
[key: string]: string;
|
|
7
7
|
};
|
|
8
8
|
className?: string;
|
|
9
9
|
collapsed?: boolean;
|
|
10
|
-
data?:
|
|
10
|
+
data?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
11
13
|
icon?: string | string[];
|
|
12
14
|
iconColor?: 'default' | 'light' | 'lighter' | 'link' | 'error' | 'success';
|
|
13
15
|
iconSize?: IconSizes;
|
|
14
16
|
onIconClick?: () => void;
|
|
15
17
|
onClick?: () => void;
|
|
16
18
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean |
|
|
19
|
+
[key: string]: string | number | boolean | (() => void);
|
|
18
20
|
};
|
|
19
21
|
id?: string;
|
|
20
22
|
};
|
|
21
23
|
declare const Collapsible: {
|
|
22
|
-
({ aria, className, children, collapsed, data, htmlOptions, icon, iconColor, iconSize, onIconClick, onClick, id, ...props }: CollapsibleProps):
|
|
24
|
+
({ aria, className, children, collapsed, data, htmlOptions, icon, iconColor, iconSize, onIconClick, onClick, id, ...props }: CollapsibleProps): React.ReactElement;
|
|
23
25
|
Main: ({ children, className, cursor, ...props }: {
|
|
24
26
|
children: React.ReactNode | React.ReactNode[];
|
|
25
27
|
className?: string;
|
|
@@ -27,6 +29,6 @@ declare const Collapsible: {
|
|
|
27
29
|
dark?: boolean;
|
|
28
30
|
onClick?: () => void;
|
|
29
31
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
30
|
-
Content: ({ children, className, ...props }: import("./child_kits/CollapsibleContent").CollapsibleContentProps) =>
|
|
32
|
+
Content: ({ children, className, ...props }: import("./child_kits/CollapsibleContent").CollapsibleContentProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
31
33
|
};
|
|
32
34
|
export default Collapsible;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const showElement: (elem:
|
|
2
|
-
export declare const hideElement: (elem:
|
|
1
|
+
export declare const showElement: (elem: HTMLElement) => void;
|
|
2
|
+
export declare const hideElement: (elem: HTMLElement) => void;
|
|
@@ -3,5 +3,5 @@ export declare type CollapsibleContentProps = {
|
|
|
3
3
|
children?: React.ReactNode[] | React.ReactNode | string;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const CollapsibleContent: ({ children, className, ...props }: CollapsibleContentProps) =>
|
|
6
|
+
declare const CollapsibleContent: ({ children, className, ...props }: CollapsibleContentProps) => React.ReactElement;
|
|
7
7
|
export default CollapsibleContent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type ContactProps = {
|
|
2
3
|
aria?: {
|
|
3
4
|
[key: string]: string;
|
|
@@ -6,11 +7,13 @@ declare type ContactProps = {
|
|
|
6
7
|
contactDetail?: string;
|
|
7
8
|
contactType?: string;
|
|
8
9
|
contactValue: string;
|
|
9
|
-
data?:
|
|
10
|
+
data?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
10
13
|
htmlOptions?: {
|
|
11
|
-
[key: string]: string | number | boolean |
|
|
14
|
+
[key: string]: string | number | boolean | (() => void);
|
|
12
15
|
};
|
|
13
16
|
id?: string;
|
|
14
17
|
};
|
|
15
|
-
declare const Contact: (props: ContactProps) =>
|
|
18
|
+
declare const Contact: (props: ContactProps) => React.ReactElement;
|
|
16
19
|
export default Contact;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type CurrencyProps = {
|
|
2
3
|
abbreviate?: boolean;
|
|
3
4
|
align?: 'center' | 'left' | 'right';
|
|
@@ -13,7 +14,7 @@ declare type CurrencyProps = {
|
|
|
13
14
|
decimals?: 'default' | 'matching';
|
|
14
15
|
emphasized?: boolean;
|
|
15
16
|
htmlOptions?: {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | (() => void);
|
|
17
18
|
};
|
|
18
19
|
id?: string;
|
|
19
20
|
label?: string;
|
|
@@ -23,5 +24,5 @@ declare type CurrencyProps = {
|
|
|
23
24
|
unit?: string;
|
|
24
25
|
unstyled?: boolean;
|
|
25
26
|
};
|
|
26
|
-
declare const Currency: (props: CurrencyProps) =>
|
|
27
|
+
declare const Currency: (props: CurrencyProps) => React.ReactElement;
|
|
27
28
|
export default Currency;
|
|
@@ -1,40 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[key: string]: string;
|
|
4
|
-
};
|
|
5
|
-
credits?: {
|
|
6
|
-
[key: string]: boolean;
|
|
7
|
-
};
|
|
8
|
-
colors?: string[];
|
|
9
|
-
chart?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
12
|
-
title?: {
|
|
13
|
-
[key: string]: string | {};
|
|
14
|
-
};
|
|
15
|
-
subtitle?: {
|
|
16
|
-
[key: string]: string | {};
|
|
17
|
-
};
|
|
18
|
-
xAxis?: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
yAxis?: {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
};
|
|
24
|
-
legend?: {
|
|
25
|
-
[key: string]: string | {};
|
|
26
|
-
};
|
|
27
|
-
labels?: {
|
|
28
|
-
[key: string]: {};
|
|
29
|
-
};
|
|
30
|
-
tooltip?: {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
33
|
-
pane?: {
|
|
34
|
-
[key: string]: {};
|
|
35
|
-
};
|
|
36
|
-
plotOptions?: {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
};
|
|
1
|
+
import { Options, LegendOptions } from "highcharts";
|
|
2
|
+
export interface ThemeProps extends Pick<Options, "credits" | "chart" | "colors" | "lang" | "title" | "subtitle" | "xAxis" | "yAxis" | "legend" | "tooltip" | "pane" | "plotOptions"> {
|
|
39
3
|
colorKey?: string;
|
|
40
|
-
|
|
4
|
+
legend?: LegendOptions;
|
|
5
|
+
}
|
package/dist/pb_date/_date.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type PbDateProps = {
|
|
2
3
|
alignment?: "left" | "center" | "right";
|
|
3
4
|
aria?: {
|
|
@@ -8,7 +9,7 @@ declare type PbDateProps = {
|
|
|
8
9
|
[key: string]: string;
|
|
9
10
|
};
|
|
10
11
|
htmlOptions?: {
|
|
11
|
-
[key: string]: string | number | boolean |
|
|
12
|
+
[key: string]: string | number | boolean | (() => void);
|
|
12
13
|
};
|
|
13
14
|
id?: string;
|
|
14
15
|
showDayOfWeek?: boolean;
|
|
@@ -17,5 +18,5 @@ declare type PbDateProps = {
|
|
|
17
18
|
unstyled?: boolean;
|
|
18
19
|
value: Date;
|
|
19
20
|
};
|
|
20
|
-
declare const PbDate: (props: PbDateProps) =>
|
|
21
|
+
declare const PbDate: (props: PbDateProps) => React.ReactElement;
|
|
21
22
|
export default PbDate;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type DateRangeInlineProps = {
|
|
2
3
|
className?: string;
|
|
3
4
|
id?: string;
|
|
@@ -6,11 +7,11 @@ declare type DateRangeInlineProps = {
|
|
|
6
7
|
size?: "sm" | "xs";
|
|
7
8
|
dark?: boolean;
|
|
8
9
|
htmlOptions?: {
|
|
9
|
-
[key: string]: string | number | boolean |
|
|
10
|
+
[key: string]: string | number | boolean | (() => any);
|
|
10
11
|
};
|
|
11
12
|
icon?: boolean;
|
|
12
13
|
startDate?: Date;
|
|
13
14
|
endDate?: Date;
|
|
14
15
|
};
|
|
15
|
-
declare const DateRangeInline: (props: DateRangeInlineProps) =>
|
|
16
|
+
declare const DateRangeInline: (props: DateRangeInlineProps) => React.ReactElement;
|
|
16
17
|
export default DateRangeInline;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type DateRangeStackedProps = {
|
|
2
3
|
className?: string | string[];
|
|
3
4
|
data?: string;
|
|
4
5
|
dark?: boolean;
|
|
5
6
|
endDate: Date;
|
|
6
7
|
htmlOptions?: {
|
|
7
|
-
[key: string]: string | number | boolean |
|
|
8
|
+
[key: string]: string | number | boolean | (() => void);
|
|
8
9
|
};
|
|
9
10
|
id?: string;
|
|
10
11
|
startDate: Date;
|
|
11
12
|
};
|
|
12
|
-
declare const DateRangeStacked: (props: DateRangeStackedProps) =>
|
|
13
|
+
declare const DateRangeStacked: (props: DateRangeStackedProps) => React.ReactElement;
|
|
13
14
|
export default DateRangeStacked;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type DateStackedProps = {
|
|
2
3
|
align?: "left" | "center" | "right";
|
|
3
4
|
bold?: boolean;
|
|
@@ -6,11 +7,11 @@ declare type DateStackedProps = {
|
|
|
6
7
|
data?: string;
|
|
7
8
|
date: Date;
|
|
8
9
|
htmlOptions?: {
|
|
9
|
-
[key: string]: string | number | boolean |
|
|
10
|
+
[key: string]: string | number | boolean | (() => void);
|
|
10
11
|
};
|
|
11
12
|
size?: "sm" | "md";
|
|
12
13
|
id?: string;
|
|
13
14
|
reverse?: boolean;
|
|
14
15
|
};
|
|
15
|
-
declare const DateStacked: (props: DateStackedProps) =>
|
|
16
|
+
declare const DateStacked: (props: DateStackedProps) => React.ReactElement;
|
|
16
17
|
export default DateStacked;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type DateTimeProps = {
|
|
2
3
|
align?: "left" | "center" | "right";
|
|
3
4
|
aria?: {
|
|
@@ -9,7 +10,7 @@ declare type DateTimeProps = {
|
|
|
9
10
|
};
|
|
10
11
|
datetime: Date;
|
|
11
12
|
htmlOptions?: {
|
|
12
|
-
[key: string]: string | number | boolean |
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
13
14
|
};
|
|
14
15
|
id?: string;
|
|
15
16
|
size?: "sm" | "md";
|
|
@@ -17,5 +18,5 @@ declare type DateTimeProps = {
|
|
|
17
18
|
showIcon?: boolean;
|
|
18
19
|
timeZone?: string;
|
|
19
20
|
};
|
|
20
|
-
declare const DateTime: (props: DateTimeProps) =>
|
|
21
|
+
declare const DateTime: (props: DateTimeProps) => React.ReactElement;
|
|
21
22
|
export default DateTime;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type DateYearStackedProps = {
|
|
2
3
|
align?: "left" | "center" | "right";
|
|
3
4
|
className?: string | string[];
|
|
@@ -5,9 +6,9 @@ declare type DateYearStackedProps = {
|
|
|
5
6
|
data?: string;
|
|
6
7
|
date: Date;
|
|
7
8
|
htmlOptions?: {
|
|
8
|
-
[key: string]: string | number | boolean |
|
|
9
|
+
[key: string]: string | number | boolean | (() => void);
|
|
9
10
|
};
|
|
10
11
|
id?: string;
|
|
11
12
|
};
|
|
12
|
-
declare const DateYearStacked: (props: DateYearStackedProps) =>
|
|
13
|
+
declare const DateYearStacked: (props: DateYearStackedProps) => React.ReactElement;
|
|
13
14
|
export default DateYearStacked;
|
|
@@ -13,11 +13,11 @@ declare type DetailProps = {
|
|
|
13
13
|
[key: string]: string;
|
|
14
14
|
};
|
|
15
15
|
htmlOptions?: {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
16
|
+
[key: string]: string | number | boolean | (() => void);
|
|
17
17
|
};
|
|
18
18
|
id?: string;
|
|
19
19
|
tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
20
20
|
text?: string;
|
|
21
21
|
} & GlobalProps;
|
|
22
|
-
declare const Detail: (props: DetailProps) =>
|
|
22
|
+
declare const Detail: (props: DetailProps) => React.ReactElement;
|
|
23
23
|
export default Detail;
|