@ultraviolet/plus 3.5.1 → 3.6.0
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/CodeEditor/CodeEditor.d.ts +5 -38
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.js +6 -113
- package/dist/components/ContentCard/index.d.ts +3 -34
- package/dist/components/ContentCard/index.d.ts.map +1 -1
- package/dist/components/ContentCard/index.js +4 -103
- package/dist/components/ContentCardGroup/index.d.ts +5 -20
- package/dist/components/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/components/ContentCardGroup/index.js +6 -16
- package/dist/components/Conversation/index.d.ts +5 -49
- package/dist/components/Conversation/index.d.ts.map +1 -1
- package/dist/components/Conversation/index.js +6 -46
- package/dist/components/CustomerSatisfaction/index.d.ts +5 -32
- package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/components/CustomerSatisfaction/index.js +6 -84
- package/dist/components/EstimateCost/index.d.ts +9 -3
- package/dist/components/EstimateCost/index.d.ts.map +1 -1
- package/dist/components/EstimateCost/index.js +15 -0
- package/dist/components/FAQ/index.d.ts +5 -13
- package/dist/components/FAQ/index.d.ts.map +1 -1
- package/dist/components/FAQ/index.js +6 -35
- package/dist/components/InfoTable/index.d.ts +5 -1
- package/dist/components/InfoTable/index.d.ts.map +1 -1
- package/dist/components/InfoTable/index.js +11 -0
- package/dist/components/Navigation/index.d.ts +13 -2
- package/dist/components/Navigation/index.d.ts.map +1 -1
- package/dist/components/Navigation/index.js +19 -0
- package/dist/index.js +4 -6
- package/package.json +9 -9
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +0 -28
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +0 -18
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +0 -17
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +0 -12
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +0 -14
- package/dist/_virtual/_rolldown/runtime.js +0 -9
- package/dist/components/CodeEditor/styles.css.d.ts +0 -10
- package/dist/components/CodeEditor/styles.css.d.ts.map +0 -1
- package/dist/components/CodeEditor/styles.css.js +0 -24
- package/dist/components/ContentCard/Skeleton.d.ts +0 -6
- package/dist/components/ContentCard/Skeleton.d.ts.map +0 -1
- package/dist/components/ContentCard/Skeleton.js +0 -32
- package/dist/components/ContentCard/styles.css.d.ts +0 -13
- package/dist/components/ContentCard/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCard/styles.css.js +0 -31
- package/dist/components/ContentCardGroup/Card.d.ts +0 -15
- package/dist/components/ContentCardGroup/Card.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/Card.js +0 -57
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts +0 -2
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/SkeletonCard.js +0 -29
- package/dist/components/ContentCardGroup/styles.css.d.ts +0 -8
- package/dist/components/ContentCardGroup/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/styles.css.js +0 -13
- package/dist/components/Conversation/styles.css.js +0 -23
- package/dist/components/CustomerSatisfaction/assets/1-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/1-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +0 -19
- package/dist/components/CustomerSatisfaction/styles.css.d.ts.map +0 -1
- package/dist/components/CustomerSatisfaction/styles.css.js +0 -20
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +0 -10
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +0 -41
- package/dist/components/EstimateCost/Components/Item.d.ts +0 -118
- package/dist/components/EstimateCost/Components/Item.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Item.js +0 -228
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +0 -7
- package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/LineThrough.js +0 -18
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +0 -11
- package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +0 -35
- package/dist/components/EstimateCost/Components/Region.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Region.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Region.js +0 -38
- package/dist/components/EstimateCost/Components/Regular.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Regular.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Regular.js +0 -23
- package/dist/components/EstimateCost/Components/Strong.d.ts +0 -10
- package/dist/components/EstimateCost/Components/Strong.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Strong.js +0 -16
- package/dist/components/EstimateCost/Components/Unit.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Unit.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Unit.js +0 -50
- package/dist/components/EstimateCost/Components/Zone.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Zone.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Zone.js +0 -37
- package/dist/components/EstimateCost/Components/components.css.d.ts +0 -78
- package/dist/components/EstimateCost/Components/components.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/components.css.js +0 -161
- package/dist/components/EstimateCost/EstimateCost.d.ts +0 -176
- package/dist/components/EstimateCost/EstimateCost.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCost.js +0 -97
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +0 -3
- package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +0 -289
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +0 -26
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +0 -33
- package/dist/components/EstimateCost/OverlayComponent.d.ts +0 -27
- package/dist/components/EstimateCost/OverlayComponent.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayComponent.js +0 -99
- package/dist/components/EstimateCost/OverlayContext.d.ts +0 -13
- package/dist/components/EstimateCost/OverlayContext.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayContext.js +0 -15
- package/dist/components/EstimateCost/constants.d.ts +0 -8
- package/dist/components/EstimateCost/constants.d.ts.map +0 -1
- package/dist/components/EstimateCost/constants.js +0 -26
- package/dist/components/EstimateCost/helper.d.ts +0 -10
- package/dist/components/EstimateCost/helper.d.ts.map +0 -1
- package/dist/components/EstimateCost/helper.js +0 -11
- package/dist/components/EstimateCost/locales/en.d.ts +0 -23
- package/dist/components/EstimateCost/locales/en.d.ts.map +0 -1
- package/dist/components/EstimateCost/locales/en.js +0 -25
- package/dist/components/EstimateCost/styles.css.d.ts +0 -80
- package/dist/components/EstimateCost/styles.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/styles.css.js +0 -70
- package/dist/components/EstimateCost/types.d.ts +0 -148
- package/dist/components/EstimateCost/types.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.d.ts +0 -2
- package/dist/components/FAQ/styles.css.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.js +0 -7
- package/dist/components/InfoTable/InfoTable.d.ts +0 -25
- package/dist/components/InfoTable/InfoTable.d.ts.map +0 -1
- package/dist/components/InfoTable/InfoTable.js +0 -28
- package/dist/components/InfoTable/components/Cell.d.ts +0 -10
- package/dist/components/InfoTable/components/Cell.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Cell.js +0 -38
- package/dist/components/InfoTable/components/Row.d.ts +0 -9
- package/dist/components/InfoTable/components/Row.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Row.js +0 -23
- package/dist/components/InfoTable/context.d.ts +0 -4
- package/dist/components/InfoTable/context.d.ts.map +0 -1
- package/dist/components/InfoTable/context.js +0 -7
- package/dist/components/InfoTable/styles.css.d.ts +0 -8
- package/dist/components/InfoTable/styles.css.d.ts.map +0 -1
- package/dist/components/InfoTable/styles.css.js +0 -13
- package/dist/components/Navigation/Footer.d.ts +0 -9
- package/dist/components/Navigation/Footer.d.ts.map +0 -1
- package/dist/components/Navigation/Footer.js +0 -64
- package/dist/components/Navigation/Header.d.ts +0 -7
- package/dist/components/Navigation/Header.d.ts.map +0 -1
- package/dist/components/Navigation/Header.js +0 -24
- package/dist/components/Navigation/Navigation.d.ts +0 -62
- package/dist/components/Navigation/Navigation.d.ts.map +0 -1
- package/dist/components/Navigation/Navigation.js +0 -34
- package/dist/components/Navigation/NavigationContent.d.ts +0 -3
- package/dist/components/Navigation/NavigationContent.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationContent.js +0 -104
- package/dist/components/Navigation/NavigationProvider.d.ts +0 -94
- package/dist/components/Navigation/NavigationProvider.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationProvider.js +0 -121
- package/dist/components/Navigation/animations.css.d.ts +0 -7
- package/dist/components/Navigation/animations.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.d.ts +0 -10
- package/dist/components/Navigation/components/Group.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.js +0 -39
- package/dist/components/Navigation/components/Item.d.ts +0 -89
- package/dist/components/Navigation/components/Item.d.ts.map +0 -1
- package/dist/components/Navigation/components/Item.js +0 -448
- package/dist/components/Navigation/components/ItemProvider.d.ts +0 -8
- package/dist/components/Navigation/components/ItemProvider.d.ts.map +0 -1
- package/dist/components/Navigation/components/ItemProvider.js +0 -17
- package/dist/components/Navigation/components/PinnedItems.d.ts +0 -24
- package/dist/components/Navigation/components/PinnedItems.d.ts.map +0 -1
- package/dist/components/Navigation/components/PinnedItems.js +0 -105
- package/dist/components/Navigation/components/Separator.d.ts +0 -2
- package/dist/components/Navigation/components/Separator.d.ts.map +0 -1
- package/dist/components/Navigation/components/Separator.js +0 -11
- package/dist/components/Navigation/components/ShowHide.d.ts +0 -16
- package/dist/components/Navigation/components/ShowHide.d.ts.map +0 -1
- package/dist/components/Navigation/components/ShowHide.js +0 -53
- package/dist/components/Navigation/components/items.css.d.ts +0 -71
- package/dist/components/Navigation/components/items.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/items.css.js +0 -87
- package/dist/components/Navigation/components/styles.css.d.ts +0 -25
- package/dist/components/Navigation/components/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/styles.css.js +0 -29
- package/dist/components/Navigation/constants.d.ts +0 -10
- package/dist/components/Navigation/constants.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.d.ts +0 -11
- package/dist/components/Navigation/locales/en.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.js +0 -13
- package/dist/components/Navigation/styles.css.d.ts +0 -34
- package/dist/components/Navigation/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/styles.css.js +0 -36
- package/dist/components/Navigation/types.d.ts +0 -42
- package/dist/components/Navigation/types.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.d.ts +0 -2
- package/dist/components/Navigation/variables.css.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.js +0 -7
- package/dist/plus.css +0 -2
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
export declare const maxWidthTextVar: `var(--${string})`;
|
|
2
|
-
export declare const maxWidthText: string;
|
|
3
|
-
export declare const estimateCostImage: string;
|
|
4
|
-
export declare const estimateCostTr: string;
|
|
5
|
-
export declare const styledDiv: string;
|
|
6
|
-
export declare const estimateCostLeftSide: string;
|
|
7
|
-
export declare const estimateCostItemResourceName: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8
|
-
animated: {
|
|
9
|
-
true: {
|
|
10
|
-
animation: `800ms ${string}`;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
}>;
|
|
14
|
-
export declare const estimateCostResourceName: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
15
|
-
isAnimated: {
|
|
16
|
-
true: {
|
|
17
|
-
animation: `${string} 800ms`;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
isOverlay: {
|
|
21
|
-
false: {
|
|
22
|
-
textAlign: "right";
|
|
23
|
-
};
|
|
24
|
-
true: {
|
|
25
|
-
display: "flex";
|
|
26
|
-
flexDirection: "column";
|
|
27
|
-
height: `var(--${string})`;
|
|
28
|
-
justifyContent: "center";
|
|
29
|
-
textAlign: "initial";
|
|
30
|
-
WebkitBoxPack: "center";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}>;
|
|
34
|
-
export declare const estimateCostBadgeItem: string;
|
|
35
|
-
export declare const estimateCostTextItem: string;
|
|
36
|
-
export declare const estimateCostMaxWidthText: string;
|
|
37
|
-
export declare const estimateCostTooltip: string;
|
|
38
|
-
export declare const estimateCostLineThrough: string;
|
|
39
|
-
export declare const estimateCostRegular: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
40
|
-
isOverlay: {
|
|
41
|
-
false: {
|
|
42
|
-
display: "inline-flex";
|
|
43
|
-
};
|
|
44
|
-
true: {
|
|
45
|
-
display: "flex";
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
variant: {
|
|
49
|
-
big: {};
|
|
50
|
-
capitalized: {};
|
|
51
|
-
normal: {};
|
|
52
|
-
small: {
|
|
53
|
-
color: `var(--${string})`;
|
|
54
|
-
display: "block";
|
|
55
|
-
fontSize: number;
|
|
56
|
-
lineHeight: number;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
}>;
|
|
60
|
-
export declare const estimateCostStrong: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
61
|
-
variant: {
|
|
62
|
-
big: {
|
|
63
|
-
fontSize: number;
|
|
64
|
-
};
|
|
65
|
-
capitalized: {
|
|
66
|
-
fontSize: number;
|
|
67
|
-
textTransform: "capitalize";
|
|
68
|
-
};
|
|
69
|
-
normal: {
|
|
70
|
-
fontSize: number;
|
|
71
|
-
};
|
|
72
|
-
small: {
|
|
73
|
-
fontSize: number;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
}>;
|
|
77
|
-
export declare const estimateCostNumberInput: string;
|
|
78
|
-
//# sourceMappingURL=components.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.css.d.ts","sourceRoot":"","sources":["../../../../src/components/EstimateCost/Components/components.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,oBAAc,CAAA;AAE1C,eAAO,MAAM,YAAY,QAEvB,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAG5B,CAAA;AAEF,eAAO,MAAM,cAAc,QAAY,CAAA;AAEvC,eAAO,MAAM,SAAS,QAA4C,CAAA;AAElE,eAAO,MAAM,oBAAoB,QAS/B,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;EAkBvC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAyBnC,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAGhC,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAE/B,CAAA;AAEF,eAAO,MAAM,wBAAwB,QAEnC,CAAA;AAEF,eAAO,MAAM,mBAAmB,QAAuC,CAAA;AAEvE,eAAO,MAAM,uBAAuB,QAGlC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;EAiC9B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;EA4B7B,CAAA;AAEF,eAAO,MAAM,uBAAuB,QAQlC,CAAA"}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
|
-
/* empty css */
|
|
7
|
-
/* empty css */
|
|
8
|
-
/* empty css */
|
|
9
|
-
/* empty css */
|
|
10
|
-
/* empty css */
|
|
11
|
-
/* empty css */
|
|
12
|
-
/* empty css */
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
/* empty css */
|
|
21
|
-
/* empty css */
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
|
-
/* empty css */
|
|
31
|
-
/* empty css */
|
|
32
|
-
/* empty css */
|
|
33
|
-
/* empty css */
|
|
34
|
-
/* empty css */
|
|
35
|
-
/* empty css */
|
|
36
|
-
/* empty css */
|
|
37
|
-
/* empty css */
|
|
38
|
-
/* empty css */
|
|
39
|
-
/* empty css */
|
|
40
|
-
/* empty css */
|
|
41
|
-
/* empty css */
|
|
42
|
-
/* empty css */
|
|
43
|
-
/* empty css */
|
|
44
|
-
/* empty css */
|
|
45
|
-
/* empty css */
|
|
46
|
-
/* empty css */
|
|
47
|
-
/* empty css */
|
|
48
|
-
/* empty css */
|
|
49
|
-
/* empty css */
|
|
50
|
-
/* empty css */
|
|
51
|
-
/* empty css */
|
|
52
|
-
/* empty css */
|
|
53
|
-
/* empty css */
|
|
54
|
-
/* empty css */
|
|
55
|
-
/* empty css */
|
|
56
|
-
/* empty css */
|
|
57
|
-
/* empty css */
|
|
58
|
-
/* empty css */
|
|
59
|
-
/* empty css */
|
|
60
|
-
/* empty css */
|
|
61
|
-
/* empty css */
|
|
62
|
-
/* empty css */
|
|
63
|
-
/* empty css */
|
|
64
|
-
/* empty css */
|
|
65
|
-
/* empty css */
|
|
66
|
-
/* empty css */
|
|
67
|
-
/* empty css */
|
|
68
|
-
/* empty css */
|
|
69
|
-
/* empty css */
|
|
70
|
-
/* empty css */
|
|
71
|
-
/* empty css */
|
|
72
|
-
/* empty css */
|
|
73
|
-
/* empty css */
|
|
74
|
-
/* empty css */
|
|
75
|
-
/* empty css */
|
|
76
|
-
/* empty css */
|
|
77
|
-
/* empty css */
|
|
78
|
-
/* empty css */
|
|
79
|
-
/* empty css */
|
|
80
|
-
/* empty css */
|
|
81
|
-
/* empty css */
|
|
82
|
-
/* empty css */
|
|
83
|
-
/* empty css */
|
|
84
|
-
/* empty css */
|
|
85
|
-
/* empty css */
|
|
86
|
-
/* empty css */
|
|
87
|
-
/* empty css */
|
|
88
|
-
/* empty css */
|
|
89
|
-
/* empty css */
|
|
90
|
-
/* empty css */
|
|
91
|
-
/* empty css */
|
|
92
|
-
/* empty css */
|
|
93
|
-
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
94
|
-
|
|
95
|
-
//#region src/components/EstimateCost/Components/components.css.ts
|
|
96
|
-
var maxWidthTextVar = "var(--uv_plus_1ko5kn20)";
|
|
97
|
-
var maxWidthText = "uv_plus_1ko5kn21";
|
|
98
|
-
var estimateCostTr = "uv_plus_1ko5kn23";
|
|
99
|
-
var styledDiv = "uv_plus_1ko5kn24";
|
|
100
|
-
var estimateCostLeftSide = "uv_plus_1ko5kn25";
|
|
101
|
-
var estimateCostItemResourceName = createRuntimeFn({
|
|
102
|
-
defaultClassName: "uv_plus_1ko5kn26",
|
|
103
|
-
variantClassNames: { animated: { true: "uv_plus_1ko5kn27" } },
|
|
104
|
-
defaultVariants: { animated: false },
|
|
105
|
-
compoundVariants: []
|
|
106
|
-
});
|
|
107
|
-
var estimateCostResourceName = createRuntimeFn({
|
|
108
|
-
defaultClassName: "uv_plus_1ko5kn28",
|
|
109
|
-
variantClassNames: {
|
|
110
|
-
isAnimated: { true: "uv_plus_1ko5kn29" },
|
|
111
|
-
isOverlay: {
|
|
112
|
-
false: "uv_plus_1ko5kn2a",
|
|
113
|
-
true: "uv_plus_1ko5kn2b"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
defaultVariants: {
|
|
117
|
-
isAnimated: false,
|
|
118
|
-
isOverlay: false
|
|
119
|
-
},
|
|
120
|
-
compoundVariants: []
|
|
121
|
-
});
|
|
122
|
-
var estimateCostBadgeItem = "uv_plus_1ko5kn2c";
|
|
123
|
-
var estimateCostTextItem = "uv_plus_1ko5kn2d";
|
|
124
|
-
var estimateCostMaxWidthText = "uv_plus_1ko5kn2e";
|
|
125
|
-
var estimateCostTooltip = "uv_plus_1ko5kn2f";
|
|
126
|
-
var estimateCostLineThrough = "uv_plus_1ko5kn2g";
|
|
127
|
-
var estimateCostRegular = createRuntimeFn({
|
|
128
|
-
defaultClassName: "uv_plus_1ko5kn2h",
|
|
129
|
-
variantClassNames: {
|
|
130
|
-
isOverlay: {
|
|
131
|
-
false: "uv_plus_1ko5kn2i",
|
|
132
|
-
true: "uv_plus_1ko5kn2j"
|
|
133
|
-
},
|
|
134
|
-
variant: {
|
|
135
|
-
big: "uv_plus_1ko5kn2k",
|
|
136
|
-
capitalized: "uv_plus_1ko5kn2l",
|
|
137
|
-
normal: "uv_plus_1ko5kn2m",
|
|
138
|
-
small: "uv_plus_1ko5kn2n"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
defaultVariants: {
|
|
142
|
-
isOverlay: false,
|
|
143
|
-
variant: "normal"
|
|
144
|
-
},
|
|
145
|
-
compoundVariants: []
|
|
146
|
-
});
|
|
147
|
-
var estimateCostStrong = createRuntimeFn({
|
|
148
|
-
defaultClassName: "uv_plus_1ko5kn2o",
|
|
149
|
-
variantClassNames: { variant: {
|
|
150
|
-
big: "uv_plus_1ko5kn2p",
|
|
151
|
-
capitalized: "uv_plus_1ko5kn2q",
|
|
152
|
-
normal: "uv_plus_1ko5kn2r",
|
|
153
|
-
small: "uv_plus_1ko5kn2s"
|
|
154
|
-
} },
|
|
155
|
-
defaultVariants: { variant: "normal" },
|
|
156
|
-
compoundVariants: []
|
|
157
|
-
});
|
|
158
|
-
var estimateCostNumberInput = "uv_plus_1ko5kn2t";
|
|
159
|
-
|
|
160
|
-
//#endregion
|
|
161
|
-
export { estimateCostBadgeItem, estimateCostItemResourceName, estimateCostLeftSide, estimateCostLineThrough, estimateCostMaxWidthText, estimateCostNumberInput, estimateCostRegular, estimateCostResourceName, estimateCostStrong, estimateCostTextItem, estimateCostTooltip, estimateCostTr, maxWidthText, maxWidthTextVar, styledDiv };
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { EstimateCostProps } from './types';
|
|
3
|
-
declare function EstimateCost({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, compact, numberLocales, currency, style, onTotalPriceChange }: EstimateCostProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare namespace EstimateCost {
|
|
5
|
-
var LineThrough: ({ isActive, className, ...props }: import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
6
|
-
isActive?: boolean | undefined;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
declare namespace EstimateCost {
|
|
10
|
-
var Item: import("react").MemoExoticComponent<({ 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, strikeThrough, style, }: {
|
|
11
|
-
amount?: number | undefined;
|
|
12
|
-
amountFree?: number | undefined;
|
|
13
|
-
animated?: boolean | undefined;
|
|
14
|
-
children?: ReactNode;
|
|
15
|
-
discount?: number | undefined;
|
|
16
|
-
discountText?: string | undefined;
|
|
17
|
-
hideFromOverlay?: boolean | undefined;
|
|
18
|
-
isDefined?: boolean | undefined;
|
|
19
|
-
isFirstElement?: boolean | undefined;
|
|
20
|
-
isLastElement?: boolean | undefined;
|
|
21
|
-
isPrimaryBackground?: boolean | undefined;
|
|
22
|
-
iteration?: import("./types").Iteration | undefined;
|
|
23
|
-
label?: ReactNode;
|
|
24
|
-
labelTextVariant?: "body" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "caption" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "code" | "codeSmall" | "codeSmallStrong" | "codeSmallStronger" | "codeStrong" | "codeStronger" | "heading" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
|
|
25
|
-
labelTextProminence?: "default" | "strong" | "stronger" | "weak" | undefined;
|
|
26
|
-
longFractionDigits?: boolean | undefined;
|
|
27
|
-
maxAmount?: number | undefined;
|
|
28
|
-
monthlyPrice?: number | undefined;
|
|
29
|
-
noBorder?: boolean | undefined;
|
|
30
|
-
noIteration?: boolean | undefined;
|
|
31
|
-
noIterationText?: string | undefined;
|
|
32
|
-
noPrice?: boolean | undefined;
|
|
33
|
-
notice?: string | undefined;
|
|
34
|
-
onAmountChange?: ((amount: number) => void) | undefined;
|
|
35
|
-
price?: number | undefined;
|
|
36
|
-
priceText?: ReactNode;
|
|
37
|
-
productsCallback?: {
|
|
38
|
-
add: (product: import("./types").EstimateProduct) => void;
|
|
39
|
-
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
40
|
-
} | undefined;
|
|
41
|
-
shouldBeHidden?: boolean | undefined;
|
|
42
|
-
subLabel?: string | undefined;
|
|
43
|
-
tabulation?: number | undefined;
|
|
44
|
-
textNotDefined?: string | undefined;
|
|
45
|
-
tooltipInfo?: string | undefined;
|
|
46
|
-
unit?: "days" | "gb" | "hours" | "mb" | "minutes" | "months" | "seconds" | "tb" | "years" | (string & {}) | undefined;
|
|
47
|
-
strikeThrough?: boolean | undefined;
|
|
48
|
-
style?: import("react").CSSProperties | undefined;
|
|
49
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
50
|
-
}
|
|
51
|
-
declare namespace EstimateCost {
|
|
52
|
-
var NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
|
|
53
|
-
amount?: number | undefined;
|
|
54
|
-
itemCallback?: ((amount?: number | null | undefined, isVariant?: boolean | undefined) => void) | undefined;
|
|
55
|
-
getAmountValue?: ((amount?: number | null | undefined) => void) | undefined;
|
|
56
|
-
minValue?: number | undefined;
|
|
57
|
-
maxValue?: number | undefined;
|
|
58
|
-
controls?: boolean | undefined;
|
|
59
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
}
|
|
61
|
-
declare namespace EstimateCost {
|
|
62
|
-
var Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: {
|
|
63
|
-
amount?: number | undefined;
|
|
64
|
-
itemCallback?: ((amount?: number | undefined, isVariant?: boolean | undefined) => void) | undefined;
|
|
65
|
-
getAmountValue?: ((amount?: number | undefined) => void) | undefined;
|
|
66
|
-
unit?: string | undefined;
|
|
67
|
-
style?: import("react").CSSProperties | undefined;
|
|
68
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
}
|
|
70
|
-
declare namespace EstimateCost {
|
|
71
|
-
var Strong: import("react").MemoExoticComponent<({ variant, children, style }: {
|
|
72
|
-
variant?: "big" | "capitalized" | "normal" | "small" | undefined;
|
|
73
|
-
children?: ReactNode;
|
|
74
|
-
isDisabledOnOverlay?: boolean | undefined;
|
|
75
|
-
style?: import("react").CSSProperties | undefined;
|
|
76
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
77
|
-
}
|
|
78
|
-
declare namespace EstimateCost {
|
|
79
|
-
var Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, style, }: {
|
|
80
|
-
variant?: "big" | "capitalized" | "normal" | "small" | undefined;
|
|
81
|
-
isDisabledOnOverlay?: boolean | undefined;
|
|
82
|
-
children?: ReactNode;
|
|
83
|
-
style?: import("react").CSSProperties | undefined;
|
|
84
|
-
className?: string | undefined;
|
|
85
|
-
}) => import("react/jsx-runtime").JSX.Element | null>;
|
|
86
|
-
}
|
|
87
|
-
declare namespace EstimateCost {
|
|
88
|
-
var Image: (props: import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
-
}
|
|
90
|
-
declare namespace EstimateCost {
|
|
91
|
-
var Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style, }: {
|
|
92
|
-
shouldBeHidden?: boolean | undefined;
|
|
93
|
-
priceText?: ReactNode;
|
|
94
|
-
animated?: boolean | undefined;
|
|
95
|
-
isFirstElement?: boolean | undefined;
|
|
96
|
-
isLastElement?: boolean | undefined;
|
|
97
|
-
productsCallback?: {
|
|
98
|
-
add: (product: import("./types").EstimateProduct) => void;
|
|
99
|
-
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
100
|
-
} | undefined;
|
|
101
|
-
iteration?: import("./types").Iteration | undefined;
|
|
102
|
-
discount?: number | undefined;
|
|
103
|
-
label: string;
|
|
104
|
-
image: string;
|
|
105
|
-
noBorder?: boolean | undefined;
|
|
106
|
-
noPrice?: boolean | undefined;
|
|
107
|
-
} & Pick<{
|
|
108
|
-
amount?: number | undefined;
|
|
109
|
-
amountFree?: number | undefined;
|
|
110
|
-
animated?: boolean | undefined;
|
|
111
|
-
children?: ReactNode;
|
|
112
|
-
discount?: number | undefined;
|
|
113
|
-
discountText?: string | undefined;
|
|
114
|
-
hideFromOverlay?: boolean | undefined;
|
|
115
|
-
isDefined?: boolean | undefined;
|
|
116
|
-
isFirstElement?: boolean | undefined;
|
|
117
|
-
isLastElement?: boolean | undefined;
|
|
118
|
-
isPrimaryBackground?: boolean | undefined;
|
|
119
|
-
iteration?: import("./types").Iteration | undefined;
|
|
120
|
-
label?: ReactNode;
|
|
121
|
-
labelTextVariant?: "body" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "caption" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "code" | "codeSmall" | "codeSmallStrong" | "codeSmallStronger" | "codeStrong" | "codeStronger" | "heading" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
|
|
122
|
-
labelTextProminence?: "default" | "strong" | "stronger" | "weak" | undefined;
|
|
123
|
-
longFractionDigits?: boolean | undefined;
|
|
124
|
-
maxAmount?: number | undefined;
|
|
125
|
-
monthlyPrice?: number | undefined;
|
|
126
|
-
noBorder?: boolean | undefined;
|
|
127
|
-
noIteration?: boolean | undefined;
|
|
128
|
-
noIterationText?: string | undefined;
|
|
129
|
-
noPrice?: boolean | undefined;
|
|
130
|
-
notice?: string | undefined;
|
|
131
|
-
onAmountChange?: ((amount: number) => void) | undefined;
|
|
132
|
-
price?: number | undefined;
|
|
133
|
-
priceText?: ReactNode;
|
|
134
|
-
productsCallback?: {
|
|
135
|
-
add: (product: import("./types").EstimateProduct) => void;
|
|
136
|
-
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
137
|
-
} | undefined;
|
|
138
|
-
shouldBeHidden?: boolean | undefined;
|
|
139
|
-
subLabel?: string | undefined;
|
|
140
|
-
tabulation?: number | undefined;
|
|
141
|
-
textNotDefined?: string | undefined;
|
|
142
|
-
tooltipInfo?: string | undefined;
|
|
143
|
-
unit?: "days" | "gb" | "hours" | "mb" | "minutes" | "months" | "seconds" | "tb" | "years" | (string & {}) | undefined;
|
|
144
|
-
strikeThrough?: boolean | undefined;
|
|
145
|
-
style?: import("react").CSSProperties | undefined;
|
|
146
|
-
}, "hideFromOverlay" | "style">) => import("react/jsx-runtime").JSX.Element>;
|
|
147
|
-
}
|
|
148
|
-
declare namespace EstimateCost {
|
|
149
|
-
var Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: {
|
|
150
|
-
shouldBeHidden?: boolean | undefined;
|
|
151
|
-
priceText?: string | undefined;
|
|
152
|
-
animated?: boolean | undefined;
|
|
153
|
-
isFirstElement?: boolean | undefined;
|
|
154
|
-
isLastElement?: boolean | undefined;
|
|
155
|
-
productsCallback?: {
|
|
156
|
-
add: (product: import("./types").EstimateProduct) => void;
|
|
157
|
-
remove: (product: import("./types").BareEstimateProduct) => void;
|
|
158
|
-
} | undefined;
|
|
159
|
-
iteration?: import("./types").Iteration | undefined;
|
|
160
|
-
discount?: number | undefined;
|
|
161
|
-
label: string;
|
|
162
|
-
image: string;
|
|
163
|
-
noBorder?: boolean | undefined;
|
|
164
|
-
noPrice?: boolean | undefined;
|
|
165
|
-
style?: import("react").CSSProperties | undefined;
|
|
166
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
167
|
-
}
|
|
168
|
-
declare namespace EstimateCost {
|
|
169
|
-
var Ellipsis: ({ children, maxWidth, 'data-testid': dataTestId, }: {
|
|
170
|
-
children: ReactNode;
|
|
171
|
-
maxWidth?: number | undefined;
|
|
172
|
-
'data-testid'?: string | undefined;
|
|
173
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
174
|
-
}
|
|
175
|
-
export { EstimateCost };
|
|
176
|
-
//# sourceMappingURL=EstimateCost.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EstimateCost.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCost.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAkB,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBtD,OAAO,KAAK,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAA;8BAgBjC,EACpB,WAAW,EACX,KAAK,EACL,UAAU,EACV,YAAwB,EACxB,eAAyB,EACzB,SAA6B,EAC7B,WAAmB,EACnB,kBAA0B,EAC1B,mBAA2B,EAC3B,YAAoB,EACpB,SAAiB,EACjB,QAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,MAAc,EACd,cAAc,EACd,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,WAAqB,EACrB,QAAe,EACf,OAA6B,EAC7B,OAAO,EACP,aAAuB,EACvB,QAAgB,EAChB,KAAK,EACL,kBAAkB,EACnB,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FpB,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import en_default from "./locales/en.js";
|
|
4
|
-
import { maxWidthText, maxWidthTextVar } from "./Components/components.css.js";
|
|
5
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
|
|
6
|
-
import { EstimateCostProvider } from "./EstimateCostProvider.js";
|
|
7
|
-
import { useOverlay } from "./OverlayContext.js";
|
|
8
|
-
import { estimateCostImage } from "./styles.css.js";
|
|
9
|
-
import { Item } from "./Components/Item.js";
|
|
10
|
-
import { LineThrough } from "./Components/LineThrough.js";
|
|
11
|
-
import { Regular } from "./Components/Regular.js";
|
|
12
|
-
import { NumberInput as NumberInput$1 } from "./Components/NumberInput.js";
|
|
13
|
-
import { Strong } from "./Components/Strong.js";
|
|
14
|
-
import { Region } from "./Components/Region.js";
|
|
15
|
-
import { Unit } from "./Components/Unit.js";
|
|
16
|
-
import { Zone } from "./Components/Zone.js";
|
|
17
|
-
import { EstimateCostContent } from "./EstimateCostContent.js";
|
|
18
|
-
import { Text } from "@ultraviolet/ui";
|
|
19
|
-
import { cn } from "@ultraviolet/utils";
|
|
20
|
-
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
21
|
-
import { Children } from "react";
|
|
22
|
-
import { jsx } from "react/jsx-runtime";
|
|
23
|
-
|
|
24
|
-
//#region src/components/EstimateCost/EstimateCost.tsx
|
|
25
|
-
const DEFAULT_UNIT_LIST = [
|
|
26
|
-
"hours",
|
|
27
|
-
"days",
|
|
28
|
-
"months"
|
|
29
|
-
];
|
|
30
|
-
const Image = (props) => /* @__PURE__ */ jsx("img", _objectSpread2(_objectSpread2({
|
|
31
|
-
alt: props.alt,
|
|
32
|
-
height: props.height,
|
|
33
|
-
width: props.width
|
|
34
|
-
}, props), {}, { className: cn(props.className, estimateCostImage) }));
|
|
35
|
-
const EstimateCost = ({ description, alert, alertTitle, alertVariant = "warning", defaultTimeUnit = "hours", timeUnits = DEFAULT_UNIT_LIST, hideOverlay = false, disableOverlayLeft = false, disableOverlayRight = false, hideTimeUnit = false, hideTotal = false, discount = 0, OverlayRight, OverlayLeft, overlayMargin, isBeta = false, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit = "hours", children = null, locales = en_default, compact, numberLocales = "en-EN", currency = "EUR", style, onTotalPriceChange }) => /* @__PURE__ */ jsx(EstimateCostProvider, {
|
|
36
|
-
currency,
|
|
37
|
-
locales,
|
|
38
|
-
numberLocales,
|
|
39
|
-
children: /* @__PURE__ */ jsx(EstimateCostContent, {
|
|
40
|
-
alert,
|
|
41
|
-
alertTitle,
|
|
42
|
-
alertVariant,
|
|
43
|
-
commitmentFees,
|
|
44
|
-
commitmentFeesContent,
|
|
45
|
-
compact,
|
|
46
|
-
defaultTimeUnit,
|
|
47
|
-
description,
|
|
48
|
-
disableOverlayLeft,
|
|
49
|
-
disableOverlayRight,
|
|
50
|
-
discount,
|
|
51
|
-
hideOverlay,
|
|
52
|
-
hideTimeUnit,
|
|
53
|
-
hideTotal,
|
|
54
|
-
isBeta,
|
|
55
|
-
locales,
|
|
56
|
-
monthlyFees,
|
|
57
|
-
monthlyFeesContent,
|
|
58
|
-
monthlyFeesLabel,
|
|
59
|
-
OverlayLeft,
|
|
60
|
-
OverlayRight,
|
|
61
|
-
onTotalPriceChange,
|
|
62
|
-
overlayMargin,
|
|
63
|
-
overlayUnit,
|
|
64
|
-
style,
|
|
65
|
-
timeUnits,
|
|
66
|
-
children
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
EstimateCost.LineThrough = LineThrough;
|
|
70
|
-
EstimateCost.Item = Item;
|
|
71
|
-
EstimateCost.NumberInput = NumberInput$1;
|
|
72
|
-
EstimateCost.Unit = Unit;
|
|
73
|
-
EstimateCost.Strong = Strong;
|
|
74
|
-
EstimateCost.Regular = Regular;
|
|
75
|
-
EstimateCost.Image = Image;
|
|
76
|
-
EstimateCost.Region = Region;
|
|
77
|
-
EstimateCost.Zone = Zone;
|
|
78
|
-
const Ellipsis = ({ children, maxWidth = 350, "data-testid": dataTestId }) => {
|
|
79
|
-
const { isOverlay } = useOverlay();
|
|
80
|
-
const text = Children.toArray(children).join("").toString();
|
|
81
|
-
return /* @__PURE__ */ jsx("div", {
|
|
82
|
-
"data-testid": dataTestId,
|
|
83
|
-
style: { display: isOverlay ? void 0 : "inline-flex" },
|
|
84
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
85
|
-
as: "p",
|
|
86
|
-
className: maxWidthText,
|
|
87
|
-
oneLine: true,
|
|
88
|
-
style: assignInlineVars({ [maxWidthTextVar]: isOverlay ? "200px" : `${maxWidth}px` }),
|
|
89
|
-
variant: "bodyStrong",
|
|
90
|
-
children: text
|
|
91
|
-
})
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
EstimateCost.Ellipsis = Ellipsis;
|
|
95
|
-
|
|
96
|
-
//#endregion
|
|
97
|
-
export { EstimateCost };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { EstimateCostProps } from './types';
|
|
2
|
-
export declare const EstimateCostContent: ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, hideHourlyPriceOnTotal, discount, OverlayRight, OverlayLeft, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, overlayMargin, onTotalPriceChange, style, compact, }: EstimateCostProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
//# sourceMappingURL=EstimateCostContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EstimateCostContent.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCostContent.tsx"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAEV,iBAAiB,EAIlB,MAAM,SAAS,CAAA;AAgDhB,eAAO,MAAM,mBAAmB,gdAmd/B,CAAA"}
|