pixel-react 1.22.5 → 1.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AutoTruncateText/AutoTruncateText.js +38 -30
- package/lib/components/AutoTruncateText/AutoTruncateText.js.map +1 -1
- package/lib/components/AutoTruncateText/resizeObserverService.d.ts +10 -2
- package/lib/components/AutoTruncateText/resizeObserverService.js +19 -12
- package/lib/components/AutoTruncateText/resizeObserverService.js.map +1 -1
- package/lib/components/HighlightText/HighlightText.d.ts +2 -2
- package/lib/components/HighlightText/HighlightText.js +144 -13
- package/lib/components/HighlightText/HighlightText.js.map +1 -1
- package/lib/components/HighlightText/index.d.ts +1 -0
- package/lib/components/HighlightText/types.d.ts +46 -0
- package/lib/components/Icon/iconList.js +2 -4
- package/lib/components/Icon/iconList.js.map +1 -1
- package/lib/components/InsightCard/index.d.ts +1 -1
- package/lib/components/InsightCard/index.js +1 -1
- package/lib/components/InsightCard/index.js.map +1 -1
- package/lib/components/MenuOption/MenuOption.js +22 -31
- package/lib/components/MenuOption/MenuOption.js.map +1 -1
- package/lib/components/MetricCard/MetricCard.d.ts +1 -0
- package/lib/components/MetricCard/MetricCard.js +1 -0
- package/lib/components/MetricCard/MetricCard.js.map +1 -1
- package/lib/components/MetricCard/index.d.ts +1 -1
- package/lib/components/MetricCard/index.js +1 -1
- package/lib/components/MetricCard/index.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js +8 -5
- package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +72 -5
- package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
- package/lib/components/StepsLandingTable/Components/Types.d.ts +14 -0
- package/lib/components/StepsLandingTable/StepLandingTable.js +13 -10
- package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
- package/lib/components/StepsLandingTable/constant.d.ts +222 -44
- package/lib/components/StepsLandingTable/constant.js +171 -661
- package/lib/components/StepsLandingTable/constant.js.map +1 -1
- package/lib/components/StepsLandingTable/types.d.ts +7 -0
- package/lib/components/Tooltip/Tooltip.js +20 -26
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/TooltipService/TooltipService.js +219 -109
- package/lib/components/TooltipService/TooltipService.js.map +1 -1
- package/lib/hooks/useFocusTrap.d.ts +29 -0
- package/lib/hooks/useFocusTrap.js +97 -0
- package/lib/hooks/useFocusTrap.js.map +1 -0
- package/lib/hooks/useInteractiveAncestor.d.ts +7 -0
- package/lib/hooks/useInteractiveAncestor.js +18 -0
- package/lib/hooks/useInteractiveAncestor.js.map +1 -0
- package/lib/index.d.ts +57 -175
- package/lib/index.js +9 -27
- package/lib/index.js.map +1 -1
- package/lib/styles.css +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/a11y/a11y.d.ts +28 -0
- package/lib/utils/a11y/a11y.js +62 -0
- package/lib/utils/a11y/a11y.js.map +1 -0
- package/lib/utils/truncateText/truncateText.js +29 -15
- package/lib/utils/truncateText/truncateText.js.map +1 -1
- package/package.json +119 -129
- package/lib/components/RichTextEditor/DynamicValue.d.ts +0 -8
- package/lib/components/RichTextEditor/DynamicValue.js +0 -73
- package/lib/components/RichTextEditor/DynamicValue.js.map +0 -1
- package/lib/components/RichTextEditor/DynamicValueList.d.ts +0 -11
- package/lib/components/RichTextEditor/DynamicValueList.js +0 -49
- package/lib/components/RichTextEditor/DynamicValueList.js.map +0 -1
- package/lib/components/RichTextEditor/ImagePopover.d.ts +0 -10
- package/lib/components/RichTextEditor/ImagePopover.js +0 -99
- package/lib/components/RichTextEditor/ImagePopover.js.map +0 -1
- package/lib/components/RichTextEditor/LinkPopover.d.ts +0 -8
- package/lib/components/RichTextEditor/LinkPopover.js +0 -98
- package/lib/components/RichTextEditor/LinkPopover.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.d.ts +0 -5
- package/lib/components/RichTextEditor/RichTextEditor.js +0 -216
- package/lib/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar.d.ts +0 -12
- package/lib/components/RichTextEditor/Toolbar.js +0 -186
- package/lib/components/RichTextEditor/Toolbar.js.map +0 -1
- package/lib/components/RichTextEditor/constants.d.ts +0 -4
- package/lib/components/RichTextEditor/constants.js +0 -33
- package/lib/components/RichTextEditor/constants.js.map +0 -1
- package/lib/components/RichTextEditor/fileAttachment.d.ts +0 -23
- package/lib/components/RichTextEditor/fileAttachment.js +0 -143
- package/lib/components/RichTextEditor/fileAttachment.js.map +0 -1
- package/lib/components/RichTextEditor/imageUpload.d.ts +0 -6
- package/lib/components/RichTextEditor/imageUpload.js +0 -29
- package/lib/components/RichTextEditor/imageUpload.js.map +0 -1
- package/lib/components/RichTextEditor/index.d.ts +0 -1
- package/lib/components/RichTextEditor/index.js +0 -2
- package/lib/components/RichTextEditor/index.js.map +0 -1
- package/lib/components/RichTextEditor/pasteFormatting.d.ts +0 -18
- package/lib/components/RichTextEditor/pasteFormatting.js +0 -167
- package/lib/components/RichTextEditor/pasteFormatting.js.map +0 -1
- package/lib/components/RichTextEditor/types.d.ts +0 -167
- package/lib/components/RichTextEditor/types.js +0 -2
- package/lib/components/RichTextEditor/types.js.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Remembers the element that had focus when `isOpen` became true, read during
|
|
4
|
+
* render — before children with autoFocus take focus — so it can be restored.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useOpenerElement: (isOpen: boolean) => import("react").MutableRefObject<HTMLElement | null>;
|
|
7
|
+
interface FocusTrapOptions {
|
|
8
|
+
active: boolean;
|
|
9
|
+
/** Element to focus on activation; defaults to the first focusable child. */
|
|
10
|
+
initialFocusRef?: RefObject<HTMLElement>;
|
|
11
|
+
/** Return focus to the element that was focused before activation. */
|
|
12
|
+
restoreFocus?: boolean;
|
|
13
|
+
/** Explicit element to return focus to (see useOpenerElement). */
|
|
14
|
+
returnFocusRef?: RefObject<HTMLElement | null>;
|
|
15
|
+
/**
|
|
16
|
+
* Keep Tab/Shift+Tab inside the container (modal). When false, focus only
|
|
17
|
+
* moves in on activation and back out afterwards (non-modal panel).
|
|
18
|
+
*/
|
|
19
|
+
trapTab?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const isTopMostFocusTrap: (container: HTMLElement | null) => boolean;
|
|
22
|
+
export declare const getTopMostFocusTrap: () => HTMLElement | null;
|
|
23
|
+
/**
|
|
24
|
+
* Moves keyboard focus into a dialog when it opens, optionally keeps it there
|
|
25
|
+
* while it is modal, and restores it to the trigger afterwards — WCAG 2.4.3
|
|
26
|
+
* Focus Order and 2.1.2 No Keyboard Trap (focus is released on close).
|
|
27
|
+
*/
|
|
28
|
+
declare const useFocusTrap: (containerRef: RefObject<HTMLElement>, { active, initialFocusRef, restoreFocus, trapTab, returnFocusRef, }: FocusTrapOptions) => void;
|
|
29
|
+
export default useFocusTrap;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
import { getFocusableElements } from '../utils/a11y/a11y';
|
|
3
|
+
/**
|
|
4
|
+
* Remembers the element that had focus when `isOpen` became true, read during
|
|
5
|
+
* render — before children with autoFocus take focus — so it can be restored.
|
|
6
|
+
*/
|
|
7
|
+
export const useOpenerElement = (isOpen) => {
|
|
8
|
+
const openerRef = useRef(null);
|
|
9
|
+
const wasOpenRef = useRef(false);
|
|
10
|
+
if (isOpen && !wasOpenRef.current && typeof document !== 'undefined') {
|
|
11
|
+
const focused = document.activeElement;
|
|
12
|
+
openerRef.current =
|
|
13
|
+
focused instanceof HTMLElement && focused !== document.body
|
|
14
|
+
? focused
|
|
15
|
+
: null;
|
|
16
|
+
}
|
|
17
|
+
wasOpenRef.current = isOpen;
|
|
18
|
+
return openerRef;
|
|
19
|
+
};
|
|
20
|
+
// Traps are stacked so only the top-most dialog handles Tab and Escape.
|
|
21
|
+
const trapStack = [];
|
|
22
|
+
export const isTopMostFocusTrap = (container) => !!container && trapStack[trapStack.length - 1] === container;
|
|
23
|
+
export const getTopMostFocusTrap = () => trapStack[trapStack.length - 1] ?? null;
|
|
24
|
+
/**
|
|
25
|
+
* Moves keyboard focus into a dialog when it opens, optionally keeps it there
|
|
26
|
+
* while it is modal, and restores it to the trigger afterwards — WCAG 2.4.3
|
|
27
|
+
* Focus Order and 2.1.2 No Keyboard Trap (focus is released on close).
|
|
28
|
+
*/
|
|
29
|
+
const useFocusTrap = (containerRef, { active, initialFocusRef, restoreFocus = true, trapTab = true, returnFocusRef, }) => {
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
const container = containerRef.current;
|
|
32
|
+
if (!active || !container)
|
|
33
|
+
return undefined;
|
|
34
|
+
const focusedNow = document.activeElement instanceof HTMLElement
|
|
35
|
+
? document.activeElement
|
|
36
|
+
: null;
|
|
37
|
+
// Prefer the opener captured at render; otherwise whatever had focus,
|
|
38
|
+
// unless that is already inside the container (e.g. an autoFocus field).
|
|
39
|
+
const previouslyFocused = returnFocusRef?.current ??
|
|
40
|
+
(focusedNow && !container.contains(focusedNow) ? focusedNow : null);
|
|
41
|
+
if (trapTab)
|
|
42
|
+
trapStack.push(container);
|
|
43
|
+
// Deferred so children using autoFocus win, and portal content is laid out.
|
|
44
|
+
const frame = requestAnimationFrame(() => {
|
|
45
|
+
if (container.contains(document.activeElement))
|
|
46
|
+
return;
|
|
47
|
+
const target = initialFocusRef?.current ??
|
|
48
|
+
getFocusableElements(container)[0] ??
|
|
49
|
+
container;
|
|
50
|
+
target.focus({ preventScroll: true });
|
|
51
|
+
});
|
|
52
|
+
const handleKeyDown = (event) => {
|
|
53
|
+
if (event.key !== 'Tab' ||
|
|
54
|
+
// Composite widgets (e.g. a spreadsheet) may use Tab internally.
|
|
55
|
+
event.defaultPrevented ||
|
|
56
|
+
!isTopMostFocusTrap(container)) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const focusable = getFocusableElements(container);
|
|
60
|
+
const first = focusable[0];
|
|
61
|
+
const last = focusable[focusable.length - 1];
|
|
62
|
+
if (!first || !last) {
|
|
63
|
+
event.preventDefault();
|
|
64
|
+
container.focus({ preventScroll: true });
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const activeElement = document.activeElement;
|
|
68
|
+
const focusIsOutside = !container.contains(activeElement);
|
|
69
|
+
if (event.shiftKey && (activeElement === first || focusIsOutside)) {
|
|
70
|
+
event.preventDefault();
|
|
71
|
+
last.focus();
|
|
72
|
+
}
|
|
73
|
+
else if (!event.shiftKey && (activeElement === last || focusIsOutside)) {
|
|
74
|
+
event.preventDefault();
|
|
75
|
+
first.focus();
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
if (trapTab)
|
|
79
|
+
document.addEventListener('keydown', handleKeyDown);
|
|
80
|
+
return () => {
|
|
81
|
+
cancelAnimationFrame(frame);
|
|
82
|
+
document.removeEventListener('keydown', handleKeyDown);
|
|
83
|
+
const index = trapStack.lastIndexOf(container);
|
|
84
|
+
if (index !== -1)
|
|
85
|
+
trapStack.splice(index, 1);
|
|
86
|
+
// Only restore when focus would otherwise be lost (inside the closing
|
|
87
|
+
// container or already on <body>), never steal it from elsewhere.
|
|
88
|
+
const focused = document.activeElement;
|
|
89
|
+
const focusWouldBeLost = !focused || focused === document.body || container.contains(focused);
|
|
90
|
+
if (restoreFocus && focusWouldBeLost && previouslyFocused?.isConnected) {
|
|
91
|
+
previouslyFocused.focus({ preventScroll: true });
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}, [active, containerRef, initialFocusRef, restoreFocus, trapTab, returnFocusRef]);
|
|
95
|
+
};
|
|
96
|
+
export default useFocusTrap;
|
|
97
|
+
//# sourceMappingURL=useFocusTrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFocusT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IAAI,OAAO,KAAK,QAAQ,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;YACvE,IAAI,YAAY,IAAI,gBAAgB,IAAI,iBAAiB,EAAE,WAAW,EAAE,CAAC;gBACvE,iBAAiB,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;YACnD,CAAC;QACH,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* True when the element is rendered inside a control that already handles
|
|
4
|
+
* keyboard activation, so the element should not add its own tab stop.
|
|
5
|
+
*/
|
|
6
|
+
declare const useInteractiveAncestor: (ref: RefObject<HTMLElement>, enabled: boolean) => boolean;
|
|
7
|
+
export default useInteractiveAncestor;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useLayoutEffect, useState } from 'react';
|
|
2
|
+
import { hasInteractiveAncestor } from '../utils/a11y/a11y';
|
|
3
|
+
/**
|
|
4
|
+
* True when the element is rendered inside a control that already handles
|
|
5
|
+
* keyboard activation, so the element should not add its own tab stop.
|
|
6
|
+
*/
|
|
7
|
+
const useInteractiveAncestor = (ref, enabled) => {
|
|
8
|
+
const [isNested, setIsNested] = useState(false);
|
|
9
|
+
useLayoutEffect(() => {
|
|
10
|
+
if (!enabled)
|
|
11
|
+
return;
|
|
12
|
+
const nested = hasInteractiveAncestor(ref.current);
|
|
13
|
+
setIsNested((previous) => (previous === nested ? previous : nested));
|
|
14
|
+
}, [enabled, ref]);
|
|
15
|
+
return enabled && isNested;
|
|
16
|
+
};
|
|
17
|
+
export default useInteractiveAncestor;
|
|
18
|
+
//# sourceMappingURL=useInteractiveAncestor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInteractiveAncestor.js","sourceRoot":"","sources":["../../src/hooks/useInteractiveAncestor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D;;;GAGG;AACH,MAAM,sBAAsB,GAAG,CAC7B,GAA2B,EAC3B,OAAgB,EAChB,EAAE;IACF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,eAAe,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,OAAO;YAAE,OAAO;QACrB,MAAM,MAAM,GAAG,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnD,WAAW,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;IACvE,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;IAEnB,OAAO,OAAO,IAAI,QAAQ,CAAC;AAC7B,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -2582,13 +2582,58 @@ interface BrowserTabsProps {
|
|
|
2582
2582
|
|
|
2583
2583
|
declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) => React$1.JSX.Element;
|
|
2584
2584
|
|
|
2585
|
+
/** A styled part of the text, e.g. a variable inside a step name */
|
|
2586
|
+
interface HighlightTextPart {
|
|
2587
|
+
text: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* Needs the same contrast as `color` on the row. Colour alone must not tell
|
|
2590
|
+
* kinds of parts apart (WCAG 1.4.1): a tooltip can say what the part is.
|
|
2591
|
+
*/
|
|
2592
|
+
color?: string;
|
|
2593
|
+
fontWeight?: CSSProperties['fontWeight'];
|
|
2594
|
+
/**
|
|
2595
|
+
* Shown on hover over this part only. Text or JSX, as for `tooltip` below.
|
|
2596
|
+
* A line break (`\n`) in text starts a new line, e.g. for an element's name
|
|
2597
|
+
* and type; prefer that over JSX in long lists, since JSX tooltips render a
|
|
2598
|
+
* hidden copy in every row.
|
|
2599
|
+
*/
|
|
2600
|
+
tooltip?: string | ReactElement;
|
|
2601
|
+
}
|
|
2602
|
+
/** Plain text, or a styled part */
|
|
2603
|
+
type HighlightTextSegment = string | HighlightTextPart;
|
|
2585
2604
|
interface HighlightTextProps {
|
|
2586
2605
|
text?: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* Use instead of `text` when parts need their own colour or tooltip.
|
|
2608
|
+
* Search highlighting runs on the joined text, so a match can span parts.
|
|
2609
|
+
*/
|
|
2610
|
+
segments?: HighlightTextSegment[];
|
|
2587
2611
|
highlight?: String;
|
|
2588
2612
|
onlyExactMatch?: boolean;
|
|
2613
|
+
/**
|
|
2614
|
+
* Text colour: any CSS colour value or variable, e.g. `var(--brand-color)`.
|
|
2615
|
+
* WCAG 1.4.6 (AAA) needs 7:1 contrast with the background (4.5:1 for large
|
|
2616
|
+
* text), also against the search highlight.
|
|
2617
|
+
*/
|
|
2618
|
+
color?: string;
|
|
2619
|
+
fontWeight?: CSSProperties['fontWeight'];
|
|
2620
|
+
/**
|
|
2621
|
+
* Shown on hover or keyboard focus, through the global TooltipService. The
|
|
2622
|
+
* text takes focus for it, except inside another control (e.g. a button),
|
|
2623
|
+
* which should then carry the tooltip itself. Escape hides it. JSX is copied
|
|
2624
|
+
* into the tooltip as HTML, so it is static: event handlers inside it do not
|
|
2625
|
+
* run.
|
|
2626
|
+
*/
|
|
2627
|
+
tooltip?: string | ReactElement;
|
|
2628
|
+
/**
|
|
2629
|
+
* Keep to one line and end with an ellipsis when it does not fit. The full
|
|
2630
|
+
* text shows on hover or focus, only while it is cut off (unless `tooltip`
|
|
2631
|
+
* is set); the row takes focus only then.
|
|
2632
|
+
*/
|
|
2633
|
+
truncate?: boolean;
|
|
2589
2634
|
}
|
|
2590
2635
|
|
|
2591
|
-
declare const
|
|
2636
|
+
declare const MemoizedHighlightText: React$1.MemoExoticComponent<({ text, segments, highlight, onlyExactMatch, color, fontWeight, tooltip, truncate, }: HighlightTextProps) => React$1.JSX.Element>;
|
|
2592
2637
|
|
|
2593
2638
|
interface CheckboxProps {
|
|
2594
2639
|
/**
|
|
@@ -6138,11 +6183,18 @@ interface TableProps {
|
|
|
6138
6183
|
isDraggable?: boolean;
|
|
6139
6184
|
handleParentRowHover?: (e: any) => void;
|
|
6140
6185
|
handleParentRowHoverOut?: (e: any) => void;
|
|
6186
|
+
isAITriage?: boolean;
|
|
6187
|
+
fetchInsights?: (e: any) => Promise<any>;
|
|
6188
|
+
renderInsightsContent?: (params: {
|
|
6189
|
+
insightsData: any;
|
|
6190
|
+
isLoading: boolean;
|
|
6191
|
+
row: any;
|
|
6192
|
+
}) => ReactNode;
|
|
6141
6193
|
}
|
|
6142
6194
|
|
|
6143
6195
|
declare const StepLandingTable: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TableProps & React__default.RefAttributes<any>>>;
|
|
6144
6196
|
|
|
6145
|
-
interface RichTextEditorProps
|
|
6197
|
+
interface RichTextEditorProps {
|
|
6146
6198
|
convertedContent: string;
|
|
6147
6199
|
label?: string;
|
|
6148
6200
|
setConvertedContent: (content: string) => void;
|
|
@@ -6161,177 +6213,7 @@ interface RichTextEditorProps$1 {
|
|
|
6161
6213
|
onFocus?: (event?: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
6162
6214
|
}
|
|
6163
6215
|
|
|
6164
|
-
declare const TextEditor: FC<RichTextEditorProps
|
|
6165
|
-
|
|
6166
|
-
type RichTextToolbarOption = 'bold' | 'italic' | 'underline' | 'strike' | 'heading1' | 'heading2' | 'heading3' | 'bulletList' | 'orderedList' | 'blockquote' | 'code' | 'codeBlock' | 'link' | 'image' | 'attachment' | 'undo' | 'redo' | 'clear';
|
|
6167
|
-
/**
|
|
6168
|
-
* Uploads an image and resolves with its http(s) URL
|
|
6169
|
-
*/
|
|
6170
|
-
type RichTextImageUpload = (file: File) => Promise<string>;
|
|
6171
|
-
/**
|
|
6172
|
-
* Uploads an attached file and resolves with its http(s) URL
|
|
6173
|
-
*/
|
|
6174
|
-
type RichTextFileUpload = (file: File) => Promise<string>;
|
|
6175
|
-
/**
|
|
6176
|
-
* Why an attached file was not inserted:
|
|
6177
|
-
* - `'type'`: it doesn't match `fileAttachmentAccept`
|
|
6178
|
-
* - `'size'`: it is larger than `maxFileSize`
|
|
6179
|
-
* - `'upload'`: the upload failed or resolved with an unsafe URL
|
|
6180
|
-
*/
|
|
6181
|
-
type RichTextFileAttachmentError = 'type' | 'size' | 'upload';
|
|
6182
|
-
/**
|
|
6183
|
-
* Format of the editor `value` and of the content passed to `onChange`, `onFocus` and `onBlur`
|
|
6184
|
-
*/
|
|
6185
|
-
type RichTextOutputFormat = 'html' | 'text';
|
|
6186
|
-
interface RichTextDynamicValue {
|
|
6187
|
-
/**
|
|
6188
|
-
* Text shown in the suggestion list
|
|
6189
|
-
*/
|
|
6190
|
-
label: string;
|
|
6191
|
-
/**
|
|
6192
|
-
* Identifier stored on the token as `data-id` and shown as `{{value}}`
|
|
6193
|
-
*/
|
|
6194
|
-
value: string;
|
|
6195
|
-
}
|
|
6196
|
-
interface RichTextEditorProps {
|
|
6197
|
-
/**
|
|
6198
|
-
* Content of the editor, in the format set by `outputFormat`
|
|
6199
|
-
*/
|
|
6200
|
-
value?: string;
|
|
6201
|
-
/**
|
|
6202
|
-
* Format of `value` and of the content passed to `onChange`, `onFocus` and `onBlur`.
|
|
6203
|
-
* - `'html'`: the editor HTML, with formatting
|
|
6204
|
-
* - `'text'`: plain text, one line per block. Formatting, links and images are
|
|
6205
|
-
* dropped and dynamic values are written as `{{value}}`
|
|
6206
|
-
* @default 'html'
|
|
6207
|
-
*/
|
|
6208
|
-
outputFormat?: RichTextOutputFormat;
|
|
6209
|
-
/**
|
|
6210
|
-
* Called with the editor content (see `outputFormat`) and its text character count
|
|
6211
|
-
* whenever the content changes
|
|
6212
|
-
*/
|
|
6213
|
-
onChange?: (value: string, charCount: number) => void;
|
|
6214
|
-
/**
|
|
6215
|
-
* Called with the text character count on mount and whenever it changes
|
|
6216
|
-
* (including external `value` updates). Use it to run min/max length
|
|
6217
|
-
* validation in the parent form and pass the result back via `error`/`helperText`
|
|
6218
|
-
*/
|
|
6219
|
-
onCharCountChange?: (charCount: number) => void;
|
|
6220
|
-
/**
|
|
6221
|
-
* Label shown above the editor
|
|
6222
|
-
*/
|
|
6223
|
-
label?: string;
|
|
6224
|
-
/**
|
|
6225
|
-
* Shows a required asterisk next to the label
|
|
6226
|
-
*/
|
|
6227
|
-
required?: boolean;
|
|
6228
|
-
/**
|
|
6229
|
-
* Placeholder shown when the editor is empty
|
|
6230
|
-
*/
|
|
6231
|
-
placeholder?: string;
|
|
6232
|
-
/**
|
|
6233
|
-
* Makes the editor non-editable and hides the toolbar
|
|
6234
|
-
*/
|
|
6235
|
-
readOnly?: boolean;
|
|
6236
|
-
/**
|
|
6237
|
-
* Hides the toolbar while keeping the editor editable
|
|
6238
|
-
*/
|
|
6239
|
-
toolbarHidden?: boolean;
|
|
6240
|
-
/**
|
|
6241
|
-
* Toolbar buttons to show, in order. Defaults to all options
|
|
6242
|
-
*/
|
|
6243
|
-
toolbarOptions?: RichTextToolbarOption[];
|
|
6244
|
-
/**
|
|
6245
|
-
* Values offered when the user types `dynamicValueTrigger`. Picking one inserts it
|
|
6246
|
-
* as a token: `<span data-type="dynamicValue" data-id="{value}" data-label="{label}">`.
|
|
6247
|
-
* The feature is disabled (typing the trigger does nothing) when this is empty or omitted
|
|
6248
|
-
*/
|
|
6249
|
-
dynamicValues?: RichTextDynamicValue[];
|
|
6250
|
-
/**
|
|
6251
|
-
* Called with the dynamic values present in the content (document order, no duplicates)
|
|
6252
|
-
* on mount and whenever they change, including external `value` updates
|
|
6253
|
-
*/
|
|
6254
|
-
onDynamicValuesChange?: (dynamicValues: RichTextDynamicValue[]) => void;
|
|
6255
|
-
/**
|
|
6256
|
-
* Character that opens the dynamic value list
|
|
6257
|
-
* @default '<'
|
|
6258
|
-
*/
|
|
6259
|
-
dynamicValueTrigger?: string;
|
|
6260
|
-
/**
|
|
6261
|
-
* Enables inserting images via the toolbar `image` button, paste and drop.
|
|
6262
|
-
* When false, the `image` toolbar option is hidden and pasted/dropped images are ignored
|
|
6263
|
-
* @default false
|
|
6264
|
-
*/
|
|
6265
|
-
allowImageUpload?: boolean;
|
|
6266
|
-
/**
|
|
6267
|
-
* Uploads images picked, pasted or dropped into the editor and resolves with their URL.
|
|
6268
|
-
* When omitted, images are embedded in the HTML as base64 data URLs
|
|
6269
|
-
*/
|
|
6270
|
-
onImageUpload?: RichTextImageUpload;
|
|
6271
|
-
/**
|
|
6272
|
-
* Enables attaching local files via the toolbar `attachment` button, and via
|
|
6273
|
-
* paste and drop for files that aren't inserted as images. Each file is inserted
|
|
6274
|
-
* as a download chip:
|
|
6275
|
-
* `<a data-type="fileAttachment" href="{url}" data-name="{name}" data-size="{bytes}" download>`.
|
|
6276
|
-
* When false, the `attachment` toolbar option is hidden
|
|
6277
|
-
* @default false
|
|
6278
|
-
*/
|
|
6279
|
-
allowFileAttachment?: boolean;
|
|
6280
|
-
/**
|
|
6281
|
-
* Uploads attached files and resolves with their URL. When omitted, files are
|
|
6282
|
-
* embedded in the HTML as base64 data URLs, which only works for images
|
|
6283
|
-
*/
|
|
6284
|
-
onFileUpload?: RichTextFileUpload;
|
|
6285
|
-
/**
|
|
6286
|
-
* File types that can be attached, in `accept` attribute syntax
|
|
6287
|
-
* (e.g. `'image/*'`, `'.pdf,.docx'`)
|
|
6288
|
-
* @default 'image/*'
|
|
6289
|
-
*/
|
|
6290
|
-
fileAttachmentAccept?: string;
|
|
6291
|
-
/**
|
|
6292
|
-
* Maximum size of an attached file, in bytes
|
|
6293
|
-
*/
|
|
6294
|
-
maxFileSize?: number;
|
|
6295
|
-
/**
|
|
6296
|
-
* Called for each attached file that was not inserted, with the reason
|
|
6297
|
-
*/
|
|
6298
|
-
onFileAttachmentError?: (file: File, reason: RichTextFileAttachmentError) => void;
|
|
6299
|
-
/**
|
|
6300
|
-
* Applies error styling
|
|
6301
|
-
*/
|
|
6302
|
-
error?: boolean;
|
|
6303
|
-
/**
|
|
6304
|
-
* Text shown below the editor (error message when `error` is true)
|
|
6305
|
-
*/
|
|
6306
|
-
helperText?: string;
|
|
6307
|
-
/**
|
|
6308
|
-
* Minimum height of the editable area
|
|
6309
|
-
*/
|
|
6310
|
-
minHeight?: number | string;
|
|
6311
|
-
/**
|
|
6312
|
-
* Maximum height of the editable area, scrolls beyond this
|
|
6313
|
-
*/
|
|
6314
|
-
maxHeight?: number | string;
|
|
6315
|
-
/**
|
|
6316
|
-
* Minimum number of text characters. Shows an error after blur when the
|
|
6317
|
-
* content is non-empty but shorter than this
|
|
6318
|
-
*/
|
|
6319
|
-
minLength?: number;
|
|
6320
|
-
/**
|
|
6321
|
-
* Maximum number of text characters. Input beyond this is blocked and a
|
|
6322
|
-
* `count/maxLength` counter is shown below the editor
|
|
6323
|
-
*/
|
|
6324
|
-
maxLength?: number;
|
|
6325
|
-
/**
|
|
6326
|
-
* Focuses the editor on mount
|
|
6327
|
-
*/
|
|
6328
|
-
autoFocus?: boolean;
|
|
6329
|
-
onFocus?: (value: string) => void;
|
|
6330
|
-
onBlur?: (value: string) => void;
|
|
6331
|
-
className?: string;
|
|
6332
|
-
}
|
|
6333
|
-
|
|
6334
|
-
declare const RichTextEditor: FC<RichTextEditorProps>;
|
|
6216
|
+
declare const TextEditor: FC<RichTextEditorProps>;
|
|
6335
6217
|
|
|
6336
6218
|
interface NoDataFoundProps {
|
|
6337
6219
|
iconName: string;
|
|
@@ -6740,5 +6622,5 @@ interface DotLoaderProps {
|
|
|
6740
6622
|
|
|
6741
6623
|
declare const DotLoader: ({ dotCount, label, labelFontSize, labelFontWeight, dotFontSize, dotFontWeight }: DotLoaderProps) => React$1.JSX.Element;
|
|
6742
6624
|
|
|
6743
|
-
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, AudioPlayer, AutoTruncateText, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, CardPanel, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DotLoader, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EXECUTION_ID_VALIDATION, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NetworkErrorBoundary, NoDataAvailable, NoDataContent, NoResultFound, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProcessedSourceSelector, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha,
|
|
6744
|
-
export type {
|
|
6625
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, AudioPlayer, AutoTruncateText, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, CardPanel, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DotLoader, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EXECUTION_ID_VALIDATION, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, MemoizedHighlightText as HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NetworkErrorBoundary, NoDataAvailable, NoDataContent, NoResultFound, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProcessedSourceSelector, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SCRIPT_REGEX, SERVER_HOST_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScoreGaugeChart, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SelectionSwitcher, SequentialConnectingBranch, SessionDropdown, SessionManager, StackedBarChart, StateDropdown, StatusBadge, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, StorageUsageBar, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, TooltipService, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VALID_NAME_PATTERN, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, WeightageTable, XML_FILE_TYPE_VALIDATION, ZoomControl, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, cleanAllTooltips, clearStore, compareArrays, compareObjects, computeTreeCountsAndFormatNodes, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, copyToClipboard, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getFiltersFromUrl, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, passesFilters, rearrangeDragItem, restoreSelectedFilters, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateSearchTree, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl, validateFileContent };
|
|
6626
|
+
export type { HighlightTextPart, HighlightTextSegment, RootNode$1 as RootNode, TreeNodeProps, WeightageCellRenderProps, WeightageColumnLabels, WeightageGroup, WeightageRow, WeightageTableProps };
|