playbook-ui 13.15.0-alpha.reactselectbump581876 → 13.16.0
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 +80 -80
- 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 +84 -80
- 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 +80 -80
- package/dist/pb_textarea/_textarea.d.ts +84 -84
- package/dist/pb_tooltip/_tooltip.d.ts +80 -80
- 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
|
@@ -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;
|
|
@@ -42,15 +43,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
42
43
|
} & {
|
|
43
44
|
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
44
45
|
} & {
|
|
45
|
-
cursor?: "none" | "progress" | "text" | "
|
|
46
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
|
|
46
47
|
} & {
|
|
47
48
|
dark?: boolean;
|
|
48
49
|
} & {
|
|
49
50
|
display?: import("../types").DisplayType;
|
|
50
51
|
} & import("../types").DisplaySizes & {
|
|
51
|
-
flex?: "none" | "
|
|
52
|
+
flex?: "none" | "initial" | "auto" | "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
|
} & {
|
|
@@ -64,13 +65,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
64
65
|
} & {
|
|
65
66
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
66
67
|
} & {
|
|
67
|
-
marginRight?: "none" | "
|
|
68
|
-
marginLeft?: "none" | "
|
|
69
|
-
marginTop?: "none" | "
|
|
70
|
-
marginBottom?: "none" | "
|
|
71
|
-
marginX?: "none" | "
|
|
72
|
-
marginY?: "none" | "
|
|
73
|
-
margin?: "none" | "
|
|
68
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
69
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
70
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
71
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
72
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
73
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
74
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
74
75
|
break?: string;
|
|
75
76
|
default?: string;
|
|
76
77
|
} & {
|
|
@@ -78,19 +79,19 @@ 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";
|
|
85
86
|
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
86
87
|
} & {
|
|
87
|
-
paddingRight?: "none" | "
|
|
88
|
-
paddingLeft?: "none" | "
|
|
89
|
-
paddingTop?: "none" | "
|
|
90
|
-
paddingBottom?: "none" | "
|
|
91
|
-
paddingX?: "none" | "
|
|
92
|
-
paddingY?: "none" | "
|
|
93
|
-
padding?: "none" | "
|
|
88
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
89
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
90
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
91
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
92
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
93
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
94
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
94
95
|
break?: string;
|
|
95
96
|
default?: string;
|
|
96
97
|
} & {
|
|
@@ -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;
|
|
@@ -142,15 +144,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
142
144
|
} & {
|
|
143
145
|
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
144
146
|
} & {
|
|
145
|
-
cursor?: "none" | "progress" | "text" | "
|
|
147
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
|
|
146
148
|
} & {
|
|
147
149
|
dark?: boolean;
|
|
148
150
|
} & {
|
|
149
151
|
display?: import("../types").DisplayType;
|
|
150
152
|
} & import("../types").DisplaySizes & {
|
|
151
|
-
flex?: "none" | "
|
|
153
|
+
flex?: "none" | "initial" | "auto" | "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
|
} & {
|
|
@@ -164,13 +166,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
164
166
|
} & {
|
|
165
167
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
166
168
|
} & {
|
|
167
|
-
marginRight?: "none" | "
|
|
168
|
-
marginLeft?: "none" | "
|
|
169
|
-
marginTop?: "none" | "
|
|
170
|
-
marginBottom?: "none" | "
|
|
171
|
-
marginX?: "none" | "
|
|
172
|
-
marginY?: "none" | "
|
|
173
|
-
margin?: "none" | "
|
|
169
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
170
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
171
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
172
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
173
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
174
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
175
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
174
176
|
break?: string;
|
|
175
177
|
default?: string;
|
|
176
178
|
} & {
|
|
@@ -178,19 +180,19 @@ 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";
|
|
185
187
|
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
186
188
|
} & {
|
|
187
|
-
paddingRight?: "none" | "
|
|
188
|
-
paddingLeft?: "none" | "
|
|
189
|
-
paddingTop?: "none" | "
|
|
190
|
-
paddingBottom?: "none" | "
|
|
191
|
-
paddingX?: "none" | "
|
|
192
|
-
paddingY?: "none" | "
|
|
193
|
-
padding?: "none" | "
|
|
189
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
190
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
191
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
192
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
193
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
194
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
195
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
194
196
|
break?: string;
|
|
195
197
|
default?: string;
|
|
196
198
|
} & {
|
|
@@ -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;
|
|
@@ -242,13 +245,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
242
245
|
} & {
|
|
243
246
|
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
244
247
|
} & {
|
|
245
|
-
cursor?: "none" | "progress" | "text" | "
|
|
248
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
|
|
246
249
|
} & {
|
|
247
250
|
dark?: boolean;
|
|
248
251
|
} & import("../types").DisplaySizes & {
|
|
249
|
-
flex?: "none" | "
|
|
252
|
+
flex?: "none" | "initial" | "auto" | "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
|
} & {
|
|
@@ -262,13 +265,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
262
265
|
} & {
|
|
263
266
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
264
267
|
} & {
|
|
265
|
-
marginRight?: "none" | "
|
|
266
|
-
marginLeft?: "none" | "
|
|
267
|
-
marginTop?: "none" | "
|
|
268
|
-
marginBottom?: "none" | "
|
|
269
|
-
marginX?: "none" | "
|
|
270
|
-
marginY?: "none" | "
|
|
271
|
-
margin?: "none" | "
|
|
268
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
269
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
270
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
271
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
272
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
273
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
274
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
272
275
|
break?: string;
|
|
273
276
|
default?: string;
|
|
274
277
|
} & {
|
|
@@ -276,19 +279,19 @@ 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";
|
|
283
286
|
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
284
287
|
} & {
|
|
285
|
-
paddingRight?: "none" | "
|
|
286
|
-
paddingLeft?: "none" | "
|
|
287
|
-
paddingTop?: "none" | "
|
|
288
|
-
paddingBottom?: "none" | "
|
|
289
|
-
paddingX?: "none" | "
|
|
290
|
-
paddingY?: "none" | "
|
|
291
|
-
padding?: "none" | "
|
|
288
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
289
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
290
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
291
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
292
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
293
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
294
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
292
295
|
break?: string;
|
|
293
296
|
default?: string;
|
|
294
297
|
} & {
|
|
@@ -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;
|
|
@@ -340,13 +344,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
340
344
|
} & {
|
|
341
345
|
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
342
346
|
} & {
|
|
343
|
-
cursor?: "none" | "progress" | "text" | "
|
|
347
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
|
|
344
348
|
} & {
|
|
345
349
|
dark?: boolean;
|
|
346
350
|
} & import("../types").DisplaySizes & {
|
|
347
|
-
flex?: "none" | "
|
|
351
|
+
flex?: "none" | "initial" | "auto" | "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
|
} & {
|
|
@@ -360,13 +364,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
360
364
|
} & {
|
|
361
365
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
362
366
|
} & {
|
|
363
|
-
marginRight?: "none" | "
|
|
364
|
-
marginLeft?: "none" | "
|
|
365
|
-
marginTop?: "none" | "
|
|
366
|
-
marginBottom?: "none" | "
|
|
367
|
-
marginX?: "none" | "
|
|
368
|
-
marginY?: "none" | "
|
|
369
|
-
margin?: "none" | "
|
|
367
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
368
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
369
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
370
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
371
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
372
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
373
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
370
374
|
break?: string;
|
|
371
375
|
default?: string;
|
|
372
376
|
} & {
|
|
@@ -374,19 +378,19 @@ 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";
|
|
381
385
|
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
|
382
386
|
} & {
|
|
383
|
-
paddingRight?: "none" | "
|
|
384
|
-
paddingLeft?: "none" | "
|
|
385
|
-
paddingTop?: "none" | "
|
|
386
|
-
paddingBottom?: "none" | "
|
|
387
|
-
paddingX?: "none" | "
|
|
388
|
-
paddingY?: "none" | "
|
|
389
|
-
padding?: "none" | "
|
|
387
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
388
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
389
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
390
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
391
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
392
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
393
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
|
390
394
|
break?: string;
|
|
391
395
|
default?: string;
|
|
392
396
|
} & {
|
|
@@ -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;
|