@ultraviolet/plus 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CodeEditor/CodeEditor.d.ts +5 -38
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.js +6 -113
- package/dist/components/ContentCard/index.d.ts +3 -34
- package/dist/components/ContentCard/index.d.ts.map +1 -1
- package/dist/components/ContentCard/index.js +4 -103
- package/dist/components/ContentCardGroup/index.d.ts +5 -20
- package/dist/components/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/components/ContentCardGroup/index.js +6 -16
- package/dist/components/Conversation/index.d.ts +5 -49
- package/dist/components/Conversation/index.d.ts.map +1 -1
- package/dist/components/Conversation/index.js +6 -46
- package/dist/components/CustomerSatisfaction/index.d.ts +5 -32
- package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/components/CustomerSatisfaction/index.js +6 -84
- package/dist/components/EstimateCost/index.d.ts +9 -3
- package/dist/components/EstimateCost/index.d.ts.map +1 -1
- package/dist/components/EstimateCost/index.js +15 -0
- package/dist/components/FAQ/index.d.ts +5 -13
- package/dist/components/FAQ/index.d.ts.map +1 -1
- package/dist/components/FAQ/index.js +6 -35
- package/dist/components/InfoTable/index.d.ts +5 -1
- package/dist/components/InfoTable/index.d.ts.map +1 -1
- package/dist/components/InfoTable/index.js +11 -0
- package/dist/components/Navigation/index.d.ts +13 -2
- package/dist/components/Navigation/index.d.ts.map +1 -1
- package/dist/components/Navigation/index.js +19 -0
- package/dist/index.js +4 -6
- package/package.json +9 -9
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +0 -28
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +0 -18
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +0 -17
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +0 -12
- package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +0 -14
- package/dist/_virtual/_rolldown/runtime.js +0 -9
- package/dist/components/CodeEditor/styles.css.d.ts +0 -10
- package/dist/components/CodeEditor/styles.css.d.ts.map +0 -1
- package/dist/components/CodeEditor/styles.css.js +0 -24
- package/dist/components/ContentCard/Skeleton.d.ts +0 -6
- package/dist/components/ContentCard/Skeleton.d.ts.map +0 -1
- package/dist/components/ContentCard/Skeleton.js +0 -32
- package/dist/components/ContentCard/styles.css.d.ts +0 -13
- package/dist/components/ContentCard/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCard/styles.css.js +0 -31
- package/dist/components/ContentCardGroup/Card.d.ts +0 -15
- package/dist/components/ContentCardGroup/Card.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/Card.js +0 -57
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts +0 -2
- package/dist/components/ContentCardGroup/SkeletonCard.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/SkeletonCard.js +0 -29
- package/dist/components/ContentCardGroup/styles.css.d.ts +0 -8
- package/dist/components/ContentCardGroup/styles.css.d.ts.map +0 -1
- package/dist/components/ContentCardGroup/styles.css.js +0 -13
- package/dist/components/Conversation/styles.css.js +0 -23
- package/dist/components/CustomerSatisfaction/assets/1-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/1-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/2-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/3-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/4-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5.js +0 -5
- package/dist/components/CustomerSatisfaction/assets/5-5NB.js +0 -5
- package/dist/components/CustomerSatisfaction/styles.css.d.ts +0 -19
- package/dist/components/CustomerSatisfaction/styles.css.d.ts.map +0 -1
- package/dist/components/CustomerSatisfaction/styles.css.js +0 -20
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +0 -10
- package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/CustomUnitInput.js +0 -41
- package/dist/components/EstimateCost/Components/Item.d.ts +0 -118
- package/dist/components/EstimateCost/Components/Item.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Item.js +0 -228
- package/dist/components/EstimateCost/Components/LineThrough.d.ts +0 -7
- package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/LineThrough.js +0 -18
- package/dist/components/EstimateCost/Components/NumberInput.d.ts +0 -11
- package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/NumberInput.js +0 -35
- package/dist/components/EstimateCost/Components/Region.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Region.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Region.js +0 -38
- package/dist/components/EstimateCost/Components/Regular.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Regular.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Regular.js +0 -23
- package/dist/components/EstimateCost/Components/Strong.d.ts +0 -10
- package/dist/components/EstimateCost/Components/Strong.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Strong.js +0 -16
- package/dist/components/EstimateCost/Components/Unit.d.ts +0 -11
- package/dist/components/EstimateCost/Components/Unit.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Unit.js +0 -50
- package/dist/components/EstimateCost/Components/Zone.d.ts +0 -23
- package/dist/components/EstimateCost/Components/Zone.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/Zone.js +0 -37
- package/dist/components/EstimateCost/Components/components.css.d.ts +0 -78
- package/dist/components/EstimateCost/Components/components.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/Components/components.css.js +0 -161
- package/dist/components/EstimateCost/EstimateCost.d.ts +0 -176
- package/dist/components/EstimateCost/EstimateCost.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCost.js +0 -97
- package/dist/components/EstimateCost/EstimateCostContent.d.ts +0 -3
- package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostContent.js +0 -289
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts +0 -26
- package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +0 -1
- package/dist/components/EstimateCost/EstimateCostProvider.js +0 -33
- package/dist/components/EstimateCost/OverlayComponent.d.ts +0 -27
- package/dist/components/EstimateCost/OverlayComponent.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayComponent.js +0 -99
- package/dist/components/EstimateCost/OverlayContext.d.ts +0 -13
- package/dist/components/EstimateCost/OverlayContext.d.ts.map +0 -1
- package/dist/components/EstimateCost/OverlayContext.js +0 -15
- package/dist/components/EstimateCost/constants.d.ts +0 -8
- package/dist/components/EstimateCost/constants.d.ts.map +0 -1
- package/dist/components/EstimateCost/constants.js +0 -26
- package/dist/components/EstimateCost/helper.d.ts +0 -10
- package/dist/components/EstimateCost/helper.d.ts.map +0 -1
- package/dist/components/EstimateCost/helper.js +0 -11
- package/dist/components/EstimateCost/locales/en.d.ts +0 -23
- package/dist/components/EstimateCost/locales/en.d.ts.map +0 -1
- package/dist/components/EstimateCost/locales/en.js +0 -25
- package/dist/components/EstimateCost/styles.css.d.ts +0 -80
- package/dist/components/EstimateCost/styles.css.d.ts.map +0 -1
- package/dist/components/EstimateCost/styles.css.js +0 -70
- package/dist/components/EstimateCost/types.d.ts +0 -148
- package/dist/components/EstimateCost/types.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.d.ts +0 -2
- package/dist/components/FAQ/styles.css.d.ts.map +0 -1
- package/dist/components/FAQ/styles.css.js +0 -7
- package/dist/components/InfoTable/InfoTable.d.ts +0 -25
- package/dist/components/InfoTable/InfoTable.d.ts.map +0 -1
- package/dist/components/InfoTable/InfoTable.js +0 -28
- package/dist/components/InfoTable/components/Cell.d.ts +0 -10
- package/dist/components/InfoTable/components/Cell.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Cell.js +0 -38
- package/dist/components/InfoTable/components/Row.d.ts +0 -9
- package/dist/components/InfoTable/components/Row.d.ts.map +0 -1
- package/dist/components/InfoTable/components/Row.js +0 -23
- package/dist/components/InfoTable/context.d.ts +0 -4
- package/dist/components/InfoTable/context.d.ts.map +0 -1
- package/dist/components/InfoTable/context.js +0 -7
- package/dist/components/InfoTable/styles.css.d.ts +0 -8
- package/dist/components/InfoTable/styles.css.d.ts.map +0 -1
- package/dist/components/InfoTable/styles.css.js +0 -13
- package/dist/components/Navigation/Footer.d.ts +0 -9
- package/dist/components/Navigation/Footer.d.ts.map +0 -1
- package/dist/components/Navigation/Footer.js +0 -64
- package/dist/components/Navigation/Header.d.ts +0 -7
- package/dist/components/Navigation/Header.d.ts.map +0 -1
- package/dist/components/Navigation/Header.js +0 -24
- package/dist/components/Navigation/Navigation.d.ts +0 -62
- package/dist/components/Navigation/Navigation.d.ts.map +0 -1
- package/dist/components/Navigation/Navigation.js +0 -34
- package/dist/components/Navigation/NavigationContent.d.ts +0 -3
- package/dist/components/Navigation/NavigationContent.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationContent.js +0 -104
- package/dist/components/Navigation/NavigationProvider.d.ts +0 -94
- package/dist/components/Navigation/NavigationProvider.d.ts.map +0 -1
- package/dist/components/Navigation/NavigationProvider.js +0 -121
- package/dist/components/Navigation/animations.css.d.ts +0 -7
- package/dist/components/Navigation/animations.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.d.ts +0 -10
- package/dist/components/Navigation/components/Group.d.ts.map +0 -1
- package/dist/components/Navigation/components/Group.js +0 -39
- package/dist/components/Navigation/components/Item.d.ts +0 -89
- package/dist/components/Navigation/components/Item.d.ts.map +0 -1
- package/dist/components/Navigation/components/Item.js +0 -448
- package/dist/components/Navigation/components/ItemProvider.d.ts +0 -8
- package/dist/components/Navigation/components/ItemProvider.d.ts.map +0 -1
- package/dist/components/Navigation/components/ItemProvider.js +0 -17
- package/dist/components/Navigation/components/PinnedItems.d.ts +0 -24
- package/dist/components/Navigation/components/PinnedItems.d.ts.map +0 -1
- package/dist/components/Navigation/components/PinnedItems.js +0 -105
- package/dist/components/Navigation/components/Separator.d.ts +0 -2
- package/dist/components/Navigation/components/Separator.d.ts.map +0 -1
- package/dist/components/Navigation/components/Separator.js +0 -11
- package/dist/components/Navigation/components/ShowHide.d.ts +0 -16
- package/dist/components/Navigation/components/ShowHide.d.ts.map +0 -1
- package/dist/components/Navigation/components/ShowHide.js +0 -53
- package/dist/components/Navigation/components/items.css.d.ts +0 -71
- package/dist/components/Navigation/components/items.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/items.css.js +0 -87
- package/dist/components/Navigation/components/styles.css.d.ts +0 -25
- package/dist/components/Navigation/components/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/components/styles.css.js +0 -29
- package/dist/components/Navigation/constants.d.ts +0 -10
- package/dist/components/Navigation/constants.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.d.ts +0 -11
- package/dist/components/Navigation/locales/en.d.ts.map +0 -1
- package/dist/components/Navigation/locales/en.js +0 -13
- package/dist/components/Navigation/styles.css.d.ts +0 -34
- package/dist/components/Navigation/styles.css.d.ts.map +0 -1
- package/dist/components/Navigation/styles.css.js +0 -36
- package/dist/components/Navigation/types.d.ts +0 -42
- package/dist/components/Navigation/types.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.d.ts +0 -2
- package/dist/components/Navigation/variables.css.d.ts.map +0 -1
- package/dist/components/Navigation/variables.css.js +0 -7
- package/dist/plus.css +0 -2
|
@@ -1,89 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import _1_5_default from "./assets/1-5.js";
|
|
4
|
-
import _1_5NB_default from "./assets/1-5NB.js";
|
|
5
|
-
import _2_5_default from "./assets/2-5.js";
|
|
6
|
-
import _2_5NB_default from "./assets/2-5NB.js";
|
|
7
|
-
import _3_5_default from "./assets/3-5.js";
|
|
8
|
-
import _3_5NB_default from "./assets/3-5NB.js";
|
|
9
|
-
import _4_5_default from "./assets/4-5.js";
|
|
10
|
-
import _4_5NB_default from "./assets/4-5NB.js";
|
|
11
|
-
import _5_5_default from "./assets/5-5.js";
|
|
12
|
-
import _5_5NB_default from "./assets/5-5NB.js";
|
|
13
|
-
import { customerSatisfactionButtonContainer, customerStatisfaction } from "./styles.css.js";
|
|
14
|
-
import { Stack } from "@ultraviolet/ui";
|
|
15
|
-
import { useMemo, useState } from "react";
|
|
16
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CustomerSatisfaction } from "@ultraviolet/ui/compositions/CustomerSatisfaction";
|
|
17
3
|
|
|
18
4
|
//#region src/components/CustomerSatisfaction/index.tsx
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
value: 1
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
imgNotSelected: _2_5NB_default,
|
|
27
|
-
imgSelected: _2_5_default,
|
|
28
|
-
value: 2
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
imgNotSelected: _3_5NB_default,
|
|
32
|
-
imgSelected: _3_5_default,
|
|
33
|
-
value: 3
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
imgNotSelected: _4_5NB_default,
|
|
37
|
-
imgSelected: _4_5_default,
|
|
38
|
-
value: 4
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
imgNotSelected: _5_5NB_default,
|
|
42
|
-
imgSelected: _5_5_default,
|
|
43
|
-
value: 5
|
|
44
|
-
}
|
|
45
|
-
];
|
|
46
|
-
const CustomerSatisfaction = ({ value, onChange, "data-testid": dataTestId, className, style }) => {
|
|
47
|
-
const [hoveredValue, setHoveredValue] = useState(0);
|
|
48
|
-
const isHappy = useMemo(() => value > ratings.length / 2, [value]);
|
|
49
|
-
return /* @__PURE__ */ jsx(Stack, {
|
|
50
|
-
className,
|
|
51
|
-
"data-testid": dataTestId,
|
|
52
|
-
direction: "row",
|
|
53
|
-
justifyContent: "space-between",
|
|
54
|
-
style,
|
|
55
|
-
children: ratings.map((rating) => {
|
|
56
|
-
const isSelected = rating.value === value;
|
|
57
|
-
const isOverfly = rating.value <= hoveredValue;
|
|
58
|
-
const isScaled = rating.value === hoveredValue && isSelected;
|
|
59
|
-
return /* @__PURE__ */ jsx("button", {
|
|
60
|
-
className: customerSatisfactionButtonContainer,
|
|
61
|
-
onClick: () => {
|
|
62
|
-
onChange(rating.value);
|
|
63
|
-
},
|
|
64
|
-
onKeyDown: () => {},
|
|
65
|
-
onMouseEnter: () => {
|
|
66
|
-
setHoveredValue(rating.value);
|
|
67
|
-
},
|
|
68
|
-
onMouseLeave: () => {
|
|
69
|
-
setHoveredValue(0);
|
|
70
|
-
},
|
|
71
|
-
type: "button",
|
|
72
|
-
children: /* @__PURE__ */ jsx("img", {
|
|
73
|
-
alt: "rating",
|
|
74
|
-
className: customerStatisfaction({
|
|
75
|
-
animated: isSelected ? isHappy ? "happy" : "angry" : void 0,
|
|
76
|
-
isScaled
|
|
77
|
-
}),
|
|
78
|
-
"data-testid": `${dataTestId}-${rating.value}`,
|
|
79
|
-
height: "auto",
|
|
80
|
-
src: isSelected || isOverfly || rating.value <= value ? rating.imgSelected : rating.imgNotSelected,
|
|
81
|
-
width: "auto"
|
|
82
|
-
})
|
|
83
|
-
}, rating.value);
|
|
84
|
-
})
|
|
85
|
-
});
|
|
86
|
-
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `CustomerSatisfaction` from `@ultraviolet/ui/composition/CustomerSatisfaction` instead
|
|
7
|
+
*/
|
|
8
|
+
const CustomerSatisfaction$1 = CustomerSatisfaction;
|
|
87
9
|
|
|
88
10
|
//#endregion
|
|
89
|
-
export { CustomerSatisfaction };
|
|
11
|
+
export { CustomerSatisfaction$1 as CustomerSatisfaction };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import estimateCostDefaultLocales from '
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { EstimateCost as EstimateCostUV, estimateCostDefaultLocales as estimateCostDefaultLocalesUV } from '@ultraviolet/ui/compositions/EstimateCost';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `EstimateCost` from `@ultraviolet/ui/composition/EstimateCost` instead
|
|
4
|
+
*/
|
|
5
|
+
export declare const EstimateCost: typeof EstimateCostUV;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `estimateCostDefaultLocales` from `@ultraviolet/ui/composition/EstimateCost` instead
|
|
8
|
+
*/
|
|
9
|
+
export declare const estimateCostDefaultLocales: typeof estimateCostDefaultLocalesUV;
|
|
4
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,IAAI,cAAc,EAC9B,0BAA0B,IAAI,4BAA4B,EAC3D,MAAM,2CAA2C,CAAA;AAElD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,OAAO,cAA+B,CAAA;AAEjE;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,4BAClB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { EstimateCost, estimateCostDefaultLocales } from "@ultraviolet/ui/compositions/EstimateCost";
|
|
3
|
+
|
|
4
|
+
//#region src/components/EstimateCost/index.ts
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `EstimateCost` from `@ultraviolet/ui/composition/EstimateCost` instead
|
|
7
|
+
*/
|
|
8
|
+
const EstimateCost$1 = EstimateCost;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `estimateCostDefaultLocales` from `@ultraviolet/ui/composition/EstimateCost` instead
|
|
11
|
+
*/
|
|
12
|
+
const estimateCostDefaultLocales$1 = estimateCostDefaultLocales;
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { EstimateCost$1 as EstimateCost, estimateCostDefaultLocales$1 as estimateCostDefaultLocales };
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
productIconName?: PascalToCamelCaseWithoutSuffix<keyof typeof ProductIcon, 'ProductIcon'>;
|
|
7
|
-
illustrationText?: number | string;
|
|
8
|
-
notes?: string;
|
|
9
|
-
title: string;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
export declare const FAQ: ({ productIconName, illustrationText, title, description, notes, style, }: FAQProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
1
|
+
import { FAQ as FAQUV } from '@ultraviolet/ui/compositions/FAQ';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `FAQ` from `@ultraviolet/ui/composition/FAQ` instead
|
|
4
|
+
*/
|
|
5
|
+
export declare const FAQ: typeof FAQUV;
|
|
14
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FAQ/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FAQ/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,kCAAkC,CAAA;AAE/D;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,OAAO,KAAa,CAAA"}
|
|
@@ -1,40 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import { faq } from "./styles.css.js";
|
|
4
|
-
import { Bullet, Card, Stack, Text } from "@ultraviolet/ui";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import * as ProductIcon from "@ultraviolet/icons/product";
|
|
2
|
+
import { FAQ } from "@ultraviolet/ui/compositions/FAQ";
|
|
7
3
|
|
|
8
4
|
//#region src/components/FAQ/index.tsx
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
style,
|
|
14
|
-
children: /* @__PURE__ */ jsxs(Stack, {
|
|
15
|
-
direction: "row",
|
|
16
|
-
gap: 2,
|
|
17
|
-
children: [/* @__PURE__ */ jsxs("div", { children: [!productIconName && illustrationText ? /* @__PURE__ */ jsx(Bullet, {
|
|
18
|
-
sentiment: "primary",
|
|
19
|
-
children: illustrationText.toString()
|
|
20
|
-
}) : null, ProductIconUsed ? /* @__PURE__ */ jsx(ProductIconUsed, { size: "xlarge" }) : null] }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Text, {
|
|
21
|
-
as: "p",
|
|
22
|
-
prominence: "strong",
|
|
23
|
-
variant: "bodyStronger",
|
|
24
|
-
children: title
|
|
25
|
-
}), /* @__PURE__ */ jsxs(Text, {
|
|
26
|
-
as: "div",
|
|
27
|
-
variant: "bodySmall",
|
|
28
|
-
children: [description, notes ? /* @__PURE__ */ jsx(Text, {
|
|
29
|
-
as: "small",
|
|
30
|
-
italic: true,
|
|
31
|
-
variant: "caption",
|
|
32
|
-
children: notes
|
|
33
|
-
}) : null]
|
|
34
|
-
})] })]
|
|
35
|
-
})
|
|
36
|
-
});
|
|
37
|
-
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `FAQ` from `@ultraviolet/ui/composition/FAQ` instead
|
|
7
|
+
*/
|
|
8
|
+
const FAQ$1 = FAQ;
|
|
38
9
|
|
|
39
10
|
//#endregion
|
|
40
|
-
export { FAQ };
|
|
11
|
+
export { FAQ$1 as FAQ };
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { InfoTable as InfoTableUV } from '@ultraviolet/ui/compositions/InfoTable';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `InfoTable` from `@ultraviolet/ui/composition/InfoTable` instead
|
|
4
|
+
*/
|
|
5
|
+
export declare const InfoTable: typeof InfoTableUV;
|
|
2
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InfoTable/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InfoTable/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,WAAyB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { InfoTable } from "@ultraviolet/ui/compositions/InfoTable";
|
|
3
|
+
|
|
4
|
+
//#region src/components/InfoTable/index.tsx
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `InfoTable` from `@ultraviolet/ui/composition/InfoTable` instead
|
|
7
|
+
*/
|
|
8
|
+
const InfoTable$1 = InfoTable;
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { InfoTable$1 as InfoTable };
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { NavigationProvider as NavigationProviderUV, Navigation as NavigationUV, useNavigation as useNavigationUV } from '@ultraviolet/ui/compositions/Navigation';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `Navigation` from `@ultraviolet/ui/composition/Navigation` instead
|
|
4
|
+
*/
|
|
5
|
+
export declare const Navigation: typeof NavigationUV;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `NavigationProvider` from `@ultraviolet/ui/composition/Navigation` instead
|
|
8
|
+
*/
|
|
9
|
+
export declare const NavigationProvider: typeof NavigationProviderUV;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use `useNavigation` from `@ultraviolet/ui/composition/Navigation` instead
|
|
12
|
+
*/
|
|
13
|
+
export declare const useNavigation: typeof useNavigationUV;
|
|
3
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,IAAI,oBAAoB,EAC1C,UAAU,IAAI,YAAY,EAC1B,aAAa,IAAI,eAAe,EACjC,MAAM,yCAAyC,CAAA;AAEhD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,OAAO,YAA2B,CAAA;AAE3D;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,oBAClB,CAAA;AAEtB;;GAEG;AAEH,eAAO,MAAM,aAAa,EAAE,OAAO,eAAiC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { Navigation, NavigationProvider, useNavigation } from "@ultraviolet/ui/compositions/Navigation";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Navigation/index.tsx
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `Navigation` from `@ultraviolet/ui/composition/Navigation` instead
|
|
7
|
+
*/
|
|
8
|
+
const Navigation$1 = Navigation;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `NavigationProvider` from `@ultraviolet/ui/composition/Navigation` instead
|
|
11
|
+
*/
|
|
12
|
+
const NavigationProvider$1 = NavigationProvider;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `useNavigation` from `@ultraviolet/ui/composition/Navigation` instead
|
|
15
|
+
*/
|
|
16
|
+
const useNavigation$1 = useNavigation;
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Navigation$1 as Navigation, NavigationProvider$1 as NavigationProvider, useNavigation$1 as useNavigation };
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,13 @@ import { ContentCard } from "./components/ContentCard/index.js";
|
|
|
3
3
|
import { ContentCardGroup } from "./components/ContentCardGroup/index.js";
|
|
4
4
|
import { Conversation } from "./components/Conversation/index.js";
|
|
5
5
|
import { CustomerSatisfaction } from "./components/CustomerSatisfaction/index.js";
|
|
6
|
-
import
|
|
7
|
-
import { EstimateCost } from "./components/EstimateCost/EstimateCost.js";
|
|
6
|
+
import { EstimateCost, estimateCostDefaultLocales } from "./components/EstimateCost/index.js";
|
|
8
7
|
import { FAQ } from "./components/FAQ/index.js";
|
|
9
|
-
import { InfoTable } from "./components/InfoTable/
|
|
10
|
-
import { NavigationProvider, useNavigation } from "./components/Navigation/
|
|
11
|
-
import { Navigation } from "./components/Navigation/Navigation.js";
|
|
8
|
+
import { InfoTable } from "./components/InfoTable/index.js";
|
|
9
|
+
import { Navigation, NavigationProvider, useNavigation } from "./components/Navigation/index.js";
|
|
12
10
|
import { OfferList } from "./components/OfferList/OfferList.js";
|
|
13
11
|
import { OrderSummary } from "./components/OrderSummary/index.js";
|
|
14
12
|
import { Plans } from "./components/Plans/index.js";
|
|
15
13
|
import { SteppedListCard } from "./components/SteppedListCard/index.js";
|
|
16
14
|
|
|
17
|
-
export { CodeEditor, ContentCard, ContentCardGroup, Conversation, CustomerSatisfaction, EstimateCost, FAQ, InfoTable, Navigation, NavigationProvider, OfferList, OrderSummary, Plans, SteppedListCard,
|
|
15
|
+
export { CodeEditor, ContentCard, ContentCardGroup, Conversation, CustomerSatisfaction, EstimateCost, FAQ, InfoTable, Navigation, NavigationProvider, OfferList, OrderSummary, Plans, SteppedListCard, estimateCostDefaultLocales, useNavigation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/plus",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Ultraviolet Plus",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@types/react-dom": "19.2.3",
|
|
63
63
|
"react": "19.2.4",
|
|
64
64
|
"react-dom": "19.2.4",
|
|
65
|
-
"vite": "8.0.0-beta.
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
65
|
+
"vite": "8.0.0-beta.15",
|
|
66
|
+
"@repo/config": "0.0.2",
|
|
67
|
+
"@ultraviolet/illustrations": "6.0.11",
|
|
68
68
|
"@utils/test": "0.0.1"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
"@vanilla-extract/recipes": "0.5.7",
|
|
77
77
|
"@vanilla-extract/vite-plugin": "5.1.4",
|
|
78
78
|
"csstype": "3.2.3",
|
|
79
|
-
"react-intersection-observer": "10.0.
|
|
80
|
-
"@ultraviolet/icons": "5.1.
|
|
81
|
-
"@ultraviolet/themes": "3.1.
|
|
82
|
-
"@ultraviolet/ui": "3.
|
|
83
|
-
"@ultraviolet/utils": "1.0.
|
|
79
|
+
"react-intersection-observer": "10.0.3",
|
|
80
|
+
"@ultraviolet/icons": "5.1.5",
|
|
81
|
+
"@ultraviolet/themes": "3.1.1",
|
|
82
|
+
"@ultraviolet/ui": "3.11.0",
|
|
83
|
+
"@ultraviolet/utils": "1.0.5"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"type:generate": "tsgo --declaration -p tsconfig.build.json",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
import { toPropertyKey } from "./toPropertyKey.js";
|
|
3
|
-
|
|
4
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/defineProperty.js
|
|
5
|
-
function _defineProperty(e, r, t) {
|
|
6
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
7
|
-
value: t,
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
configurable: !0,
|
|
10
|
-
writable: !0
|
|
11
|
-
}) : e[r] = t, e;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
export { _defineProperty };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
import { _defineProperty } from "./defineProperty.js";
|
|
3
|
-
|
|
4
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/objectSpread2.js
|
|
5
|
-
function ownKeys(e, r) {
|
|
6
|
-
var t = Object.keys(e);
|
|
7
|
-
if (Object.getOwnPropertySymbols) {
|
|
8
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
9
|
-
r && (o = o.filter(function(r) {
|
|
10
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
11
|
-
})), t.push.apply(t, o);
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
}
|
|
15
|
-
function _objectSpread2(e) {
|
|
16
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
17
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
18
|
-
r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
|
|
19
|
-
_defineProperty(e, r, t[r]);
|
|
20
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
|
|
21
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return e;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { _objectSpread2 };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
import { _objectWithoutPropertiesLoose } from "./objectWithoutPropertiesLoose.js";
|
|
3
|
-
|
|
4
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/objectWithoutProperties.js
|
|
5
|
-
function _objectWithoutProperties(e, t) {
|
|
6
|
-
if (null == e) return {};
|
|
7
|
-
var o;
|
|
8
|
-
var r;
|
|
9
|
-
var i = _objectWithoutPropertiesLoose(e, t);
|
|
10
|
-
if (Object.getOwnPropertySymbols) {
|
|
11
|
-
var s = Object.getOwnPropertySymbols(e);
|
|
12
|
-
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
13
|
-
}
|
|
14
|
-
return i;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { _objectWithoutProperties };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js
|
|
4
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
|
5
|
-
if (null == r) return {};
|
|
6
|
-
var t = {};
|
|
7
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
8
|
-
if (e.includes(n)) continue;
|
|
9
|
-
t[n] = r[n];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
export { _objectWithoutPropertiesLoose };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
import { _typeof } from "./typeof.js";
|
|
3
|
-
|
|
4
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/toPrimitive.js
|
|
5
|
-
function toPrimitive(t, r) {
|
|
6
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
7
|
-
var e = t[Symbol.toPrimitive];
|
|
8
|
-
if (void 0 !== e) {
|
|
9
|
-
var i = e.call(t, r || "default");
|
|
10
|
-
if ("object" != _typeof(i)) return i;
|
|
11
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
12
|
-
}
|
|
13
|
-
return ("string" === r ? String : Number)(t);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { toPrimitive };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
import { _typeof } from "./typeof.js";
|
|
3
|
-
import { toPrimitive } from "./toPrimitive.js";
|
|
4
|
-
|
|
5
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/toPropertyKey.js
|
|
6
|
-
function toPropertyKey(t) {
|
|
7
|
-
var i = toPrimitive(t, "string");
|
|
8
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
export { toPropertyKey };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __name } from "../../_rolldown/runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region \0@oxc-project+runtime@0.113.0/helpers/typeof.js
|
|
4
|
-
function _typeof(o) {
|
|
5
|
-
"@babel/helpers - typeof";
|
|
6
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
7
|
-
return typeof o;
|
|
8
|
-
} : function(o) {
|
|
9
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
-
}, _typeof(o);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { _typeof };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const maxHeightVar: `var(--${string})`;
|
|
2
|
-
export declare const disabledStack: string;
|
|
3
|
-
export declare const copyButton: string;
|
|
4
|
-
export declare const codeEditor: Record<"default" | "disabled", string>;
|
|
5
|
-
export declare const showMoreContainer: Record<"false" | "true", string>;
|
|
6
|
-
export declare const showMoreButton: string;
|
|
7
|
-
export declare const centeredText: string;
|
|
8
|
-
export declare const animatedArrowIcon: Record<"false" | "true", string>;
|
|
9
|
-
export declare const codeEditorWrapper: string;
|
|
10
|
-
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/CodeEditor/styles.css.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,oBAAc,CAAA;AACvC,eAAO,MAAM,aAAa,QAAmC,CAAA;AAE7D,eAAO,MAAM,UAAU,QAUrB,CAAA;AAYF,eAAO,MAAM,UAAU,wCAGrB,CAAA;AA8EF,eAAO,MAAM,iBAAiB,kCAa5B,CAAA;AAEF,eAAO,MAAM,cAAc,QAOzB,CAAA;AAEF,eAAO,MAAM,YAAY,QAKvB,CAAA;AAEF,eAAO,MAAM,iBAAiB,kCAW5B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAU5B,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
|
|
3
|
-
//#region src/components/CodeEditor/styles.css.ts
|
|
4
|
-
var maxHeightVar = "var(--uv_plus_1sui13x0)";
|
|
5
|
-
var disabledStack = "uv_plus_1sui13x1";
|
|
6
|
-
var copyButton = "uv_plus_1sui13x2";
|
|
7
|
-
var codeEditor = {
|
|
8
|
-
"default": "uv_plus_1sui13x4 uv_plus_1sui13x3",
|
|
9
|
-
disabled: "uv_plus_1sui13x5 uv_plus_1sui13x3"
|
|
10
|
-
};
|
|
11
|
-
var showMoreContainer = {
|
|
12
|
-
false: "uv_plus_1sui13x7 uv_plus_1sui13x6",
|
|
13
|
-
true: "uv_plus_1sui13x8 uv_plus_1sui13x6"
|
|
14
|
-
};
|
|
15
|
-
var showMoreButton = "uv_plus_1sui13x9";
|
|
16
|
-
var centeredText = "uv_plus_1sui13xa";
|
|
17
|
-
var animatedArrowIcon = {
|
|
18
|
-
false: "uv_plus_1sui13xb",
|
|
19
|
-
true: "uv_plus_1sui13xc"
|
|
20
|
-
};
|
|
21
|
-
var codeEditorWrapper = "uv_plus_1sui13xd";
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export { animatedArrowIcon, centeredText, codeEditor, codeEditorWrapper, copyButton, disabledStack, maxHeightVar, showMoreButton, showMoreContainer };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/Skeleton.tsx"],"names":[],"mappings":"AAWA,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,QAAQ,2EAkBpB,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { paddedStack, skeletonHeightVar, skeletonImage, skeletonWidthVar } from "./styles.css.js";
|
|
4
|
-
import { Skeleton, Stack } from "@ultraviolet/ui";
|
|
5
|
-
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/ContentCard/Skeleton.tsx
|
|
9
|
-
const Skeleton$1 = /* @__PURE__ */ __name(({ direction }) => /* @__PURE__ */ jsxs(Stack, {
|
|
10
|
-
direction,
|
|
11
|
-
children: [/* @__PURE__ */ jsx(Skeleton, {
|
|
12
|
-
className: skeletonImage[direction],
|
|
13
|
-
style: assignInlineVars({
|
|
14
|
-
[skeletonHeightVar]: direction === "column" ? "120px" : "unset",
|
|
15
|
-
[skeletonWidthVar]: direction === "row" ? "220px" : "100%"
|
|
16
|
-
}),
|
|
17
|
-
variant: "square"
|
|
18
|
-
}), /* @__PURE__ */ jsxs(Stack, {
|
|
19
|
-
className: paddedStack,
|
|
20
|
-
gap: 2,
|
|
21
|
-
children: [
|
|
22
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "line" }),
|
|
23
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "line" }),
|
|
24
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "line" }),
|
|
25
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "line" }),
|
|
26
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "line" })
|
|
27
|
-
]
|
|
28
|
-
})]
|
|
29
|
-
}), "Skeleton");
|
|
30
|
-
|
|
31
|
-
//#endregion
|
|
32
|
-
export { Skeleton$1 as Skeleton };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const subContainerHeightVar: `var(--${string})`;
|
|
2
|
-
export declare const skeletonHeightVar: `var(--${string})`;
|
|
3
|
-
export declare const skeletonWidthVar: `var(--${string})`;
|
|
4
|
-
export declare const activeClass: string;
|
|
5
|
-
export declare const cardClass: string;
|
|
6
|
-
export declare const iconContainer: string;
|
|
7
|
-
export declare const iconStack: Record<"column" | "row", string>;
|
|
8
|
-
export declare const subContainer: Record<"column" | "noHref" | "row", string>;
|
|
9
|
-
export declare const imageClass: Record<"column" | "row", string>;
|
|
10
|
-
export declare const fullHeight: string;
|
|
11
|
-
export declare const skeletonImage: Record<"column" | "row", string>;
|
|
12
|
-
export declare const paddedStack: string;
|
|
13
|
-
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,oBAAc,CAAA;AAChD,eAAO,MAAM,iBAAiB,oBAI5B,CAAA;AACF,eAAO,MAAM,gBAAgB,oBAI3B,CAAA;AAEF,eAAO,MAAM,WAAW,QAQtB,CAAA;AAEF,eAAO,MAAM,SAAS,QAmBpB,CAAA;AAEF,eAAO,MAAM,aAAa,QAMxB,CAAA;AAEF,eAAO,MAAM,SAAS,kCAOpB,CAAA;AAMF,eAAO,MAAM,YAAY,6CAmBvB,CAAA;AAWF,eAAO,MAAM,UAAU,kCAcrB,CAAA;AAEF,eAAO,MAAM,UAAU,QAErB,CAAA;AAOF,eAAO,MAAM,aAAa,kCAaxB,CAAA;AAEF,eAAO,MAAM,WAAW,QAEtB,CAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
|
|
3
|
-
//#region src/components/ContentCard/styles.css.ts
|
|
4
|
-
var subContainerHeightVar = "var(--uv_plus_u4r1ts0)";
|
|
5
|
-
var skeletonHeightVar = "var(--uv_plus_u4r1ts1)";
|
|
6
|
-
var skeletonWidthVar = "var(--uv_plus_u4r1ts2)";
|
|
7
|
-
var activeClass = "uv_plus_u4r1ts3";
|
|
8
|
-
var cardClass = "uv_plus_u4r1ts4";
|
|
9
|
-
var iconContainer = "uv_plus_u4r1ts5";
|
|
10
|
-
var iconStack = {
|
|
11
|
-
column: "uv_plus_u4r1ts6",
|
|
12
|
-
row: "uv_plus_u4r1ts7"
|
|
13
|
-
};
|
|
14
|
-
var subContainer = {
|
|
15
|
-
column: "uv_plus_u4r1ts9 uv_plus_u4r1ts8",
|
|
16
|
-
noHref: "uv_plus_u4r1tsa uv_plus_u4r1ts8",
|
|
17
|
-
row: "uv_plus_u4r1tsb uv_plus_u4r1ts8"
|
|
18
|
-
};
|
|
19
|
-
var imageClass = {
|
|
20
|
-
column: "uv_plus_u4r1tsd uv_plus_u4r1tsc",
|
|
21
|
-
row: "uv_plus_u4r1tse uv_plus_u4r1tsc"
|
|
22
|
-
};
|
|
23
|
-
var fullHeight = "uv_plus_u4r1tsf";
|
|
24
|
-
var skeletonImage = {
|
|
25
|
-
column: "uv_plus_u4r1tsh uv_plus_u4r1tsg",
|
|
26
|
-
row: "uv_plus_u4r1tsi uv_plus_u4r1tsg"
|
|
27
|
-
};
|
|
28
|
-
var paddedStack = "uv_plus_u4r1tsj";
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
export { activeClass, cardClass, fullHeight, iconContainer, iconStack, imageClass, paddedStack, skeletonHeightVar, skeletonImage, skeletonWidthVar, subContainer, subContainerHeightVar };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { AnchorHTMLAttributes, CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
type CardProps = {
|
|
3
|
-
title?: string;
|
|
4
|
-
titleAs?: ElementType;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
subtitleAs?: ElementType;
|
|
7
|
-
description?: string;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
href: string;
|
|
10
|
-
target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
|
|
11
|
-
style?: CSSProperties;
|
|
12
|
-
};
|
|
13
|
-
export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCardGroup/Card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,SAAS,EACV,MAAM,OAAO,CAAA;AASd,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,WAAW,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAA;IAC1D,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,IAAI,yGAgEhB,CAAA"}
|