@epam/ai-dial-chat-shared 1.1.0-dev.9 → 1.1.0-dev.91
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/components/DeploymentIcon/DeploymentIcon.d.ts +1 -10
- package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -1
- package/components/InitialsAvatar/InitialsAvatar.d.ts +1 -4
- package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -1
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +1 -4
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts +2 -9
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -1
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +1 -4
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -1
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +1 -5
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -1
- package/constants/icon.d.ts +2 -0
- package/constants/icon.d.ts.map +1 -1
- package/constants/mime-types.d.ts +3 -6
- package/constants/mime-types.d.ts.map +1 -1
- package/hooks/useCodeCopy.d.ts +1 -9
- package/hooks/useCodeCopy.d.ts.map +1 -1
- package/hooks/useCollapsedText.d.ts +3 -7
- package/hooks/useCollapsedText.d.ts.map +1 -1
- package/hooks/useTableScroll.d.ts +1 -0
- package/hooks/useTableScroll.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +26019 -3377
- package/models/chat.d.ts +10 -38
- package/models/chat.d.ts.map +1 -1
- package/models/custom-visualizer.d.ts +61 -0
- package/models/custom-visualizer.d.ts.map +1 -0
- package/models/deployment-configuration.d.ts +2 -8
- package/models/deployment-configuration.d.ts.map +1 -1
- package/models/tool-menu-item.d.ts +13 -0
- package/models/tool-menu-item.d.ts.map +1 -0
- package/package.json +7 -3
- package/types/mime-type.d.ts +2 -8
- package/types/mime-type.d.ts.map +1 -1
- package/utils/avatar-color.d.ts +1 -4
- package/utils/avatar-color.d.ts.map +1 -1
- package/utils/build-css-vars.d.ts +1 -4
- package/utils/build-css-vars.d.ts.map +1 -1
- package/utils/copy-to-clipboard.d.ts +1 -13
- package/utils/copy-to-clipboard.d.ts.map +1 -1
- package/utils/format-last-used.d.ts +1 -6
- package/utils/format-last-used.d.ts.map +1 -1
- package/utils/initials.d.ts +1 -7
- package/utils/initials.d.ts.map +1 -1
- package/utils/latex.d.ts +11 -0
- package/utils/latex.d.ts.map +1 -0
- package/utils/message-attachment-to-display.d.ts +1 -1
- package/utils/message-attachment-to-display.d.ts.map +1 -1
- package/utils/message.d.ts +1 -7
- package/utils/message.d.ts.map +1 -1
- package/components/Highlight/Highlight.d.ts +0 -26
- package/components/Highlight/Highlight.d.ts.map +0 -1
- package/types/overlay/overlay-protocol.d.ts +0 -308
- package/types/overlay/overlay-protocol.d.ts.map +0 -1
|
@@ -31,15 +31,6 @@ export interface DeploymentIconProps {
|
|
|
31
31
|
/** Style overrides. */
|
|
32
32
|
styles?: DeploymentIconStyles;
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Renders a deployment icon inside a rounded badge.
|
|
36
|
-
* The `size` prop is the outer badge dimension in pixels.
|
|
37
|
-
* The icon image is inset by ~11 % (matching Figma) to leave a visible backdrop.
|
|
38
|
-
* On image load error, or when `src` is absent, renders `InitialsAvatar` derived from
|
|
39
|
-
* `initialsName` (or the custom `fallback` node when provided).
|
|
40
|
-
* When `src` changes, the previous image stays visible until the new one has
|
|
41
|
-
* finished preloading, avoiding the blank frame a browser shows while an
|
|
42
|
-
* `<img>`'s `src` attribute is swapped in place.
|
|
43
|
-
*/
|
|
34
|
+
/** Renders a deployment icon inside a rounded badge, falling back to initials or a custom node when no image is available. */
|
|
44
35
|
export declare const DeploymentIcon: FC<DeploymentIconProps>;
|
|
45
36
|
//# sourceMappingURL=DeploymentIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeploymentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentIcon/DeploymentIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAM7E,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED
|
|
1
|
+
{"version":3,"file":"DeploymentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentIcon/DeploymentIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAM7E,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,8HAA8H;AAC9H,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8FlD,CAAC"}
|
|
@@ -8,9 +8,6 @@ export interface InitialsAvatarProps {
|
|
|
8
8
|
/** Extra classes applied to the root element (e.g. `'shrink-0'`). */
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
/**
|
|
12
|
-
* A square badge showing 1–2 initials derived from `name` on a deterministic
|
|
13
|
-
* colour background. Used as the fallback when a deployment has no icon image.
|
|
14
|
-
*/
|
|
11
|
+
/** A square badge showing 1–2 initials derived from `name` on a deterministic colour background. */
|
|
15
12
|
export declare const InitialsAvatar: FC<InitialsAvatarProps>;
|
|
16
13
|
//# sourceMappingURL=InitialsAvatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitialsAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/InitialsAvatar/InitialsAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"InitialsAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/InitialsAvatar/InitialsAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oGAAoG;AACpG,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA0BlD,CAAC"}
|
|
@@ -42,9 +42,6 @@ export interface MarkdownCodeBlockProps {
|
|
|
42
42
|
/** Color overrides applied as CSS custom properties. */
|
|
43
43
|
colors?: MarkdownCodeBlockColors;
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Renders a fenced or multiline code block with a sticky header (language label + copy button),
|
|
47
|
-
* syntax highlighting via Prism, a height-constrained scrollable body, and always-LTR code direction.
|
|
48
|
-
*/
|
|
45
|
+
/** Renders a fenced or multi-line code block with syntax highlighting and a copy button. */
|
|
49
46
|
export declare const MarkdownCodeBlock: FC<MarkdownCodeBlockProps>;
|
|
50
47
|
//# sourceMappingURL=CodeBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../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AAC,sBAAsB,CAoHxD,CAAC"}
|
|
@@ -86,10 +86,7 @@ export interface MarkdownRendererProps {
|
|
|
86
86
|
codeBlockTheme?: CodeBlockTheme;
|
|
87
87
|
/** Color overrides applied as CSS custom properties. */
|
|
88
88
|
colors?: MarkdownRendererColors;
|
|
89
|
-
/**
|
|
90
|
-
* Accessible label announced for a table's horizontally scrollable region.
|
|
91
|
-
* Defaults to `'Scrollable table'`.
|
|
92
|
-
*/
|
|
89
|
+
/** Accessible label for a table's horizontally scrollable region. Defaults to `'Scrollable table'`. */
|
|
93
90
|
tableScrollRegionAriaLabel?: string;
|
|
94
91
|
}
|
|
95
92
|
/** CSS custom-property overrides for the `MarkdownRenderer` component. */
|
|
@@ -101,11 +98,7 @@ export interface MarkdownRendererColors {
|
|
|
101
98
|
/** Border color for `<hr>` separators and table cell borders. */
|
|
102
99
|
border?: string;
|
|
103
100
|
}
|
|
104
|
-
/**
|
|
105
|
-
* Shared component definitions for elements whose rendering is identical across
|
|
106
|
-
* all consumers. These are merged after `classNames`-built components and before
|
|
107
|
-
* explicit `components` overrides, so consumers can still override them.
|
|
108
|
-
*/
|
|
101
|
+
/** Default react-markdown component overrides shared across all consumers. */
|
|
109
102
|
export declare const defaultMarkdownComponents: Components;
|
|
110
103
|
/** Markdown renderer with GFM support. Styling is driven by `classNames`; structural overrides via `components`. */
|
|
111
104
|
export declare const MarkdownRenderer: FC<MarkdownRendererProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MarkdownRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAsB,EAAE,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"MarkdownRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MarkdownRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,0BAA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AAoH;AACpH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0EtD,CAAC"}
|
|
@@ -23,10 +23,7 @@ export interface MarkdownTableProps {
|
|
|
23
23
|
classNames: MarkdownTableClassNames;
|
|
24
24
|
/** Color overrides applied as CSS custom properties. */
|
|
25
25
|
colors?: MarkdownTableColors;
|
|
26
|
-
/**
|
|
27
|
-
* Accessible label announced for the horizontally scrollable region.
|
|
28
|
-
* Defaults to `'Scrollable table'`.
|
|
29
|
-
*/
|
|
26
|
+
/** Accessible label for the horizontally scrollable region. Defaults to `'Scrollable table'`. */
|
|
30
27
|
scrollRegionAriaLabel?: string;
|
|
31
28
|
}
|
|
32
29
|
/** Renders a responsive Markdown table with an end fade while more columns are available. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownTable.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/MarkdownTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAQ,MAAM,OAAO,CAAC;AAMtD,iEAAiE;AACjE,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,sHAAsH;IACtH,QAAQ,EAAE,SAAS,CAAC;IACpB,uCAAuC;IACvC,UAAU,EAAE,uBAAuB,CAAC;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B
|
|
1
|
+
{"version":3,"file":"MarkdownTable.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/MarkdownTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAQ,MAAM,OAAO,CAAC;AAMtD,iEAAiE;AACjE,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,sHAAsH;IACtH,QAAQ,EAAE,SAAS,CAAC;IACpB,uCAAuC;IACvC,UAAU,EAAE,uBAAuB,CAAC;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,iGAAiG;IACjG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,6FAA6F;AAC7F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA+DhD,CAAC"}
|
|
@@ -4,10 +4,6 @@ export interface MarkdownTaskCheckboxProps {
|
|
|
4
4
|
/** Whether the GFM task-list item is checked. Defaults to `false`. */
|
|
5
5
|
checked?: boolean;
|
|
6
6
|
}
|
|
7
|
-
/**
|
|
8
|
-
* Read-only checkbox rendered for GFM task-list items (`- [ ]` / `- [x]`),
|
|
9
|
-
* styled with the design-system {@link DialCheckbox}. The wrapping span keeps the
|
|
10
|
-
* control inline with the surrounding list-item text regardless of the checkbox layout.
|
|
11
|
-
*/
|
|
7
|
+
/** Read-only checkbox for GFM task-list items (`- [ ]` / `- [x]`). */
|
|
12
8
|
export declare const MarkdownTaskCheckbox: FC<MarkdownTaskCheckboxProps>;
|
|
13
9
|
//# sourceMappingURL=MarkdownTaskCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownTaskCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAS,MAAM,OAAO,CAAC;AAEvC,8CAA8C;AAC9C,MAAM,WAAW,yBAAyB;IACxC,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"MarkdownTaskCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAS,MAAM,OAAO,CAAC;AAEvC,8CAA8C;AAC9C,MAAM,WAAW,yBAAyB;IACxC,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAU9D,CAAC"}
|
package/constants/icon.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DIAL_ICON_SIZE } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
/** Base props for medium-sized Tabler icons (MD size, stroke 1.5, `aria-hidden`). */
|
|
2
3
|
export declare const BASE_MD_ICON_PROPS: {
|
|
3
4
|
size: DIAL_ICON_SIZE;
|
|
4
5
|
stroke: number;
|
|
5
6
|
'aria-hidden': boolean;
|
|
6
7
|
};
|
|
8
|
+
/** Base props for large Tabler icons (LG size, stroke 1.5, `aria-hidden`). */
|
|
7
9
|
export declare const BASE_LG_ICON_PROPS: {
|
|
8
10
|
size: DIAL_ICON_SIZE;
|
|
9
11
|
stroke: number;
|
package/constants/icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/constants/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/constants/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,qFAAqF;AACrF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Maps MIME types to their canonical file extension.
|
|
3
|
-
* Covers cases where the subtype differs from the common extension
|
|
4
|
-
* (e.g. `text/markdown` → `md`, `image/jpeg` → `jpg`) and vendor/x- types
|
|
5
|
-
* whose subtype is not a usable extension on its own.
|
|
6
|
-
*/
|
|
1
|
+
/** Maps MIME types to canonical file extensions. */
|
|
7
2
|
export declare const MIME_TYPE_EXT_MAP: Record<string, string>;
|
|
3
|
+
/** MIME type wildcard that matches any content type. */
|
|
8
4
|
export declare const MIME_TYPE_WILDCARD = "*/*";
|
|
5
|
+
/** MIME type prefix shared by all audio content types. */
|
|
9
6
|
export declare const MIME_TYPE_AUDIO_PREFIX = "audio/";
|
|
10
7
|
//# sourceMappingURL=mime-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mime-types.d.ts","sourceRoot":"","sources":["../../src/constants/mime-types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"mime-types.d.ts","sourceRoot":"","sources":["../../src/constants/mime-types.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAsCpD,CAAC;AAEF,wDAAwD;AACxD,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AACxC,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,WAAW,CAAC"}
|
package/hooks/useCodeCopy.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Manages clipboard copy state for code blocks.
|
|
3
|
-
*
|
|
4
|
-
* Calls `copyToClipboard` synchronously within the user-gesture handler
|
|
5
|
-
* (required by the Clipboard API). `isCopied` is set to `true` only when the
|
|
6
|
-
* write succeeds; it stays `true` for `resetDelay` milliseconds (default 2 s)
|
|
7
|
-
* then resets to `false`. The timeout is cleared on unmount to prevent
|
|
8
|
-
* setState-on-unmount.
|
|
9
|
-
*/
|
|
1
|
+
/** Returns `isCopied` state and a `copy` callback; `isCopied` resets to `false` after `resetDelay` ms. */
|
|
10
2
|
export declare const useCodeCopy: (value: string, resetDelay?: number) => {
|
|
11
3
|
isCopied: boolean;
|
|
12
4
|
copy: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCodeCopy.d.ts","sourceRoot":"","sources":["../../src/hooks/useCodeCopy.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"useCodeCopy.d.ts","sourceRoot":"","sources":["../../src/hooks/useCodeCopy.ts"],"names":[],"mappings":"AAKA,0GAA0G;AAC1G,eAAO,MAAM,WAAW,GACtB,OAAO,MAAM,EACb,mBAAmC,KAClC;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,IAAI,CAAA;CA0BvC,CAAC"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
+
/** Options for `useCollapsedText`. */
|
|
1
2
|
export interface UseCollapsedTextOptions {
|
|
2
3
|
/** Content identity used to reset long text to the collapsed state when it changes. */
|
|
3
4
|
text: string;
|
|
4
5
|
/** Maximum number of text lines shown while collapsed. */
|
|
5
6
|
collapsedLineCount: number;
|
|
6
7
|
}
|
|
8
|
+
/** Return value of `useCollapsedText`. */
|
|
7
9
|
export interface UseCollapsedTextResult<T extends HTMLElement> {
|
|
8
|
-
/**
|
|
9
|
-
* Ref callback attached to the text element whose rendered height should
|
|
10
|
-
* be measured. Using a callback (rather than a `RefObject`) ensures
|
|
11
|
-
* measurement re-runs as soon as the node mounts, even if the element is
|
|
12
|
-
* hidden behind a conditional (e.g. a loading skeleton) when `text` first
|
|
13
|
-
* becomes available.
|
|
14
|
-
*/
|
|
10
|
+
/** Ref callback attached to the text element to measure its rendered height. */
|
|
15
11
|
textRef: (node: T | null) => void;
|
|
16
12
|
/** Whether the full text is currently hidden behind the collapsed viewport. */
|
|
17
13
|
isTextCollapsed: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollapsedText.d.ts","sourceRoot":"","sources":["../../src/hooks/useCollapsedText.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,uBAAuB;IACtC,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,WAAW;IAC3D
|
|
1
|
+
{"version":3,"file":"useCollapsedText.d.ts","sourceRoot":"","sources":["../../src/hooks/useCollapsedText.ts"],"names":[],"mappings":"AAKA,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,0CAA0C;AAC1C,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,WAAW;IAC3D,gFAAgF;IAChF,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAClC,+EAA+E;IAC/E,eAAe,EAAE,OAAO,CAAC;IACzB,uEAAuE;IACvE,aAAa,EAAE,OAAO,CAAC;IACvB,mDAAmD;IACnD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2CAA2C;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kFAAkF;IAClF,WAAW,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,6FAA6F;AAC7F,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,+BAGnE,uBAAuB,KAAG,sBAAsB,CAAC,CAAC,CAmEpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableScroll.d.ts","sourceRoot":"","sources":["../../src/hooks/useTableScroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,MAAM,WAAW,oBAAoB;IACnC,mEAAmE;IACnE,kBAAkB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,8EAA8E;IAC9E,qBAAqB,EAAE,OAAO,CAAC;IAC/B,4EAA4E;IAC5E,mBAAmB,EAAE,OAAO,CAAC;IAC7B,uEAAuE;IACvE,YAAY,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC9C;AAED,yFAAyF;AACzF,eAAO,MAAM,cAAc,QAAO,oBAqDjC,CAAC"}
|
|
1
|
+
{"version":3,"file":"useTableScroll.d.ts","sourceRoot":"","sources":["../../src/hooks/useTableScroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,wCAAwC;AACxC,MAAM,WAAW,oBAAoB;IACnC,mEAAmE;IACnE,kBAAkB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,8EAA8E;IAC9E,qBAAqB,EAAE,OAAO,CAAC;IAC/B,4EAA4E;IAC5E,mBAAmB,EAAE,OAAO,CAAC;IAC7B,uEAAuE;IACvE,YAAY,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC9C;AAED,yFAAyF;AACzF,eAAO,MAAM,cAAc,QAAO,oBAqDjC,CAAC"}
|