@ultraviolet/ui 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Link/index.cjs +6 -4
- package/dist/components/Link/index.js +6 -4
- package/dist/components/Menu/index.d.ts +6 -6
- package/dist/components/Popup/animations.d.ts +2 -2
- package/dist/components/SelectInputV2/Dropdown.cjs +12 -12
- package/dist/components/SelectInputV2/Dropdown.js +12 -12
- package/dist/components/Snippet/index.cjs +38 -22
- package/dist/components/Snippet/index.d.ts +3 -1
- package/dist/components/Snippet/index.js +38 -22
- package/dist/components/TextArea/index.cjs +5 -4
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.js +5 -4
- package/dist/utils/animations.d.ts +27 -27
- package/package.json +6 -6
|
@@ -14,10 +14,12 @@ type SnippetProps = {
|
|
|
14
14
|
hideText?: string;
|
|
15
15
|
'data-testid'?: string;
|
|
16
16
|
initiallyExpanded?: boolean;
|
|
17
|
+
rows?: number;
|
|
18
|
+
noExpandable?: boolean;
|
|
17
19
|
} & Pick<ComponentProps<typeof CopyButton>, 'copyText' | 'copiedText'>;
|
|
18
20
|
/**
|
|
19
21
|
* Snippet component is used to display code snippets with the ability to copy the code.
|
|
20
22
|
* It also has the ability to show/hide the code snippet if it has more than 4 lines.
|
|
21
23
|
*/
|
|
22
|
-
export declare const Snippet: ({ children, copyText, copiedText, showText, hideText, prefix, className, "data-testid": dataTestId, initiallyExpanded, }: SnippetProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const Snippet: ({ children, copyText, copiedText, showText, hideText, prefix, className, "data-testid": dataTestId, initiallyExpanded, rows, noExpandable, }: SnippetProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
25
|
export {};
|