@wistia/vhs 2.73.1 → 2.74.0-beta.2093b1b9.8fc24a4
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/Box/Box.d.ts +94 -5
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/FormGlobalError/FormGlobalError.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/index.cjs +370 -367
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +365 -362
- package/dist/index.mjs.map +4 -4
- package/dist/theme.d.ts.map +1 -1
- package/package.json +28 -27
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentPropsWithoutRef, ReactNode
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
export type BoxComponentProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Specifies how the browser distributes space between and around
|
|
@@ -189,9 +189,98 @@ export type BoxProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
189
189
|
*/
|
|
190
190
|
wrapItems?: boolean;
|
|
191
191
|
};
|
|
192
|
-
export declare const Box: {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
export declare const Box: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
193
|
+
/**
|
|
194
|
+
* Specifies how the browser distributes space between and around
|
|
195
|
+
* items along the cross-axis of their container; has no effect on
|
|
196
|
+
* single line flexible boxes
|
|
197
|
+
*/
|
|
198
|
+
alignContent?: "around" | "between" | "center" | "end" | "start" | "stretch";
|
|
199
|
+
/**
|
|
200
|
+
* Specifies how the browser distributes space between and around
|
|
201
|
+
* items along the cross-axis of their container; the difference
|
|
202
|
+
* to the alignContent prop is that alignItems specifies the
|
|
203
|
+
* alignment of the items within the current container's line,
|
|
204
|
+
* whereas alignContent specifies the alignment of the lines themselves
|
|
205
|
+
*/
|
|
206
|
+
alignItems?: "baseline" | "center" | "end" | "start" | "stretch";
|
|
207
|
+
/**
|
|
208
|
+
* Specifies how the browser aligns items of the current line, overriding the
|
|
209
|
+
* alignItems value of parent; if any of the item's cross-axis margin is set to auto,
|
|
210
|
+
* then alignSelf is ignored
|
|
211
|
+
*
|
|
212
|
+
* *Note: only works for nested `<Box />`*
|
|
213
|
+
*/
|
|
214
|
+
alignSelf?: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
|
215
|
+
/**
|
|
216
|
+
* Specifies the initial main size of an item
|
|
217
|
+
*
|
|
218
|
+
* *Note: only works for nested `<Box />`*
|
|
219
|
+
*/
|
|
220
|
+
basis?: number | string;
|
|
221
|
+
/**
|
|
222
|
+
* Pass an arbitrary child node
|
|
223
|
+
*/
|
|
224
|
+
children?: ReactNode;
|
|
225
|
+
/**
|
|
226
|
+
* Specifies the main axis of the container
|
|
227
|
+
*/
|
|
228
|
+
direction?: "column-reverse" | "column" | "row-reverse" | "row";
|
|
229
|
+
/**
|
|
230
|
+
* Specifies whether the width and/or height should fill the container
|
|
231
|
+
*/
|
|
232
|
+
fill?: boolean | "horizontal" | "vertical";
|
|
233
|
+
/**
|
|
234
|
+
* Specifies whether the width and/or height should fill the viewport
|
|
235
|
+
*/
|
|
236
|
+
fillViewport?: boolean | "horizontal" | "vertical";
|
|
237
|
+
/**
|
|
238
|
+
* Specifies the gaps (gutters) between rows and columns
|
|
239
|
+
*/
|
|
240
|
+
gap?: Gap | number | string;
|
|
241
|
+
/**
|
|
242
|
+
* Specifies what amount of space inside the flex container the item should take up
|
|
243
|
+
*
|
|
244
|
+
* *Note: only works for nested `<Box />`*
|
|
245
|
+
*/
|
|
246
|
+
grow?: number;
|
|
247
|
+
/**
|
|
248
|
+
* @ignore
|
|
249
|
+
* Used internally to track if a Box is a child of another Box component
|
|
250
|
+
*/
|
|
251
|
+
hasBoxParent?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Make Layout behave like an inline element but still lay out its content according to flexbox model
|
|
254
|
+
*/
|
|
255
|
+
inline?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* Specifies how the browser distributes space between and around
|
|
258
|
+
* items along the main axis of their container
|
|
259
|
+
*/
|
|
260
|
+
justifyContent?: "around" | "between" | "center" | "end" | "evenly" | "start";
|
|
261
|
+
/**
|
|
262
|
+
* Specifies the order used to lay out an item in its container. Items within the same
|
|
263
|
+
* container are rendered in ascending order according to their order values.
|
|
264
|
+
* Elements with the _same_ order value are rendered in the order in which they appear in code
|
|
265
|
+
*
|
|
266
|
+
* *Note: only works for nested `<Box />`*
|
|
267
|
+
*/
|
|
268
|
+
order?: number | "inherit" | "initial" | "unset";
|
|
269
|
+
/**
|
|
270
|
+
* The DOM tag to use for the element
|
|
271
|
+
*/
|
|
272
|
+
renderAs?: "div" | "footer" | "nav" | "p" | "span";
|
|
273
|
+
/**
|
|
274
|
+
* Specifies how items will shrink inside the container when the default size of
|
|
275
|
+
* items is larger than their container
|
|
276
|
+
*
|
|
277
|
+
* *Note: only works for nested `<Box />`*
|
|
278
|
+
*/
|
|
279
|
+
shrink?: number;
|
|
280
|
+
/**
|
|
281
|
+
* Specifies whether items are forced into a single line or can be wrapped onto multiple lines
|
|
282
|
+
*/
|
|
283
|
+
wrapItems?: boolean;
|
|
284
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
196
285
|
export {};
|
|
197
286
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AA4FtE,MAAM,MAAM,iBA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|
-
{"version":3,"file":"FormGlobalError.d.ts","sourceRoot":"","sources":["../../../src/components/FormGlobalError/FormGlobalError.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormGlobalError.d.ts","sourceRoot":"","sources":["../../../src/components/FormGlobalError/FormGlobalError.tsx"],"names":[],"mappings":"AAkFA,eAAO,MAAM,eAAe,0FA0B1B,CAAC"}
|
|
@@ -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,EAAqB,MAAM,OAAO,CAAC;AAKpF,QAAA,MAAM,QAAQ;;;;;CAKb,CAAC;AAGF,QAAA,MAAM,SAAS;;;;;;;;;;;;CAYd,CAAC;
|
|
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;AAGF,QAAA,MAAM,SAAS;;;;;;;;;;;;CAYd,CAAC;AAmEF,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,EAAE,EAAE,MAAM,OAAO,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,OAAO,eAAe,CAAC;CACvC,CAAC;AAEF,MAAM,MA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