@wistia/vhs 2.58.1 → 2.58.2
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/Text/Text.d.ts +51 -5
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts +2 -0
- package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts.map +1 -0
- package/dist/index.cjs +348 -348
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +273 -273
- package/dist/index.mjs.map +3 -3
- package/package.json +4 -4
- package/dist/hooks/useClipboard/UseClipboardExampleWithError.d.ts +0 -2
- package/dist/hooks/useClipboard/UseClipboardExampleWithError.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentPropsWithoutRef, ReactNode
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
declare const alignMap: {
|
|
3
3
|
left: string;
|
|
4
4
|
right: string;
|
|
@@ -92,9 +92,55 @@ export type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
92
92
|
*/
|
|
93
93
|
variant?: keyof typeof variantStyleMap;
|
|
94
94
|
};
|
|
95
|
-
export declare const Text: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
export declare const Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
96
|
+
/**
|
|
97
|
+
* The horizontal alignment
|
|
98
|
+
* <br />
|
|
99
|
+
* _Note: this only affects block elements_
|
|
100
|
+
*/
|
|
101
|
+
align?: keyof typeof alignMap;
|
|
102
|
+
/**
|
|
103
|
+
* Displays text as bold type
|
|
104
|
+
*/
|
|
105
|
+
bold?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Pass an arbitrary child node
|
|
108
|
+
*/
|
|
109
|
+
children?: ReactNode | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Allows user to override default button colors
|
|
112
|
+
*/
|
|
113
|
+
colorOverride?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Used to indicate text is part of a "disabled" UI
|
|
116
|
+
*/
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Attempt to keep the text to a single line by truncating with an ellipsis
|
|
120
|
+
* <br />
|
|
121
|
+
* _Note: this only affects block elements_
|
|
122
|
+
*/
|
|
123
|
+
ellipsis?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Display the text as inline content
|
|
126
|
+
*/
|
|
127
|
+
inline?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Displays text as italic type
|
|
130
|
+
*/
|
|
131
|
+
italic?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Prevents text from being highlighted and copied
|
|
134
|
+
*/
|
|
135
|
+
preventUserSelect?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* The type of html element to render as
|
|
138
|
+
*/
|
|
139
|
+
renderAs?: keyof typeof renderMap;
|
|
140
|
+
/**
|
|
141
|
+
* The text style to display
|
|
142
|
+
*/
|
|
143
|
+
variant?: keyof typeof variantStyleMap;
|
|
144
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
99
145
|
export {};
|
|
100
146
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAKpF,QAAA,MAAM,QAAQ;;;;;CAKb,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;CAYd,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Q,SAAS,GAAG,SAAS;IAChC;;OAEG;oBACa,MAAM;IACtB;;OAEG;eACQ,OAAO;IAClB;;;;OAIG;eACQ,OAAO;IAClB;;OAEG;aACM,OAAO;IAChB;;OAEG;aACM,OAAO;IAChB;;OAEG;wBACiB,OAAO;IAC3B;;OAEG;eACQ,MAAM,gBAAgB;IACjC;;OAEG;cACO,MAAM,sBAAsB;+CAgFvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UseClipboardWithErrorExample.d.ts","sourceRoot":"","sources":["../../../src/hooks/useClipboard/UseClipboardWithErrorExample.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,4BAA4B,+CAkDxC,CAAC"}
|