@wistia/vhs 2.75.3-beta.5e53a6d6.0437bc9 → 2.75.3-beta.7d1037b1.ff9cf4d
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 +0 -103
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Checkbox/OptionStyledComponent.d.ts +5 -5
- package/dist/components/Checkbox/OptionStyledComponent.d.ts.map +1 -1
- package/dist/components/CollapsibleGroup/CollapsibleGroup.d.ts.map +1 -1
- package/dist/components/Input/InputStyledComponent.d.ts +5 -5
- package/dist/components/Input/InputStyledComponent.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +4 -4
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/MenuButton/MenuButton.d.ts +6 -6
- package/dist/components/MenuButton/MenuButton.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Select/SelectStyledComponent.d.ts +2 -2
- package/dist/components/Select/SelectStyledComponent.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts +9 -9
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Tooltip/TooltipContent.d.ts.map +1 -1
- package/dist/index.cjs +438 -438
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +501 -501
- package/dist/index.mjs.map +3 -3
- package/package.json +1 -1
|
@@ -1,97 +1,4 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
export type BoxComponentProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Specifies how the browser distributes space between and around
|
|
5
|
-
* items along the cross-axis of their container; has no effect on
|
|
6
|
-
* single line flexible boxes
|
|
7
|
-
*/
|
|
8
|
-
alignContent: 'around' | 'between' | 'center' | 'end' | 'start' | 'stretch';
|
|
9
|
-
/**
|
|
10
|
-
* Specifies how the browser distributes space between and around
|
|
11
|
-
* items along the cross-axis of their container; the difference
|
|
12
|
-
* to the alignContent prop is that alignItems specifies the
|
|
13
|
-
* alignment of the items within the current container's line,
|
|
14
|
-
* whereas alignContent specifies the alignment of the lines themselves
|
|
15
|
-
*/
|
|
16
|
-
alignItems: 'baseline' | 'center' | 'end' | 'start' | 'stretch';
|
|
17
|
-
/**
|
|
18
|
-
* Specifies how the browser aligns items of the current line, overriding the
|
|
19
|
-
* alignItems value of parent; if any of the item's cross-axis margin is set to auto,
|
|
20
|
-
* then alignSelf is ignored
|
|
21
|
-
*
|
|
22
|
-
* *Note: only works for nested `<Box />`*
|
|
23
|
-
*/
|
|
24
|
-
alignSelf?: 'auto' | 'baseline' | 'center' | 'end' | 'start' | 'stretch';
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the initial main size of an item
|
|
27
|
-
*
|
|
28
|
-
* *Note: only works for nested `<Box />`*
|
|
29
|
-
*/
|
|
30
|
-
basis?: number | string;
|
|
31
|
-
/**
|
|
32
|
-
* Optional children
|
|
33
|
-
*/
|
|
34
|
-
children: ReactNode | null;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the main axis of the container
|
|
37
|
-
*/
|
|
38
|
-
flexDirection: 'column-reverse' | 'column' | 'row-reverse' | 'row';
|
|
39
|
-
/**
|
|
40
|
-
* Specifies whether the width and/or height should fill the container
|
|
41
|
-
*/
|
|
42
|
-
fillBox: boolean | 'horizontal' | 'vertical';
|
|
43
|
-
/**
|
|
44
|
-
* Specifies whether the width and/or height should fill the viewport
|
|
45
|
-
*/
|
|
46
|
-
fillViewport: boolean | 'horizontal' | 'vertical';
|
|
47
|
-
/**
|
|
48
|
-
* Specifies the gaps (gutters) between rows and columns
|
|
49
|
-
*/
|
|
50
|
-
gap?: Gap | number | string;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies what amount of space inside the flex container the item should take up
|
|
53
|
-
*
|
|
54
|
-
* *Note: only works for nested `<Box />`*
|
|
55
|
-
*/
|
|
56
|
-
grow?: number;
|
|
57
|
-
/**
|
|
58
|
-
* @ignore
|
|
59
|
-
* Used internally to track if a Box is a child of another Box component
|
|
60
|
-
*/
|
|
61
|
-
hasBoxParent?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Make Layout behave like an inline element but still lay out its content according to flexbox model
|
|
64
|
-
*/
|
|
65
|
-
inline?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Specifies how the browser distributes space between and around
|
|
68
|
-
* items along the main axis of their container
|
|
69
|
-
*/
|
|
70
|
-
justifyContent: 'around' | 'between' | 'center' | 'end' | 'evenly' | 'start';
|
|
71
|
-
/**
|
|
72
|
-
* Specifies the order used to lay out an item in its container. Items within the same
|
|
73
|
-
* container are rendered in ascending order according to their order values.
|
|
74
|
-
* Elements with the _same_ order value are rendered in the order in which they appear in code
|
|
75
|
-
*
|
|
76
|
-
* *Note: only works for nested `<Box />`*
|
|
77
|
-
*/
|
|
78
|
-
order?: number | 'inherit' | 'initial' | 'unset';
|
|
79
|
-
/**
|
|
80
|
-
* The DOM tag to use for the element
|
|
81
|
-
*/
|
|
82
|
-
as: string;
|
|
83
|
-
/**
|
|
84
|
-
* Specifies how items will shrink inside the container when the default size of
|
|
85
|
-
* items is larger than their container
|
|
86
|
-
*
|
|
87
|
-
* *Note: only works for nested `<Box />`*
|
|
88
|
-
*/
|
|
89
|
-
shrink?: number;
|
|
90
|
-
/**
|
|
91
|
-
* Specifies whether items are forced into a single line or can be wrapped onto multiple lines
|
|
92
|
-
*/
|
|
93
|
-
wrapItems: boolean;
|
|
94
|
-
};
|
|
95
2
|
type Gap = {
|
|
96
3
|
column: number | string;
|
|
97
4
|
row: number | string;
|
|
@@ -151,11 +58,6 @@ export type BoxProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
151
58
|
* *Note: only works for nested `<Box />`*
|
|
152
59
|
*/
|
|
153
60
|
grow?: number;
|
|
154
|
-
/**
|
|
155
|
-
* @ignore
|
|
156
|
-
* Used internally to track if a Box is a child of another Box component
|
|
157
|
-
*/
|
|
158
|
-
hasBoxParent?: boolean;
|
|
159
61
|
/**
|
|
160
62
|
* Make Layout behave like an inline element but still lay out its content according to flexbox model
|
|
161
63
|
*/
|
|
@@ -244,11 +146,6 @@ export declare const Box: import("react").ForwardRefExoticComponent<Omit<import(
|
|
|
244
146
|
* *Note: only works for nested `<Box />`*
|
|
245
147
|
*/
|
|
246
148
|
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
149
|
/**
|
|
253
150
|
* Make Layout behave like an inline element but still lay out its content according to flexbox model
|
|
254
151
|
*/
|
|
@@ -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,EAAO,MAAM,OAAO,CAAC;
|
|
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;AA6HtE,KAAK,GAAG,GAAG;IACT,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACvD;;;;OAIG;IACH,YAAY,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;IAC7E;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;IACjE;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG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ACxE;;;;OAIG;YACK,MAAM,GAAG,MAAM;IACvB;;OAEG;eACQ,SAAS;IACpB;;OAEG;gBACS,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,KAAK;IAC/D;;OAEG;WACI,OAAO,GAAG,YAAY,GAAG,UAAU;IAC1C;;OAEG;mBACY,OAAO,GAAG,YAAY,GAAG,UAAU;IAClD;;OAEG;UACG,GAAG,GAAG,MAAM,GAAG,MAAM;IAC3B;;;;OAIG;WACI,MAAM;IACb;;OAEG;aACM,OAAO;IAChB;;;OAGG;qBACc,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO;IAC7E;;;;;;OAMG;YACK,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO;IAChD;;OAEG;eACQ,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,GAAG,GAAG,MAAM;IAClD;;;;;OAKG;aACM,MAAM;IACf;;OAEG;gBACS,OAAO;kDAkDpB,CAAC"}
|
|
@@ -9,11 +9,11 @@ export declare const errorStyle: import("styled-components").FlattenInterpolatio
|
|
|
9
9
|
export declare const defaultHoverStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
10
10
|
export declare const defaultFocusedStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
11
11
|
type ContainerProps = ComponentPropsWithRef<'label'> & {
|
|
12
|
-
direction: 'column' | 'row';
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
forceState?: 'focus' | 'hover' | undefined;
|
|
15
|
-
hasError: boolean;
|
|
16
|
-
isFocused: boolean;
|
|
12
|
+
$direction: 'column' | 'row';
|
|
13
|
+
$disabled: boolean;
|
|
14
|
+
$forceState?: 'focus' | 'hover' | undefined;
|
|
15
|
+
$hasError: boolean;
|
|
16
|
+
$isFocused: boolean;
|
|
17
17
|
};
|
|
18
18
|
export declare const Container: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, ContainerProps, never>;
|
|
19
19
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/OptionStyledComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAGnD,eAAO,MAAM,aAAa,2GAczB,CAAC;AAEF,eAAO,MAAM,WAAW,yGAIvB,CAAC;AAEF,eAAO,MAAM,cAAc,yGAI1B,CAAC;AAEF,eAAO,MAAM,aAAa,wDAGzB,CAAC;AAEF,eAAO,MAAM,eAAe,wDAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,wDAAQ,CAAC;AAEvC,eAAO,MAAM,UAAU,oIAStB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oIAG7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,oIAE/B,CAAC;AAEF,KAAK,cAAc,GAAG,qBAAqB,CAAC,OAAO,CAAC,GAAG;IACrD,
|
|
1
|
+
{"version":3,"file":"OptionStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/OptionStyledComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAGnD,eAAO,MAAM,aAAa,2GAczB,CAAC;AAEF,eAAO,MAAM,WAAW,yGAIvB,CAAC;AAEF,eAAO,MAAM,cAAc,yGAI1B,CAAC;AAEF,eAAO,MAAM,aAAa,wDAGzB,CAAC;AAEF,eAAO,MAAM,eAAe,wDAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,wDAAQ,CAAC;AAEvC,eAAO,MAAM,UAAU,oIAStB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oIAG7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,oIAE/B,CAAC;AAEF,KAAK,cAAc,GAAG,qBAAqB,CAAC,OAAO,CAAC,GAAG;IACrD,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;IAC5C,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,eAAO,MAAM,SAAS,uHAqBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleGroup.d.ts","sourceRoot":"","sources":["../../../src/components/CollapsibleGroup/CollapsibleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAkBtE,QAAA,MAAM,kBAAkB,cAAc,CAAC;AACvC,QAAA,MAAM,kBAAkB,OAAO,CAAC;AAChC,QAAA,MAAM,oBAAoB,SAAS,CAAC;AACpC,QAAA,MAAM,oBAAoB,SAAS,CAAC;AACpC,QAAA,MAAM,qBAAqB,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"CollapsibleGroup.d.ts","sourceRoot":"","sources":["../../../src/components/CollapsibleGroup/CollapsibleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAkBtE,QAAA,MAAM,kBAAkB,cAAc,CAAC;AACvC,QAAA,MAAM,kBAAkB,OAAO,CAAC;AAChC,QAAA,MAAM,oBAAoB,SAAS,CAAC;AACpC,QAAA,MAAM,oBAAoB,SAAS,CAAC;AACpC,QAAA,MAAM,qBAAqB,UAAU,CAAC;AA+NtC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,cAAc,CAAC,EAAE;QACf,MAAM,EACF,OAAO,oBAAoB,GAC3B,OAAO,oBAAoB,GAC3B,OAAO,qBAAqB,GAC5B,OAAO,kBAAkB,CAAC;QAC9B,IAAI,EACA,OAAO,oBAAoB,GAC3B,OAAO,oBAAoB,GAC3B,OAAO,qBAAqB,GAC5B,OAAO,kBAAkB,CAAC;KAC/B,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;qCAEiC;IACjC,KAAK,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;IAC5F;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,kBAAkB,CAAC;CACrC,CAAC;AAOF,eAAO,MAAM,gBAAgB;6LAgB1B,qBAAqB;;CA+GvB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { IconPositionStrings, ForcedStateStrings } from './Input';
|
|
2
2
|
type InputStyledComponentProps = {
|
|
3
3
|
as: 'input' | 'textarea';
|
|
4
|
-
clickToCopy: boolean;
|
|
4
|
+
$clickToCopy: boolean;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
forceState?: ForcedStateStrings | undefined;
|
|
7
|
-
hasError: boolean;
|
|
8
|
-
hasIcon: boolean;
|
|
9
|
-
iconPosition: IconPositionStrings;
|
|
10
|
-
monospace: boolean;
|
|
7
|
+
$hasError: boolean;
|
|
8
|
+
$hasIcon: boolean;
|
|
9
|
+
$iconPosition: IconPositionStrings;
|
|
10
|
+
$monospace: boolean;
|
|
11
11
|
readOnly: boolean;
|
|
12
12
|
};
|
|
13
13
|
export declare const InputStyledComponent: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, InputStyledComponentProps, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Input/InputStyledComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA6GvE,KAAK,yBAAyB,GAAG;IAC/B,EAAE,EAAE,OAAO,GAAG,UAAU,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"InputStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Input/InputStyledComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA6GvE,KAAK,yBAAyB,GAAG;IAC/B,EAAE,EAAE,OAAO,GAAG,UAAU,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC5C,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,mBAAmB,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,oBAAoB,kIAShC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ReactNode, JSX } from 'react';
|
|
2
2
|
export type LabelComponentProps = Pick<ComponentPropsWithoutRef<'label'>, 'htmlFor'> & {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
renderAs: string;
|
|
5
|
-
required: boolean;
|
|
6
|
-
screenReaderOnly: boolean;
|
|
3
|
+
$disabled: boolean;
|
|
4
|
+
$renderAs: string;
|
|
5
|
+
$required: boolean;
|
|
6
|
+
$screenReaderOnly: boolean;
|
|
7
7
|
};
|
|
8
8
|
export type LabelProps = ComponentPropsWithoutRef<'label'> & {
|
|
9
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAiBtE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,GAAG;IACrF,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAiBtE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,GAAG;IACrF,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,OAAO,CAAC,GAAG;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,GAAG,GAAG,MAAM,GAAG,SAAS,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AA2BF,eAAO,MAAM,KAAK;2FAQf,UAAU,GAAG,GAAG,CAAC,OAAO;;CAY1B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { MouseEvent, ReactElement, ReactNode, JSX } from 'react';
|
|
2
2
|
import type { ButtonProps } from '../Button';
|
|
3
3
|
export type MenuComponentProps = {
|
|
4
|
-
isMenuVisible: boolean;
|
|
5
|
-
menuAlignment: string;
|
|
6
|
-
menuPosition: string;
|
|
7
|
-
dropdownButtonHeight: number;
|
|
4
|
+
$isMenuVisible: boolean;
|
|
5
|
+
$menuAlignment: string;
|
|
6
|
+
$menuPosition: string;
|
|
7
|
+
$dropdownButtonHeight: number;
|
|
8
8
|
};
|
|
9
9
|
export type MenuButtonProps = ButtonProps & {
|
|
10
10
|
/**
|
|
@@ -53,11 +53,11 @@ export type MenuButtonProps = ButtonProps & {
|
|
|
53
53
|
size?: 'lg' | 'md' | 'sm';
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
* @deprecated Please use Menu with a Button trigger, see [documentation](https://wistia.github.io/vhs/?path=/docs
|
|
56
|
+
* @deprecated Please use Menu with a Button trigger, see [documentation](https://wistia.github.io/vhs/?path=/docs-components-menu--docs).
|
|
57
57
|
*
|
|
58
58
|
* #### Why MenuButton is being deprecated
|
|
59
59
|
*
|
|
60
|
-
* The [Menu](https://wistia.github.io/vhs/?path=/docs
|
|
60
|
+
* The [Menu](https://wistia.github.io/vhs/?path=/docs-components-menu--docs) component is preferred over MenuButton for several reasons:
|
|
61
61
|
* 1. Menu has better alignment and collision detection.
|
|
62
62
|
* 2. Menu supports submenus.
|
|
63
63
|
* 3. Menu is properly portalled.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../../src/components/MenuButton/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAItE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAwB7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../../src/components/MenuButton/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAItE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAwB7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC;AAmCF,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,YAAY,CAAC;IACjD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;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AE5B;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC9D,CAAC;AAoIF,eAAO,MAAM,KAAK;YAAW,UAAU,GAAG,GAAG,CAAC,OAAO;;CAqCpD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type SelectStyledComponentProps = {
|
|
2
|
+
$forceState: 'active' | 'focus' | 'hover' | undefined;
|
|
3
|
+
$hasError: boolean;
|
|
2
4
|
disabled: boolean;
|
|
3
|
-
hasError: boolean;
|
|
4
|
-
forceState: 'active' | 'focus' | 'hover' | undefined;
|
|
5
5
|
multiple: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare const SelectStyledComponent: import("styled-components").StyledComponent<"select", import("styled-components").DefaultTheme, SelectStyledComponentProps, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectStyledComponent.tsx"],"names":[],"mappings":"AAqBA,KAAK,0BAA0B,GAAG;IAChC,
|
|
1
|
+
{"version":3,"file":"SelectStyledComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectStyledComponent.tsx"],"names":[],"mappings":"AAqBA,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;IACtD,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,qBAAqB,oIAwCjC,CAAC"}
|
|
@@ -31,16 +31,16 @@ export declare const variantStyleMap: {
|
|
|
31
31
|
monospace: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
32
32
|
};
|
|
33
33
|
export type TextComponentProps = {
|
|
34
|
-
align: keyof typeof alignMap;
|
|
35
|
-
bold: boolean;
|
|
36
|
-
colorOverride?: string | undefined;
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
ellipsis: boolean;
|
|
39
|
-
inline: boolean;
|
|
40
|
-
italic: boolean;
|
|
41
|
-
preventUserSelect: boolean;
|
|
34
|
+
$align: keyof typeof alignMap;
|
|
35
|
+
$bold: boolean;
|
|
36
|
+
$colorOverride?: string | undefined;
|
|
37
|
+
$disabled: boolean;
|
|
38
|
+
$ellipsis: boolean;
|
|
39
|
+
$inline: boolean;
|
|
40
|
+
$italic: boolean;
|
|
41
|
+
$preventUserSelect: boolean;
|
|
42
42
|
as: keyof typeof renderMap;
|
|
43
|
-
variant: keyof typeof variantStyleMap;
|
|
43
|
+
$variant: keyof typeof variantStyleMap;
|
|
44
44
|
};
|
|
45
45
|
export type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
46
46
|
/**
|
|
@@ -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;AAmEF,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,
|
|
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,Q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;;OAIG;YACK,MAAM,OAAO,QAAQ;IAC7B;;OAEG;WACI,OAAO;IACd;;OAEG;eACQ,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,OAAO,SAAS;IACjC;;OAEG;cACO,MAAM,OAAO,eAAe;+CAgFvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/TooltipContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;
|
|
1
|
+
{"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/TooltipContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAiIF,eAAO,MAAM,cAAc,GAAI,0GAS5B,mBAAmB,4CAkBrB,CAAC"}
|