@ultraviolet/plus 0.17.8 → 0.17.10
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/README.md +1 -1
- package/dist/components/ContentCardGroup/index.d.ts +4 -4
- package/dist/components/Conversation/index.d.ts +2 -2
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +2 -3
- package/dist/components/EstimateCost/Components/NumberInput.cjs +3 -2
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +2 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +3 -2
- package/dist/components/EstimateCost/Components/Strong.d.ts +4 -4
- package/dist/components/EstimateCost/EstimateCost.d.ts +102 -100
- package/dist/components/EstimateCost/componentStyle.d.ts +55 -56
- package/dist/components/Navigation/Navigation.d.ts +19 -20
- package/dist/components/Navigation/components/Item.cjs +19 -21
- package/dist/components/Navigation/components/Item.js +19 -21
- package/dist/components/SteppedListCard/SteppedListContainer.cjs +2 -4
- package/dist/components/SteppedListCard/SteppedListContainer.d.ts +1 -1
- package/dist/components/SteppedListCard/SteppedListContainer.js +2 -4
- package/dist/components/SteppedListCard/helper.cjs +3 -6
- package/dist/components/SteppedListCard/helper.d.ts +0 -1
- package/dist/components/SteppedListCard/helper.js +3 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,12 +5,12 @@ type BaseContentCardGroupProps = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const ContentCardGroup: import("react").ForwardRefExoticComponent<BaseContentCardGroupProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
7
7
|
Card: import("react").ForwardRefExoticComponent<{
|
|
8
|
-
title?: string
|
|
9
|
-
subtitle?: string
|
|
10
|
-
description?: string
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
description?: string;
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
href: string;
|
|
13
|
-
target?: import("react").
|
|
13
|
+
target?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>["target"];
|
|
14
14
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -9,7 +9,7 @@ declare const Conversation: {
|
|
|
9
9
|
Message: ({ className, children, avatar, align, }: MessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
MessageInfos: ({ children, align, }: {
|
|
11
11
|
children: ReactNode;
|
|
12
|
-
align:
|
|
12
|
+
align: "left" | "right";
|
|
13
13
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
Tag: ({ children }: {
|
|
15
15
|
children: ReactNode;
|
|
@@ -17,7 +17,7 @@ declare const Conversation: {
|
|
|
17
17
|
};
|
|
18
18
|
export declare const MessageInfos: ({ children, align, }: {
|
|
19
19
|
children: ReactNode;
|
|
20
|
-
align:
|
|
20
|
+
align: "left" | "right";
|
|
21
21
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
22
|
export declare const Date: ({ children }: {
|
|
23
23
|
children: ReactNode;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type LineThroughProps = {
|
|
3
2
|
isActive?: boolean;
|
|
4
3
|
};
|
|
5
4
|
export declare const LineThrough: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?: import("react").ElementType
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: import("react").ElementType;
|
|
8
7
|
} & LineThroughProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
9
8
|
export {};
|
|
@@ -11,7 +11,8 @@ const NumberInput = ({
|
|
|
11
11
|
minValue = 0,
|
|
12
12
|
maxValue = 100,
|
|
13
13
|
getAmountValue,
|
|
14
|
-
itemCallback
|
|
14
|
+
itemCallback,
|
|
15
|
+
controls = true
|
|
15
16
|
}) => {
|
|
16
17
|
const {
|
|
17
18
|
isOverlay
|
|
@@ -24,6 +25,6 @@ const NumberInput = ({
|
|
|
24
25
|
setValue(newValue);
|
|
25
26
|
itemCallback?.(newValue, true);
|
|
26
27
|
getAmountValue?.(newValue);
|
|
27
|
-
}, value });
|
|
28
|
+
}, value, controls });
|
|
28
29
|
};
|
|
29
30
|
exports.NumberInput = NumberInput;
|
|
@@ -4,6 +4,7 @@ type NumberInputProps = {
|
|
|
4
4
|
getAmountValue?: (amount?: number | null) => void;
|
|
5
5
|
minValue?: number;
|
|
6
6
|
maxValue?: number;
|
|
7
|
+
controls?: boolean;
|
|
7
8
|
};
|
|
8
|
-
export declare const NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, }: NumberInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: NumberInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -9,7 +9,8 @@ const NumberInput = ({
|
|
|
9
9
|
minValue = 0,
|
|
10
10
|
maxValue = 100,
|
|
11
11
|
getAmountValue,
|
|
12
|
-
itemCallback
|
|
12
|
+
itemCallback,
|
|
13
|
+
controls = true
|
|
13
14
|
}) => {
|
|
14
15
|
const {
|
|
15
16
|
isOverlay
|
|
@@ -22,7 +23,7 @@ const NumberInput = ({
|
|
|
22
23
|
setValue(newValue);
|
|
23
24
|
itemCallback?.(newValue, true);
|
|
24
25
|
getAmountValue?.(newValue);
|
|
25
|
-
}, value });
|
|
26
|
+
}, value, controls });
|
|
26
27
|
};
|
|
27
28
|
export {
|
|
28
29
|
NumberInput
|
|
@@ -5,12 +5,12 @@ type StrongProps = {
|
|
|
5
5
|
isDisabledOnOverlay?: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare const StyledStrong: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
variant?: "
|
|
9
|
-
isDisabledOnOverlay?: boolean
|
|
8
|
+
variant?: "normal" | "small" | "big" | "capitalized";
|
|
9
|
+
isDisabledOnOverlay?: boolean;
|
|
10
10
|
children?: ReactNode;
|
|
11
|
-
className?: string
|
|
11
|
+
className?: string;
|
|
12
12
|
} & {
|
|
13
|
-
theme?: import("@emotion/react").Theme
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
14
|
} & StrongProps, {}, {}>;
|
|
15
15
|
export declare const Strong: ({ variant, children, isDisabledOnOverlay, }: StrongProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,154 +1,156 @@
|
|
|
1
|
+
import { Text } from '@ultraviolet/ui';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
import type { EstimateCostProps } from './types';
|
|
3
4
|
declare const EstimateCost: {
|
|
4
5
|
({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, numberLocales, currency, onTotalPriceChange, }: EstimateCostProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
6
|
LineThrough: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?: import("react").ElementType
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: import("react").ElementType;
|
|
8
9
|
} & {
|
|
9
|
-
isActive?: boolean
|
|
10
|
+
isActive?: boolean;
|
|
10
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
11
12
|
Item: ({ discount, priceText, discountText, label, tooltipInfo, subLabel, price: basePrice, monthlyPrice, unit: baseUnit, amount: currentAmount, onAmountChange, amountFree, maxAmount, longFractionDigits, noIteration, noIterationText, noBorder, noPrice, isDefined, children, isFirstElement, isLastElement, isPrimaryBackground, productsCallback, iteration: receivedIteration, shouldBeHidden, hideFromOverlay, textNotDefined, animated, tabulation, labelTextVariant, labelTextProminence, notice, }: {
|
|
12
|
-
amount?: number
|
|
13
|
-
amountFree?: number
|
|
14
|
-
animated?: boolean
|
|
13
|
+
amount?: number;
|
|
14
|
+
amountFree?: number;
|
|
15
|
+
animated?: boolean;
|
|
15
16
|
children?: ReactNode;
|
|
16
|
-
discount?: number
|
|
17
|
-
discountText?: string
|
|
18
|
-
hideFromOverlay?: boolean
|
|
19
|
-
isDefined?: boolean
|
|
20
|
-
isFirstElement?: boolean
|
|
21
|
-
isLastElement?: boolean
|
|
22
|
-
isPrimaryBackground?: boolean
|
|
23
|
-
iteration?: import("./types").Iteration
|
|
17
|
+
discount?: number;
|
|
18
|
+
discountText?: string;
|
|
19
|
+
hideFromOverlay?: boolean;
|
|
20
|
+
isDefined?: boolean;
|
|
21
|
+
isFirstElement?: boolean;
|
|
22
|
+
isLastElement?: boolean;
|
|
23
|
+
isPrimaryBackground?: boolean;
|
|
24
|
+
iteration?: import("./types").Iteration;
|
|
24
25
|
label?: ReactNode;
|
|
25
|
-
labelTextVariant?: "
|
|
26
|
-
labelTextProminence?: "
|
|
27
|
-
longFractionDigits?: boolean
|
|
28
|
-
maxAmount?: number
|
|
29
|
-
monthlyPrice?: number
|
|
30
|
-
noBorder?: boolean
|
|
31
|
-
noIteration?: boolean
|
|
32
|
-
noIterationText?: string
|
|
33
|
-
noPrice?: boolean
|
|
34
|
-
notice?: string
|
|
35
|
-
onAmountChange?: (
|
|
36
|
-
price?: number
|
|
26
|
+
labelTextVariant?: import("react").ComponentProps<typeof Text>["variant"];
|
|
27
|
+
labelTextProminence?: import("react").ComponentProps<typeof Text>["prominence"];
|
|
28
|
+
longFractionDigits?: boolean;
|
|
29
|
+
maxAmount?: number;
|
|
30
|
+
monthlyPrice?: number;
|
|
31
|
+
noBorder?: boolean;
|
|
32
|
+
noIteration?: boolean;
|
|
33
|
+
noIterationText?: string;
|
|
34
|
+
noPrice?: boolean;
|
|
35
|
+
notice?: string;
|
|
36
|
+
onAmountChange?: (amount: number) => void;
|
|
37
|
+
price?: number;
|
|
37
38
|
priceText?: ReactNode;
|
|
38
39
|
productsCallback?: {
|
|
39
40
|
add: (product: import("./types").EstimateProduct) => void;
|
|
40
41
|
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
41
|
-
}
|
|
42
|
-
shouldBeHidden?: boolean
|
|
43
|
-
subLabel?: string
|
|
44
|
-
tabulation?: number
|
|
45
|
-
textNotDefined?: string
|
|
46
|
-
tooltipInfo?: string
|
|
47
|
-
unit?:
|
|
42
|
+
};
|
|
43
|
+
shouldBeHidden?: boolean;
|
|
44
|
+
subLabel?: string;
|
|
45
|
+
tabulation?: number;
|
|
46
|
+
textNotDefined?: string;
|
|
47
|
+
tooltipInfo?: string;
|
|
48
|
+
unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & {});
|
|
48
49
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
49
|
-
NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, }: {
|
|
50
|
-
amount?: number
|
|
51
|
-
itemCallback?: (
|
|
52
|
-
getAmountValue?: (
|
|
53
|
-
minValue?: number
|
|
54
|
-
maxValue?: number
|
|
50
|
+
NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
|
|
51
|
+
amount?: number;
|
|
52
|
+
itemCallback?: (amount?: number | null, isVariant?: boolean) => void;
|
|
53
|
+
getAmountValue?: (amount?: number | null) => void;
|
|
54
|
+
minValue?: number;
|
|
55
|
+
maxValue?: number;
|
|
56
|
+
controls?: boolean;
|
|
55
57
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
56
58
|
Unit: ({ amount, itemCallback, getAmountValue, unit, }: {
|
|
57
|
-
amount?: number
|
|
58
|
-
itemCallback?: (
|
|
59
|
-
getAmountValue?: (
|
|
60
|
-
unit?: string
|
|
59
|
+
amount?: number;
|
|
60
|
+
itemCallback?: (amount?: number, isVariant?: boolean) => void;
|
|
61
|
+
getAmountValue?: (amount?: number) => void;
|
|
62
|
+
unit?: string;
|
|
61
63
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
62
64
|
Strong: ({ variant, children, isDisabledOnOverlay, }: {
|
|
63
|
-
variant?: "
|
|
65
|
+
variant?: "normal" | "small" | "big" | "capitalized";
|
|
64
66
|
children?: ReactNode;
|
|
65
|
-
isDisabledOnOverlay?: boolean
|
|
67
|
+
isDisabledOnOverlay?: boolean;
|
|
66
68
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
67
69
|
Regular: ({ variant, isDisabledOnOverlay, children, className, }: {
|
|
68
|
-
variant?: "
|
|
69
|
-
isDisabledOnOverlay?: boolean
|
|
70
|
+
variant?: "normal" | "small" | "big" | "capitalized";
|
|
71
|
+
isDisabledOnOverlay?: boolean;
|
|
70
72
|
children?: ReactNode;
|
|
71
|
-
className?: string
|
|
73
|
+
className?: string;
|
|
72
74
|
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
73
75
|
Image: import("@emotion/styled").StyledComponent<{
|
|
74
|
-
theme?: import("@emotion/react").Theme
|
|
75
|
-
as?:
|
|
76
|
+
theme?: import("@emotion/react").Theme;
|
|
77
|
+
as?: React.ElementType;
|
|
76
78
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
77
79
|
Region: ({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, }: {
|
|
78
|
-
shouldBeHidden?: boolean
|
|
80
|
+
shouldBeHidden?: boolean;
|
|
79
81
|
priceText?: ReactNode;
|
|
80
|
-
animated?: boolean
|
|
81
|
-
isFirstElement?: boolean
|
|
82
|
-
isLastElement?: boolean
|
|
82
|
+
animated?: boolean;
|
|
83
|
+
isFirstElement?: boolean;
|
|
84
|
+
isLastElement?: boolean;
|
|
83
85
|
productsCallback?: {
|
|
84
86
|
add: (product: import("./types").EstimateProduct) => void;
|
|
85
87
|
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
86
|
-
}
|
|
87
|
-
iteration?: import("./types").Iteration
|
|
88
|
-
discount?: number
|
|
88
|
+
};
|
|
89
|
+
iteration?: import("./types").Iteration;
|
|
90
|
+
discount?: number;
|
|
89
91
|
label: string;
|
|
90
92
|
image: string;
|
|
91
|
-
noBorder?: boolean
|
|
92
|
-
noPrice?: boolean
|
|
93
|
+
noBorder?: boolean;
|
|
94
|
+
noPrice?: boolean;
|
|
93
95
|
} & Pick<{
|
|
94
|
-
amount?: number
|
|
95
|
-
amountFree?: number
|
|
96
|
-
animated?: boolean
|
|
96
|
+
amount?: number;
|
|
97
|
+
amountFree?: number;
|
|
98
|
+
animated?: boolean;
|
|
97
99
|
children?: ReactNode;
|
|
98
|
-
discount?: number
|
|
99
|
-
discountText?: string
|
|
100
|
-
hideFromOverlay?: boolean
|
|
101
|
-
isDefined?: boolean
|
|
102
|
-
isFirstElement?: boolean
|
|
103
|
-
isLastElement?: boolean
|
|
104
|
-
isPrimaryBackground?: boolean
|
|
105
|
-
iteration?: import("./types").Iteration
|
|
100
|
+
discount?: number;
|
|
101
|
+
discountText?: string;
|
|
102
|
+
hideFromOverlay?: boolean;
|
|
103
|
+
isDefined?: boolean;
|
|
104
|
+
isFirstElement?: boolean;
|
|
105
|
+
isLastElement?: boolean;
|
|
106
|
+
isPrimaryBackground?: boolean;
|
|
107
|
+
iteration?: import("./types").Iteration;
|
|
106
108
|
label?: ReactNode;
|
|
107
|
-
labelTextVariant?: "
|
|
108
|
-
labelTextProminence?: "
|
|
109
|
-
longFractionDigits?: boolean
|
|
110
|
-
maxAmount?: number
|
|
111
|
-
monthlyPrice?: number
|
|
112
|
-
noBorder?: boolean
|
|
113
|
-
noIteration?: boolean
|
|
114
|
-
noIterationText?: string
|
|
115
|
-
noPrice?: boolean
|
|
116
|
-
notice?: string
|
|
117
|
-
onAmountChange?: (
|
|
118
|
-
price?: number
|
|
109
|
+
labelTextVariant?: import("react").ComponentProps<typeof Text>["variant"];
|
|
110
|
+
labelTextProminence?: import("react").ComponentProps<typeof Text>["prominence"];
|
|
111
|
+
longFractionDigits?: boolean;
|
|
112
|
+
maxAmount?: number;
|
|
113
|
+
monthlyPrice?: number;
|
|
114
|
+
noBorder?: boolean;
|
|
115
|
+
noIteration?: boolean;
|
|
116
|
+
noIterationText?: string;
|
|
117
|
+
noPrice?: boolean;
|
|
118
|
+
notice?: string;
|
|
119
|
+
onAmountChange?: (amount: number) => void;
|
|
120
|
+
price?: number;
|
|
119
121
|
priceText?: ReactNode;
|
|
120
122
|
productsCallback?: {
|
|
121
123
|
add: (product: import("./types").EstimateProduct) => void;
|
|
122
124
|
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
123
|
-
}
|
|
124
|
-
shouldBeHidden?: boolean
|
|
125
|
-
subLabel?: string
|
|
126
|
-
tabulation?: number
|
|
127
|
-
textNotDefined?: string
|
|
128
|
-
tooltipInfo?: string
|
|
129
|
-
unit?:
|
|
125
|
+
};
|
|
126
|
+
shouldBeHidden?: boolean;
|
|
127
|
+
subLabel?: string;
|
|
128
|
+
tabulation?: number;
|
|
129
|
+
textNotDefined?: string;
|
|
130
|
+
tooltipInfo?: string;
|
|
131
|
+
unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & {});
|
|
130
132
|
}, "hideFromOverlay">) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
131
133
|
Zone: ({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, }: {
|
|
132
|
-
shouldBeHidden?: boolean
|
|
133
|
-
priceText?: string
|
|
134
|
-
animated?: boolean
|
|
135
|
-
isFirstElement?: boolean
|
|
136
|
-
isLastElement?: boolean
|
|
134
|
+
shouldBeHidden?: boolean;
|
|
135
|
+
priceText?: string;
|
|
136
|
+
animated?: boolean;
|
|
137
|
+
isFirstElement?: boolean;
|
|
138
|
+
isLastElement?: boolean;
|
|
137
139
|
productsCallback?: {
|
|
138
140
|
add: (product: import("./types").EstimateProduct) => void;
|
|
139
141
|
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
140
|
-
}
|
|
141
|
-
iteration?: import("./types").Iteration
|
|
142
|
-
discount?: number
|
|
142
|
+
};
|
|
143
|
+
iteration?: import("./types").Iteration;
|
|
144
|
+
discount?: number;
|
|
143
145
|
label: string;
|
|
144
146
|
image: string;
|
|
145
|
-
noBorder?: boolean
|
|
146
|
-
noPrice?: boolean
|
|
147
|
+
noBorder?: boolean;
|
|
148
|
+
noPrice?: boolean;
|
|
147
149
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
148
150
|
Ellipsis: ({ children, maxWidth, "data-testid": dataTestId, }: {
|
|
149
151
|
children: ReactNode;
|
|
150
152
|
maxWidth?: number;
|
|
151
|
-
|
|
153
|
+
"data-testid"?: string;
|
|
152
154
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
153
155
|
};
|
|
154
156
|
export { EstimateCost };
|
|
@@ -1,107 +1,106 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { Theme } from '@emotion/react';
|
|
3
2
|
export declare const StyledDiv: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: Theme
|
|
5
|
-
as?:
|
|
3
|
+
theme?: Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
6
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
6
|
export declare const StyledTable: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: Theme
|
|
9
|
-
as?: import("react").ElementType
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
as?: import("react").ElementType;
|
|
10
9
|
} & {
|
|
11
10
|
noTotal: boolean;
|
|
12
11
|
}, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
13
12
|
export declare const StyledFeesTable: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: Theme
|
|
15
|
-
as?: import("react").ElementType
|
|
13
|
+
theme?: Theme;
|
|
14
|
+
as?: import("react").ElementType;
|
|
16
15
|
}, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
17
16
|
export declare const PriceCol: import("@emotion/styled").StyledComponent<{
|
|
18
|
-
theme?: Theme
|
|
19
|
-
as?:
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
20
19
|
}, import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, {}>;
|
|
21
20
|
export declare const PriceCell: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
22
21
|
export declare const Cell: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: Theme
|
|
24
|
-
as?: import("react").ElementType
|
|
22
|
+
theme?: Theme;
|
|
23
|
+
as?: import("react").ElementType;
|
|
25
24
|
} & {
|
|
26
|
-
hasBorder?: boolean
|
|
27
|
-
tabulation?: number
|
|
28
|
-
primary?: boolean
|
|
25
|
+
hasBorder?: boolean;
|
|
26
|
+
tabulation?: number;
|
|
27
|
+
primary?: boolean;
|
|
29
28
|
}, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
|
|
30
29
|
export declare const TotalPriceCell: import("@emotion/styled").StyledComponent<{
|
|
31
|
-
theme?: Theme
|
|
32
|
-
as?: import("react").ElementType
|
|
30
|
+
theme?: Theme;
|
|
31
|
+
as?: import("react").ElementType;
|
|
33
32
|
} & {
|
|
34
|
-
hasBorder?: boolean
|
|
35
|
-
tabulation?: number
|
|
36
|
-
primary?: boolean
|
|
33
|
+
hasBorder?: boolean;
|
|
34
|
+
tabulation?: number;
|
|
35
|
+
primary?: boolean;
|
|
37
36
|
} & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
38
|
-
theme?: Theme
|
|
37
|
+
theme?: Theme;
|
|
39
38
|
}, {}, {}>;
|
|
40
39
|
export declare const EmptyTable: import("@emotion/styled").StyledComponent<{
|
|
41
|
-
theme?: Theme
|
|
42
|
-
as?:
|
|
40
|
+
theme?: Theme;
|
|
41
|
+
as?: React.ElementType;
|
|
43
42
|
}, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
44
43
|
export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
45
|
-
theme?: Theme
|
|
46
|
-
as?:
|
|
44
|
+
theme?: Theme;
|
|
45
|
+
as?: React.ElementType;
|
|
47
46
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
48
47
|
export declare const EmptyCell: import("@emotion/styled").StyledComponent<{
|
|
49
|
-
theme?: Theme
|
|
50
|
-
as?:
|
|
48
|
+
theme?: Theme;
|
|
49
|
+
as?: React.ElementType;
|
|
51
50
|
}, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
|
|
52
51
|
export declare const TimeCell: import("@emotion/styled").StyledComponent<{
|
|
53
|
-
theme?: Theme
|
|
54
|
-
as?:
|
|
52
|
+
theme?: Theme;
|
|
53
|
+
as?: React.ElementType;
|
|
55
54
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
56
55
|
export declare const BadgeBeta: import("@emotion/styled").StyledComponent<{
|
|
57
|
-
sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color
|
|
58
|
-
size?:
|
|
59
|
-
prominence?:
|
|
56
|
+
sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
|
|
57
|
+
size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
|
|
58
|
+
prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
|
|
60
59
|
icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | undefined;
|
|
61
|
-
disabled?: boolean
|
|
62
|
-
className?: string
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
className?: string;
|
|
63
62
|
children: import("react").ReactNode;
|
|
64
|
-
'data-testid'?: string
|
|
63
|
+
'data-testid'?: string;
|
|
65
64
|
} & {
|
|
66
|
-
theme?: Theme
|
|
65
|
+
theme?: Theme;
|
|
67
66
|
} & {
|
|
68
67
|
long: boolean;
|
|
69
68
|
}, {}, {}>;
|
|
70
69
|
export declare const StyledTr: import("@emotion/styled").StyledComponent<{
|
|
71
|
-
theme?: Theme
|
|
72
|
-
as?: import("react").ElementType
|
|
70
|
+
theme?: Theme;
|
|
71
|
+
as?: import("react").ElementType;
|
|
73
72
|
} & {
|
|
74
|
-
isFirstElement?: boolean
|
|
75
|
-
shouldBeHidden?: boolean
|
|
76
|
-
hideFromOverlay?: boolean
|
|
73
|
+
isFirstElement?: boolean;
|
|
74
|
+
shouldBeHidden?: boolean;
|
|
75
|
+
hideFromOverlay?: boolean;
|
|
77
76
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
|
|
78
77
|
export declare const OverlayRow: import("@emotion/styled").StyledComponent<{
|
|
79
|
-
theme?: Theme
|
|
80
|
-
as?: import("react").ElementType
|
|
78
|
+
theme?: Theme;
|
|
79
|
+
as?: import("react").ElementType;
|
|
81
80
|
} & {
|
|
82
|
-
isFirstElement?: boolean
|
|
83
|
-
shouldBeHidden?: boolean
|
|
84
|
-
hideFromOverlay?: boolean
|
|
81
|
+
isFirstElement?: boolean;
|
|
82
|
+
shouldBeHidden?: boolean;
|
|
83
|
+
hideFromOverlay?: boolean;
|
|
85
84
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
86
85
|
export declare const StyledLeftSide: import("@emotion/styled").StyledComponent<{
|
|
87
|
-
theme?: Theme
|
|
88
|
-
as?:
|
|
86
|
+
theme?: Theme;
|
|
87
|
+
as?: React.ElementType;
|
|
89
88
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
90
89
|
export declare const ItemResourceName: import("@emotion/styled").StyledComponent<{
|
|
91
|
-
theme?: Theme
|
|
92
|
-
as?: import("react").ElementType
|
|
90
|
+
theme?: Theme;
|
|
91
|
+
as?: import("react").ElementType;
|
|
93
92
|
} & {
|
|
94
93
|
animated: boolean;
|
|
95
94
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
96
95
|
export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
97
|
-
sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color
|
|
98
|
-
size?:
|
|
99
|
-
prominence?:
|
|
96
|
+
sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
|
|
97
|
+
size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
|
|
98
|
+
prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
|
|
100
99
|
icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | undefined;
|
|
101
|
-
disabled?: boolean
|
|
102
|
-
className?: string
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
className?: string;
|
|
103
102
|
children: import("react").ReactNode;
|
|
104
|
-
'data-testid'?: string
|
|
103
|
+
'data-testid'?: string;
|
|
105
104
|
} & {
|
|
106
|
-
theme?: Theme
|
|
105
|
+
theme?: Theme;
|
|
107
106
|
}, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { NavigationProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* Navigation is a component that allows you to create a sidebar navigation.
|
|
@@ -13,29 +12,29 @@ export declare const Navigation: {
|
|
|
13
12
|
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
14
13
|
Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, onClickPinUnpin, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, }: {
|
|
15
14
|
children?: import("react").ReactNode;
|
|
16
|
-
categoryIcon?: "
|
|
17
|
-
categoryIconVariant?: "
|
|
15
|
+
categoryIcon?: import("react").ComponentProps<typeof import("@ultraviolet/icons").CategoryIcon>["name"];
|
|
16
|
+
categoryIconVariant?: import("react").ComponentProps<typeof import("@ultraviolet/icons").CategoryIcon>["variant"];
|
|
18
17
|
label: string;
|
|
19
18
|
id: string;
|
|
20
|
-
subLabel?: string
|
|
21
|
-
badgeText?: string
|
|
22
|
-
badgeSentiment?: import("
|
|
23
|
-
href?: string
|
|
24
|
-
onClick?: (
|
|
25
|
-
onClickPinUnpin?: (
|
|
26
|
-
toggle?: boolean
|
|
27
|
-
active?: boolean
|
|
28
|
-
noPinButton?: boolean
|
|
29
|
-
type?:
|
|
30
|
-
hasParents?: boolean
|
|
31
|
-
index?: number
|
|
32
|
-
as?: keyof import("react").JSX.IntrinsicElements
|
|
33
|
-
noExpand?: boolean
|
|
34
|
-
disabled?: boolean
|
|
19
|
+
subLabel?: string;
|
|
20
|
+
badgeText?: string;
|
|
21
|
+
badgeSentiment?: import("react").ComponentProps<typeof import("@ultraviolet/ui").Badge>["sentiment"];
|
|
22
|
+
href?: string;
|
|
23
|
+
onClick?: (toggle?: true | false) => void;
|
|
24
|
+
onClickPinUnpin?: (parameters: import("./types").PinUnPinType) => void;
|
|
25
|
+
toggle?: boolean;
|
|
26
|
+
active?: boolean;
|
|
27
|
+
noPinButton?: boolean;
|
|
28
|
+
type?: "default" | "pinned" | "pinnedGroup";
|
|
29
|
+
hasParents?: boolean;
|
|
30
|
+
index?: number;
|
|
31
|
+
as?: keyof import("react").JSX.IntrinsicElements;
|
|
32
|
+
noExpand?: boolean;
|
|
33
|
+
disabled?: boolean;
|
|
35
34
|
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
36
35
|
PinnedItems: ({ toggle, onReorder }: {
|
|
37
|
-
toggle?: boolean
|
|
38
|
-
onReorder?: (
|
|
36
|
+
toggle?: boolean;
|
|
37
|
+
onReorder?: (pinnedItems: string[]) => void;
|
|
39
38
|
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
40
39
|
Separator: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
40
|
};
|