@ultraviolet/plus 3.0.0-beta.8 → 3.0.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 +3 -2
- package/dist/components/CodeEditor/CodeEditor.js +44 -13
- package/dist/components/ContentCard/Skeleton.d.ts +1 -1
- package/dist/components/ContentCard/Skeleton.js +13 -8
- package/dist/components/ContentCard/index.d.ts +2 -1
- package/dist/components/ContentCard/index.js +131 -50
- package/dist/components/ContentCardGroup/Card.d.ts +2 -1
- package/dist/components/ContentCardGroup/Card.js +65 -86
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts +1 -1
- package/dist/components/ContentCardGroup/SkeletonCard.js +4 -22
- package/dist/components/ContentCardGroup/index.d.ts +3 -1
- package/dist/components/ContentCardGroup/index.js +12 -18
- package/dist/components/ContentCardGroup/styles.css.d.ts +7 -0
- package/dist/components/ContentCardGroup/styles.css.js +18 -0
- package/dist/components/Conversation/index.d.ts +25 -17
- package/dist/components/Conversation/index.js +37 -103
- package/dist/components/Conversation/styles.css.d.ts +7 -0
- package/dist/components/Conversation/styles.css.js +17 -0
- package/dist/components/CustomerSatisfaction/index.d.ts +3 -1
- package/dist/components/CustomerSatisfaction/index.js +70 -96
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +17 -0
- package/dist/components/CustomerSatisfaction/styles.css.js +6 -0
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +1 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +47 -27
- package/dist/components/EstimateCost/Components/Item.d.ts +3 -2
- package/dist/components/EstimateCost/Components/Item.js +308 -288
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +3 -5
- package/dist/components/EstimateCost/Components/LineThrough.js +12 -12
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +1 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +18 -10
- package/dist/components/EstimateCost/Components/Region.d.ts +2 -2
- package/dist/components/EstimateCost/Components/Region.js +44 -33
- package/dist/components/EstimateCost/Components/Regular.d.ts +3 -2
- package/dist/components/EstimateCost/Components/Regular.js +21 -29
- package/dist/components/EstimateCost/Components/Strong.d.ts +3 -10
- package/dist/components/EstimateCost/Components/Strong.js +13 -24
- package/dist/components/EstimateCost/Components/Unit.d.ts +3 -1
- package/dist/components/EstimateCost/Components/Unit.js +23 -31
- package/dist/components/EstimateCost/Components/Zone.d.ts +3 -1
- package/dist/components/EstimateCost/Components/Zone.js +42 -32
- package/dist/components/EstimateCost/Components/components.css.d.ts +77 -0
- package/dist/components/EstimateCost/Components/components.css.js +124 -0
- package/dist/components/EstimateCost/EstimateCost.d.ts +29 -29
- package/dist/components/EstimateCost/EstimateCost.js +74 -25
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +270 -174
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +24 -21
- package/dist/components/EstimateCost/OverlayComponent.d.ts +1 -1
- package/dist/components/EstimateCost/OverlayComponent.js +57 -81
- package/dist/components/EstimateCost/OverlayContext.d.ts +1 -1
- package/dist/components/EstimateCost/OverlayContext.js +2 -4
- package/dist/components/EstimateCost/constants.js +0 -4
- package/dist/components/EstimateCost/styles.css.d.ts +76 -0
- package/dist/components/EstimateCost/styles.css.js +50 -0
- package/dist/components/EstimateCost/types.d.ts +2 -1
- package/dist/components/FAQ/index.d.ts +3 -1
- package/dist/components/FAQ/index.js +4 -3
- package/dist/components/FAQ/styles.css.js +0 -1
- package/dist/components/InfoTable/InfoTable.d.ts +9 -6
- package/dist/components/InfoTable/InfoTable.js +14 -18
- package/dist/components/InfoTable/components/Cell.d.ts +3 -6
- package/dist/components/InfoTable/components/Cell.js +28 -34
- package/dist/components/InfoTable/components/Row.d.ts +3 -14
- package/dist/components/InfoTable/components/Row.js +25 -18
- package/dist/components/InfoTable/context.d.ts +3 -0
- package/dist/components/InfoTable/context.js +5 -0
- package/dist/components/InfoTable/styles.css.d.ts +6 -0
- package/dist/components/InfoTable/styles.css.js +15 -0
- package/dist/components/Navigation/Footer.d.ts +1 -1
- package/dist/components/Navigation/Footer.js +35 -33
- package/dist/components/Navigation/Header.d.ts +1 -1
- package/dist/components/Navigation/Header.js +13 -26
- package/dist/components/Navigation/Navigation.d.ts +11 -8
- package/dist/components/Navigation/Navigation.js +2 -5
- package/dist/components/Navigation/NavigationContent.d.ts +1 -1
- package/dist/components/Navigation/NavigationContent.js +60 -71
- package/dist/components/Navigation/NavigationProvider.d.ts +1 -1
- package/dist/components/Navigation/NavigationProvider.js +108 -70
- package/dist/components/Navigation/animations.css.d.ts +6 -0
- package/dist/components/Navigation/components/Group.d.ts +3 -2
- package/dist/components/Navigation/components/Group.js +21 -43
- package/dist/components/Navigation/components/Item.d.ts +3 -2
- package/dist/components/Navigation/components/Item.js +552 -405
- package/dist/components/Navigation/components/ItemProvider.d.ts +1 -1
- package/dist/components/Navigation/components/ItemProvider.js +2 -4
- package/dist/components/Navigation/components/PinnedItems.d.ts +3 -2
- package/dist/components/Navigation/components/PinnedItems.js +95 -75
- package/dist/components/Navigation/components/Separator.d.ts +1 -1
- package/dist/components/Navigation/components/Separator.js +3 -11
- package/dist/components/Navigation/components/items.css.d.ts +70 -0
- package/dist/components/Navigation/components/items.css.js +47 -0
- package/dist/components/Navigation/components/styles.css.d.ts +23 -0
- package/dist/components/Navigation/components/styles.css.js +17 -0
- package/dist/components/Navigation/constants.d.ts +0 -12
- package/dist/components/Navigation/constants.js +1 -28
- package/dist/components/Navigation/styles.css.d.ts +33 -0
- package/dist/components/Navigation/styles.css.js +22 -0
- package/dist/components/Navigation/types.d.ts +2 -1
- package/dist/components/Navigation/variables.css.d.ts +1 -0
- package/dist/components/Navigation/variables.css.js +5 -0
- package/dist/components/OfferList/OfferList.d.ts +9 -6
- package/dist/components/OfferList/OfferList.js +43 -22
- package/dist/components/OfferList/OfferListProvider.d.ts +1 -1
- package/dist/components/OfferList/OfferListProvider.js +25 -15
- package/dist/components/OfferList/components/Banner.d.ts +1 -1
- package/dist/components/OfferList/components/Banner.js +32 -95
- package/dist/components/OfferList/components/Cell.d.ts +1 -1
- package/dist/components/OfferList/components/Cell.js +16 -37
- package/dist/components/OfferList/components/Row.d.ts +4 -2
- package/dist/components/OfferList/components/Row.js +141 -125
- package/dist/components/OfferList/styles.css.d.ts +42 -0
- package/dist/components/OfferList/styles.css.js +38 -0
- package/dist/components/OrderSummary/NonScrollableContent.d.ts +1 -1
- package/dist/components/OrderSummary/NonScrollableContent.js +70 -34
- package/dist/components/OrderSummary/Provider.js +1 -4
- package/dist/components/OrderSummary/ScrollableContent.d.ts +1 -1
- package/dist/components/OrderSummary/ScrollableContent.js +177 -67
- package/dist/components/OrderSummary/constants.js +7 -1
- package/dist/components/OrderSummary/helpers.js +39 -21
- package/dist/components/OrderSummary/index.d.ts +1 -1
- package/dist/components/OrderSummary/index.js +139 -83
- package/dist/components/OrderSummary/styles.css.d.ts +8 -0
- package/dist/components/OrderSummary/styles.css.js +19 -0
- package/dist/components/OrderSummary/types.d.ts +3 -1
- package/dist/components/Plans/FeatureHint.d.ts +1 -1
- package/dist/components/Plans/FeatureHint.js +27 -25
- package/dist/components/Plans/PlanHeader.d.ts +1 -1
- package/dist/components/Plans/PlanHeader.js +80 -84
- package/dist/components/Plans/index.d.ts +3 -1
- package/dist/components/Plans/index.js +150 -109
- package/dist/components/Plans/styles.css.d.ts +61 -0
- package/dist/components/Plans/styles.css.js +26 -0
- package/dist/components/SteppedListCard/Step.d.ts +6 -1
- package/dist/components/SteppedListCard/Step.js +44 -32
- package/dist/components/SteppedListCard/SteppedListCard.d.ts +9 -5
- package/dist/components/SteppedListCard/SteppedListCard.js +70 -45
- package/dist/components/SteppedListCard/SteppedListContent.d.ts +4 -3
- package/dist/components/SteppedListCard/SteppedListContent.js +20 -51
- package/dist/components/SteppedListCard/helper.d.ts +1 -1
- package/dist/components/SteppedListCard/helper.js +4 -1
- package/dist/components/SteppedListCard/styles.css.d.ts +8 -0
- package/dist/components/SteppedListCard/styles.css.js +19 -0
- package/dist/plus.css +1 -1
- package/package.json +13 -16
- package/dist/components/CodeEditor/CodeEditor.cjs +0 -49
- package/dist/components/CodeEditor/styles.css.cjs +0 -9
- package/dist/components/ContentCard/Skeleton.cjs +0 -23
- package/dist/components/ContentCard/index.cjs +0 -61
- package/dist/components/ContentCard/styles.css.cjs +0 -27
- package/dist/components/ContentCardGroup/Card.cjs +0 -94
- package/dist/components/ContentCardGroup/SkeletonCard.cjs +0 -35
- package/dist/components/ContentCardGroup/index.cjs +0 -31
- package/dist/components/Conversation/index.cjs +0 -127
- package/dist/components/CustomerSatisfaction/assets/1-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/2-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/3-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/4-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/5-5.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.cjs +0 -3
- package/dist/components/CustomerSatisfaction/index.cjs +0 -123
- package/dist/components/EstimateCost/Components/CustomUnitInput.cjs +0 -34
- package/dist/components/EstimateCost/Components/Item.cjs +0 -303
- package/dist/components/EstimateCost/Components/LineThrough.cjs +0 -19
- package/dist/components/EstimateCost/Components/NumberInput.cjs +0 -31
- package/dist/components/EstimateCost/Components/Region.cjs +0 -43
- package/dist/components/EstimateCost/Components/Regular.cjs +0 -37
- package/dist/components/EstimateCost/Components/Strong.cjs +0 -30
- package/dist/components/EstimateCost/Components/Unit.cjs +0 -53
- package/dist/components/EstimateCost/Components/Zone.cjs +0 -42
- package/dist/components/EstimateCost/EstimateCost.cjs +0 -90
- package/dist/components/EstimateCost/EstimateCostContent.cjs +0 -256
- package/dist/components/EstimateCost/EstimateCostProvider.cjs +0 -37
- package/dist/components/EstimateCost/OverlayComponent.cjs +0 -123
- package/dist/components/EstimateCost/OverlayContext.cjs +0 -15
- package/dist/components/EstimateCost/componentStyle.cjs +0 -221
- package/dist/components/EstimateCost/componentStyle.d.ts +0 -106
- package/dist/components/EstimateCost/componentStyle.js +0 -219
- package/dist/components/EstimateCost/constants.cjs +0 -32
- package/dist/components/EstimateCost/helper.cjs +0 -16
- package/dist/components/EstimateCost/locales/en.cjs +0 -23
- package/dist/components/FAQ/index.cjs +0 -48
- package/dist/components/FAQ/styles.css.cjs +0 -6
- package/dist/components/InfoTable/InfoTable.cjs +0 -32
- package/dist/components/InfoTable/components/Cell.cjs +0 -44
- package/dist/components/InfoTable/components/Row.cjs +0 -26
- package/dist/components/Navigation/Footer.cjs +0 -71
- package/dist/components/Navigation/Header.cjs +0 -36
- package/dist/components/Navigation/Navigation.cjs +0 -18
- package/dist/components/Navigation/NavigationContent.cjs +0 -163
- package/dist/components/Navigation/NavigationProvider.cjs +0 -129
- package/dist/components/Navigation/components/Group.cjs +0 -62
- package/dist/components/Navigation/components/Item.cjs +0 -429
- package/dist/components/Navigation/components/ItemProvider.cjs +0 -14
- package/dist/components/Navigation/components/PinnedItems.cjs +0 -116
- package/dist/components/Navigation/components/Separator.cjs +0 -18
- package/dist/components/Navigation/constants.cjs +0 -37
- package/dist/components/Navigation/locales/en.cjs +0 -11
- package/dist/components/OfferList/OfferList.cjs +0 -58
- package/dist/components/OfferList/OfferListProvider.cjs +0 -38
- package/dist/components/OfferList/components/Banner.cjs +0 -108
- package/dist/components/OfferList/components/Cell.cjs +0 -50
- package/dist/components/OfferList/components/Row.cjs +0 -192
- package/dist/components/OrderSummary/NonScrollableContent.cjs +0 -68
- package/dist/components/OrderSummary/Provider.cjs +0 -18
- package/dist/components/OrderSummary/ScrollableContent.cjs +0 -106
- package/dist/components/OrderSummary/constants.cjs +0 -12
- package/dist/components/OrderSummary/helpers.cjs +0 -91
- package/dist/components/OrderSummary/index.cjs +0 -135
- package/dist/components/OrderSummary/locales/en.cjs +0 -11
- package/dist/components/Plans/FeatureHint.cjs +0 -42
- package/dist/components/Plans/PlanHeader.cjs +0 -102
- package/dist/components/Plans/index.cjs +0 -152
- package/dist/components/Plans/locales/en.cjs +0 -7
- package/dist/components/SteppedListCard/Step.cjs +0 -51
- package/dist/components/SteppedListCard/SteppedListCard.cjs +0 -82
- package/dist/components/SteppedListCard/SteppedListContent.cjs +0 -86
- package/dist/components/SteppedListCard/helper.cjs +0 -38
- package/dist/index.cjs +0 -33
|
@@ -21,5 +21,5 @@ type FormatNumberOption = {
|
|
|
21
21
|
minimumSignificantDigits?: number;
|
|
22
22
|
maximumSignificantDigits?: number;
|
|
23
23
|
};
|
|
24
|
-
export declare const EstimateCostProvider: ({ children, locales, currency, numberLocales, }: EstimateCostProviderProps) => import("
|
|
24
|
+
export declare const EstimateCostProvider: ({ children, locales, currency, numberLocales, }: EstimateCostProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo, useCallback, createContext, useContext } from "react";
|
|
4
4
|
import EstimateCostLocales from "./locales/en.js";
|
|
5
|
-
const EstimateCostContext = createContext({
|
|
6
|
-
formatNumber: () => "",
|
|
7
|
-
locales: EstimateCostLocales
|
|
8
|
-
});
|
|
5
|
+
const EstimateCostContext = createContext({ formatNumber: () => "", locales: EstimateCostLocales });
|
|
9
6
|
const useEstimateCost = () => useContext(EstimateCostContext);
|
|
10
7
|
const EstimateCostProvider = ({
|
|
11
8
|
children,
|
|
@@ -13,22 +10,28 @@ const EstimateCostProvider = ({
|
|
|
13
10
|
currency,
|
|
14
11
|
numberLocales
|
|
15
12
|
}) => {
|
|
16
|
-
const newLocales = useMemo(
|
|
17
|
-
...EstimateCostLocales,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const formatNumber = useCallback(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
const newLocales = useMemo(
|
|
14
|
+
() => locales ? { ...EstimateCostLocales, ...locales } : EstimateCostLocales,
|
|
15
|
+
[locales]
|
|
16
|
+
);
|
|
17
|
+
const formatNumber = useCallback(
|
|
18
|
+
(number, options) => {
|
|
19
|
+
const numberFormat = new Intl.NumberFormat(numberLocales, {
|
|
20
|
+
currency,
|
|
21
|
+
style: "currency",
|
|
22
|
+
...options
|
|
23
|
+
});
|
|
24
|
+
return numberFormat.format(number);
|
|
25
|
+
},
|
|
26
|
+
[currency, numberLocales]
|
|
27
|
+
);
|
|
28
|
+
const value = useMemo(
|
|
29
|
+
() => ({
|
|
30
|
+
formatNumber,
|
|
31
|
+
locales: newLocales
|
|
32
|
+
}),
|
|
33
|
+
[formatNumber, newLocales]
|
|
34
|
+
);
|
|
32
35
|
return /* @__PURE__ */ jsx(EstimateCostContext.Provider, { value, children });
|
|
33
36
|
};
|
|
34
37
|
export {
|
|
@@ -22,5 +22,5 @@ type OverlayComponentProps = {
|
|
|
22
22
|
};
|
|
23
23
|
overlayMargin?: string;
|
|
24
24
|
};
|
|
25
|
-
export declare const OverlayComponent: ({ children, inView, discount, OverlayRight, disableOverlayRight, OverlayLeft, disableOverlayLeft, totalPrice, unit, isBeta, overlayMargin, }: OverlayComponentProps) => import("
|
|
25
|
+
export declare const OverlayComponent: ({ children, inView, discount, OverlayRight, disableOverlayRight, OverlayLeft, disableOverlayLeft, totalPrice, unit, isBeta, overlayMargin, }: OverlayComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,56 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx, jsxs } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { CalculatorIcon } from "@ultraviolet/icons";
|
|
5
|
-
import { Stack } from "@ultraviolet/ui";
|
|
4
|
+
import { Stack, Badge } from "@ultraviolet/ui";
|
|
5
|
+
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
6
6
|
import { useMemo, Children, cloneElement, isValidElement } from "react";
|
|
7
|
+
import { estimateCostResourceName } from "./Components/components.css.js";
|
|
7
8
|
import { LineThrough } from "./Components/LineThrough.js";
|
|
8
9
|
import { Strong } from "./Components/Strong.js";
|
|
9
|
-
import { OverlayRow, ItemResourceName, StyledBadge } from "./componentStyle.js";
|
|
10
10
|
import { multiplier, maximumFractionDigits } from "./constants.js";
|
|
11
11
|
import { useEstimateCost } from "./EstimateCostProvider.js";
|
|
12
12
|
import { OverlayContextProvider } from "./OverlayContext.js";
|
|
13
|
-
|
|
14
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
15
|
-
}
|
|
16
|
-
const OverlayContainer = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
|
|
17
|
-
shouldForwardProp: (prop) => !["inView", "overlayMargin"].includes(prop),
|
|
18
|
-
target: "e1p62vjs2"
|
|
19
|
-
} : {
|
|
20
|
-
shouldForwardProp: (prop) => !["inView", "overlayMargin"].includes(prop),
|
|
21
|
-
target: "e1p62vjs2",
|
|
22
|
-
label: "OverlayContainer"
|
|
23
|
-
})("position:fixed;left:0;right:0;bottom:", ({
|
|
24
|
-
inView
|
|
25
|
-
}) => inView ? -120 : 0, "px;height:120px;background-color:", ({
|
|
26
|
-
theme
|
|
27
|
-
}) => theme.colors.neutral.background, ";margin:", ({
|
|
28
|
-
overlayMargin
|
|
29
|
-
}) => overlayMargin || "0", ";display:flex;justify-content:center;box-shadow:", ({
|
|
30
|
-
inView,
|
|
31
|
-
theme
|
|
32
|
-
}) => inView ? "0" : theme.shadows.defaultShadow, ";transition:bottom 0.3s,box-shadow 0.3s;z-index:1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvRXN0aW1hdGVDb3N0L092ZXJsYXlDb21wb25lbnQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCZ0QiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdWx0cmF2aW9sZXQvdWx0cmF2aW9sZXQvcGFja2FnZXMvcGx1cy9zcmMvY29tcG9uZW50cy9Fc3RpbWF0ZUNvc3QvT3ZlcmxheUNvbXBvbmVudC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBDYWxjdWxhdG9ySWNvbiB9IGZyb20gJ0B1bHRyYXZpb2xldC9pY29ucydcbmltcG9ydCB7IFN0YWNrIH0gZnJvbSAnQHVsdHJhdmlvbGV0L3VpJ1xuaW1wb3J0IHR5cGUgeyBKU1gsIFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgQ2hpbGRyZW4sIGNsb25lRWxlbWVudCwgaXNWYWxpZEVsZW1lbnQsIHVzZU1lbW8gfSBmcm9tICdyZWFjdCdcbmltcG9ydCB7IExpbmVUaHJvdWdoIH0gZnJvbSAnLi9Db21wb25lbnRzL0xpbmVUaH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ICAgICAgPC9PdmVybGF5TGVmdD5cbiAgICAgICAgICAgIDwvU2lkZUl0ZW0+XG4gICAgICAgICAgKSA6IG51bGx9XG4gICAgICAgICAge0NoaWxkcmVuLm1hcChjaGlsZHJlbiwgKGNoaWxkLCBpbmRleCkgPT5cbiAgICAgICAgICAgIGlzVmFsaWRFbGVtZW50PEV4dHJhUHJvcHM+KGNoaWxkKVxuICAgICAgICAgICAgICA/IGNsb25lRWxlbWVudChjaGlsZCwge1xuICAgICAgICAgICAgICAgICAgaXNGaXJzdEVsZW1lbnQ6IGluZGV4ID09PSAwLFxuICAgICAgICAgICAgICAgICAgaXNMYXN0RWxlbWVudDogaW5kZXggPT09IENoaWxkcmVuLmNvdW50KGNoaWxkcmVuKSAtIDEsXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgOiBudWxsLFxuICAgICAgICAgICl9XG4gICAgICAgICAgPE92ZXJsYXlSb3c+XG4gICAgICAgICAgICA8U3RhY2sgYWxpZ25JdGVtcz1cImNlbnRlclwiIGRpcmVjdGlvbj1cInJvd1wiIGdhcD17MX0+XG4gICAgICAgICAgICAgIDxDYWxjdWxhdG9ySWNvbiBzZW50aW1lbnQ9XCJwcmltYXJ5XCIgc2l6ZT1cIm1lZGl1bVwiIC8+XG4gICAgICAgICAgICAgIHtsb2NhbGVzWydlc3RpbWF0ZS5jb3N0LmxhYmVsJ119XG4gICAgICAgICAgICA8L1N0YWNrPlxuICAgICAgICAgICAgPEl0ZW1SZXNvdXJjZU5hbWUgYW5pbWF0ZWQ9e2ZhbHNlfT5cbiAgICAgICAgICAgICAgPFN0cm9uZyB2YXJpYW50PVwiYmlnXCI+XG4gICAgICAgICAgICAgICAgPExpbmVUaHJvdWdoIGlzQWN0aXZlPXtpc0JldGEgJiYgZGlzY291bnQgPT09IDB9PlxuICAgICAgICAgICAgICAgICAge2Zvcm1hdE51bWJlcihvdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgbWF4aW11bUZyYWN0aW9uRGlnaXRzOiBtYXhpbXVtRnJhY3Rpb25EaWdpdHNbdW5pdF0sXG4gICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgIHt0b3RhbE92ZXJsYXlQcmljZSA+IDBcbiAgICAgICAgICAgICAgICAgICAgPyBgIC0gJHtmb3JtYXROdW1iZXIodG90YWxPdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1heGltdW1GcmFjdGlvbkRpZ2l0czogbWF4aW11bUZyYWN0aW9uRGlnaXRzW3VuaXRdLFxuICAgICAgICAgICAgICAgICAgICAgIH0pfWBcbiAgICAgICAgICAgICAgICAgICAgOiBudWxsfVxuICAgICAgICAgICAgICAgICAgL3tsb2NhbGVzW2Blc3RpbWF0ZS5jb3N0LnVuaXRzLiR7dW5pdH0ubGFiZWxgXX1cbiAgICAgICAgICAgICAgICA8L0xpbmVUaHJvdWdoPlxuICAgICAgICAgICAgICA8L1N0cm9uZz5cbiAgICAgICAgICAgICAge2lzQmV0YSA/IChcbiAgICAgICAgICAgICAgICA8U3R5bGVkQmFkZ2UgcHJvbWluZW5jZT1cInN0cm9uZ1wiIHNlbnRpbWVudD1cIndhcm5pbmdcIj5cbiAgICAgICAgICAgICAgICAgIHtkaXNjb3VudCA+IDAgPyBkaXNjb3VudCAqIDEwMCA6ICcnfVxuICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsb2NhbGVzW1xuICAgICAgICAgICAgICAgICAgICAgIGBlc3RpbWF0ZS5jb3N0LmJldGEuJHtkaXNjb3VudCA+IDAgPyAnZGlzY291bnQnIDogJ2ZyZWUnfWBcbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvU3R5bGVkQmFkZ2U+XG4gICAgICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICAgICAgPC9JdGVtUmVzb3VyY2VOYW1lPlxuICAgICAgICAgIDwvT3ZlcmxheVJvdz5cbiAgICAgICAgICB7T3ZlcmxheVJpZ2h0ID8gKFxuICAgICAgICAgICAgPFNpZGVJdGVtPlxuICAgICAgICAgICAgICA8T3ZlcmxheVJpZ2h0IGRpc2FibGVkPXtkaXNhYmxlT3ZlcmxheVJpZ2h0fT5cbiAgICAgICAgICAgICAgICB7bG9jYWxlc1snZXN0aW1hdGUuY29zdC5zdWJtaXQubGFiZWwnXX1cbiAgICAgICAgICAgICAgPC9PdmVybGF5UmlnaHQ+XG4gICAgICAgICAgICA8L1NpZGVJdGVtPlxuICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICA8L0xpc3Q+XG4gICAgICA8L092ZXJsYXlDb250YWluZXI+XG4gICAgPC9PdmVybGF5Q29udGV4dFByb3ZpZGVyPlxuICApXG59XG4iXX0= */"));
|
|
33
|
-
const List = /* @__PURE__ */ _styled("ul", process.env.NODE_ENV === "production" ? {
|
|
34
|
-
target: "e1p62vjs1"
|
|
35
|
-
} : {
|
|
36
|
-
target: "e1p62vjs1",
|
|
37
|
-
label: "List"
|
|
38
|
-
})("display:flex;flex-direction:row;justify-content:center;list-style:none;margin:0;padding:", ({
|
|
39
|
-
theme
|
|
40
|
-
}) => theme.space["3"], " 0;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvRXN0aW1hdGVDb3N0L092ZXJsYXlDb21wb25lbnQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1Dc0IiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdWx0cmF2aW9sZXQvdWx0cmF2aW9sZXQvcGFja2FnZXMvcGx1cy9zcmMvY29tcG9uZW50cy9Fc3RpbWF0ZUNvc3QvT3Z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gIDxPdmVybGF5Q29udGV4dFByb3ZpZGVyIHZhbHVlPXt2YWx1ZX0+XG4gICAgICA8T3ZlcmxheUNvbnRhaW5lclxuICAgICAgICBkYXRhLXRlc3RpZD1cInN1bW1hcnktb3ZlcmxheVwiXG4gICAgICAgIGluVmlldz17aW5WaWV3fVxuICAgICAgICBvdmVybGF5TWFyZ2luPXtvdmVybGF5TWFyZ2lufVxuICAgICAgPlxuICAgICAgICA8TGlzdD5cbiAgICAgICAgICB7T3ZlcmxheUxlZnQgPyAoXG4gICAgICAgICAgICA8U2lkZUl0ZW0+XG4gICAgICAgICAgICAgIDxPdmVybGF5TGVmdCBkaXNhYmxlZD17ZGlzYWJsZU92ZXJsYXlMZWZ0fT5cbiAgICAgICAgICAgICAgICB7bG9jYWxlc1snZXN0aW1hdGUuY29zdC5zdWJtaXQubGFiZWwnXX1cbiAgICAgICAgICAgICAgPC9PdmVybGF5TGVmdD5cbiAgICAgICAgICAgIDwvU2lkZUl0ZW0+XG4gICAgICAgICAgKSA6IG51bGx9XG4gICAgICAgICAge0NoaWxkcmVuLm1hcChjaGlsZHJlbiwgKGNoaWxkLCBpbmRleCkgPT5cbiAgICAgICAgICAgIGlzVmFsaWRFbGVtZW50PEV4dHJhUHJvcHM+KGNoaWxkKVxuICAgICAgICAgICAgICA/IGNsb25lRWxlbWVudChjaGlsZCwge1xuICAgICAgICAgICAgICAgICAgaXNGaXJzdEVsZW1lbnQ6IGluZGV4ID09PSAwLFxuICAgICAgICAgICAgICAgICAgaXNMYXN0RWxlbWVudDogaW5kZXggPT09IENoaWxkcmVuLmNvdW50KGNoaWxkcmVuKSAtIDEsXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgOiBudWxsLFxuICAgICAgICAgICl9XG4gICAgICAgICAgPE92ZXJsYXlSb3c+XG4gICAgICAgICAgICA8U3RhY2sgYWxpZ25JdGVtcz1cImNlbnRlclwiIGRpcmVjdGlvbj1cInJvd1wiIGdhcD17MX0+XG4gICAgICAgICAgICAgIDxDYWxjdWxhdG9ySWNvbiBzZW50aW1lbnQ9XCJwcmltYXJ5XCIgc2l6ZT1cIm1lZGl1bVwiIC8+XG4gICAgICAgICAgICAgIHtsb2NhbGVzWydlc3RpbWF0ZS5jb3N0LmxhYmVsJ119XG4gICAgICAgICAgICA8L1N0YWNrPlxuICAgICAgICAgICAgPEl0ZW1SZXNvdXJjZU5hbWUgYW5pbWF0ZWQ9e2ZhbHNlfT5cbiAgICAgICAgICAgICAgPFN0cm9uZyB2YXJpYW50PVwiYmlnXCI+XG4gICAgICAgICAgICAgICAgPExpbmVUaHJvdWdoIGlzQWN0aXZlPXtpc0JldGEgJiYgZGlzY291bnQgPT09IDB9PlxuICAgICAgICAgICAgICAgICAge2Zvcm1hdE51bWJlcihvdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgbWF4aW11bUZyYWN0aW9uRGlnaXRzOiBtYXhpbXVtRnJhY3Rpb25EaWdpdHNbdW5pdF0sXG4gICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgIHt0b3RhbE92ZXJsYXlQcmljZSA+IDBcbiAgICAgICAgICAgICAgICAgICAgPyBgIC0gJHtmb3JtYXROdW1iZXIodG90YWxPdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1heGltdW1GcmFjdGlvbkRpZ2l0czogbWF4aW11bUZyYWN0aW9uRGlnaXRzW3VuaXRdLFxuICAgICAgICAgICAgICAgICAgICAgIH0pfWBcbiAgICAgICAgICAgICAgICAgICAgOiBudWxsfVxuICAgICAgICAgICAgICAgICAgL3tsb2NhbGVzW2Blc3RpbWF0ZS5jb3N0LnVuaXRzLiR7dW5pdH0ubGFiZWxgXX1cbiAgICAgICAgICAgICAgICA8L0xpbmVUaHJvdWdoPlxuICAgICAgICAgICAgICA8L1N0cm9uZz5cbiAgICAgICAgICAgICAge2lzQmV0YSA/IChcbiAgICAgICAgICAgICAgICA8U3R5bGVkQmFkZ2UgcHJvbWluZW5jZT1cInN0cm9uZ1wiIHNlbnRpbWVudD1cIndhcm5pbmdcIj5cbiAgICAgICAgICAgICAgICAgIHtkaXNjb3VudCA+IDAgPyBkaXNjb3VudCAqIDEwMCA6ICcnfVxuICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsb2NhbGVzW1xuICAgICAgICAgICAgICAgICAgICAgIGBlc3RpbWF0ZS5jb3N0LmJldGEuJHtkaXNjb3VudCA+IDAgPyAnZGlzY291bnQnIDogJ2ZyZWUnfWBcbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvU3R5bGVkQmFkZ2U+XG4gICAgICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICAgICAgPC9JdGVtUmVzb3VyY2VOYW1lPlxuICAgICAgICAgIDwvT3ZlcmxheVJvdz5cbiAgICAgICAgICB7T3ZlcmxheVJpZ2h0ID8gKFxuICAgICAgICAgICAgPFNpZGVJdGVtPlxuICAgICAgICAgICAgICA8T3ZlcmxheVJpZ2h0IGRpc2FibGVkPXtkaXNhYmxlT3ZlcmxheVJpZ2h0fT5cbiAgICAgICAgICAgICAgICB7bG9jYWxlc1snZXN0aW1hdGUuY29zdC5zdWJtaXQubGFiZWwnXX1cbiAgICAgICAgICAgICAgPC9PdmVybGF5UmlnaHQ+XG4gICAgICAgICAgICA8L1NpZGVJdGVtPlxuICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICA8L0xpc3Q+XG4gICAgICA8L092ZXJsYXlDb250YWluZXI+XG4gICAgPC9PdmVybGF5Q29udGV4dFByb3ZpZGVyPlxuICApXG59XG4iXX0= */"));
|
|
41
|
-
const SideItem = /* @__PURE__ */ _styled("li", process.env.NODE_ENV === "production" ? {
|
|
42
|
-
target: "e1p62vjs0"
|
|
43
|
-
} : {
|
|
44
|
-
target: "e1p62vjs0",
|
|
45
|
-
label: "SideItem"
|
|
46
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
47
|
-
name: "wpiop9",
|
|
48
|
-
styles: "display:flex;padding:12px 0;min-width:158px"
|
|
49
|
-
} : {
|
|
50
|
-
name: "wpiop9",
|
|
51
|
-
styles: "display:flex;padding:12px 0;min-width:158px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvRXN0aW1hdGVDb3N0L092ZXJsYXlDb21wb25lbnQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRDMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdWx0cmF2aW9sZXQvdWx0cmF2aW9sZXQvcGFja2FnZXMvcGx1cy9zcmMvY29tcG9uZW50cy9Fc3RpbWF0ZUNvc3QvT3ZlcmxheUNvbXBvbmVudC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBDYWxjdWxhdG9ySWNvbiB9IGZyb20gJ0B1bHRyYXZpb2xldC9pY29ucydcbmltcG9ydCB7IFN0YWNrIH0gZnJvbSAnQHVsdHJhdmlvbGV0L3VpJ1xuaW1wb3J0IHR5cGUgeyBKU1gsIFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgQ2hpbGRyZW4sIGNsb25lRWxlbWVudCwgaXNWYWxpZEVsZW1lbnQsIHVzZU1lbW8gfSBmcm9tICdyZWFjdCdcbmltcG9ydCB7IExpbmVUaHJvdWdoIH0gZnJvbSAnLi9Db21wb25lbnRzL0xpbmVUaHJvdWdoJ1xuaW1wb3J0IHsgU3Ryb25nIH0gZnJvbSAnLi9Db21wb25lbnRzL1N0cm9uZydcbmltcG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G51bGx9XG4gICAgICAgICAge0NoaWxkcmVuLm1hcChjaGlsZHJlbiwgKGNoaWxkLCBpbmRleCkgPT5cbiAgICAgICAgICAgIGlzVmFsaWRFbGVtZW50PEV4dHJhUHJvcHM+KGNoaWxkKVxuICAgICAgICAgICAgICA/IGNsb25lRWxlbWVudChjaGlsZCwge1xuICAgICAgICAgICAgICAgICAgaXNGaXJzdEVsZW1lbnQ6IGluZGV4ID09PSAwLFxuICAgICAgICAgICAgICAgICAgaXNMYXN0RWxlbWVudDogaW5kZXggPT09IENoaWxkcmVuLmNvdW50KGNoaWxkcmVuKSAtIDEsXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgOiBudWxsLFxuICAgICAgICAgICl9XG4gICAgICAgICAgPE92ZXJsYXlSb3c+XG4gICAgICAgICAgICA8U3RhY2sgYWxpZ25JdGVtcz1cImNlbnRlclwiIGRpcmVjdGlvbj1cInJvd1wiIGdhcD17MX0+XG4gICAgICAgICAgICAgIDxDYWxjdWxhdG9ySWNvbiBzZW50aW1lbnQ9XCJwcmltYXJ5XCIgc2l6ZT1cIm1lZGl1bVwiIC8+XG4gICAgICAgICAgICAgIHtsb2NhbGVzWydlc3RpbWF0ZS5jb3N0LmxhYmVsJ119XG4gICAgICAgICAgICA8L1N0YWNrPlxuICAgICAgICAgICAgPEl0ZW1SZXNvdXJjZU5hbWUgYW5pbWF0ZWQ9e2ZhbHNlfT5cbiAgICAgICAgICAgICAgPFN0cm9uZyB2YXJpYW50PVwiYmlnXCI+XG4gICAgICAgICAgICAgICAgPExpbmVUaHJvdWdoIGlzQWN0aXZlPXtpc0JldGEgJiYgZGlzY291bnQgPT09IDB9PlxuICAgICAgICAgICAgICAgICAge2Zvcm1hdE51bWJlcihvdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgbWF4aW11bUZyYWN0aW9uRGlnaXRzOiBtYXhpbXVtRnJhY3Rpb25EaWdpdHNbdW5pdF0sXG4gICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgIHt0b3RhbE92ZXJsYXlQcmljZSA+IDBcbiAgICAgICAgICAgICAgICAgICAgPyBgIC0gJHtmb3JtYXROdW1iZXIodG90YWxPdmVybGF5UHJpY2UsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1heGltdW1GcmFjdGlvbkRpZ2l0czogbWF4aW11bUZyYWN0aW9uRGlnaXRzW3VuaXRdLFxuICAgICAgICAgICAgICAgICAgICAgIH0pfWBcbiAgICAgICAgICAgICAgICAgICAgOiBudWxsfVxuICAgICAgICAgICAgICAgICAgL3tsb2NhbGVzW2Blc3RpbWF0ZS5jb3N0LnVuaXRzLiR7dW5pdH0ubGFiZWxgXX1cbiAgICAgICAgICAgICAgICA8L0xpbmVUaHJvdWdoPlxuICAgICAgICAgICAgICA8L1N0cm9uZz5cbiAgICAgICAgICAgICAge2lzQmV0YSA/IChcbiAgICAgICAgICAgICAgICA8U3R5bGVkQmFkZ2UgcHJvbWluZW5jZT1cInN0cm9uZ1wiIHNlbnRpbWVudD1cIndhcm5pbmdcIj5cbiAgICAgICAgICAgICAgICAgIHtkaXNjb3VudCA+IDAgPyBkaXNjb3VudCAqIDEwMCA6ICcnfVxuICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsb2NhbGVzW1xuICAgICAgICAgICAgICAgICAgICAgIGBlc3RpbWF0ZS5jb3N0LmJldGEuJHtkaXNjb3VudCA+IDAgPyAnZGlzY291bnQnIDogJ2ZyZWUnfWBcbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvU3R5bGVkQmFkZ2U+XG4gICAgICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICAgICAgPC9JdGVtUmVzb3VyY2VOYW1lPlxuICAgICAgICAgIDwvT3ZlcmxheVJvdz5cbiAgICAgICAgICB7T3ZlcmxheVJpZ2h0ID8gKFxuICAgICAgICAgICAgPFNpZGVJdGVtPlxuICAgICAgICAgICAgICA8T3ZlcmxheVJpZ2h0IGRpc2FibGVkPXtkaXNhYmxlT3ZlcmxheVJpZ2h0fT5cbiAgICAgICAgICAgICAgICB7bG9jYWxlc1snZXN0aW1hdGUuY29zdC5zdWJtaXQubGFiZWwnXX1cbiAgICAgICAgICAgICAgPC9PdmVybGF5UmlnaHQ+XG4gICAgICAgICAgICA8L1NpZGVJdGVtPlxuICAgICAgICAgICkgOiBudWxsfVxuICAgICAgICA8L0xpc3Q+XG4gICAgICA8L092ZXJsYXlDb250YWluZXI+XG4gICAgPC9PdmVybGF5Q29udGV4dFByb3ZpZGVyPlxuICApXG59XG4iXX0= */",
|
|
52
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
53
|
-
});
|
|
13
|
+
import { estimateCostOverlayContainer, estimateCostList, estimateCostSideItem, estimateCostOverlayRow, estimateCostBadge, overlayMarginVar } from "./styles.css.js";
|
|
54
14
|
const OverlayComponent = ({
|
|
55
15
|
children,
|
|
56
16
|
inView = false,
|
|
@@ -64,13 +24,8 @@ const OverlayComponent = ({
|
|
|
64
24
|
isBeta = false,
|
|
65
25
|
overlayMargin
|
|
66
26
|
}) => {
|
|
67
|
-
const {
|
|
68
|
-
|
|
69
|
-
formatNumber
|
|
70
|
-
} = useEstimateCost();
|
|
71
|
-
const value = useMemo(() => ({
|
|
72
|
-
isOverlay: true
|
|
73
|
-
}), []);
|
|
27
|
+
const { locales, formatNumber } = useEstimateCost();
|
|
28
|
+
const value = useMemo(() => ({ isOverlay: true }), []);
|
|
74
29
|
const totalOverlayPrice = {
|
|
75
30
|
days: totalPrice.maxOverlayHourly * multiplier.days,
|
|
76
31
|
hours: totalPrice.maxOverlayHourly,
|
|
@@ -85,36 +40,57 @@ const OverlayComponent = ({
|
|
|
85
40
|
months: totalPrice.overlayHourly * multiplier.months,
|
|
86
41
|
seconds: totalPrice.overlayHourly * multiplier.seconds
|
|
87
42
|
}[unit];
|
|
88
|
-
return /* @__PURE__ */ jsx(OverlayContextProvider, { value, children: /* @__PURE__ */ jsx(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
locales["estimate.cost.label"]
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
43
|
+
return /* @__PURE__ */ jsx(OverlayContextProvider, { value, children: /* @__PURE__ */ jsx(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: estimateCostOverlayContainer({ inView }),
|
|
47
|
+
"data-testid": "summary-overlay",
|
|
48
|
+
style: assignInlineVars({
|
|
49
|
+
[overlayMarginVar]: overlayMargin ?? "0"
|
|
50
|
+
}),
|
|
51
|
+
children: /* @__PURE__ */ jsxs("ul", { className: estimateCostList, children: [
|
|
52
|
+
OverlayLeft ? /* @__PURE__ */ jsx("li", { className: estimateCostSideItem, children: /* @__PURE__ */ jsx(OverlayLeft, { disabled: disableOverlayLeft, children: locales["estimate.cost.submit.label"] }) }) : null,
|
|
53
|
+
Children.map(
|
|
54
|
+
children,
|
|
55
|
+
(child, index) => isValidElement(child) ? cloneElement(child, {
|
|
56
|
+
isFirstElement: index === 0,
|
|
57
|
+
isLastElement: index === Children.count(children) - 1
|
|
58
|
+
}) : null
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ jsxs("li", { className: estimateCostOverlayRow(), children: [
|
|
61
|
+
/* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
|
|
62
|
+
/* @__PURE__ */ jsx(CalculatorIcon, { sentiment: "primary", size: "medium" }),
|
|
63
|
+
locales["estimate.cost.label"]
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ jsxs("div", { className: estimateCostResourceName(), children: [
|
|
66
|
+
/* @__PURE__ */ jsx(Strong, { variant: "big", children: /* @__PURE__ */ jsxs(LineThrough, { isActive: isBeta && discount === 0, children: [
|
|
67
|
+
formatNumber(overlayPrice, {
|
|
68
|
+
maximumFractionDigits: maximumFractionDigits[unit]
|
|
69
|
+
}),
|
|
70
|
+
totalOverlayPrice > 0 ? ` - ${formatNumber(totalOverlayPrice, {
|
|
71
|
+
maximumFractionDigits: maximumFractionDigits[unit]
|
|
72
|
+
})}` : null,
|
|
73
|
+
"/",
|
|
74
|
+
locales[`estimate.cost.units.${unit}.label`]
|
|
75
|
+
] }) }),
|
|
76
|
+
isBeta ? /* @__PURE__ */ jsxs(
|
|
77
|
+
Badge,
|
|
78
|
+
{
|
|
79
|
+
className: estimateCostBadge,
|
|
80
|
+
prominence: "strong",
|
|
81
|
+
sentiment: "warning",
|
|
82
|
+
children: [
|
|
83
|
+
discount > 0 ? discount * 100 : "",
|
|
84
|
+
locales[`estimate.cost.beta.${discount > 0 ? "discount" : "free"}`]
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
) : null
|
|
88
|
+
] })
|
|
89
|
+
] }),
|
|
90
|
+
OverlayRight ? /* @__PURE__ */ jsx("li", { className: estimateCostSideItem, children: /* @__PURE__ */ jsx(OverlayRight, { disabled: disableOverlayRight, children: locales["estimate.cost.submit.label"] }) }) : null
|
|
114
91
|
] })
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
] }) }) });
|
|
92
|
+
}
|
|
93
|
+
) });
|
|
118
94
|
};
|
|
119
95
|
export {
|
|
120
96
|
OverlayComponent
|
|
@@ -8,5 +8,5 @@ type OverlayContextProviderProps = {
|
|
|
8
8
|
isOverlay: boolean;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export declare const OverlayContextProvider: ({ children, value, }: OverlayContextProviderProps) => import("
|
|
11
|
+
export declare const OverlayContextProvider: ({ children, value, }: OverlayContextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
|
-
const OverlayContext = createContext({
|
|
5
|
-
isOverlay: false
|
|
6
|
-
});
|
|
4
|
+
const OverlayContext = createContext({ isOverlay: false });
|
|
7
5
|
const useOverlay = () => useContext(OverlayContext);
|
|
8
6
|
const OverlayContextProvider = ({
|
|
9
7
|
children,
|
|
@@ -20,12 +20,8 @@ const maximumFractionDigitsLong = {
|
|
|
20
20
|
months: 2,
|
|
21
21
|
seconds: 12
|
|
22
22
|
};
|
|
23
|
-
const MAX_CELL_WIDTH = "70%";
|
|
24
|
-
const PRICE_MAX_CELL_WIDTH = "30%";
|
|
25
23
|
export {
|
|
26
24
|
APPROXIMATE_HOURS_IN_MONTH,
|
|
27
|
-
MAX_CELL_WIDTH,
|
|
28
|
-
PRICE_MAX_CELL_WIDTH,
|
|
29
25
|
maximumFractionDigits,
|
|
30
26
|
maximumFractionDigitsLong,
|
|
31
27
|
multiplier
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const paddingLeftCell: `var(--${string})`;
|
|
2
|
+
export declare const overlayMarginVar: `var(--${string})`;
|
|
3
|
+
export declare const estimateCostImage: string;
|
|
4
|
+
export declare const estimateCostTable: Record<"total" | "noTotal", string>;
|
|
5
|
+
export declare const estimateCostFeesTable: string;
|
|
6
|
+
export declare const estimateCostPriceColumn: string;
|
|
7
|
+
export declare const estimateCostPriceCell: string;
|
|
8
|
+
export declare const estimateCostCell: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9
|
+
hasBorder: {
|
|
10
|
+
true: {
|
|
11
|
+
selectors: {
|
|
12
|
+
'&:before': {
|
|
13
|
+
content: "''";
|
|
14
|
+
position: "absolute";
|
|
15
|
+
left: number;
|
|
16
|
+
bottom: number;
|
|
17
|
+
height: number;
|
|
18
|
+
width: "calc(100% - 32px)";
|
|
19
|
+
marginLeft: `var(--${string})`;
|
|
20
|
+
borderBottom: `1px solid var(--${string})`;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
primary: {
|
|
26
|
+
true: {
|
|
27
|
+
background: `var(--${string})`;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
export declare const estimateCostTotalPriceCell: string;
|
|
32
|
+
export declare const estimateCostEmptyTable: string;
|
|
33
|
+
export declare const estimateCostTitle: string;
|
|
34
|
+
export declare const estimateCostEmptyCell: string;
|
|
35
|
+
export declare const estimateCostTimeCell: string;
|
|
36
|
+
export declare const estimateCostBadgeBeta: Record<"long" | "short", string>;
|
|
37
|
+
export declare const estimateCostOverlayRow: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
38
|
+
isFirstElement: {
|
|
39
|
+
true: {
|
|
40
|
+
border: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
shouldBeHidden: {
|
|
44
|
+
true: {
|
|
45
|
+
'@media': {
|
|
46
|
+
'(max-width: 1800px)': {
|
|
47
|
+
display: "none";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
hideFromOverlay: {
|
|
53
|
+
true: {
|
|
54
|
+
display: "none";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
}>;
|
|
58
|
+
export declare const estimateCostBadge: string;
|
|
59
|
+
export declare const estimatecostFeesText: string;
|
|
60
|
+
export declare const estimateCostText: Record<"beta" | "notBeta", string>;
|
|
61
|
+
export declare const estimateCostCalculatorIcon: string;
|
|
62
|
+
export declare const estimateCostPriceCellContent: string;
|
|
63
|
+
export declare const estimateCostOverlayContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
64
|
+
inView: {
|
|
65
|
+
true: {
|
|
66
|
+
bottom: "-120px";
|
|
67
|
+
boxShadow: "0";
|
|
68
|
+
};
|
|
69
|
+
false: {
|
|
70
|
+
bottom: number;
|
|
71
|
+
boxShadow: `var(--${string})`;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}>;
|
|
75
|
+
export declare const estimateCostList: string;
|
|
76
|
+
export declare const estimateCostSideItem: string;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
+
var paddingLeftCell = "var(--uv_plus_sk5tga0)";
|
|
4
|
+
var overlayMarginVar = "var(--uv_plus_sk5tga1)";
|
|
5
|
+
var estimateCostImage = "uv_plus_sk5tga2";
|
|
6
|
+
var estimateCostTable = { total: "uv_plus_sk5tga4 uv_plus_sk5tga3", noTotal: "uv_plus_sk5tga5 uv_plus_sk5tga3" };
|
|
7
|
+
var estimateCostFeesTable = "uv_plus_sk5tga6 uv_plus_sk5tga3";
|
|
8
|
+
var estimateCostPriceColumn = "uv_plus_sk5tga7";
|
|
9
|
+
var estimateCostPriceCell = "uv_plus_sk5tga8";
|
|
10
|
+
var estimateCostCell = createRuntimeFn({ defaultClassName: "uv_plus_sk5tga9", variantClassNames: { hasBorder: { true: "uv_plus_sk5tgaa" }, primary: { true: "uv_plus_sk5tgab" } }, defaultVariants: {}, compoundVariants: [] });
|
|
11
|
+
var estimateCostTotalPriceCell = "uv_plus_sk5tgac";
|
|
12
|
+
var estimateCostEmptyTable = "uv_plus_sk5tgad";
|
|
13
|
+
var estimateCostTitle = "uv_plus_sk5tgae";
|
|
14
|
+
var estimateCostEmptyCell = "uv_plus_sk5tgaf";
|
|
15
|
+
var estimateCostTimeCell = "uv_plus_sk5tgag";
|
|
16
|
+
var estimateCostBadgeBeta = { "long": "uv_plus_sk5tgai uv_plus_sk5tgah", "short": "uv_plus_sk5tgaj uv_plus_sk5tgah" };
|
|
17
|
+
var estimateCostOverlayRow = createRuntimeFn({ defaultClassName: "uv_plus_sk5tgak", variantClassNames: { isFirstElement: { true: "uv_plus_sk5tgal" }, shouldBeHidden: { true: "uv_plus_sk5tgam" }, hideFromOverlay: { true: "uv_plus_sk5tgan" } }, defaultVariants: {}, compoundVariants: [] });
|
|
18
|
+
var estimateCostBadge = "uv_plus_sk5tgao";
|
|
19
|
+
var estimatecostFeesText = "uv_plus_sk5tgap";
|
|
20
|
+
var estimateCostText = { beta: "uv_plus_sk5tgaq", notBeta: "uv_plus_sk5tgar" };
|
|
21
|
+
var estimateCostCalculatorIcon = "uv_plus_sk5tgas";
|
|
22
|
+
var estimateCostPriceCellContent = "uv_plus_sk5tgat";
|
|
23
|
+
var estimateCostOverlayContainer = createRuntimeFn({ defaultClassName: "uv_plus_sk5tgau", variantClassNames: { inView: { true: "uv_plus_sk5tgav", false: "uv_plus_sk5tgaw" } }, defaultVariants: {}, compoundVariants: [] });
|
|
24
|
+
var estimateCostList = "uv_plus_sk5tgax";
|
|
25
|
+
var estimateCostSideItem = "uv_plus_sk5tgay";
|
|
26
|
+
export {
|
|
27
|
+
estimateCostBadge,
|
|
28
|
+
estimateCostBadgeBeta,
|
|
29
|
+
estimateCostCalculatorIcon,
|
|
30
|
+
estimateCostCell,
|
|
31
|
+
estimateCostEmptyCell,
|
|
32
|
+
estimateCostEmptyTable,
|
|
33
|
+
estimateCostFeesTable,
|
|
34
|
+
estimateCostImage,
|
|
35
|
+
estimateCostList,
|
|
36
|
+
estimateCostOverlayContainer,
|
|
37
|
+
estimateCostOverlayRow,
|
|
38
|
+
estimateCostPriceCell,
|
|
39
|
+
estimateCostPriceCellContent,
|
|
40
|
+
estimateCostPriceColumn,
|
|
41
|
+
estimateCostSideItem,
|
|
42
|
+
estimateCostTable,
|
|
43
|
+
estimateCostText,
|
|
44
|
+
estimateCostTimeCell,
|
|
45
|
+
estimateCostTitle,
|
|
46
|
+
estimateCostTotalPriceCell,
|
|
47
|
+
estimatecostFeesText,
|
|
48
|
+
overlayMarginVar,
|
|
49
|
+
paddingLeftCell
|
|
50
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Alert } from '@ultraviolet/ui';
|
|
2
|
-
import type { ComponentProps, JSX, ReactNode } from 'react';
|
|
2
|
+
import type { ComponentProps, CSSProperties, JSX, ReactNode } from 'react';
|
|
3
3
|
import type EstimateCostLocales from './locales/en';
|
|
4
4
|
export type EstimateCostProps = {
|
|
5
5
|
/**
|
|
@@ -105,6 +105,7 @@ export type EstimateCostProps = {
|
|
|
105
105
|
* To find out all currencies checkout https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes section "Code" of the table.
|
|
106
106
|
*/
|
|
107
107
|
currency?: string;
|
|
108
|
+
style?: CSSProperties;
|
|
108
109
|
/**
|
|
109
110
|
* Defines the way we display numbers depending on locale (ex: 1,000.00 or 1 000,00).
|
|
110
111
|
* To understand better please read https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#locales
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as ProductIcon from '@ultraviolet/icons/product';
|
|
2
|
+
import type { CSSProperties } from 'react';
|
|
2
3
|
import type { PascalToCamelCaseWithoutSuffix } from '../../types';
|
|
3
4
|
type FAQProps = {
|
|
4
5
|
description: string;
|
|
@@ -6,6 +7,7 @@ type FAQProps = {
|
|
|
6
7
|
illustrationText?: number | string;
|
|
7
8
|
notes?: string;
|
|
8
9
|
title: string;
|
|
10
|
+
style?: CSSProperties;
|
|
9
11
|
};
|
|
10
|
-
export declare const FAQ: ({ productIconName, illustrationText, title, description, notes, }: FAQProps) => import("
|
|
12
|
+
export declare const FAQ: ({ productIconName, illustrationText, title, description, notes, style, }: FAQProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx, jsxs } from "
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as ProductIcon from "@ultraviolet/icons/product";
|
|
4
4
|
import { Card, Stack, Bullet, Text } from "@ultraviolet/ui";
|
|
5
5
|
import { faq } from "./styles.css.js";
|
|
@@ -8,10 +8,11 @@ const FAQ = ({
|
|
|
8
8
|
illustrationText,
|
|
9
9
|
title,
|
|
10
10
|
description,
|
|
11
|
-
notes
|
|
11
|
+
notes,
|
|
12
|
+
style
|
|
12
13
|
}) => {
|
|
13
14
|
const ProductIconUsed = productIconName ? ProductIcon[`${productIconName.charAt(0).toUpperCase() + productIconName.slice(1)}ProductIcon`] : null;
|
|
14
|
-
return /* @__PURE__ */ jsx(Card, { className: faq, children: /* @__PURE__ */ jsxs(Stack, { direction: "row", gap: 2, children: [
|
|
15
|
+
return /* @__PURE__ */ jsx(Card, { className: faq, style, children: /* @__PURE__ */ jsxs(Stack, { direction: "row", gap: 2, children: [
|
|
15
16
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
16
17
|
!productIconName && illustrationText ? /* @__PURE__ */ jsx(Bullet, { sentiment: "primary", children: illustrationText.toString() }) : null,
|
|
17
18
|
ProductIconUsed ? /* @__PURE__ */ jsx(ProductIconUsed, { size: "xlarge" }) : null
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
type InfoTableProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
width?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
'data-testid'?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* Use this component to display offers.
|
|
10
11
|
* Create rows with `InfoTable.Row` and place cells within each row using `InfoTable.Cell`.
|
|
11
12
|
*/
|
|
12
13
|
export declare const InfoTable: {
|
|
13
|
-
({ children, width, className, "data-testid": dataTestId, }: InfoTableProps): import("
|
|
14
|
-
Row: ({ children, templateColumns }: {
|
|
14
|
+
({ children, width, className, style, "data-testid": dataTestId, }: InfoTableProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
Row: ({ children, templateColumns, style, }: {
|
|
15
16
|
children: ReactNode;
|
|
16
17
|
templateColumns: string;
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
Cell: ({ children, title, multiline, style, }: {
|
|
19
21
|
children: ReactNode;
|
|
20
22
|
title: ReactNode;
|
|
21
23
|
multiline?: boolean;
|
|
22
|
-
|
|
24
|
+
style?: CSSProperties;
|
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
26
|
};
|
|
24
27
|
export {};
|
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { InfoTableCell } from "./components/Cell.js";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
target: "e1pfb1240"
|
|
9
|
-
} : {
|
|
10
|
-
shouldForwardProp: (prop) => !["width"].includes(prop),
|
|
11
|
-
target: "e1pfb1240",
|
|
12
|
-
label: "StyledDl"
|
|
13
|
-
})("display:flex;font-size:", ({
|
|
14
|
-
theme
|
|
15
|
-
}) => theme.typography.body.fontSize, ";line-height:", ({
|
|
16
|
-
theme
|
|
17
|
-
}) => theme.typography.body.lineHeight, ";flex-direction:column;align-items:start;margin:0;width:100%;", StyledRow, "{width:", ({
|
|
18
|
-
width
|
|
19
|
-
}) => width ?? "100%", ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3BsdXMvc3JjL2NvbXBvbmVudHMvSW5mb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cbnR5cGUgSW5mb1RhYmxlUHJvcHMgPSB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGVcbiAgd2lkdGg/OiBzdHJpbmdcbiAgY2xhc3NOYW1lPzogc3RyaW5nXG4gICdkYXRhLXRlc3RpZCc/OiBzdHJpbmdcbn1cblxuLyoqXG4gKiBVc2UgdGhpcyBjb21wb25lbnQgdG8gZGlzcGxheSBvZmZlcnMuXG4gKiBDcmVhdGUgcm93cyB3aXRoIGBJbmZvVGFibGUuUm93YCBhbmQgcGxhY2UgY2VsbHMgd2l0aGluIGVhY2ggcm93IHVzaW5nIGBJbmZvVGFibGUuQ2VsbGAuXG4gKi9cbmV4cG9ydCBjb25zdCBJbmZvVGFibGUgPSAoe1xuICBjaGlsZHJlbixcbiAgd2lkdGgsXG4gIGNsYXNzTmFtZSxcbiAgJ2RhdGEtdGVzdGlkJzogZGF0YVRlc3RJZCxcbn06IEluZm9UYWJsZVByb3BzKSA9PiAoXG4gIDxTdHlsZWREbCBjbGFzc05hbWU9e2NsYXNzTmFtZX0gZGF0YS10ZXN0aWQ9e2RhdGFUZXN0SWR9IHdpZHRoPXt3aWR0aH0+XG4gICAge2NoaWxkcmVufVxuICA8L1N0eWxlZERsPlxuKVxuXG5JbmZvVGFibGUuUm93ID0gSW5mb1RhYmxlUm93XG5JbmZvVGFibGUuQ2VsbCA9IEluZm9UYWJsZUNlbGxcbiJdfQ== */"));
|
|
4
|
+
import { InfoTableRow } from "./components/Row.js";
|
|
5
|
+
import { InfoTableContext } from "./context.js";
|
|
6
|
+
import { dl } from "./styles.css.js";
|
|
20
7
|
const InfoTable = ({
|
|
21
8
|
children,
|
|
22
9
|
width,
|
|
23
10
|
className,
|
|
11
|
+
style,
|
|
24
12
|
"data-testid": dataTestId
|
|
25
|
-
}) => /* @__PURE__ */ jsx(
|
|
13
|
+
}) => /* @__PURE__ */ jsx(InfoTableContext.Provider, { value: { width }, children: /* @__PURE__ */ jsx(
|
|
14
|
+
"dl",
|
|
15
|
+
{
|
|
16
|
+
className: `${className ? `${className} ` : ""}${dl}`,
|
|
17
|
+
"data-testid": dataTestId,
|
|
18
|
+
style,
|
|
19
|
+
children
|
|
20
|
+
}
|
|
21
|
+
) });
|
|
26
22
|
InfoTable.Row = InfoTableRow;
|
|
27
23
|
InfoTable.Cell = InfoTableCell;
|
|
28
24
|
export {
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export declare const Term: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
6
2
|
type CellProps = {
|
|
7
3
|
children: ReactNode;
|
|
8
4
|
title: ReactNode;
|
|
9
5
|
multiline?: boolean;
|
|
6
|
+
style?: CSSProperties;
|
|
10
7
|
};
|
|
11
|
-
export declare const InfoTableCell: ({ children, title, multiline, }: CellProps) => import("
|
|
8
|
+
export declare const InfoTableCell: ({ children, title, multiline, style, }: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
9
|
export {};
|