@wistia/vhs 2.75.3-beta.219b5fcf.3bc39d3 → 2.75.3-beta.5e53a6d6.0437bc9
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/Backdrop/Backdrop.d.ts +4 -4
- package/dist/components/Backdrop/Backdrop.d.ts.map +1 -1
- package/dist/components/Breakline/Breakline.d.ts +1 -1
- package/dist/components/Breakline/Breakline.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +3 -3
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Image/Image.d.ts +3 -3
- package/dist/components/Image/Image.d.ts.map +1 -1
- package/dist/components/Input/ClickToCopy.d.ts.map +1 -1
- package/dist/components/Modal/Dialog.d.ts +2 -2
- package/dist/components/Modal/Dialog.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/index.cjs +44 -44
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +44 -44
- package/dist/index.mjs.map +3 -3
- package/package.json +1 -1
|
@@ -12,10 +12,10 @@ declare const alignHorizontalMap: {
|
|
|
12
12
|
right: string;
|
|
13
13
|
};
|
|
14
14
|
export type BackdropComponentProps = {
|
|
15
|
-
alignHorizontal: keyof typeof alignHorizontalMap;
|
|
16
|
-
alignVertical: keyof typeof alignVerticalMap;
|
|
17
|
-
backgroundColor: string;
|
|
18
|
-
elevated: boolean;
|
|
15
|
+
$alignHorizontal: keyof typeof alignHorizontalMap;
|
|
16
|
+
$alignVertical: keyof typeof alignVerticalMap;
|
|
17
|
+
$backgroundColor: string;
|
|
18
|
+
$elevated: boolean;
|
|
19
19
|
};
|
|
20
20
|
export type BackdropProps = ComponentPropsWithoutRef<'div'> & {
|
|
21
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Backdrop.d.ts","sourceRoot":"","sources":["../../../src/components/Backdrop/Backdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGtE,QAAA,MAAM,gBAAgB;;;;;CAKrB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;CAKvB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,
|
|
1
|
+
{"version":3,"file":"Backdrop.d.ts","sourceRoot":"","sources":["../../../src/components/Backdrop/Backdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGtE,QAAA,MAAM,gBAAgB;;;;;CAKrB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;CAKvB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,gBAAgB,EAAE,MAAM,OAAO,kBAAkB,CAAC;IAClD,cAAc,EAAE,MAAM,OAAO,gBAAgB,CAAC;IAC9C,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC5D;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,OAAO,kBAAkB,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IAC9C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAiBF,eAAO,MAAM,QAAQ;6FAOlB,aAAa,GAAG,GAAG,CAAC,OAAO;;CAU7B,CAAC"}
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ReactNode, JSX } from 'react';
|
|
2
2
|
export type ButtonGroupComponentProps = {
|
|
3
|
-
align: 'center' | 'left' | 'right';
|
|
4
|
-
fullWidth: boolean;
|
|
3
|
+
$align: 'center' | 'left' | 'right';
|
|
4
|
+
$fullWidth: boolean;
|
|
5
5
|
};
|
|
6
6
|
export type ButtonGroupProps = ComponentPropsWithoutRef<'div'> & {
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,yBAAyB,GAAG;IACtC,
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAwCF,eAAO,MAAM,WAAW;oDAKrB,gBAAgB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI;;CAcvC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, JSX } from 'react';
|
|
2
2
|
export type DividerComponentProps = {
|
|
3
|
-
borderHeight: number;
|
|
4
|
-
fillColor: string;
|
|
5
|
-
variant: string;
|
|
3
|
+
$borderHeight: number;
|
|
4
|
+
$fillColor: string;
|
|
5
|
+
$variant: string;
|
|
6
6
|
};
|
|
7
7
|
export type DividerProps = ComponentPropsWithoutRef<'hr'> & {
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,wBAAwB,CAAC,IAAI,CAAC,GAAG;IAC1D;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC9B,CAAC;AAgBF,eAAO,MAAM,OAAO;wDAKjB,YAAY,GAAG,GAAG,CAAC,OAAO;;CAY5B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, JSX } from 'react';
|
|
2
2
|
export type ImageComponentProps = {
|
|
3
|
-
fillContainer: boolean | 'horizontal' | 'vertical';
|
|
4
|
-
objFit?: string | undefined;
|
|
5
|
-
objPosition?: string | undefined;
|
|
3
|
+
$fillContainer: boolean | 'horizontal' | 'vertical';
|
|
4
|
+
$objFit?: string | undefined;
|
|
5
|
+
$objPosition?: string | undefined;
|
|
6
6
|
};
|
|
7
7
|
export type ImageProps = ComponentPropsWithoutRef<'img'> & {
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAmB3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAmB3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAQF,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACzD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;IAC3C;;;OAGG;IACH,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;IAC3D;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,KAAK;oGAQf,UAAU,GAAG,GAAG,CAAC,OAAO;;CAU1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClickToCopy.d.ts","sourceRoot":"","sources":["../../../src/components/Input/ClickToCopy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AA8D7C,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uBAA+B,sBAAsB,4CAmBtF,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,GAAG,CAAC,OAAO,CAAC;IAC9D,UAAU,EAAE,qBAAqB,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,gEAIzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ClickToCopy.d.ts","sourceRoot":"","sources":["../../../src/components/Input/ClickToCopy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AA8D7C,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uBAA+B,sBAAsB,4CAmBtF,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,GAAG,CAAC,OAAO,CAAC;IAC9D,UAAU,EAAE,qBAAqB,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,gEAIzB,gBAAgB,4CA8DlB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ModalProps } from './Modal';
|
|
2
2
|
export type DialogProps = {
|
|
3
|
-
fullHeight: boolean;
|
|
3
|
+
$fullHeight: boolean;
|
|
4
4
|
width?: string | undefined;
|
|
5
|
-
overflow?: ModalProps['overflow'];
|
|
5
|
+
$overflow?: ModalProps['overflow'];
|
|
6
6
|
};
|
|
7
7
|
export declare const Dialog: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, DialogProps, never>;
|
|
8
8
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,MAAM,kHAqBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAejF,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACzD;;OAEG;IACH,eAAe,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzD;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;IAEvD;;;OAGG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;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;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAejF,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACzD;;OAEG;IACH,eAAe,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzD;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;IAEvD;;;OAGG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;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;AAyIF,eAAO,MAAM,KAAK;YAAW,UAAU,GAAG,GAAG,CAAC,OAAO;;CAqCpD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v2.75.3-beta.
|
|
3
|
+
* @license @wistia/vhs v2.75.3-beta.5e53a6d6.0437bc9
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -735,10 +735,10 @@
|
|
|
735
735
|
display: flex;
|
|
736
736
|
|
|
737
737
|
/* this helps ensure that primary buttons appear at the top of the column */
|
|
738
|
-
flex-direction: ${({align:e})=>e==="right"?"column-reverse":"column"};
|
|
738
|
+
flex-direction: ${({$align:e})=>e==="right"?"column-reverse":"column"};
|
|
739
739
|
gap: ${({theme:e})=>e.buttonGroup.gap};
|
|
740
|
-
justify-content: ${({align:e})=>gW(e)};
|
|
741
|
-
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
740
|
+
justify-content: ${({$align:e})=>gW(e)};
|
|
741
|
+
width: ${({$fullWidth:e})=>e?"100%":"auto"};
|
|
742
742
|
|
|
743
743
|
${Be.smAndUp} {
|
|
744
744
|
flex-direction: row;
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
width: auto;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
|
-
`,oo=({children:e,align:t="left",fullWidth:r=!1,...n})=>fe(e)?null:(0,GD.jsx)(vW,{align:t
|
|
757
|
+
`,oo=({children:e,align:t="left",fullWidth:r=!1,...n})=>fe(e)?null:(0,GD.jsx)(vW,{$align:t,$fullWidth:r,...n,children:e});oo.displayName="ButtonGroup_VHS";i();i();var WD=require("react"),at=k(require("styled-components"));i();i();var js=k(require("styled-components")),jD=require("react/jsx-runtime"),Sr=js.css`
|
|
758
758
|
overflow: hidden;
|
|
759
759
|
text-overflow: ellipsis;
|
|
760
760
|
white-space: nowrap;
|
|
@@ -860,18 +860,18 @@
|
|
|
860
860
|
margin-bottom: ${t.spacing.space05};
|
|
861
861
|
`}
|
|
862
862
|
`,nr=(0,WD.forwardRef)(({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:a=!1,inline:s=!1,italic:l=!1,preventUserSelect:u=!1,renderAs:c="div",variant:p="body1",...d},h)=>(0,_D.jsx)(BW,{ref:h,align:e,as:c,bold:t,colorOverride:n,disabled:o,ellipsis:a,inline:s,italic:l,preventUserSelect:u,variant:p,...d,children:r}));nr.displayName="Text_VHS";i();i();var UD=k(require("styled-components")),KD=require("react/jsx-runtime"),OW={normal:"normal",top:"start",center:"center",bottom:"end"},MW={normal:"normal",left:"start",center:"center",right:"end"},IW=UD.default.div`
|
|
863
|
-
align-items: ${({alignVertical:e})=>OW[e]};
|
|
864
|
-
background: ${({backgroundColor:e})=>e};
|
|
863
|
+
align-items: ${({$alignVertical:e})=>OW[e]};
|
|
864
|
+
background: ${({$backgroundColor:e})=>e};
|
|
865
865
|
bottom: 0;
|
|
866
866
|
display: grid;
|
|
867
|
-
justify-content: ${({alignHorizontal:e})=>MW[e]};
|
|
867
|
+
justify-content: ${({$alignHorizontal:e})=>MW[e]};
|
|
868
868
|
left: 0;
|
|
869
869
|
overflow-y: auto;
|
|
870
870
|
position: fixed;
|
|
871
871
|
right: 0;
|
|
872
872
|
top: 0;
|
|
873
|
-
z-index: ${({theme:e
|
|
874
|
-
`,Jr=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,elevated:o=!1,...a})=>(0,KD.jsx)(IW,{alignHorizontal:e
|
|
873
|
+
z-index: ${({theme:e,$elevated:t})=>t?e.zIndex.BackdropElevated:e.zIndex.Backdrop};
|
|
874
|
+
`,Jr=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,elevated:o=!1,...a})=>(0,KD.jsx)(IW,{$alignHorizontal:e,$alignVertical:t,$backgroundColor:r,$elevated:o,...a,children:n});Jr.displayName="Backdrop_VHS";i();i();i();i();var Xd=require("react"),ai=k(require("styled-components"));i();i();var Nu=k(require("styled-components"));var b3=require("react/jsx-runtime"),Ws=Nu.css`
|
|
875
875
|
border: 0;
|
|
876
876
|
clip: rect(1px, 1px, 1px, 1px); /* deprecated but remains as fallback */
|
|
877
877
|
clip-path: inset(50%); /* modern but less support */
|
|
@@ -1077,9 +1077,9 @@
|
|
|
1077
1077
|
|
|
1078
1078
|
${Be.smAndUp} {
|
|
1079
1079
|
border-radius: 16px;
|
|
1080
|
-
height: ${({fullHeight:e})=>e?"min-content":"auto"};
|
|
1080
|
+
height: ${({$fullHeight:e})=>e?"min-content":"auto"};
|
|
1081
1081
|
margin: ${({theme:e})=>e.spacing.space05};
|
|
1082
|
-
${({fullHeight:e})=>e?"min-height: calc(100vh - 48px);":""}
|
|
1082
|
+
${({$fullHeight:e})=>e?"min-height: calc(100vh - 48px);":""}
|
|
1083
1083
|
overflow: visible;
|
|
1084
1084
|
width: min-content;
|
|
1085
1085
|
}
|
|
@@ -1131,19 +1131,19 @@
|
|
|
1131
1131
|
height: ${QD}px;
|
|
1132
1132
|
width: ${QD}px;
|
|
1133
1133
|
}
|
|
1134
|
-
`,E3=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:l=void 0,illustration:u=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:y,toggle:b,width:x=e_,...w})=>(0,At.jsx)(Ji,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:D=>(0,At.jsx)(Jr,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:E=>{d&&(E.stopPropagation(),D())},children:(0,At.jsxs)(t_,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",
|
|
1134
|
+
`,E3=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:l=void 0,illustration:u=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:y,toggle:b,width:x=e_,...w})=>(0,At.jsx)(Ji,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:D=>(0,At.jsx)(Jr,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:E=>{d&&(E.stopPropagation(),D())},children:(0,At.jsxs)(t_,{$fullHeight:s,"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",onClick:E=>E.stopPropagation(),role:"dialog",...w,children:[d?(0,At.jsx)(Us,{closeIconColorOverride:l,onClick:D}):null,F(u)?(0,At.jsx)(o_,{illustrationBackgroundColor:c,children:typeof u=="string"?(0,At.jsx)("img",{alt:"",src:u}):u}):null,(0,At.jsxs)(r_,{width:x,children:[(0,At.jsxs)(n_,{children:[(0,At.jsx)(At.Fragment,{children:y?(0,At.jsx)(nr,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:y}):null}),(0,At.jsx)(At.Fragment,{children:m===void 0?n:m(D)})]}),(0,At.jsx)(oo,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(D):r})]})]})}),toggle:b});E3.displayName="ActionModal_VHS";i();i();var Ks=require("react");var Jd=k(require("styled-components"));i();var tE={blue:["blue600","blue700","blue800"],brandBlue:["brandBlue600","brandBlue700","brandBlue800"],green:["green600","green700","green800"],pink:["pink600","pink700","pink800"],purple:["purple600","purple700","purple800"],red:["red600","red700","red800"],yellow:["yellow700","yellow800","yellow900"]},eE=Object.keys(tE),i_=31,a_=e=>Array.from(e).reduce((t,r)=>Math.imul(i_,t)+r.charCodeAt(0)|0,0),rE=({seed:e,themeColors:t})=>{let r=Math.abs(a_(e))%eE.length,n=eE[r];return tE[n].map(o=>t[o]).filter(o=>o!==void 0)};i();var s_=e=>new RegExp("<a?:.+?:\\d{18}>|\\p{Extended_Pictographic}","gu").test(e),nE=e=>fe(e)||f0(e)||ut(e)&&s_(e)||typeof e!="string"?"U":e.substring(0,1).toUpperCase();var Yd=require("react/jsx-runtime"),l_=Jd.default.img`
|
|
1135
1135
|
align-items: center;
|
|
1136
1136
|
background-color: white;
|
|
1137
1137
|
border-radius: 50%;
|
|
1138
1138
|
color: white;
|
|
1139
1139
|
display: flex;
|
|
1140
|
-
height: ${({heightAndWidth:e})=>e}px;
|
|
1140
|
+
height: ${({$heightAndWidth:e})=>e}px;
|
|
1141
1141
|
justify-content: center;
|
|
1142
1142
|
object-fit: cover;
|
|
1143
1143
|
overflow: hidden;
|
|
1144
1144
|
pointer-events: none;
|
|
1145
1145
|
user-select: none;
|
|
1146
|
-
width: ${({heightAndWidth:e})=>e}px;
|
|
1146
|
+
width: ${({$heightAndWidth:e})=>e}px;
|
|
1147
1147
|
border: ${({theme:e})=>`2px solid ${e.color.grey200}`};
|
|
1148
1148
|
|
|
1149
1149
|
a:hover & {
|
|
@@ -1155,16 +1155,16 @@
|
|
|
1155
1155
|
}
|
|
1156
1156
|
`,u_=.55,c_=Jd.default.div`
|
|
1157
1157
|
align-items: center;
|
|
1158
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
1158
|
+
background-color: ${({$backgroundColor:e})=>e};
|
|
1159
1159
|
border-radius: 50%;
|
|
1160
1160
|
color: white;
|
|
1161
1161
|
display: flex;
|
|
1162
|
-
font-size: ${({heightAndWidth:e})=>e*u_}px;
|
|
1162
|
+
font-size: ${({$heightAndWidth:e})=>e*u_}px;
|
|
1163
1163
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
1164
|
-
height: ${({heightAndWidth:e})=>e}px;
|
|
1164
|
+
height: ${({$heightAndWidth:e})=>e}px;
|
|
1165
1165
|
justify-content: center;
|
|
1166
1166
|
overflow: hidden;
|
|
1167
|
-
width: ${({heightAndWidth:e})=>e}px;
|
|
1167
|
+
width: ${({$heightAndWidth:e})=>e}px;
|
|
1168
1168
|
|
|
1169
1169
|
a:hover & {
|
|
1170
1170
|
box-shadow: inset 0 0 0 2px rgb(0 0 0 / 25%);
|
|
@@ -1174,8 +1174,8 @@
|
|
|
1174
1174
|
box-shadow: inset 0 0 0 2px rgb(0 0 0 / 50%);
|
|
1175
1175
|
}
|
|
1176
1176
|
`,f_=Jd.default.div`
|
|
1177
|
-
max-height: ${({maxHeight:e})=>e}px;
|
|
1178
|
-
`,P3=({imageUrl:e,heightAndWidth:t=24,initials:r,name:n,onImageLoad:o,...a})=>{let[s,l]=(0,Ks.useState)(null),u=Me(),c=(0,Ks.useMemo)(()=>fe(n)||n==="Anonymous"?u.grey600:rE({seed:n,themeColors:u})[0],[n,u]);(0,Ks.useEffect)(()=>{l(null)},[e]);let p=()=>{l("loaded"),o?.("image")},d=()=>{l("error"),o?.("initials")},h=fe(e)||s==="error";return(0,Yd.jsx)(f_,{...a
|
|
1177
|
+
max-height: ${({$maxHeight:e})=>e}px;
|
|
1178
|
+
`,P3=({imageUrl:e,heightAndWidth:t=24,initials:r,name:n,onImageLoad:o,...a})=>{let[s,l]=(0,Ks.useState)(null),u=Me(),c=(0,Ks.useMemo)(()=>fe(n)||n==="Anonymous"?u.grey600:rE({seed:n,themeColors:u})[0],[n,u]);(0,Ks.useEffect)(()=>{l(null)},[e]);let p=()=>{l("loaded"),o?.("image")},d=()=>{l("error"),o?.("initials")},h=fe(e)||s==="error";return(0,Yd.jsx)(f_,{...a,$maxHeight:t,children:h?(0,Yd.jsx)(c_,{$backgroundColor:c??"",$heightAndWidth:t,children:nE(r)}):(0,Yd.jsx)(l_,{$heightAndWidth:t,alt:n??"Unavailable",onError:d,onLoad:p,src:e})})};P3.displayName="Avatar_VHS";i();i();var iE=k(require("styled-components"));var aE=require("react/jsx-runtime"),oE=e=>!["cross-fade","element","image","image-set","linear-gradient","radial-gradient","conic-gradient","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","paint","url"].some(r=>e.startsWith(r)),p_=e=>{if(e!==void 0&&Array.isArray(e))return e.map(t=>oE(t)?`url('${t}')`:t).join(", ");if(e!==void 0&&e!==""&&ut(e))return oE(e)?`url('${e}')`:e},d_=e=>{if(e!=="")return zn(e)?(Object.keys(e).forEach(t=>{if(!["horizontal","vertical"].includes(t))throw new ReferenceError(`"${t}" is not a valid key for BackgroundImage component overflow prop; only "horizontal" or "vertical" allowed`)}),Object.entries(e).map(([t,r])=>{if(t==="horizontal")return`overflow-x: ${r};`;if(t==="vertical")return`overflow-y: ${r};`}).join("")):`overflow: ${e};`},m_=iE.default.div`
|
|
1179
1179
|
background-attachment: ${({bgAttachment:e})=>e};
|
|
1180
1180
|
background-clip: ${({bgClip:e})=>e};
|
|
1181
1181
|
background-color: ${({bgColor:e})=>e};
|
|
@@ -1192,17 +1192,17 @@
|
|
|
1192
1192
|
width: ${({elWidth:e})=>e};
|
|
1193
1193
|
`,T3=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:l="center",repeat:u="no-repeat",size:c="cover",src:p=void 0,width:d="100%",...h})=>(0,aE.jsx)(m_,{bgAttachment:t,bgClip:r,bgColor:n,bgImage:p,bgOrigin:a,bgPosition:l,bgRepeat:u,bgSize:c,elHeight:o,elOverflow:s,elWidth:d,...h,children:e});T3.displayName="BackgroundImage_VHS";i();i();var lE=k(require("styled-components"));i();var sE=(e,t)=>{switch(e){case"error":return{backgroundColor:t.error300,textColor:t.error800};case"green":return{backgroundColor:t.green300,textColor:t.green800};case"grey":return{backgroundColor:t.grey300,textColor:t.grey1000};case"orange":return{backgroundColor:t.orange200,textColor:t.orange800};case"pink":return{backgroundColor:t.pink300,textColor:t.pink800};case"purple":return{backgroundColor:t.purple300,textColor:t.purple800};case"red":return{backgroundColor:t.red300,textColor:t.red800};case"success":return{backgroundColor:t.success200,textColor:t.success800};case"warning":return{backgroundColor:t.warning300,textColor:t.warning800};case"yellow":return{backgroundColor:t.yellow200,textColor:t.yellow800};case"brandBlue":default:return{backgroundColor:t.brandBlue200,textColor:t.brandBlue700}}};var Hu=require("react/jsx-runtime"),h_=lE.default.div`
|
|
1194
1194
|
align-items: center;
|
|
1195
|
-
background: ${({backgroundColor:e})=>e};
|
|
1195
|
+
background: ${({$backgroundColor:e})=>e};
|
|
1196
1196
|
border-radius: 999px;
|
|
1197
|
-
color: ${({textColor:e})=>e};
|
|
1197
|
+
color: ${({$textColor:e})=>e};
|
|
1198
1198
|
display: inline-flex;
|
|
1199
1199
|
font-size: 12px;
|
|
1200
1200
|
font-weight: 600;
|
|
1201
1201
|
gap: ${({theme:e})=>e.spacing.space01}; /* space between icon and label */
|
|
1202
|
-
padding-left: ${({hasIcon:e})=>e?"4px":"6px"};
|
|
1202
|
+
padding-left: ${({$hasIcon:e})=>e?"4px":"6px"};
|
|
1203
1203
|
padding-right: 6px;
|
|
1204
1204
|
width: fit-content;
|
|
1205
|
-
`,A3=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:a}=sE(e,Me());return(0,Hu.jsxs)(h_,{...n
|
|
1205
|
+
`,A3=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:a}=sE(e,Me());return(0,Hu.jsxs)(h_,{...n,$backgroundColor:o,$hasIcon:F(r),$textColor:a,children:[F(r)&&(0,Hu.jsx)(Ae,{"data-testid":"badge-icon",size:"sm",type:r}),(0,Hu.jsx)("span",{children:t})]})};A3.displayName="Badge_VHS";i();i();var Qd=k(require("styled-components"));i();var qs=k(require("styled-components"));var Zd=require("react/jsx-runtime"),g_=qs.default.div`
|
|
1206
1206
|
color: ${({theme:e})=>e.color.grey900};
|
|
1207
1207
|
flex: 1;
|
|
1208
1208
|
font-size: 14px;
|
|
@@ -1283,8 +1283,8 @@
|
|
|
1283
1283
|
order: ${({order:e})=>F(e)?e:null};
|
|
1284
1284
|
`,M_=e=>F(e)?typeof e=="object"&&dE?Ys.Children.map(e,t=>{if(fe(t))return null;let r={};return(t.type?.displayName==="Box"||t.type?.displayName==="Box_VHS")&&(r.hasBoxParent=!0),(0,Ys.cloneElement)(t,r)}):e:null,R3=(0,Ys.forwardRef)(({alignContent:e="stretch",alignItems:t="start",renderAs:r="div",children:n,direction:o="row",hasBoxParent:a=!1,fill:s=!1,fillViewport:l=!1,inline:u=!1,justifyContent:c="start",wrapItems:p=!1,...d},h)=>(dE&&!a&&Object.keys(d).forEach(g=>{A_.has(g)&&console.warn(`${g} only has an effect on <Box> instances that are children of a <Box>`)}),(0,mE.jsx)(O_,{ref:h,alignContent:e,alignItems:t,as:r,fillBox:s,fillViewport:l,flexDirection:o,inline:u,justifyContent:c,wrapItems:p,...d,children:M_(n)})));R3.displayName="Box_VHS";i();i();var hE=k(require("styled-components")),gE=require("react/jsx-runtime"),I_=hE.default.div`
|
|
1285
1285
|
overflow-wrap: break-word;
|
|
1286
|
-
${({hyphenated:e})=>e&&"hyphens: auto"}
|
|
1287
|
-
`,F3=({children:e,hyphenated:t=!1,...r})=>(0,gE.jsx)(I_,{hyphenated:t,...r,children:e});F3.displayName="Breakline_VHS";i();i();i();var DE=require("react"),EE=k(require("styled-components"));i();var B3=k(require("styled-components")),SE=require("react");i();var Zr=require("styled-components");var yE=.08,bE=Zr.css`
|
|
1286
|
+
${({$hyphenated:e})=>e&&"hyphens: auto"}
|
|
1287
|
+
`,F3=({children:e,hyphenated:t=!1,...r})=>(0,gE.jsx)(I_,{$hyphenated:t,...r,children:e});F3.displayName="Breakline_VHS";i();i();i();var DE=require("react"),EE=k(require("styled-components"));i();var B3=k(require("styled-components")),SE=require("react");i();var Zr=require("styled-components");var yE=.08,bE=Zr.css`
|
|
1288
1288
|
color: ${({theme:e})=>et(yE,e.color.brandBlue500)};
|
|
1289
1289
|
`,vE=Zr.css`
|
|
1290
1290
|
color: ${({theme:e})=>e.color.brandBlue500};
|
|
@@ -1579,14 +1579,14 @@
|
|
|
1579
1579
|
border-bottom: none;
|
|
1580
1580
|
border-left: none;
|
|
1581
1581
|
border-right: none;
|
|
1582
|
-
border-top-color: ${({fillColor:e})=>e};
|
|
1583
|
-
border-top-style: ${({variant:e})=>e};
|
|
1584
|
-
border-top-width: ${({borderHeight:e})=>`${e}px`};
|
|
1582
|
+
border-top-color: ${({$fillColor:e})=>e};
|
|
1583
|
+
border-top-style: ${({$variant:e})=>e};
|
|
1584
|
+
border-top-width: ${({$borderHeight:e})=>`${e}px`};
|
|
1585
1585
|
clear: both;
|
|
1586
1586
|
height: 0;
|
|
1587
1587
|
line-height: 0;
|
|
1588
1588
|
margin: 0;
|
|
1589
|
-
`,Ju=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=Me("grey300");return(0,UE.jsx)(mU,{borderHeight:t
|
|
1589
|
+
`,Ju=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=Me("grey300");return(0,UE.jsx)(mU,{$borderHeight:t,$fillColor:e??o,$variant:r,...n})};Ju.displayName="Divider_VHS";i();i();var KE=require("react"),qE=k(require("styled-components")),p1=require("react/jsx-runtime"),hU=26,gU=hU*1024,vU=qE.default.label`
|
|
1590
1590
|
display: inline-block;
|
|
1591
1591
|
overflow: hidden;
|
|
1592
1592
|
position: relative;
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
right: 0;
|
|
1607
1607
|
top: 0;
|
|
1608
1608
|
}
|
|
1609
|
-
`,H3=(0,KE.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=gU,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>(0,p1.jsxs)(vU,{
|
|
1609
|
+
`,H3=(0,KE.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=gU,multiple:a=!1,name:s="file-upload",onClick:l,onChange:u,onError:c,...p},d)=>(0,p1.jsxs)(vU,{"aria-controls":"filename",disabled:r,htmlFor:n,...p,children:[t,(0,p1.jsx)("input",{ref:d,accept:e,"data-testid":"file-select-input",disabled:r,id:n,multiple:a,name:s,onChange:g=>{let{files:v}=g.target;if(o&&v){let m=o*1024*1024;if(Array.from(v).some(b=>b.size>m))return c&&c(new Error(`File not accepted. Please choose a file under ${o}MB.`)),!1}return u&&u(g),!0},onClick:l,tabIndex:-1,type:"file"})]}));H3.displayName="FileSelect_VHS";i();i();var si=require("react");i();i();var XE=require("react");var Qs=k(require("styled-components"));var uo=require("react/jsx-runtime"),yU=Qs.default.div`
|
|
1610
1610
|
border-left: 4px solid;
|
|
1611
1611
|
border-left-color: ${({theme:e})=>e.color.error500};
|
|
1612
1612
|
margin-bottom: ${({theme:e})=>e.spacing.space07};
|
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
${({disabled:e})=>e?IU:kU}
|
|
1751
1751
|
`,VU=(0,li.default)(Ae)`
|
|
1752
1752
|
${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
|
|
1753
|
-
`,LU=({onClick:e,disabled:t=!1})=>{let r=Me("grey500");return(0,ea.jsx)(NU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,ea.jsx)(VU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},iP=({inputComponent:e,inputProps:t,onClick:r})=>{let n=el(),[o,a]=(0,g1.useState)(0),{value:s,disabled:l}=t,u=l??!1;(0,g1.useEffect)(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Ba(s),Nn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0
|
|
1753
|
+
`,LU=({onClick:e,disabled:t=!1})=>{let r=Me("grey500");return(0,ea.jsx)(NU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,ea.jsx)(VU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},iP=({inputComponent:e,inputProps:t,onClick:r})=>{let n=el(),[o,a]=(0,g1.useState)(0),{value:s,disabled:l}=t,u=l??!1;(0,g1.useEffect)(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Ba(s),Nn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0?{$forceState:"focus"}:void 0,d={...t,...p},h={onClick:c,disabled:u,"aria-disabled":u};return(0,ea.jsxs)(MU,{disabled:u,onClick:c,children:[(0,ea.jsx)(e,{...d}),(0,ea.jsx)(LU,{...h})]})};i();var v1=60,$U=e=>e.replace(/[^0-9:]/g,""),zU=e=>e?Number.parseFloat(e):0,GU=(e,t,r)=>{let n=F(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},HU=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>zU(d)),a=0,s=0,l=0;F(r)&&(s=Math.floor(r/v1),F(n)&&(s+=n)),F(r)&&(a=r%v1);let u=a.toString();u.length===1&&(a=u.padStart(2,"0"));let c=te(o)?o:0;l=Math.floor(s/v1)+c,s%=v1;let p=s.toString();return l&&p.length===1&&(s=p.padStart(2,"0")),GU(a,s,l)},Y3=e=>{if(fe(e)||!ut(e))return"0:00";let t=$U(e);return HU(t)};var tl=require("react/jsx-runtime"),jU=new Set(["search"]),WU=aP.default.div`
|
|
1754
1754
|
position: relative;
|
|
1755
1755
|
|
|
1756
1756
|
svg {
|
|
@@ -1954,10 +1954,10 @@
|
|
|
1954
1954
|
width: 100%;
|
|
1955
1955
|
height: 100%;
|
|
1956
1956
|
`},cQ=KR.default.img`
|
|
1957
|
-
${({fillContainer:e})=>uQ(e)};
|
|
1958
|
-
object-fit: ${({objFit:e})=>e};
|
|
1959
|
-
object-position: ${({objPosition:e})=>e};
|
|
1960
|
-
`,k4=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0,qR.jsx)(cQ,{
|
|
1957
|
+
${({$fillContainer:e})=>uQ(e)};
|
|
1958
|
+
object-fit: ${({$objFit:e})=>e};
|
|
1959
|
+
object-position: ${({$objPosition:e})=>e};
|
|
1960
|
+
`,k4=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0,qR.jsx)(cQ,{$fillContainer:r,$objFit:n,$objPosition:a,alt:t,loading:o,src:e,...s});k4.displayName="Image_VHS";i();i();var Sc=k(require("styled-components"));var bl=require("react/jsx-runtime"),fQ=Sc.default.div`
|
|
1961
1961
|
align-items: center;
|
|
1962
1962
|
display: flex;
|
|
1963
1963
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
@@ -2291,9 +2291,9 @@
|
|
|
2291
2291
|
background: white;
|
|
2292
2292
|
border-radius: 4px 4px 0 0;
|
|
2293
2293
|
box-shadow: ${({theme:e})=>e.shadow.elevation2};
|
|
2294
|
-
display: ${({menuWidth:e})=>e==="maxItem"?"inline-block":"block"};
|
|
2294
|
+
display: ${({$menuWidth:e})=>e==="maxItem"?"inline-block":"block"};
|
|
2295
2295
|
padding: ${Rl} ${Rl} ${({theme:e})=>e.spacing.space04} ${Rl};
|
|
2296
|
-
width: ${({menuWidth:e})=>vre(e)};
|
|
2296
|
+
width: ${({$menuWidth:e})=>vre(e)};
|
|
2297
2297
|
z-index: ${({theme:e})=>e.zIndex.MenuComponent};
|
|
2298
2298
|
|
|
2299
2299
|
${Be.smAndUp} {
|
|
@@ -2392,7 +2392,7 @@
|
|
|
2392
2392
|
${({variant:e})=>e==="dangerous"?bre:null}
|
|
2393
2393
|
${({disabled:e})=>F(e)&&e?Cre:null}
|
|
2394
2394
|
}
|
|
2395
|
-
`,qm=(0,Ea.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:l,...u},c)=>{let p=(0,Ea.useRef)(),d=F(o)?o:()=>{};Gs(p,d);let h=zs([p,c]);if((0,Ea.useEffect)(()=>(s&&s(),()=>{l&&l()}),[s,l]),(0,Ea.useEffect)(()=>{let m=y=>{y.key==="Escape"&&a&&a(y)};return document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[a]),e?.length==null)return null;let g=e.map(m=>{let{disabled:y,variant:b}=m.props,x=F(y)?y:!1,w=Ce(b)?b:void 0,D=`wrapper-${m.key}`;return(0,xo.jsx)(cM,{disabled:x,variant:w,children:m},D)});return(0,xo.jsxs)(yre,{ref:h
|
|
2395
|
+
`,qm=(0,Ea.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:l,...u},c)=>{let p=(0,Ea.useRef)(),d=F(o)?o:()=>{};Gs(p,d);let h=zs([p,c]);if((0,Ea.useEffect)(()=>(s&&s(),()=>{l&&l()}),[s,l]),(0,Ea.useEffect)(()=>{let m=y=>{y.key==="Escape"&&a&&a(y)};return document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[a]),e?.length==null)return null;let g=e.map(m=>{let{disabled:y,variant:b}=m.props,x=F(y)?y:!1,w=Ce(b)?b:void 0,D=`wrapper-${m.key}`;return(0,xo.jsx)(cM,{disabled:x,variant:w,children:m},D)});return(0,xo.jsxs)(yre,{ref:h,$menuWidth:r,onClick:n,...u,children:[F(t)?(0,xo.jsxs)(xo.Fragment,{children:[t,(0,xo.jsx)(cM,{children:(0,xo.jsx)(Ju,{})})]}):null,g]})});qm.displayName="Menu_VHS";i();var Zv=k(require("styled-components"));var _c=require("react/jsx-runtime"),xre=Zv.default.div`
|
|
2396
2396
|
align-items: center;
|
|
2397
2397
|
display: flex;
|
|
2398
2398
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
@@ -2442,16 +2442,16 @@
|
|
|
2442
2442
|
|
|
2443
2443
|
/* latest versions of FF, Safari, and Chrome support dynamic viewport units; 100vh left as a fallback */
|
|
2444
2444
|
height: 100vh;
|
|
2445
|
-
overflow: ${({overflow:e})=>e??"auto"};
|
|
2445
|
+
overflow: ${({$overflow:e})=>e??"auto"};
|
|
2446
2446
|
position: relative;
|
|
2447
2447
|
width: 100vw;
|
|
2448
2448
|
|
|
2449
2449
|
${Be.smAndUp} {
|
|
2450
2450
|
border-radius: 16px;
|
|
2451
|
-
height: ${({fullHeight:e})=>e?"min-content":"auto"};
|
|
2451
|
+
height: ${({$fullHeight:e})=>e?"min-content":"auto"};
|
|
2452
2452
|
margin: ${({theme:e})=>e.spacing.space05};
|
|
2453
2453
|
max-height: 90vh;
|
|
2454
|
-
${({fullHeight:e})=>e?"min-height: calc(100vh - 48px);":""}
|
|
2454
|
+
${({$fullHeight:e})=>e?"min-height: calc(100vh - 48px);":""}
|
|
2455
2455
|
max-width: 90vw;
|
|
2456
2456
|
min-width: ${({width:e})=>e??"480px"};
|
|
2457
2457
|
width: min-content;
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
margin: auto;
|
|
2477
2477
|
}
|
|
2478
2478
|
`}
|
|
2479
|
-
`,Fre=e=>F(e)&&O6(e,"current")&&F(e.current),Bre=e=>{(0,Ai.useEffect)(()=>{let t=document.activeElement;if(Fre(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},xM=(0,Ai.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,shouldTrapFocus:
|
|
2479
|
+
`,Fre=e=>F(e)&&O6(e,"current")&&F(e.current),Bre=e=>{(0,Ai.useEffect)(()=>{let t=document.activeElement;if(Fre(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},xM=(0,Ai.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,isOpen:l,shouldTrapFocus:u=!0,onRequestClose:c,shouldCloseOnClickOutside:p=!0,width:d,overflow:h="auto",...g},v)=>{Bre(v);let m=(0,Ai.useRef)(null),y=nd(u,{focusSelector:te(s)?s:null});return Gs(m,()=>{c&&p&&c()}),_d(l),Wd("Escape",b=>{c&&c(),b.preventDefault()}),(0,Pa.jsx)(yM,{value:c,children:(0,Pa.jsx)(Tre,{$alignHorizontal:e,$alignVertical:t,$allowModalToExceedViewportBounds:r,$isOpen:l,children:(0,Pa.jsx)(Rre,{ref:y,$allowModalToExceedViewportBounds:r,$fullHeight:a,$overflow:h,"aria-modal":"true",role:"dialog",tabIndex:-1,width:d,...g,children:(0,Pa.jsx)(Are,{ref:m,children:n})})})})}),e6=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),te(e.className)&&n.classList.add(e.className),te(t)&&(n.id=t);let o=(0,Ai.useRef)(n);return(0,Ai.useEffect)(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),(0,CM.createPortal)((0,Pa.jsx)(ku,{children:e.isOpen?(0,Pa.jsx)(xM,{ref:o,...r}):null}),o.current)};e6.displayName="Modal_VHS";xM.displayName="ModalContent";i();var Uc=k(require("styled-components"));var t6=require("react/jsx-runtime"),wM=Uc.default.div`
|
|
2480
2480
|
align-items: center;
|
|
2481
2481
|
display: flex;
|
|
2482
2482
|
padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
|