@wistia/vhs 2.76.5-beta.841c39a9.46a6ee1 → 2.76.5-beta.ddd9dd16.9b3d348
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/Breakline/Breakline.d.ts +19 -0
- package/dist/components/Breakline/Breakline.d.ts.map +1 -0
- package/dist/components/Breakline/index.d.ts +2 -0
- package/dist/components/Breakline/index.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +5 -5
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/index.cjs +417 -414
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +366 -363
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode, ComponentPropsWithoutRef, JSX } from 'react';
|
|
2
|
+
export type BreaklineComponentProps = {
|
|
3
|
+
$hyphenated: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type BreaklineProps = ComponentPropsWithoutRef<'div'> & {
|
|
6
|
+
/**
|
|
7
|
+
* The text that will be broken onto a new line
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Use a hyphen before breaking
|
|
12
|
+
*/
|
|
13
|
+
hyphenated?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const Breakline: {
|
|
16
|
+
({ children, hyphenated, ...otherProps }: BreaklineProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Breakline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breakline.d.ts","sourceRoot":"","sources":["../../../src/components/Breakline/Breakline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGtE,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC7D;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAOF,eAAO,MAAM,SAAS;8CAInB,cAAc,GAAG,GAAG,CAAC,OAAO;;CAO9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breakline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, JSX } from 'react';
|
|
2
|
-
type
|
|
3
|
-
export type SliderProps =
|
|
2
|
+
type ComponentPropsWithoutRefWithoutOnChange = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'>;
|
|
3
|
+
export type SliderProps = ComponentPropsWithoutRefWithoutOnChange & {
|
|
4
4
|
/**
|
|
5
5
|
* aria-label for screen-readers to apply to the thumbs. Use an array for more than one thumb.
|
|
6
6
|
* The length of the array must match the number of thumbs in the value array.
|
|
@@ -29,7 +29,7 @@ export type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
|
|
|
29
29
|
* Don't pass a default value if the slider is controlled (i.e. if you already
|
|
30
30
|
* use the `value` prop).
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
initialValue?: number[] | number | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* If `true` the thumbs can't be moved.
|
|
35
35
|
*/
|
|
@@ -53,12 +53,12 @@ export type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
|
|
|
53
53
|
*/
|
|
54
54
|
step?: number;
|
|
55
55
|
/**
|
|
56
|
-
* Like '
|
|
56
|
+
* Like 'initialValue' but for controlled components.
|
|
57
57
|
*/
|
|
58
58
|
value?: number[] | number;
|
|
59
59
|
};
|
|
60
60
|
export declare const Slider: {
|
|
61
|
-
({ ariaLabel, ariaLabelledby, ariaValuetext, disabled,
|
|
61
|
+
({ ariaLabel, ariaLabelledby, ariaValuetext, disabled, initialValue, max, min, onChange, step, value, "data-testid": passedDataTestId, ...otherProps }: SliderProps): JSX.Element;
|
|
62
62
|
displayName: string;
|
|
63
63
|
};
|
|
64
64
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAyF3D,KAAK,
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAyF3D,KAAK,uCAAuC,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAEjG,MAAM,MAAM,WAAW,GAAG,uCAAuC,GAAG;IAClE;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,CAAC;IACvE;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH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