playbook-ui 13.15.0-alpha.reactselectbump581876 → 13.16.0-alpha.fonttest1972
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/dist/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +4 -3
- package/dist/pb_flex/_flex.d.ts +3 -3
- package/dist/pb_form_group/_form_group.d.ts +4 -2
- package/dist/pb_form_pill/_form_pill.d.ts +1 -1
- package/dist/pb_gauge/_gauge.d.ts +4 -3
- package/dist/pb_home_address_street/_home_address_street.d.ts +2 -1
- package/dist/pb_icon_stat_value/_icon_stat_value.d.ts +4 -2
- package/dist/pb_icon_value/_icon_value.d.ts +4 -2
- package/dist/pb_passphrase/_passphrase.d.ts +6 -4
- package/dist/pb_person_contact/_person_contact.d.ts +4 -2
- package/dist/pb_popover/_popover.d.ts +1 -1
- package/dist/pb_progress_simple/_progress_simple.d.ts +2 -1
- package/dist/pb_radio/_radio.d.ts +16 -16
- package/dist/pb_rich_text_editor/TipTap/EditorButton.d.ts +3 -2
- package/dist/pb_rich_text_editor/TipTap/EditorTypes.d.ts +1 -1
- package/dist/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -1
- package/dist/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -1
- package/dist/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -1
- package/dist/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -1
- package/dist/pb_rich_text_editor/_rich_text_editor.d.ts +2 -2
- package/dist/pb_section_separator/_section_separator.d.ts +1 -1
- package/dist/pb_select/_select.d.ts +20 -16
- package/dist/pb_selectable_card_icon/_selectable_card_icon.d.ts +1 -1
- package/dist/pb_selectable_icon/_selectable_icon.d.ts +4 -2
- package/dist/pb_selectable_list/_selectable_list.d.ts +2 -1
- package/dist/pb_source/_source.d.ts +2 -1
- package/dist/pb_text_input/_text_input.d.ts +16 -16
- package/dist/pb_textarea/_textarea.d.ts +16 -16
- package/dist/pb_tooltip/_tooltip.d.ts +16 -16
- package/dist/playbook-doc.js +8 -8
- package/dist/playbook-rails.js +6 -14
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +8 -8
- package/dist/types/base.d.ts +1 -0
- package/dist/types/data.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { VoidCallback } from "../types";
|
|
2
3
|
declare type FixedConfirmationToastProps = {
|
|
3
4
|
autoClose?: number;
|
|
4
5
|
children?: React.ReactChild[] | React.ReactChild;
|
|
@@ -7,15 +8,15 @@ declare type FixedConfirmationToastProps = {
|
|
|
7
8
|
data?: string;
|
|
8
9
|
horizontal?: "right" | "left" | "center";
|
|
9
10
|
htmlOptions?: {
|
|
10
|
-
[key: string]: string | number | boolean | (
|
|
11
|
+
[key: string]: string | number | boolean | (VoidCallback);
|
|
11
12
|
};
|
|
12
13
|
id?: string;
|
|
13
14
|
multiLine?: boolean;
|
|
14
|
-
onClose?:
|
|
15
|
+
onClose?: VoidCallback;
|
|
15
16
|
open?: boolean;
|
|
16
17
|
status?: "success" | "error" | "neutral" | "tip";
|
|
17
18
|
text?: string;
|
|
18
19
|
vertical?: "top" | "bottom";
|
|
19
20
|
};
|
|
20
|
-
declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) =>
|
|
21
|
+
declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) => React.ReactElement;
|
|
21
22
|
export default FixedConfirmationToast;
|
package/dist/pb_flex/_flex.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GlobalProps } from '../utilities/globalProps';
|
|
3
|
-
import { Sizes } from '../types';
|
|
3
|
+
import { GenericObject, Sizes } from '../types';
|
|
4
4
|
declare type FlexProps = {
|
|
5
5
|
children: React.ReactChild[] | React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
|
-
data?:
|
|
7
|
+
data?: GenericObject;
|
|
8
8
|
horizontal?: "left" | "center" | "right" | "stretch" | "none";
|
|
9
9
|
justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none";
|
|
10
10
|
htmlOptions?: {
|
|
@@ -23,5 +23,5 @@ declare type FlexProps = {
|
|
|
23
23
|
wrap?: boolean;
|
|
24
24
|
alignSelf?: "start" | "end" | "center" | "stretch" | "none";
|
|
25
25
|
} & GlobalProps;
|
|
26
|
-
declare const Flex: (props: FlexProps) =>
|
|
26
|
+
declare const Flex: (props: FlexProps) => React.ReactElement;
|
|
27
27
|
export default Flex;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericObject } from '../types';
|
|
1
3
|
declare type FormGroupProps = {
|
|
2
4
|
aria?: {
|
|
3
5
|
[key: string]: string;
|
|
4
6
|
};
|
|
5
7
|
children?: Node;
|
|
6
8
|
className?: string;
|
|
7
|
-
data?:
|
|
9
|
+
data?: GenericObject;
|
|
8
10
|
fullWidth?: boolean;
|
|
9
11
|
htmlOptions?: {
|
|
10
12
|
[key: string]: string | number | boolean | (() => void);
|
|
11
13
|
};
|
|
12
14
|
id?: string;
|
|
13
15
|
};
|
|
14
|
-
declare const FormGroup: (props: FormGroupProps) =>
|
|
16
|
+
declare const FormGroup: (props: FormGroupProps) => React.ReactElement;
|
|
15
17
|
export default FormGroup;
|
|
@@ -19,5 +19,5 @@ declare type FormPillProps = {
|
|
|
19
19
|
onTouchEnd?: React.TouchEventHandler<HTMLSpanElement>;
|
|
20
20
|
};
|
|
21
21
|
} & GlobalProps;
|
|
22
|
-
declare const FormPill: (props: FormPillProps) =>
|
|
22
|
+
declare const FormPill: (props: FormPillProps) => React.ReactElement;
|
|
23
23
|
export default FormPill;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type GaugeProps = {
|
|
2
3
|
aria: {
|
|
3
4
|
[key: string]: string;
|
|
@@ -7,7 +8,7 @@ declare type GaugeProps = {
|
|
|
7
8
|
name: string;
|
|
8
9
|
value: number[] | number;
|
|
9
10
|
}[];
|
|
10
|
-
dark?:
|
|
11
|
+
dark?: boolean;
|
|
11
12
|
data?: {
|
|
12
13
|
[key: string]: string;
|
|
13
14
|
};
|
|
@@ -27,8 +28,8 @@ declare type GaugeProps = {
|
|
|
27
28
|
title?: string;
|
|
28
29
|
tooltipHtml?: string;
|
|
29
30
|
colors: string[];
|
|
30
|
-
minorTickInterval
|
|
31
|
+
minorTickInterval?: number;
|
|
31
32
|
circumference: number[];
|
|
32
33
|
};
|
|
33
|
-
declare const Gauge: ({ aria,
|
|
34
|
+
declare const Gauge: ({ aria, chartData, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => React.ReactElement;
|
|
34
35
|
export default Gauge;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type HomeAddressStreetProps = {
|
|
2
3
|
aria?: {
|
|
3
4
|
[key: string]: string;
|
|
@@ -22,5 +23,5 @@ declare type HomeAddressStreetProps = {
|
|
|
22
23
|
zipcode: string;
|
|
23
24
|
territory: string;
|
|
24
25
|
};
|
|
25
|
-
declare const HomeAddressStreet: (props: HomeAddressStreetProps) =>
|
|
26
|
+
declare const HomeAddressStreet: (props: HomeAddressStreetProps) => React.ReactElement;
|
|
26
27
|
export default HomeAddressStreet;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericObject } from '../types';
|
|
1
3
|
declare type IconStatValueProps = {
|
|
2
4
|
aria?: {
|
|
3
5
|
[key: string]: string;
|
|
4
6
|
};
|
|
5
7
|
className?: string;
|
|
6
|
-
data?:
|
|
8
|
+
data?: GenericObject;
|
|
7
9
|
dark?: boolean;
|
|
8
10
|
icon: string;
|
|
9
11
|
htmlOptions?: {
|
|
@@ -17,5 +19,5 @@ declare type IconStatValueProps = {
|
|
|
17
19
|
value: number;
|
|
18
20
|
variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
|
|
19
21
|
};
|
|
20
|
-
declare const IconStatValue: (props: IconStatValueProps) =>
|
|
22
|
+
declare const IconStatValue: (props: IconStatValueProps) => React.ReactElement;
|
|
21
23
|
export default IconStatValue;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericObject } from '../types';
|
|
1
3
|
declare type IconValueProps = {
|
|
2
4
|
align?: "left" | "center" | "right";
|
|
3
5
|
aria?: {
|
|
@@ -5,7 +7,7 @@ declare type IconValueProps = {
|
|
|
5
7
|
};
|
|
6
8
|
className?: string;
|
|
7
9
|
dark?: boolean;
|
|
8
|
-
data?:
|
|
10
|
+
data?: GenericObject;
|
|
9
11
|
icon: string;
|
|
10
12
|
htmlOptions?: {
|
|
11
13
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -13,5 +15,5 @@ declare type IconValueProps = {
|
|
|
13
15
|
id?: string;
|
|
14
16
|
text: string;
|
|
15
17
|
};
|
|
16
|
-
declare const IconValue: (props: IconValueProps) =>
|
|
18
|
+
declare const IconValue: (props: IconValueProps) => React.ReactElement;
|
|
17
19
|
export default IconValue;
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GenericObject } from "../types";
|
|
1
3
|
declare type PassphraseProps = {
|
|
2
4
|
aria?: {
|
|
3
5
|
[key: string]: string;
|
|
4
6
|
};
|
|
5
7
|
confirmation?: boolean;
|
|
6
8
|
className?: string;
|
|
7
|
-
data?:
|
|
9
|
+
data?: GenericObject;
|
|
8
10
|
dark?: boolean;
|
|
9
11
|
htmlOptions?: {
|
|
10
12
|
[key: string]: string | number | boolean | (() => void);
|
|
11
13
|
};
|
|
12
14
|
id?: string;
|
|
13
|
-
inputProps?:
|
|
15
|
+
inputProps?: GenericObject;
|
|
14
16
|
label?: string;
|
|
15
|
-
onChange: (inputValue:
|
|
17
|
+
onChange: (inputValue: string) => void;
|
|
16
18
|
showTipsBelow?: "always" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
17
19
|
tips?: Array<string>;
|
|
18
20
|
uncontrolled?: boolean;
|
|
19
21
|
value: string;
|
|
20
22
|
};
|
|
21
|
-
declare const Passphrase: (props: PassphraseProps) =>
|
|
23
|
+
declare const Passphrase: (props: PassphraseProps) => React.ReactElement;
|
|
22
24
|
export default Passphrase;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericObject } from '../types';
|
|
1
3
|
declare type ContactItem = {
|
|
2
4
|
contactType: string;
|
|
3
5
|
contactValue: string;
|
|
@@ -8,7 +10,7 @@ declare type PersonContactProps = {
|
|
|
8
10
|
[key: string]: string;
|
|
9
11
|
};
|
|
10
12
|
className?: string | string[];
|
|
11
|
-
data?:
|
|
13
|
+
data?: GenericObject;
|
|
12
14
|
firstName: string;
|
|
13
15
|
htmlOptions?: {
|
|
14
16
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -17,5 +19,5 @@ declare type PersonContactProps = {
|
|
|
17
19
|
lastName: string;
|
|
18
20
|
contacts?: ContactItem[];
|
|
19
21
|
};
|
|
20
|
-
declare const PersonContact: (props: PersonContactProps) =>
|
|
22
|
+
declare const PersonContact: (props: PersonContactProps) => React.ReactElement;
|
|
21
23
|
export default PersonContact;
|
|
@@ -21,5 +21,5 @@ declare type PbPopoverProps = {
|
|
|
21
21
|
} & GlobalProps & Omit<PopperProps<any>, 'children'> & {
|
|
22
22
|
children?: React.ReactChild[] | React.ReactChild;
|
|
23
23
|
};
|
|
24
|
-
declare const PbReactPopover: (props: PbPopoverProps) =>
|
|
24
|
+
declare const PbReactPopover: (props: PbPopoverProps) => React.ReactElement;
|
|
25
25
|
export default PbReactPopover;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type ProgressSimpleProps = {
|
|
2
3
|
align?: "left" | "center" | "right";
|
|
3
4
|
className?: string | string[];
|
|
@@ -14,5 +15,5 @@ declare type ProgressSimpleProps = {
|
|
|
14
15
|
variant?: "default" | "positive" | "negative" | "warning";
|
|
15
16
|
width: string;
|
|
16
17
|
};
|
|
17
|
-
declare const ProgressSimple: (props: ProgressSimpleProps) =>
|
|
18
|
+
declare const ProgressSimple: (props: ProgressSimpleProps) => React.ReactElement;
|
|
18
19
|
export default ProgressSimple;
|
|
@@ -38,7 +38,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
38
38
|
} & import("../types").DisplaySizes & {
|
|
39
39
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
40
40
|
} & {
|
|
41
|
-
flexDirection?: "
|
|
41
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
42
42
|
} & {
|
|
43
43
|
flexGrow?: 0 | 1;
|
|
44
44
|
} & {
|
|
@@ -66,7 +66,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
66
|
} & {
|
|
67
67
|
numberSpacing?: "tabular";
|
|
68
68
|
} & {
|
|
69
|
-
order?:
|
|
69
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
70
70
|
} & {
|
|
71
71
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
72
72
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -88,9 +88,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
88
88
|
} & {
|
|
89
89
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
90
90
|
} & {
|
|
91
|
-
truncate?:
|
|
91
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
92
92
|
} & {
|
|
93
|
-
zIndex?:
|
|
93
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
94
94
|
} & {
|
|
95
95
|
hover?: string;
|
|
96
96
|
}, string | number> | Pick<{
|
|
@@ -132,7 +132,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
132
132
|
} & import("../types").DisplaySizes & {
|
|
133
133
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
134
134
|
} & {
|
|
135
|
-
flexDirection?: "
|
|
135
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
136
136
|
} & {
|
|
137
137
|
flexGrow?: 0 | 1;
|
|
138
138
|
} & {
|
|
@@ -160,7 +160,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
160
160
|
} & {
|
|
161
161
|
numberSpacing?: "tabular";
|
|
162
162
|
} & {
|
|
163
|
-
order?:
|
|
163
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
164
164
|
} & {
|
|
165
165
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
166
166
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -182,9 +182,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
182
182
|
} & {
|
|
183
183
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
184
184
|
} & {
|
|
185
|
-
truncate?:
|
|
185
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
186
186
|
} & {
|
|
187
|
-
[key: string]:
|
|
187
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
188
188
|
} & {
|
|
189
189
|
hover?: string;
|
|
190
190
|
}, string | number> | Pick<{
|
|
@@ -224,7 +224,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
224
224
|
} & import("../types").DisplaySizes & {
|
|
225
225
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
226
226
|
} & {
|
|
227
|
-
flexDirection?: "
|
|
227
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
228
228
|
} & {
|
|
229
229
|
flexGrow?: 0 | 1;
|
|
230
230
|
} & {
|
|
@@ -252,7 +252,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
252
252
|
} & {
|
|
253
253
|
numberSpacing?: "tabular";
|
|
254
254
|
} & {
|
|
255
|
-
order?:
|
|
255
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
256
256
|
} & {
|
|
257
257
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
258
258
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -274,9 +274,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
274
274
|
} & {
|
|
275
275
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
276
276
|
} & {
|
|
277
|
-
truncate?:
|
|
277
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
278
278
|
} & {
|
|
279
|
-
zIndex?:
|
|
279
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
280
280
|
} & {
|
|
281
281
|
hover?: string;
|
|
282
282
|
}, string | number> | Pick<{
|
|
@@ -316,7 +316,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
316
316
|
} & import("../types").DisplaySizes & {
|
|
317
317
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
318
318
|
} & {
|
|
319
|
-
flexDirection?: "
|
|
319
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
320
320
|
} & {
|
|
321
321
|
flexGrow?: 0 | 1;
|
|
322
322
|
} & {
|
|
@@ -344,7 +344,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
344
344
|
} & {
|
|
345
345
|
numberSpacing?: "tabular";
|
|
346
346
|
} & {
|
|
347
|
-
order?:
|
|
347
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
348
348
|
} & {
|
|
349
349
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
350
350
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -366,9 +366,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
366
366
|
} & {
|
|
367
367
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
368
368
|
} & {
|
|
369
|
-
truncate?:
|
|
369
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
370
370
|
} & {
|
|
371
|
-
[key: string]:
|
|
371
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
372
372
|
} & {
|
|
373
373
|
hover?: string;
|
|
374
374
|
}, string | number>) & React.RefAttributes<unknown>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare type EditorButtonProps = {
|
|
2
3
|
classname?: string;
|
|
3
|
-
onclick?: () =>
|
|
4
|
+
onclick?: () => undefined | void;
|
|
4
5
|
icon?: string;
|
|
5
6
|
text?: string;
|
|
6
7
|
disable?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const EditorButton: ({ classname, disable, onclick, icon, text, }: EditorButtonProps) =>
|
|
9
|
+
declare const EditorButton: ({ classname, disable, onclick, icon, text, }: EditorButtonProps) => React.ReactElement;
|
|
9
10
|
export default EditorButton;
|
|
@@ -6,7 +6,7 @@ declare type RichTextEditorProps = {
|
|
|
6
6
|
};
|
|
7
7
|
advancedEditor?: any;
|
|
8
8
|
advancedEditorToolbar?: boolean;
|
|
9
|
-
toolbarBottom?:
|
|
9
|
+
toolbarBottom?: boolean;
|
|
10
10
|
children?: React.ReactNode | React.ReactNode[];
|
|
11
11
|
className?: string;
|
|
12
12
|
data?: {
|
|
@@ -30,5 +30,5 @@ declare type RichTextEditorProps = {
|
|
|
30
30
|
value?: string;
|
|
31
31
|
maxWidth?: string;
|
|
32
32
|
} & GlobalProps;
|
|
33
|
-
declare const RichTextEditor: (props: RichTextEditorProps) =>
|
|
33
|
+
declare const RichTextEditor: (props: RichTextEditorProps) => React.ReactElement;
|
|
34
34
|
export default RichTextEditor;
|
|
@@ -18,5 +18,5 @@ declare type SectionSeparatorProps = {
|
|
|
18
18
|
text?: string;
|
|
19
19
|
variant?: "card" | "background";
|
|
20
20
|
};
|
|
21
|
-
declare const SectionSeparator: (props: SectionSeparatorProps) =>
|
|
21
|
+
declare const SectionSeparator: (props: SectionSeparatorProps) => React.ReactElement;
|
|
22
22
|
export default SectionSeparator;
|
|
@@ -32,6 +32,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
32
32
|
onChange: InputCallback<HTMLSelectElement>;
|
|
33
33
|
options: SelectOption[];
|
|
34
34
|
required?: boolean;
|
|
35
|
+
showArrow?: boolean;
|
|
35
36
|
value?: string;
|
|
36
37
|
} & {
|
|
37
38
|
alignContent?: never;
|
|
@@ -50,7 +51,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
50
51
|
} & import("../types").DisplaySizes & {
|
|
51
52
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
52
53
|
} & {
|
|
53
|
-
flexDirection?: "
|
|
54
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
54
55
|
} & {
|
|
55
56
|
flexGrow?: 0 | 1;
|
|
56
57
|
} & {
|
|
@@ -78,7 +79,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
78
79
|
} & {
|
|
79
80
|
numberSpacing?: "tabular";
|
|
80
81
|
} & {
|
|
81
|
-
order?:
|
|
82
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
82
83
|
} & {
|
|
83
84
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
84
85
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -100,9 +101,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
100
101
|
} & {
|
|
101
102
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
102
103
|
} & {
|
|
103
|
-
truncate?:
|
|
104
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
104
105
|
} & {
|
|
105
|
-
zIndex?:
|
|
106
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
106
107
|
} & {
|
|
107
108
|
hover?: string;
|
|
108
109
|
}, string | number> | Pick<{
|
|
@@ -132,6 +133,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
132
133
|
onChange: InputCallback<HTMLSelectElement>;
|
|
133
134
|
options: SelectOption[];
|
|
134
135
|
required?: boolean;
|
|
136
|
+
showArrow?: boolean;
|
|
135
137
|
value?: string;
|
|
136
138
|
} & {
|
|
137
139
|
alignContent?: never;
|
|
@@ -150,7 +152,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
150
152
|
} & import("../types").DisplaySizes & {
|
|
151
153
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
152
154
|
} & {
|
|
153
|
-
flexDirection?: "
|
|
155
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
154
156
|
} & {
|
|
155
157
|
flexGrow?: 0 | 1;
|
|
156
158
|
} & {
|
|
@@ -178,7 +180,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
178
180
|
} & {
|
|
179
181
|
numberSpacing?: "tabular";
|
|
180
182
|
} & {
|
|
181
|
-
order?:
|
|
183
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
182
184
|
} & {
|
|
183
185
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
184
186
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -200,9 +202,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
200
202
|
} & {
|
|
201
203
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
202
204
|
} & {
|
|
203
|
-
truncate?:
|
|
205
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
204
206
|
} & {
|
|
205
|
-
[key: string]:
|
|
207
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
206
208
|
} & {
|
|
207
209
|
hover?: string;
|
|
208
210
|
}, string | number> | Pick<{
|
|
@@ -232,6 +234,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
232
234
|
onChange: InputCallback<HTMLSelectElement>;
|
|
233
235
|
options: SelectOption[];
|
|
234
236
|
required?: boolean;
|
|
237
|
+
showArrow?: boolean;
|
|
235
238
|
value?: string;
|
|
236
239
|
} & {
|
|
237
240
|
alignContent?: never;
|
|
@@ -248,7 +251,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
248
251
|
} & import("../types").DisplaySizes & {
|
|
249
252
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
250
253
|
} & {
|
|
251
|
-
flexDirection?: "
|
|
254
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
252
255
|
} & {
|
|
253
256
|
flexGrow?: 0 | 1;
|
|
254
257
|
} & {
|
|
@@ -276,7 +279,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
276
279
|
} & {
|
|
277
280
|
numberSpacing?: "tabular";
|
|
278
281
|
} & {
|
|
279
|
-
order?:
|
|
282
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
280
283
|
} & {
|
|
281
284
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
282
285
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -298,9 +301,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
298
301
|
} & {
|
|
299
302
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
300
303
|
} & {
|
|
301
|
-
truncate?:
|
|
304
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
302
305
|
} & {
|
|
303
|
-
zIndex?:
|
|
306
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
304
307
|
} & {
|
|
305
308
|
hover?: string;
|
|
306
309
|
}, string | number> | Pick<{
|
|
@@ -330,6 +333,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
330
333
|
onChange: InputCallback<HTMLSelectElement>;
|
|
331
334
|
options: SelectOption[];
|
|
332
335
|
required?: boolean;
|
|
336
|
+
showArrow?: boolean;
|
|
333
337
|
value?: string;
|
|
334
338
|
} & {
|
|
335
339
|
alignContent?: never;
|
|
@@ -346,7 +350,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
346
350
|
} & import("../types").DisplaySizes & {
|
|
347
351
|
flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
348
352
|
} & {
|
|
349
|
-
flexDirection?: "
|
|
353
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
350
354
|
} & {
|
|
351
355
|
flexGrow?: 0 | 1;
|
|
352
356
|
} & {
|
|
@@ -374,7 +378,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
374
378
|
} & {
|
|
375
379
|
numberSpacing?: "tabular";
|
|
376
380
|
} & {
|
|
377
|
-
order?:
|
|
381
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
378
382
|
} & {
|
|
379
383
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
380
384
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -396,9 +400,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
396
400
|
} & {
|
|
397
401
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
398
402
|
} & {
|
|
399
|
-
truncate?:
|
|
403
|
+
truncate?: 2 | "none" | 1 | 3 | 4 | 5;
|
|
400
404
|
} & {
|
|
401
|
-
[key: string]:
|
|
405
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
402
406
|
} & {
|
|
403
407
|
hover?: string;
|
|
404
408
|
}, string | number>) & React.RefAttributes<HTMLSelectElement>>;
|
|
@@ -26,5 +26,5 @@ declare type SelectableCardIconProps = {
|
|
|
26
26
|
value?: string;
|
|
27
27
|
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
28
28
|
};
|
|
29
|
-
declare const SelectableCardIcon: (props: SelectableCardIconProps) =>
|
|
29
|
+
declare const SelectableCardIcon: (props: SelectableCardIconProps) => React.ReactElement;
|
|
30
30
|
export default SelectableCardIcon;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericObject } from '../types';
|
|
1
3
|
declare type SelectableIconProps = {
|
|
2
4
|
aria?: {
|
|
3
5
|
[key: string]: string;
|
|
@@ -8,7 +10,7 @@ declare type SelectableIconProps = {
|
|
|
8
10
|
[key: string]: SVGElement;
|
|
9
11
|
};
|
|
10
12
|
disabled?: boolean;
|
|
11
|
-
data?:
|
|
13
|
+
data?: GenericObject;
|
|
12
14
|
htmlOptions?: {
|
|
13
15
|
[key: string]: string | number | boolean | (() => void);
|
|
14
16
|
};
|
|
@@ -20,5 +22,5 @@ declare type SelectableIconProps = {
|
|
|
20
22
|
text: string;
|
|
21
23
|
value?: string;
|
|
22
24
|
};
|
|
23
|
-
declare const SelectableIcon: ({ aria, className, checked, customIcon, data, disabled, htmlOptions, icon, inputId, inputs, multi, name, text, value, ...props }: SelectableIconProps) =>
|
|
25
|
+
declare const SelectableIcon: ({ aria, className, checked, customIcon, data, disabled, htmlOptions, icon, inputId, inputs, multi, name, text, value, ...props }: SelectableIconProps) => React.ReactElement;
|
|
24
26
|
export default SelectableIcon;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectableListItemProps } from './_item.js';
|
|
3
|
+
import { GenericObject } from '../types';
|
|
3
4
|
declare type SelectableListProps = {
|
|
4
5
|
aria?: {
|
|
5
6
|
[key: string]: string;
|
|
6
7
|
};
|
|
7
8
|
children?: React.ReactElement[];
|
|
8
9
|
className?: string;
|
|
9
|
-
data?:
|
|
10
|
+
data?: GenericObject;
|
|
10
11
|
htmlOptions?: {
|
|
11
12
|
[key: string]: string | number | boolean | (() => void);
|
|
12
13
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AvatarProps } from '../pb_avatar/_avatar';
|
|
2
3
|
declare type SourceProps = {
|
|
3
4
|
aria?: {
|
|
@@ -16,5 +17,5 @@ declare type SourceProps = {
|
|
|
16
17
|
type: "events" | "inbound" | "outbound" | "prospecting" | "referral" | "retail" | "user";
|
|
17
18
|
user: AvatarProps;
|
|
18
19
|
};
|
|
19
|
-
declare const Source: ({ aria, className, data, hideIcon, htmlOptions, id, source, type, user, }: SourceProps) =>
|
|
20
|
+
declare const Source: ({ aria, className, data, hideIcon, htmlOptions, id, source, type, user, }: SourceProps) => React.ReactElement;
|
|
20
21
|
export default Source;
|