@skapp/skapp-ui 0.0.0-stage → 1.0.0-beta.3

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