@skapp/skapp-ui 0.0.0-stage → 1.0.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/CHANGELOG.md +34 -0
- package/LICENSE +661 -0
- package/README.md +96 -3
- package/dist/cjs/index.cjs +13573 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/esm/index.esm.js +13276 -0
- package/dist/esm/index.esm.js.map +1 -0
- package/dist/index.d.ts +4050 -0
- package/dist/tailwind.css +1 -0
- package/package.json +145 -6
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,4050 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactElement, InputHTMLAttributes, ReactNode, KeyboardEvent, JSX, FC, TextareaHTMLAttributes, SVGProps, Dispatch, SetStateAction, RefObject } from 'react';
|
|
3
|
+
import { DayPickerProps, DateRange } from 'react-day-picker';
|
|
4
|
+
|
|
5
|
+
type AvatarSize = "xs" | "sm" | "lg" | "xl" | "2xl";
|
|
6
|
+
interface AvatarProps {
|
|
7
|
+
id: string;
|
|
8
|
+
size?: AvatarSize;
|
|
9
|
+
src?: string;
|
|
10
|
+
alt?: string;
|
|
11
|
+
firstName?: string;
|
|
12
|
+
lastName?: string;
|
|
13
|
+
isBorder?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
count?: number;
|
|
16
|
+
isClickable?: boolean;
|
|
17
|
+
onClick?: (event: React$1.MouseEvent<HTMLDivElement>) => void;
|
|
18
|
+
onKeyDown?: (event: React$1.KeyboardEvent<HTMLDivElement>) => void;
|
|
19
|
+
title?: string;
|
|
20
|
+
isPlaceholder?: boolean;
|
|
21
|
+
icon?: React$1.ReactNode;
|
|
22
|
+
ariaHidden?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const Avatar: React$1.FC<AvatarProps>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A reusable Badge component with size variants
|
|
28
|
+
*
|
|
29
|
+
* @param children - The content to display inside the badge
|
|
30
|
+
* @param size - Size variant: "lg" (large) or "sm" (small)
|
|
31
|
+
* @param backgroundColor - Background color class
|
|
32
|
+
* @param textColor - Text color class
|
|
33
|
+
* @param className - Additional CSS classes for custom styling
|
|
34
|
+
* @param rest - All other native HTML div attributes
|
|
35
|
+
* @returns TSX.Element - Rendered badge component
|
|
36
|
+
*/
|
|
37
|
+
type BadgeSize = "sm" | "lg";
|
|
38
|
+
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
39
|
+
children: React__default.ReactNode;
|
|
40
|
+
size?: BadgeSize;
|
|
41
|
+
backgroundColor?: string;
|
|
42
|
+
textColor?: string;
|
|
43
|
+
className?: string;
|
|
44
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
45
|
+
}
|
|
46
|
+
declare const Badge: React__default.FC<BadgeProps>;
|
|
47
|
+
|
|
48
|
+
interface IconProps$7 extends React$1.SVGProps<SVGSVGElement> {
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
type ButtonVariant$1 = "primary" | "secondary" | "tertiary" | "tertiary-outlined" | "error" | "transparent";
|
|
52
|
+
type ButtonSize$1 = "sm" | "md" | "lg";
|
|
53
|
+
type IconPosition$1 = "start" | "end";
|
|
54
|
+
interface ButtonProps$1 extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
55
|
+
variant?: ButtonVariant$1;
|
|
56
|
+
size?: ButtonSize$1;
|
|
57
|
+
icon?: ReactElement<IconProps$7>;
|
|
58
|
+
showIcon?: boolean;
|
|
59
|
+
iconPosition?: IconPosition$1;
|
|
60
|
+
fullWidth?: boolean;
|
|
61
|
+
isBoxShaped?: boolean;
|
|
62
|
+
className?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* A flexible Button component with multiple variants, sizes, and icon support
|
|
66
|
+
*
|
|
67
|
+
* @param variant - Visual style variant of the button (default: "primary")
|
|
68
|
+
* @param size - Size of the button (default: "md")
|
|
69
|
+
* @param icon - React element to display as an icon
|
|
70
|
+
* @param showIcon - Whether to display the icon (default: true)
|
|
71
|
+
* @param iconPosition - Position of the icon relative to text (default: "end")
|
|
72
|
+
* @param fullWidth - Whether button should take full width of container (default: false)
|
|
73
|
+
* @param rest - All other native HTML button attributes
|
|
74
|
+
* @returns TSX.Element - Rendered button component
|
|
75
|
+
*/
|
|
76
|
+
declare const Button$1: React$1.FC<ButtonProps$1>;
|
|
77
|
+
|
|
78
|
+
interface IconProps$6 extends React$1.SVGProps<SVGSVGElement> {
|
|
79
|
+
className?: string;
|
|
80
|
+
}
|
|
81
|
+
type ButtonVariant = "primary" | "secondary" | "tertiary" | "error" | "line";
|
|
82
|
+
type ButtonSize = "sm" | "md" | "lg";
|
|
83
|
+
type IconPosition = "start" | "end";
|
|
84
|
+
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
85
|
+
variant?: ButtonVariant;
|
|
86
|
+
size?: ButtonSize;
|
|
87
|
+
icon?: ReactElement<IconProps$6>;
|
|
88
|
+
iconPosition?: IconPosition;
|
|
89
|
+
isFullWidth?: boolean;
|
|
90
|
+
className?: string;
|
|
91
|
+
isLoading?: boolean;
|
|
92
|
+
/** Set false for buttons sized by their label, e.g. inside a compact footer. */
|
|
93
|
+
hasMinWidth?: boolean;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Button component (New) — all sizes use 8px border-radius.
|
|
97
|
+
*
|
|
98
|
+
* Specifications:
|
|
99
|
+
* Large — border-radius: 8px | font: Inter 16px Medium | padding: 16px 32px
|
|
100
|
+
* Medium — border-radius: 8px | font: Inter 14px Medium | padding: 12px 20px
|
|
101
|
+
* Small — border-radius: 8px | font: Inter 12px Medium | padding: 8px 20px
|
|
102
|
+
*/
|
|
103
|
+
declare const Button: React$1.FC<ButtonProps>;
|
|
104
|
+
|
|
105
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
106
|
+
isSelected?: boolean;
|
|
107
|
+
className?: string;
|
|
108
|
+
children: React$1.ReactNode;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* A Card component that provides a container with optional selection styling
|
|
112
|
+
*
|
|
113
|
+
* @param isSelected - Whether the card is in a selected state
|
|
114
|
+
* @param className - Additional CSS classes
|
|
115
|
+
* @param children - Card content
|
|
116
|
+
* @param rest - Additional HTML attributes
|
|
117
|
+
* @returns TSX.Element - Rendered card component
|
|
118
|
+
*/
|
|
119
|
+
declare const Card: React$1.FC<CardProps>;
|
|
120
|
+
|
|
121
|
+
type CheckboxState = "default" | "focus" | "selected" | "disabled";
|
|
122
|
+
interface CheckboxProps {
|
|
123
|
+
id?: string;
|
|
124
|
+
label?: string;
|
|
125
|
+
state?: CheckboxState;
|
|
126
|
+
checked?: boolean;
|
|
127
|
+
disabled?: boolean;
|
|
128
|
+
focused?: boolean;
|
|
129
|
+
onChange?: (checked: boolean) => void;
|
|
130
|
+
onFocus?: () => void;
|
|
131
|
+
onBlur?: () => void;
|
|
132
|
+
className?: string;
|
|
133
|
+
labelClassName?: string;
|
|
134
|
+
ariaLabel?: string;
|
|
135
|
+
}
|
|
136
|
+
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Props for the CheckTask component.
|
|
140
|
+
* Supports all native HTML input element attributes (e.g. id, name, tabIndex, aria-label) except onChange.
|
|
141
|
+
*
|
|
142
|
+
* @prop checked - Whether the checkbox is checked. Defaults to false.
|
|
143
|
+
* @prop disabled - Locks the component; greyed out and unclickable. Defaults to false.
|
|
144
|
+
* @prop onChange - Fired on toggle; receives the new boolean value.
|
|
145
|
+
* @prop className - Extra Tailwind classes on the root element; use only for margins and positioning.
|
|
146
|
+
*/
|
|
147
|
+
interface CheckTaskProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange"> {
|
|
148
|
+
onChange: (checked: boolean) => void;
|
|
149
|
+
}
|
|
150
|
+
declare const CheckTask: React__default.FC<CheckTaskProps>;
|
|
151
|
+
|
|
152
|
+
type ChipSize = "sm" | "lg";
|
|
153
|
+
interface ChipAriaLabels {
|
|
154
|
+
chip?: string;
|
|
155
|
+
removeButton?: string;
|
|
156
|
+
}
|
|
157
|
+
interface ChipProps {
|
|
158
|
+
label: ReactNode;
|
|
159
|
+
size?: ChipSize;
|
|
160
|
+
isSelected?: boolean;
|
|
161
|
+
disabled?: boolean;
|
|
162
|
+
prefixIcon?: ReactElement;
|
|
163
|
+
onClick?: () => void;
|
|
164
|
+
onDelete?: () => void;
|
|
165
|
+
ariaLabel?: ChipAriaLabels;
|
|
166
|
+
className?: string;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* A pill-shaped selectable element with an optional prefix icon and close icon.
|
|
170
|
+
* Supports keyboard interaction — Enter or Space selects, Backspace or Delete
|
|
171
|
+
* removes while selected. The chip sizes itself to its content, so constrain or
|
|
172
|
+
* truncate the label at the call site when space is limited.
|
|
173
|
+
*
|
|
174
|
+
* Specifications:
|
|
175
|
+
* Large — border-radius: 64px | font: 14px | padding: 12px 16px | height: 41px
|
|
176
|
+
* Small — border-radius: 64px | font: 12px | padding: 8px 12px | height: 32px
|
|
177
|
+
*
|
|
178
|
+
* @param label - The content displayed inside the chip
|
|
179
|
+
* @param size - Size variant — "lg" (Large) or "sm" (Small) (default: "lg")
|
|
180
|
+
* @param isSelected - Whether the chip is in the selected state (default: false)
|
|
181
|
+
* @param disabled - Whether the chip is disabled (default: false)
|
|
182
|
+
* @param prefixIcon - Icon rendered before the label
|
|
183
|
+
* @param onClick - Click handler for the chip
|
|
184
|
+
* @param onDelete - Delete handler; shows the close icon when provided
|
|
185
|
+
* @param ariaLabel - Accessible names for the chip and its close button; both icons are hidden from assistive tech, so the close button relies on `ariaLabel.removeButton` for its name
|
|
186
|
+
* @param className - Additional CSS classes for the outer container
|
|
187
|
+
* @returns TSX.Element - Rendered chip component
|
|
188
|
+
*/
|
|
189
|
+
declare const Chip: React__default.FC<ChipProps>;
|
|
190
|
+
|
|
191
|
+
interface ChipToggleOption {
|
|
192
|
+
id: string;
|
|
193
|
+
label: string;
|
|
194
|
+
badge?: {
|
|
195
|
+
text: string;
|
|
196
|
+
backgroundColor?: string;
|
|
197
|
+
textColor?: string;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
interface ChipToggleProps {
|
|
201
|
+
leftOption: ChipToggleOption;
|
|
202
|
+
rightOption: ChipToggleOption;
|
|
203
|
+
selectedId: string;
|
|
204
|
+
onChange: (id: string) => void;
|
|
205
|
+
disabled?: boolean;
|
|
206
|
+
className?: string;
|
|
207
|
+
ariaLabel?: string;
|
|
208
|
+
}
|
|
209
|
+
declare const ChipToggle: React__default.FC<ChipToggleProps>;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* A simple reusable Label component with customizable colors
|
|
213
|
+
*
|
|
214
|
+
* @param children - The content to display inside the label
|
|
215
|
+
* @param backgroundColor - Background color class (default: "bg-Label-background-label-bg-purple")
|
|
216
|
+
* @param textColor - Text color class (default: "text-Label-text-label-text-purple")
|
|
217
|
+
* @param className - Additional CSS classes for custom styling
|
|
218
|
+
* @param rest - All other native HTML div attributes
|
|
219
|
+
* @returns TSX.Element - Rendered label component
|
|
220
|
+
*/
|
|
221
|
+
interface LabelProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
222
|
+
children: React__default.ReactNode;
|
|
223
|
+
backgroundColor?: string;
|
|
224
|
+
textColor?: string;
|
|
225
|
+
className?: string;
|
|
226
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
227
|
+
}
|
|
228
|
+
declare const Label: React__default.FC<LabelProps>;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Props for the Legend component
|
|
232
|
+
*/
|
|
233
|
+
interface LegendProps {
|
|
234
|
+
/** The color of the bullet (Tailwind bg-* class) */
|
|
235
|
+
color: string;
|
|
236
|
+
/** The text label */
|
|
237
|
+
label: string;
|
|
238
|
+
/** Optional number/value to display at the end */
|
|
239
|
+
value?: number | string;
|
|
240
|
+
/** Additional CSS classes */
|
|
241
|
+
className?: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type RadioButtonType = "tick" | "dot";
|
|
245
|
+
interface RadioButtonProps {
|
|
246
|
+
isSelected: boolean;
|
|
247
|
+
className?: string;
|
|
248
|
+
variant?: RadioButtonType;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* A RadioButton component that displays a selectable radio button
|
|
252
|
+
*
|
|
253
|
+
* @param isSelected - Whether the radio button is selected
|
|
254
|
+
* @param className - Additional CSS classes
|
|
255
|
+
* @param variant - "tick" shows a green tick when selected (default), "dot" shows a filled/outlined circle
|
|
256
|
+
* @returns TSX.Element - Rendered radio button component
|
|
257
|
+
*/
|
|
258
|
+
declare const RadioButton: React$1.FC<RadioButtonProps>;
|
|
259
|
+
|
|
260
|
+
type TooltipPosition$2 = "top" | "bottom" | "left" | "right";
|
|
261
|
+
interface TooltipProps {
|
|
262
|
+
content: React__default.ReactNode;
|
|
263
|
+
position?: TooltipPosition$2;
|
|
264
|
+
children: React__default.ReactNode;
|
|
265
|
+
className?: string;
|
|
266
|
+
delay?: number;
|
|
267
|
+
disabled?: boolean;
|
|
268
|
+
id?: string;
|
|
269
|
+
fullWidth?: boolean;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* A customizable tooltip component that displays content on hover or focus.
|
|
273
|
+
* Supports multiple positioning options (top, bottom, left, right) and includes
|
|
274
|
+
* proper accessibility features with ARIA attributes. The tooltip includes
|
|
275
|
+
* visual arrows pointing to the trigger element and can be customized with
|
|
276
|
+
* delay timing, custom styling, and can be disabled when needed.
|
|
277
|
+
*
|
|
278
|
+
* @param content - Content to display in the tooltip; accepts a string or any React node
|
|
279
|
+
* @param position - Position of the tooltip relative to the trigger (default: "top")
|
|
280
|
+
* @param children - Trigger element that activates the tooltip
|
|
281
|
+
* @param className - Additional CSS classes for styling
|
|
282
|
+
* @param delay - Delay before showing tooltip in milliseconds (default: 200)
|
|
283
|
+
* @param disabled - Whether the tooltip is disabled (default: false)
|
|
284
|
+
* @param id - Custom ID for the tooltip element
|
|
285
|
+
* @param fullWidth - Whether the trigger wrapper spans the full width (default: false). Meant for `top` and `bottom`, where the tooltip centres on the whole row; with `left` or `right` it sits outside the row's outer edge. The trigger must be focusable for keyboard users
|
|
286
|
+
* @returns TSX.Element - Rendered tooltip component
|
|
287
|
+
*/
|
|
288
|
+
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
289
|
+
|
|
290
|
+
type PopoverSide = "top" | "bottom" | "left" | "right";
|
|
291
|
+
interface PopoverProps {
|
|
292
|
+
/** Content rendered inside the anchored card. */
|
|
293
|
+
content: React__default.ReactNode;
|
|
294
|
+
/** Trigger element the popover is anchored to and wraps. */
|
|
295
|
+
children: React__default.ReactNode;
|
|
296
|
+
/** Side of the trigger the popover appears on (default: "top"). */
|
|
297
|
+
side?: PopoverSide;
|
|
298
|
+
/** Whether the popover is visible (default: true). */
|
|
299
|
+
open?: boolean;
|
|
300
|
+
/** Additional classes for the floating card. */
|
|
301
|
+
className?: string;
|
|
302
|
+
}
|
|
303
|
+
declare const Popover: React__default.FC<PopoverProps>;
|
|
304
|
+
|
|
305
|
+
interface TextWithIconProps {
|
|
306
|
+
projectName: string;
|
|
307
|
+
icon: React__default.ReactNode;
|
|
308
|
+
ariaLabel?: string;
|
|
309
|
+
}
|
|
310
|
+
declare function TextWithIcon({ projectName, icon, ariaLabel, }: TextWithIconProps): React__default.JSX.Element;
|
|
311
|
+
|
|
312
|
+
interface ImageButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
313
|
+
image: {
|
|
314
|
+
src: string | undefined;
|
|
315
|
+
alt: string;
|
|
316
|
+
};
|
|
317
|
+
isSelected: boolean;
|
|
318
|
+
onSelectionChange?: (isSelected: boolean) => void;
|
|
319
|
+
}
|
|
320
|
+
interface IconButtonProps$1 extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "className"> {
|
|
321
|
+
actionType: "edit" | "close" | "none";
|
|
322
|
+
onClick?: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
323
|
+
className?: {
|
|
324
|
+
button?: string;
|
|
325
|
+
icon?: string;
|
|
326
|
+
};
|
|
327
|
+
ariaLabel?: string;
|
|
328
|
+
}
|
|
329
|
+
interface SelectableImageButtonProps {
|
|
330
|
+
imageButton: ImageButtonProps;
|
|
331
|
+
actionButton: IconButtonProps$1;
|
|
332
|
+
wrapperClassname?: string;
|
|
333
|
+
}
|
|
334
|
+
declare const SelectableImageButton: React$1.FC<SelectableImageButtonProps>;
|
|
335
|
+
|
|
336
|
+
interface SpinnerProps {
|
|
337
|
+
size?: number;
|
|
338
|
+
}
|
|
339
|
+
declare const Spinner: React__default.FC<SpinnerProps>;
|
|
340
|
+
|
|
341
|
+
interface AddTileProps$1 extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
342
|
+
id: string;
|
|
343
|
+
className?: string;
|
|
344
|
+
error: boolean;
|
|
345
|
+
}
|
|
346
|
+
declare const AddTile: React$1.FC<AddTileProps$1>;
|
|
347
|
+
|
|
348
|
+
interface PriorityIconProps {
|
|
349
|
+
className?: string;
|
|
350
|
+
icon?: React__default.ReactNode;
|
|
351
|
+
ariaLabel?: string;
|
|
352
|
+
bgColor: string;
|
|
353
|
+
}
|
|
354
|
+
declare const PriorityIcon: React__default.FC<PriorityIconProps>;
|
|
355
|
+
|
|
356
|
+
interface InfoTipBannerProps {
|
|
357
|
+
status: "error" | "warning" | "info";
|
|
358
|
+
description?: string;
|
|
359
|
+
}
|
|
360
|
+
declare const InfoTipBanner: React__default.FC<InfoTipBannerProps>;
|
|
361
|
+
|
|
362
|
+
interface EmptyDataViewProps {
|
|
363
|
+
icon?: React__default.ReactNode;
|
|
364
|
+
title: string;
|
|
365
|
+
description: string;
|
|
366
|
+
className?: {
|
|
367
|
+
wrapper?: string;
|
|
368
|
+
title?: string;
|
|
369
|
+
description?: string;
|
|
370
|
+
};
|
|
371
|
+
button?: ButtonProps;
|
|
372
|
+
secondaryButton?: ButtonProps;
|
|
373
|
+
}
|
|
374
|
+
declare const EmptyDataView: ({ icon, title, description, className, button, secondaryButton, }: EmptyDataViewProps) => React__default.JSX.Element;
|
|
375
|
+
|
|
376
|
+
interface ZIndex {
|
|
377
|
+
backdrop?: number;
|
|
378
|
+
modal?: number;
|
|
379
|
+
}
|
|
380
|
+
type DialogRole = "dialog" | "alertdialog";
|
|
381
|
+
/**
|
|
382
|
+
* Props for BasicModal. `id` prefixes the ids used for labelling: the element with id `${id}-title` names the dialog and, when it has a `tabindex` attribute (for example `tabIndex={-1}`), receives focus when the modal opens; otherwise the modal container does. The element with id `${id}-content` describes the dialog when `hasDescription` is set.
|
|
383
|
+
*/
|
|
384
|
+
interface BasicModalProps {
|
|
385
|
+
isOpen: boolean;
|
|
386
|
+
showBackDrop?: boolean;
|
|
387
|
+
hasDescription?: boolean;
|
|
388
|
+
id: string;
|
|
389
|
+
children: React__default.ReactNode;
|
|
390
|
+
className?: string;
|
|
391
|
+
onClose: () => void;
|
|
392
|
+
closeOnBackdropClick?: boolean;
|
|
393
|
+
backdropBlur?: boolean;
|
|
394
|
+
zIndex?: ZIndex;
|
|
395
|
+
width?: number;
|
|
396
|
+
height?: number;
|
|
397
|
+
ariaLabel?: string;
|
|
398
|
+
role?: DialogRole;
|
|
399
|
+
}
|
|
400
|
+
declare const BasicModal: React__default.FC<BasicModalProps>;
|
|
401
|
+
|
|
402
|
+
interface IconProps$5 extends React$1.SVGProps<SVGSVGElement> {
|
|
403
|
+
className?: string;
|
|
404
|
+
}
|
|
405
|
+
type IconButtonSize = "md" | "lg";
|
|
406
|
+
interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
407
|
+
icon: ReactElement<IconProps$5>;
|
|
408
|
+
/** @deprecated Use `shape="rounded"` instead. */
|
|
409
|
+
isRounded?: boolean;
|
|
410
|
+
shape?: "default" | "rounded" | "square";
|
|
411
|
+
size?: IconButtonSize;
|
|
412
|
+
variant?: "default" | "outlined" | "tertiary" | "transparent" | "no-background";
|
|
413
|
+
badge?: {
|
|
414
|
+
count: number;
|
|
415
|
+
show?: boolean;
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* An icon button component with hover state and optional badge
|
|
420
|
+
*
|
|
421
|
+
* @param icon - React element to display as an icon (required)
|
|
422
|
+
* @param badge - Optional badge configuration with count and visibility
|
|
423
|
+
* @param size - Size of the rounded shape: md (36px, default) or lg (48px)
|
|
424
|
+
* @param rest - All other native HTML button attributes
|
|
425
|
+
* @returns TSX.Element - Rendered icon button component
|
|
426
|
+
*/
|
|
427
|
+
declare const IconButton: React$1.FC<IconButtonProps>;
|
|
428
|
+
|
|
429
|
+
interface TruncatedTextProps {
|
|
430
|
+
/** The text content to display */
|
|
431
|
+
text: string;
|
|
432
|
+
/** Unique key for managing expanded state */
|
|
433
|
+
uniqueKey: string;
|
|
434
|
+
/** Maximum number of lines before truncation */
|
|
435
|
+
maxLines?: number;
|
|
436
|
+
/** Custom class name for the text */
|
|
437
|
+
className?: string;
|
|
438
|
+
/** Custom text for read more button */
|
|
439
|
+
readMoreText?: string;
|
|
440
|
+
/** Custom text for read less button */
|
|
441
|
+
readLessText?: string;
|
|
442
|
+
/** Callback when expanded state changes */
|
|
443
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
interface TabItem {
|
|
447
|
+
id: string;
|
|
448
|
+
label: React$1.ReactNode;
|
|
449
|
+
disabled?: boolean;
|
|
450
|
+
}
|
|
451
|
+
type TabSize = "sm" | "md" | "lg";
|
|
452
|
+
interface TabsProps {
|
|
453
|
+
tabs: TabItem[];
|
|
454
|
+
activeTabId: string;
|
|
455
|
+
onTabChange: (tabId: string) => void;
|
|
456
|
+
size?: TabSize;
|
|
457
|
+
className?: string;
|
|
458
|
+
ariaLabel?: string;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* A flexible Tabs component for navigation between different content sections
|
|
462
|
+
*
|
|
463
|
+
* @param tabs - Array of tab items with id, label, and optional disabled state
|
|
464
|
+
* @param activeTabId - ID of the currently active tab
|
|
465
|
+
* @param onTabChange - Callback function called when a tab is clicked
|
|
466
|
+
* @param size - Size variant of the tabs (default: "md")
|
|
467
|
+
* @param className - Additional CSS classes for styling
|
|
468
|
+
* @param ariaLabel - Accessible label for the tab list
|
|
469
|
+
* @returns TSX.Element - Rendered tabs component
|
|
470
|
+
*/
|
|
471
|
+
declare const Tabs: React$1.FC<TabsProps>;
|
|
472
|
+
|
|
473
|
+
interface IconProps$4 extends React__default.SVGProps<SVGSVGElement> {
|
|
474
|
+
className?: string;
|
|
475
|
+
}
|
|
476
|
+
interface ActionButtonProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
477
|
+
icon?: ReactElement<IconProps$4>;
|
|
478
|
+
className?: string;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
type PopperPosition = "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top";
|
|
482
|
+
type PositionStrategy = "absolute" | "fixed" | "relative" | "sticky";
|
|
483
|
+
interface PopperProps {
|
|
484
|
+
/** The HTML element to which the popper is anchored. When null, popper will not render. */
|
|
485
|
+
anchorEl: null | HTMLElement;
|
|
486
|
+
/** Optional fixed width for the popper to match the anchor element width */
|
|
487
|
+
anchorElWidth?: number;
|
|
488
|
+
/** Callback function triggered when the popper should close (click away, Escape key) */
|
|
489
|
+
handleClose?: (e: MouseEvent | TouchEvent | KeyboardEvent) => void;
|
|
490
|
+
/** Position of the popper relative to the anchor element */
|
|
491
|
+
position: PopperPosition;
|
|
492
|
+
/** Unique identifier for the popper element */
|
|
493
|
+
id: string | undefined;
|
|
494
|
+
/** Controls the visibility of the popper */
|
|
495
|
+
open: boolean;
|
|
496
|
+
/** Content to be displayed inside the popper */
|
|
497
|
+
children?: ReactNode;
|
|
498
|
+
/** Additional CSS classes for the wrapper div */
|
|
499
|
+
wrapperClassName?: string;
|
|
500
|
+
/** Additional CSS classes for the container div */
|
|
501
|
+
containerClassName?: string;
|
|
502
|
+
/** Enable automatic flipping to avoid viewport overflow (default: false) */
|
|
503
|
+
isFlip?: boolean;
|
|
504
|
+
/** Transition duration in milliseconds (default: 100) */
|
|
505
|
+
timeout?: number;
|
|
506
|
+
/** ARIA label for accessibility */
|
|
507
|
+
ariaLabel?: string;
|
|
508
|
+
/** ARIA role for the popper element (default: "dialog") */
|
|
509
|
+
ariaRole?: string;
|
|
510
|
+
/** ID of the element that labels this popper for accessibility */
|
|
511
|
+
ariaLabelledBy?: string;
|
|
512
|
+
/** Distance in pixels between the popper and the anchor element (default: 8) */
|
|
513
|
+
offset?: number;
|
|
514
|
+
/** Padding in pixels between the popper and the page edges (default: 16) */
|
|
515
|
+
viewportPadding?: number;
|
|
516
|
+
/** Positioning strategy for the popper element (default: "absolute") */
|
|
517
|
+
positionStrategy?: PositionStrategy;
|
|
518
|
+
/** Disable automatic focus of the first focusable element inside the popper when it opens */
|
|
519
|
+
disableAutoFocus?: boolean;
|
|
520
|
+
/** Called once the popper is open and positioned, i.e. when its content becomes focusable */
|
|
521
|
+
onOpened?: () => void;
|
|
522
|
+
}
|
|
523
|
+
declare const Popper: ({ anchorEl, anchorElWidth, handleClose, position, id, open, children, wrapperClassName, containerClassName, isFlip, timeout, ariaLabel, ariaRole, ariaLabelledBy, offset, viewportPadding, positionStrategy, disableAutoFocus, onOpened, }: PopperProps) => JSX.Element | null;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Props for the DatePicker component
|
|
527
|
+
* @extends DayPickerProps from react-day-picker
|
|
528
|
+
*/
|
|
529
|
+
type DatePickerProps = DayPickerProps & {
|
|
530
|
+
/**
|
|
531
|
+
* The trigger element that will open the date picker when clicked.
|
|
532
|
+
* Must be a single React element (button, div, etc.)
|
|
533
|
+
*/
|
|
534
|
+
children: React__default.ReactElement;
|
|
535
|
+
/**
|
|
536
|
+
* External ref to control the trigger element from parent component.
|
|
537
|
+
* When provided, the DatePicker won't manage its own internal ref.
|
|
538
|
+
* Useful for programmatic control or focus management.
|
|
539
|
+
*/
|
|
540
|
+
triggerRef?: React__default.RefObject<HTMLElement>;
|
|
541
|
+
/**
|
|
542
|
+
* Props to pass to the underlying Popper component.
|
|
543
|
+
* Controls position, offset, aria labels, etc.
|
|
544
|
+
*/
|
|
545
|
+
popperProps?: Partial<Omit<PopperProps, "anchorEl" | "open" | "handleClose" | "id" | "children">>;
|
|
546
|
+
/**
|
|
547
|
+
* Controls the open/closed state of the calendar popover.
|
|
548
|
+
* When provided, the component becomes controlled.
|
|
549
|
+
* Use with onOpenChange for full control.
|
|
550
|
+
*/
|
|
551
|
+
isOpen?: boolean;
|
|
552
|
+
/**
|
|
553
|
+
* Callback fired when the calendar popover should open or close.
|
|
554
|
+
* Required when using controlled mode (isOpen prop).
|
|
555
|
+
* @param open - The new open state
|
|
556
|
+
*/
|
|
557
|
+
onOpenChange?: (open: boolean) => void;
|
|
558
|
+
};
|
|
559
|
+
declare const DatePicker: React__default.FC<DatePickerProps>;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Single segment configuration for multi-progress bars
|
|
563
|
+
*/
|
|
564
|
+
interface Segment {
|
|
565
|
+
id: string | number;
|
|
566
|
+
/** Numeric value of this segment */
|
|
567
|
+
value: number;
|
|
568
|
+
/** Tailwind class for this segment */
|
|
569
|
+
color: string;
|
|
570
|
+
/** Accessible label describing this segment */
|
|
571
|
+
label: string;
|
|
572
|
+
/** Optional detailed description for screen readers */
|
|
573
|
+
description?: string;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Screen reader text configuration for internationalization
|
|
577
|
+
* All texts should be provided for proper localization
|
|
578
|
+
*/
|
|
579
|
+
interface ScreenReaderTexts {
|
|
580
|
+
/** Text for individual segment progress */
|
|
581
|
+
segmentProgress?: (label: string, value: number, max: number) => string;
|
|
582
|
+
/** Text for overall progress */
|
|
583
|
+
overallProgress?: (totalValue: number, max: number, percentage: number) => string;
|
|
584
|
+
/** Text for single progress */
|
|
585
|
+
singleProgress?: (progress: number, max: number) => string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Base properties shared between all progress bar modes
|
|
589
|
+
*/
|
|
590
|
+
interface BaseProgressBarProps {
|
|
591
|
+
/** Height using Tailwind classes (h-1, h-2, h-3, h-4, h-6, etc.) */
|
|
592
|
+
height?: string;
|
|
593
|
+
/** Width using Tailwind classes (w-full, w-1/2, w-96, etc.) */
|
|
594
|
+
width?: string;
|
|
595
|
+
/** Additional CSS classes to apply */
|
|
596
|
+
className?: string;
|
|
597
|
+
/** Background color using Tailwind classes (bg-gray-200, bg-blue-100, etc.) */
|
|
598
|
+
backgroundColor?: string;
|
|
599
|
+
/**
|
|
600
|
+
* Screen reader texts for internationalization using callback functions.
|
|
601
|
+
* All texts should be provided for proper localization - there are no default English texts.
|
|
602
|
+
*
|
|
603
|
+
* Functions receive calculated values:
|
|
604
|
+
* - segmentProgress: (label, value, max) => string
|
|
605
|
+
* - overallProgress: (totalValue, max, percentage) => string
|
|
606
|
+
* - singleProgress: (progress, max) => string
|
|
607
|
+
*/
|
|
608
|
+
screenReaderTexts?: ScreenReaderTexts;
|
|
609
|
+
/**
|
|
610
|
+
* Simple custom screen reader text override.
|
|
611
|
+
* If provided, this string will completely override the default screen reader behavior.
|
|
612
|
+
* For more control, use screenReaderTexts with callback functions instead.
|
|
613
|
+
*/
|
|
614
|
+
screenReaderText?: string;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Properties for single progress bar mode
|
|
618
|
+
*/
|
|
619
|
+
interface SingleModeProps extends BaseProgressBarProps {
|
|
620
|
+
/** Progress bar display mode */
|
|
621
|
+
mode: "single";
|
|
622
|
+
/** Current progress value */
|
|
623
|
+
progress: number;
|
|
624
|
+
/** Maximum possible value */
|
|
625
|
+
max: number;
|
|
626
|
+
/** Progress bar fill color using Tailwind classes (bg-blue-500, bg-green-400, etc.) */
|
|
627
|
+
color?: string;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Properties for multi-segment progress bar mode
|
|
631
|
+
*/
|
|
632
|
+
interface MultiModeProps extends BaseProgressBarProps {
|
|
633
|
+
/** Progress bar display mode */
|
|
634
|
+
mode: "multi";
|
|
635
|
+
/** Array of segments that compose the progress bar */
|
|
636
|
+
segments: Segment[];
|
|
637
|
+
/**
|
|
638
|
+
* Maximum value for calculations. If not provided,
|
|
639
|
+
* will be auto-calculated from segment values
|
|
640
|
+
*/
|
|
641
|
+
max?: number;
|
|
642
|
+
/** Gap between segments using Tailwind gap utilities (gap-0.5, gap-1, etc.) */
|
|
643
|
+
segmentGap?: string;
|
|
644
|
+
}
|
|
645
|
+
type ProgressBarProps = SingleModeProps | MultiModeProps;
|
|
646
|
+
/**
|
|
647
|
+
* Placeholder for screen reader texts
|
|
648
|
+
* All text should be provided via props for proper internationalization
|
|
649
|
+
*/
|
|
650
|
+
/**
|
|
651
|
+
* A flexible progress bar component supporting single and multi-segment modes
|
|
652
|
+
* with auto-calculated maximums and CSS custom property theming.
|
|
653
|
+
*
|
|
654
|
+
* @param props - ProgressBarProps configuration object
|
|
655
|
+
* @returns React functional component
|
|
656
|
+
*/
|
|
657
|
+
declare const ProgressBar: FC<ProgressBarProps>;
|
|
658
|
+
|
|
659
|
+
interface ToggleProps {
|
|
660
|
+
checked: boolean;
|
|
661
|
+
onChange: (checked: boolean) => void;
|
|
662
|
+
disabled?: boolean;
|
|
663
|
+
className?: string;
|
|
664
|
+
ariaLabel?: string;
|
|
665
|
+
}
|
|
666
|
+
declare const Toggle: React__default.FC<ToggleProps>;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* A simple reusable Epic component with customizable colors
|
|
670
|
+
*
|
|
671
|
+
* @param children - The content to display inside the Epic
|
|
672
|
+
* @param backgroundColor - Background color class (default: "bg-Epic-background-Epic-bg-purple")
|
|
673
|
+
* @param textColor - Text color class (default: "text-Epic-text-Epic-text-purple")
|
|
674
|
+
* @param className - Additional CSS classes for custom styling
|
|
675
|
+
* @param rest - All other native HTML div attributes
|
|
676
|
+
* @returns TSX.Element - Rendered Epic component
|
|
677
|
+
*/
|
|
678
|
+
interface EpicProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
679
|
+
children: React__default.ReactNode;
|
|
680
|
+
backgroundColor?: string;
|
|
681
|
+
textColor?: string;
|
|
682
|
+
className?: string;
|
|
683
|
+
}
|
|
684
|
+
declare const Epic: React__default.FC<EpicProps>;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* A simple reusable StatusComponent with customizable colors and icon
|
|
688
|
+
*
|
|
689
|
+
* @param text - The status text to display
|
|
690
|
+
* @param iconColor - Icon color class for the status indicator
|
|
691
|
+
* @param backgroundColor - Background color class (default: "bg-gray-100")
|
|
692
|
+
* @param textColor - Text color class (default: "text-gray-700")
|
|
693
|
+
* @param className - Additional CSS classes for custom styling
|
|
694
|
+
* @param rest - All other native HTML div attributes
|
|
695
|
+
* @returns JSX.Element - Rendered StatusComponent
|
|
696
|
+
*/
|
|
697
|
+
interface StatusComponentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
698
|
+
text: string;
|
|
699
|
+
iconColor: string;
|
|
700
|
+
backgroundColor?: string;
|
|
701
|
+
textColor?: string;
|
|
702
|
+
className?: string;
|
|
703
|
+
}
|
|
704
|
+
declare const StatusComponent: React__default.FC<StatusComponentProps>;
|
|
705
|
+
|
|
706
|
+
interface SubTaskChipProps {
|
|
707
|
+
count: number;
|
|
708
|
+
tooltipProps?: Omit<TooltipProps, "children">;
|
|
709
|
+
isLoading?: boolean;
|
|
710
|
+
iconColor?: string;
|
|
711
|
+
backgroundColor?: string;
|
|
712
|
+
textColor?: string;
|
|
713
|
+
className?: string;
|
|
714
|
+
iconSize?: number;
|
|
715
|
+
onHover?: () => void;
|
|
716
|
+
onHoverEnd?: () => void;
|
|
717
|
+
ariaLabel?: string;
|
|
718
|
+
subTaskChipTabIndex?: number;
|
|
719
|
+
}
|
|
720
|
+
declare const SubTaskChip: React__default.FC<SubTaskChipProps>;
|
|
721
|
+
|
|
722
|
+
interface SelectableListItemProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> {
|
|
723
|
+
label: string;
|
|
724
|
+
isSelected: boolean;
|
|
725
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
726
|
+
}
|
|
727
|
+
declare const SelectableListItem: React__default.FC<SelectableListItemProps>;
|
|
728
|
+
|
|
729
|
+
interface AttachmentPreviewProps {
|
|
730
|
+
title?: string;
|
|
731
|
+
imageSrc: string;
|
|
732
|
+
imageAlt?: string;
|
|
733
|
+
fileName: string;
|
|
734
|
+
imageWidth?: string;
|
|
735
|
+
imageHeight?: string;
|
|
736
|
+
className?: string;
|
|
737
|
+
onClick?: () => void;
|
|
738
|
+
ariaLabel?: string;
|
|
739
|
+
disabled?: boolean;
|
|
740
|
+
}
|
|
741
|
+
declare const AttachmentPreview: React__default.FC<AttachmentPreviewProps>;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* A chip component that displays an avatar alongside a text label with optional action functionality.
|
|
745
|
+
* The chip can be interactive (clickable) and supports keyboard navigation. Optionally includes
|
|
746
|
+
* an action button with a custom icon for additional interactions like removing or editing.
|
|
747
|
+
*
|
|
748
|
+
* @param avatarProps - Props to pass to the internal Avatar component (size is fixed to 'sm')
|
|
749
|
+
* @param label - The text label displayed next to the avatar
|
|
750
|
+
* @param userStatus - Optional status text appended after the label (e.g. '(Removed)', 'Deleted User')
|
|
751
|
+
* @param backgroundColor - CSS class for background color (default: 'bg-white')
|
|
752
|
+
* @param textColor - CSS class for text color (default: 'text-black')
|
|
753
|
+
* @param className - Additional CSS classes for the outer container
|
|
754
|
+
* @param showAvatar - Whether to display the avatar (default: true)
|
|
755
|
+
* @param showActionButton - Whether to display an action button
|
|
756
|
+
* @param onActionClick - Click handler for the action button
|
|
757
|
+
* @param actionIcon - Custom React node to display as the action button icon
|
|
758
|
+
* @param actionButtonAriaLabel - Accessibility label for the action button
|
|
759
|
+
* @param statusIcon - Non-interactive icon shown after the label (e.g. an approval state); it is sized to fill a 16px slot
|
|
760
|
+
* @param statusIconAriaLabel - Accessible text and tooltip for the status icon; pass it whenever the icon carries meaning, otherwise the icon is treated as decorative
|
|
761
|
+
* @param tabIndex - Tab order of the chip container; pass -1 to remove it from the tab sequence (default: 0)
|
|
762
|
+
*/
|
|
763
|
+
interface AvatarChipProps {
|
|
764
|
+
avatarProps?: AvatarProps;
|
|
765
|
+
label: string;
|
|
766
|
+
userStatus?: string;
|
|
767
|
+
backgroundColor?: string;
|
|
768
|
+
textColor?: string;
|
|
769
|
+
className?: string;
|
|
770
|
+
showAvatar?: boolean;
|
|
771
|
+
showActionButton?: boolean;
|
|
772
|
+
onActionClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
773
|
+
actionIcon?: React__default.ReactNode;
|
|
774
|
+
actionButtonAriaLabel?: string;
|
|
775
|
+
statusIcon?: React__default.ReactNode;
|
|
776
|
+
statusIconAriaLabel?: string;
|
|
777
|
+
tabIndex?: number;
|
|
778
|
+
}
|
|
779
|
+
declare const AvatarChip: React__default.FC<AvatarChipProps>;
|
|
780
|
+
|
|
781
|
+
interface AvatarGroupProps {
|
|
782
|
+
avatars: AvatarProps[];
|
|
783
|
+
maxVisible?: number;
|
|
784
|
+
showRemainingCount?: boolean;
|
|
785
|
+
className?: string;
|
|
786
|
+
onAvatarClick?: (avatar: AvatarProps) => void;
|
|
787
|
+
ariaLabel?: string;
|
|
788
|
+
}
|
|
789
|
+
declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
|
|
790
|
+
|
|
791
|
+
interface TemplateChangeCardProps {
|
|
792
|
+
templateName: string;
|
|
793
|
+
templateIcon: string;
|
|
794
|
+
description: string;
|
|
795
|
+
onChangeTemplate?: () => void;
|
|
796
|
+
className?: string;
|
|
797
|
+
buttonText: string;
|
|
798
|
+
ariaLabel?: string;
|
|
799
|
+
id?: string;
|
|
800
|
+
templatePreview: string;
|
|
801
|
+
}
|
|
802
|
+
declare const TemplateChangeCard: React__default.FC<TemplateChangeCardProps>;
|
|
803
|
+
|
|
804
|
+
type AccessType = "private" | "open";
|
|
805
|
+
interface ProjectAccessProps {
|
|
806
|
+
type: AccessType;
|
|
807
|
+
title: string;
|
|
808
|
+
description: string;
|
|
809
|
+
icon: React$1.ReactNode;
|
|
810
|
+
className?: string;
|
|
811
|
+
onSelect?: (type: AccessType) => void;
|
|
812
|
+
isSelected?: boolean;
|
|
813
|
+
ariaLabel?: string;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* A ProjectAccess component that displays project access type with icon and description
|
|
817
|
+
*
|
|
818
|
+
* @param type - The access type ("private" or "open")
|
|
819
|
+
* @param title - The title to display
|
|
820
|
+
* @param description - The description to display
|
|
821
|
+
* @param icon - The icon to display
|
|
822
|
+
* @param className - Additional CSS classes
|
|
823
|
+
* @param onSelect - Callback function when access type is selected
|
|
824
|
+
* @param isSelected - Whether this option is currently selected
|
|
825
|
+
* @param ariaLabel - The aria-label text for accessibility
|
|
826
|
+
* @returns TSX.Element - Rendered project access component
|
|
827
|
+
*/
|
|
828
|
+
declare const ProjectAccess: React$1.FC<ProjectAccessProps>;
|
|
829
|
+
|
|
830
|
+
interface AvatarChipsInputResult {
|
|
831
|
+
type: string;
|
|
832
|
+
optionId: number;
|
|
833
|
+
chipContent: AvatarChipProps;
|
|
834
|
+
}
|
|
835
|
+
interface AvatarChipsInputProps {
|
|
836
|
+
filteredResults?: AvatarChipsInputResult[];
|
|
837
|
+
selectedChips?: AvatarChipsInputResult[];
|
|
838
|
+
searchText?: string;
|
|
839
|
+
onChipSelect?: (chip: AvatarChipsInputResult) => void;
|
|
840
|
+
onChipRemove?: (chip: AvatarChipsInputResult) => void;
|
|
841
|
+
onSearchTextChange?: (searchText: string) => void;
|
|
842
|
+
searchPlaceholder?: string;
|
|
843
|
+
selectedSearchPlaceholder?: string;
|
|
844
|
+
className?: string;
|
|
845
|
+
ariaLabelClearButton?: string;
|
|
846
|
+
ariaLabelSearch?: string;
|
|
847
|
+
ariaLabelSearchResults?: string;
|
|
848
|
+
instructionText?: string;
|
|
849
|
+
noResultsText?: string;
|
|
850
|
+
resultsAvailableText?: string;
|
|
851
|
+
itemSelectedText?: string;
|
|
852
|
+
searchClearedText?: string;
|
|
853
|
+
setAnnouncementText?: string;
|
|
854
|
+
resultCountText?: (current: number, total: number) => string;
|
|
855
|
+
chipSelectedText?: (label: string, count: number) => string;
|
|
856
|
+
chipRemovedText?: (label: string, count: number) => string;
|
|
857
|
+
regionAriaLabel?: string;
|
|
858
|
+
resultPopoverMaxHeight?: number;
|
|
859
|
+
showAvatars?: boolean;
|
|
860
|
+
tabIndex?: number;
|
|
861
|
+
}
|
|
862
|
+
declare const AvatarChipsInput: FC<AvatarChipsInputProps>;
|
|
863
|
+
|
|
864
|
+
interface SearchInputFieldProps<T> {
|
|
865
|
+
searchText: string;
|
|
866
|
+
onSearchTextChange: (value: string) => void;
|
|
867
|
+
filteredResults: T[];
|
|
868
|
+
onItemSelect: (item: T | null) => void;
|
|
869
|
+
renderItem: (item: T) => React__default.ReactNode;
|
|
870
|
+
selectedItemText: string;
|
|
871
|
+
placeholder?: string;
|
|
872
|
+
classNames?: {
|
|
873
|
+
container?: string;
|
|
874
|
+
responseContainer?: string;
|
|
875
|
+
inputField?: string;
|
|
876
|
+
resultItem?: string;
|
|
877
|
+
};
|
|
878
|
+
listboxId?: string;
|
|
879
|
+
inputId?: string;
|
|
880
|
+
descriptionId?: string;
|
|
881
|
+
ariaLabelClearButton?: string;
|
|
882
|
+
ariaLabelSearch?: string;
|
|
883
|
+
ariaLabelSearchResults?: string;
|
|
884
|
+
instructionText?: string;
|
|
885
|
+
noResultsText?: string;
|
|
886
|
+
resultsAvailableText?: string;
|
|
887
|
+
itemSelectedText?: string;
|
|
888
|
+
searchClearedText?: string;
|
|
889
|
+
resultCountText?: (current: number, total: number) => string;
|
|
890
|
+
resultPopoverMaxHeight?: number;
|
|
891
|
+
}
|
|
892
|
+
declare function SearchInputField<T>({ searchText, onSearchTextChange, filteredResults, onItemSelect, renderItem, selectedItemText, placeholder, classNames, listboxId, inputId, descriptionId, ariaLabelClearButton, ariaLabelSearch, ariaLabelSearchResults, instructionText, noResultsText, resultsAvailableText, itemSelectedText, searchClearedText, resultCountText, resultPopoverMaxHeight, }: SearchInputFieldProps<T>): React__default.ReactElement;
|
|
893
|
+
|
|
894
|
+
interface ProjectTableSkeletonLoaderProps {
|
|
895
|
+
rowCount?: number;
|
|
896
|
+
}
|
|
897
|
+
declare const ProjectTableSkeletonLoader: ({ rowCount, }: ProjectTableSkeletonLoaderProps) => React__default.JSX.Element;
|
|
898
|
+
|
|
899
|
+
type TooltipPosition$1 = "top" | "bottom" | "left" | "right";
|
|
900
|
+
type TextAreaState = "default" | "pressed" | "filled" | "error";
|
|
901
|
+
interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "className"> {
|
|
902
|
+
label?: string;
|
|
903
|
+
state?: TextAreaState;
|
|
904
|
+
errorMessage?: string;
|
|
905
|
+
helperText?: string;
|
|
906
|
+
tooltipContent?: string;
|
|
907
|
+
tooltipPosition?: TooltipPosition$1;
|
|
908
|
+
className?: string;
|
|
909
|
+
ariaLabelTooltipButton?: string;
|
|
910
|
+
/**
|
|
911
|
+
* Custom background color for the textarea
|
|
912
|
+
*/
|
|
913
|
+
backgroundColor?: string;
|
|
914
|
+
/**
|
|
915
|
+
* Custom styles for the hover state
|
|
916
|
+
*/
|
|
917
|
+
hoverStyles?: {
|
|
918
|
+
backgroundColor?: string;
|
|
919
|
+
borderColor?: string;
|
|
920
|
+
};
|
|
921
|
+
/**
|
|
922
|
+
* Custom styles for the focus/pressed state
|
|
923
|
+
*/
|
|
924
|
+
focusStyles?: {
|
|
925
|
+
borderColor?: string;
|
|
926
|
+
shadowColor?: string;
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* A flexible TextArea component with multiple variants, states, and tooltip support
|
|
931
|
+
*
|
|
932
|
+
* This component uses CSS variables and React state for styling instead of direct DOM manipulation,
|
|
933
|
+
* which eliminates potential security vulnerabilities associated with inline style changes in event handlers.
|
|
934
|
+
*
|
|
935
|
+
* @param label - Label text displayed above the textarea
|
|
936
|
+
* @param state - Visual state of the textarea (default: "default")
|
|
937
|
+
* @param errorMessage - Error message displayed below the textarea
|
|
938
|
+
* @param helperText - Helper text displayed below the textarea when there's no error
|
|
939
|
+
* @param tooltipContent - Content to display in tooltip next to the label
|
|
940
|
+
* @param tooltipPosition - Position of the tooltip (default: "right")
|
|
941
|
+
* @param ariaLabelTooltipButton - Accessibility label for the tooltip button
|
|
942
|
+
* @param className - Additional CSS classes
|
|
943
|
+
* @param backgroundColor - Custom background color for the textarea (e.g., "white" or "#FFFFFF")
|
|
944
|
+
* @param hoverStyles - Custom styles for hover state (backgroundColor and borderColor)
|
|
945
|
+
* @param focusStyles - Custom styles for focus/pressed state (borderColor and shadowColor)
|
|
946
|
+
* @param rest - All other native HTML textarea attributes
|
|
947
|
+
* @returns TSX.Element - Rendered textarea component
|
|
948
|
+
*/
|
|
949
|
+
declare const TextArea: React__default.FC<TextAreaProps>;
|
|
950
|
+
|
|
951
|
+
type DropdownPosition = "bottom" | "top" | "left" | "right";
|
|
952
|
+
type DropdownSize = "sm" | "md";
|
|
953
|
+
type DropdownVariant = "primary" | "secondary" | "primary-error" | "primary-disabled" | "secondary-error" | "secondary-disabled" | "jsx-content";
|
|
954
|
+
interface DropdownOption$1 {
|
|
955
|
+
id: string;
|
|
956
|
+
label: string | React$1.ReactNode;
|
|
957
|
+
value: string;
|
|
958
|
+
disabled?: boolean;
|
|
959
|
+
icon?: React$1.ReactNode;
|
|
960
|
+
}
|
|
961
|
+
interface DropdownGroup {
|
|
962
|
+
id: string;
|
|
963
|
+
groupHeader: React$1.ReactNode;
|
|
964
|
+
options: DropdownOption$1[];
|
|
965
|
+
}
|
|
966
|
+
type DropdownProps = {
|
|
967
|
+
/** Array of options for the dropdown */
|
|
968
|
+
options?: DropdownOption$1[];
|
|
969
|
+
/** Array of grouped options for the dropdown */
|
|
970
|
+
groups?: DropdownGroup[];
|
|
971
|
+
/** Currently selected option value */
|
|
972
|
+
value?: string;
|
|
973
|
+
/** Placeholder text */
|
|
974
|
+
placeholder?: string;
|
|
975
|
+
/** Option select callback */
|
|
976
|
+
onChange?: (value: string, option: DropdownOption$1) => void;
|
|
977
|
+
/** Menu position */
|
|
978
|
+
position?: DropdownPosition;
|
|
979
|
+
/** Dropdown variant */
|
|
980
|
+
variant?: DropdownVariant;
|
|
981
|
+
/** Size: 'md' (default, 16px/400) or 'sm' (14px/400, defaults trigger height to 41px) */
|
|
982
|
+
size?: DropdownSize;
|
|
983
|
+
/** Container class name */
|
|
984
|
+
className?: string;
|
|
985
|
+
/** Unique ID for the dropdown */
|
|
986
|
+
id?: string;
|
|
987
|
+
/** Dropdown width */
|
|
988
|
+
width?: string;
|
|
989
|
+
/** ARIA label for the dropdown trigger button */
|
|
990
|
+
ariaLabel?: string;
|
|
991
|
+
/** Icon to display before the selected value text in the trigger */
|
|
992
|
+
icon?: React$1.ReactNode;
|
|
993
|
+
/** Tooltip button aria-label */
|
|
994
|
+
ariaLabelTooltipButton?: string;
|
|
995
|
+
/** Label above dropdown */
|
|
996
|
+
label?: string;
|
|
997
|
+
/** Required field */
|
|
998
|
+
required?: boolean;
|
|
999
|
+
/** Helper text to display below the dropdown */
|
|
1000
|
+
helperText?: string;
|
|
1001
|
+
/** Error message to display below the dropdown (overrides helperText when present) */
|
|
1002
|
+
errorMessage?: string;
|
|
1003
|
+
/** Tooltip content */
|
|
1004
|
+
tooltipContent?: string;
|
|
1005
|
+
/** Tooltip position */
|
|
1006
|
+
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
1007
|
+
/** Text to display when there are no options available */
|
|
1008
|
+
noOptionsText?: string;
|
|
1009
|
+
/** Show spinner loader in the dropdown menu while options are being loaded */
|
|
1010
|
+
loading?: boolean;
|
|
1011
|
+
/** Hide dropdown arrow icon */
|
|
1012
|
+
hideArrowIcon?: boolean;
|
|
1013
|
+
arrowIcon?: React$1.ReactNode;
|
|
1014
|
+
/** Height for the dropdown trigger */
|
|
1015
|
+
height?: string;
|
|
1016
|
+
/** Customize trigger padding (default: px-4 py-3) */
|
|
1017
|
+
padding?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* Dropdown menu (popup) width:
|
|
1020
|
+
* - 'match' (default): match the trigger width
|
|
1021
|
+
* - 'content': size to the widest option
|
|
1022
|
+
* - any CSS width string (e.g. '300px', '20rem'): use an explicit custom
|
|
1023
|
+
* width; options stretch to fill it and truncate when they overflow
|
|
1024
|
+
*/
|
|
1025
|
+
menuWidth?: "match" | "content" | (string & {});
|
|
1026
|
+
/** Hide the dropdown menu entirely (for static display of selected value) */
|
|
1027
|
+
hideMenu?: boolean;
|
|
1028
|
+
renderSelectedValue?: (value: string | undefined, option: DropdownOption$1 | null) => React$1.ReactNode;
|
|
1029
|
+
scrollToSelected?: boolean;
|
|
1030
|
+
};
|
|
1031
|
+
declare const Dropdown: React$1.FC<DropdownProps>;
|
|
1032
|
+
|
|
1033
|
+
interface DropdownOption {
|
|
1034
|
+
label: React__default.ReactNode | string;
|
|
1035
|
+
value: string | number;
|
|
1036
|
+
id: string | number;
|
|
1037
|
+
}
|
|
1038
|
+
type DropdownValue = string | number | DropdownOption;
|
|
1039
|
+
interface TriggerProps {
|
|
1040
|
+
onClick: () => void;
|
|
1041
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
1042
|
+
ref: React__default.RefObject<HTMLElement | null>;
|
|
1043
|
+
"aria-expanded": boolean;
|
|
1044
|
+
"aria-haspopup": "listbox";
|
|
1045
|
+
"aria-controls"?: string;
|
|
1046
|
+
"aria-describedby"?: string;
|
|
1047
|
+
"aria-labelledby"?: string;
|
|
1048
|
+
"aria-label"?: string;
|
|
1049
|
+
"aria-invalid"?: boolean;
|
|
1050
|
+
"aria-required"?: boolean;
|
|
1051
|
+
"aria-errormessage"?: string;
|
|
1052
|
+
}
|
|
1053
|
+
interface DropdownWithSearchablePopupProps {
|
|
1054
|
+
options?: DropdownValue[];
|
|
1055
|
+
value?: DropdownValue | null;
|
|
1056
|
+
onChange?: (value: DropdownValue | null) => void;
|
|
1057
|
+
onSearch?: (searchTerm: string) => void;
|
|
1058
|
+
placeholder?: string;
|
|
1059
|
+
searchPlaceholder?: string;
|
|
1060
|
+
noResultsText?: string;
|
|
1061
|
+
label?: string;
|
|
1062
|
+
ariaLabel?: string;
|
|
1063
|
+
ariaLabelledBy?: string;
|
|
1064
|
+
ariaDescribedBy?: string;
|
|
1065
|
+
ariaInvalid?: boolean;
|
|
1066
|
+
ariaRequired?: boolean;
|
|
1067
|
+
ariaErrorMessage?: string;
|
|
1068
|
+
screenReaderTexts?: {
|
|
1069
|
+
dropdownButton?: string;
|
|
1070
|
+
dropdownButtonCollapsed?: string;
|
|
1071
|
+
dropdownButtonExpanded?: string;
|
|
1072
|
+
searchInput?: string;
|
|
1073
|
+
optionsAvailable?: string;
|
|
1074
|
+
optionSelected?: string;
|
|
1075
|
+
noOptions?: string;
|
|
1076
|
+
useArrowKeys?: string;
|
|
1077
|
+
pressEnterToSelect?: string;
|
|
1078
|
+
pressEscapeToClose?: string;
|
|
1079
|
+
};
|
|
1080
|
+
width?: string;
|
|
1081
|
+
popupWidth?: string;
|
|
1082
|
+
popupAlignment?: "left" | "right" | "center";
|
|
1083
|
+
/**
|
|
1084
|
+
* Custom pixel nudge applied to the popup on top of `popupAlignment`.
|
|
1085
|
+
* `x` moves horizontally (positive = right, negative = left) and `y`
|
|
1086
|
+
* moves vertically (positive = down, negative = up). Works in both the
|
|
1087
|
+
* default absolute mode and `useFixedPosition` mode.
|
|
1088
|
+
*/
|
|
1089
|
+
popupOffset?: {
|
|
1090
|
+
x?: number;
|
|
1091
|
+
y?: number;
|
|
1092
|
+
};
|
|
1093
|
+
maxHeight?: string;
|
|
1094
|
+
useFixedPosition?: boolean;
|
|
1095
|
+
searchable?: boolean;
|
|
1096
|
+
clearable?: boolean;
|
|
1097
|
+
disabled?: boolean;
|
|
1098
|
+
showAction?: boolean;
|
|
1099
|
+
actionText?: string;
|
|
1100
|
+
actionIcon?: React__default.ReactNode;
|
|
1101
|
+
onAction?: () => void;
|
|
1102
|
+
actionFixed?: boolean;
|
|
1103
|
+
showSecondaryAction?: boolean;
|
|
1104
|
+
secondaryActionText?: string;
|
|
1105
|
+
secondaryActionIcon?: React__default.ReactNode;
|
|
1106
|
+
onSecondaryAction?: () => void;
|
|
1107
|
+
secondaryActionFixed?: boolean;
|
|
1108
|
+
showRecentItems?: boolean;
|
|
1109
|
+
recentItems?: DropdownValue[];
|
|
1110
|
+
recentItemsLabel?: string;
|
|
1111
|
+
triggerClassName?: string;
|
|
1112
|
+
dropdownClassName?: string;
|
|
1113
|
+
optionClassName?: string;
|
|
1114
|
+
renderTrigger?: (value: DropdownValue | null, isOpen: boolean, disabled: boolean, triggerProps: TriggerProps) => React__default.ReactNode;
|
|
1115
|
+
renderOption?: ((option: DropdownValue, index: number, onSelect: (option: DropdownValue) => void) => React__default.ReactNode) | null;
|
|
1116
|
+
renderNoResults?: (searchTerm: string) => React__default.ReactNode;
|
|
1117
|
+
}
|
|
1118
|
+
declare const DropdownWithSearchablePopup: React__default.FC<DropdownWithSearchablePopupProps>;
|
|
1119
|
+
|
|
1120
|
+
interface IconProps$3 extends React$1.SVGProps<SVGSVGElement> {
|
|
1121
|
+
className?: string;
|
|
1122
|
+
}
|
|
1123
|
+
interface MenuItemProps {
|
|
1124
|
+
id: string;
|
|
1125
|
+
label: string;
|
|
1126
|
+
onClick: () => void;
|
|
1127
|
+
icon?: {
|
|
1128
|
+
start?: React$1.ReactElement<IconProps$3>;
|
|
1129
|
+
end?: React$1.ReactElement<IconProps$3>;
|
|
1130
|
+
};
|
|
1131
|
+
activeBehavior?: string;
|
|
1132
|
+
labelTextColor?: string;
|
|
1133
|
+
}
|
|
1134
|
+
interface KebabMenuProps {
|
|
1135
|
+
id: string;
|
|
1136
|
+
position?: PopperPosition;
|
|
1137
|
+
menuItems?: MenuItemProps[];
|
|
1138
|
+
anchorButton?: React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1139
|
+
className?: {
|
|
1140
|
+
wrapper?: string;
|
|
1141
|
+
anchorElement?: string;
|
|
1142
|
+
kebabMenu?: {
|
|
1143
|
+
wrapper?: string;
|
|
1144
|
+
container?: string;
|
|
1145
|
+
menuItem?: {
|
|
1146
|
+
container?: string;
|
|
1147
|
+
label?: string;
|
|
1148
|
+
icon?: {
|
|
1149
|
+
start?: string;
|
|
1150
|
+
end?: string;
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
isOpen?: boolean;
|
|
1156
|
+
onToggle?: (isOpen: boolean) => void;
|
|
1157
|
+
isFlip?: boolean;
|
|
1158
|
+
}
|
|
1159
|
+
declare const KebabMenu: React$1.FC<KebabMenuProps>;
|
|
1160
|
+
|
|
1161
|
+
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
1162
|
+
type InputState = "default" | "pressed" | "filled" | "error";
|
|
1163
|
+
type InputVariant = "sm" | "md" | "lg";
|
|
1164
|
+
interface InputFieldStyleOverrides {
|
|
1165
|
+
container?: string;
|
|
1166
|
+
inputContainer?: string;
|
|
1167
|
+
labelContainer?: string;
|
|
1168
|
+
captionContainer?: string;
|
|
1169
|
+
inputWrapper?: string;
|
|
1170
|
+
input?: string;
|
|
1171
|
+
}
|
|
1172
|
+
interface InputFieldCustomStyles {
|
|
1173
|
+
borderRadius?: string;
|
|
1174
|
+
background?: string;
|
|
1175
|
+
border?: string;
|
|
1176
|
+
width?: string;
|
|
1177
|
+
gap?: string;
|
|
1178
|
+
padding?: string;
|
|
1179
|
+
hoverStyles?: {
|
|
1180
|
+
backgroundColor?: string;
|
|
1181
|
+
borderColor?: string;
|
|
1182
|
+
};
|
|
1183
|
+
focusStyles?: {
|
|
1184
|
+
borderColor?: string;
|
|
1185
|
+
shadowColor?: string;
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
interface InputFieldProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
1189
|
+
label?: string;
|
|
1190
|
+
variant?: InputVariant;
|
|
1191
|
+
state?: InputState;
|
|
1192
|
+
errorMessage?: string;
|
|
1193
|
+
helperText?: string;
|
|
1194
|
+
leftIcon?: React__default.ReactNode;
|
|
1195
|
+
rightIcon?: React__default.ReactNode;
|
|
1196
|
+
tooltipContent?: string;
|
|
1197
|
+
tooltipPosition?: TooltipPosition;
|
|
1198
|
+
ariaLabelTooltipButton?: string;
|
|
1199
|
+
ariaLabelClearButton?: string;
|
|
1200
|
+
className?: string;
|
|
1201
|
+
styleOverrides?: InputFieldStyleOverrides;
|
|
1202
|
+
customStyles?: InputFieldCustomStyles;
|
|
1203
|
+
fullWidth?: boolean;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* A versatile input field component with support for labels, icons, tooltips, validation states, and helper text
|
|
1207
|
+
*
|
|
1208
|
+
* This component uses CSS variables and React state for styling instead of dangerouslySetInnerHTML,
|
|
1209
|
+
* which eliminates potential security vulnerabilities associated with direct DOM manipulation.
|
|
1210
|
+
*
|
|
1211
|
+
* @param label - Optional label text for the input field
|
|
1212
|
+
* @param variant - Size variant of the input field (default: "md")
|
|
1213
|
+
* @param state - Visual state of the input field (default: "default")
|
|
1214
|
+
* @param errorMessage - Error message to display when state is "error"
|
|
1215
|
+
* @param helperText - Helper text to display below the input
|
|
1216
|
+
* @param tooltipContent - Content to display in the tooltip
|
|
1217
|
+
* @param tooltipPosition - Position of the tooltip relative to the info icon (default: "top")
|
|
1218
|
+
* @param leftIcon - React element to display on the left side of the input
|
|
1219
|
+
* @param rightIcon - React element to display on the right side of the input
|
|
1220
|
+
* @param className - Additional CSS classes to apply to the root container
|
|
1221
|
+
* @param styleOverrides - Advanced style customization for different parts of the component
|
|
1222
|
+
* @param customStyles - Common style customizations (borderRadius, background, border, etc.)
|
|
1223
|
+
* @param fullWidth - Whether the input should take full width of its container
|
|
1224
|
+
* @param ariaLabelTooltipButton - ARIA label for the tooltip button
|
|
1225
|
+
* @param ariaLabelClearButton - ARIA label for the clear button
|
|
1226
|
+
* @param rest - All other native HTML input attributes
|
|
1227
|
+
* @returns TSX.Element - Rendered input field component
|
|
1228
|
+
*/
|
|
1229
|
+
declare const InputField: FC<InputFieldProps>;
|
|
1230
|
+
|
|
1231
|
+
type ExtendedIconButtonProps = Omit<IconButtonProps, "icon" | "id" | "onKeyDown" | "onClick"> & {
|
|
1232
|
+
isVisible: boolean;
|
|
1233
|
+
onKeyDown: (event: React$1.KeyboardEvent<HTMLButtonElement>) => void;
|
|
1234
|
+
onClick: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
1235
|
+
};
|
|
1236
|
+
interface ModalProps {
|
|
1237
|
+
isOpen: boolean;
|
|
1238
|
+
showBackDrop?: boolean;
|
|
1239
|
+
id: string;
|
|
1240
|
+
title: string;
|
|
1241
|
+
hasDescription?: boolean;
|
|
1242
|
+
iconButtons?: {
|
|
1243
|
+
backButton?: ExtendedIconButtonProps;
|
|
1244
|
+
closeButton?: ExtendedIconButtonProps;
|
|
1245
|
+
};
|
|
1246
|
+
children: React$1.ReactNode;
|
|
1247
|
+
buttons?: {
|
|
1248
|
+
primary?: ButtonProps$1;
|
|
1249
|
+
secondary?: ButtonProps$1;
|
|
1250
|
+
};
|
|
1251
|
+
onClose: () => void;
|
|
1252
|
+
className?: {
|
|
1253
|
+
wrapper?: string;
|
|
1254
|
+
header?: {
|
|
1255
|
+
container?: string;
|
|
1256
|
+
backButton?: string;
|
|
1257
|
+
title?: {
|
|
1258
|
+
container?: string;
|
|
1259
|
+
text?: string;
|
|
1260
|
+
};
|
|
1261
|
+
closeButton?: string;
|
|
1262
|
+
};
|
|
1263
|
+
hr?: string;
|
|
1264
|
+
body?: {
|
|
1265
|
+
container?: string;
|
|
1266
|
+
};
|
|
1267
|
+
footer?: {
|
|
1268
|
+
container?: string;
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
declare const Modal: React$1.FC<ModalProps>;
|
|
1273
|
+
|
|
1274
|
+
interface PriorityConfig {
|
|
1275
|
+
id: number;
|
|
1276
|
+
name: string;
|
|
1277
|
+
color: string;
|
|
1278
|
+
icon: React$1.ReactNode;
|
|
1279
|
+
level: number;
|
|
1280
|
+
}
|
|
1281
|
+
interface Task {
|
|
1282
|
+
id: string;
|
|
1283
|
+
projectKey?: string;
|
|
1284
|
+
description: string;
|
|
1285
|
+
priority: string;
|
|
1286
|
+
assignees?: Array<{
|
|
1287
|
+
id: string;
|
|
1288
|
+
firstName?: string;
|
|
1289
|
+
lastName?: string;
|
|
1290
|
+
src?: string;
|
|
1291
|
+
alt?: string;
|
|
1292
|
+
size?: string;
|
|
1293
|
+
isPlaceholder?: boolean;
|
|
1294
|
+
}>;
|
|
1295
|
+
labels?: LabelProps[];
|
|
1296
|
+
points?: string;
|
|
1297
|
+
itemIcon?: React$1.ReactNode;
|
|
1298
|
+
releases?: string[];
|
|
1299
|
+
imagePreview?: {
|
|
1300
|
+
src: string;
|
|
1301
|
+
alt: string;
|
|
1302
|
+
};
|
|
1303
|
+
subTaskCount?: number;
|
|
1304
|
+
subTaskTooltip?: string;
|
|
1305
|
+
subTaskLoading?: boolean;
|
|
1306
|
+
}
|
|
1307
|
+
interface TaskCardProps {
|
|
1308
|
+
task: Task;
|
|
1309
|
+
onClick?: (task: Task) => void;
|
|
1310
|
+
className?: string;
|
|
1311
|
+
isInteractive?: boolean;
|
|
1312
|
+
priorityConfig: PriorityConfig;
|
|
1313
|
+
ariaLabel?: string;
|
|
1314
|
+
assigneesAriaLabel?: string;
|
|
1315
|
+
isStrikethroughId?: boolean;
|
|
1316
|
+
subTaskIconColor?: string;
|
|
1317
|
+
moreReleaseAriaLabel?: string;
|
|
1318
|
+
moreReleaseLabel?: string;
|
|
1319
|
+
onSubTaskHover?: (taskId: string) => void;
|
|
1320
|
+
onSubTaskHoverEnd?: (taskId: string) => void;
|
|
1321
|
+
}
|
|
1322
|
+
declare const TaskCard: React$1.FC<TaskCardProps>;
|
|
1323
|
+
|
|
1324
|
+
interface StatusCardProps {
|
|
1325
|
+
id: string;
|
|
1326
|
+
color: {
|
|
1327
|
+
code: string;
|
|
1328
|
+
label: string;
|
|
1329
|
+
};
|
|
1330
|
+
title: string;
|
|
1331
|
+
description: string;
|
|
1332
|
+
className?: {
|
|
1333
|
+
title?: string;
|
|
1334
|
+
description?: string;
|
|
1335
|
+
};
|
|
1336
|
+
iconButtons?: {
|
|
1337
|
+
edit?: IconButtonProps;
|
|
1338
|
+
delete?: IconButtonProps;
|
|
1339
|
+
};
|
|
1340
|
+
}
|
|
1341
|
+
declare const StatusCard: React__default.FC<StatusCardProps>;
|
|
1342
|
+
|
|
1343
|
+
interface ColorOption$1 {
|
|
1344
|
+
id: string;
|
|
1345
|
+
name: string;
|
|
1346
|
+
value: string;
|
|
1347
|
+
color: string;
|
|
1348
|
+
}
|
|
1349
|
+
interface ColorSelectorProps {
|
|
1350
|
+
id?: string;
|
|
1351
|
+
label?: string;
|
|
1352
|
+
caption?: string;
|
|
1353
|
+
tooltipContent?: string;
|
|
1354
|
+
tooltipPosition?: TooltipPosition$2;
|
|
1355
|
+
colors: ColorOption$1[];
|
|
1356
|
+
selectedColorId?: string;
|
|
1357
|
+
onColorChange?: (color: ColorOption$1) => void;
|
|
1358
|
+
className?: string;
|
|
1359
|
+
disabled?: boolean;
|
|
1360
|
+
required?: boolean;
|
|
1361
|
+
ariaLabel?: string;
|
|
1362
|
+
}
|
|
1363
|
+
declare const ColorSelector: React__default.FC<ColorSelectorProps>;
|
|
1364
|
+
|
|
1365
|
+
interface ColorPickerOption {
|
|
1366
|
+
id: string;
|
|
1367
|
+
name: string;
|
|
1368
|
+
value: string;
|
|
1369
|
+
color: string;
|
|
1370
|
+
}
|
|
1371
|
+
interface ColorPickerDropdownProps {
|
|
1372
|
+
colors?: ColorPickerOption[];
|
|
1373
|
+
value?: ColorPickerOption | null;
|
|
1374
|
+
onChange?: (color: ColorPickerOption | null) => void;
|
|
1375
|
+
placeholder?: string;
|
|
1376
|
+
label?: string;
|
|
1377
|
+
ariaLabel?: string;
|
|
1378
|
+
ariaLabelledBy?: string;
|
|
1379
|
+
ariaDescribedBy?: string;
|
|
1380
|
+
ariaInvalid?: boolean;
|
|
1381
|
+
ariaRequired?: boolean;
|
|
1382
|
+
ariaErrorMessage?: string;
|
|
1383
|
+
screenReaderTexts?: {
|
|
1384
|
+
dropdownButton?: string;
|
|
1385
|
+
dropdownButtonCollapsed?: string;
|
|
1386
|
+
dropdownButtonExpanded?: string;
|
|
1387
|
+
colorSelected?: string;
|
|
1388
|
+
noColors?: string;
|
|
1389
|
+
useArrowKeys?: string;
|
|
1390
|
+
pressEnterToSelect?: string;
|
|
1391
|
+
pressEscapeToClose?: string;
|
|
1392
|
+
};
|
|
1393
|
+
width?: string;
|
|
1394
|
+
popupWidth?: string;
|
|
1395
|
+
popupAlignment?: "left" | "right" | "center";
|
|
1396
|
+
maxHeight?: string;
|
|
1397
|
+
disabled?: boolean;
|
|
1398
|
+
required?: boolean;
|
|
1399
|
+
triggerClassName?: string;
|
|
1400
|
+
dropdownClassName?: string;
|
|
1401
|
+
colorClassName?: string;
|
|
1402
|
+
className?: string;
|
|
1403
|
+
}
|
|
1404
|
+
declare const ColorPickerDropdown: React__default.FC<ColorPickerDropdownProps>;
|
|
1405
|
+
|
|
1406
|
+
interface IconOption {
|
|
1407
|
+
id: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
value: string;
|
|
1410
|
+
component: React__default.ComponentType<React__default.SVGProps<SVGSVGElement>>;
|
|
1411
|
+
backgroundColor: string;
|
|
1412
|
+
}
|
|
1413
|
+
interface IconSelectorProps {
|
|
1414
|
+
label?: string;
|
|
1415
|
+
caption?: string;
|
|
1416
|
+
tooltipContent?: string;
|
|
1417
|
+
tooltipPosition?: TooltipPosition$2;
|
|
1418
|
+
icons: IconOption[];
|
|
1419
|
+
selectedIconId?: string;
|
|
1420
|
+
onIconChange?: (icon: IconOption) => void;
|
|
1421
|
+
className?: string;
|
|
1422
|
+
disabled?: boolean;
|
|
1423
|
+
required?: boolean;
|
|
1424
|
+
ariaLabel?: string;
|
|
1425
|
+
}
|
|
1426
|
+
declare const IconSelector: React__default.FC<IconSelectorProps>;
|
|
1427
|
+
|
|
1428
|
+
type CloseIconButtonProps = Omit<IconButtonProps, "icon" | "id" | "isRounded">;
|
|
1429
|
+
interface UpgradeToCoreModalProps {
|
|
1430
|
+
isOpen: boolean;
|
|
1431
|
+
showBackDrop?: boolean;
|
|
1432
|
+
hasDescription?: boolean;
|
|
1433
|
+
id: string;
|
|
1434
|
+
title: string;
|
|
1435
|
+
closeIconButton: CloseIconButtonProps;
|
|
1436
|
+
description: {
|
|
1437
|
+
children: React__default.ReactNode;
|
|
1438
|
+
};
|
|
1439
|
+
button?: ButtonProps;
|
|
1440
|
+
image: {
|
|
1441
|
+
src: string;
|
|
1442
|
+
alt: string;
|
|
1443
|
+
};
|
|
1444
|
+
onClose: () => void;
|
|
1445
|
+
zIndex?: ZIndex;
|
|
1446
|
+
className?: {
|
|
1447
|
+
wrapper?: string;
|
|
1448
|
+
content?: {
|
|
1449
|
+
wrapper?: string;
|
|
1450
|
+
header?: {
|
|
1451
|
+
container?: string;
|
|
1452
|
+
title?: {
|
|
1453
|
+
container?: string;
|
|
1454
|
+
text?: string;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
description?: {
|
|
1458
|
+
container?: string;
|
|
1459
|
+
text?: string;
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
image?: {
|
|
1463
|
+
container?: string;
|
|
1464
|
+
image?: string;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
declare const UpgradeToCoreModal: React__default.FC<UpgradeToCoreModalProps>;
|
|
1469
|
+
|
|
1470
|
+
type SetupStepStatus = "completed" | "active" | "pending";
|
|
1471
|
+
interface SetupStep {
|
|
1472
|
+
id: string;
|
|
1473
|
+
title: string;
|
|
1474
|
+
description: string;
|
|
1475
|
+
status: SetupStepStatus;
|
|
1476
|
+
onClick?: () => void;
|
|
1477
|
+
ariaLabel?: string;
|
|
1478
|
+
}
|
|
1479
|
+
interface SetupChecklistProps {
|
|
1480
|
+
steps: SetupStep[];
|
|
1481
|
+
className?: string;
|
|
1482
|
+
ariaLabel?: string;
|
|
1483
|
+
onFocusedStepChange?: (step: SetupStep) => void;
|
|
1484
|
+
}
|
|
1485
|
+
declare const SetupChecklist: React__default.FC<SetupChecklistProps>;
|
|
1486
|
+
|
|
1487
|
+
interface SubTaskCardProps {
|
|
1488
|
+
id: string;
|
|
1489
|
+
title: string;
|
|
1490
|
+
icon?: React__default.ReactNode;
|
|
1491
|
+
status?: {
|
|
1492
|
+
color: string;
|
|
1493
|
+
label: string;
|
|
1494
|
+
};
|
|
1495
|
+
assignees?: AvatarProps[];
|
|
1496
|
+
maxVisibleAvatars?: number;
|
|
1497
|
+
ariaLabels?: {
|
|
1498
|
+
card?: string;
|
|
1499
|
+
statusIndicator?: string;
|
|
1500
|
+
};
|
|
1501
|
+
idClassName?: string;
|
|
1502
|
+
onClick?: (id: string) => void;
|
|
1503
|
+
/**
|
|
1504
|
+
* Optional React element to display at the end of the card, like a KebabMenu
|
|
1505
|
+
*/
|
|
1506
|
+
actionElement?: React__default.ReactNode;
|
|
1507
|
+
/**
|
|
1508
|
+
* Control the horizontal padding of the card (px, rem, etc.)
|
|
1509
|
+
*/
|
|
1510
|
+
horizontalPadding?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* Position in a list: 'first', 'middle', 'last', or 'single' (default)
|
|
1513
|
+
* Controls border radius when cards are stacked together
|
|
1514
|
+
*/
|
|
1515
|
+
position?: "first" | "middle" | "last" | "single";
|
|
1516
|
+
}
|
|
1517
|
+
declare const SubTaskCard: React__default.FC<SubTaskCardProps>;
|
|
1518
|
+
|
|
1519
|
+
interface SubTaskInputProps {
|
|
1520
|
+
icon?: React__default.ReactNode;
|
|
1521
|
+
prefixNode?: React__default.ReactNode;
|
|
1522
|
+
onSave?: (title: string) => void;
|
|
1523
|
+
onCancel?: () => void;
|
|
1524
|
+
onValueChange?: (value: string) => void;
|
|
1525
|
+
ariaLabels?: {
|
|
1526
|
+
group?: string;
|
|
1527
|
+
saveButton?: string;
|
|
1528
|
+
cancelButton?: string;
|
|
1529
|
+
};
|
|
1530
|
+
placeholder?: string;
|
|
1531
|
+
maxLength?: number;
|
|
1532
|
+
required?: boolean;
|
|
1533
|
+
errorMessage?: string;
|
|
1534
|
+
hasError?: boolean;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* @param icon - Icon displayed at the start of the input row
|
|
1538
|
+
* @param prefixNode - Custom node rendered before the input field
|
|
1539
|
+
* @param onSave - Called with the trimmed title on save button click or Enter
|
|
1540
|
+
* @param onCancel - Called on cancel button click or Escape
|
|
1541
|
+
* @param onValueChange - Called with the raw value on every input change
|
|
1542
|
+
* @param ariaLabels - Accessibility labels for the row group and action buttons
|
|
1543
|
+
* @param placeholder - Placeholder text for the input field
|
|
1544
|
+
* @param maxLength - Maximum number of characters accepted by the input field
|
|
1545
|
+
* @param required - Whether the input field is required
|
|
1546
|
+
* @param errorMessage - Error message displayed below the input field
|
|
1547
|
+
* @param hasError - Whether the input field or prefixNode is showing an error, so the row top-aligns instead of centering against a taller sibling
|
|
1548
|
+
*/
|
|
1549
|
+
declare const SubTaskInput: React__default.FC<SubTaskInputProps>;
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* @param onChange - Callback when value is changed textarea
|
|
1553
|
+
* @param placeholder - Placeholder text for the text area
|
|
1554
|
+
* @param itemTypeOptions - Array of options for the item type dropdown. For jsx-content variant, use JSX elements in the label property
|
|
1555
|
+
* @param assigneeProps - Props to pass to the Avatar component for the assignee
|
|
1556
|
+
* @param primaryAction - Click handler for both the action menu button and Enter key interaction
|
|
1557
|
+
* @param textareaAriaLabel - ARIA label for the textarea
|
|
1558
|
+
* @param onItemTypeChange - Callback when item type is changed
|
|
1559
|
+
* @param buttonAriaLabel - ARIA label for the action button (default: 'Item actions')
|
|
1560
|
+
*/
|
|
1561
|
+
interface ItemTypeOption {
|
|
1562
|
+
id: string;
|
|
1563
|
+
label: string | React__default.ReactNode;
|
|
1564
|
+
value: string;
|
|
1565
|
+
}
|
|
1566
|
+
interface ItemCardProps {
|
|
1567
|
+
onChange?: (value: string) => void;
|
|
1568
|
+
placeholder?: string;
|
|
1569
|
+
itemTypeOptions?: ItemTypeOption[];
|
|
1570
|
+
assigneeProps?: AvatarProps;
|
|
1571
|
+
primaryAction?: (event?: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
1572
|
+
textareaAriaLabel?: string;
|
|
1573
|
+
buttonAriaLabel?: string;
|
|
1574
|
+
autoFocus?: boolean;
|
|
1575
|
+
onItemTypeChange?: (selectedOption: ItemTypeOption) => void;
|
|
1576
|
+
}
|
|
1577
|
+
declare const ItemCard: React__default.FC<ItemCardProps>;
|
|
1578
|
+
|
|
1579
|
+
interface SwimLaneHeaderProps {
|
|
1580
|
+
title: string;
|
|
1581
|
+
color: string;
|
|
1582
|
+
colorClasses: Record<string, string>;
|
|
1583
|
+
taskCount: number;
|
|
1584
|
+
ariaLabelTaskCount?: string;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
interface SwimLaneTaskListProps {
|
|
1588
|
+
title: string;
|
|
1589
|
+
color: string;
|
|
1590
|
+
colorClasses: Record<string, string>;
|
|
1591
|
+
tasks: Task[];
|
|
1592
|
+
taskCount?: number;
|
|
1593
|
+
onTaskClick?: (task: Task) => void;
|
|
1594
|
+
onAddTask?: () => void;
|
|
1595
|
+
maxHeight?: string;
|
|
1596
|
+
minHeight?: string;
|
|
1597
|
+
addItemText?: string;
|
|
1598
|
+
priorityConfig: Record<string, PriorityConfig>;
|
|
1599
|
+
accessibilityLabels?: {
|
|
1600
|
+
taskCount?: string;
|
|
1601
|
+
taskList?: string;
|
|
1602
|
+
addButton?: string;
|
|
1603
|
+
labelledBy?: string;
|
|
1604
|
+
};
|
|
1605
|
+
className?: string;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
interface SwimLaneSortCardProps {
|
|
1609
|
+
user: {
|
|
1610
|
+
id: string;
|
|
1611
|
+
name: string;
|
|
1612
|
+
avatar?: string;
|
|
1613
|
+
alt?: string;
|
|
1614
|
+
};
|
|
1615
|
+
count: number;
|
|
1616
|
+
className?: string;
|
|
1617
|
+
onClick?: (user: SwimLaneSortCardProps["user"]) => void;
|
|
1618
|
+
ariaLabel?: string;
|
|
1619
|
+
isEpic?: boolean;
|
|
1620
|
+
epicColor?: string;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
declare enum ToastType {
|
|
1624
|
+
SUCCESS = "success",
|
|
1625
|
+
ERROR = "error",
|
|
1626
|
+
WARN = "warn",
|
|
1627
|
+
INFO = "info"
|
|
1628
|
+
}
|
|
1629
|
+
interface ToastProps {
|
|
1630
|
+
isOpen: boolean;
|
|
1631
|
+
onClose?: () => void;
|
|
1632
|
+
title: string;
|
|
1633
|
+
description?: string;
|
|
1634
|
+
toastType: ToastType;
|
|
1635
|
+
autoHideDuration?: number;
|
|
1636
|
+
hasIcon?: boolean;
|
|
1637
|
+
className?: string;
|
|
1638
|
+
closeButtonAriaLabel?: string;
|
|
1639
|
+
actionLink?: {
|
|
1640
|
+
text: string;
|
|
1641
|
+
href?: string;
|
|
1642
|
+
onNewTab?: boolean;
|
|
1643
|
+
onClick?: () => void;
|
|
1644
|
+
ariaLabel?: string;
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
declare const Toast: React$1.FC<ToastProps>;
|
|
1648
|
+
|
|
1649
|
+
interface SelectableItem {
|
|
1650
|
+
id: string;
|
|
1651
|
+
isSelected?: boolean;
|
|
1652
|
+
content: React__default.ReactNode;
|
|
1653
|
+
ariaLabel?: string;
|
|
1654
|
+
}
|
|
1655
|
+
interface AccessibilityTexts {
|
|
1656
|
+
resultsAvailableText?: string;
|
|
1657
|
+
resultAvailableText?: string;
|
|
1658
|
+
dropdownClosedText?: string;
|
|
1659
|
+
focusReturnedText?: string;
|
|
1660
|
+
selectedText?: string;
|
|
1661
|
+
removedText?: string;
|
|
1662
|
+
itemText?: string;
|
|
1663
|
+
noMoreItemsText?: string;
|
|
1664
|
+
noResultsFoundText?: string;
|
|
1665
|
+
}
|
|
1666
|
+
interface AriaLabels$2 {
|
|
1667
|
+
searchResultsAriaLabel?: string;
|
|
1668
|
+
selectedItemsAriaLabel?: string;
|
|
1669
|
+
selectedItemsRemoveAriaLabel?: string;
|
|
1670
|
+
availableOptionsAriaLabel?: string;
|
|
1671
|
+
removeItemAriaLabel?: string;
|
|
1672
|
+
}
|
|
1673
|
+
interface AutoCompleteDropdownProps {
|
|
1674
|
+
label?: string;
|
|
1675
|
+
placeholder?: string;
|
|
1676
|
+
className?: string;
|
|
1677
|
+
isOpen?: boolean;
|
|
1678
|
+
searchInputId?: string;
|
|
1679
|
+
inputAriaLabel?: string;
|
|
1680
|
+
results?: React__default.ReactNode[];
|
|
1681
|
+
selectedItems?: React__default.ReactNode[];
|
|
1682
|
+
selectableResults?: SelectableItem[];
|
|
1683
|
+
multiSelect?: boolean;
|
|
1684
|
+
selectedItemsLabel?: string;
|
|
1685
|
+
maximumSelectCount?: number;
|
|
1686
|
+
maximumReachedMessage?: string;
|
|
1687
|
+
maxHeight?: string;
|
|
1688
|
+
hasCard?: boolean;
|
|
1689
|
+
popperWidth?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* "default" – input optionally in a Card (controlled by `hasCard`), popper floats as an absolute overlay.
|
|
1692
|
+
* "combined" – both the input and the dropdown results live inside one shared wrapper.
|
|
1693
|
+
* When `hasCard` is true (default) that wrapper is a Card; when `hasCard` is false it is a plain div.
|
|
1694
|
+
*/
|
|
1695
|
+
variant?: "default" | "combined";
|
|
1696
|
+
onSearch?: (searchTerm: string) => void;
|
|
1697
|
+
onItemSelect?: (item: SelectableItem) => void;
|
|
1698
|
+
onItemDeselect?: (item: SelectableItem) => void;
|
|
1699
|
+
onFocus?: () => void;
|
|
1700
|
+
onBlur?: () => void;
|
|
1701
|
+
onClose?: () => void;
|
|
1702
|
+
accessibilityTexts?: AccessibilityTexts;
|
|
1703
|
+
ariaLabels?: AriaLabels$2;
|
|
1704
|
+
}
|
|
1705
|
+
declare const AutoCompleteDropdown: React__default.FC<AutoCompleteDropdownProps>;
|
|
1706
|
+
|
|
1707
|
+
interface SidePanelProps {
|
|
1708
|
+
isOpen: boolean;
|
|
1709
|
+
onClose: () => void;
|
|
1710
|
+
header?: ReactNode;
|
|
1711
|
+
headerActions?: ReactNode;
|
|
1712
|
+
children?: ReactNode;
|
|
1713
|
+
footer?: ReactNode;
|
|
1714
|
+
width?: "sm" | "md" | "lg" | "xl" | "full";
|
|
1715
|
+
closeOnBackdropClick?: boolean;
|
|
1716
|
+
animation?: "slide" | "fade" | "scale";
|
|
1717
|
+
ariaLabelledBy?: string;
|
|
1718
|
+
ariaDescribedBy?: string;
|
|
1719
|
+
closeAriaLabel?: string;
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* A fully reusable SidePanel component with customizable animations.
|
|
1723
|
+
* It includes a header with optional actions and a close control.
|
|
1724
|
+
* @param {boolean} isOpen - Controls the visibility of the SidePanel.
|
|
1725
|
+
* @param {() => void} onClose - Function to call when the SidePanel should be closed.
|
|
1726
|
+
* @param {ReactNode} header - Optional header content to be displayed in the SidePanel header.
|
|
1727
|
+
* @param {ReactNode} headerActions - Optional action buttons or components to be displayed in the header.
|
|
1728
|
+
* @param {ReactNode} children - Content to be displayed in the SidePanel body.
|
|
1729
|
+
* @param {ReactNode} footer - Optional footer content to be displayed as a fixed bottom footer.
|
|
1730
|
+
* @param {string} width - Width variant of the SidePanel.
|
|
1731
|
+
* @param {boolean} closeOnBackdropClick - Whether clicking backdrop should close the panel.
|
|
1732
|
+
* @param {string} animation - Animation type for the panel (slide, fade, or scale).
|
|
1733
|
+
* @param {string} ariaLabelledBy - ID of the element that labels the panel.
|
|
1734
|
+
* @param {string} ariaDescribedBy - ID of the element that describes the panel.
|
|
1735
|
+
* @param {string} closeAriaLabel - Accessibility label for the close button.
|
|
1736
|
+
*/
|
|
1737
|
+
declare const SidePanel: React__default.FC<SidePanelProps>;
|
|
1738
|
+
|
|
1739
|
+
interface BreadcrumbItem {
|
|
1740
|
+
label: string;
|
|
1741
|
+
onClick?: () => void;
|
|
1742
|
+
}
|
|
1743
|
+
interface BreadcrumbProps {
|
|
1744
|
+
items: BreadcrumbItem[];
|
|
1745
|
+
ariaLabel?: string;
|
|
1746
|
+
}
|
|
1747
|
+
declare const Breadcrumb: React__default.FC<BreadcrumbProps>;
|
|
1748
|
+
|
|
1749
|
+
interface BacklogItemProps {
|
|
1750
|
+
checkbox: CheckboxProps;
|
|
1751
|
+
itemReference: string;
|
|
1752
|
+
onEditSave?: (title: string, taskDescription: string) => void;
|
|
1753
|
+
onEditCancel?: () => void;
|
|
1754
|
+
titleDescription: string;
|
|
1755
|
+
priority: React__default.ReactNode;
|
|
1756
|
+
label?: React__default.ReactNode;
|
|
1757
|
+
status?: React__default.ReactNode;
|
|
1758
|
+
estimation?: React__default.ReactNode;
|
|
1759
|
+
descriptionMaxLength: number;
|
|
1760
|
+
avatars?: React__default.ReactNode;
|
|
1761
|
+
taskIcon: React__default.ReactNode;
|
|
1762
|
+
className?: string;
|
|
1763
|
+
ariaLabel?: {
|
|
1764
|
+
checkButton: string;
|
|
1765
|
+
cancelButton: string;
|
|
1766
|
+
component?: string;
|
|
1767
|
+
checkbox?: string;
|
|
1768
|
+
editIcon?: string;
|
|
1769
|
+
textBox?: string;
|
|
1770
|
+
};
|
|
1771
|
+
onRowClick?: (id: string) => void;
|
|
1772
|
+
}
|
|
1773
|
+
declare const BacklogItem: React__default.FC<BacklogItemProps>;
|
|
1774
|
+
|
|
1775
|
+
interface ItemAddFormTypeOption {
|
|
1776
|
+
id: string;
|
|
1777
|
+
label: string | React__default.ReactNode;
|
|
1778
|
+
value: string;
|
|
1779
|
+
icon?: React__default.ReactNode;
|
|
1780
|
+
}
|
|
1781
|
+
interface ItemAddFormProps {
|
|
1782
|
+
itemTypeOptions?: ItemAddFormTypeOption[];
|
|
1783
|
+
defaultSelectedItemType?: string;
|
|
1784
|
+
onSave?: (value: string, itemType?: string) => void;
|
|
1785
|
+
onCancel?: () => void;
|
|
1786
|
+
inputFieldPlaceholder?: string;
|
|
1787
|
+
maxLength?: number;
|
|
1788
|
+
required?: boolean;
|
|
1789
|
+
actionButton?: IconButtonProps;
|
|
1790
|
+
className?: string;
|
|
1791
|
+
ariaLabel?: string;
|
|
1792
|
+
}
|
|
1793
|
+
declare const ItemAddForm: React__default.FC<ItemAddFormProps>;
|
|
1794
|
+
|
|
1795
|
+
interface BacklogGroupProps {
|
|
1796
|
+
checkbox: CheckboxProps;
|
|
1797
|
+
name: string;
|
|
1798
|
+
dateRange?: ButtonProps$1;
|
|
1799
|
+
dateRangeButtonText?: string;
|
|
1800
|
+
rightButton: ButtonProps$1;
|
|
1801
|
+
rightButtonText: string;
|
|
1802
|
+
kebabMenu: KebabMenuProps;
|
|
1803
|
+
emptyState: EmptyDataViewProps;
|
|
1804
|
+
addItemButton: ButtonProps$1;
|
|
1805
|
+
addItemButtonText: string;
|
|
1806
|
+
onSave?: (value: string, itemType?: string) => void;
|
|
1807
|
+
itemAddForm: ItemAddFormProps;
|
|
1808
|
+
items?: BacklogItemProps[];
|
|
1809
|
+
}
|
|
1810
|
+
declare const BacklogGroup: React__default.FC<BacklogGroupProps>;
|
|
1811
|
+
|
|
1812
|
+
interface IconProps$2 extends React$1.SVGProps<SVGSVGElement> {
|
|
1813
|
+
className?: string;
|
|
1814
|
+
}
|
|
1815
|
+
interface MultiSelectOptionMenuItemProps {
|
|
1816
|
+
id: string;
|
|
1817
|
+
content: React$1.ReactNode;
|
|
1818
|
+
onClick: () => void;
|
|
1819
|
+
activeBehavior?: string;
|
|
1820
|
+
}
|
|
1821
|
+
interface MultiSelectOptionMenuProps {
|
|
1822
|
+
id: string;
|
|
1823
|
+
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
1824
|
+
menuItems?: MultiSelectOptionMenuItemProps[];
|
|
1825
|
+
icon?: React$1.ReactElement<IconProps$2>;
|
|
1826
|
+
anchorButton?: React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1827
|
+
className?: {
|
|
1828
|
+
wrapper?: string;
|
|
1829
|
+
anchorElement?: string;
|
|
1830
|
+
multiSelectOptionMenu?: {
|
|
1831
|
+
wrapper?: string;
|
|
1832
|
+
container?: string;
|
|
1833
|
+
menuItem?: {
|
|
1834
|
+
container?: string;
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
}
|
|
1839
|
+
declare const MultiSelectOptionMenu: React$1.FC<MultiSelectOptionMenuProps>;
|
|
1840
|
+
|
|
1841
|
+
interface LabelCardProps {
|
|
1842
|
+
id: string;
|
|
1843
|
+
label: React__default.ReactNode;
|
|
1844
|
+
iconButtons?: {
|
|
1845
|
+
edit?: IconButtonProps;
|
|
1846
|
+
delete?: IconButtonProps;
|
|
1847
|
+
};
|
|
1848
|
+
actions?: React__default.ReactNode;
|
|
1849
|
+
ariaLabel?: string;
|
|
1850
|
+
titleClassName?: string;
|
|
1851
|
+
}
|
|
1852
|
+
declare const LabelCard: React__default.FC<LabelCardProps>;
|
|
1853
|
+
|
|
1854
|
+
interface ProgressCardProps {
|
|
1855
|
+
title?: string;
|
|
1856
|
+
icon?: React__default.ReactNode;
|
|
1857
|
+
description?: string;
|
|
1858
|
+
className?: string;
|
|
1859
|
+
useGridLayout?: boolean;
|
|
1860
|
+
showLegend?: boolean;
|
|
1861
|
+
progressBarSettings: ProgressBarProps;
|
|
1862
|
+
backgroundColor?: string;
|
|
1863
|
+
tabIndex?: number;
|
|
1864
|
+
ariaLabel?: string;
|
|
1865
|
+
screenReaderSummary?: string | ((title: string, progress: number, max: number, mode: "single" | "multi") => string);
|
|
1866
|
+
leftFooterContent?: React__default.ReactNode;
|
|
1867
|
+
rightFooterContent?: React__default.ReactNode;
|
|
1868
|
+
}
|
|
1869
|
+
declare const ProgressCard: React__default.FC<ProgressCardProps>;
|
|
1870
|
+
|
|
1871
|
+
interface DocumentCardProps {
|
|
1872
|
+
title: string;
|
|
1873
|
+
description?: string;
|
|
1874
|
+
maxWidth?: string;
|
|
1875
|
+
titleClassName?: string;
|
|
1876
|
+
descriptionClassName?: string;
|
|
1877
|
+
iconPosition?: "top" | "center" | "bottom";
|
|
1878
|
+
backgroundColor?: string;
|
|
1879
|
+
icon?: React__default.ReactElement;
|
|
1880
|
+
role?: string;
|
|
1881
|
+
ariaLabel?: string;
|
|
1882
|
+
screenReaderSummary?: string | ((title: string, description?: string) => string);
|
|
1883
|
+
isInList?: boolean;
|
|
1884
|
+
kebabMenuProps?: KebabMenuProps;
|
|
1885
|
+
}
|
|
1886
|
+
declare const DocumentCard: React__default.FC<DocumentCardProps>;
|
|
1887
|
+
|
|
1888
|
+
type EmptyStateType = "no-data" | "no-search-results";
|
|
1889
|
+
interface TableColumn<T> {
|
|
1890
|
+
key: string;
|
|
1891
|
+
header: React__default.ReactNode;
|
|
1892
|
+
width?: string;
|
|
1893
|
+
className?: string;
|
|
1894
|
+
render?: (value: T[keyof T], row: T, index: number) => React__default.ReactNode;
|
|
1895
|
+
columnAriaLabel?: string;
|
|
1896
|
+
getCellAriaLabel?: (value: T[keyof T], row: T, index: number) => string;
|
|
1897
|
+
}
|
|
1898
|
+
interface TableRowType {
|
|
1899
|
+
id: string | number;
|
|
1900
|
+
[key: string]: unknown;
|
|
1901
|
+
}
|
|
1902
|
+
interface EmptyStateConfig {
|
|
1903
|
+
icon?: React__default.ReactNode;
|
|
1904
|
+
title?: string;
|
|
1905
|
+
description?: string;
|
|
1906
|
+
buttonText?: string;
|
|
1907
|
+
buttonIcon?: React__default.ReactElement;
|
|
1908
|
+
onButtonClick?: () => void;
|
|
1909
|
+
buttonVariant?: ButtonProps["variant"];
|
|
1910
|
+
}
|
|
1911
|
+
declare enum TableVariant {
|
|
1912
|
+
DEFAULT = 0,
|
|
1913
|
+
CARD = 1
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
interface TableProps<T extends TableRowType> {
|
|
1917
|
+
columns: TableColumn<T>[];
|
|
1918
|
+
data: T[];
|
|
1919
|
+
onLoadMore?: () => Promise<void> | void;
|
|
1920
|
+
hasMore?: boolean;
|
|
1921
|
+
isLoading?: boolean;
|
|
1922
|
+
className?: string;
|
|
1923
|
+
infiniteScrollLoadingMessage?: string;
|
|
1924
|
+
tableAriaLabel?: string;
|
|
1925
|
+
tableAriaDescription?: string;
|
|
1926
|
+
height?: string;
|
|
1927
|
+
scrollThreshold?: number;
|
|
1928
|
+
emptyStateType?: EmptyStateType;
|
|
1929
|
+
noDataState?: EmptyStateConfig;
|
|
1930
|
+
noSearchResultsState?: EmptyStateConfig;
|
|
1931
|
+
customSkeletonLoader?: React__default.ReactNode;
|
|
1932
|
+
onRowClick?: (row: T, index: number) => void;
|
|
1933
|
+
generateRowAriaLabel?: (row: T, index: number, columns: TableColumn<T>[]) => string;
|
|
1934
|
+
variant?: TableVariant;
|
|
1935
|
+
}
|
|
1936
|
+
declare function Table<T extends TableRowType>({ columns, data, onLoadMore, hasMore, isLoading, className, infiniteScrollLoadingMessage, tableAriaLabel, tableAriaDescription, height, scrollThreshold, emptyStateType, noDataState, noSearchResultsState, customSkeletonLoader, onRowClick, generateRowAriaLabel, variant, }: TableProps<T>): React__default.JSX.Element;
|
|
1937
|
+
|
|
1938
|
+
interface PageSizeSelectorProps {
|
|
1939
|
+
id: string;
|
|
1940
|
+
value: number;
|
|
1941
|
+
options: number[];
|
|
1942
|
+
onChange: (pageSize: number) => void;
|
|
1943
|
+
label?: string;
|
|
1944
|
+
isDisabled?: boolean;
|
|
1945
|
+
ariaLabel?: string;
|
|
1946
|
+
className?: string;
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* Page-size ("results per page") picker for a table footer. Label props are used
|
|
1950
|
+
* as-is (no built-in i18n defaults) — pass translated strings from the consuming app.
|
|
1951
|
+
*
|
|
1952
|
+
* @param id - Unique ID for the underlying dropdown
|
|
1953
|
+
* @param value - Currently selected page size
|
|
1954
|
+
* @param options - Selectable page sizes, in display order
|
|
1955
|
+
* @param onChange - Called with the newly selected page size
|
|
1956
|
+
* @param label - Text rendered before the dropdown, e.g. "Results per page:"
|
|
1957
|
+
* @param isDisabled - Disables the dropdown, e.g. while there are no results
|
|
1958
|
+
* @param ariaLabel - ARIA label for the dropdown trigger
|
|
1959
|
+
* @param className - CSS class name for the container
|
|
1960
|
+
*/
|
|
1961
|
+
declare const PageSizeSelector: FC<PageSizeSelectorProps>;
|
|
1962
|
+
|
|
1963
|
+
interface TableEmptyStateAction {
|
|
1964
|
+
label: string;
|
|
1965
|
+
onClick: () => void;
|
|
1966
|
+
icon?: ReactElement<SVGProps<SVGSVGElement>>;
|
|
1967
|
+
variant?: "primary" | "secondary" | "tertiary" | "error" | "line";
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Column alignment for a grid column. Applied to both the header cell and the
|
|
1972
|
+
* body cells of that column.
|
|
1973
|
+
*/
|
|
1974
|
+
type GridColumnAlign = "left" | "center" | "right";
|
|
1975
|
+
/**
|
|
1976
|
+
* Visual style of the grid. `default` renders rows inside a single bordered
|
|
1977
|
+
* container; `list` renders each row as a separate card beneath a standalone
|
|
1978
|
+
*/
|
|
1979
|
+
type TableV2Variant = "default" | "list";
|
|
1980
|
+
/**
|
|
1981
|
+
* A single column definition for the grid. `id` is matched against the same key
|
|
1982
|
+
* on each row to pull that cell's content. `label` is header content (usually a
|
|
1983
|
+
* string, but any node, e.g. a select-all checkbox); `width` is a CSS width
|
|
1984
|
+
* such as "20%" or "12rem" and works with the table's fixed layout.
|
|
1985
|
+
*/
|
|
1986
|
+
type GridHeader = {
|
|
1987
|
+
id: string | number;
|
|
1988
|
+
label?: ReactNode;
|
|
1989
|
+
align?: GridColumnAlign;
|
|
1990
|
+
width?: string;
|
|
1991
|
+
className?: string;
|
|
1992
|
+
};
|
|
1993
|
+
/**
|
|
1994
|
+
* A row of data. Beyond the required `id`, every other key holds that cell's
|
|
1995
|
+
* content (usually a JSX node). `ariaLabel` is used as the row's accessible
|
|
1996
|
+
* label when the row is focusable.
|
|
1997
|
+
*/
|
|
1998
|
+
type GridRow = {
|
|
1999
|
+
id: string | number;
|
|
2000
|
+
ariaLabel?: string;
|
|
2001
|
+
[key: string]: ReactNode;
|
|
2002
|
+
};
|
|
2003
|
+
interface TableV2AriaLabels {
|
|
2004
|
+
regionAriaLabel?: string;
|
|
2005
|
+
paginationAriaLabel?: string;
|
|
2006
|
+
previousPageLabel?: string;
|
|
2007
|
+
nextPageLabel?: string;
|
|
2008
|
+
getPageAriaLabel?: (page: number) => string;
|
|
2009
|
+
pageSizeAriaLabel?: string;
|
|
2010
|
+
}
|
|
2011
|
+
/** Content for the built-in empty state. Configured via data, not a custom node. */
|
|
2012
|
+
interface TableEmptyStateConfig {
|
|
2013
|
+
icon?: ReactNode;
|
|
2014
|
+
title?: string;
|
|
2015
|
+
description?: string;
|
|
2016
|
+
actions?: TableEmptyStateAction[];
|
|
2017
|
+
}
|
|
2018
|
+
/**
|
|
2019
|
+
* Props for TableV2. `isFullHeight` makes the table fill the height its parent gives it: the parent must be a flex column with a bounded height, because the wrapper and the scroll container take `min-h-0 flex-1`. When `height` is also set, it still caps the scroll container as a max height.
|
|
2020
|
+
*/
|
|
2021
|
+
interface TableV2Props {
|
|
2022
|
+
tableName?: string;
|
|
2023
|
+
ariaLabel?: TableV2AriaLabels;
|
|
2024
|
+
variant?: TableV2Variant;
|
|
2025
|
+
headers: GridHeader[];
|
|
2026
|
+
rows: GridRow[];
|
|
2027
|
+
isLoading?: boolean;
|
|
2028
|
+
loader?: ReactNode;
|
|
2029
|
+
emptyState?: TableEmptyStateConfig;
|
|
2030
|
+
skeletonRows?: number;
|
|
2031
|
+
onRowClick?: (row: GridRow, id: string | number) => void;
|
|
2032
|
+
className?: string;
|
|
2033
|
+
height?: string;
|
|
2034
|
+
isFullHeight?: boolean;
|
|
2035
|
+
hasMore?: boolean;
|
|
2036
|
+
isFetchingNextPage?: boolean;
|
|
2037
|
+
onLoadMore?: () => void;
|
|
2038
|
+
scrollThreshold?: number;
|
|
2039
|
+
totalPages?: number;
|
|
2040
|
+
currentPage?: number;
|
|
2041
|
+
onPageChange?: (page: number) => void;
|
|
2042
|
+
pageSizeSelector?: PageSizeSelectorProps;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
declare const TableV2: FC<TableV2Props>;
|
|
2046
|
+
|
|
2047
|
+
interface AddTileProps extends ButtonProps$1 {
|
|
2048
|
+
error: boolean;
|
|
2049
|
+
}
|
|
2050
|
+
interface PrimaryButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
2051
|
+
onClick?: ({ event, selectedId, }: {
|
|
2052
|
+
event: React__default.MouseEvent<HTMLButtonElement>;
|
|
2053
|
+
selectedId: string | null;
|
|
2054
|
+
}) => void;
|
|
2055
|
+
}
|
|
2056
|
+
interface AddProjectIconModalProps {
|
|
2057
|
+
title: string;
|
|
2058
|
+
isOpen: boolean;
|
|
2059
|
+
showBackDrop?: boolean;
|
|
2060
|
+
onClose: () => void;
|
|
2061
|
+
icons: {
|
|
2062
|
+
id: string;
|
|
2063
|
+
src: string;
|
|
2064
|
+
alt: string;
|
|
2065
|
+
actionType: "edit" | "close" | "none";
|
|
2066
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2067
|
+
actionButtonAriaLabel?: string;
|
|
2068
|
+
}[];
|
|
2069
|
+
buttons?: {
|
|
2070
|
+
primary?: PrimaryButtonProps;
|
|
2071
|
+
secondary?: ButtonProps;
|
|
2072
|
+
};
|
|
2073
|
+
addTile?: AddTileProps;
|
|
2074
|
+
iconButtons?: {
|
|
2075
|
+
closeButton?: {
|
|
2076
|
+
ariaLabel?: string;
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
declare const AddProjectIconModal: React__default.FC<AddProjectIconModalProps>;
|
|
2081
|
+
|
|
2082
|
+
interface AppBarProps {
|
|
2083
|
+
menuItems: {
|
|
2084
|
+
id: string;
|
|
2085
|
+
label: string;
|
|
2086
|
+
src?: string;
|
|
2087
|
+
icon?: React__default.ReactNode;
|
|
2088
|
+
type: "icon" | "image";
|
|
2089
|
+
href?: string;
|
|
2090
|
+
onClick?: (event?: React__default.MouseEvent) => void;
|
|
2091
|
+
selected: boolean;
|
|
2092
|
+
}[];
|
|
2093
|
+
logo: {
|
|
2094
|
+
src: string | undefined;
|
|
2095
|
+
alt: string;
|
|
2096
|
+
onClick?: () => void;
|
|
2097
|
+
};
|
|
2098
|
+
children?: React__default.ReactNode;
|
|
2099
|
+
avatar?: AvatarProps;
|
|
2100
|
+
navigationPanelIcon?: IconButtonProps;
|
|
2101
|
+
maxVisibleItems?: number;
|
|
2102
|
+
viewAllButtonProps?: React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2103
|
+
}
|
|
2104
|
+
declare const AppBar: React__default.FC<AppBarProps>;
|
|
2105
|
+
|
|
2106
|
+
interface ProjectOptions {
|
|
2107
|
+
id: string;
|
|
2108
|
+
img: string;
|
|
2109
|
+
name: string;
|
|
2110
|
+
}
|
|
2111
|
+
interface NavigationItems {
|
|
2112
|
+
id: string;
|
|
2113
|
+
label: string;
|
|
2114
|
+
icon: React__default.ReactNode;
|
|
2115
|
+
selected: boolean;
|
|
2116
|
+
href: string;
|
|
2117
|
+
isVisible: boolean;
|
|
2118
|
+
onClick?: () => void;
|
|
2119
|
+
badge?: string;
|
|
2120
|
+
}
|
|
2121
|
+
interface NavigationalPanelProps {
|
|
2122
|
+
items: NavigationItems[];
|
|
2123
|
+
currentProject: ProjectOptions;
|
|
2124
|
+
isCollapsed: boolean;
|
|
2125
|
+
actionButtonProps?: {
|
|
2126
|
+
content: React__default.ReactNode;
|
|
2127
|
+
buttonProps?: React__default.ComponentProps<typeof Button$1>;
|
|
2128
|
+
};
|
|
2129
|
+
actionIconButtonProps?: {
|
|
2130
|
+
iconButtonProps?: React__default.ComponentProps<typeof IconButton>;
|
|
2131
|
+
};
|
|
2132
|
+
}
|
|
2133
|
+
declare const NavigationalPanel: React__default.FC<NavigationalPanelProps>;
|
|
2134
|
+
|
|
2135
|
+
interface BaseRowData {
|
|
2136
|
+
id: string;
|
|
2137
|
+
[key: string]: React__default.ReactNode;
|
|
2138
|
+
}
|
|
2139
|
+
type SortDirection = "ASC" | "DESC";
|
|
2140
|
+
interface SortConfig {
|
|
2141
|
+
columnId: string;
|
|
2142
|
+
direction: SortDirection;
|
|
2143
|
+
}
|
|
2144
|
+
interface GroupData<T extends BaseRowData = BaseRowData> {
|
|
2145
|
+
groupId?: number;
|
|
2146
|
+
groupHeader?: React__default.ReactNode;
|
|
2147
|
+
items: T[];
|
|
2148
|
+
}
|
|
2149
|
+
interface Column<T extends BaseRowData = BaseRowData> {
|
|
2150
|
+
id: string;
|
|
2151
|
+
title: string;
|
|
2152
|
+
field: keyof T;
|
|
2153
|
+
width: number;
|
|
2154
|
+
minWidth: number;
|
|
2155
|
+
resizable: boolean;
|
|
2156
|
+
draggable: boolean;
|
|
2157
|
+
visible: boolean;
|
|
2158
|
+
sortable?: boolean;
|
|
2159
|
+
locked?: boolean;
|
|
2160
|
+
isRowHeader?: boolean;
|
|
2161
|
+
headerAction?: React__default.ReactNode;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
/** Controls which loading indicator is rendered during infinite scroll. */
|
|
2165
|
+
type LoaderVariant = "spinner" | "skeleton";
|
|
2166
|
+
|
|
2167
|
+
interface ListTableMenuLabels {
|
|
2168
|
+
sortAscending?: string;
|
|
2169
|
+
sortDescending?: string;
|
|
2170
|
+
hideField?: string;
|
|
2171
|
+
}
|
|
2172
|
+
interface ListTableProps<T extends BaseRowData = BaseRowData> {
|
|
2173
|
+
data: GroupData<T>[];
|
|
2174
|
+
columnHeaders: Column<T>[];
|
|
2175
|
+
onRowReorder?: (movingId: string, previousId?: string, nextId?: string) => void;
|
|
2176
|
+
onColumnReorder?: (columns: Column<T>[]) => void;
|
|
2177
|
+
onColumnResize?: (columnId: string, width: number) => void;
|
|
2178
|
+
onColumnVisibilityChange?: (columns: Column<T>[]) => void;
|
|
2179
|
+
showColumnVisibilityToggle?: boolean;
|
|
2180
|
+
showKebabMenu?: boolean;
|
|
2181
|
+
emptyStateTitle?: string;
|
|
2182
|
+
emptyStateDescription?: string;
|
|
2183
|
+
collapsedGroups?: Record<string, boolean>;
|
|
2184
|
+
onGroupToggle?: (groupKey: string, isCollapsed: boolean) => void;
|
|
2185
|
+
rowDragColumn?: keyof T;
|
|
2186
|
+
getKebabMenuAriaLabel?: (columnTitle: string) => string;
|
|
2187
|
+
sortIcons?: {
|
|
2188
|
+
columnId: string;
|
|
2189
|
+
icon: React__default.ReactNode;
|
|
2190
|
+
}[];
|
|
2191
|
+
menuLabels?: ListTableMenuLabels;
|
|
2192
|
+
groupHeaderData?: Record<string, Record<string, React__default.ReactNode>>;
|
|
2193
|
+
sortConfig?: SortConfig[];
|
|
2194
|
+
onSort?: (sortConfig: SortConfig[]) => void;
|
|
2195
|
+
onLoadMore?: () => Promise<void> | void;
|
|
2196
|
+
hasMore?: boolean;
|
|
2197
|
+
scrollThreshold?: number;
|
|
2198
|
+
infiniteScrollLoadingMessage?: string;
|
|
2199
|
+
loaderVariant?: LoaderVariant;
|
|
2200
|
+
disableColumnDragging?: boolean;
|
|
2201
|
+
focusColumnId?: string;
|
|
2202
|
+
focusScrollBehavior?: ScrollBehavior;
|
|
2203
|
+
tableHeaderClassName?: string;
|
|
2204
|
+
customGroupHeaderClassName?: string;
|
|
2205
|
+
rowColSpans?: Record<string, Record<string, number>>;
|
|
2206
|
+
rowRowSpans?: Record<string, Record<string, number>>;
|
|
2207
|
+
expandGroupAriaLabel?: string;
|
|
2208
|
+
collapseGroupAriaLabel?: string;
|
|
2209
|
+
focusableCells?: boolean;
|
|
2210
|
+
}
|
|
2211
|
+
declare const ListTable: <T extends BaseRowData = BaseRowData>({ data, columnHeaders, onRowReorder, onColumnReorder, onColumnResize, onColumnVisibilityChange, showColumnVisibilityToggle, showKebabMenu, emptyStateTitle, emptyStateDescription, collapsedGroups, onGroupToggle, rowDragColumn, getKebabMenuAriaLabel, sortIcons, menuLabels, groupHeaderData, sortConfig, onSort, onLoadMore, hasMore, scrollThreshold, infiniteScrollLoadingMessage, loaderVariant, disableColumnDragging, focusColumnId, focusScrollBehavior, tableHeaderClassName, customGroupHeaderClassName, rowColSpans, rowRowSpans, expandGroupAriaLabel, collapseGroupAriaLabel, focusableCells, }: ListTableProps<T>) => React__default.JSX.Element;
|
|
2212
|
+
|
|
2213
|
+
interface MentionItem {
|
|
2214
|
+
id: string;
|
|
2215
|
+
label: string;
|
|
2216
|
+
avatar?: string;
|
|
2217
|
+
email?: string;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
interface ColorOption {
|
|
2221
|
+
id: string;
|
|
2222
|
+
name: string;
|
|
2223
|
+
value: string;
|
|
2224
|
+
color: string;
|
|
2225
|
+
}
|
|
2226
|
+
interface RichTextEditorTextsProps {
|
|
2227
|
+
bold?: string;
|
|
2228
|
+
italic?: string;
|
|
2229
|
+
underline?: string;
|
|
2230
|
+
strikethrough?: string;
|
|
2231
|
+
removeLink?: string;
|
|
2232
|
+
addLink?: string;
|
|
2233
|
+
codeBlock?: string;
|
|
2234
|
+
fontColor?: string;
|
|
2235
|
+
bulletList?: string;
|
|
2236
|
+
orderedList?: string;
|
|
2237
|
+
taskList?: string;
|
|
2238
|
+
attach?: string;
|
|
2239
|
+
image?: string;
|
|
2240
|
+
mention?: string;
|
|
2241
|
+
insertTable?: string;
|
|
2242
|
+
inlineCode?: string;
|
|
2243
|
+
colorPickerAriaLabel?: string;
|
|
2244
|
+
linkDialog?: {
|
|
2245
|
+
urlLabel: string;
|
|
2246
|
+
linkTextLabel: string;
|
|
2247
|
+
urlPlaceholder: string;
|
|
2248
|
+
linkTextPlaceholder: string;
|
|
2249
|
+
cancelButton: string;
|
|
2250
|
+
addButton: string;
|
|
2251
|
+
updateButton: string;
|
|
2252
|
+
};
|
|
2253
|
+
}
|
|
2254
|
+
interface RichTextEditorAriaLabels {
|
|
2255
|
+
task?: string;
|
|
2256
|
+
checked?: string;
|
|
2257
|
+
unchecked?: string;
|
|
2258
|
+
}
|
|
2259
|
+
interface RichTextEditorProps {
|
|
2260
|
+
initialContent?: string;
|
|
2261
|
+
setContent: (html: string) => void;
|
|
2262
|
+
onImageUpload: (file: File) => Promise<string>;
|
|
2263
|
+
onFileUpload: (file: File) => Promise<string>;
|
|
2264
|
+
onFileLimitExceeded?: (file: File, maxSizeInMB: number) => void;
|
|
2265
|
+
placeholder?: string;
|
|
2266
|
+
editable?: boolean;
|
|
2267
|
+
height?: string;
|
|
2268
|
+
minHeight?: string;
|
|
2269
|
+
maxHeight?: string;
|
|
2270
|
+
className?: string;
|
|
2271
|
+
showToolbar?: boolean;
|
|
2272
|
+
mentionSuggestions?: MentionItem[];
|
|
2273
|
+
mentionPopupWidth?: string;
|
|
2274
|
+
colors?: ColorOption[];
|
|
2275
|
+
texts?: RichTextEditorTextsProps;
|
|
2276
|
+
maxFileSizeInMB?: number;
|
|
2277
|
+
ariaLabels?: RichTextEditorAriaLabels;
|
|
2278
|
+
}
|
|
2279
|
+
declare const RichTextEditor: React__default.FC<RichTextEditorProps>;
|
|
2280
|
+
|
|
2281
|
+
type TimelineGridZoom = "week" | "month" | "quarter";
|
|
2282
|
+
interface TimelineGridTodayButtonLabel {
|
|
2283
|
+
back: string;
|
|
2284
|
+
forward: string;
|
|
2285
|
+
}
|
|
2286
|
+
/** A row of the grid, positioned relative to the top of the grid body. */
|
|
2287
|
+
interface TimelineGridRow {
|
|
2288
|
+
key: string;
|
|
2289
|
+
top: number;
|
|
2290
|
+
height: number;
|
|
2291
|
+
isPlaceable?: boolean;
|
|
2292
|
+
}
|
|
2293
|
+
/** Passed to `renderRowContent` so content can be placed by date. */
|
|
2294
|
+
interface TimelineGridHelpers {
|
|
2295
|
+
/** Width of one day in px at the current zoom. */
|
|
2296
|
+
dayWidth: number;
|
|
2297
|
+
/** X position, in px, of the start of `date`. */
|
|
2298
|
+
getOffset: (date: Date) => number;
|
|
2299
|
+
/** Whether the row is hovered, here or in a synced list. */
|
|
2300
|
+
isHovered: boolean;
|
|
2301
|
+
}
|
|
2302
|
+
interface TimelineGridProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "className" | "children"> {
|
|
2303
|
+
zoom?: TimelineGridZoom;
|
|
2304
|
+
dayWidthByZoom?: Partial<Record<TimelineGridZoom, number>>;
|
|
2305
|
+
today?: Date;
|
|
2306
|
+
monthsBefore?: number;
|
|
2307
|
+
monthsAfter?: number;
|
|
2308
|
+
locale?: string;
|
|
2309
|
+
headerHeight?: number;
|
|
2310
|
+
minMonthLabelWidth?: number;
|
|
2311
|
+
rows?: TimelineGridRow[];
|
|
2312
|
+
hoveredRowKey?: string | null;
|
|
2313
|
+
onHoveredRowChange?: (key: string | null) => void;
|
|
2314
|
+
onPlaceRow?: (row: TimelineGridRow, start: Date) => void;
|
|
2315
|
+
placeholderHint?: string;
|
|
2316
|
+
placeholderDays?: number;
|
|
2317
|
+
rowLayerRef?: React__default.Ref<HTMLDivElement>;
|
|
2318
|
+
renderRowContent?: (row: TimelineGridRow, helpers: TimelineGridHelpers) => React__default.ReactNode;
|
|
2319
|
+
renderOverlay?: (helpers: Omit<TimelineGridHelpers, "isHovered">) => React__default.ReactNode;
|
|
2320
|
+
todayButtonLabel?: TimelineGridTodayButtonLabel;
|
|
2321
|
+
className?: string;
|
|
2322
|
+
}
|
|
2323
|
+
/**
|
|
2324
|
+
* A horizontally scrolling timeline: a month row, a day row (days at week
|
|
2325
|
+
* zoom, week starts at month zoom, every other week at quarter zoom), month
|
|
2326
|
+
* divider lines, optional rows and a today line. It scrolls to show today when
|
|
2327
|
+
* mounted or when the zoom changes. When today is scrolled out of view, a round
|
|
2328
|
+
* arrow button at the bottom points towards it and scrolls back to it.
|
|
2329
|
+
*
|
|
2330
|
+
* Rows are positioned by the caller, so they can mirror another list's rows.
|
|
2331
|
+
* Text props are used as-is (no built-in i18n defaults) — pass translated
|
|
2332
|
+
* strings from the consuming app.
|
|
2333
|
+
*
|
|
2334
|
+
* @param zoom - Time scale: "week", "month" or "quarter"
|
|
2335
|
+
* @param dayWidthByZoom - Width of one day in px per zoom, merged over the defaults
|
|
2336
|
+
* @param today - Date treated as today. Defaults to the current date
|
|
2337
|
+
* @param monthsBefore - Number of months shown before today
|
|
2338
|
+
* @param monthsAfter - Number of months shown after today
|
|
2339
|
+
* @param locale - Locale used for month names
|
|
2340
|
+
* @param headerHeight - Total header height (month row + day row), e.g. to match a list header
|
|
2341
|
+
* @param minMonthLabelWidth - Minimum month width, in px, needed to show its label
|
|
2342
|
+
* @param rows - Rows to render, positioned relative to the top of the grid body
|
|
2343
|
+
* @param hoveredRowKey - Controlled hovered row key, e.g. to share hover with a list
|
|
2344
|
+
* @param onHoveredRowChange - Called with the hovered row key, or null when the pointer leaves
|
|
2345
|
+
* @param onPlaceRow - Called with the row and start date when its placeholder is clicked. Enables the placeholder
|
|
2346
|
+
* @param placeholderHint - Hint text shown below the placeholder
|
|
2347
|
+
* @param placeholderDays - Number of days the placeholder covers
|
|
2348
|
+
* @param rowLayerRef - Ref to the element wrapping the rows, e.g. for scroll sync
|
|
2349
|
+
* @param renderRowContent - Renders content inside each row, with date helpers
|
|
2350
|
+
* @param renderOverlay - Renders content across all rows (e.g. GanttDependencyArrow), positioned relative to the top of the grid body
|
|
2351
|
+
* @param todayButtonLabel - Accessible names of the arrow button when today is to the left (`back`) or right (`forward`). Enables the button
|
|
2352
|
+
* @param className - Additional CSS classes for the scroll container
|
|
2353
|
+
* @returns TSX.Element - Rendered timeline grid
|
|
2354
|
+
*/
|
|
2355
|
+
declare const TimelineGrid: React__default.FC<TimelineGridProps>;
|
|
2356
|
+
|
|
2357
|
+
interface GanttTodayLineProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
2358
|
+
left: number;
|
|
2359
|
+
height?: number;
|
|
2360
|
+
top?: number;
|
|
2361
|
+
label?: React__default.ReactNode;
|
|
2362
|
+
isMarkerVisible?: boolean;
|
|
2363
|
+
color?: string;
|
|
2364
|
+
className?: string;
|
|
2365
|
+
}
|
|
2366
|
+
/**
|
|
2367
|
+
* Vertical "today" indicator for a timeline/Gantt chart: a 2px line with an
|
|
2368
|
+
* optional date pill and diamond pointer on top. It ignores pointer events so
|
|
2369
|
+
* bars underneath stay interactive; positioning is owned by the caller.
|
|
2370
|
+
* Sits at z-9, above GanttPlaceholder (z-4).
|
|
2371
|
+
*
|
|
2372
|
+
* @param left - X position of the line, in px
|
|
2373
|
+
* @param height - Height of the line, in px. Omit to stretch from `top` to the bottom of the container
|
|
2374
|
+
* @param top - Y position of the top of the line, in px
|
|
2375
|
+
* @param label - Content of the date pill shown on top. Omit to hide the pill
|
|
2376
|
+
* @param isMarkerVisible - Shows the diamond pointer on top of the line
|
|
2377
|
+
* @param color - CSS color of the line, pill and marker
|
|
2378
|
+
* @param className - Additional CSS classes for the container
|
|
2379
|
+
* @returns TSX.Element - Rendered today line
|
|
2380
|
+
*/
|
|
2381
|
+
declare const GanttTodayLine: React__default.FC<GanttTodayLineProps>;
|
|
2382
|
+
|
|
2383
|
+
interface GanttPlaceholderProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "className"> {
|
|
2384
|
+
left: number;
|
|
2385
|
+
width: number;
|
|
2386
|
+
hint?: string;
|
|
2387
|
+
className?: string;
|
|
2388
|
+
}
|
|
2389
|
+
/**
|
|
2390
|
+
* A dashed "+" slot shown in a timeline/Gantt row for an item without dates.
|
|
2391
|
+
* Clicking it lets the caller place the item; positioning and click handling
|
|
2392
|
+
* are owned by the caller. Sits at z-4. Text props are used as-is (no built-in
|
|
2393
|
+
* i18n defaults) — pass translated strings from the consuming app.
|
|
2394
|
+
*
|
|
2395
|
+
* @param left - X position of the slot, in px
|
|
2396
|
+
* @param width - Width of the slot, in px
|
|
2397
|
+
* @param hint - Text shown below the slot on hover/focus; also the accessible name. Omit to hide it
|
|
2398
|
+
* @param className - Additional CSS classes for the button
|
|
2399
|
+
* @returns TSX.Element - Rendered placeholder button
|
|
2400
|
+
*/
|
|
2401
|
+
declare const GanttPlaceholder: React__default.FC<GanttPlaceholderProps>;
|
|
2402
|
+
|
|
2403
|
+
interface VerticalTabProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "disabled"> {
|
|
2404
|
+
label: string;
|
|
2405
|
+
isExpanded?: boolean;
|
|
2406
|
+
className?: string;
|
|
2407
|
+
}
|
|
2408
|
+
/**
|
|
2409
|
+
* A narrow full-height tab with a vertical label, used to expand or collapse
|
|
2410
|
+
* an adjacent panel (e.g. the "FIELDS" tab beside the timeline grid).
|
|
2411
|
+
* Pass `aria-controls` with the panel's id so screen readers know which
|
|
2412
|
+
* panel it controls.
|
|
2413
|
+
*
|
|
2414
|
+
* @param label - Text shown vertically on the tab
|
|
2415
|
+
* @param isExpanded - Whether the panel is expanded; sets `aria-expanded` and the chevron direction
|
|
2416
|
+
* @param className - Additional CSS classes for the button
|
|
2417
|
+
* @returns TSX.Element - Rendered vertical tab
|
|
2418
|
+
*/
|
|
2419
|
+
declare const VerticalTab: React__default.FC<VerticalTabProps>;
|
|
2420
|
+
|
|
2421
|
+
type GanttBarLinkSide = "start" | "end";
|
|
2422
|
+
type GanttBarTooltipPlacement = "top" | "bottom";
|
|
2423
|
+
interface GanttBarDateRange {
|
|
2424
|
+
start: Date;
|
|
2425
|
+
end: Date;
|
|
2426
|
+
}
|
|
2427
|
+
interface GanttBarProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
2428
|
+
start: Date;
|
|
2429
|
+
end: Date;
|
|
2430
|
+
left: number;
|
|
2431
|
+
dayWidth: number;
|
|
2432
|
+
label?: string;
|
|
2433
|
+
color?: string;
|
|
2434
|
+
borderColor?: string;
|
|
2435
|
+
textColor?: string;
|
|
2436
|
+
locale?: string;
|
|
2437
|
+
tooltipPlacement?: GanttBarTooltipPlacement;
|
|
2438
|
+
isDisabled?: boolean;
|
|
2439
|
+
onDatesChange?: (start: Date, end: Date) => void;
|
|
2440
|
+
onDragChange?: (range: GanttBarDateRange | null) => void;
|
|
2441
|
+
onLinkStart?: (e: React__default.PointerEvent<HTMLElement>, side: GanttBarLinkSide) => void;
|
|
2442
|
+
className?: string;
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* @param start - First day of the bar
|
|
2446
|
+
* @param end - Last day of the bar (inclusive)
|
|
2447
|
+
* @param left - X position of `start`, in px (e.g. `getOffset(start)` from TimelineGrid)
|
|
2448
|
+
* @param dayWidth - Width of one day, in px; drags snap to it
|
|
2449
|
+
* @param label - Text shown inside the bar
|
|
2450
|
+
* @param color - Any CSS color for the bar fill
|
|
2451
|
+
* @param borderColor - Any CSS color for the border. Defaults to `color` mixed with the primary text color
|
|
2452
|
+
* @param textColor - Any CSS color for the label
|
|
2453
|
+
* @param locale - Locale used to format the date range in the tooltip
|
|
2454
|
+
* @param tooltipPlacement - Shows the tooltip above or below the bar, e.g. "top" for the last row so it isn't clipped
|
|
2455
|
+
* @param isDisabled - Makes the bar read-only: no dragging, resizing, linking or arrow keys
|
|
2456
|
+
* @param children - Extra decorative content inside the bar, e.g. an icon. It must not be interactive (the bar is a button); mark it `aria-hidden`
|
|
2457
|
+
* @param onDatesChange - Called with the new start and end dates when a drag or key press changes them
|
|
2458
|
+
* @param onDragChange - Called with the live dates while dragging, and with null when the drag ends, e.g. to move dependency arrows with the bar
|
|
2459
|
+
* @param onLinkStart - Called when a link handle is pressed with the primary button. Shows a handle at each end on hover; the caller tracks the pointer and creates the link (see `GanttDependencyArrow`)
|
|
2460
|
+
* @param className - Additional CSS classes for the bar
|
|
2461
|
+
* @returns TSX.Element - Rendered Gantt bar
|
|
2462
|
+
*/
|
|
2463
|
+
declare const GanttBar: React__default.FC<GanttBarProps>;
|
|
2464
|
+
|
|
2465
|
+
interface GanttPoint {
|
|
2466
|
+
x: number;
|
|
2467
|
+
y: number;
|
|
2468
|
+
}
|
|
2469
|
+
interface GanttDependencyArrowBaseProps extends Omit<React__default.SVGProps<SVGSVGElement>, "className" | "from" | "to" | "ref" | "onSelect"> {
|
|
2470
|
+
from: GanttPoint;
|
|
2471
|
+
to: GanttPoint;
|
|
2472
|
+
color?: string;
|
|
2473
|
+
selectedColor?: string;
|
|
2474
|
+
isDashed?: boolean;
|
|
2475
|
+
isSelected?: boolean;
|
|
2476
|
+
className?: string;
|
|
2477
|
+
}
|
|
2478
|
+
type GanttDependencyArrowSelectProps = {
|
|
2479
|
+
onSelect: () => void;
|
|
2480
|
+
label: string;
|
|
2481
|
+
} | {
|
|
2482
|
+
onSelect?: never;
|
|
2483
|
+
label?: string;
|
|
2484
|
+
};
|
|
2485
|
+
type GanttDependencyArrowRemoveProps = {
|
|
2486
|
+
onRemove: () => void;
|
|
2487
|
+
removeLabel: string;
|
|
2488
|
+
} | {
|
|
2489
|
+
onRemove?: never;
|
|
2490
|
+
removeLabel?: never;
|
|
2491
|
+
};
|
|
2492
|
+
type GanttDependencyArrowProps = GanttDependencyArrowBaseProps & GanttDependencyArrowSelectProps & GanttDependencyArrowRemoveProps;
|
|
2493
|
+
/**
|
|
2494
|
+
* @param from - Point the arrow starts at: the right edge of the blocking bar, vertically centred
|
|
2495
|
+
* @param to - Point the arrow tip touches: the left edge of the blocked bar, vertically centred
|
|
2496
|
+
* @param color - Any CSS color for the arrow
|
|
2497
|
+
* @param selectedColor - Any CSS color for the arrow and close button while selected or focused
|
|
2498
|
+
* @param isDashed - Draws a dashed line, e.g. while a link is being dragged
|
|
2499
|
+
* @param isSelected - Highlights the arrow and shows the close button
|
|
2500
|
+
* @param onSelect - Called when the arrow is clicked or activated from the keyboard. Makes it clickable and focusable
|
|
2501
|
+
* @param label - Accessible name of the arrow, e.g. "PM-12 blocks PM-14". Required with `onSelect`
|
|
2502
|
+
* @param onRemove - Called when the close button is clicked, or Delete is pressed on the focused arrow
|
|
2503
|
+
* @param removeLabel - Accessible name of the close button. Required with `onRemove`
|
|
2504
|
+
* @param className - Additional CSS classes for the SVG
|
|
2505
|
+
* @returns TSX.Element - Rendered dependency arrow
|
|
2506
|
+
*/
|
|
2507
|
+
declare const GanttDependencyArrow: React__default.FC<GanttDependencyArrowProps>;
|
|
2508
|
+
|
|
2509
|
+
interface OptionType {
|
|
2510
|
+
id: string | number;
|
|
2511
|
+
label: string;
|
|
2512
|
+
}
|
|
2513
|
+
interface MultiSelectSearchProps {
|
|
2514
|
+
options: OptionType[];
|
|
2515
|
+
customDropdown?: ReactNode;
|
|
2516
|
+
renderCustomChip?: (option: OptionType, onRemove: () => void) => ReactNode;
|
|
2517
|
+
showDropdown?: boolean;
|
|
2518
|
+
isMultiSelect?: boolean;
|
|
2519
|
+
onOptionSelect?: (selectedOptions: OptionType[]) => void;
|
|
2520
|
+
onSearchChange?: (searchText: string) => void;
|
|
2521
|
+
selectedOptions?: OptionType[];
|
|
2522
|
+
placeholder: string;
|
|
2523
|
+
ariaLabel?: string;
|
|
2524
|
+
ariaLabelledBy?: string;
|
|
2525
|
+
ariaDescribedBy?: string;
|
|
2526
|
+
emptyResultsMessage?: string;
|
|
2527
|
+
searchInputId?: string;
|
|
2528
|
+
className?: string;
|
|
2529
|
+
dropdownClassName?: string;
|
|
2530
|
+
chipClassName?: string;
|
|
2531
|
+
clearSearchOnSelect?: boolean;
|
|
2532
|
+
searchText?: string;
|
|
2533
|
+
showClearAllButton?: boolean;
|
|
2534
|
+
}
|
|
2535
|
+
declare const MultiSelectSearch: React__default.ForwardRefExoticComponent<MultiSelectSearchProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
2536
|
+
|
|
2537
|
+
interface SearchItemCardProps {
|
|
2538
|
+
id: string;
|
|
2539
|
+
projectKey?: string;
|
|
2540
|
+
description: string;
|
|
2541
|
+
labels?: LabelProps[];
|
|
2542
|
+
itemIcon?: React$1.ReactNode;
|
|
2543
|
+
imagePreview?: {
|
|
2544
|
+
src: string;
|
|
2545
|
+
alt: string;
|
|
2546
|
+
};
|
|
2547
|
+
footer?: {
|
|
2548
|
+
leftText?: string;
|
|
2549
|
+
rightText?: string;
|
|
2550
|
+
};
|
|
2551
|
+
}
|
|
2552
|
+
interface SearchItemCardComponentProps {
|
|
2553
|
+
task: SearchItemCardProps;
|
|
2554
|
+
onClick?: (task: SearchItemCardProps) => void;
|
|
2555
|
+
className?: string;
|
|
2556
|
+
isInteractive?: boolean;
|
|
2557
|
+
ariaLabel?: string;
|
|
2558
|
+
showSkeleton?: boolean;
|
|
2559
|
+
showCursorPointer?: boolean;
|
|
2560
|
+
isKeyboardSelected?: boolean;
|
|
2561
|
+
onKeyDown?: (e: React$1.KeyboardEvent<HTMLDivElement>) => void;
|
|
2562
|
+
onFocus?: (e: React$1.FocusEvent<HTMLDivElement>) => void;
|
|
2563
|
+
tabIndex?: number;
|
|
2564
|
+
setItemRef?: (index: number, el: HTMLDivElement | null) => void;
|
|
2565
|
+
itemIndex?: number;
|
|
2566
|
+
}
|
|
2567
|
+
declare const SearchItemCard: React$1.FC<SearchItemCardComponentProps>;
|
|
2568
|
+
|
|
2569
|
+
interface CustomButton extends Omit<ButtonProps$1, "children"> {
|
|
2570
|
+
id?: string;
|
|
2571
|
+
label: string;
|
|
2572
|
+
onClick: () => void;
|
|
2573
|
+
}
|
|
2574
|
+
interface GlobalSearchModalProps {
|
|
2575
|
+
modalProps: BasicModalProps;
|
|
2576
|
+
searchItemCardProps: SearchItemCardProps[];
|
|
2577
|
+
multiSelectSearchProps: MultiSelectSearchProps;
|
|
2578
|
+
onSearchItemClick?: (item: SearchItemCardProps) => void;
|
|
2579
|
+
showSkeleton?: boolean;
|
|
2580
|
+
searchItemCardComponentProps: Omit<SearchItemCardComponentProps, "task">;
|
|
2581
|
+
customButtons?: CustomButton[];
|
|
2582
|
+
noResultsView?: EmptyDataViewProps;
|
|
2583
|
+
enableKeyboardNavigation?: boolean;
|
|
2584
|
+
searchResultsAriaLabel?: string;
|
|
2585
|
+
}
|
|
2586
|
+
declare const GlobalSearchModal: React__default.FC<GlobalSearchModalProps>;
|
|
2587
|
+
|
|
2588
|
+
interface PageHeaderProps {
|
|
2589
|
+
left?: React__default.ReactNode;
|
|
2590
|
+
right?: React__default.ReactNode;
|
|
2591
|
+
}
|
|
2592
|
+
declare const PageHeader: React__default.FC<PageHeaderProps>;
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* A single view option. `value` is the identifier passed to onChange.
|
|
2596
|
+
* `icon` must use currentColor for active/inactive theming.
|
|
2597
|
+
* `ariaLabel` is required so screen-reader users can identify each option.
|
|
2598
|
+
*/
|
|
2599
|
+
interface ViewToggleOption {
|
|
2600
|
+
value: string;
|
|
2601
|
+
icon: React__default.ReactElement;
|
|
2602
|
+
ariaLabel: string;
|
|
2603
|
+
}
|
|
2604
|
+
/**
|
|
2605
|
+
* Props for ViewToggle.
|
|
2606
|
+
* `options` requires at least two entries (enforced by tuple type).
|
|
2607
|
+
* `value` must match one of the option values — ViewToggle is a controlled component.
|
|
2608
|
+
* `onChange` fires only when a different option is selected.
|
|
2609
|
+
* `ariaLabel` labels the radiogroup for screen readers and defaults to "View options".
|
|
2610
|
+
* `className` should be used only for margins and positioning.
|
|
2611
|
+
*/
|
|
2612
|
+
interface ViewToggleProps {
|
|
2613
|
+
options: ViewToggleOption[];
|
|
2614
|
+
activeView: string;
|
|
2615
|
+
onChange: (value: string) => void;
|
|
2616
|
+
className?: string;
|
|
2617
|
+
ariaLabel?: string;
|
|
2618
|
+
}
|
|
2619
|
+
declare const ViewToggle: ({ options, activeView, onChange, className, ariaLabel, }: ViewToggleProps) => React__default.JSX.Element;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Each sub-component is configured through its own nested prop bag, typed as
|
|
2623
|
+
* that component's own props and spread straight onto it. A sub-component only
|
|
2624
|
+
* renders when its bag is provided (e.g. pass `searchBar={{}}` to show the
|
|
2625
|
+
* search bar). TableToolBar supplies sensible defaults that the bag can
|
|
2626
|
+
* override. The filter button's `icon` is controlled by the toolbar.
|
|
2627
|
+
*/
|
|
2628
|
+
interface TableToolBarProps {
|
|
2629
|
+
searchBar?: InputFieldProps;
|
|
2630
|
+
dropdown?: DropdownProps;
|
|
2631
|
+
exportButton?: Omit<ButtonProps, "size">;
|
|
2632
|
+
filterButton?: Omit<IconButtonProps, "icon">;
|
|
2633
|
+
viewToggle?: ViewToggleProps;
|
|
2634
|
+
className?: string;
|
|
2635
|
+
}
|
|
2636
|
+
declare const TableToolBar: React__default.FC<TableToolBarProps>;
|
|
2637
|
+
|
|
2638
|
+
interface CommentCardProps {
|
|
2639
|
+
commentId: string;
|
|
2640
|
+
content: string;
|
|
2641
|
+
avatarProps: AvatarProps;
|
|
2642
|
+
timestamp: string;
|
|
2643
|
+
replies?: CommentCardProps[];
|
|
2644
|
+
level?: number;
|
|
2645
|
+
isLast?: boolean;
|
|
2646
|
+
isDeleted?: boolean;
|
|
2647
|
+
ariaLabels?: {
|
|
2648
|
+
reply?: string;
|
|
2649
|
+
edit?: string;
|
|
2650
|
+
delete?: string;
|
|
2651
|
+
expand?: string;
|
|
2652
|
+
collapse?: string;
|
|
2653
|
+
card?: string;
|
|
2654
|
+
labelledby?: string;
|
|
2655
|
+
replyLabelledby?: string;
|
|
2656
|
+
replyCard?: string;
|
|
2657
|
+
};
|
|
2658
|
+
editorTexts?: RichTextEditorTextsProps;
|
|
2659
|
+
expandCollapseText: {
|
|
2660
|
+
expand?: string;
|
|
2661
|
+
collapse?: string;
|
|
2662
|
+
};
|
|
2663
|
+
editorButtonLabels: {
|
|
2664
|
+
cancel?: string;
|
|
2665
|
+
comment?: string;
|
|
2666
|
+
};
|
|
2667
|
+
actionButtonLabels: {
|
|
2668
|
+
reply: string;
|
|
2669
|
+
edit: string;
|
|
2670
|
+
delete: string;
|
|
2671
|
+
};
|
|
2672
|
+
currentUserAvatarProps?: AvatarProps;
|
|
2673
|
+
showReplyEditor?: boolean;
|
|
2674
|
+
isLoadingReplies?: boolean;
|
|
2675
|
+
isLoading?: boolean;
|
|
2676
|
+
activeReplyCommentId?: string;
|
|
2677
|
+
mentionSuggestions?: MentionItem[];
|
|
2678
|
+
maxFileSizeInMB?: number;
|
|
2679
|
+
onReply?: (id: string, content: string) => void;
|
|
2680
|
+
onEdit?: (id: string, content: string) => void;
|
|
2681
|
+
onDelete?: (id: string) => void;
|
|
2682
|
+
onReplyToggle?: (show: boolean) => void;
|
|
2683
|
+
onReplyButtonClick?: (commentId: string) => void;
|
|
2684
|
+
onImageUpload: (file: File) => Promise<string>;
|
|
2685
|
+
onFileUpload: (file: File) => Promise<string>;
|
|
2686
|
+
onFileLimitExceeded?: (file: File, maxSizeInMB: number) => void;
|
|
2687
|
+
}
|
|
2688
|
+
declare const CommentCard: React__default.FC<CommentCardProps>;
|
|
2689
|
+
|
|
2690
|
+
interface CommentSectionProps {
|
|
2691
|
+
commentId: string;
|
|
2692
|
+
avatarProps: AvatarProps;
|
|
2693
|
+
timestamp: string;
|
|
2694
|
+
content: string;
|
|
2695
|
+
isEditing: boolean;
|
|
2696
|
+
isCurrentUserComment: boolean;
|
|
2697
|
+
editedContent: string;
|
|
2698
|
+
isDeleted?: boolean;
|
|
2699
|
+
isReply?: boolean;
|
|
2700
|
+
userStatus?: string;
|
|
2701
|
+
editorTexts?: RichTextEditorTextsProps;
|
|
2702
|
+
editorButtonLabels: {
|
|
2703
|
+
cancel?: string;
|
|
2704
|
+
comment?: string;
|
|
2705
|
+
};
|
|
2706
|
+
actionButtonLabels: {
|
|
2707
|
+
reply: string;
|
|
2708
|
+
edit: string;
|
|
2709
|
+
delete: string;
|
|
2710
|
+
};
|
|
2711
|
+
ariaLabels?: {
|
|
2712
|
+
card?: string;
|
|
2713
|
+
labelledby?: string;
|
|
2714
|
+
};
|
|
2715
|
+
isLoading?: boolean;
|
|
2716
|
+
mentionSuggestions?: MentionItem[];
|
|
2717
|
+
maxFileSizeInMB?: number;
|
|
2718
|
+
onReplyClick: () => void;
|
|
2719
|
+
onEditClick: () => void;
|
|
2720
|
+
onDeleteClick: () => void;
|
|
2721
|
+
onCancelEdit: () => void;
|
|
2722
|
+
onSaveEdit: () => void;
|
|
2723
|
+
setEditedContent: (value: string) => void;
|
|
2724
|
+
onImageUpload: (file: File) => Promise<string>;
|
|
2725
|
+
onFileLimitExceeded?: (file: File, maxSizeInMB: number) => void;
|
|
2726
|
+
onFileUpload: (file: File) => Promise<string>;
|
|
2727
|
+
}
|
|
2728
|
+
declare const CommentSection: React__default.FC<CommentSectionProps>;
|
|
2729
|
+
|
|
2730
|
+
interface ReplySectionProps {
|
|
2731
|
+
replyContent: string;
|
|
2732
|
+
activeReplyCommentId?: string;
|
|
2733
|
+
currentUserAvatarProps?: AvatarProps;
|
|
2734
|
+
editorTexts?: RichTextEditorTextsProps;
|
|
2735
|
+
editorButtonLabels: {
|
|
2736
|
+
cancel?: string;
|
|
2737
|
+
comment?: string;
|
|
2738
|
+
};
|
|
2739
|
+
ariaLabels?: {
|
|
2740
|
+
replyLabelledby?: string;
|
|
2741
|
+
replyCard?: string;
|
|
2742
|
+
};
|
|
2743
|
+
applyIndentation?: boolean;
|
|
2744
|
+
isLoading?: boolean;
|
|
2745
|
+
maxFileSizeInMB?: number;
|
|
2746
|
+
onCancelReply: () => void;
|
|
2747
|
+
onSaveReply: () => void;
|
|
2748
|
+
setReplyContent: (value: string) => void;
|
|
2749
|
+
mentionSuggestions?: MentionItem[];
|
|
2750
|
+
onImageUpload: (file: File) => Promise<string>;
|
|
2751
|
+
onFileUpload: (file: File) => Promise<string>;
|
|
2752
|
+
onFileLimitExceeded?: (file: File, maxSizeInMB: number) => void;
|
|
2753
|
+
}
|
|
2754
|
+
declare const ReplySection: React__default.FC<ReplySectionProps>;
|
|
2755
|
+
|
|
2756
|
+
interface UserChipProps {
|
|
2757
|
+
avatarProps: AvatarProps;
|
|
2758
|
+
primaryText: string;
|
|
2759
|
+
secondaryText?: string;
|
|
2760
|
+
className?: string;
|
|
2761
|
+
primaryTextClassName?: string;
|
|
2762
|
+
secondaryTextClassName?: string;
|
|
2763
|
+
}
|
|
2764
|
+
declare const UserChip: React__default.FC<UserChipProps>;
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* ApprovalCard component props
|
|
2768
|
+
* All text content should be provided by the consumer for proper localization and customization.
|
|
2769
|
+
* No hardcoded text or behaviors exist in the component.
|
|
2770
|
+
*/
|
|
2771
|
+
interface ApprovalCardProps {
|
|
2772
|
+
/** Control the expanded state from outside the component */
|
|
2773
|
+
isExpanded?: boolean;
|
|
2774
|
+
/** Called when the expanded state changes */
|
|
2775
|
+
onExpandToggle?: (isExpanded: boolean) => void;
|
|
2776
|
+
/** User information for the approval card */
|
|
2777
|
+
user: {
|
|
2778
|
+
name?: string;
|
|
2779
|
+
avatar?: string;
|
|
2780
|
+
firstName?: string;
|
|
2781
|
+
lastName?: string;
|
|
2782
|
+
userStatus?: string;
|
|
2783
|
+
isPlaceholder?: boolean;
|
|
2784
|
+
};
|
|
2785
|
+
/** Date string for the approval */
|
|
2786
|
+
date: string;
|
|
2787
|
+
/** Role of the user */
|
|
2788
|
+
role: string;
|
|
2789
|
+
/** Approval status */
|
|
2790
|
+
status: "approved" | "pending" | "rejected";
|
|
2791
|
+
/** Optional kebab menu configuration */
|
|
2792
|
+
kebabMenuProps?: KebabMenuProps;
|
|
2793
|
+
/** Rich text editor configuration */
|
|
2794
|
+
textEditorProps?: RichTextEditorProps;
|
|
2795
|
+
/** Custom className to control the background color and other styling */
|
|
2796
|
+
className?: string;
|
|
2797
|
+
/** Background color for the entire card (header and expanded content) */
|
|
2798
|
+
backgroundColor?: string;
|
|
2799
|
+
/** Whether the card is hoverable (shows cursor pointer on hover) */
|
|
2800
|
+
isHoverable?: boolean;
|
|
2801
|
+
/**
|
|
2802
|
+
* When provided, approve/decline buttons will be shown instead of the status chip.
|
|
2803
|
+
* If not provided, the status chip will be shown according to the status prop.
|
|
2804
|
+
*/
|
|
2805
|
+
showApprovalDeclineButtons?: {
|
|
2806
|
+
/** Handler for approve button click */
|
|
2807
|
+
onApprove: () => void;
|
|
2808
|
+
/** Handler for decline button click */
|
|
2809
|
+
onDecline: () => void;
|
|
2810
|
+
/** Text for the approve button (should be provided for localization) */
|
|
2811
|
+
approveText: string;
|
|
2812
|
+
/** Text for the decline button (should be provided for localization) */
|
|
2813
|
+
declineText: string;
|
|
2814
|
+
/** ARIA label for approve button (should be provided for accessibility) */
|
|
2815
|
+
approveAriaLabel: string;
|
|
2816
|
+
/** ARIA label for decline button (should be provided for accessibility) */
|
|
2817
|
+
declineAriaLabel: string;
|
|
2818
|
+
/** Configuration for the input field below approve/decline buttons */
|
|
2819
|
+
inputField?: {
|
|
2820
|
+
/** Placeholder text for the input field */
|
|
2821
|
+
placeholder?: string;
|
|
2822
|
+
/** Additional props for the InputField component */
|
|
2823
|
+
inputProps?: Omit<InputFieldProps, "onClick" | "onFocus">;
|
|
2824
|
+
/** Called when the input field is clicked/focused to open rich text editor */
|
|
2825
|
+
onInputClick?: () => void;
|
|
2826
|
+
/** Whether to show input field or rich text editor */
|
|
2827
|
+
showRichTextEditor?: boolean;
|
|
2828
|
+
/** Called when rich text editor should be shown */
|
|
2829
|
+
onShowRichTextEditor?: () => void;
|
|
2830
|
+
/** Called when rich text editor should be hidden */
|
|
2831
|
+
onHideRichTextEditor?: () => void;
|
|
2832
|
+
/** Text for the cancel button in rich text editor */
|
|
2833
|
+
cancelText?: string;
|
|
2834
|
+
/** Text for the save button in rich text editor */
|
|
2835
|
+
saveText?: string;
|
|
2836
|
+
/** Called when save button is clicked in rich text editor */
|
|
2837
|
+
onSave?: () => void;
|
|
2838
|
+
/** Called when cancel button is clicked in rich text editor */
|
|
2839
|
+
onCancel?: () => void;
|
|
2840
|
+
};
|
|
2841
|
+
};
|
|
2842
|
+
/**
|
|
2843
|
+
* Controls for the edit mode save/cancel actions
|
|
2844
|
+
* Both handlers and text must be provided by the consumer
|
|
2845
|
+
*/
|
|
2846
|
+
cancelSaveButtons?: {
|
|
2847
|
+
/** Handler for cancel button click */
|
|
2848
|
+
onCancel?: () => void;
|
|
2849
|
+
/** Handler for save button click */
|
|
2850
|
+
onSave?: () => void;
|
|
2851
|
+
/** Text for the save button (should be provided for localization) */
|
|
2852
|
+
saveText: string;
|
|
2853
|
+
/** Text for the cancel button (should be provided for localization) */
|
|
2854
|
+
cancelText: string;
|
|
2855
|
+
/** ARIA label for save button (should be provided for accessibility) */
|
|
2856
|
+
saveAriaLabel: string;
|
|
2857
|
+
/** ARIA label for cancel button (should be provided for accessibility) */
|
|
2858
|
+
cancelAriaLabel: string;
|
|
2859
|
+
};
|
|
2860
|
+
/**
|
|
2861
|
+
* Controls for the remarks view and edit functionality
|
|
2862
|
+
* All text content should be provided by the consumer
|
|
2863
|
+
*/
|
|
2864
|
+
viewRemarks?: {
|
|
2865
|
+
/** Title text for the remarks section */
|
|
2866
|
+
title: string;
|
|
2867
|
+
/**
|
|
2868
|
+
* Whether to sanitize HTML content (recommended for security)
|
|
2869
|
+
* If true or undefined, content will be sanitized with DOMPurify
|
|
2870
|
+
* If false, raw HTML will be rendered (SECURITY RISK - only disable if you sanitize content elsewhere)
|
|
2871
|
+
*/
|
|
2872
|
+
sanitize?: boolean;
|
|
2873
|
+
/** HTML content for the remarks */
|
|
2874
|
+
content: string;
|
|
2875
|
+
/** ARIA label for edit button */
|
|
2876
|
+
editAriaLabel: string;
|
|
2877
|
+
/** ARIA label for delete button */
|
|
2878
|
+
deleteAriaLabel: string;
|
|
2879
|
+
/** Callback when delete button is clicked - consumer handles confirmation */
|
|
2880
|
+
onDelete?: () => void;
|
|
2881
|
+
/** Whether to show the edit icon (default: true) */
|
|
2882
|
+
showEditIcon?: boolean;
|
|
2883
|
+
/** Whether to show the delete icon (default: true) */
|
|
2884
|
+
showDeleteIcon?: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
/**
|
|
2887
|
+
* Custom labels for status values (for localization)
|
|
2888
|
+
* Should provide all possible status labels
|
|
2889
|
+
*/
|
|
2890
|
+
statusLabels?: {
|
|
2891
|
+
/** Label text for approved status */
|
|
2892
|
+
approved: string;
|
|
2893
|
+
/** Label text for pending status */
|
|
2894
|
+
pending: string;
|
|
2895
|
+
/** Label text for rejected status */
|
|
2896
|
+
rejected: string;
|
|
2897
|
+
};
|
|
2898
|
+
/**
|
|
2899
|
+
* Custom role styling and positioning
|
|
2900
|
+
* Allows consistent alignment across different approval cards
|
|
2901
|
+
*/
|
|
2902
|
+
roleConfig?: {
|
|
2903
|
+
/** Custom className for role container */
|
|
2904
|
+
className?: string;
|
|
2905
|
+
/** Whether to use fixed width for consistent alignment (default: false) */
|
|
2906
|
+
useFixedWidth?: boolean;
|
|
2907
|
+
/** Fixed width value when useFixedWidth is true (default: "120px") */
|
|
2908
|
+
fixedWidth?: string;
|
|
2909
|
+
/** Text alignment for role text */
|
|
2910
|
+
textAlign?: "left" | "center" | "right";
|
|
2911
|
+
};
|
|
2912
|
+
/**
|
|
2913
|
+
* User name and date display configuration
|
|
2914
|
+
* Controls consistent positioning and width constraints
|
|
2915
|
+
*/
|
|
2916
|
+
userConfig?: {
|
|
2917
|
+
/** Maximum width for user name to prevent role displacement */
|
|
2918
|
+
maxWidth?: string;
|
|
2919
|
+
/** Whether to truncate long names with ellipsis (default: true) */
|
|
2920
|
+
truncate?: boolean;
|
|
2921
|
+
/** Custom className for user chip container */
|
|
2922
|
+
className?: string;
|
|
2923
|
+
};
|
|
2924
|
+
/**
|
|
2925
|
+
* Accessibility labels for various elements
|
|
2926
|
+
* Should be provided for complete accessibility support
|
|
2927
|
+
*/
|
|
2928
|
+
a11yLabels?: {
|
|
2929
|
+
/** ARIA label for role information */
|
|
2930
|
+
roleLabel: string;
|
|
2931
|
+
/** ARIA label for status information */
|
|
2932
|
+
statusLabel: string;
|
|
2933
|
+
/** ARIA label for avatar */
|
|
2934
|
+
avatarLabel: string;
|
|
2935
|
+
/** ARIA label for date information */
|
|
2936
|
+
dateLabel: string;
|
|
2937
|
+
/** ARIA label for accordion */
|
|
2938
|
+
accordionLabel: string;
|
|
2939
|
+
/** Title for remarks section (overrides viewRemarks.title) */
|
|
2940
|
+
remarksTitle: string;
|
|
2941
|
+
};
|
|
2942
|
+
}
|
|
2943
|
+
declare const ApprovalCard: React__default.FC<ApprovalCardProps>;
|
|
2944
|
+
|
|
2945
|
+
interface DraggableTableColumn {
|
|
2946
|
+
key: string;
|
|
2947
|
+
label: string;
|
|
2948
|
+
editable?: boolean;
|
|
2949
|
+
width?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Text alignment for this column's header and cells
|
|
2952
|
+
* @default "left"
|
|
2953
|
+
*/
|
|
2954
|
+
textAlign?: "left" | "center" | "right";
|
|
2955
|
+
}
|
|
2956
|
+
interface DraggableTableData {
|
|
2957
|
+
[key: string]: any;
|
|
2958
|
+
id: string;
|
|
2959
|
+
description?: string;
|
|
2960
|
+
}
|
|
2961
|
+
interface DraggableDeleteTableProps {
|
|
2962
|
+
/**
|
|
2963
|
+
* Data to display in the table
|
|
2964
|
+
*/
|
|
2965
|
+
data: DraggableTableData[];
|
|
2966
|
+
/**
|
|
2967
|
+
* Column definitions for the table
|
|
2968
|
+
*/
|
|
2969
|
+
columns: DraggableTableColumn[];
|
|
2970
|
+
/**
|
|
2971
|
+
* Called when rows are reordered
|
|
2972
|
+
*/
|
|
2973
|
+
onReorder?: (items: DraggableTableData[]) => void;
|
|
2974
|
+
/**
|
|
2975
|
+
* Called when a cell value changes
|
|
2976
|
+
*/
|
|
2977
|
+
onCellChange?: (rowId: string, columnKey: string, value: any) => void;
|
|
2978
|
+
/**
|
|
2979
|
+
* Called when a row is deleted
|
|
2980
|
+
*/
|
|
2981
|
+
onDelete?: (rowId: string) => void;
|
|
2982
|
+
/**
|
|
2983
|
+
* Whether to show the delete icon
|
|
2984
|
+
* @default true
|
|
2985
|
+
*/
|
|
2986
|
+
showDeleteIcon?: boolean;
|
|
2987
|
+
/**
|
|
2988
|
+
* CSS class name for the table container
|
|
2989
|
+
*/
|
|
2990
|
+
className?: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* CSS class name for the table element
|
|
2993
|
+
*/
|
|
2994
|
+
tableClassName?: string;
|
|
2995
|
+
roundBottomRow?: boolean;
|
|
2996
|
+
/**
|
|
2997
|
+
* Height for editable rows
|
|
2998
|
+
*/
|
|
2999
|
+
editHeight?: string;
|
|
3000
|
+
/**
|
|
3001
|
+
* Text alignment for table headers
|
|
3002
|
+
*/
|
|
3003
|
+
headerTextAlign: "left" | "center" | "right";
|
|
3004
|
+
/**
|
|
3005
|
+
* Accessibility label for drag handle button
|
|
3006
|
+
*/
|
|
3007
|
+
dragAriaLabel: string;
|
|
3008
|
+
/**
|
|
3009
|
+
* Accessibility label for delete button
|
|
3010
|
+
*/
|
|
3011
|
+
deleteAriaLabel: string;
|
|
3012
|
+
/**
|
|
3013
|
+
* Keyboard instructions for screen readers
|
|
3014
|
+
*/
|
|
3015
|
+
keyboardInstructions: string;
|
|
3016
|
+
/**
|
|
3017
|
+
* Drag instructions for screen readers
|
|
3018
|
+
*/
|
|
3019
|
+
dragInstructions: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* Label for the reorder column header (screen reader only)
|
|
3022
|
+
*/
|
|
3023
|
+
reorderColumnLabel: string;
|
|
3024
|
+
/**
|
|
3025
|
+
* Label for the actions column header (screen reader only)
|
|
3026
|
+
*/
|
|
3027
|
+
actionsColumnLabel: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* Content to show when no data is available
|
|
3030
|
+
* Can be a string or a React component
|
|
3031
|
+
*/
|
|
3032
|
+
noDataContent?: React.ReactNode;
|
|
3033
|
+
/**
|
|
3034
|
+
* Custom render function for cells
|
|
3035
|
+
* @param rowId - ID of the row
|
|
3036
|
+
* @param columnKey - Key of the column
|
|
3037
|
+
* @param value - Value of the cell
|
|
3038
|
+
* @returns React node to render in the cell
|
|
3039
|
+
*/
|
|
3040
|
+
/**
|
|
3041
|
+
* Control horizontal padding
|
|
3042
|
+
*/
|
|
3043
|
+
paddingLeft?: string | number;
|
|
3044
|
+
paddingRight?: string | number;
|
|
3045
|
+
/**
|
|
3046
|
+
* Control the padding of the data cells
|
|
3047
|
+
*/
|
|
3048
|
+
rowCellClassName?: {
|
|
3049
|
+
dataCellPadding?: string;
|
|
3050
|
+
rowCellInnerContainerPadding?: string;
|
|
3051
|
+
};
|
|
3052
|
+
tableHeaderClassName?: {
|
|
3053
|
+
headerPadding?: string;
|
|
3054
|
+
};
|
|
3055
|
+
renderCell?: (rowId: string, columnKey: string, value: any) => React.ReactNode;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
declare const DraggableDeleteTable: ({ data, columns, onReorder, onCellChange, onDelete, showDeleteIcon, className, tableClassName, roundBottomRow, editHeight, headerTextAlign, dragAriaLabel, deleteAriaLabel, keyboardInstructions, dragInstructions, reorderColumnLabel, actionsColumnLabel, noDataContent, renderCell, paddingLeft, paddingRight, tableHeaderClassName, rowCellClassName, }: DraggableDeleteTableProps) => React__default.JSX.Element;
|
|
3059
|
+
|
|
3060
|
+
interface HistoryEntry {
|
|
3061
|
+
id: string;
|
|
3062
|
+
user: {
|
|
3063
|
+
firstName: string;
|
|
3064
|
+
lastName: string;
|
|
3065
|
+
avatarUrl?: string;
|
|
3066
|
+
avatarSize?: "xs" | "sm" | "lg";
|
|
3067
|
+
isPlaceholder?: boolean;
|
|
3068
|
+
userStatus?: string;
|
|
3069
|
+
};
|
|
3070
|
+
timestamp: string;
|
|
3071
|
+
description?: React__default.ReactNode;
|
|
3072
|
+
secondaryDescription?: React__default.ReactNode;
|
|
3073
|
+
beforeValue?: React__default.ReactNode;
|
|
3074
|
+
afterValue?: React__default.ReactNode;
|
|
3075
|
+
}
|
|
3076
|
+
interface HistoryLogCardProps {
|
|
3077
|
+
/** Array of history entries to display */
|
|
3078
|
+
entries?: HistoryEntry[];
|
|
3079
|
+
/** Custom class name for the container */
|
|
3080
|
+
className?: string;
|
|
3081
|
+
/** Custom arrow icon component */
|
|
3082
|
+
arrowIcon?: React__default.ReactNode;
|
|
3083
|
+
/** ARIA label for the history log container */
|
|
3084
|
+
ariaLabel?: string;
|
|
3085
|
+
/** ID for the component */
|
|
3086
|
+
id?: string;
|
|
3087
|
+
}
|
|
3088
|
+
declare const HistoryLogCard: React__default.FC<HistoryLogCardProps>;
|
|
3089
|
+
|
|
3090
|
+
interface AdvancedAccordionContentItem {
|
|
3091
|
+
id: string;
|
|
3092
|
+
filterId: string;
|
|
3093
|
+
label: React__default.ReactNode;
|
|
3094
|
+
value: string;
|
|
3095
|
+
isSelected?: boolean;
|
|
3096
|
+
disabled?: boolean;
|
|
3097
|
+
onClick?: (item: AdvancedAccordionContentItem) => void;
|
|
3098
|
+
}
|
|
3099
|
+
interface AdvancedAccordionItem {
|
|
3100
|
+
id: string;
|
|
3101
|
+
header: React__default.ReactNode;
|
|
3102
|
+
content?: React__default.ReactNode;
|
|
3103
|
+
contentItems?: AdvancedAccordionContentItem[];
|
|
3104
|
+
disabled?: boolean;
|
|
3105
|
+
badge?: React__default.ReactNode;
|
|
3106
|
+
contentSearchPlaceholder?: string;
|
|
3107
|
+
/** Accessible name for the content search input */
|
|
3108
|
+
contentSearchAriaLabel?: string;
|
|
3109
|
+
/** Text to show when no content items are found after search */
|
|
3110
|
+
noContentItemsFoundText?: string;
|
|
3111
|
+
/** Text to show when no content items are available */
|
|
3112
|
+
noContentItemsAvailableText?: string;
|
|
3113
|
+
/** Whether to show the content search input */
|
|
3114
|
+
contentSearchable?: boolean;
|
|
3115
|
+
/** Number of content items to show by default when not searching */
|
|
3116
|
+
defaultVisibleCount?: number;
|
|
3117
|
+
/** Lets custom `content` overflow the panel while it is expanded, so popovers and menus inside it are not clipped. The panel then opens and closes without the height animation. Overflowing content paints over the items below it, so give a popover its own z-index; an ancestor that clips or scrolls still clips it. No effect on `contentItems` */
|
|
3118
|
+
contentOverflowVisible?: boolean;
|
|
3119
|
+
/** Classes for the wrapper around custom `content`, replacing the default `p-4` entirely rather than adding to it, so include padding in it (e.g. `px-4 pb-4` to align the content with the header); an empty string removes all padding. No effect on `contentItems` */
|
|
3120
|
+
contentClassName?: string;
|
|
3121
|
+
}
|
|
3122
|
+
interface AdvancedAccordionProps {
|
|
3123
|
+
/** Array of accordion items */
|
|
3124
|
+
items: AdvancedAccordionItem[];
|
|
3125
|
+
/** Whether multiple panels can be open at once */
|
|
3126
|
+
allowMultiple?: boolean;
|
|
3127
|
+
/** Initially expanded panel IDs */
|
|
3128
|
+
defaultExpandedIds?: string[];
|
|
3129
|
+
/** Controlled expanded panel IDs */
|
|
3130
|
+
expandedIds?: string[];
|
|
3131
|
+
/** Callback when expansion state changes */
|
|
3132
|
+
onExpandedChange?: (expandedIds: string[]) => void;
|
|
3133
|
+
/** Custom class name for the accordion container */
|
|
3134
|
+
className?: string;
|
|
3135
|
+
/** Custom class name for individual accordion items */
|
|
3136
|
+
itemClassName?: string;
|
|
3137
|
+
/** Custom expand icon */
|
|
3138
|
+
expandIcon?: React__default.ReactNode;
|
|
3139
|
+
/** Accessibility label for the accordion */
|
|
3140
|
+
ariaLabel?: string;
|
|
3141
|
+
/** Custom search/filter functionality */
|
|
3142
|
+
searchable?: boolean;
|
|
3143
|
+
/** Search placeholder text */
|
|
3144
|
+
searchPlaceholder?: string;
|
|
3145
|
+
/** Search value for controlled search */
|
|
3146
|
+
searchValue?: string;
|
|
3147
|
+
/** Search change callback */
|
|
3148
|
+
onSearchChange?: (value: string) => void;
|
|
3149
|
+
/** Text to show when no items are found after search */
|
|
3150
|
+
noItemsFoundText?: string;
|
|
3151
|
+
/** Text to show when no items are available */
|
|
3152
|
+
noItemsAvailableText?: string;
|
|
3153
|
+
/** Accessibility label for search input when items are found */
|
|
3154
|
+
searchAriaLabelFound?: string;
|
|
3155
|
+
/** Accessibility label for search input when items are available */
|
|
3156
|
+
searchAriaLabelAvailable?: string;
|
|
3157
|
+
/** Custom class name to override the background color of a selected content item */
|
|
3158
|
+
selectedContentItemClassName?: string;
|
|
3159
|
+
}
|
|
3160
|
+
declare const AdvancedAccordion: React__default.FC<AdvancedAccordionProps>;
|
|
3161
|
+
|
|
3162
|
+
interface AriaLabels$1 {
|
|
3163
|
+
instruction?: string;
|
|
3164
|
+
topLeftHandle?: string;
|
|
3165
|
+
topRightHandle?: string;
|
|
3166
|
+
bottomLeftHandle?: string;
|
|
3167
|
+
bottomRightHandle?: string;
|
|
3168
|
+
submitButton?: string;
|
|
3169
|
+
closeButton?: string;
|
|
3170
|
+
rotateButton?: string;
|
|
3171
|
+
flipButton?: string;
|
|
3172
|
+
changeImageButton?: string;
|
|
3173
|
+
cropArea?: string;
|
|
3174
|
+
resizeHandle?: string;
|
|
3175
|
+
imageCroppingArea?: string;
|
|
3176
|
+
}
|
|
3177
|
+
interface ImageEditorContainerProps {
|
|
3178
|
+
isOpen: boolean;
|
|
3179
|
+
onSave: (croppedImage: Blob) => void;
|
|
3180
|
+
onCancel: () => void;
|
|
3181
|
+
onFileSizeLimitExceeded?: (exceeded: boolean) => void;
|
|
3182
|
+
title?: string;
|
|
3183
|
+
uploadText?: string;
|
|
3184
|
+
uploadSubtext?: string;
|
|
3185
|
+
rotateButtonText?: string;
|
|
3186
|
+
changeImageButtonText?: string;
|
|
3187
|
+
cropButtonText?: string;
|
|
3188
|
+
closeButtonText?: string;
|
|
3189
|
+
flipButtonText?: string;
|
|
3190
|
+
fileSizeLimitInMB?: number;
|
|
3191
|
+
showBackDrop?: boolean;
|
|
3192
|
+
showButtons?: {
|
|
3193
|
+
flipIcon?: boolean;
|
|
3194
|
+
rotateIcon?: boolean;
|
|
3195
|
+
};
|
|
3196
|
+
ariaLabels?: AriaLabels$1;
|
|
3197
|
+
containerClassName?: string;
|
|
3198
|
+
overlayClassName?: string;
|
|
3199
|
+
}
|
|
3200
|
+
declare const ImageEditorContainer: React__default.FC<ImageEditorContainerProps>;
|
|
3201
|
+
|
|
3202
|
+
interface AriaLabels {
|
|
3203
|
+
instruction?: string;
|
|
3204
|
+
topLeftHandle?: string;
|
|
3205
|
+
topRightHandle?: string;
|
|
3206
|
+
bottomLeftHandle?: string;
|
|
3207
|
+
bottomRightHandle?: string;
|
|
3208
|
+
submitButton?: string;
|
|
3209
|
+
closeButton?: string;
|
|
3210
|
+
imageCroppingArea?: string;
|
|
3211
|
+
}
|
|
3212
|
+
interface ImageEditorProps {
|
|
3213
|
+
image: string | null;
|
|
3214
|
+
onCropComplete: (croppedImageData: Blob) => void;
|
|
3215
|
+
onImageError?: (error: boolean) => void;
|
|
3216
|
+
ariaLabels?: AriaLabels;
|
|
3217
|
+
}
|
|
3218
|
+
type EditFunctions = {
|
|
3219
|
+
crop: () => void;
|
|
3220
|
+
flip: () => void;
|
|
3221
|
+
rotate: () => void;
|
|
3222
|
+
changeImage: () => void;
|
|
3223
|
+
};
|
|
3224
|
+
declare const ImageEditor: React__default.ForwardRefExoticComponent<ImageEditorProps & React__default.RefAttributes<EditFunctions>>;
|
|
3225
|
+
|
|
3226
|
+
interface SelectableListOption<T> {
|
|
3227
|
+
label: string;
|
|
3228
|
+
value: T;
|
|
3229
|
+
}
|
|
3230
|
+
interface SelectableListProps<T> {
|
|
3231
|
+
options: SelectableListOption<T>[];
|
|
3232
|
+
selected: T;
|
|
3233
|
+
setSelected: Dispatch<SetStateAction<T>>;
|
|
3234
|
+
firstColumnItems?: RefObject<{
|
|
3235
|
+
[key: string]: HTMLDivElement | null;
|
|
3236
|
+
}>;
|
|
3237
|
+
secondColumnItems?: RefObject<{
|
|
3238
|
+
[key: string]: HTMLDivElement | null;
|
|
3239
|
+
}>;
|
|
3240
|
+
onSelectionChange?: (value: T) => void;
|
|
3241
|
+
getSecondColumnFirstKey?: (value: T) => string;
|
|
3242
|
+
}
|
|
3243
|
+
declare const SelectableList: <T>({ options, selected, setSelected, firstColumnItems, secondColumnItems, onSelectionChange, getSecondColumnFirstKey, }: SelectableListProps<T>) => JSX.Element;
|
|
3244
|
+
|
|
3245
|
+
interface ChipItem<T> {
|
|
3246
|
+
label: string;
|
|
3247
|
+
value: T;
|
|
3248
|
+
}
|
|
3249
|
+
type SelectionMode = "single" | "multiple";
|
|
3250
|
+
interface SelectableItemListProps<T> {
|
|
3251
|
+
title?: string;
|
|
3252
|
+
items: ChipItem<T>[];
|
|
3253
|
+
selectedValues: T[];
|
|
3254
|
+
onChipClick: (value: T) => void;
|
|
3255
|
+
chipRefs?: RefObject<{
|
|
3256
|
+
[key: string]: HTMLDivElement | null;
|
|
3257
|
+
}>;
|
|
3258
|
+
checkboxThreshold?: number;
|
|
3259
|
+
selectionMode?: SelectionMode;
|
|
3260
|
+
className?: string;
|
|
3261
|
+
}
|
|
3262
|
+
declare const SelectableItemList: <T>({ title, items, selectedValues, onChipClick, chipRefs, checkboxThreshold, selectionMode, className, }: SelectableItemListProps<T>) => React__default.JSX.Element;
|
|
3263
|
+
|
|
3264
|
+
interface FilterSection {
|
|
3265
|
+
title: string;
|
|
3266
|
+
items: string[];
|
|
3267
|
+
}
|
|
3268
|
+
interface SelectedFiltersDisplayProps {
|
|
3269
|
+
filterSections: FilterSection[];
|
|
3270
|
+
headerText?: string;
|
|
3271
|
+
noFiltersText?: string;
|
|
3272
|
+
}
|
|
3273
|
+
declare const SelectedFiltersDisplay: ({ filterSections, headerText, noFiltersText, }: SelectedFiltersDisplayProps) => React__default.JSX.Element;
|
|
3274
|
+
|
|
3275
|
+
interface BasicFilterStructureProps {
|
|
3276
|
+
title?: string;
|
|
3277
|
+
children: ReactNode;
|
|
3278
|
+
resetButtonProps: ButtonProps;
|
|
3279
|
+
applyButtonProps: ButtonProps;
|
|
3280
|
+
}
|
|
3281
|
+
declare const BasicFilterStructure: ({ title, children, resetButtonProps, applyButtonProps, }: BasicFilterStructureProps) => JSX.Element;
|
|
3282
|
+
|
|
3283
|
+
interface AdvancedFilterStructureProps {
|
|
3284
|
+
title: string;
|
|
3285
|
+
leftColumn: ReactNode;
|
|
3286
|
+
centerColumn: ReactNode;
|
|
3287
|
+
rightColumn: ReactNode;
|
|
3288
|
+
resetButtonProps: ButtonProps;
|
|
3289
|
+
applyButtonProps: ButtonProps;
|
|
3290
|
+
}
|
|
3291
|
+
declare const AdvancedFilterStructure: ({ title, leftColumn, centerColumn, rightColumn, resetButtonProps, applyButtonProps, }: AdvancedFilterStructureProps) => JSX.Element;
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* A date range field built on top of the DatePicker atom. Displays a label
|
|
3295
|
+
*
|
|
3296
|
+
* @param label - Label displayed above the From/To fields.
|
|
3297
|
+
* @param fromPlaceholder - Placeholder text for the 'From' date field.
|
|
3298
|
+
* @param toPlaceholder - Placeholder text for the 'To' date field.
|
|
3299
|
+
* @param value - Currently selected date range ({ from, to }).
|
|
3300
|
+
* @param onChange - Callback fired when either the From or To date changes. Receives `undefined` when both dates are cleared.
|
|
3301
|
+
*/
|
|
3302
|
+
interface DateRangePickerProps {
|
|
3303
|
+
label?: string;
|
|
3304
|
+
fromPlaceholder?: string;
|
|
3305
|
+
toPlaceholder?: string;
|
|
3306
|
+
value?: DateRange;
|
|
3307
|
+
onChange?: (range: DateRange | undefined) => void;
|
|
3308
|
+
}
|
|
3309
|
+
declare const DateRangePicker: FC<DateRangePickerProps>;
|
|
3310
|
+
|
|
3311
|
+
interface PaginationProps {
|
|
3312
|
+
totalPages: number;
|
|
3313
|
+
currentPage: number;
|
|
3314
|
+
onChange: (page: number) => void;
|
|
3315
|
+
isDisabled?: boolean;
|
|
3316
|
+
className?: string;
|
|
3317
|
+
ariaLabel?: string;
|
|
3318
|
+
previousPageLabel?: string;
|
|
3319
|
+
nextPageLabel?: string;
|
|
3320
|
+
getPageAriaLabel?: (page: number) => string;
|
|
3321
|
+
}
|
|
3322
|
+
/**
|
|
3323
|
+
* Numbered pagination nav with prev/next chevrons. Label props are used as-is
|
|
3324
|
+
* (no built-in i18n defaults) — pass translated strings from the consuming app.
|
|
3325
|
+
*
|
|
3326
|
+
* @param totalPages - Total number of pages
|
|
3327
|
+
* @param currentPage - Current active page (0-based)
|
|
3328
|
+
* @param onChange - Called when the page changes. Receives the new page number (0-based)
|
|
3329
|
+
* @param isDisabled - Disables all pagination controls
|
|
3330
|
+
* @param className - CSS class name for the container
|
|
3331
|
+
* @param ariaLabel - ARIA label for the pagination nav
|
|
3332
|
+
* @param previousPageLabel - ARIA label for the previous-page button
|
|
3333
|
+
* @param nextPageLabel - ARIA label for the next-page button
|
|
3334
|
+
* @param getPageAriaLabel - Builds the ARIA label for a page button. Receives the 1-based page number
|
|
3335
|
+
*/
|
|
3336
|
+
declare const Pagination: FC<PaginationProps>;
|
|
3337
|
+
|
|
3338
|
+
type ContactNumberInputState = "default" | "success" | "error";
|
|
3339
|
+
interface ContactNumberInputPlaceholder {
|
|
3340
|
+
input?: string;
|
|
3341
|
+
search?: string;
|
|
3342
|
+
}
|
|
3343
|
+
interface ContactNumberInputAriaLabels {
|
|
3344
|
+
input?: string;
|
|
3345
|
+
countryPicker?: string;
|
|
3346
|
+
selectedCountry?: string;
|
|
3347
|
+
}
|
|
3348
|
+
interface ContactNumberInputProps {
|
|
3349
|
+
id?: string;
|
|
3350
|
+
label?: string;
|
|
3351
|
+
unicode: string;
|
|
3352
|
+
phoneNumber: string;
|
|
3353
|
+
onCountryCodeChange?: (countryCode: string) => void;
|
|
3354
|
+
onUnicodeChange: (unicode: string) => void;
|
|
3355
|
+
onPhoneNumberChange: (phoneNumber: string) => void;
|
|
3356
|
+
placeholder?: ContactNumberInputPlaceholder;
|
|
3357
|
+
required?: boolean;
|
|
3358
|
+
disabled?: boolean;
|
|
3359
|
+
message?: string;
|
|
3360
|
+
state?: ContactNumberInputState;
|
|
3361
|
+
ariaLabels?: ContactNumberInputAriaLabels;
|
|
3362
|
+
noResultsText?: string;
|
|
3363
|
+
}
|
|
3364
|
+
/**
|
|
3365
|
+
*
|
|
3366
|
+
* @param id - Base id for the number input and its related aria ids. Not generated when omitted; pass a unique value if more than one can appear on a page.
|
|
3367
|
+
* @param label - Label text shown above the control
|
|
3368
|
+
* @param unicode - Controlled country, matched by flag emoji against the country list
|
|
3369
|
+
* @param phoneNumber - Controlled phone number
|
|
3370
|
+
* @param onCountryCodeChange - Emit-only: called with the selected dialling code (e.g. "+94")
|
|
3371
|
+
* @param onUnicodeChange - Called with the selected flag emoji; feed this back into `unicode`
|
|
3372
|
+
* @param onPhoneNumberChange - Called with the typed phone number
|
|
3373
|
+
* @param placeholder - Placeholders for the number field (`input`) and country search (`search`)
|
|
3374
|
+
* @param required - Marks the field required and shows the required indicator
|
|
3375
|
+
* @param disabled - Disables both the country picker and the number field
|
|
3376
|
+
* @param message - Helper or error text shown below the control
|
|
3377
|
+
* @param state - Styles `message` and the fields ("default" | "success" | "error")
|
|
3378
|
+
* @param ariaLabels - Accessible labels for the number field, country picker and selected country
|
|
3379
|
+
* @param noResultsText - Text shown when a country search has no matches
|
|
3380
|
+
*/
|
|
3381
|
+
declare const ContactNumberInput: FC<ContactNumberInputProps>;
|
|
3382
|
+
|
|
3383
|
+
/**
|
|
3384
|
+
* Countries with their ITU-T E.164 dialling code and flag emoji.
|
|
3385
|
+
*
|
|
3386
|
+
* SOURCES
|
|
3387
|
+
*
|
|
3388
|
+
* Country names and dialling codes:
|
|
3389
|
+
* International Telecommunication Union (ITU-T), "List of ITU-T
|
|
3390
|
+
* Recommendation E.164 assigned country codes", Complement to ITU-T
|
|
3391
|
+
* Recommendation E.164 (11/2010), Annex to ITU Operational Bulletin No. 991
|
|
3392
|
+
* of 1 November 2011 (position on 1 November 2011). Geneva, 2011.
|
|
3393
|
+
* Alphabetical list, pages 10-14; notes, page 17.
|
|
3394
|
+
* Kept current by the ITU at https://www.itu.int/itu-t/bulletin/annex.html
|
|
3395
|
+
*
|
|
3396
|
+
* Flag emoji:
|
|
3397
|
+
* Unicode Consortium, "Full Emoji List", https://unicode.org/emoji/charts/full-emoji-list.html
|
|
3398
|
+
* Each flag is the country's ISO 3166-1 alpha-2 letters written as REGIONAL
|
|
3399
|
+
* INDICATOR SYMBOL LETTER A..Z (U+1F1E6..U+1F1FF), e.g. Sri Lanka "LK" is
|
|
3400
|
+
* U+1F1F1 U+1F1F0. The characters are stored here directly.
|
|
3401
|
+
*
|
|
3402
|
+
* The dialling codes were checked against the ITU document above and none fall
|
|
3403
|
+
* on a code it lists as spare, reserved, or a global service.
|
|
3404
|
+
*
|
|
3405
|
+
* Not included, per that document:
|
|
3406
|
+
* - entries listed as "Spare code" or "Reserved"
|
|
3407
|
+
* - global services and shared codes: +388, +800, +808, +870, +878, +881,
|
|
3408
|
+
* +882, +883, +888, +979, +991
|
|
3409
|
+
* - Vatican City State +379, which ITU note f marks "Reserved for future
|
|
3410
|
+
* use"; the code in service is +39
|
|
3411
|
+
*
|
|
3412
|
+
*/
|
|
3413
|
+
interface Country {
|
|
3414
|
+
/** Country or geographical area name, as published by the ITU. */
|
|
3415
|
+
name: string;
|
|
3416
|
+
/** E.164 country code, including the leading "+". */
|
|
3417
|
+
code: string;
|
|
3418
|
+
/** Flag emoji, e.g. "🇱🇰". Ready to render as-is. */
|
|
3419
|
+
unicode: string;
|
|
3420
|
+
}
|
|
3421
|
+
declare const COUNTRIES: readonly Country[];
|
|
3422
|
+
|
|
3423
|
+
interface MultiSelectSearchDropdownOption {
|
|
3424
|
+
value: string;
|
|
3425
|
+
label: React__default.ReactNode;
|
|
3426
|
+
}
|
|
3427
|
+
interface MultiSelectSearchDropdownTexts {
|
|
3428
|
+
placeholder: string;
|
|
3429
|
+
selectedCount: string;
|
|
3430
|
+
noOptions: string;
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* A multi-select dropdown with an in-list search box and checkbox options. It renders `options` in
|
|
3434
|
+
* the order it is given them and never filters: the search box reports what the user types, and the
|
|
3435
|
+
* parent decides what comes back. To float the selected options to the top, snapshot the selection
|
|
3436
|
+
* on `onOpen` and order `options` by it there
|
|
3437
|
+
*
|
|
3438
|
+
* @param id - Applied to the root element; the trigger gets `{id}-trigger` so a parent can move focus to it
|
|
3439
|
+
* @param options - Options to render; when the parent filters on `onSearchChange`, it passes the matching options here
|
|
3440
|
+
* @param selectedValues - Currently selected option values; the component is fully controlled, so the parent owns this state
|
|
3441
|
+
* @param onChange - Called with the next selected values whenever an option is toggled
|
|
3442
|
+
* @param onSearchChange - Called with the current search text as the user types; the parent owns the filtering and feeds the results back through `options`
|
|
3443
|
+
* @param onOpen - Called as the menu opens, before the options are rendered, so the parent can reorder them for this session
|
|
3444
|
+
* @param isSearchVisible - Whether the in-list search field is shown; the parent owns this because it filters, so it is the only one that still knows how many options there were before the search. Left out, the field appears once there are more than five options
|
|
3445
|
+
* @param searchInputProps - Props for the in-list search field, including its `placeholder`, which also names the field for screen readers unless an explicit `aria-label` is given; the dropdown owns only the field's value and change handler, and its own `onKeyDown` runs after any supplied one
|
|
3446
|
+
* @param label - Optional label rendered above the trigger
|
|
3447
|
+
* @param texts - User-facing copy: trigger placeholder, selected-count template, and empty-list message
|
|
3448
|
+
* @param disabled - Disables the trigger and all interaction
|
|
3449
|
+
* @param ariaLabel - ARIA label for the trigger, used when there is no visible `label`
|
|
3450
|
+
* @param ariaRequired - Marks the trigger as required for screen readers
|
|
3451
|
+
* @param isError - Shows the trigger in the error style and marks it invalid for screen readers; the parent renders the error message
|
|
3452
|
+
* @param className - Additional class names for the root element, e.g. to set the width
|
|
3453
|
+
* @returns TSX.Element - Rendered multi-select search dropdown
|
|
3454
|
+
*/
|
|
3455
|
+
interface MultiSelectSearchDropdownProps {
|
|
3456
|
+
id?: string;
|
|
3457
|
+
options: MultiSelectSearchDropdownOption[];
|
|
3458
|
+
selectedValues: string[];
|
|
3459
|
+
onChange: (selectedValues: string[]) => void;
|
|
3460
|
+
onSearchChange?: (searchText: string) => void;
|
|
3461
|
+
onOpen?: () => void;
|
|
3462
|
+
searchInputProps?: Omit<InputFieldProps, "value" | "onChange">;
|
|
3463
|
+
isSearchVisible?: boolean;
|
|
3464
|
+
label?: string;
|
|
3465
|
+
texts: MultiSelectSearchDropdownTexts;
|
|
3466
|
+
disabled?: boolean;
|
|
3467
|
+
ariaLabel?: string;
|
|
3468
|
+
ariaRequired?: boolean;
|
|
3469
|
+
isError?: boolean;
|
|
3470
|
+
className?: string;
|
|
3471
|
+
}
|
|
3472
|
+
declare const MultiSelectSearchDropdown: React__default.FC<MultiSelectSearchDropdownProps>;
|
|
3473
|
+
|
|
3474
|
+
interface WorkspaceLayoutProps {
|
|
3475
|
+
children: React__default.ReactNode;
|
|
3476
|
+
navigationalPanel: NavigationalPanelProps;
|
|
3477
|
+
appBar: AppBarProps;
|
|
3478
|
+
}
|
|
3479
|
+
declare const WorkspaceLayout: React__default.FC<WorkspaceLayoutProps>;
|
|
3480
|
+
|
|
3481
|
+
type ImagePosition = "left" | "right";
|
|
3482
|
+
type BackdropVariant = "dark" | "blur";
|
|
3483
|
+
/**
|
|
3484
|
+
* Props for LargeModal. `imagePosition` controls which side the image appears on ("left" or "right", defaults to "right").
|
|
3485
|
+
* `backdropVariant` sets the overlay style: "dark" for a solid overlay, "blur" for a frosted-glass effect.
|
|
3486
|
+
* `zIndex` controls overlay stacking: `backdrop` defaults to 1350 and `modal` defaults to 1400 (core drawer z-index is 1300).
|
|
3487
|
+
* `modalHeader` is optional; when omitted no `<h1>` is rendered and `ariaLabel` supplies the dialog's accessible name instead.
|
|
3488
|
+
*/
|
|
3489
|
+
interface LargeModalProps {
|
|
3490
|
+
isOpen: boolean;
|
|
3491
|
+
id: string;
|
|
3492
|
+
onClose: () => void;
|
|
3493
|
+
modalHeader?: string;
|
|
3494
|
+
content: React__default.ReactNode;
|
|
3495
|
+
className?: string;
|
|
3496
|
+
buttons?: {
|
|
3497
|
+
buttonLeft?: ButtonProps;
|
|
3498
|
+
buttonRight?: ButtonProps;
|
|
3499
|
+
};
|
|
3500
|
+
image?: React__default.ReactNode;
|
|
3501
|
+
imagePosition?: ImagePosition;
|
|
3502
|
+
backdropVariant?: BackdropVariant;
|
|
3503
|
+
zIndex?: ZIndex;
|
|
3504
|
+
closeButtonAriaLabel?: string;
|
|
3505
|
+
ariaLabel?: string;
|
|
3506
|
+
role?: DialogRole;
|
|
3507
|
+
}
|
|
3508
|
+
declare const LargeModal: React__default.FC<LargeModalProps>;
|
|
3509
|
+
|
|
3510
|
+
type MarketingModalSize = "small" | "large";
|
|
3511
|
+
/**
|
|
3512
|
+
* Where the stage (animation or image) sits.
|
|
3513
|
+
* - `topStage`: stage above the caption (small and large)
|
|
3514
|
+
* - `sideStage`: stage beside the caption (large only)
|
|
3515
|
+
* - `fullBleedStage`: stage fills the modal, caption on a dark gradient (large only)
|
|
3516
|
+
* - `textOnly`: no stage (small only)
|
|
3517
|
+
*
|
|
3518
|
+
* A slide without a `stage` always renders the text-only layout.
|
|
3519
|
+
*/
|
|
3520
|
+
type MarketingModalVariant = "topStage" | "sideStage" | "fullBleedStage" | "textOnly";
|
|
3521
|
+
interface MarketingModalBullet {
|
|
3522
|
+
/** Stable id, used as the bullet's React key. */
|
|
3523
|
+
id: string;
|
|
3524
|
+
text: string;
|
|
3525
|
+
}
|
|
3526
|
+
interface MarketingModalSlide {
|
|
3527
|
+
/** Stable id, used as the slide's React key. */
|
|
3528
|
+
id: string;
|
|
3529
|
+
/** Animation or image shown in the stage. Ignored by the `textOnly` variant. */
|
|
3530
|
+
stage?: React__default.ReactNode;
|
|
3531
|
+
tag?: string;
|
|
3532
|
+
title: string;
|
|
3533
|
+
body: React__default.ReactNode;
|
|
3534
|
+
/** Optional key benefits listed under the body. */
|
|
3535
|
+
bullets?: MarketingModalBullet[];
|
|
3536
|
+
}
|
|
3537
|
+
/** Every user-facing string. The consumer passes them, translated. */
|
|
3538
|
+
interface MarketingModalLabels {
|
|
3539
|
+
next: string;
|
|
3540
|
+
done: string;
|
|
3541
|
+
close: string;
|
|
3542
|
+
/** Accessible name of the pagination dots group. */
|
|
3543
|
+
slides: string;
|
|
3544
|
+
/** Accessible name of one pagination dot (1-based slide number). */
|
|
3545
|
+
goToSlide: (slideNumber: number, slideTitle: string) => string;
|
|
3546
|
+
}
|
|
3547
|
+
/**
|
|
3548
|
+
* Props for MarketingModal. More than one slide switches to Carousel mode, which adds
|
|
3549
|
+
* pagination dots and a Next button; the last slide shows `primaryButton` (or a Done
|
|
3550
|
+
* button that closes the modal). `slides` must not be empty: the parent decides
|
|
3551
|
+
* whether to open the modal at all.
|
|
3552
|
+
* `secondaryButton` only renders on large single-slide modals.
|
|
3553
|
+
* `onSlideChange` fires when the user moves to another slide. The slide index resets
|
|
3554
|
+
* to 0 when the modal closes, without calling `onSlideChange`.
|
|
3555
|
+
* `zIndex` defaults to the shared overlay z-index; a partial override is merged.
|
|
3556
|
+
* `className` is appended to the default dialog classes.
|
|
3557
|
+
*/
|
|
3558
|
+
interface MarketingModalProps {
|
|
3559
|
+
isOpen: boolean;
|
|
3560
|
+
id: string;
|
|
3561
|
+
onClose: () => void;
|
|
3562
|
+
slides: MarketingModalSlide[];
|
|
3563
|
+
size?: MarketingModalSize;
|
|
3564
|
+
variant?: MarketingModalVariant;
|
|
3565
|
+
primaryButton?: ButtonProps;
|
|
3566
|
+
secondaryButton?: ButtonProps;
|
|
3567
|
+
labels: MarketingModalLabels;
|
|
3568
|
+
onSlideChange?: (index: number) => void;
|
|
3569
|
+
showCloseButton?: boolean;
|
|
3570
|
+
backdropVariant?: "dark" | "blur";
|
|
3571
|
+
zIndex?: ZIndex;
|
|
3572
|
+
role?: DialogRole;
|
|
3573
|
+
className?: string;
|
|
3574
|
+
}
|
|
3575
|
+
declare const MarketingModal: React__default.FC<MarketingModalProps>;
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* Props for SmallModal. `backdropVariant` sets the overlay style: "dark" for a solid overlay, "blur" for a frosted-glass effect.
|
|
3579
|
+
* `zIndex` controls overlay stacking: `backdrop` defaults to 1350 and `modal` defaults to 1400 (core drawer z-index is 1300).
|
|
3580
|
+
* `modalHeaderNode` replaces the default heading. To name the dialog and receive focus when it opens, the node must render an element with id `small-modal-title` and `tabIndex={-1}`.
|
|
3581
|
+
*/
|
|
3582
|
+
interface SmallModalProps {
|
|
3583
|
+
isOpen: boolean;
|
|
3584
|
+
onClose: () => void;
|
|
3585
|
+
modalHeader: string;
|
|
3586
|
+
modalHeaderNode?: React__default.ReactNode;
|
|
3587
|
+
content: React__default.ReactNode;
|
|
3588
|
+
className?: string;
|
|
3589
|
+
buttons?: {
|
|
3590
|
+
buttonLeft?: ButtonProps;
|
|
3591
|
+
buttonRight?: ButtonProps;
|
|
3592
|
+
};
|
|
3593
|
+
backdropVariant?: "dark" | "blur";
|
|
3594
|
+
zIndex?: ZIndex;
|
|
3595
|
+
closeButtonAriaLabel?: string;
|
|
3596
|
+
role?: DialogRole;
|
|
3597
|
+
hasDescription?: boolean;
|
|
3598
|
+
}
|
|
3599
|
+
declare const SmallModal: React__default.FC<SmallModalProps>;
|
|
3600
|
+
|
|
3601
|
+
declare const ArrowRightIcon: () => React__default.JSX.Element;
|
|
3602
|
+
|
|
3603
|
+
interface EditIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3604
|
+
className?: string;
|
|
3605
|
+
color?: string;
|
|
3606
|
+
}
|
|
3607
|
+
declare const EditIcon: React__default.FC<EditIconProps>;
|
|
3608
|
+
|
|
3609
|
+
interface AvatarIconProps {
|
|
3610
|
+
size: AvatarSize;
|
|
3611
|
+
color?: string;
|
|
3612
|
+
}
|
|
3613
|
+
declare function AvatarIcon({ size, color }: AvatarIconProps): React__default.JSX.Element;
|
|
3614
|
+
|
|
3615
|
+
declare const BacklogIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3616
|
+
|
|
3617
|
+
declare const BellIcon: () => React__default.JSX.Element;
|
|
3618
|
+
|
|
3619
|
+
declare const BoardIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3620
|
+
|
|
3621
|
+
interface CalendarIconProps {
|
|
3622
|
+
className?: string;
|
|
3623
|
+
width?: string | number;
|
|
3624
|
+
height?: string | number;
|
|
3625
|
+
}
|
|
3626
|
+
declare const CalendarIcon: React__default.FC<CalendarIconProps>;
|
|
3627
|
+
|
|
3628
|
+
interface CloseIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3629
|
+
className?: string;
|
|
3630
|
+
}
|
|
3631
|
+
declare const CloseIcon: React__default.FC<CloseIconProps>;
|
|
3632
|
+
|
|
3633
|
+
declare const CrossedTimerIcon: () => React__default.JSX.Element;
|
|
3634
|
+
|
|
3635
|
+
declare const DashboardIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3636
|
+
|
|
3637
|
+
declare const DownloadIcon: () => React__default.JSX.Element;
|
|
3638
|
+
|
|
3639
|
+
declare const FilledArrowDownIcon: () => React__default.JSX.Element;
|
|
3640
|
+
|
|
3641
|
+
declare const HomeIcon: () => React__default.JSX.Element;
|
|
3642
|
+
|
|
3643
|
+
interface InfoIconProps {
|
|
3644
|
+
className?: string;
|
|
3645
|
+
color?: string;
|
|
3646
|
+
width?: number;
|
|
3647
|
+
height?: number;
|
|
3648
|
+
}
|
|
3649
|
+
declare const InfoIcon: React__default.FC<InfoIconProps>;
|
|
3650
|
+
|
|
3651
|
+
declare const ListIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3652
|
+
|
|
3653
|
+
declare const ListViewIcon: ({ className, width, height, }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3654
|
+
|
|
3655
|
+
interface LockIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3656
|
+
className?: string;
|
|
3657
|
+
}
|
|
3658
|
+
declare const LockIcon: React__default.FC<LockIconProps>;
|
|
3659
|
+
|
|
3660
|
+
interface LockOpenIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3661
|
+
className?: string;
|
|
3662
|
+
}
|
|
3663
|
+
declare const LockOpenIcon: React__default.FC<LockOpenIconProps>;
|
|
3664
|
+
|
|
3665
|
+
declare const MenuIcon: () => React__default.JSX.Element;
|
|
3666
|
+
|
|
3667
|
+
declare const PeopleIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3668
|
+
|
|
3669
|
+
declare const PlusIcon: () => React__default.JSX.Element;
|
|
3670
|
+
|
|
3671
|
+
declare const ProjectIcon: () => React__default.JSX.Element;
|
|
3672
|
+
|
|
3673
|
+
declare const ProjectIcon1: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3674
|
+
|
|
3675
|
+
declare const ProjectIcon2: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3676
|
+
|
|
3677
|
+
declare const ProjectIcon3: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3678
|
+
|
|
3679
|
+
declare const ProjectIcon4: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3680
|
+
|
|
3681
|
+
declare const ProjectIcon5: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3682
|
+
|
|
3683
|
+
declare const ProjectIcon6: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3684
|
+
|
|
3685
|
+
interface SearchIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3686
|
+
className?: string;
|
|
3687
|
+
}
|
|
3688
|
+
declare const SearchIcon: React__default.FC<SearchIconProps>;
|
|
3689
|
+
|
|
3690
|
+
declare const SettingsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3691
|
+
|
|
3692
|
+
declare const ArrowLeftIcon: () => React__default.JSX.Element;
|
|
3693
|
+
|
|
3694
|
+
interface RoundedGreenTickIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3695
|
+
className?: string;
|
|
3696
|
+
}
|
|
3697
|
+
declare const RoundedGreenTickIcon: React__default.FC<RoundedGreenTickIconProps>;
|
|
3698
|
+
|
|
3699
|
+
declare const DropdownArrowIcon: React$1.FC<React$1.SVGProps<SVGSVGElement>>;
|
|
3700
|
+
|
|
3701
|
+
declare const SidebarIcon: () => React__default.JSX.Element;
|
|
3702
|
+
|
|
3703
|
+
declare const SignatureIcon: () => React__default.JSX.Element;
|
|
3704
|
+
|
|
3705
|
+
declare const TableIcon: () => React__default.JSX.Element;
|
|
3706
|
+
|
|
3707
|
+
interface TickIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3708
|
+
className?: string;
|
|
3709
|
+
fill?: string;
|
|
3710
|
+
width?: string | number;
|
|
3711
|
+
height?: string | number;
|
|
3712
|
+
}
|
|
3713
|
+
declare const TickIcon: React__default.FC<TickIconProps>;
|
|
3714
|
+
|
|
3715
|
+
declare const TimerIcon: () => React__default.JSX.Element;
|
|
3716
|
+
|
|
3717
|
+
declare const ToolsIcon: () => React__default.JSX.Element;
|
|
3718
|
+
|
|
3719
|
+
declare const TrashIcon: () => React__default.JSX.Element;
|
|
3720
|
+
|
|
3721
|
+
declare const VerticalThreeDotsIcon: (props: React__default.SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3722
|
+
|
|
3723
|
+
declare const YellowWarningIcon: (props: React__default.SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3724
|
+
|
|
3725
|
+
declare const RedWarningIcon: (props: React__default.SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3726
|
+
|
|
3727
|
+
declare const SpannerIcon: () => React__default.JSX.Element;
|
|
3728
|
+
|
|
3729
|
+
declare const BookIcon: () => React__default.JSX.Element;
|
|
3730
|
+
|
|
3731
|
+
declare const CheckIcon: () => React__default.JSX.Element;
|
|
3732
|
+
|
|
3733
|
+
declare const CheckTaskIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3734
|
+
|
|
3735
|
+
declare const BulbIcon: () => React__default.JSX.Element;
|
|
3736
|
+
|
|
3737
|
+
declare const MailIcon: () => React__default.JSX.Element;
|
|
3738
|
+
|
|
3739
|
+
declare const AdjacentIcon: () => React__default.JSX.Element;
|
|
3740
|
+
|
|
3741
|
+
declare const MagnifierGlassIcon: () => React__default.JSX.Element;
|
|
3742
|
+
|
|
3743
|
+
declare const MountainIcon: () => React__default.JSX.Element;
|
|
3744
|
+
|
|
3745
|
+
declare const ParkLockIcon: () => React__default.JSX.Element;
|
|
3746
|
+
|
|
3747
|
+
declare const PuzzleIcon: () => React__default.JSX.Element;
|
|
3748
|
+
|
|
3749
|
+
declare const ShoppingIcon: () => React__default.JSX.Element;
|
|
3750
|
+
|
|
3751
|
+
declare const TaskIcon: () => React__default.JSX.Element;
|
|
3752
|
+
|
|
3753
|
+
declare const BugIcon: ({ width, height, }: {
|
|
3754
|
+
width?: number | string;
|
|
3755
|
+
height?: number | string;
|
|
3756
|
+
}) => React__default.JSX.Element;
|
|
3757
|
+
|
|
3758
|
+
declare const EduIcon: () => React__default.JSX.Element;
|
|
3759
|
+
|
|
3760
|
+
declare const PeopleSearchIcon: () => React__default.JSX.Element;
|
|
3761
|
+
|
|
3762
|
+
declare const AccountIcon: () => React__default.JSX.Element;
|
|
3763
|
+
|
|
3764
|
+
declare const DocIcon: () => React__default.JSX.Element;
|
|
3765
|
+
|
|
3766
|
+
declare const StarIcon: () => React__default.JSX.Element;
|
|
3767
|
+
|
|
3768
|
+
declare const SaveIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3769
|
+
|
|
3770
|
+
interface CheckCircleIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3771
|
+
className?: string;
|
|
3772
|
+
}
|
|
3773
|
+
declare const CheckCircleIcon: React__default.FC<CheckCircleIconProps>;
|
|
3774
|
+
|
|
3775
|
+
declare const DragIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3776
|
+
|
|
3777
|
+
declare const DiamondIcon: () => React__default.JSX.Element;
|
|
3778
|
+
|
|
3779
|
+
declare const EnterIcon: () => React__default.JSX.Element;
|
|
3780
|
+
|
|
3781
|
+
interface MinimizeIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3782
|
+
className?: string;
|
|
3783
|
+
}
|
|
3784
|
+
declare const MinimizeIcon: React__default.FC<MinimizeIconProps>;
|
|
3785
|
+
|
|
3786
|
+
interface MaximizeIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3787
|
+
className?: string;
|
|
3788
|
+
}
|
|
3789
|
+
declare const MaximizeIcon: React__default.FC<MaximizeIconProps>;
|
|
3790
|
+
|
|
3791
|
+
declare const SubTaskIssueIcon: () => React__default.JSX.Element;
|
|
3792
|
+
|
|
3793
|
+
declare const SubmitIcon: () => React__default.JSX.Element;
|
|
3794
|
+
|
|
3795
|
+
declare const ChevronDownIcon: React$1.FC<React$1.SVGProps<SVGSVGElement>>;
|
|
3796
|
+
|
|
3797
|
+
declare const LinkIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3798
|
+
|
|
3799
|
+
declare const GitBranchIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3800
|
+
|
|
3801
|
+
declare const GitCommitIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3802
|
+
|
|
3803
|
+
declare const GitPullRequestIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3804
|
+
|
|
3805
|
+
declare const GitHubIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3806
|
+
|
|
3807
|
+
interface TransparentEnterIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3808
|
+
className?: string;
|
|
3809
|
+
fill?: string;
|
|
3810
|
+
}
|
|
3811
|
+
declare const TransparentEnterIcon: React__default.FC<TransparentEnterIconProps>;
|
|
3812
|
+
|
|
3813
|
+
declare const ReplyIcon: () => React__default.JSX.Element;
|
|
3814
|
+
|
|
3815
|
+
interface HideIconProps {
|
|
3816
|
+
color?: string;
|
|
3817
|
+
size?: string | number;
|
|
3818
|
+
}
|
|
3819
|
+
declare const HideIcon: React__default.FC<HideIconProps>;
|
|
3820
|
+
|
|
3821
|
+
interface SortAscendingIconProps {
|
|
3822
|
+
color?: string;
|
|
3823
|
+
size?: string | number;
|
|
3824
|
+
}
|
|
3825
|
+
declare const SortAscendingIcon: React__default.FC<SortAscendingIconProps>;
|
|
3826
|
+
|
|
3827
|
+
interface SortDescendingIconProps {
|
|
3828
|
+
color?: string;
|
|
3829
|
+
size?: string | number;
|
|
3830
|
+
}
|
|
3831
|
+
declare const SortDescendingIcon: React__default.FC<SortDescendingIconProps>;
|
|
3832
|
+
|
|
3833
|
+
interface CirclePlusIconProps {
|
|
3834
|
+
color?: string;
|
|
3835
|
+
width?: number;
|
|
3836
|
+
height?: number;
|
|
3837
|
+
}
|
|
3838
|
+
declare const CirclePlusIcon: React__default.FC<CirclePlusIconProps>;
|
|
3839
|
+
|
|
3840
|
+
declare const SidebarOpenIcon: () => React__default.JSX.Element;
|
|
3841
|
+
|
|
3842
|
+
declare const SidebarCloseIcon: () => React__default.JSX.Element;
|
|
3843
|
+
|
|
3844
|
+
declare const LowPriorityIcon: React__default.FC<{
|
|
3845
|
+
size?: number | string;
|
|
3846
|
+
}>;
|
|
3847
|
+
|
|
3848
|
+
declare const MediumPriorityIcon: React__default.FC<{
|
|
3849
|
+
size?: number | string;
|
|
3850
|
+
}>;
|
|
3851
|
+
|
|
3852
|
+
declare const HighPriorityIcon: React__default.FC<{
|
|
3853
|
+
size?: number | string;
|
|
3854
|
+
}>;
|
|
3855
|
+
|
|
3856
|
+
interface InsightsIconProps {
|
|
3857
|
+
onClick?: () => void;
|
|
3858
|
+
}
|
|
3859
|
+
declare const InsightsIcon: React__default.FC<InsightsIconProps>;
|
|
3860
|
+
|
|
3861
|
+
declare const FilterIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3862
|
+
|
|
3863
|
+
interface IconProps$1 {
|
|
3864
|
+
id?: string;
|
|
3865
|
+
fill?: string;
|
|
3866
|
+
backgroundFill?: string;
|
|
3867
|
+
width?: string;
|
|
3868
|
+
height?: string;
|
|
3869
|
+
transform?: string;
|
|
3870
|
+
onClick?: () => void;
|
|
3871
|
+
}
|
|
3872
|
+
declare const CopyIcon: ({ fill, width, height, id, onClick }: IconProps$1) => JSX.Element;
|
|
3873
|
+
|
|
3874
|
+
interface IconProps {
|
|
3875
|
+
id?: string;
|
|
3876
|
+
fill?: string;
|
|
3877
|
+
backgroundFill?: string;
|
|
3878
|
+
width?: string;
|
|
3879
|
+
height?: string;
|
|
3880
|
+
transform?: string;
|
|
3881
|
+
onClick?: () => void;
|
|
3882
|
+
}
|
|
3883
|
+
declare const DeleteButtonIcon: ({ fill, width, height, id, onClick }: IconProps) => JSX.Element;
|
|
3884
|
+
|
|
3885
|
+
interface ExportIconProps {
|
|
3886
|
+
className?: string;
|
|
3887
|
+
color?: string;
|
|
3888
|
+
}
|
|
3889
|
+
declare const ExportIcon: React__default.FC<ExportIconProps>;
|
|
3890
|
+
|
|
3891
|
+
interface SubTaskIconProps {
|
|
3892
|
+
stroke?: string;
|
|
3893
|
+
}
|
|
3894
|
+
declare const SubTaskIcon: React__default.FC<SubTaskIconProps>;
|
|
3895
|
+
|
|
3896
|
+
interface HorizontalFlipIconProps {
|
|
3897
|
+
width?: number;
|
|
3898
|
+
height?: number;
|
|
3899
|
+
fill?: string;
|
|
3900
|
+
className?: string;
|
|
3901
|
+
}
|
|
3902
|
+
declare const HorizontalFlipIcon: React__default.FC<HorizontalFlipIconProps>;
|
|
3903
|
+
|
|
3904
|
+
interface RotateIconProps {
|
|
3905
|
+
width?: number | string;
|
|
3906
|
+
height?: number | string;
|
|
3907
|
+
className?: string;
|
|
3908
|
+
fill?: string;
|
|
3909
|
+
}
|
|
3910
|
+
declare const RotateIcon: React__default.FC<RotateIconProps>;
|
|
3911
|
+
|
|
3912
|
+
declare const UploadIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
3913
|
+
|
|
3914
|
+
declare const ImageIcon: React__default.FC<{
|
|
3915
|
+
size?: number;
|
|
3916
|
+
}>;
|
|
3917
|
+
|
|
3918
|
+
interface EastArrowIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3919
|
+
className?: string;
|
|
3920
|
+
color?: string;
|
|
3921
|
+
width?: number | string;
|
|
3922
|
+
height?: number | string;
|
|
3923
|
+
}
|
|
3924
|
+
declare const EastArrowIcon: React__default.FC<EastArrowIconProps>;
|
|
3925
|
+
|
|
3926
|
+
interface CheckIconFillProps {
|
|
3927
|
+
width?: number | string;
|
|
3928
|
+
height?: number | string;
|
|
3929
|
+
fill?: string;
|
|
3930
|
+
className?: string;
|
|
3931
|
+
}
|
|
3932
|
+
declare const CheckIconFill: React__default.FC<CheckIconFillProps>;
|
|
3933
|
+
|
|
3934
|
+
declare const LocationIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => React__default.ReactNode;
|
|
3935
|
+
|
|
3936
|
+
declare const PhoneIcon: ({ width, height, stroke, ...props }: SVGProps<SVGSVGElement>) => React__default.ReactNode;
|
|
3937
|
+
|
|
3938
|
+
declare const BrowserIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => React__default.ReactNode;
|
|
3939
|
+
|
|
3940
|
+
interface HandshakeIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3941
|
+
}
|
|
3942
|
+
declare const HandshakeIcon: ({ fill, width, height, ...props }: HandshakeIconProps) => JSX.Element;
|
|
3943
|
+
|
|
3944
|
+
declare const HandshakeFilledIcon: ({ ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3945
|
+
|
|
3946
|
+
declare const BuildingIcon: ({ stroke, width, height, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3947
|
+
|
|
3948
|
+
declare const LocationPinIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3949
|
+
|
|
3950
|
+
declare const EmailFilledIcon: ({ ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3951
|
+
|
|
3952
|
+
declare const MeetingFilledIcon: ({ ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3953
|
+
|
|
3954
|
+
declare const PhoneFilledIcon: ({ ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3955
|
+
|
|
3956
|
+
declare const ChecklistVerificationFilledIcon: ({ ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3957
|
+
|
|
3958
|
+
declare const EmailOutlineIcon: ({ fill, width, height, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3959
|
+
|
|
3960
|
+
declare const OfficeIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3961
|
+
|
|
3962
|
+
declare const ClipboardCheckIcon: ({ fill, width, height, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3963
|
+
|
|
3964
|
+
declare const DealValueIcon: ({ fill, width, height, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3965
|
+
|
|
3966
|
+
declare const ActiveBellIcon: ({ fill, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
3967
|
+
|
|
3968
|
+
declare const FolderIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3969
|
+
|
|
3970
|
+
declare const FilterListIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3971
|
+
|
|
3972
|
+
declare const ExportArrowIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3973
|
+
|
|
3974
|
+
declare const ChevronRightIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3975
|
+
|
|
3976
|
+
declare const ChevronLeftIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3977
|
+
|
|
3978
|
+
declare const RefreshIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3979
|
+
|
|
3980
|
+
declare const CircleMinusIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3981
|
+
|
|
3982
|
+
declare const RadioButtonCheckedIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3983
|
+
|
|
3984
|
+
declare const RadioButtonUncheckedIcon: React__default.FC<SVGProps<SVGSVGElement>>;
|
|
3985
|
+
|
|
3986
|
+
declare const FileTextIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3987
|
+
|
|
3988
|
+
declare const MoveIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3989
|
+
|
|
3990
|
+
declare const UndoIcon: ({ fill, width, height, ...props }: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3991
|
+
|
|
3992
|
+
declare const TeamIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3993
|
+
|
|
3994
|
+
declare const UsersIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3995
|
+
|
|
3996
|
+
declare const EditSquareIcon: (props: SVGProps<SVGSVGElement>) => ReactNode;
|
|
3997
|
+
|
|
3998
|
+
interface InfinityIconProps extends React__default.SVGProps<SVGSVGElement> {
|
|
3999
|
+
className?: string;
|
|
4000
|
+
}
|
|
4001
|
+
declare const InfinityIcon: React__default.FC<InfinityIconProps>;
|
|
4002
|
+
|
|
4003
|
+
declare const ReportIcon: ({ width, height, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4004
|
+
|
|
4005
|
+
declare const DemographicIcon: ({ width, height, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4006
|
+
|
|
4007
|
+
declare const CollapseIcon: ({ width, height, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4008
|
+
|
|
4009
|
+
declare const MarkAttendanceIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4010
|
+
|
|
4011
|
+
declare const LeaveBalanceIcon: ({ width, height, stroke, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4012
|
+
|
|
4013
|
+
declare const DotIcon: ({ width, height, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4014
|
+
|
|
4015
|
+
declare const ConfigurationsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4016
|
+
|
|
4017
|
+
declare const CrmIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4018
|
+
|
|
4019
|
+
declare const InvoiceIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4020
|
+
|
|
4021
|
+
declare const IntegrationsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4022
|
+
|
|
4023
|
+
declare const LeaveIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4024
|
+
|
|
4025
|
+
declare const ProjectsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4026
|
+
|
|
4027
|
+
declare const ReleasesIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4028
|
+
|
|
4029
|
+
declare const ReportsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4030
|
+
|
|
4031
|
+
declare const SignIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4032
|
+
|
|
4033
|
+
declare const TimeLogsIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4034
|
+
|
|
4035
|
+
declare const TimesheetIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4036
|
+
|
|
4037
|
+
declare const WarningOutlineIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4038
|
+
|
|
4039
|
+
declare const CodeIcon: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
4040
|
+
|
|
4041
|
+
declare const HourglassEmptyIcon: ({ width, height, fill, ...props }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4042
|
+
|
|
4043
|
+
/**
|
|
4044
|
+
* Returns a callback ref that retries failed images inside the referenced element.
|
|
4045
|
+
* A callback ref also covers elements that mount after the first render.
|
|
4046
|
+
*/
|
|
4047
|
+
declare const useImageLoadRetry: <T extends HTMLElement = HTMLElement>() => ((node: T | null) => void);
|
|
4048
|
+
|
|
4049
|
+
export { AccountIcon, ActiveBellIcon, AddProjectIconModal, AddTile, AdjacentIcon, AdvancedAccordion, AdvancedFilterStructure, AppBar, ApprovalCard, ArrowLeftIcon, ArrowRightIcon, AttachmentPreview, AutoCompleteDropdown, Avatar, AvatarChip, AvatarChipsInput, AvatarGroup, AvatarIcon, BacklogGroup, BacklogIcon, BacklogItem, Badge, BasicFilterStructure, BasicModal, BellIcon, BoardIcon, BookIcon, Breadcrumb, BrowserIcon, BugIcon, BuildingIcon, BulbIcon, Button$1 as Button, Button as ButtonV2, COUNTRIES, CalendarIcon, Card, CheckCircleIcon, CheckIcon, CheckIconFill, CheckTask, CheckTaskIcon, Checkbox, ChecklistVerificationFilledIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Chip, ChipToggle, CircleMinusIcon, CirclePlusIcon, ClipboardCheckIcon, CloseIcon, CodeIcon, CollapseIcon, ColorPickerDropdown, ColorSelector, CommentCard, CommentSection, ConfigurationsIcon, ContactNumberInput, CopyIcon, CrmIcon, CrossedTimerIcon, DashboardIcon, DatePicker, DateRangePicker, DealValueIcon, DeleteButtonIcon, DemographicIcon, DiamondIcon, DocIcon, DocumentCard, DotIcon, DownloadIcon, DragIcon, DraggableDeleteTable, Dropdown, DropdownArrowIcon, DropdownWithSearchablePopup, EastArrowIcon, EditIcon, EditSquareIcon, EduIcon, EmailFilledIcon, EmailOutlineIcon, EmptyDataView, EnterIcon, Epic, ExportArrowIcon, ExportIcon, FileTextIcon, FilledArrowDownIcon, FilterIcon, FilterListIcon, FolderIcon, GanttBar, GanttDependencyArrow, GanttPlaceholder, GanttTodayLine, GitBranchIcon, GitCommitIcon, GitHubIcon, GitPullRequestIcon, GlobalSearchModal, HandshakeFilledIcon, HandshakeIcon, HideIcon, HighPriorityIcon, HistoryLogCard, HomeIcon, HorizontalFlipIcon, HourglassEmptyIcon, IconButton, IconSelector, ImageEditor, ImageEditorContainer, ImageIcon, InfinityIcon, InfoIcon, InfoTipBanner, InputField, InsightsIcon, IntegrationsIcon, InvoiceIcon, ItemAddForm, ItemCard, KebabMenu, Label, LabelCard, LargeModal, LeaveBalanceIcon, LeaveIcon, LinkIcon, ListIcon, ListTable, ListViewIcon, LocationIcon, LocationPinIcon, LockIcon, LockOpenIcon, LowPriorityIcon, MagnifierGlassIcon, MailIcon, MarkAttendanceIcon, MarketingModal, MaximizeIcon, MediumPriorityIcon, MeetingFilledIcon, MenuIcon, MinimizeIcon, Modal, MountainIcon, MoveIcon, MultiSelectOptionMenu, MultiSelectSearch, MultiSelectSearchDropdown, NavigationalPanel, OfficeIcon, PageHeader, PageSizeSelector, Pagination, ParkLockIcon, PeopleIcon, PeopleSearchIcon, PhoneFilledIcon, PhoneIcon, PlusIcon, Popover, Popper, PriorityIcon, ProgressBar, ProgressCard, ProjectAccess, ProjectIcon, ProjectIcon1, ProjectIcon2, ProjectIcon3, ProjectIcon4, ProjectIcon5, ProjectIcon6, ProjectTableSkeletonLoader, ProjectsIcon, PuzzleIcon, RadioButton, RadioButtonCheckedIcon, RadioButtonUncheckedIcon, RedWarningIcon, RefreshIcon, ReleasesIcon, ReplyIcon, ReplySection, ReportIcon, ReportsIcon, RichTextEditor, RotateIcon, RoundedGreenTickIcon, SaveIcon, SearchIcon, SearchInputField, SearchItemCard, SelectableImageButton, SelectableItemList, SelectableList, SelectableListItem, SelectedFiltersDisplay, SettingsIcon, SetupChecklist, ShoppingIcon, SidePanel, SidebarCloseIcon, SidebarIcon, SidebarOpenIcon, SignIcon, SignatureIcon, SmallModal, SortAscendingIcon, SortDescendingIcon, SpannerIcon, Spinner, StarIcon, StatusCard, StatusComponent, SubTaskCard, SubTaskChip, SubTaskIcon, SubTaskInput, SubTaskIssueIcon, SubmitIcon, Table, TableIcon, TableToolBar, TableV2, Tabs, TaskCard, TaskIcon, TeamIcon, TemplateChangeCard, TextArea, TextWithIcon, TickIcon, TimeLogsIcon, TimelineGrid, TimerIcon, TimesheetIcon, Toast, ToastType, Toggle, ToolsIcon, Tooltip, TransparentEnterIcon, TrashIcon, UndoIcon, UpgradeToCoreModal, UploadIcon, UserChip, UsersIcon, VerticalTab, VerticalThreeDotsIcon, ViewToggle, WarningOutlineIcon, WorkspaceLayout, YellowWarningIcon, useImageLoadRetry };
|
|
4050
|
+
export type { ActionButtonProps, AddProjectIconModalProps, AddTileProps$1 as AddTileProps, AdvancedAccordionContentItem, AdvancedAccordionItem, AdvancedAccordionProps, AdvancedFilterStructureProps, AppBarProps, ApprovalCardProps, AttachmentPreviewProps, AutoCompleteDropdownProps, AvatarChipProps, AvatarChipsInputProps, AvatarChipsInputResult, AvatarGroupProps, AvatarProps, AvatarSize, BacklogGroupProps, BacklogItemProps, BadgeProps, BaseRowData, BasicFilterStructureProps, BasicModalProps, BreadcrumbItem, BreadcrumbProps, ButtonProps$1 as ButtonProps, ButtonProps as ButtonV2Props, CardProps, CheckTaskProps, CheckboxProps, CheckboxState, ChipAriaLabels, ChipItem, ChipProps, ChipToggleOption, ChipToggleProps, ColorOption$1 as ColorOption, ColorPickerDropdownProps, ColorPickerOption, ColorSelectorProps, Column, CommentCardProps, CommentSectionProps, ContactNumberInputProps, Country, DatePickerProps, DateRangePickerProps, DialogRole, DocumentCardProps, DraggableDeleteTableProps, DraggableTableColumn, DraggableTableData, DropdownOption, DropdownProps, DropdownValue, DropdownWithSearchablePopupProps, EditFunctions, EmptyDataViewProps, EmptyStateConfig, EmptyStateType, EpicProps, FilterSection, GanttBarDateRange, GanttBarLinkSide, GanttBarProps, GanttBarTooltipPlacement, GanttDependencyArrowProps, GanttPlaceholderProps, GanttPoint, GanttTodayLineProps, GlobalSearchModalProps, GridColumnAlign, GridHeader, GridRow, GroupData, HistoryEntry, HistoryLogCardProps, IconButtonProps, IconButtonSize, IconOption, IconSelectorProps, ImageEditorContainerProps, ImageEditorProps, InfoTipBannerProps, InputFieldProps, ItemAddFormProps, ItemAddFormTypeOption, ItemCardProps, ItemTypeOption, KebabMenuProps, LabelCardProps, LabelProps, LargeModalProps, LegendProps, ListTableMenuLabels, ListTableProps, LoaderVariant, MarketingModalBullet, MarketingModalLabels, MarketingModalProps, MarketingModalSize, MarketingModalSlide, MarketingModalVariant, MentionItem, MenuItemProps, ModalProps, MultiSelectOptionMenuItemProps, MultiSelectOptionMenuProps, MultiSelectSearchDropdownOption, MultiSelectSearchDropdownProps, MultiSelectSearchDropdownTexts, MultiSelectSearchProps, NavigationalPanelProps, PageHeaderProps, PageSizeSelectorProps, PaginationProps, PopoverProps, PopoverSide, PopperPosition, PopperProps, PriorityConfig, PriorityIconProps, ProgressCardProps, ProjectAccessProps, RadioButtonProps, ReplySectionProps, RichTextEditorAriaLabels, RichTextEditorProps, RichTextEditorTextsProps, SearchInputFieldProps, SearchItemCardComponentProps, SearchItemCardProps, SelectableImageButtonProps, SelectableItemListProps, SelectableListItemProps, SelectableListOption, SelectableListProps, SelectedFiltersDisplayProps, SetupChecklistProps, SetupStep, SetupStepStatus, SidePanelProps, SmallModalProps, SortConfig, StatusCardProps, StatusComponentProps, SubTaskCardProps, SubTaskChipProps, SubTaskInputProps, SwimLaneHeaderProps, SwimLaneSortCardProps, SwimLaneTaskListProps, TabItem, TableColumn, TableProps, TableRowType, TableToolBarProps, TableV2Props, TableV2Variant, TabsProps, Task, TaskCardProps, TemplateChangeCardProps, TextAreaProps, TextWithIconProps, TimelineGridHelpers, TimelineGridProps, TimelineGridRow, TimelineGridTodayButtonLabel, TimelineGridZoom, ToastProps, ToggleProps, TooltipProps, TriggerProps, TruncatedTextProps, UpgradeToCoreModalProps, UserChipProps, VerticalTabProps, ViewToggleOption, ViewToggleProps, WorkspaceLayoutProps, ZIndex };
|