@appquality/unguess-design-system 3.1.99 → 3.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/index.js +16 -10
- package/build/stories/buttons/button/index.stories.d.ts +1 -0
- package/build/stories/buttons/utils.d.ts +33 -33
- package/build/stories/chat/index.stories.d.ts +1 -0
- package/build/stories/dropdowns/select/index.stories.d.ts +1 -0
- package/build/stories/editor/index.stories.d.ts +1 -0
- package/build/stories/highlight/_types.d.ts +0 -5
- package/build/stories/highlight/index.stories.d.ts +2 -2
- package/build/stories/player/index.stories.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# v3.1.100 (Tue Jun 11 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Improved transcript + player [#391](https://github.com/AppQuality/unguess-design-system/pull/391) ([@marcbon](https://github.com/marcbon))
|
|
6
|
+
- Fix-transcript-obs-button [#388](https://github.com/AppQuality/unguess-design-system/pull/388) ([@marcbon](https://github.com/marcbon))
|
|
7
|
+
- 🩹 fix(controls.tsx, floatingControls.tsx): adjust height to 80px for better [#390](https://github.com/AppQuality/unguess-design-system/pull/390) ([@marcbon](https://github.com/marcbon))
|
|
8
|
+
|
|
9
|
+
#### Authors: 1
|
|
10
|
+
|
|
11
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# v3.1.99 (Mon Jun 10 2024)
|
|
2
16
|
|
|
3
17
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -4500,6 +4500,7 @@ const ControlsWrapper = styled__default["default"].div `
|
|
|
4500
4500
|
right: 0;
|
|
4501
4501
|
padding: ${({ theme }) => theme.space.xxs} 0;
|
|
4502
4502
|
background-color: ${({ theme }) => theme.palette.grey[100]};
|
|
4503
|
+
height: 80px;
|
|
4503
4504
|
${({ isPlaying }) => isPlaying && "display: none;"}
|
|
4504
4505
|
z-index: 2;
|
|
4505
4506
|
`;
|
|
@@ -4640,6 +4641,7 @@ const FloatingContainer = styled__default["default"].div `
|
|
|
4640
4641
|
right: 0;
|
|
4641
4642
|
${({ isPlaying }) => isPlaying && "display: none;"}
|
|
4642
4643
|
z-index: 1;
|
|
4644
|
+
height: calc(100% - 80px);
|
|
4643
4645
|
`;
|
|
4644
4646
|
const PlayIcon = styled__default["default"](SvgPlayIcon) ``;
|
|
4645
4647
|
const BigButton = styled__default["default"](IconButton) `
|
|
@@ -5638,10 +5640,12 @@ const CreateObservationButton = styled.styled(Button) `
|
|
|
5638
5640
|
`;
|
|
5639
5641
|
|
|
5640
5642
|
const StyledWord = styled__default["default"].div `
|
|
5641
|
-
display: inline;
|
|
5643
|
+
display: inline-block;
|
|
5642
5644
|
font-size: ${({ theme, size }) => theme.fontSizes[size !== null && size !== void 0 ? size : "md"]};
|
|
5643
5645
|
padding: ${({ theme }) => theme.space.xxs} 0;
|
|
5644
5646
|
position: relative;
|
|
5647
|
+
color: ${({ theme }) => theme.palette.grey[700]};
|
|
5648
|
+
white-space: pre;
|
|
5645
5649
|
|
|
5646
5650
|
${({ observations, theme }) => {
|
|
5647
5651
|
var _a;
|
|
@@ -5650,6 +5654,7 @@ const StyledWord = styled__default["default"].div `
|
|
|
5650
5654
|
color: ${(_a = observations[observations.length - 1].color) !== null && _a !== void 0 ? _a : theme.palette.grey[600]};
|
|
5651
5655
|
box-sizing: border-box;
|
|
5652
5656
|
font-weight: ${theme.fontWeights.semibold};
|
|
5657
|
+
z-index: 1;
|
|
5653
5658
|
|
|
5654
5659
|
&:focus {
|
|
5655
5660
|
outline: none;
|
|
@@ -5658,13 +5663,15 @@ const StyledWord = styled__default["default"].div `
|
|
|
5658
5663
|
}}
|
|
5659
5664
|
`;
|
|
5660
5665
|
const ActiveWord = styled__default["default"].span `
|
|
5666
|
+
position: relative;
|
|
5667
|
+
z-index: 2;
|
|
5661
5668
|
background-color: ${({ theme }) => getColor(theme.palette.fuschia, 400, undefined, 0.4)};
|
|
5662
5669
|
`;
|
|
5663
5670
|
const WordsContainer = styled__default["default"].div `
|
|
5664
5671
|
box-sizing: border-box;
|
|
5665
5672
|
${StyledWord}, span {
|
|
5666
5673
|
&::selection {
|
|
5667
|
-
background-color: ${({ theme }) => getColor(theme.palette.
|
|
5674
|
+
background-color: ${({ theme }) => getColor(theme.palette.grey, 400, undefined, 0.5)};
|
|
5668
5675
|
}
|
|
5669
5676
|
}
|
|
5670
5677
|
`;
|
|
@@ -5682,7 +5689,7 @@ const Layer = styled__default["default"].div `
|
|
|
5682
5689
|
*/
|
|
5683
5690
|
const Highlight = (props) => {
|
|
5684
5691
|
var _a;
|
|
5685
|
-
const { onSelectionButtonClick, search, i18n } = props;
|
|
5692
|
+
const { onSelectionButtonClick, search, i18n, children } = props;
|
|
5686
5693
|
const ref = React.useRef(null);
|
|
5687
5694
|
const [isSelecting, setIsSelecting] = React.useState(false);
|
|
5688
5695
|
const [position, setPosition] = React.useState();
|
|
@@ -5704,7 +5711,7 @@ const Highlight = (props) => {
|
|
|
5704
5711
|
return filteredText.length ? filteredText.trim() : selection.toString();
|
|
5705
5712
|
};
|
|
5706
5713
|
const handleSelectionChange = React.useCallback(() => {
|
|
5707
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
5714
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5708
5715
|
if (activeSelection && activeSelection.toString().length > 0) {
|
|
5709
5716
|
// Extract the text from the selection cleaning unselectable items
|
|
5710
5717
|
const text = extractText(activeSelection);
|
|
@@ -5717,7 +5724,7 @@ const Highlight = (props) => {
|
|
|
5717
5724
|
((_c = ref.current) === null || _c === void 0 ? void 0 : _c.contains(anchorNode)) && // Selection starts inside the ref
|
|
5718
5725
|
((_d = ref.current) === null || _d === void 0 ? void 0 : _d.contains(focusNode)) // Selection ends inside the ref
|
|
5719
5726
|
) {
|
|
5720
|
-
if (
|
|
5727
|
+
if (onSelectionButtonClick) {
|
|
5721
5728
|
setIsSelecting(true);
|
|
5722
5729
|
const range = activeSelection.getRangeAt(0);
|
|
5723
5730
|
const rects = range.getClientRects();
|
|
@@ -5743,7 +5750,6 @@ const Highlight = (props) => {
|
|
|
5743
5750
|
from: Math.min(Number.parseFloat((_e = anchorNode.getAttribute("data-start")) !== null && _e !== void 0 ? _e : "0"), Number.parseFloat((_f = focusNode.getAttribute("data-start")) !== null && _f !== void 0 ? _f : "0")),
|
|
5744
5751
|
to: Math.max(Number.parseFloat((_g = anchorNode.getAttribute("data-end")) !== null && _g !== void 0 ? _g : "0"), Number.parseFloat((_h = focusNode.getAttribute("data-end")) !== null && _h !== void 0 ? _h : "0")),
|
|
5745
5752
|
};
|
|
5746
|
-
(_j = props === null || props === void 0 ? void 0 : props.handleSelection) === null || _j === void 0 ? void 0 : _j.call(props, Object.assign(Object.assign({}, selectionPart), { text }));
|
|
5747
5753
|
setSelection(Object.assign(Object.assign({}, selectionPart), { text }));
|
|
5748
5754
|
}
|
|
5749
5755
|
else {
|
|
@@ -5753,7 +5759,7 @@ const Highlight = (props) => {
|
|
|
5753
5759
|
else {
|
|
5754
5760
|
setIsSelecting(false);
|
|
5755
5761
|
}
|
|
5756
|
-
}, [
|
|
5762
|
+
}, [onSelectionButtonClick, activeSelection]);
|
|
5757
5763
|
React.useEffect(() => {
|
|
5758
5764
|
if (ref.current === null)
|
|
5759
5765
|
return;
|
|
@@ -5762,10 +5768,10 @@ const Highlight = (props) => {
|
|
|
5762
5768
|
document.removeEventListener("selectionchange", handleSelectionChange);
|
|
5763
5769
|
};
|
|
5764
5770
|
}, [ref, props, handleSelectionChange]);
|
|
5765
|
-
return (jsxRuntime.jsxs(HighlightContextProvider, Object.assign({ term: search }, { children: [jsxRuntime.jsx(WordsContainer, Object.assign({ ref: ref }, { children:
|
|
5771
|
+
return (jsxRuntime.jsxs(HighlightContextProvider, Object.assign({ term: search }, { children: [jsxRuntime.jsx(WordsContainer, Object.assign({ ref: ref }, { children: children })), onSelectionButtonClick && isSelecting && selection && (jsxRuntime.jsxs(CreateObservationButton, Object.assign({ isAccent: true, isPrimary: true, position: position !== null && position !== void 0 ? position : {
|
|
5766
5772
|
x: 0,
|
|
5767
5773
|
y: 0,
|
|
5768
|
-
}
|
|
5774
|
+
}, onClick: () => onSelectionButtonClick(selection) }, { children: [jsxRuntime.jsx(CreateObservationButton.StartIcon, { children: jsxRuntime.jsx(SvgTagStroke, {}) }), (_a = i18n === null || i18n === void 0 ? void 0 : i18n.selectionButtonLabel) !== null && _a !== void 0 ? _a : "Create observation"] })))] })));
|
|
5769
5775
|
};
|
|
5770
5776
|
const Word = (props) => {
|
|
5771
5777
|
const isActive = props.currentTime &&
|
|
@@ -5779,7 +5785,7 @@ const Word = (props) => {
|
|
|
5779
5785
|
const ObsWord = React.useMemo(() => (jsxRuntime.jsxs(StyledWord, Object.assign({}, props, { "data-start": props.start, "data-end": props.end, className: foundObservations.length > 0 ? "highlighted" : "" }, (foundObservations && { observations: foundObservations }), { children: [foundObservations.length > 0 && foundObservations.map((obs) => {
|
|
5780
5786
|
var _a;
|
|
5781
5787
|
return (jsxRuntime.jsx(Layer, { color: (_a = obs.hue) !== null && _a !== void 0 ? _a : theme.palette.grey[600] }, obs.id));
|
|
5782
|
-
}), isActive ? (jsxRuntime.jsx(ActiveWord, { children: jsxRuntime.jsx(Searchable, { text: props.text }) })) : (jsxRuntime.jsx(Searchable, { text: props.text })), " "] }))), [props, foundObservations, isActive]);
|
|
5788
|
+
}), isActive ? (jsxRuntime.jsx(ActiveWord, Object.assign({ "data-start": props.start, "data-end": props.end }, { children: jsxRuntime.jsx(Searchable, { text: props.text }) }))) : (jsxRuntime.jsx(Searchable, { text: props.text })), " "] }))), [props, foundObservations, isActive]);
|
|
5783
5789
|
if (props.tooltipContent !== undefined && foundObservations.length > 0) {
|
|
5784
5790
|
return (jsxRuntime.jsx(Tooltip, Object.assign({ content: props.tooltipContent(foundObservations), isTransparent: true }, { children: ObsWord })));
|
|
5785
5791
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ButtonArgs } from "./_types";
|
|
2
3
|
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
3
4
|
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
@@ -8,18 +8,18 @@ export declare const variants: readonly [{}, {
|
|
|
8
8
|
readonly disabled: true;
|
|
9
9
|
}];
|
|
10
10
|
export declare const Row: import("styled-components").IStyledComponent<"web", {
|
|
11
|
-
alignItems?: "
|
|
12
|
-
alignItemsXs?: "
|
|
13
|
-
alignItemsSm?: "
|
|
14
|
-
alignItemsMd?: "
|
|
15
|
-
alignItemsLg?: "
|
|
16
|
-
alignItemsXl?: "
|
|
17
|
-
justifyContent?: "
|
|
18
|
-
justifyContentXs?: "
|
|
19
|
-
justifyContentSm?: "
|
|
20
|
-
justifyContentMd?: "
|
|
21
|
-
justifyContentLg?: "
|
|
22
|
-
justifyContentXl?: "
|
|
11
|
+
alignItems?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
12
|
+
alignItemsXs?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
13
|
+
alignItemsSm?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
14
|
+
alignItemsMd?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
15
|
+
alignItemsLg?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
16
|
+
alignItemsXl?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
17
|
+
justifyContent?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
18
|
+
justifyContentXs?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
19
|
+
justifyContentSm?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
20
|
+
justifyContentMd?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
21
|
+
justifyContentLg?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
22
|
+
justifyContentXl?: "center" | "start" | "end" | "between" | "around" | undefined;
|
|
23
23
|
wrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
24
24
|
wrapXs?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
25
25
|
wrapSm?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
|
|
|
73
73
|
results?: number | undefined;
|
|
74
74
|
security?: string | undefined;
|
|
75
75
|
unselectable?: "on" | "off" | undefined;
|
|
76
|
-
inputMode?: "
|
|
76
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
77
77
|
is?: string | undefined;
|
|
78
78
|
"aria-activedescendant"?: string | undefined;
|
|
79
79
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
|
|
|
84
84
|
"aria-colindex"?: number | undefined;
|
|
85
85
|
"aria-colspan"?: number | undefined;
|
|
86
86
|
"aria-controls"?: string | undefined;
|
|
87
|
-
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" |
|
|
87
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
88
88
|
"aria-describedby"?: string | undefined;
|
|
89
89
|
"aria-details"?: string | undefined;
|
|
90
90
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
|
|
|
93
93
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
94
94
|
"aria-flowto"?: string | undefined;
|
|
95
95
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
96
|
-
"aria-haspopup"?: boolean | "
|
|
96
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
97
97
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
98
98
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
99
99
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -299,18 +299,18 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
|
|
|
299
299
|
md?: string | number | boolean | undefined;
|
|
300
300
|
lg?: string | number | boolean | undefined;
|
|
301
301
|
xl?: string | number | boolean | undefined;
|
|
302
|
-
alignSelf?: "
|
|
303
|
-
alignSelfXs?: "
|
|
304
|
-
alignSelfSm?: "
|
|
305
|
-
alignSelfMd?: "
|
|
306
|
-
alignSelfLg?: "
|
|
307
|
-
alignSelfXl?: "
|
|
308
|
-
textAlign?: "
|
|
309
|
-
textAlignXs?: "
|
|
310
|
-
textAlignSm?: "
|
|
311
|
-
textAlignMd?: "
|
|
312
|
-
textAlignLg?: "
|
|
313
|
-
textAlignXl?: "
|
|
302
|
+
alignSelf?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
303
|
+
alignSelfXs?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
304
|
+
alignSelfSm?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
305
|
+
alignSelfMd?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
306
|
+
alignSelfLg?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
307
|
+
alignSelfXl?: "center" | "auto" | "start" | "end" | "baseline" | "stretch" | undefined;
|
|
308
|
+
textAlign?: "center" | "start" | "end" | "justify" | undefined;
|
|
309
|
+
textAlignXs?: "center" | "start" | "end" | "justify" | undefined;
|
|
310
|
+
textAlignSm?: "center" | "start" | "end" | "justify" | undefined;
|
|
311
|
+
textAlignMd?: "center" | "start" | "end" | "justify" | undefined;
|
|
312
|
+
textAlignLg?: "center" | "start" | "end" | "justify" | undefined;
|
|
313
|
+
textAlignXl?: "center" | "start" | "end" | "justify" | undefined;
|
|
314
314
|
offset?: string | number | undefined;
|
|
315
315
|
offsetXs?: string | number | undefined;
|
|
316
316
|
offsetSm?: string | number | undefined;
|
|
@@ -370,7 +370,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
|
|
|
370
370
|
results?: number | undefined;
|
|
371
371
|
security?: string | undefined;
|
|
372
372
|
unselectable?: "on" | "off" | undefined;
|
|
373
|
-
inputMode?: "
|
|
373
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
374
374
|
is?: string | undefined;
|
|
375
375
|
"aria-activedescendant"?: string | undefined;
|
|
376
376
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
|
|
|
381
381
|
"aria-colindex"?: number | undefined;
|
|
382
382
|
"aria-colspan"?: number | undefined;
|
|
383
383
|
"aria-controls"?: string | undefined;
|
|
384
|
-
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" |
|
|
384
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
385
385
|
"aria-describedby"?: string | undefined;
|
|
386
386
|
"aria-details"?: string | undefined;
|
|
387
387
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
@@ -390,7 +390,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
|
|
|
390
390
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
391
391
|
"aria-flowto"?: string | undefined;
|
|
392
392
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
393
|
-
"aria-haspopup"?: boolean | "
|
|
393
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
394
394
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
395
395
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
396
396
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -640,7 +640,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
|
|
|
640
640
|
results?: number | undefined;
|
|
641
641
|
security?: string | undefined;
|
|
642
642
|
unselectable?: "on" | "off" | undefined;
|
|
643
|
-
inputMode?: "
|
|
643
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
644
644
|
is?: string | undefined;
|
|
645
645
|
"aria-activedescendant"?: string | undefined;
|
|
646
646
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
@@ -651,7 +651,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
|
|
|
651
651
|
"aria-colindex"?: number | undefined;
|
|
652
652
|
"aria-colspan"?: number | undefined;
|
|
653
653
|
"aria-controls"?: string | undefined;
|
|
654
|
-
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" |
|
|
654
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
655
655
|
"aria-describedby"?: string | undefined;
|
|
656
656
|
"aria-details"?: string | undefined;
|
|
657
657
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
@@ -660,7 +660,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
|
|
|
660
660
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
661
661
|
"aria-flowto"?: string | undefined;
|
|
662
662
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
663
|
-
"aria-haspopup"?: boolean | "
|
|
663
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
664
664
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
665
665
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
666
666
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -15,11 +15,6 @@ export interface HighlightArgs {
|
|
|
15
15
|
isMonospace?: boolean;
|
|
16
16
|
/** Adjusts the font size. By default font size is medium */
|
|
17
17
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
|
|
18
|
-
handleSelection?: (part: {
|
|
19
|
-
from: number;
|
|
20
|
-
to: number;
|
|
21
|
-
text: string;
|
|
22
|
-
}) => void;
|
|
23
18
|
search?: string;
|
|
24
19
|
onSelectionButtonClick?: (part: {
|
|
25
20
|
from: number;
|
|
@@ -8,9 +8,9 @@ export interface StoryArgs extends HighlightArgs {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
10
10
|
export declare const WithSelectionButton: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
11
|
-
export declare const VideoSync: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
12
|
-
export declare const WithSearch: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
13
11
|
export declare const WithTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
12
|
+
export declare const WithSearch: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
13
|
+
export declare const VideoSync: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
14
14
|
export declare const Demo: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
15
15
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, HighlightArgs & {
|
|
16
16
|
children?: import("react").ReactNode;
|