@ultraviolet/ui 3.21.0 → 3.21.1
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/Breadcrumbs/index.d.ts +2 -26
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Carousel/index.d.ts +2 -8
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.d.ts +1 -23
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +2 -8
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +13 -100
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.d.ts +3 -10
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.d.ts +2 -4
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.d.ts +11 -10
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +1 -1
- package/dist/components/GlobalAlert/index.d.ts +2 -63
- package/dist/components/GlobalAlert/index.d.ts.map +1 -1
- package/dist/components/Menu/index.d.ts +2 -10
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +16 -21
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css.d.ts.map +1 -1
- package/dist/components/StepList/index.d.ts +2 -14
- package/dist/components/StepList/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +2 -13
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/SwitchButton/index.d.ts +2 -11
- package/dist/components/SwitchButton/index.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts +10 -48
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +7 -41
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +3 -1
- package/dist/components/Toaster/index.d.ts +4 -2
- package/dist/components/Toaster/index.d.ts.map +1 -1
- package/dist/compositions/Conversation/index.d.ts +8 -32
- package/dist/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/index.d.ts +21 -167
- package/dist/compositions/EstimateCost/index.d.ts.map +1 -1
- package/dist/compositions/InfoTable/index.d.ts +13 -21
- package/dist/compositions/InfoTable/index.d.ts.map +1 -1
- package/dist/compositions/Navigation/index.d.ts +11 -59
- package/dist/compositions/Navigation/index.d.ts.map +1 -1
- package/dist/compositions/OfferList/index.d.ts +5 -39
- package/dist/compositions/OfferList/index.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/index.d.ts +2 -11
- package/dist/compositions/SteppedListCard/index.d.ts.map +1 -1
- package/dist/mocks/list.d.ts +1 -1
- package/dist/mocks/list.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/responsive/index.js +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Item } from './components/Item';
|
|
2
3
|
type BreadcrumbsProps = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
className?: string;
|
|
@@ -8,32 +9,7 @@ type BreadcrumbsProps = {
|
|
|
8
9
|
export declare function Breadcrumbs({ children, className, 'data-testid': dataTestId, style }: BreadcrumbsProps): import("react").JSX.Element;
|
|
9
10
|
export declare namespace Breadcrumbs {
|
|
10
11
|
var displayName: string;
|
|
11
|
-
|
|
12
|
-
({ to, children, disabled, 'aria-current': ariaCurrent, onClick, onKeyDown, className, maxWidth, minWidth, render, }: {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
onClick?: (event: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
17
|
-
onKeyDown?: (event: import("react").KeyboardEvent<HTMLElement>) => void;
|
|
18
|
-
className?: string;
|
|
19
|
-
maxWidth?: string;
|
|
20
|
-
minWidth?: string;
|
|
21
|
-
render?: import("@ultraviolet/utils").RenderProp;
|
|
22
|
-
} & ((Without<{
|
|
23
|
-
to?: string;
|
|
24
|
-
}, {
|
|
25
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
26
|
-
}> & {
|
|
27
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
28
|
-
}) | (Without<{
|
|
29
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
30
|
-
}, {
|
|
31
|
-
to?: string;
|
|
32
|
-
}> & {
|
|
33
|
-
to?: string;
|
|
34
|
-
}))): import("react").JSX.Element;
|
|
35
|
-
displayName: string;
|
|
36
|
-
};
|
|
12
|
+
export { Item };
|
|
37
13
|
}
|
|
38
14
|
export {};
|
|
39
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAGxC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;oCAK2B,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,gBAAgB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import { CarouselItem } from './Item';
|
|
2
3
|
type CarouselProps = {
|
|
3
4
|
className?: string;
|
|
4
5
|
children?: ReactNode;
|
|
@@ -7,14 +8,7 @@ type CarouselProps = {
|
|
|
7
8
|
export declare function Carousel({ children, className, 'data-testid': dataTestId }: CarouselProps): import("react").JSX.Element;
|
|
8
9
|
export declare namespace Carousel {
|
|
9
10
|
var displayName: string;
|
|
10
|
-
|
|
11
|
-
({ children, width, style }: {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
width?: string;
|
|
14
|
-
style?: import("react").CSSProperties;
|
|
15
|
-
}): import("react").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
11
|
+
export { CarouselItem as Item };
|
|
18
12
|
}
|
|
19
13
|
export {};
|
|
20
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAGrC,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;iCAKwB,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,UAAwB,EAAE,EAAE,aAAa;;;aAqFxF,YAAY"}
|
|
@@ -15,29 +15,7 @@ type CheckboxGroupProps = {
|
|
|
15
15
|
declare function CheckboxGroup({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, style, 'aria-describedby': ariaDescribedBy, }: CheckboxGroupProps): import("react").JSX.Element;
|
|
16
16
|
declare namespace CheckboxGroup {
|
|
17
17
|
var displayName: string;
|
|
18
|
-
|
|
19
|
-
({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, 'data-testid': dataTestId, required, tooltip, style, size, }: Omit<({
|
|
20
|
-
error?: ReactNode;
|
|
21
|
-
helper?: ReactNode;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
checked?: boolean | 'indeterminate';
|
|
24
|
-
className?: string;
|
|
25
|
-
"data-visibility"?: string;
|
|
26
|
-
required?: boolean;
|
|
27
|
-
'data-testid'?: string;
|
|
28
|
-
tooltip?: string;
|
|
29
|
-
size?: 'default' | 'small';
|
|
30
|
-
} & (Pick<InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "autoFocus" | "id" | "name" | "onBlur" | "onChange" | "onClick" | "onFocus" | "onKeyDown" | "style" | "tabIndex" | "value"> & ({
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
'aria-label'?: never;
|
|
33
|
-
} | {
|
|
34
|
-
children?: never;
|
|
35
|
-
'aria-label': string;
|
|
36
|
-
}))) & import("react").RefAttributes<HTMLInputElement>, "checked" | "onChange"> & {
|
|
37
|
-
value: string;
|
|
38
|
-
}): import("react").JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
18
|
+
export { CheckboxGroupCheckbox as Checkbox };
|
|
41
19
|
}
|
|
42
20
|
export { CheckboxGroupCheckbox, CheckboxGroup };
|
|
43
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CheckboxGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQ3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAGxD,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB,GAAG,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC,GAC5E,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC,CAAA;+BAKjE,EACrB,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,SAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,QAAgB,EAChB,KAAK,EACL,kBAAkB,EAAE,eAAe,GACpC,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CheckboxGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQ3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAGxD,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB,GAAG,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC,GAC5E,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC,CAAA;+BAKjE,EACrB,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,SAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,QAAgB,EAChB,KAAK,EACL,kBAAkB,EAAE,eAAe,GACpC,EAAE,kBAAkB;;;aAsDI,qBAAqB;;AAE9C,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { ChipIcon } from './ChipIcon';
|
|
2
3
|
type ChipType = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
size?: 'medium' | 'large';
|
|
@@ -12,14 +13,7 @@ type ChipType = {
|
|
|
12
13
|
export declare function Chip({ children, size, disabled, active, className, 'data-testid': dataTestId, onClick, style, }: ChipType): import("react").JSX.Element;
|
|
13
14
|
export declare namespace Chip {
|
|
14
15
|
var displayName: string;
|
|
15
|
-
|
|
16
|
-
({ icon, onClick, 'data-testid': dataTestId }: {
|
|
17
|
-
icon: ReactNode;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
'data-testid'?: string;
|
|
20
|
-
}): import("react").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
16
|
+
export { ChipIcon as Icon };
|
|
23
17
|
}
|
|
24
18
|
export {};
|
|
25
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIrD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,KAAK,QAAQ,GAAG;IACd,QAAQ,EAAE,SAAS,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;6BAKoB,EACnB,QAAQ,EACR,IAAe,EACf,QAAgB,EAChB,MAAc,EACd,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,OAAO,EACP,KAAK,GACN,EAAE,QAAQ;;;aAiEC,QAAQ"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import { Modal } from '../Modal';
|
|
3
|
+
import { DialogButton } from './components/Button';
|
|
4
|
+
import { DialogButtons } from './components/Buttons';
|
|
5
|
+
import { DialogCancelButton } from './components/CancelButton';
|
|
6
|
+
import { DialogStack } from './components/Stack';
|
|
7
|
+
import { DialogText } from './components/Text';
|
|
3
8
|
import type { DialogSentiment } from './constants';
|
|
4
|
-
import
|
|
9
|
+
import { useDialogContext } from './Context';
|
|
5
10
|
type DialogProps = Pick<ComponentProps<typeof Modal>, 'ariaLabel' | 'children' | 'className' | 'data-testid' | 'disclosure' | 'hideOnClickOutside' | 'hideOnEsc' | 'id' | 'isClosable' | 'onBeforeClose' | 'onClose' | 'open' | 'placement' | 'style'> & {
|
|
6
11
|
title: string;
|
|
7
12
|
sentiment: DialogSentiment;
|
|
@@ -13,105 +18,13 @@ export declare namespace BaseDialog {
|
|
|
13
18
|
/**
|
|
14
19
|
* The Dialog component is used to show content on top of an overlay that requires user interaction.
|
|
15
20
|
*/
|
|
16
|
-
export declare const Dialog: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} & Pick<({
|
|
24
|
-
type?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
25
|
-
autoFocus?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['autoFocus'];
|
|
26
|
-
role?: import("react").AriaRole;
|
|
27
|
-
className?: string;
|
|
28
|
-
'data-testid'?: string;
|
|
29
|
-
'data-flip-id'?: string;
|
|
30
|
-
isLoading?: boolean;
|
|
31
|
-
'aria-label'?: string;
|
|
32
|
-
'aria-current'?: boolean;
|
|
33
|
-
'aria-controls'?: string;
|
|
34
|
-
'aria-expanded'?: boolean;
|
|
35
|
-
'aria-haspopup'?: boolean;
|
|
36
|
-
'aria-describedby'?: string;
|
|
37
|
-
'aria-disabled'?: boolean;
|
|
38
|
-
'aria-pressed'?: boolean;
|
|
39
|
-
'aria-roledescription'?: string;
|
|
40
|
-
'aria-keyshortcuts'?: string;
|
|
41
|
-
onClick?: import("react").MouseEventHandler<HTMLElement>;
|
|
42
|
-
tooltip?: string;
|
|
43
|
-
form?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['form'];
|
|
44
|
-
tabIndex?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['tabIndex'];
|
|
45
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLElement>;
|
|
46
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLElement>;
|
|
47
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLElement>;
|
|
48
|
-
onBlur?: import("react").ButtonHTMLAttributes<HTMLElement>['onBlur'];
|
|
49
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLElement>;
|
|
50
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLElement>;
|
|
51
|
-
onPointerDown?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['onPointerDown'];
|
|
52
|
-
onKeyDown?: import("react").ButtonHTMLAttributes<HTMLButtonElement>['onKeyDown'];
|
|
53
|
-
style?: import("react").CSSProperties;
|
|
54
|
-
} & {
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
fullWidth?: boolean | undefined;
|
|
57
|
-
sentiment?: "black" | "danger" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "white" | undefined;
|
|
58
|
-
size?: "large" | "medium" | "small" | "xsmall" | undefined;
|
|
59
|
-
variant?: "filled" | "ghost" | "outlined" | undefined;
|
|
60
|
-
} & ({
|
|
61
|
-
children: import("react").ReactNode;
|
|
62
|
-
name?: string;
|
|
63
|
-
} & ((Without<{
|
|
64
|
-
href?: string;
|
|
65
|
-
target?: string;
|
|
66
|
-
download?: string;
|
|
67
|
-
}, {
|
|
68
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
69
|
-
}> & {
|
|
70
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
71
|
-
}) | (Without<{
|
|
72
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
73
|
-
}, {
|
|
74
|
-
href?: string;
|
|
75
|
-
target?: string;
|
|
76
|
-
download?: string;
|
|
77
|
-
}> & {
|
|
78
|
-
href?: string;
|
|
79
|
-
target?: string;
|
|
80
|
-
download?: string;
|
|
81
|
-
})))) & import("react").RefAttributes<Element>, "disabled" | "onClick" | "style" | "tooltip">): import("react").JSX.Element;
|
|
82
|
-
displayName: string;
|
|
83
|
-
};
|
|
84
|
-
Buttons: {
|
|
85
|
-
({ secondaryButton, primaryButton }: {
|
|
86
|
-
secondaryButton: import("react").ReactNode;
|
|
87
|
-
primaryButton: import("react").ReactNode;
|
|
88
|
-
}): import("react").JSX.Element;
|
|
89
|
-
displayName: string;
|
|
90
|
-
};
|
|
91
|
-
CancelButton: {
|
|
92
|
-
({ children, onClick, disabled, style }: {
|
|
93
|
-
children: import("react").ReactNode;
|
|
94
|
-
onClick: ComponentProps<typeof import("..").Button>['onClick'];
|
|
95
|
-
disabled?: ComponentProps<typeof import("..").Button>['disabled'];
|
|
96
|
-
style?: import("react").CSSProperties;
|
|
97
|
-
}): import("react").JSX.Element;
|
|
98
|
-
displayName: string;
|
|
99
|
-
};
|
|
100
|
-
Stack: {
|
|
101
|
-
({ children, style }: {
|
|
102
|
-
children: import("react").ReactNode;
|
|
103
|
-
style?: import("react").CSSProperties;
|
|
104
|
-
}): import("react").JSX.Element;
|
|
105
|
-
displayName: string;
|
|
106
|
-
};
|
|
107
|
-
Text: {
|
|
108
|
-
({ children, style }: {
|
|
109
|
-
children: React.ReactNode;
|
|
110
|
-
style?: import("react").CSSProperties;
|
|
111
|
-
}): import("react").JSX.Element;
|
|
112
|
-
displayName: string;
|
|
113
|
-
};
|
|
114
|
-
useDialogContext: () => DialogContextType;
|
|
21
|
+
export declare const Dialog: typeof BaseDialog & {
|
|
22
|
+
Button: typeof DialogButton;
|
|
23
|
+
Buttons: typeof DialogButtons;
|
|
24
|
+
CancelButton: typeof DialogCancelButton;
|
|
25
|
+
Stack: typeof DialogStack;
|
|
26
|
+
Text: typeof DialogText;
|
|
27
|
+
useDialogContext: typeof useDialogContext;
|
|
115
28
|
};
|
|
116
29
|
export {};
|
|
117
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAiB,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAM3D,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,YAAY,GACZ,eAAe,GACf,SAAS,GACT,MAAM,GACN,WAAW,GACX,OAAO,CACV,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;mCAE0B,EACzB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,aAAa,EAAE,UAAU,EACzB,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,EAAE,EACF,UAAU,EACV,aAAa,EACb,OAAO,EACP,IAAI,EACJ,SAAS,EACT,SAAS,EACT,KAAK,EACL,KAAK,GACN,EAAE,WAAW;;;;AAuDd;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;CAOjB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ComponentProps, RefObject } from 'react';
|
|
2
2
|
import { Modal } from '../Modal';
|
|
3
3
|
import type { ModalProps } from '../Modal';
|
|
4
|
+
import { DrawerContent } from './DrawerContent';
|
|
4
5
|
import type { SizeProp } from './styles.css';
|
|
5
6
|
type DrawerProps = Pick<ComponentProps<typeof Modal>, 'ariaLabel' | 'children' | 'className' | 'data-testid' | 'disclosure' | 'hideOnClickOutside' | 'hideOnEsc' | 'id' | 'onClose' | 'open' | 'isClosable' | 'style'> & {
|
|
6
7
|
header?: ModalProps['children'];
|
|
@@ -17,16 +18,8 @@ export declare function BaseDrawer({ size, onClose, open, header, footer, disclo
|
|
|
17
18
|
export declare namespace BaseDrawer {
|
|
18
19
|
var displayName: string;
|
|
19
20
|
}
|
|
20
|
-
export declare const Drawer: {
|
|
21
|
-
|
|
22
|
-
displayName: string;
|
|
23
|
-
} & {
|
|
24
|
-
Content: {
|
|
25
|
-
({ children }: {
|
|
26
|
-
children: import("react").ReactNode;
|
|
27
|
-
}): import("react").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
21
|
+
export declare const Drawer: typeof BaseDrawer & {
|
|
22
|
+
Content: typeof DrawerContent;
|
|
30
23
|
};
|
|
31
24
|
export {};
|
|
32
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAK1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,SAAS,GACT,MAAM,GACN,YAAY,GACZ,OAAO,CACV,GAAG;IACF,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,MAAM,CAAA;CACjD,CAAA;mCAE0B,EACzB,IAAe,EACf,OAAO,EACP,IAAY,EACZ,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,kBAAkB,EAClB,SAAS,EACT,EAAE,EACF,UAAU,EACV,IAAI,EACJ,SAAgB,EAChB,SAAiB,EACjB,KAAK,GACN,EAAE,WAAW;;;;AA2Fd,eAAO,MAAM,MAAM;;CAEjB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, DetailsHTMLAttributes, KeyboardEvent, ReactNode } from 'react';
|
|
2
|
+
import { ExpandableCardTitle } from './components/Title';
|
|
2
3
|
import type { EXPANDABLE_CARD_SIZE } from './constants';
|
|
3
4
|
type ExpandableCardSize = (typeof EXPANDABLE_CARD_SIZE)[number];
|
|
4
5
|
type DraggableProps = {
|
|
@@ -41,10 +42,7 @@ export declare const ExpandableCard: import("react").ForwardRefExoticComponent<(
|
|
|
41
42
|
expanded?: undefined;
|
|
42
43
|
onToggleExpand?: undefined;
|
|
43
44
|
} & CommonProps)) & import("react").RefAttributes<HTMLDetailsElement>> & {
|
|
44
|
-
Title:
|
|
45
|
-
({ as, size, children, disabled, style }: import("./components/Title").ExpandableCardTitleProps): import("react").JSX.Element;
|
|
46
|
-
displayName: string;
|
|
47
|
-
};
|
|
45
|
+
Title: typeof ExpandableCardTitle;
|
|
48
46
|
};
|
|
49
47
|
export {};
|
|
50
48
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableCard/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAA2B,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableCard/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAA2B,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIpH,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAIvD,KAAK,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE/D,KAAK,cAAc,GACf;IACE,SAAS,EAAE,IAAI,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACrD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;CAC3D,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,gBAAgB,CAAC,EAAE,KAAK,CAAA;IACxB,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,SAAS,CAAC,EAAE,KAAK,CAAA;CAClB,CAAA;AACL,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,IAAI,CAAC,EAAE,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;IACxD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,GAAG,cAAc,CAAA;AA4MlB,eAAO,MAAM,cAAc;cA1M+B,OAAO;oBAAkB,MAAM,IAAI;;;;;;CA4M3F,CAAA"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import { FileInputButton } from './components/Button';
|
|
2
|
+
import { ListFiles } from './components/List';
|
|
1
3
|
import type { FileInputProps } from './types';
|
|
2
|
-
|
|
4
|
+
/**
|
|
5
|
+
* FileInput allow user to drag & drop and upload one or multiple files.
|
|
6
|
+
*/
|
|
7
|
+
declare const FileInputBase: {
|
|
3
8
|
({ style, className, variant, size, title, children, onDrop, label, labelDescription, disabled, accept, id, 'aria-label': ariaLabel, defaultFiles, onChangeFiles, helper, multiple, bottom, required, error, onChange, onFocus, onBlur, name, onKeyDown, onKeyUp, disabledDragndrop, validator, onDropError, 'data-testid': dataTestid, 'aria-describedby': ariaDescribedBy, allowDirectories, }: FileInputProps): import("react").JSX.Element;
|
|
4
9
|
displayName: string;
|
|
5
|
-
} & {
|
|
6
|
-
Button: {
|
|
7
|
-
({ children, disabled, ...props }: import("react").ComponentProps<typeof import("..").Button>): import("react").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
List: {
|
|
11
|
-
({ limit, textLimit, prominence, onDelete }: import("./types").ListProps): import("react").JSX.Element | null;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
10
|
};
|
|
11
|
+
export declare const FileInput: typeof FileInputBase & {
|
|
12
|
+
Button: typeof FileInputButton;
|
|
13
|
+
List: typeof ListFiles;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAI7C,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;AASxD;;GAEG;AACH,QAAA,MAAM,aAAa;sYAiChB,cAAc;;CAsQhB,CAAA;AAID,eAAO,MAAM,SAAS;;;CAGpB,CAAA"}
|
|
@@ -92,7 +92,7 @@ var init_FileInput = __esmMin(() => {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
const formattedNewFiles = newFiles.map((file) => Object.assign(file, { file: URL.createObjectURL(file) }));
|
|
95
|
-
const formattedFiles = computedMultiple ? [...files, ...formattedNewFiles] : [formattedNewFiles[0]];
|
|
95
|
+
const formattedFiles = (computedMultiple ? [...files, ...formattedNewFiles] : [formattedNewFiles[0]]).filter(Boolean);
|
|
96
96
|
setFiles(formattedFiles);
|
|
97
97
|
onChangeFiles === null || onChangeFiles === void 0 || onChangeFiles(formattedFiles);
|
|
98
98
|
if (addedFiles && onChange) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { GlobalAlertLink } from './GlobalAlertLink';
|
|
2
3
|
type GlobalAlertProps = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
variant?: 'info' | 'danger' | 'promotional';
|
|
@@ -13,69 +14,7 @@ type GlobalAlertProps = {
|
|
|
13
14
|
export declare function GlobalAlert({ children, variant, onClose, closable, buttonText, onClickButton, className, 'data-testid': dataTestId, style, }: GlobalAlertProps): import("react").JSX.Element | null;
|
|
14
15
|
export declare namespace GlobalAlert {
|
|
15
16
|
var displayName: string;
|
|
16
|
-
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
target?: import("react").HTMLAttributeAnchorTarget;
|
|
19
|
-
download?: string | boolean;
|
|
20
|
-
sentiment?: 'primary' | 'info';
|
|
21
|
-
prominence?: import("../Link").ProminenceProps;
|
|
22
|
-
size?: "large" | "small" | "xsmall";
|
|
23
|
-
iconPosition?: "left" | "right";
|
|
24
|
-
rel?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>['rel'];
|
|
25
|
-
className?: string;
|
|
26
|
-
onClick?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
27
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLAnchorElement>;
|
|
28
|
-
'aria-label'?: string;
|
|
29
|
-
'aria-current'?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>['aria-current'];
|
|
30
|
-
'aria-keyshortcuts'?: string;
|
|
31
|
-
oneLine?: boolean;
|
|
32
|
-
'data-testid'?: string;
|
|
33
|
-
variant?: 'inline' | 'standalone';
|
|
34
|
-
style?: CSSProperties;
|
|
35
|
-
} & ((Without<{
|
|
36
|
-
href?: string;
|
|
37
|
-
}, {
|
|
38
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
39
|
-
}> & {
|
|
40
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
41
|
-
}) | (Without<{
|
|
42
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
43
|
-
}, {
|
|
44
|
-
href?: string;
|
|
45
|
-
}> & {
|
|
46
|
-
href?: string;
|
|
47
|
-
}))) & import("react").RefAttributes<HTMLAnchorElement>, "prominence" | "render" | "sentiment" | "size"> & Pick<({
|
|
48
|
-
children: ReactNode;
|
|
49
|
-
target?: import("react").HTMLAttributeAnchorTarget;
|
|
50
|
-
download?: string | boolean;
|
|
51
|
-
sentiment?: 'primary' | 'info';
|
|
52
|
-
prominence?: import("../Link").ProminenceProps;
|
|
53
|
-
size?: "large" | "small" | "xsmall";
|
|
54
|
-
iconPosition?: "left" | "right";
|
|
55
|
-
rel?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>['rel'];
|
|
56
|
-
className?: string;
|
|
57
|
-
onClick?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
58
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLAnchorElement>;
|
|
59
|
-
'aria-label'?: string;
|
|
60
|
-
'aria-current'?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>['aria-current'];
|
|
61
|
-
'aria-keyshortcuts'?: string;
|
|
62
|
-
oneLine?: boolean;
|
|
63
|
-
'data-testid'?: string;
|
|
64
|
-
variant?: 'inline' | 'standalone';
|
|
65
|
-
style?: CSSProperties;
|
|
66
|
-
} & ((Without<{
|
|
67
|
-
href?: string;
|
|
68
|
-
}, {
|
|
69
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
70
|
-
}> & {
|
|
71
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
72
|
-
}) | (Without<{
|
|
73
|
-
render: import("@ultraviolet/utils").RenderProp;
|
|
74
|
-
}, {
|
|
75
|
-
href?: string;
|
|
76
|
-
}> & {
|
|
77
|
-
href?: string;
|
|
78
|
-
}))) & import("react").RefAttributes<HTMLAnchorElement>, "href">) => import("react").JSX.Element;
|
|
17
|
+
export { GlobalAlertLink as Link };
|
|
79
18
|
}
|
|
80
19
|
export {};
|
|
81
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GlobalAlert/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GlobalAlert/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIrD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGnD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,aAAa,CAAA;IAC3C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;oCAM2B,EAC1B,QAAQ,EACR,OAAgB,EAChB,OAAO,EACP,QAAe,EACf,UAAU,EACV,aAAa,EACb,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,KAAK,GACN,EAAE,gBAAgB;;;aA8CA,eAAe"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Ref } from 'react';
|
|
2
|
+
import { Group } from './components/Group';
|
|
2
3
|
export declare const Menu: import("react").ForwardRefExoticComponent<{
|
|
3
4
|
id?: string;
|
|
4
5
|
ariaLabel?: string;
|
|
@@ -54,16 +55,7 @@ export declare const Menu: import("react").ForwardRefExoticComponent<{
|
|
|
54
55
|
dynamicDomRendering?: boolean;
|
|
55
56
|
style?: import("react").CSSProperties;
|
|
56
57
|
} & import("react").RefAttributes<HTMLDivElement>, "align" | "dynamicDomRendering" | "style"> & import("react").RefAttributes<HTMLButtonElement>> & {
|
|
57
|
-
Group:
|
|
58
|
-
({ label, children, labelDescription, emptyState, style }: {
|
|
59
|
-
label: string;
|
|
60
|
-
children: import("react").ReactNode;
|
|
61
|
-
labelDescription?: import("react").ReactNode;
|
|
62
|
-
emptyState?: import("react").ReactNode;
|
|
63
|
-
style?: import("react").CSSProperties;
|
|
64
|
-
}): import("react").JSX.Element;
|
|
65
|
-
displayName: string;
|
|
66
|
-
};
|
|
58
|
+
Group: typeof Group;
|
|
67
59
|
Item: import("react").ForwardRefExoticComponent<{
|
|
68
60
|
href?: HTMLAnchorElement['href'];
|
|
69
61
|
target?: HTMLAnchorElement['target'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAkB1C,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
import type { CSSProperties } from 'react';
|
|
2
|
+
import { Block } from './Block';
|
|
3
|
+
import { Blocks } from './Blocks';
|
|
4
|
+
import { BoxWithIcon } from './BoxWithIcon';
|
|
5
|
+
import { Donut } from './Donut';
|
|
6
|
+
import { Line } from './Line';
|
|
7
|
+
import { List } from './List';
|
|
8
|
+
import { Slider } from './Slider';
|
|
9
|
+
import { Square } from './Square';
|
|
2
10
|
declare const variants: {
|
|
3
|
-
readonly block:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
readonly
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly
|
|
11
|
-
col?: number;
|
|
12
|
-
length?: number;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
14
|
-
readonly donut: () => import("react").JSX.Element;
|
|
15
|
-
readonly line: () => import("react").JSX.Element;
|
|
16
|
-
readonly list: ({ length, col }: {
|
|
17
|
-
length?: number;
|
|
18
|
-
col?: number;
|
|
19
|
-
}) => import("react").JSX.Element;
|
|
20
|
-
readonly slider: ({ length }: {
|
|
21
|
-
length?: number;
|
|
22
|
-
}) => import("react").JSX.Element;
|
|
23
|
-
readonly square: () => import("react").JSX.Element;
|
|
11
|
+
readonly block: typeof Block;
|
|
12
|
+
readonly blocks: typeof Blocks;
|
|
13
|
+
readonly box: typeof BoxWithIcon;
|
|
14
|
+
readonly donut: typeof Donut;
|
|
15
|
+
readonly line: typeof Line;
|
|
16
|
+
readonly list: typeof List;
|
|
17
|
+
readonly slider: typeof Slider;
|
|
18
|
+
readonly square: typeof Square;
|
|
24
19
|
};
|
|
25
20
|
type SkeletonVariant = keyof typeof variants;
|
|
26
21
|
type SkeletonProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,QAAA,MAAM,QAAQ;aACZ,KAAK;aACL,MAAM;aACN,GAAG;aACH,KAAK;aACL,IAAI;aACJ,IAAI;aACJ,MAAM;aACN,MAAM;CACE,CAAA;AAEV,KAAK,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAA;AAE5C,KAAK,aAAa,GAAG;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;iCAOwB,EACvB,OAAkB,EAClB,MAAM,EACN,GAAG,EACH,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,UAAU,EACzB,KAAK,GACN,EAAE,aAAa;;;;AAqBhB,eAAO,MAAM,aAAa,EAA4B,eAAe,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Status/styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Status/styles.css.ts"],"names":[],"mappings":"AA+DA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Item } from './Item';
|
|
2
3
|
type StepListProps = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
className?: string;
|
|
@@ -8,20 +9,7 @@ type StepListProps = {
|
|
|
8
9
|
export declare function StepList({ children, className, style, 'data-testid': dataTestId }: StepListProps): import("react").JSX.Element;
|
|
9
10
|
export declare namespace StepList {
|
|
10
11
|
var displayName: string;
|
|
11
|
-
|
|
12
|
-
({ bulletContent, sentiment, prominence, children, onClick, onKeyDown, size, disabled, className, }: {
|
|
13
|
-
sentiment?: import("react").ComponentProps<typeof import("..").Bullet>['sentiment'];
|
|
14
|
-
prominence?: import("react").ComponentProps<typeof import("..").Bullet>['prominence'];
|
|
15
|
-
size?: import("./Item").Sizes;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
onKeyDown?: () => void;
|
|
20
|
-
className?: string;
|
|
21
|
-
bulletContent?: ReactNode;
|
|
22
|
-
}): import("react").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export { Item };
|
|
25
13
|
}
|
|
26
14
|
export {};
|
|
27
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;iCAMwB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,aAAa"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Step } from './Step';
|
|
2
3
|
type StepperProps = {
|
|
3
4
|
animated?: boolean;
|
|
4
5
|
/**
|
|
@@ -20,19 +21,7 @@ type StepperProps = {
|
|
|
20
21
|
export declare function Stepper({ children, interactive, selected, animated, className, labelPosition, size, 'data-testid': dataTestId, separator, style, }: StepperProps): import("react").JSX.Element;
|
|
21
22
|
export declare namespace Stepper {
|
|
22
23
|
var displayName: string;
|
|
23
|
-
|
|
24
|
-
({ index, onClick, disabled, title, children, className, style, 'data-testid': dataTestId, }: {
|
|
25
|
-
onClick?: (index: number) => void;
|
|
26
|
-
index?: number;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
title?: ReactNode;
|
|
29
|
-
children?: ReactNode;
|
|
30
|
-
className?: string;
|
|
31
|
-
'data-testid'?: string;
|
|
32
|
-
style?: CSSProperties;
|
|
33
|
-
}): import("react").JSX.Element;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
24
|
+
export { Step };
|
|
36
25
|
}
|
|
37
26
|
export {};
|
|
38
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAI7B,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;gCAEuB,EACtB,QAAQ,EACR,WAAmB,EACnB,QAAY,EACZ,QAAgB,EAChB,SAAS,EACT,aAAwB,EACxB,IAAe,EACf,aAAa,EAAE,UAAU,EACzB,SAAgB,EAChB,KAAK,GACN,EAAE,YAAY"}
|