@ultraviolet/plus 3.1.6 → 3.1.7
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 +2 -1
- package/dist/components/Navigation/variables.css.js +0 -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 +4 -4
|
@@ -165,7 +165,7 @@ const Item = memo(
|
|
|
165
165
|
[expanded]
|
|
166
166
|
);
|
|
167
167
|
const showDraggableIcon = !noExpand && pinnedFeature && shouldShowPinnedButton && !disabled;
|
|
168
|
-
const showPinIcon = !noExpand
|
|
168
|
+
const showPinIcon = !(noExpand || disabled) && shouldShowPinnedButton && pinnedFeature;
|
|
169
169
|
const shouldHaveWeakText = !!children && !active && shouldShowPinnedButton && !disabled;
|
|
170
170
|
if (expanded || !expanded && animation === "expand") {
|
|
171
171
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -231,7 +231,7 @@ const Item = memo(
|
|
|
231
231
|
}
|
|
232
232
|
) : null,
|
|
233
233
|
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
234
|
-
|
|
234
|
+
animation ? null : /* @__PURE__ */ jsxs(
|
|
235
235
|
Text,
|
|
236
236
|
{
|
|
237
237
|
as: "span",
|
|
@@ -250,7 +250,7 @@ const Item = memo(
|
|
|
250
250
|
labelDescription ? /* @__PURE__ */ jsx("span", { className: navigationItemPadded, children: labelDescription }) : null
|
|
251
251
|
]
|
|
252
252
|
}
|
|
253
|
-
)
|
|
253
|
+
),
|
|
254
254
|
subLabel && !animation ? /* @__PURE__ */ jsx(
|
|
255
255
|
Text,
|
|
256
256
|
{
|
|
@@ -351,7 +351,7 @@ const Item = memo(
|
|
|
351
351
|
className: navigationItemStackIcon,
|
|
352
352
|
direction: "row",
|
|
353
353
|
gap: 1,
|
|
354
|
-
children:
|
|
354
|
+
children: animation || noExpand ? null : /* @__PURE__ */ jsx(ArrowIcon, { prominence: "weak", sentiment: "neutral" })
|
|
355
355
|
}
|
|
356
356
|
) : null
|
|
357
357
|
]
|
|
@@ -360,35 +360,38 @@ const Item = memo(
|
|
|
360
360
|
]
|
|
361
361
|
}
|
|
362
362
|
),
|
|
363
|
-
children ?
|
|
364
|
-
|
|
365
|
-
{
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
{
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
363
|
+
children ? (
|
|
364
|
+
// biome-ignore lint/complexity/noUselessFragments: allow multiple ternary
|
|
365
|
+
/* @__PURE__ */ jsx(Fragment, { children: noExpand ? /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(
|
|
366
|
+
Stack,
|
|
367
|
+
{
|
|
368
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationItemPaddingStack({
|
|
369
|
+
hide: shouldAnimate && animationType === "complex" && animation === "expand"
|
|
370
|
+
}),
|
|
371
|
+
width: animation ? "100%" : void 0,
|
|
372
|
+
children
|
|
373
|
+
}
|
|
374
|
+
) }) : /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(Expandable, { animationDuration: 0, opened: internalExpanded, children: /* @__PURE__ */ jsx(
|
|
375
|
+
Stack,
|
|
376
|
+
{
|
|
377
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationItemPaddingStack({
|
|
378
|
+
hide: shouldAnimate && animationType === "complex" && animation === "expand"
|
|
379
|
+
}),
|
|
380
|
+
width: animation ? "100%" : void 0,
|
|
381
|
+
children
|
|
382
|
+
}
|
|
383
|
+
) }) }) })
|
|
384
|
+
) : null
|
|
382
385
|
] });
|
|
383
386
|
}
|
|
384
387
|
if (categoryIcon || Children.count(children) > 0 && !hasParents) {
|
|
385
388
|
return /* @__PURE__ */ jsx(
|
|
386
389
|
Stack,
|
|
387
390
|
{
|
|
388
|
-
alignItems: "start",
|
|
391
|
+
alignItems: "flex-start",
|
|
389
392
|
className: navigationItemMenuStack,
|
|
390
393
|
gap: 1,
|
|
391
|
-
justifyContent: "start",
|
|
394
|
+
justifyContent: "flex-start",
|
|
392
395
|
style,
|
|
393
396
|
children: Children.count(children) > 0 ? /* @__PURE__ */ jsx(
|
|
394
397
|
Menu,
|
|
@@ -472,7 +475,7 @@ const Item = memo(
|
|
|
472
475
|
justifyContent: "space-between",
|
|
473
476
|
width: "100%",
|
|
474
477
|
children: [
|
|
475
|
-
|
|
478
|
+
animation ? null : /* @__PURE__ */ jsx(
|
|
476
479
|
Text,
|
|
477
480
|
{
|
|
478
481
|
as: "span",
|
|
@@ -484,7 +487,7 @@ const Item = memo(
|
|
|
484
487
|
whiteSpace: "pre-wrap",
|
|
485
488
|
children: label
|
|
486
489
|
}
|
|
487
|
-
)
|
|
490
|
+
),
|
|
488
491
|
labelDescription ? /* @__PURE__ */ jsx("span", { className: navigationItemPadded, children: labelDescription }) : null,
|
|
489
492
|
/* @__PURE__ */ jsxs(Stack, { direction: "row", children: [
|
|
490
493
|
badgeText && !animation ? /* @__PURE__ */ jsx(
|
|
@@ -562,10 +565,10 @@ const Item = memo(
|
|
|
562
565
|
return /* @__PURE__ */ jsx(Tooltip, { placement: "right", text: label, children: /* @__PURE__ */ jsx(
|
|
563
566
|
Stack,
|
|
564
567
|
{
|
|
565
|
-
alignItems: "start",
|
|
568
|
+
alignItems: "flex-start",
|
|
566
569
|
className: navigationItemMenuStack,
|
|
567
570
|
gap: 1,
|
|
568
|
-
justifyContent: "start",
|
|
571
|
+
justifyContent: "flex-start",
|
|
569
572
|
children: /* @__PURE__ */ jsx(
|
|
570
573
|
Stack,
|
|
571
574
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,sDAMzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,sDAMzB,gBAAgB,mDAsIlB,CAAA"}
|
|
@@ -6,30 +6,30 @@ export declare const navigationItemMenu: string;
|
|
|
6
6
|
export declare const navigationItemMenuPinned: string;
|
|
7
7
|
export declare const navigationItemContainerBase: string;
|
|
8
8
|
export declare const navigationItemContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9
|
-
noExpand: {
|
|
10
|
-
false: {
|
|
11
|
-
cursor: "pointer";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
9
|
disabled: {
|
|
15
10
|
true: {
|
|
16
|
-
cursor: "not-allowed";
|
|
17
11
|
backgroundColor: "unset";
|
|
12
|
+
cursor: "not-allowed";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
hasActive: {
|
|
16
|
+
true: {
|
|
17
|
+
backgroundColor: `var(--${string})`;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
isActive: {
|
|
21
21
|
true: {
|
|
22
|
+
backgroundColor: `var(--${string})`;
|
|
22
23
|
selectors: {
|
|
23
24
|
'&:hover': {
|
|
24
25
|
backgroundColor: `var(--${string})`;
|
|
25
26
|
};
|
|
26
27
|
};
|
|
27
|
-
backgroundColor: `var(--${string})`;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
noExpand: {
|
|
31
|
+
false: {
|
|
32
|
+
cursor: "pointer";
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
subLabel: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* empty css */
|
|
2
1
|
/* empty css */
|
|
3
2
|
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
6
|
var navigationItemMenuContainer = "uv_plus_x6an4g0";
|
|
@@ -9,7 +9,7 @@ var navigationItemPadded = "uv_plus_x6an4g2";
|
|
|
9
9
|
var navigationItemPinIcon = { active: "uv_plus_x6an4g4 uv_plus_x6an4g3", inactive: "uv_plus_x6an4g5 uv_plus_x6an4g3" };
|
|
10
10
|
var navigationItemMenu = "uv_plus_x6an4g6";
|
|
11
11
|
var navigationItemMenuPinned = "uv_plus_x6an4g7";
|
|
12
|
-
var navigationItemContainer = createRuntimeFn({ defaultClassName: "uv_plus_x6an4g9 uv_plus_x6an4g8", variantClassNames: {
|
|
12
|
+
var navigationItemContainer = createRuntimeFn({ defaultClassName: "uv_plus_x6an4g9 uv_plus_x6an4g8", variantClassNames: { disabled: { true: "uv_plus_x6an4ga" }, hasActive: { true: "uv_plus_x6an4gb" }, isActive: { true: "uv_plus_x6an4gc" }, noExpand: { false: "uv_plus_x6an4gd" }, subLabel: { true: "uv_plus_x6an4ge" } }, defaultVariants: { disabled: false, hasActive: false, isActive: false, noExpand: false, subLabel: false }, compoundVariants: [[{ disabled: false, isActive: false, noExpand: false }, "uv_plus_x6an4gf"], [{ disabled: false, hasActive: true, isActive: false, noExpand: false }, "uv_plus_x6an4gg"], [{ disabled: false, isActive: false, noExpand: false }, "uv_plus_x6an4gh"]] });
|
|
13
13
|
var navigationItemContainerAnimated = { collapse: "uv_plus_x6an4gi", expand: "uv_plus_x6an4gj" };
|
|
14
14
|
var navigationItemShowDraggable = "uv_plus_x6an4gk";
|
|
15
15
|
var navigationItemShowPinButton = "uv_plus_x6an4gl";
|
|
@@ -18,7 +18,7 @@ var navigationItemDragIcon = "uv_plus_x6an4gn";
|
|
|
18
18
|
var navigationItemWrapText = createRuntimeFn({ defaultClassName: "uv_plus_x6an4go", variantClassNames: { disabled: { true: "uv_plus_x6an4gp" }, weak: { true: "uv_plus_x6an4gq" } }, defaultVariants: { disabled: false, weak: false }, compoundVariants: [] });
|
|
19
19
|
var navigationItemBadge = "uv_plus_x6an4gr";
|
|
20
20
|
var navigationItemPinnedButton = "uv_plus_x6an4gs";
|
|
21
|
-
var navigationItemAnimatedIcon = {
|
|
21
|
+
var navigationItemAnimatedIcon = { collapse: "uv_plus_x6an4gt", expand: "uv_plus_x6an4gu" };
|
|
22
22
|
var navigationItemMenuStack = "uv_plus_x6an4gv";
|
|
23
23
|
var navigationItemStackIcon = "uv_plus_x6an4gw";
|
|
24
24
|
var navigationItemCategoryIcon = "uv_plus_x6an4gx";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const navigationGroupText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
2
|
animation: {
|
|
3
|
-
expand: {
|
|
4
|
-
animation: `${string} 250ms ease-in-out`;
|
|
5
|
-
};
|
|
6
3
|
collapse: {
|
|
7
4
|
animation: `${string} 250ms ease-in-out reverse`;
|
|
8
5
|
};
|
|
6
|
+
expand: {
|
|
7
|
+
animation: `${string} 250ms ease-in-out`;
|
|
8
|
+
};
|
|
9
9
|
false: {};
|
|
10
10
|
};
|
|
11
11
|
}>;
|
|
@@ -15,8 +15,8 @@ export declare const navigationPinnedItemRelativeDiv: string;
|
|
|
15
15
|
export declare const navigationPinnedItemContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
16
16
|
expanded: {
|
|
17
17
|
true: {
|
|
18
|
-
paddingLeft: `var(--${string})`;
|
|
19
18
|
marginLeft: `var(--${string})`;
|
|
19
|
+
paddingLeft: `var(--${string})`;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
|
-
var navigationGroupText = createRuntimeFn({ defaultClassName: "uv_plus_nytpcy0", variantClassNames: { animation: {
|
|
4
|
+
var navigationGroupText = createRuntimeFn({ defaultClassName: "uv_plus_nytpcy0", variantClassNames: { animation: { collapse: "uv_plus_nytpcy1", expand: "uv_plus_nytpcy2", false: "uv_plus_nytpcy3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
5
|
var navigationGroupStack = "uv_plus_nytpcy4";
|
|
6
6
|
var navigationPinnedItemDropableArea = "uv_plus_nytpcy5";
|
|
7
7
|
var navigationPinnedItemRelativeDiv = "uv_plus_nytpcy6";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const navigationStickyFooter: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
2
|
overflow: {
|
|
3
3
|
false: {
|
|
4
|
-
boxShadow: "none";
|
|
5
4
|
border: "none";
|
|
5
|
+
boxShadow: "none";
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
}>;
|
|
@@ -10,11 +10,6 @@ export declare const navigationHeader: string;
|
|
|
10
10
|
export declare const navigationLogoContainer: string;
|
|
11
11
|
export declare const navigation: string;
|
|
12
12
|
export declare const navigationContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
13
|
-
expanded: {
|
|
14
|
-
false: {
|
|
15
|
-
width: "67px";
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
13
|
animation: {
|
|
19
14
|
collapse: {
|
|
20
15
|
transition: "width 250ms ease-in-out";
|
|
@@ -26,6 +21,11 @@ export declare const navigationContainer: import("@vanilla-extract/recipes").Run
|
|
|
26
21
|
};
|
|
27
22
|
false: {};
|
|
28
23
|
};
|
|
24
|
+
expanded: {
|
|
25
|
+
false: {
|
|
26
|
+
width: "67px";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
29
|
}>;
|
|
30
30
|
export declare const navigationContentContainer: string;
|
|
31
31
|
export declare const navigationContentContainerCollapsed: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/* empty css */
|
|
1
2
|
/* empty css */
|
|
2
3
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
4
|
var navigationStickyFooter = createRuntimeFn({ defaultClassName: "uv_plus_19x50fv0", variantClassNames: { overflow: { false: "uv_plus_19x50fv1" } }, defaultVariants: { overflow: false }, compoundVariants: [] });
|
|
4
5
|
var navigationHeader = "uv_plus_19x50fv2";
|
|
5
6
|
var navigationLogoContainer = "uv_plus_19x50fv3";
|
|
6
7
|
var navigation = "uv_plus_19x50fv4";
|
|
7
|
-
var navigationContainer = createRuntimeFn({ defaultClassName: "uv_plus_19x50fv5", variantClassNames: {
|
|
8
|
+
var navigationContainer = createRuntimeFn({ defaultClassName: "uv_plus_19x50fv5", variantClassNames: { animation: { collapse: "uv_plus_19x50fv6", expand: "uv_plus_19x50fv7", false: "uv_plus_19x50fv8" }, expanded: { false: "uv_plus_19x50fv9" } }, defaultVariants: {}, compoundVariants: [[{ animation: false, expanded: true }, "uv_plus_19x50fva"]] });
|
|
8
9
|
var navigationContentContainer = "uv_plus_19x50fvb";
|
|
9
10
|
var navigationContentContainerCollapsed = "uv_plus_19x50fvc";
|
|
10
11
|
var navigationContent = "uv_plus_19x50fvd";
|
|
@@ -2,6 +2,11 @@ export declare const expandablePadding: `var(--${string})`;
|
|
|
2
2
|
export declare const offerList: string;
|
|
3
3
|
export declare const offerListBanner: string;
|
|
4
4
|
export declare const offerListBannerText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
5
|
+
disabled: {
|
|
6
|
+
true: {
|
|
7
|
+
border: `1px solid var(--${string})`;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
5
10
|
primaryBorder: {
|
|
6
11
|
false: {
|
|
7
12
|
border: `1px solid var(--${string})`;
|
|
@@ -15,11 +20,6 @@ export declare const offerListBannerText: import("@vanilla-extract/recipes").Run
|
|
|
15
20
|
sentiment: {
|
|
16
21
|
[k: string]: {};
|
|
17
22
|
};
|
|
18
|
-
disabled: {
|
|
19
|
-
true: {
|
|
20
|
-
border: `1px solid var(--${string})`;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
23
|
}>;
|
|
24
24
|
export declare const offerListBannerCell: string;
|
|
25
25
|
export declare const offerListBannerStack: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -3,7 +3,7 @@ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
|
3
3
|
var expandablePadding = "var(--uv_plus_1wcpahp0)";
|
|
4
4
|
var offerList = "uv_plus_1wcpahp1";
|
|
5
5
|
var offerListBanner = "uv_plus_1wcpahp2";
|
|
6
|
-
var offerListBannerText = createRuntimeFn({ defaultClassName: "uv_plus_1wcpahp3", variantClassNames: {
|
|
6
|
+
var offerListBannerText = createRuntimeFn({ defaultClassName: "uv_plus_1wcpahp3", variantClassNames: { disabled: { true: "uv_plus_1wcpahp4" }, primaryBorder: { false: "uv_plus_1wcpahp5" }, sentiment: { primary: "uv_plus_1wcpahp6", secondary: "uv_plus_1wcpahp7", neutral: "uv_plus_1wcpahp8", success: "uv_plus_1wcpahp9", danger: "uv_plus_1wcpahpa", warning: "uv_plus_1wcpahpb", info: "uv_plus_1wcpahpc" } }, defaultVariants: { disabled: false, primaryBorder: false, sentiment: "neutral" }, compoundVariants: [[{ disabled: false, sentiment: "primary" }, "uv_plus_1wcpahpd"], [{ disabled: false, sentiment: "secondary" }, "uv_plus_1wcpahpe"], [{ disabled: false, sentiment: "neutral" }, "uv_plus_1wcpahpf"], [{ disabled: false, sentiment: "success" }, "uv_plus_1wcpahpg"], [{ disabled: false, sentiment: "danger" }, "uv_plus_1wcpahph"], [{ disabled: false, sentiment: "warning" }, "uv_plus_1wcpahpi"], [{ disabled: false, sentiment: "info" }, "uv_plus_1wcpahpj"], [{ disabled: true, sentiment: "primary" }, "uv_plus_1wcpahpk"], [{ disabled: true, sentiment: "secondary" }, "uv_plus_1wcpahpl"], [{ disabled: true, sentiment: "neutral" }, "uv_plus_1wcpahpm"], [{ disabled: true, sentiment: "success" }, "uv_plus_1wcpahpn"], [{ disabled: true, sentiment: "danger" }, "uv_plus_1wcpahpo"], [{ disabled: true, sentiment: "warning" }, "uv_plus_1wcpahpp"], [{ disabled: true, sentiment: "info" }, "uv_plus_1wcpahpq"], [{ disabled: false, primaryBorder: true }, "uv_plus_1wcpahpr"], [{ disabled: true, primaryBorder: true }, "uv_plus_1wcpahps"]] });
|
|
7
7
|
var offerListBannerCell = "uv_plus_1wcpahpt";
|
|
8
8
|
var offerListBannerStack = createRuntimeFn({ defaultClassName: "uv_plus_1wcpahpu", variantClassNames: { sentiment: { primary: "uv_plus_1wcpahpv", secondary: "uv_plus_1wcpahpw", neutral: "uv_plus_1wcpahpx", success: "uv_plus_1wcpahpy", danger: "uv_plus_1wcpahpz", warning: "uv_plus_1wcpahp10", info: "uv_plus_1wcpahp11" } }, defaultVariants: { sentiment: "neutral" }, compoundVariants: [] });
|
|
9
9
|
var offerListBadge = "uv_plus_1wcpahp12";
|
|
@@ -56,7 +56,7 @@ const NonScrollableContent = ({
|
|
|
56
56
|
),
|
|
57
57
|
totalPriceDescription
|
|
58
58
|
] }),
|
|
59
|
-
/* @__PURE__ */ jsxs(Stack, { alignItems: "end", direction: "column", children: [
|
|
59
|
+
/* @__PURE__ */ jsxs(Stack, { alignItems: "flex-end", direction: "column", children: [
|
|
60
60
|
totalPrice.totalPrice === totalPrice.totalPriceWithDiscount || hideBeforePrice ? /* @__PURE__ */ jsxs(
|
|
61
61
|
Text,
|
|
62
62
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"AAmQA,eAAO,MAAM,iBAAiB,+CAoC7B,CAAA"}
|
|
@@ -67,7 +67,7 @@ const CategoryName = ({ category }) => {
|
|
|
67
67
|
value: category.numberInputValue
|
|
68
68
|
}
|
|
69
69
|
) : null,
|
|
70
|
-
!category.customContent
|
|
70
|
+
!(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(
|
|
71
71
|
Text,
|
|
72
72
|
{
|
|
73
73
|
as: "span",
|
|
@@ -77,7 +77,7 @@ const CategoryName = ({ category }) => {
|
|
|
77
77
|
children: /* @__PURE__ */ jsx(DisplayPrice, { beforeOrAfter: "after", price: categoryPrice })
|
|
78
78
|
}
|
|
79
79
|
) : null,
|
|
80
|
-
!category.customContent
|
|
80
|
+
!(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
|
|
81
81
|
/* @__PURE__ */ jsx(
|
|
82
82
|
Text,
|
|
83
83
|
{
|
|
@@ -146,7 +146,7 @@ const OrderSummary = ({
|
|
|
146
146
|
children: header
|
|
147
147
|
}
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
hideTimeUnit || hideDetails ? null : /* @__PURE__ */ jsx(Stack, { className: orderSummaryStackBackground, children: /* @__PURE__ */ jsx(
|
|
150
150
|
UnitInput,
|
|
151
151
|
{
|
|
152
152
|
dropdownAlign: "center",
|
|
@@ -165,11 +165,11 @@ const OrderSummary = ({
|
|
|
165
165
|
unitValue: unitUnitInput,
|
|
166
166
|
value: valueUnitInput
|
|
167
167
|
}
|
|
168
|
-
) })
|
|
168
|
+
) })
|
|
169
169
|
]
|
|
170
170
|
}
|
|
171
171
|
) : null,
|
|
172
|
-
|
|
172
|
+
hideDetails ? null : /* @__PURE__ */ jsx(ScrollableContent, {}),
|
|
173
173
|
/* @__PURE__ */ jsx(
|
|
174
174
|
NonScrollableContent,
|
|
175
175
|
{
|
|
@@ -9,10 +9,10 @@ export declare const orderSummaryCategory: string;
|
|
|
9
9
|
export declare const orderSummaryAnchor: string;
|
|
10
10
|
export declare const orderSummaryAnchorIcon: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11
11
|
size: {
|
|
12
|
-
|
|
12
|
+
medium: {
|
|
13
13
|
marginTop: `var(--${string})`;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
small: {
|
|
16
16
|
marginTop: `var(--${string})`;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -9,7 +9,7 @@ var orderSummaryScrollableContainer = "uv_plus_1q5g1ma7";
|
|
|
9
9
|
var orderSummaryDetails = "uv_plus_1q5g1ma8";
|
|
10
10
|
var orderSummaryCategory = "uv_plus_1q5g1ma9";
|
|
11
11
|
var orderSummaryAnchor = "uv_plus_1q5g1maa";
|
|
12
|
-
var orderSummaryAnchorIcon = createRuntimeFn({ defaultClassName: "uv_plus_1q5g1mab", variantClassNames: { size: {
|
|
12
|
+
var orderSummaryAnchorIcon = createRuntimeFn({ defaultClassName: "uv_plus_1q5g1mab", variantClassNames: { size: { medium: "uv_plus_1q5g1mac", small: "uv_plus_1q5g1mad" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
13
|
export {
|
|
14
14
|
orderSummaryAnchor,
|
|
15
15
|
orderSummaryAnchorIcon,
|
|
@@ -23,7 +23,7 @@ const Plans = ({
|
|
|
23
23
|
const [hoveredPlan, setHoveredPlan] = useState();
|
|
24
24
|
return /* @__PURE__ */ jsxs("table", { className: plans, style, children: [
|
|
25
25
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
26
|
-
/* @__PURE__ */ jsx("td", { className: plansCell({ hide: hideLabels }), children:
|
|
26
|
+
/* @__PURE__ */ jsx("td", { className: plansCell({ hide: hideLabels }), children: hideFeatureText ? null : /* @__PURE__ */ jsx(Text, { as: "span", variant: "headingSmallStrong", children: locales$1["plans.features"] }) }),
|
|
27
27
|
plans$1.map((plan) => {
|
|
28
28
|
const computedDisabled = !!(plan.outOfStock || plan.disabled);
|
|
29
29
|
const selectable = hasCardBehavior && !computedDisabled;
|
|
@@ -2,44 +2,49 @@ export declare const plansIconWrapper: string;
|
|
|
2
2
|
export declare const plans: string;
|
|
3
3
|
export declare const plansOutOfStockBadge: string;
|
|
4
4
|
export declare const plansCell: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
5
|
+
activeColor: {
|
|
6
|
+
true: {
|
|
7
|
+
selectors: {
|
|
8
|
+
'thead &:not(:first-child), tbody &:not(:first-child), tbody tr:last-child &:not(:first-child)': {
|
|
9
|
+
borderColor: `var(--${string})`;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
5
14
|
disabled: {
|
|
6
15
|
true: {
|
|
7
16
|
backgroundColor: `var(--${string})`;
|
|
8
17
|
};
|
|
9
18
|
};
|
|
10
|
-
|
|
19
|
+
focus: {
|
|
11
20
|
true: {
|
|
12
|
-
|
|
21
|
+
selectors: {
|
|
22
|
+
'thead &:not(:first-child), tbody &:not(:first-child), tbody tr:last-child &:not(:first-child)': {
|
|
23
|
+
borderColor: "blue";
|
|
24
|
+
borderWidth: "2px 2px 0 2px";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
13
27
|
};
|
|
14
28
|
};
|
|
15
|
-
|
|
29
|
+
hide: {
|
|
16
30
|
true: {
|
|
17
|
-
|
|
31
|
+
display: "none";
|
|
18
32
|
};
|
|
19
33
|
};
|
|
20
34
|
hideLabels: {
|
|
21
35
|
true: {
|
|
22
|
-
textAlign: "start";
|
|
23
36
|
paddingLeft: `var(--${string})`;
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
activeColor: {
|
|
27
|
-
true: {
|
|
37
|
+
textAlign: "start";
|
|
28
38
|
selectors: {
|
|
29
|
-
'thead
|
|
30
|
-
|
|
39
|
+
'thead &': {
|
|
40
|
+
paddingLeft: `var(--${string})`;
|
|
31
41
|
};
|
|
32
42
|
};
|
|
33
43
|
};
|
|
34
44
|
};
|
|
35
|
-
|
|
45
|
+
selectable: {
|
|
36
46
|
true: {
|
|
37
|
-
|
|
38
|
-
'thead &:not(:first-child), tbody &:not(:first-child), tbody tr:last-child &:not(:first-child)': {
|
|
39
|
-
borderColor: "blue";
|
|
40
|
-
borderWidth: "2px 2px 0 2px";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
47
|
+
cursor: "pointer";
|
|
43
48
|
};
|
|
44
49
|
};
|
|
45
50
|
spaceAfter: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Plans/styles.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,QAA+B,CAAA;AAE5D,eAAO,MAAM,KAAK,QAWhB,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAK/B,CAAA;AAEF,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Plans/styles.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,QAA+B,CAAA;AAE5D,eAAO,MAAM,KAAK,QAWhB,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAK/B,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0GpB,CAAA;AAEF,eAAO,MAAM,cAAc,QAA6B,CAAA;AAExD,eAAO,MAAM,kBAAkB,QAAwC,CAAA;AAEvE,eAAO,MAAM,gBAAgB,QAK3B,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAA4B,CAAA;AAE9D,eAAO,MAAM,gBAAgB,QAG3B,CAAA;AAEF,eAAO,MAAM,sBAAsB,QAA2B,CAAA;AAE9D,eAAO,MAAM,mBAAmB,QAK9B,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
|
3
3
|
var plansIconWrapper = "uv_plus_11wud800";
|
|
4
4
|
var plans = "uv_plus_11wud801";
|
|
5
5
|
var plansOutOfStockBadge = "uv_plus_11wud802";
|
|
6
|
-
var plansCell = createRuntimeFn({ defaultClassName: "uv_plus_11wud803", variantClassNames: {
|
|
6
|
+
var plansCell = createRuntimeFn({ defaultClassName: "uv_plus_11wud803", variantClassNames: { activeColor: { true: "uv_plus_11wud804" }, disabled: { true: "uv_plus_11wud805" }, focus: { true: "uv_plus_11wud806" }, hide: { true: "uv_plus_11wud807" }, hideLabels: { true: "uv_plus_11wud808" }, selectable: { true: "uv_plus_11wud809" }, spaceAfter: { true: "uv_plus_11wud80a" } }, defaultVariants: { activeColor: false, disabled: false, focus: false, hide: false, hideLabels: false, selectable: false, spaceAfter: false }, compoundVariants: [] });
|
|
7
7
|
var plansRowHidden = "uv_plus_11wud80b";
|
|
8
8
|
var plansUppercaseText = "uv_plus_11wud80c";
|
|
9
9
|
var plansHeaderInput = "uv_plus_11wud80d";
|