@ultraviolet/plus 3.5.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CodeEditor/CodeEditor.d.ts +5 -38
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.js +6 -113
- package/dist/components/ContentCard/index.d.ts +3 -34
- package/dist/components/ContentCard/index.d.ts.map +1 -1
- package/dist/components/ContentCard/index.js +4 -103
- package/dist/components/ContentCardGroup/index.d.ts +5 -20
- package/dist/components/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/components/ContentCardGroup/index.js +6 -16
- package/dist/components/Conversation/index.d.ts +5 -49
- package/dist/components/Conversation/index.d.ts.map +1 -1
- package/dist/components/Conversation/index.js +6 -46
- package/dist/components/CustomerSatisfaction/index.d.ts +5 -32
- package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/components/CustomerSatisfaction/index.js +6 -84
- package/dist/components/EstimateCost/index.d.ts +9 -3
- package/dist/components/EstimateCost/index.d.ts.map +1 -1
- package/dist/components/EstimateCost/index.js +15 -0
- package/dist/components/FAQ/index.d.ts +5 -13
- package/dist/components/FAQ/index.d.ts.map +1 -1
- package/dist/components/FAQ/index.js +6 -35
- package/dist/components/InfoTable/index.d.ts +5 -1
- package/dist/components/InfoTable/index.d.ts.map +1 -1
- package/dist/components/InfoTable/index.js +11 -0
- package/dist/components/Navigation/index.d.ts +13 -2
- package/dist/components/Navigation/index.d.ts.map +1 -1
- package/dist/components/Navigation/index.js +19 -0
- package/dist/index.js +4 -6
- package/package.json +9 -9
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +0 -28
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +0 -18
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +0 -17
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +0 -12
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +0 -14
- package/dist/_virtual/_rolldown/runtime.js +0 -9
- package/dist/components/CodeEditor/styles.css.d.ts +0 -10
- package/dist/components/CodeEditor/styles.css.d.ts.map +0 -1
- package/dist/components/CodeEditor/styles.css.js +0 -24
- package/dist/components/ContentCard/Skeleton.d.ts +0 -6
- package/dist/components/ContentCard/Skeleton.d.ts.map +0 -1
- package/dist/components/ContentCard/Skeleton.js +0 -32
- package/dist/components/ContentCard/styles.css.d.ts +0 -13
- package/dist/components/ContentCard/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCard/styles.css.js +0 -31
- package/dist/components/ContentCardGroup/Card.d.ts +0 -15
- package/dist/components/ContentCardGroup/Card.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/Card.js +0 -57
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts +0 -2
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/SkeletonCard.js +0 -29
- package/dist/components/ContentCardGroup/styles.css.d.ts +0 -8
- package/dist/components/ContentCardGroup/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/styles.css.js +0 -14
- package/dist/components/Conversation/styles.css.js +0 -22
- package/dist/components/CustomerSatisfaction/assets/1-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/1-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +0 -19
- package/dist/components/CustomerSatisfaction/styles.css.d.ts.map +0 -1
- package/dist/components/CustomerSatisfaction/styles.css.js +0 -20
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +0 -10
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +0 -41
- package/dist/components/EstimateCost/Components/Item.d.ts +0 -118
- package/dist/components/EstimateCost/Components/Item.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Item.js +0 -228
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +0 -7
- package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/LineThrough.js +0 -18
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +0 -11
- package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +0 -35
- package/dist/components/EstimateCost/Components/Region.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Region.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Region.js +0 -38
- package/dist/components/EstimateCost/Components/Regular.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Regular.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Regular.js +0 -23
- package/dist/components/EstimateCost/Components/Strong.d.ts +0 -10
- package/dist/components/EstimateCost/Components/Strong.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Strong.js +0 -16
- package/dist/components/EstimateCost/Components/Unit.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Unit.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Unit.js +0 -50
- package/dist/components/EstimateCost/Components/Zone.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Zone.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Zone.js +0 -37
- package/dist/components/EstimateCost/Components/components.css.d.ts +0 -78
- package/dist/components/EstimateCost/Components/components.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/components.css.js +0 -161
- package/dist/components/EstimateCost/EstimateCost.d.ts +0 -176
- package/dist/components/EstimateCost/EstimateCost.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCost.js +0 -97
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +0 -3
- package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +0 -289
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +0 -26
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +0 -33
- package/dist/components/EstimateCost/OverlayComponent.d.ts +0 -27
- package/dist/components/EstimateCost/OverlayComponent.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayComponent.js +0 -99
- package/dist/components/EstimateCost/OverlayContext.d.ts +0 -13
- package/dist/components/EstimateCost/OverlayContext.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayContext.js +0 -15
- package/dist/components/EstimateCost/constants.d.ts +0 -8
- package/dist/components/EstimateCost/constants.d.ts.map +0 -1
- package/dist/components/EstimateCost/constants.js +0 -26
- package/dist/components/EstimateCost/helper.d.ts +0 -10
- package/dist/components/EstimateCost/helper.d.ts.map +0 -1
- package/dist/components/EstimateCost/helper.js +0 -11
- package/dist/components/EstimateCost/locales/en.d.ts +0 -23
- package/dist/components/EstimateCost/locales/en.d.ts.map +0 -1
- package/dist/components/EstimateCost/locales/en.js +0 -25
- package/dist/components/EstimateCost/styles.css.d.ts +0 -80
- package/dist/components/EstimateCost/styles.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/styles.css.js +0 -70
- package/dist/components/EstimateCost/types.d.ts +0 -148
- package/dist/components/EstimateCost/types.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.d.ts +0 -2
- package/dist/components/FAQ/styles.css.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.js +0 -7
- package/dist/components/InfoTable/InfoTable.d.ts +0 -25
- package/dist/components/InfoTable/InfoTable.d.ts.map +0 -1
- package/dist/components/InfoTable/InfoTable.js +0 -28
- package/dist/components/InfoTable/components/Cell.d.ts +0 -10
- package/dist/components/InfoTable/components/Cell.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Cell.js +0 -38
- package/dist/components/InfoTable/components/Row.d.ts +0 -9
- package/dist/components/InfoTable/components/Row.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Row.js +0 -23
- package/dist/components/InfoTable/context.d.ts +0 -4
- package/dist/components/InfoTable/context.d.ts.map +0 -1
- package/dist/components/InfoTable/context.js +0 -7
- package/dist/components/InfoTable/styles.css.d.ts +0 -8
- package/dist/components/InfoTable/styles.css.d.ts.map +0 -1
- package/dist/components/InfoTable/styles.css.js +0 -13
- package/dist/components/Navigation/Footer.d.ts +0 -9
- package/dist/components/Navigation/Footer.d.ts.map +0 -1
- package/dist/components/Navigation/Footer.js +0 -64
- package/dist/components/Navigation/Header.d.ts +0 -7
- package/dist/components/Navigation/Header.d.ts.map +0 -1
- package/dist/components/Navigation/Header.js +0 -24
- package/dist/components/Navigation/Navigation.d.ts +0 -62
- package/dist/components/Navigation/Navigation.d.ts.map +0 -1
- package/dist/components/Navigation/Navigation.js +0 -34
- package/dist/components/Navigation/NavigationContent.d.ts +0 -3
- package/dist/components/Navigation/NavigationContent.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationContent.js +0 -104
- package/dist/components/Navigation/NavigationProvider.d.ts +0 -94
- package/dist/components/Navigation/NavigationProvider.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationProvider.js +0 -121
- package/dist/components/Navigation/animations.css.d.ts +0 -7
- package/dist/components/Navigation/animations.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.d.ts +0 -10
- package/dist/components/Navigation/components/Group.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.js +0 -39
- package/dist/components/Navigation/components/Item.d.ts +0 -89
- package/dist/components/Navigation/components/Item.d.ts.map +0 -1
- package/dist/components/Navigation/components/Item.js +0 -448
- package/dist/components/Navigation/components/ItemProvider.d.ts +0 -8
- package/dist/components/Navigation/components/ItemProvider.d.ts.map +0 -1
- package/dist/components/Navigation/components/ItemProvider.js +0 -17
- package/dist/components/Navigation/components/PinnedItems.d.ts +0 -24
- package/dist/components/Navigation/components/PinnedItems.d.ts.map +0 -1
- package/dist/components/Navigation/components/PinnedItems.js +0 -105
- package/dist/components/Navigation/components/Separator.d.ts +0 -2
- package/dist/components/Navigation/components/Separator.d.ts.map +0 -1
- package/dist/components/Navigation/components/Separator.js +0 -11
- package/dist/components/Navigation/components/ShowHide.d.ts +0 -16
- package/dist/components/Navigation/components/ShowHide.d.ts.map +0 -1
- package/dist/components/Navigation/components/ShowHide.js +0 -53
- package/dist/components/Navigation/components/items.css.d.ts +0 -71
- package/dist/components/Navigation/components/items.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/items.css.js +0 -87
- package/dist/components/Navigation/components/styles.css.d.ts +0 -25
- package/dist/components/Navigation/components/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/styles.css.js +0 -29
- package/dist/components/Navigation/constants.d.ts +0 -10
- package/dist/components/Navigation/constants.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.d.ts +0 -11
- package/dist/components/Navigation/locales/en.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.js +0 -13
- package/dist/components/Navigation/styles.css.d.ts +0 -34
- package/dist/components/Navigation/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/styles.css.js +0 -36
- package/dist/components/Navigation/types.d.ts +0 -42
- package/dist/components/Navigation/types.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.d.ts +0 -2
- package/dist/components/Navigation/variables.css.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.js +0 -7
- package/dist/plus.css +0 -2
|
@@ -1,80 +0,0 @@
|
|
|
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<"noTotal" | "total", 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
|
-
borderBottom: `1px solid var(--${string})`;
|
|
14
|
-
bottom: number;
|
|
15
|
-
content: "''";
|
|
16
|
-
height: number;
|
|
17
|
-
left: number;
|
|
18
|
-
marginLeft: `var(--${string})`;
|
|
19
|
-
position: "absolute";
|
|
20
|
-
width: "calc(100% - 32px)";
|
|
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
|
-
hideFromOverlay: {
|
|
39
|
-
true: {
|
|
40
|
-
display: "none";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
isFirstElement: {
|
|
44
|
-
true: {
|
|
45
|
-
border: number;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
shouldBeHidden: {
|
|
49
|
-
true: {
|
|
50
|
-
'@media': {
|
|
51
|
-
'(max-width: 1800px)': {
|
|
52
|
-
display: "none";
|
|
53
|
-
};
|
|
54
|
-
};
|
|
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
|
-
false: {
|
|
66
|
-
bottom: number;
|
|
67
|
-
boxShadow: `var(--${string})`;
|
|
68
|
-
};
|
|
69
|
-
true: {
|
|
70
|
-
bottom: "-120px";
|
|
71
|
-
boxShadow: "0";
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
}>;
|
|
75
|
-
export declare const estimateCostList: string;
|
|
76
|
-
export declare const estimateCostSideItem: string;
|
|
77
|
-
export declare const estimateCostContent: Record<"compact" | "default", string>;
|
|
78
|
-
export declare const estimateCostCompact: string;
|
|
79
|
-
export declare const estimateCostCompactText: string;
|
|
80
|
-
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/styles.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,oBAAc,CAAA;AAC1C,eAAO,MAAM,gBAAgB,oBAAc,CAAA;AAE3C,eAAO,MAAM,iBAAiB,QAG5B,CAAA;AAOF,eAAO,MAAM,iBAAiB,qCAG5B,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB,QAElC,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAKhC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EA+B3B,CAAA;AAEF,eAAO,MAAM,0BAA0B,QAUrC,CAAA;AAEF,eAAO,MAAM,sBAAsB,QAKjC,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAQ5B,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAAmC,CAAA;AAErE,eAAO,MAAM,oBAAoB,QAM/B,CAAA;AAMF,eAAO,MAAM,qBAAqB,kCAGhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;EA8BjC,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAM5B,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAE/B,CAAA;AAEF,eAAO,MAAM,gBAAgB,oCAQ3B,CAAA;AAEF,eAAO,MAAM,0BAA0B,QAAyC,CAAA;AAEhF,eAAO,MAAM,4BAA4B,QAEvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;EAyBvC,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAO3B,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAI/B,CAAA;AAEF,eAAO,MAAM,mBAAmB,uCAK9B,CAAA;AAEF,eAAO,MAAM,mBAAmB,QAG9B,CAAA;AAEF,eAAO,MAAM,uBAAuB,QAMlC,CAAA"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
|
|
4
|
-
//#region src/components/EstimateCost/styles.css.ts
|
|
5
|
-
var paddingLeftCell = "var(--uv_plus_sk5tga0)";
|
|
6
|
-
var overlayMarginVar = "var(--uv_plus_sk5tga1)";
|
|
7
|
-
var estimateCostImage = "uv_plus_sk5tga2";
|
|
8
|
-
var estimateCostTable = {
|
|
9
|
-
noTotal: "uv_plus_sk5tga4 uv_plus_sk5tga3",
|
|
10
|
-
total: "uv_plus_sk5tga5 uv_plus_sk5tga3"
|
|
11
|
-
};
|
|
12
|
-
var estimateCostFeesTable = "uv_plus_sk5tga6 uv_plus_sk5tga3";
|
|
13
|
-
var estimateCostPriceColumn = "uv_plus_sk5tga7";
|
|
14
|
-
var estimateCostPriceCell = "uv_plus_sk5tga8";
|
|
15
|
-
var estimateCostCell = createRuntimeFn({
|
|
16
|
-
defaultClassName: "uv_plus_sk5tga9",
|
|
17
|
-
variantClassNames: {
|
|
18
|
-
hasBorder: { true: "uv_plus_sk5tgaa" },
|
|
19
|
-
primary: { true: "uv_plus_sk5tgab" }
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {},
|
|
22
|
-
compoundVariants: []
|
|
23
|
-
});
|
|
24
|
-
var estimateCostTotalPriceCell = "uv_plus_sk5tgac";
|
|
25
|
-
var estimateCostEmptyTable = "uv_plus_sk5tgad";
|
|
26
|
-
var estimateCostTitle = "uv_plus_sk5tgae";
|
|
27
|
-
var estimateCostEmptyCell = "uv_plus_sk5tgaf";
|
|
28
|
-
var estimateCostTimeCell = "uv_plus_sk5tgag";
|
|
29
|
-
var estimateCostBadgeBeta = {
|
|
30
|
-
"long": "uv_plus_sk5tgai uv_plus_sk5tgah",
|
|
31
|
-
"short": "uv_plus_sk5tgaj uv_plus_sk5tgah"
|
|
32
|
-
};
|
|
33
|
-
var estimateCostOverlayRow = createRuntimeFn({
|
|
34
|
-
defaultClassName: "uv_plus_sk5tgak",
|
|
35
|
-
variantClassNames: {
|
|
36
|
-
hideFromOverlay: { true: "uv_plus_sk5tgal" },
|
|
37
|
-
isFirstElement: { true: "uv_plus_sk5tgam" },
|
|
38
|
-
shouldBeHidden: { true: "uv_plus_sk5tgan" }
|
|
39
|
-
},
|
|
40
|
-
defaultVariants: {},
|
|
41
|
-
compoundVariants: []
|
|
42
|
-
});
|
|
43
|
-
var estimateCostBadge = "uv_plus_sk5tgao";
|
|
44
|
-
var estimatecostFeesText = "uv_plus_sk5tgap";
|
|
45
|
-
var estimateCostText = {
|
|
46
|
-
beta: "uv_plus_sk5tgaq",
|
|
47
|
-
notBeta: "uv_plus_sk5tgar"
|
|
48
|
-
};
|
|
49
|
-
var estimateCostCalculatorIcon = "uv_plus_sk5tgas";
|
|
50
|
-
var estimateCostPriceCellContent = "uv_plus_sk5tgat";
|
|
51
|
-
var estimateCostOverlayContainer = createRuntimeFn({
|
|
52
|
-
defaultClassName: "uv_plus_sk5tgau",
|
|
53
|
-
variantClassNames: { inView: {
|
|
54
|
-
false: "uv_plus_sk5tgav",
|
|
55
|
-
true: "uv_plus_sk5tgaw"
|
|
56
|
-
} },
|
|
57
|
-
defaultVariants: {},
|
|
58
|
-
compoundVariants: []
|
|
59
|
-
});
|
|
60
|
-
var estimateCostList = "uv_plus_sk5tgax";
|
|
61
|
-
var estimateCostSideItem = "uv_plus_sk5tgay";
|
|
62
|
-
var estimateCostContent = {
|
|
63
|
-
compact: "uv_plus_sk5tgaz",
|
|
64
|
-
"default": "uv_plus_sk5tga10"
|
|
65
|
-
};
|
|
66
|
-
var estimateCostCompact = "uv_plus_sk5tga11";
|
|
67
|
-
var estimateCostCompactText = "uv_plus_sk5tga12";
|
|
68
|
-
|
|
69
|
-
//#endregion
|
|
70
|
-
export { estimateCostBadge, estimateCostBadgeBeta, estimateCostCalculatorIcon, estimateCostCell, estimateCostCompact, estimateCostCompactText, estimateCostContent, estimateCostEmptyCell, estimateCostEmptyTable, estimateCostFeesTable, estimateCostImage, estimateCostList, estimateCostOverlayContainer, estimateCostOverlayRow, estimateCostPriceCell, estimateCostPriceCellContent, estimateCostPriceColumn, estimateCostSideItem, estimateCostTable, estimateCostText, estimateCostTimeCell, estimateCostTitle, estimateCostTotalPriceCell, estimatecostFeesText, overlayMarginVar, paddingLeftCell };
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import type { Alert } from '@ultraviolet/ui';
|
|
2
|
-
import type { ComponentProps, CSSProperties, JSX, ReactNode } from 'react';
|
|
3
|
-
import type EstimateCostLocales from './locales/en';
|
|
4
|
-
export type EstimateCostProps = {
|
|
5
|
-
/**
|
|
6
|
-
* Text to display into an alert on the top of the EstimateCost component.
|
|
7
|
-
*/
|
|
8
|
-
alert?: ReactNode;
|
|
9
|
-
alertTitle?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Type of the alert defined by the Scaleway UI Alert component.
|
|
12
|
-
*/
|
|
13
|
-
alertVariant?: ComponentProps<typeof Alert>['sentiment'];
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Individual fees to display at the bottom of the EstimateCost component.
|
|
17
|
-
*/
|
|
18
|
-
commitmentFees?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Content to display into the fees part, it can be any component but in order to have a consistent design, it is recommended to use `<EstimateCost.Regular>` and `<EstimateCost.Strong>` components.
|
|
21
|
-
*/
|
|
22
|
-
commitmentFeesContent?: ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* When set to true, only the estimated final cost is displayed
|
|
25
|
-
*/
|
|
26
|
-
compact?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* By default, a description exists but if you need you can customize it with this prop.
|
|
29
|
-
*/
|
|
30
|
-
description?: ReactNode;
|
|
31
|
-
/**
|
|
32
|
-
* Hide the floating estimate cost overlay shown in the bottom of the page.
|
|
33
|
-
*/
|
|
34
|
-
hideOverlay?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Disable left button on the overlay.
|
|
37
|
-
*/
|
|
38
|
-
disableOverlayLeft?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Disable right button (submit) on the overlay.
|
|
41
|
-
*/
|
|
42
|
-
disableOverlayRight?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* This is a global discount for all estimate cost, all sub items will be impacted by this discount.
|
|
45
|
-
* The discount is a percentage, so 0.1 means 10% discount. Discount = 1 means 100% so it means free.
|
|
46
|
-
* This is usually associate with beta products and prop `isBeta`.
|
|
47
|
-
*/
|
|
48
|
-
discount?: number;
|
|
49
|
-
/**
|
|
50
|
-
* The default time unit to select.
|
|
51
|
-
*/
|
|
52
|
-
defaultTimeUnit?: Units;
|
|
53
|
-
/**
|
|
54
|
-
* List of time unit the price can be calculated with. Can only be an array of `seconds`, `minutes`, `hours`, `days` or `months`.
|
|
55
|
-
*/
|
|
56
|
-
timeUnits?: Units[];
|
|
57
|
-
/**
|
|
58
|
-
* Hide the selectable time unit on the top of the component.
|
|
59
|
-
*/
|
|
60
|
-
hideTimeUnit?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Hide the total price at the bottom of the component.
|
|
63
|
-
*/
|
|
64
|
-
hideTotal?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Hide the hourly price in total section at the bottom of the component.
|
|
67
|
-
*/
|
|
68
|
-
hideHourlyPriceOnTotal?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Show a badge beta on the total price with how much discount is applied.
|
|
71
|
-
*/
|
|
72
|
-
isBeta?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* It will display another individual line at the bottom of the component with a monthly price. It can be used when you display hourly price, but you have one or many items that are billed monthly.
|
|
75
|
-
*/
|
|
76
|
-
monthlyFees?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Content to display into monthly fees part, it can be any component but in order to have a consistent design, it is recommended to use `<EstimateCost.Regular>` and `<EstimateCost.Strong>` components.
|
|
79
|
-
*/
|
|
80
|
-
monthlyFeesContent?: ReactNode;
|
|
81
|
-
/**
|
|
82
|
-
* Label of the item, it describes what kind of fees is related to. (ex: "Installation fee")
|
|
83
|
-
*/
|
|
84
|
-
monthlyFeesLabel?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Content that will be shown on the left side of the overlay.
|
|
87
|
-
*/
|
|
88
|
-
OverlayLeft?: (props: {
|
|
89
|
-
children: ReactNode;
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
}) => JSX.Element;
|
|
92
|
-
/**
|
|
93
|
-
* Content that will be shown on the left side of the overlay.
|
|
94
|
-
*/
|
|
95
|
-
OverlayRight?: (props: {
|
|
96
|
-
children?: ReactNode;
|
|
97
|
-
disabled?: boolean;
|
|
98
|
-
}) => JSX.Element;
|
|
99
|
-
/**
|
|
100
|
-
* Time unit to use on the overlay. It can be different from estimate cost.
|
|
101
|
-
*/
|
|
102
|
-
overlayUnit?: Units;
|
|
103
|
-
/**
|
|
104
|
-
* Locales for the component. By default, it will use the english locales.
|
|
105
|
-
*/
|
|
106
|
-
locales?: Record<keyof typeof EstimateCostLocales, string>;
|
|
107
|
-
/**
|
|
108
|
-
* Defines the currency to be shown in the component.
|
|
109
|
-
* To find out all currencies checkout https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes section "Code" of the table.
|
|
110
|
-
*/
|
|
111
|
-
currency?: string;
|
|
112
|
-
style?: CSSProperties;
|
|
113
|
-
/**
|
|
114
|
-
* Defines the way we display numbers depending on locale (ex: 1,000.00 or 1 000,00).
|
|
115
|
-
* To understand better please read https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#locales
|
|
116
|
-
*/
|
|
117
|
-
numberLocales?: string;
|
|
118
|
-
overlayMargin?: string;
|
|
119
|
-
onTotalPriceChange?: ({ total, totalMax }: {
|
|
120
|
-
/**
|
|
121
|
-
* The total price of the estimate cost.
|
|
122
|
-
*/
|
|
123
|
-
total: number;
|
|
124
|
-
/**
|
|
125
|
-
* If the price has a range (ex: 10-20), this is the maximum value.
|
|
126
|
-
*/
|
|
127
|
-
totalMax?: number;
|
|
128
|
-
}) => void;
|
|
129
|
-
};
|
|
130
|
-
export type Units = 'seconds' | 'minutes' | 'hours' | 'days' | 'months';
|
|
131
|
-
export type Iteration = {
|
|
132
|
-
unit: Units;
|
|
133
|
-
value: number;
|
|
134
|
-
};
|
|
135
|
-
export type BareEstimateProduct = {
|
|
136
|
-
id: string;
|
|
137
|
-
};
|
|
138
|
-
export type EstimateProduct = BareEstimateProduct & {
|
|
139
|
-
amount: number;
|
|
140
|
-
price: number;
|
|
141
|
-
amountFree: number;
|
|
142
|
-
isVariant: boolean;
|
|
143
|
-
maxAmount: number;
|
|
144
|
-
noIteration: boolean;
|
|
145
|
-
longFractionDigits: boolean;
|
|
146
|
-
discount: number;
|
|
147
|
-
};
|
|
148
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC1E,OAAO,KAAK,mBAAmB,MAAM,cAAc,CAAA;AAEnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAA;IACxD,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAA;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,EAAE,CAAA;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QACpB,QAAQ,EAAE,SAAS,CAAA;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;KACnB,KAAK,GAAG,CAAC,OAAO,CAAA;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACrB,QAAQ,CAAC,EAAE,SAAS,CAAA;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;KACnB,KAAK,GAAG,CAAC,OAAO,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,mBAAmB,EAAE,MAAM,CAAC,CAAA;IAC1D;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,CAAC,EACpB,KAAK,EACL,QAAQ,EACT,EAAE;QACD;;WAEG;QACH,KAAK,EAAE,MAAM,CAAA;QACb;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB,KAAK,IAAI,CAAA;CACX,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEvE,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/FAQ/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,QAGd,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
type InfoTableProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
width?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
'data-testid'?: string;
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
};
|
|
9
|
-
export declare function InfoTable({ children, width, className, style, 'data-testid': dataTestId }: InfoTableProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare namespace InfoTable {
|
|
11
|
-
var Row: ({ children, templateColumns, style, }: {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
templateColumns: string;
|
|
14
|
-
style?: CSSProperties | undefined;
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export declare namespace InfoTable {
|
|
18
|
-
var Cell: ({ children, title, multiline, style, }: {
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
title: ReactNode;
|
|
21
|
-
multiline?: boolean | undefined;
|
|
22
|
-
style?: CSSProperties | undefined;
|
|
23
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=InfoTable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoTable.d.ts","sourceRoot":"","sources":["../../../src/components/InfoTable/InfoTable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMrD,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;kCAMyB,EACxB,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,aAAa,EAAE,UAAU,EAC1B,EAAE,cAAc"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { dl } from "./styles.css.js";
|
|
4
|
-
import { InfoTableCell } from "./components/Cell.js";
|
|
5
|
-
import { InfoTableContext } from "./context.js";
|
|
6
|
-
import { InfoTableRow } from "./components/Row.js";
|
|
7
|
-
import { cn } from "@ultraviolet/utils";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
10
|
-
//#region src/components/InfoTable/InfoTable.tsx
|
|
11
|
-
/**
|
|
12
|
-
* Use this component to display offers.
|
|
13
|
-
* Create rows with `InfoTable.Row` and place cells within each row using `InfoTable.Cell`.
|
|
14
|
-
*/
|
|
15
|
-
const InfoTable = ({ children, width, className, style, "data-testid": dataTestId }) => /* @__PURE__ */ jsx(InfoTableContext.Provider, {
|
|
16
|
-
value: { width },
|
|
17
|
-
children: /* @__PURE__ */ jsx("dl", {
|
|
18
|
-
className: cn(className, dl),
|
|
19
|
-
"data-testid": dataTestId,
|
|
20
|
-
style,
|
|
21
|
-
children
|
|
22
|
-
})
|
|
23
|
-
});
|
|
24
|
-
InfoTable.Row = InfoTableRow;
|
|
25
|
-
InfoTable.Cell = InfoTableCell;
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { InfoTable };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
type CellProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
title: ReactNode;
|
|
5
|
-
multiline?: boolean;
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
};
|
|
8
|
-
export declare const InfoTableCell: ({ children, title, multiline, style, }: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=Cell.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoTable/components/Cell.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrD,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,aAAa,gGAoCzB,CAAA"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { cellText, desc, infoTableCell, term } from "../styles.css.js";
|
|
4
|
-
import { Stack, Text } from "@ultraviolet/ui";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/components/InfoTable/components/Cell.tsx
|
|
8
|
-
const InfoTableCell = ({ children, title, multiline = false, style }) => /* @__PURE__ */ jsxs(Stack, {
|
|
9
|
-
className: infoTableCell,
|
|
10
|
-
gap: "0.5",
|
|
11
|
-
minWidth: "0",
|
|
12
|
-
style,
|
|
13
|
-
width: "100%",
|
|
14
|
-
children: [/* @__PURE__ */ jsx("dt", {
|
|
15
|
-
className: term,
|
|
16
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
17
|
-
as: "div",
|
|
18
|
-
prominence: "weak",
|
|
19
|
-
sentiment: "neutral",
|
|
20
|
-
variant: "bodySmallStrong",
|
|
21
|
-
children: title
|
|
22
|
-
})
|
|
23
|
-
}), /* @__PURE__ */ jsx("dd", {
|
|
24
|
-
className: desc,
|
|
25
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
26
|
-
as: "div",
|
|
27
|
-
className: cellText,
|
|
28
|
-
oneLine: !multiline,
|
|
29
|
-
prominence: "default",
|
|
30
|
-
sentiment: "neutral",
|
|
31
|
-
variant: "body",
|
|
32
|
-
children
|
|
33
|
-
})
|
|
34
|
-
})]
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { InfoTableCell };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
type RowProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
templateColumns: string;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
};
|
|
7
|
-
export declare const InfoTableRow: ({ children, templateColumns, style, }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Row.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoTable/components/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,QAAQ,GAAG;IACd,QAAQ,EAAE,SAAS,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,8FAqBxB,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
|
|
4
|
-
import { infoTableRow, rowWidth } from "../styles.css.js";
|
|
5
|
-
import { InfoTableContext } from "../context.js";
|
|
6
|
-
import { Row } from "@ultraviolet/ui";
|
|
7
|
-
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
8
|
-
import { useContext } from "react";
|
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
11
|
-
//#region src/components/InfoTable/components/Row.tsx
|
|
12
|
-
const InfoTableRow = ({ children, templateColumns, style }) => {
|
|
13
|
-
const { width } = useContext(InfoTableContext);
|
|
14
|
-
return /* @__PURE__ */ jsx(Row, {
|
|
15
|
-
className: infoTableRow,
|
|
16
|
-
style: _objectSpread2(_objectSpread2({}, assignInlineVars({ [rowWidth]: width !== null && width !== void 0 ? width : "100%" })), style),
|
|
17
|
-
templateColumns,
|
|
18
|
-
children
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export { InfoTableRow };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/InfoTable/context.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;EAAwC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const rowWidth: `var(--${string})`;
|
|
2
|
-
export declare const dl: string;
|
|
3
|
-
export declare const infoTableRow: string;
|
|
4
|
-
export declare const infoTableCell: string;
|
|
5
|
-
export declare const term: string;
|
|
6
|
-
export declare const desc: string;
|
|
7
|
-
export declare const cellText: string;
|
|
8
|
-
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/InfoTable/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,oBAAc,CAAA;AAEnC,eAAO,MAAM,EAAE,QAQb,CAAA;AAEF,eAAO,MAAM,YAAY,QAavB,CAAA;AAEF,eAAO,MAAM,aAAa,QAMxB,CAAA;AAEF,eAAO,MAAM,IAAI,QAMf,CAAA;AAEF,eAAO,MAAM,IAAI,QAKf,CAAA;AAEF,eAAO,MAAM,QAAQ,QAInB,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
|
|
3
|
-
//#region src/components/InfoTable/styles.css.ts
|
|
4
|
-
var rowWidth = "var(--uv_plus_h6pvpm0)";
|
|
5
|
-
var dl = "uv_plus_h6pvpm1";
|
|
6
|
-
var infoTableRow = "uv_plus_h6pvpm2";
|
|
7
|
-
var infoTableCell = "uv_plus_h6pvpm3";
|
|
8
|
-
var term = "uv_plus_h6pvpm4";
|
|
9
|
-
var desc = "uv_plus_h6pvpm5";
|
|
10
|
-
var cellText = "uv_plus_h6pvpm6";
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { cellText, desc, dl, infoTableCell, infoTableRow, rowWidth, term };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from 'react';
|
|
2
|
-
import type { NavigationProps } from './types';
|
|
3
|
-
type FooterProps = {
|
|
4
|
-
onToggleExpand: NavigationProps['onToggleExpand'];
|
|
5
|
-
contentRef: RefObject<HTMLDivElement | null>;
|
|
6
|
-
};
|
|
7
|
-
export declare const Footer: ({ onToggleExpand, contentRef }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Footer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;IACjD,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,MAAM,0FAqFlB,CAAA"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { useNavigation } from "./NavigationProvider.js";
|
|
4
|
-
import { navigationStickyFooter } from "./styles.css.js";
|
|
5
|
-
import { Button, Tooltip } from "@ultraviolet/ui";
|
|
6
|
-
import { useCallback, useLayoutEffect, useMemo, useState } from "react";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import { ArrowLeftDoubleIcon } from "@ultraviolet/icons/ArrowLeftDoubleIcon";
|
|
9
|
-
import { ArrowRightDoubleIcon } from "@ultraviolet/icons/ArrowRightDoubleIcon";
|
|
10
|
-
|
|
11
|
-
//#region src/components/Navigation/Footer.tsx
|
|
12
|
-
const Footer = ({ onToggleExpand, contentRef }) => {
|
|
13
|
-
const { expanded, toggleExpand, locales, animation } = useNavigation();
|
|
14
|
-
const isScrollAtBottom = useCallback(() => {
|
|
15
|
-
if (contentRef.current) {
|
|
16
|
-
if (contentRef.current.scrollTop + contentRef.current.offsetHeight >= contentRef.current.scrollHeight) return false;
|
|
17
|
-
return true;
|
|
18
|
-
}
|
|
19
|
-
return true;
|
|
20
|
-
}, [contentRef]);
|
|
21
|
-
const [footerHasOverflowStyle, setFooterHasOverflowStyle] = useState(isScrollAtBottom());
|
|
22
|
-
useLayoutEffect(() => {
|
|
23
|
-
const currentContentRef = contentRef.current;
|
|
24
|
-
const scroll = () => {
|
|
25
|
-
const hasOverflow = isScrollAtBottom();
|
|
26
|
-
if (footerHasOverflowStyle !== hasOverflow) setFooterHasOverflowStyle(hasOverflow);
|
|
27
|
-
};
|
|
28
|
-
if (currentContentRef) currentContentRef.addEventListener("scroll", scroll);
|
|
29
|
-
return () => {
|
|
30
|
-
currentContentRef === null || currentContentRef === void 0 || currentContentRef.removeEventListener("scroll", scroll);
|
|
31
|
-
};
|
|
32
|
-
}, [
|
|
33
|
-
footerHasOverflowStyle,
|
|
34
|
-
isScrollAtBottom,
|
|
35
|
-
contentRef
|
|
36
|
-
]);
|
|
37
|
-
useLayoutEffect(() => {
|
|
38
|
-
setFooterHasOverflowStyle(isScrollAtBottom());
|
|
39
|
-
}, [isScrollAtBottom]);
|
|
40
|
-
const Icon = useMemo(() => expanded ? ArrowLeftDoubleIcon : ArrowRightDoubleIcon, [expanded]);
|
|
41
|
-
const label = useMemo(() => expanded ? locales["navigation.collapse.button"] : locales["navigation.expand.button"], [expanded, locales]);
|
|
42
|
-
return /* @__PURE__ */ jsx("div", {
|
|
43
|
-
className: navigationStickyFooter({ overflow: footerHasOverflowStyle }),
|
|
44
|
-
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
45
|
-
disableAnimation: animation === false,
|
|
46
|
-
placement: "right",
|
|
47
|
-
text: label,
|
|
48
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
49
|
-
"aria-label": label,
|
|
50
|
-
onClick: () => {
|
|
51
|
-
toggleExpand();
|
|
52
|
-
onToggleExpand === null || onToggleExpand === void 0 || onToggleExpand(!expanded);
|
|
53
|
-
},
|
|
54
|
-
sentiment: "neutral",
|
|
55
|
-
size: "small",
|
|
56
|
-
variant: "ghost",
|
|
57
|
-
children: /* @__PURE__ */ jsx(Icon, {})
|
|
58
|
-
})
|
|
59
|
-
})
|
|
60
|
-
});
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
//#endregion
|
|
64
|
-
export { Footer };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NavigationProps } from './types';
|
|
2
|
-
type HeaderProps = {
|
|
3
|
-
logo: NavigationProps['logo'];
|
|
4
|
-
};
|
|
5
|
-
export declare const Header: import("react").MemoExoticComponent<({ logo }: HeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Header.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,MAAM,yGAcjB,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { useNavigation } from "./NavigationProvider.js";
|
|
4
|
-
import { navigationHeader, navigationLogoContainer } from "./styles.css.js";
|
|
5
|
-
import { Stack } from "@ultraviolet/ui";
|
|
6
|
-
import { memo } from "react";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
//#region src/components/Navigation/Header.tsx
|
|
10
|
-
const Header = memo(({ logo }) => {
|
|
11
|
-
const { animation, expanded } = useNavigation();
|
|
12
|
-
return /* @__PURE__ */ jsx("div", {
|
|
13
|
-
className: navigationHeader,
|
|
14
|
-
children: /* @__PURE__ */ jsx(Stack, {
|
|
15
|
-
alignItems: "flex-start",
|
|
16
|
-
className: navigationLogoContainer,
|
|
17
|
-
justifyContent: expanded ? void 0 : "center",
|
|
18
|
-
children: typeof logo === "function" ? logo(animation ? false : expanded) : logo
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export { Header };
|