@ultraviolet/plus 3.1.6 → 3.1.8
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.js +1 -1
- package/dist/components/CodeEditor/styles.css.js +1 -1
- package/dist/components/ContentCard/index.d.ts.map +1 -1
- package/dist/components/ContentCard/index.js +5 -5
- package/dist/components/ContentCard/styles.css.js +1 -1
- package/dist/components/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/components/ContentCardGroup/index.js +5 -2
- package/dist/components/Conversation/index.d.ts +1 -1
- package/dist/components/Conversation/index.d.ts.map +1 -1
- package/dist/components/Conversation/index.js +3 -3
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +7 -7
- package/dist/components/CustomerSatisfaction/styles.css.js +1 -1
- package/dist/components/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/components/EstimateCost/Components/Item.js +10 -10
- package/dist/components/EstimateCost/Components/Regular.js +2 -2
- package/dist/components/EstimateCost/Components/components.css.d.ts +18 -18
- package/dist/components/EstimateCost/Components/components.css.js +3 -3
- package/dist/components/EstimateCost/EstimateCost.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCost.d.ts.map +1 -1
- package/dist/components/EstimateCost/EstimateCost.js +3 -1
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +204 -162
- package/dist/components/EstimateCost/styles.css.d.ts +17 -14
- package/dist/components/EstimateCost/styles.css.d.ts.map +1 -1
- package/dist/components/EstimateCost/styles.css.js +9 -3
- package/dist/components/EstimateCost/types.d.ts +4 -0
- package/dist/components/EstimateCost/types.d.ts.map +1 -1
- package/dist/components/FAQ/index.d.ts.map +1 -1
- package/dist/components/FAQ/index.js +4 -1
- package/dist/components/Navigation/Header.js +2 -2
- package/dist/components/Navigation/NavigationContent.js +1 -1
- package/dist/components/Navigation/components/Item.d.ts.map +1 -1
- package/dist/components/Navigation/components/Item.js +32 -29
- package/dist/components/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/components/Navigation/components/PinnedItems.js +2 -1
- package/dist/components/Navigation/components/items.css.d.ts +10 -10
- package/dist/components/Navigation/components/items.css.js +3 -3
- package/dist/components/Navigation/components/styles.css.d.ts +4 -4
- package/dist/components/Navigation/components/styles.css.js +1 -1
- package/dist/components/Navigation/styles.css.d.ts +6 -6
- package/dist/components/Navigation/styles.css.js +1 -1
- package/dist/components/OfferList/styles.css.d.ts +5 -5
- package/dist/components/OfferList/styles.css.js +1 -1
- package/dist/components/OrderSummary/NonScrollableContent.js +1 -1
- package/dist/components/OrderSummary/ScrollableContent.d.ts.map +1 -1
- package/dist/components/OrderSummary/ScrollableContent.js +2 -2
- package/dist/components/OrderSummary/index.js +3 -3
- package/dist/components/OrderSummary/styles.css.d.ts +2 -2
- package/dist/components/OrderSummary/styles.css.js +1 -1
- package/dist/components/Plans/index.js +1 -1
- package/dist/components/Plans/styles.css.d.ts +23 -18
- package/dist/components/Plans/styles.css.d.ts.map +1 -1
- package/dist/components/Plans/styles.css.js +1 -1
- package/dist/plus.css +1 -1
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
var disabledStack = "uv_plus_1sui13x0";
|
|
3
3
|
var copyButton = "uv_plus_1sui13x1";
|
|
4
|
-
var codeEditor = {
|
|
4
|
+
var codeEditor = { "default": "uv_plus_1sui13x3 uv_plus_1sui13x2", disabled: "uv_plus_1sui13x4 uv_plus_1sui13x2" };
|
|
5
5
|
export {
|
|
6
6
|
codeEditor,
|
|
7
7
|
copyButton,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,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EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAEpD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACpC,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,qJAiJvB,CAAA"}
|
|
@@ -47,8 +47,8 @@ const ContentCard = forwardRef(
|
|
|
47
47
|
{
|
|
48
48
|
className: cn(className, cardClass, onClick || href ? activeClass : ""),
|
|
49
49
|
disabled,
|
|
50
|
-
href:
|
|
51
|
-
onClick:
|
|
50
|
+
href: disabled ? void 0 : href,
|
|
51
|
+
onClick: disabled ? void 0 : onClick,
|
|
52
52
|
ref,
|
|
53
53
|
role: onClick && !href ? "button" : void 0,
|
|
54
54
|
style,
|
|
@@ -72,8 +72,8 @@ const ContentCard = forwardRef(
|
|
|
72
72
|
/* @__PURE__ */ jsxs(
|
|
73
73
|
Stack,
|
|
74
74
|
{
|
|
75
|
-
alignItems:
|
|
76
|
-
className: subContainer[
|
|
75
|
+
alignItems: subtitle || description || children ? void 0 : "center",
|
|
76
|
+
className: subContainer[href ? direction : "noHref"],
|
|
77
77
|
direction,
|
|
78
78
|
flex: "1 1 auto",
|
|
79
79
|
gap: 2,
|
|
@@ -128,7 +128,7 @@ const ContentCard = forwardRef(
|
|
|
128
128
|
className: iconStack[direction],
|
|
129
129
|
direction,
|
|
130
130
|
flex: 1,
|
|
131
|
-
justifyContent: direction === "column" ? "center" : "end",
|
|
131
|
+
justifyContent: direction === "column" ? "center" : "flex-end",
|
|
132
132
|
children: /* @__PURE__ */ jsx("div", { className: iconContainer, children: /* @__PURE__ */ jsx(OpenInNewIcon, { disabled, sentiment: "neutral" }) })
|
|
133
133
|
}
|
|
134
134
|
) : null
|
|
@@ -6,7 +6,7 @@ var activeClass = "uv_plus_u4r1ts3";
|
|
|
6
6
|
var cardClass = "uv_plus_u4r1ts4";
|
|
7
7
|
var iconContainer = "uv_plus_u4r1ts5";
|
|
8
8
|
var iconStack = { column: "uv_plus_u4r1ts6", row: "uv_plus_u4r1ts7" };
|
|
9
|
-
var subContainer = { column: "uv_plus_u4r1ts9 uv_plus_u4r1ts8",
|
|
9
|
+
var subContainer = { column: "uv_plus_u4r1ts9 uv_plus_u4r1ts8", noHref: "uv_plus_u4r1tsa uv_plus_u4r1ts8", row: "uv_plus_u4r1tsb uv_plus_u4r1ts8" };
|
|
10
10
|
var imageClass = { column: "uv_plus_u4r1tsd uv_plus_u4r1tsc", row: "uv_plus_u4r1tse uv_plus_u4r1tsc" };
|
|
11
11
|
var fullHeight = "uv_plus_u4r1tsf";
|
|
12
12
|
var skeletonImage = { column: "uv_plus_u4r1tsh uv_plus_u4r1tsg", row: "uv_plus_u4r1tsi uv_plus_u4r1tsg" };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCardGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMrD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCardGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMrD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAqBD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAE3B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Stack } from "@ultraviolet/ui";
|
|
4
4
|
import { forwardRef, Children } from "react";
|
|
5
5
|
import { Card } from "./Card.js";
|
|
@@ -12,7 +12,10 @@ const BaseContentCardGroup = forwardRef(({ children, loading, style }, ref) => /
|
|
|
12
12
|
direction: "column",
|
|
13
13
|
ref,
|
|
14
14
|
style,
|
|
15
|
-
children:
|
|
15
|
+
children: loading ? Children.map(children, (_child, index) => (
|
|
16
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: error
|
|
17
|
+
/* @__PURE__ */ jsx(SkeletonCard, {}, index)
|
|
18
|
+
)) : children
|
|
16
19
|
}
|
|
17
20
|
));
|
|
18
21
|
const ContentCardGroup = Object.assign(BaseContentCardGroup, {
|
|
@@ -24,7 +24,7 @@ export declare const MessageInfos: ({ children, align, style, }: {
|
|
|
24
24
|
align: "left" | "right";
|
|
25
25
|
style?: CSSProperties;
|
|
26
26
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const DateComponent: ({ children, style, }: {
|
|
28
28
|
children: ReactNode;
|
|
29
29
|
style?: CSSProperties;
|
|
30
30
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Conversation/index.tsx"],"names":[],"mappings":"AAIA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A;AAE7C,eAAO,MAAM,YAAY,GAAI,6BAI1B;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,4CAIA,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,sBAG3B;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,4CAUA,CAAA;AAED,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,OAAO,GAAI,gDAMrB,YAAY,4CAOd,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,sBAGxB;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,4CAIA,CAAA;AAOD,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -12,7 +12,7 @@ const MessageInfos = ({
|
|
|
12
12
|
align,
|
|
13
13
|
style
|
|
14
14
|
}) => /* @__PURE__ */ jsx("div", { className: conversationInfos[align], style, children });
|
|
15
|
-
const
|
|
15
|
+
const DateComponent = ({
|
|
16
16
|
children,
|
|
17
17
|
style
|
|
18
18
|
}) => /* @__PURE__ */ jsx(
|
|
@@ -40,13 +40,13 @@ const MessageTag = ({
|
|
|
40
40
|
children,
|
|
41
41
|
style
|
|
42
42
|
}) => /* @__PURE__ */ jsx(Tag, { className: conversationTag, style, children });
|
|
43
|
-
Conversation.Date =
|
|
43
|
+
Conversation.Date = DateComponent;
|
|
44
44
|
Conversation.Message = Message;
|
|
45
45
|
Conversation.MessageInfos = MessageInfos;
|
|
46
46
|
Conversation.Tag = MessageTag;
|
|
47
47
|
export {
|
|
48
48
|
Conversation,
|
|
49
|
-
|
|
49
|
+
DateComponent,
|
|
50
50
|
Message,
|
|
51
51
|
MessageInfos,
|
|
52
52
|
MessageTag
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare const angryAnimation: string;
|
|
2
2
|
export declare const happyAnimation: string;
|
|
3
3
|
export declare const customerStatisfaction: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
|
-
isScaled: {
|
|
5
|
-
true: {
|
|
6
|
-
transform: "scale(1.2)";
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
4
|
animated: {
|
|
10
|
-
|
|
5
|
+
angry: {
|
|
11
6
|
animation: `${string} 1s ease infinite`;
|
|
12
7
|
};
|
|
13
|
-
|
|
8
|
+
happy: {
|
|
14
9
|
animation: `${string} 1s ease infinite`;
|
|
15
10
|
};
|
|
16
11
|
};
|
|
12
|
+
isScaled: {
|
|
13
|
+
true: {
|
|
14
|
+
transform: "scale(1.2)";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
17
|
}>;
|
|
18
18
|
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var customerStatisfaction = createRuntimeFn({ defaultClassName: "uv_plus_wizdzu2", variantClassNames: {
|
|
3
|
+
var customerStatisfaction = createRuntimeFn({ defaultClassName: "uv_plus_wizdzu2", variantClassNames: { animated: { angry: "uv_plus_wizdzu3", happy: "uv_plus_wizdzu4" }, isScaled: { true: "uv_plus_wizdzu5" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
5
|
customerStatisfaction
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../src/components/EstimateCost/Components/Item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3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
hasBorder: !(isLastElement || noBorder || isOverlay)
|
|
193
193
|
}),
|
|
194
194
|
style: assignInlineVars({
|
|
195
195
|
[paddingLeftCell]: `${(tabulation ?? 0) * 8 + 16}px`
|
|
@@ -261,20 +261,20 @@ const Item = memo(
|
|
|
261
261
|
] })
|
|
262
262
|
}
|
|
263
263
|
),
|
|
264
|
-
|
|
264
|
+
isOverlay ? null : /* @__PURE__ */ jsx(
|
|
265
265
|
"td",
|
|
266
266
|
{
|
|
267
267
|
className: cn(
|
|
268
268
|
estimateCostCell({
|
|
269
|
-
hasBorder: !isLastElement
|
|
269
|
+
hasBorder: !(isLastElement || noBorder),
|
|
270
270
|
primary: isPrimaryBackground
|
|
271
271
|
}),
|
|
272
272
|
estimateCostPriceCell
|
|
273
273
|
),
|
|
274
274
|
style: assignInlineVars({
|
|
275
|
-
[paddingLeftCell]:
|
|
275
|
+
[paddingLeftCell]: "16px"
|
|
276
276
|
}),
|
|
277
|
-
children:
|
|
277
|
+
children: noPrice ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
278
278
|
/* @__PURE__ */ jsxs(
|
|
279
279
|
Text,
|
|
280
280
|
{
|
|
@@ -286,9 +286,9 @@ const Item = memo(
|
|
|
286
286
|
variant: noIterationText ? "headingSmall" : "bodyStrong",
|
|
287
287
|
children: [
|
|
288
288
|
priceText,
|
|
289
|
-
|
|
289
|
+
priceText ? null : formatNumber(computedItemPrice, {
|
|
290
290
|
maximumFractionDigits: formatMaximumFractionDigits
|
|
291
|
-
})
|
|
291
|
+
}),
|
|
292
292
|
noIterationText ? /* @__PURE__ */ jsxs(Text, { as: "span", sentiment: "primary", variant: "bodySmall", children: [
|
|
293
293
|
"/",
|
|
294
294
|
noIterationText
|
|
@@ -313,11 +313,11 @@ const Item = memo(
|
|
|
313
313
|
}
|
|
314
314
|
),
|
|
315
315
|
TIME_RELATED_UNIT.includes(unit) ? locales[`estimate.cost.units.${unit}.label`].toLowerCase() : `/${unit}`,
|
|
316
|
-
|
|
316
|
+
noIteration ? null : `/${locales["estimate.cost.units.hours.label"].toLowerCase()}`
|
|
317
317
|
] }) : null
|
|
318
|
-
] })
|
|
318
|
+
] })
|
|
319
319
|
}
|
|
320
|
-
)
|
|
320
|
+
)
|
|
321
321
|
]
|
|
322
322
|
}
|
|
323
323
|
);
|
|
@@ -13,14 +13,14 @@ const Regular = memo(
|
|
|
13
13
|
style
|
|
14
14
|
}) => {
|
|
15
15
|
const { isOverlay } = useOverlay();
|
|
16
|
-
return
|
|
16
|
+
return isDisabledOnOverlay && isOverlay ? null : /* @__PURE__ */ jsx(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
19
|
className: cn(className, estimateCostRegular({ isOverlay, variant })),
|
|
20
20
|
style,
|
|
21
21
|
children
|
|
22
22
|
}
|
|
23
|
-
)
|
|
23
|
+
);
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
export {
|
|
@@ -12,22 +12,22 @@ export declare const estimateCostItemResourceName: import("@vanilla-extract/reci
|
|
|
12
12
|
};
|
|
13
13
|
}>;
|
|
14
14
|
export declare const estimateCostResourceName: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
15
|
-
|
|
15
|
+
isAnimated: {
|
|
16
16
|
true: {
|
|
17
|
-
|
|
18
|
-
height: `var(--${string})`;
|
|
19
|
-
display: "flex";
|
|
20
|
-
flexDirection: "column";
|
|
21
|
-
WebkitBoxPack: "center";
|
|
22
|
-
justifyContent: "center";
|
|
17
|
+
animation: `${string} 800ms`;
|
|
23
18
|
};
|
|
19
|
+
};
|
|
20
|
+
isOverlay: {
|
|
24
21
|
false: {
|
|
25
22
|
textAlign: "right";
|
|
26
23
|
};
|
|
27
|
-
};
|
|
28
|
-
isAnimated: {
|
|
29
24
|
true: {
|
|
30
|
-
|
|
25
|
+
display: "flex";
|
|
26
|
+
flexDirection: "column";
|
|
27
|
+
height: `var(--${string})`;
|
|
28
|
+
justifyContent: "center";
|
|
29
|
+
textAlign: "initial";
|
|
30
|
+
WebkitBoxPack: "center";
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
@@ -38,30 +38,27 @@ export declare const estimateCostTooltip: string;
|
|
|
38
38
|
export declare const estimateCostLineThrough: string;
|
|
39
39
|
export declare const estimateCostRegular: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
40
40
|
isOverlay: {
|
|
41
|
-
true: {
|
|
42
|
-
display: "flex";
|
|
43
|
-
};
|
|
44
41
|
false: {
|
|
45
42
|
display: "inline-flex";
|
|
46
43
|
};
|
|
44
|
+
true: {
|
|
45
|
+
display: "flex";
|
|
46
|
+
};
|
|
47
47
|
};
|
|
48
48
|
variant: {
|
|
49
|
-
normal: {};
|
|
50
49
|
big: {};
|
|
51
50
|
capitalized: {};
|
|
51
|
+
normal: {};
|
|
52
52
|
small: {
|
|
53
|
+
color: `var(--${string})`;
|
|
53
54
|
display: "block";
|
|
54
55
|
fontSize: number;
|
|
55
56
|
lineHeight: number;
|
|
56
|
-
color: `var(--${string})`;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
}>;
|
|
60
60
|
export declare const estimateCostStrong: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
61
61
|
variant: {
|
|
62
|
-
normal: {
|
|
63
|
-
fontSize: number;
|
|
64
|
-
};
|
|
65
62
|
big: {
|
|
66
63
|
fontSize: number;
|
|
67
64
|
};
|
|
@@ -69,6 +66,9 @@ export declare const estimateCostStrong: import("@vanilla-extract/recipes").Runt
|
|
|
69
66
|
fontSize: number;
|
|
70
67
|
textTransform: "capitalize";
|
|
71
68
|
};
|
|
69
|
+
normal: {
|
|
70
|
+
fontSize: number;
|
|
71
|
+
};
|
|
72
72
|
small: {
|
|
73
73
|
fontSize: number;
|
|
74
74
|
};
|
|
@@ -97,14 +97,14 @@ var estimateCostTr = "uv_plus_1ko5kn23";
|
|
|
97
97
|
var styledDiv = "uv_plus_1ko5kn24";
|
|
98
98
|
var estimateCostLeftSide = "uv_plus_1ko5kn25";
|
|
99
99
|
var estimateCostItemResourceName = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn26", variantClassNames: { animated: { true: "uv_plus_1ko5kn27" } }, defaultVariants: { animated: false }, compoundVariants: [] });
|
|
100
|
-
var estimateCostResourceName = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn28", variantClassNames: {
|
|
100
|
+
var estimateCostResourceName = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn28", variantClassNames: { isAnimated: { true: "uv_plus_1ko5kn29" }, isOverlay: { false: "uv_plus_1ko5kn2a", true: "uv_plus_1ko5kn2b" } }, defaultVariants: { isAnimated: false, isOverlay: false }, compoundVariants: [] });
|
|
101
101
|
var estimateCostBadgeItem = "uv_plus_1ko5kn2c";
|
|
102
102
|
var estimateCostTextItem = "uv_plus_1ko5kn2d";
|
|
103
103
|
var estimateCostMaxWidthText = "uv_plus_1ko5kn2e";
|
|
104
104
|
var estimateCostTooltip = "uv_plus_1ko5kn2f";
|
|
105
105
|
var estimateCostLineThrough = "uv_plus_1ko5kn2g";
|
|
106
|
-
var estimateCostRegular = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2h", variantClassNames: { isOverlay: {
|
|
107
|
-
var estimateCostStrong = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2o", variantClassNames: { variant: {
|
|
106
|
+
var estimateCostRegular = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2h", variantClassNames: { isOverlay: { false: "uv_plus_1ko5kn2i", true: "uv_plus_1ko5kn2j" }, variant: { big: "uv_plus_1ko5kn2k", capitalized: "uv_plus_1ko5kn2l", normal: "uv_plus_1ko5kn2m", small: "uv_plus_1ko5kn2n" } }, defaultVariants: { isOverlay: false, variant: "normal" }, compoundVariants: [] });
|
|
107
|
+
var estimateCostStrong = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2o", variantClassNames: { variant: { big: "uv_plus_1ko5kn2p", capitalized: "uv_plus_1ko5kn2q", normal: "uv_plus_1ko5kn2r", small: "uv_plus_1ko5kn2s" } }, defaultVariants: { variant: "normal" }, compoundVariants: [] });
|
|
108
108
|
var estimateCostNumberInput = "uv_plus_1ko5kn2t";
|
|
109
109
|
export {
|
|
110
110
|
estimateCostBadgeItem,
|
|
@@ -2,7 +2,7 @@ import { Text } from '@ultraviolet/ui';
|
|
|
2
2
|
import type { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
import type { EstimateCostProps } from './types';
|
|
4
4
|
declare const EstimateCost: {
|
|
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, style, onTotalPriceChange, }: EstimateCostProps): import("react/jsx-runtime").JSX.Element;
|
|
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, compact, numberLocales, currency, style, onTotalPriceChange, }: EstimateCostProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
LineThrough: ({ isActive, className, ...props }: import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EstimateCost.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCost.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAGtC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBtD,OAAO,KAAK,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAA;AAavD,QAAA,MAAM,YAAY;
|
|
1
|
+
{"version":3,"file":"EstimateCost.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCost.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAGtC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBtD,OAAO,KAAK,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAA;AAavD,QAAA,MAAM,YAAY;sZA8Bf,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAxDC,CAAA,0BACd,CAAA;gCAA6C,CAAC;;;;;;;8BAAzB,CAAC,mBAAmB,CAAC;gCACV,CAAC;;;;;;;;;;;;;;;;;mBAelB,cAAc,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAmGxC;QACD,QAAQ,EAAE,SAAS,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB;CA3BA,CAAA;AAsDD,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -52,6 +52,7 @@ const EstimateCost = ({
|
|
|
52
52
|
overlayUnit = "hours",
|
|
53
53
|
children = null,
|
|
54
54
|
locales = EstimateCostLocales,
|
|
55
|
+
compact,
|
|
55
56
|
numberLocales = "en-EN",
|
|
56
57
|
currency = "EUR",
|
|
57
58
|
style,
|
|
@@ -70,6 +71,7 @@ const EstimateCost = ({
|
|
|
70
71
|
alertVariant,
|
|
71
72
|
commitmentFees,
|
|
72
73
|
commitmentFeesContent,
|
|
74
|
+
compact,
|
|
73
75
|
defaultTimeUnit,
|
|
74
76
|
description,
|
|
75
77
|
disableOverlayLeft,
|
|
@@ -115,7 +117,7 @@ const Ellipsis = ({
|
|
|
115
117
|
"div",
|
|
116
118
|
{
|
|
117
119
|
"data-testid": dataTestId,
|
|
118
|
-
style: { display:
|
|
120
|
+
style: { display: isOverlay ? void 0 : "inline-flex" },
|
|
119
121
|
children: /* @__PURE__ */ jsx(
|
|
120
122
|
Text,
|
|
121
123
|
{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
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, }: EstimateCostProps) => import("react/jsx-runtime").JSX.Element;
|
|
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
3
|
//# sourceMappingURL=EstimateCostContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EstimateCostContent.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCostContent.tsx"],"names":[],"mappings":"
|
|
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,GAAI,gZA6BjC,iBAAiB,4CAsbnB,CAAA"}
|