playbook-ui 13.15.0 → 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/CHANGELOG.md +28 -0
- 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 +4 -4
- 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 +8 -4
- 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 +4 -4
- package/dist/pb_textarea/_textarea.d.ts +4 -4
- package/dist/pb_tooltip/_tooltip.d.ts +4 -4
- package/dist/playbook-doc.js +7 -7
- package/dist/playbook-rails.js +3 -3
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +4 -4
- 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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# 13.15.0
|
|
2
|
+
##### January 5, 2024
|
|
3
|
+
|
|
4
|
+
List of changes:
|
|
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
|
+
|
|
28
|
+
|
|
1
29
|
# Customize Your Calendar: Introducing Quick Pick Custom Ranges for Tailored Date Selection
|
|
2
30
|
|
|
3
31
|
##### December 19, 2023
|
|
@@ -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;
|
|
@@ -66,7 +66,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
66
|
} & {
|
|
67
67
|
numberSpacing?: "tabular";
|
|
68
68
|
} & {
|
|
69
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -160,7 +160,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
160
160
|
} & {
|
|
161
161
|
numberSpacing?: "tabular";
|
|
162
162
|
} & {
|
|
163
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -252,7 +252,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
252
252
|
} & {
|
|
253
253
|
numberSpacing?: "tabular";
|
|
254
254
|
} & {
|
|
255
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -344,7 +344,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
344
344
|
} & {
|
|
345
345
|
numberSpacing?: "tabular";
|
|
346
346
|
} & {
|
|
347
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -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;
|
|
@@ -78,7 +79,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
78
79
|
} & {
|
|
79
80
|
numberSpacing?: "tabular";
|
|
80
81
|
} & {
|
|
81
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -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;
|
|
@@ -178,7 +180,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
178
180
|
} & {
|
|
179
181
|
numberSpacing?: "tabular";
|
|
180
182
|
} & {
|
|
181
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -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;
|
|
@@ -276,7 +279,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
276
279
|
} & {
|
|
277
280
|
numberSpacing?: "tabular";
|
|
278
281
|
} & {
|
|
279
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -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;
|
|
@@ -374,7 +378,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
374
378
|
} & {
|
|
375
379
|
numberSpacing?: "tabular";
|
|
376
380
|
} & {
|
|
377
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
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";
|
|
@@ -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;
|
|
@@ -73,7 +73,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
73
73
|
} & {
|
|
74
74
|
numberSpacing?: "tabular";
|
|
75
75
|
} & {
|
|
76
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
76
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
77
77
|
} & {
|
|
78
78
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
79
79
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -174,7 +174,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
174
174
|
} & {
|
|
175
175
|
numberSpacing?: "tabular";
|
|
176
176
|
} & {
|
|
177
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
177
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
178
178
|
} & {
|
|
179
179
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
180
180
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -273,7 +273,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
273
273
|
} & {
|
|
274
274
|
numberSpacing?: "tabular";
|
|
275
275
|
} & {
|
|
276
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
276
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
277
277
|
} & {
|
|
278
278
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
279
279
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -372,7 +372,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
372
372
|
} & {
|
|
373
373
|
numberSpacing?: "tabular";
|
|
374
374
|
} & {
|
|
375
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
375
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
376
376
|
} & {
|
|
377
377
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
378
378
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -73,7 +73,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
73
73
|
} & {
|
|
74
74
|
numberSpacing?: "tabular";
|
|
75
75
|
} & {
|
|
76
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
76
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
77
77
|
} & {
|
|
78
78
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
79
79
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -173,7 +173,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
173
173
|
} & {
|
|
174
174
|
numberSpacing?: "tabular";
|
|
175
175
|
} & {
|
|
176
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
176
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
177
177
|
} & {
|
|
178
178
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
179
179
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -271,7 +271,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
271
271
|
} & {
|
|
272
272
|
numberSpacing?: "tabular";
|
|
273
273
|
} & {
|
|
274
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
274
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
275
275
|
} & {
|
|
276
276
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
277
277
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -369,7 +369,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
369
369
|
} & {
|
|
370
370
|
numberSpacing?: "tabular";
|
|
371
371
|
} & {
|
|
372
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
372
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
373
373
|
} & {
|
|
374
374
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
375
375
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -67,7 +67,7 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
|
|
|
67
67
|
} & {
|
|
68
68
|
numberSpacing?: "tabular";
|
|
69
69
|
} & {
|
|
70
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
70
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
71
71
|
} & {
|
|
72
72
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
73
73
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -161,7 +161,7 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
|
|
|
161
161
|
} & {
|
|
162
162
|
numberSpacing?: "tabular";
|
|
163
163
|
} & {
|
|
164
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
164
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
165
165
|
} & {
|
|
166
166
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
167
167
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -253,7 +253,7 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
|
|
|
253
253
|
} & {
|
|
254
254
|
numberSpacing?: "tabular";
|
|
255
255
|
} & {
|
|
256
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
256
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
257
257
|
} & {
|
|
258
258
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
259
259
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -345,7 +345,7 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
|
|
|
345
345
|
} & {
|
|
346
346
|
numberSpacing?: "tabular";
|
|
347
347
|
} & {
|
|
348
|
-
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
348
|
+
order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
349
349
|
} & {
|
|
350
350
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
351
351
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|