@ultraviolet/ui 3.15.0 → 3.16.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/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Carousel/Item.js +1 -1
- package/dist/components/Checkbox/CheckboxIconContainer.js +8 -8
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DateInput/helpers.js +2 -2
- package/dist/components/Expandable/AnimatedExpandable.js +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.js +1 -1
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/FileInput/index.js +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/LineChart/helpers.js +2 -2
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/helpers.js +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/PieChart/Legends.d.ts +2 -1
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Legends.js +50 -44
- package/dist/components/PieChart/Tooltip.d.ts +1 -1
- package/dist/components/PieChart/Tooltip.d.ts.map +1 -1
- package/dist/components/PieChart/Tooltip.js +32 -36
- package/dist/components/PieChart/index.d.ts +2 -1
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +58 -63
- package/dist/components/PieChart/styles.css.d.ts +5 -31
- package/dist/components/PieChart/styles.css.d.ts.map +1 -1
- package/dist/components/PieChart/styles.css.js +12 -37
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +1 -2
- package/dist/components/Radio/styles.css.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +3 -3
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +2 -2
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Snippet/index.js +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/HeaderCell.js +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Tabs/Tab.js +2 -2
- package/dist/components/Tabs/TabMenu.js +2 -2
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +2 -1
- package/dist/components/TagInput/index.js +1 -1
- package/dist/components/TagList/index.js +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/TimeInput/helpers.js +1 -1
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/VerificationCode/index.js +3 -3
- package/dist/compositions/EstimateCost/Components/Item.js +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.js +2 -2
- package/dist/compositions/EstimateCost/Components/Unit.js +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/compositions/EstimateCost/Image.js +1 -1
- package/dist/compositions/InfoTable/components/Row.js +1 -1
- package/dist/compositions/Navigation/NavigationContent.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationContent.js +5 -4
- package/dist/compositions/Navigation/NavigationProvider.js +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.js +2 -2
- package/dist/compositions/Navigation/styles.css.js +0 -2
- package/dist/compositions/Navigation/variables.css.js +2 -0
- package/dist/compositions/OrderSummary/helpers.js +1 -1
- package/dist/compositions/Plans/index.js +2 -2
- package/dist/ui.css +1 -1
- package/package.json +9 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInput/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAoBjE,MAAM,MAAM,IAAI,GAAG;IACjB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAA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Q,GAAG,OAAO,CAAA;IACnC,UAAU,CAAC,EAAE,EAAE,GAAG,EAAE,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,GAAG,CACA;IACE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;CACrB,CACJ,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,oRAuBnB,cAAc,4CAqVhB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Text, init_Text } from "../Text/index.js";
|
|
6
6
|
import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { CloseButton, init_CloseButton } from "./components/CloseButton.js";
|
|
5
5
|
import { Content, init_Content } from "./components/Content.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { getDataColors, init_treeMap } from "../../helpers/treeMap.js";
|
|
5
5
|
import { init_styles_css, treeMapChartStyle } from "./styles.css.js";
|
|
6
6
|
import { Tooltip, init_Tooltip } from "./Tooltip.js";
|
|
@@ -31,9 +31,9 @@ var init_VerificationCode = __esmMin(() => {
|
|
|
31
31
|
const inputOnChange = (index) => (event) => {
|
|
32
32
|
var _next$current;
|
|
33
33
|
let { value } = event.target;
|
|
34
|
-
if (type === "number") value = event.target.value.replace(/[^\d]/
|
|
34
|
+
if (type === "number") value = event.target.value.replace(/[^\d]/giu, "");
|
|
35
35
|
const newValues = [...values];
|
|
36
|
-
if (value === "" || type === "number" && !new RegExp(event.target.pattern).test(value)) {
|
|
36
|
+
if (value === "" || type === "number" && !new RegExp(event.target.pattern, "u").test(value)) {
|
|
37
37
|
newValues[index] = "";
|
|
38
38
|
setValues(newValues);
|
|
39
39
|
return;
|
|
@@ -93,7 +93,7 @@ var init_VerificationCode = __esmMin(() => {
|
|
|
93
93
|
const inputOnPaste = (currentIndex) => (event) => {
|
|
94
94
|
var _next$current3;
|
|
95
95
|
event.preventDefault();
|
|
96
|
-
const pastedValue = [...event.clipboardData.getData("Text")].map((copiedValue) => type === "number" ? copiedValue.replace(/[^\d]/
|
|
96
|
+
const pastedValue = [...event.clipboardData.getData("Text")].map((copiedValue) => type === "number" ? copiedValue.replace(/[^\d]/giu, "") : copiedValue);
|
|
97
97
|
pastedValue.splice(fields - currentIndex < pastedValue.length ? fields - currentIndex : pastedValue.length);
|
|
98
98
|
setValues((vals) => {
|
|
99
99
|
const newArray = structuredClone(vals);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { init_constants, maximumFractionDigits, maximumFractionDigitsLong, multiplier } from "../constants.js";
|
|
5
5
|
import { init_EstimateCostProvider, useEstimateCost } from "../EstimateCostProvider.js";
|
|
6
6
|
import { calculatePrice, init_helper } from "../helper.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { estimateCostStyle, init_styles_css } from "../styles.css.js";
|
|
6
6
|
import { cn } from "@ultraviolet/utils";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { init_OverlayContext, useOverlay } from "../OverlayContext.js";
|
|
5
5
|
import { estimateCostStyle, init_styles_css } from "../styles.css.js";
|
|
6
6
|
import { NumberInput, init_NumberInput } from "../../../components/NumberInput/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import en_default, { init_en } from "./locales/en.js";
|
|
5
5
|
import { createContext, useCallback, useContext, useMemo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
3
3
|
import { estimateCostStyle, init_styles_css } from "./styles.css.js";
|
|
4
4
|
import { cn } from "@ultraviolet/utils";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Row, init_Row as init_Row$1 } from "../../../components/Row/index.js";
|
|
5
5
|
import { infoTableStyle, init_styles_css, rowWidth } from "../styles.css.js";
|
|
6
6
|
import { InfoTableContext, init_Context } from "../Context.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAY9C,eAAO,MAAM,iBAAiB,iGAQ3B,eAAe,
|
|
1
|
+
{"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAY9C,eAAO,MAAM,iBAAiB,iGAQ3B,eAAe,4CA+GjB,CAAA"}
|
|
@@ -29,6 +29,7 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
29
29
|
const context = useNavigation();
|
|
30
30
|
if (!context) throw new Error("Navigation should be inside NavigationProvider to use it properly.");
|
|
31
31
|
const { setWidth, width, expanded, toggleExpand, navigationRef, allowNavigationResize, shouldAnimate } = context;
|
|
32
|
+
const clampedWidth = clamp(220, width, 320);
|
|
32
33
|
const sliderRef = useRef(null);
|
|
33
34
|
const contentRef = useRef(null);
|
|
34
35
|
useEffect(() => {
|
|
@@ -57,7 +58,7 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
57
58
|
if (shouldCollapseOnMouseUp || shouldExpandOnMouseUp) {
|
|
58
59
|
toggleExpand();
|
|
59
60
|
onToggleExpand === null || onToggleExpand === void 0 || onToggleExpand(!expanded);
|
|
60
|
-
if (navigationRef.current) setElementVars(navigationRef.current, { [widthNavigationContainerExpanded]: `${
|
|
61
|
+
if (navigationRef.current) setElementVars(navigationRef.current, { [widthNavigationContainerExpanded]: `${clampedWidth}px` });
|
|
61
62
|
}
|
|
62
63
|
if (navigationRef.current) {
|
|
63
64
|
if (!(shouldCollapseOnMouseUp || shouldExpandOnMouseUp)) {
|
|
@@ -86,7 +87,7 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
86
87
|
setWidth,
|
|
87
88
|
toggleExpand,
|
|
88
89
|
shouldAnimate,
|
|
89
|
-
|
|
90
|
+
clampedWidth
|
|
90
91
|
]);
|
|
91
92
|
return /* @__PURE__ */ jsxs("nav", {
|
|
92
93
|
className: cn(className, navigationStyle.navigation),
|
|
@@ -96,8 +97,8 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
96
97
|
className: navigationStyle.container(),
|
|
97
98
|
ref: navigationRef,
|
|
98
99
|
style: assignInlineVars({
|
|
99
|
-
[widthNavigationContainer]: `${expanded ?
|
|
100
|
-
[widthNavigationContainerExpanded]: `${
|
|
100
|
+
[widthNavigationContainer]: `${expanded ? clampedWidth : 64}px`,
|
|
101
|
+
[widthNavigationContainerExpanded]: `${clampedWidth}px`,
|
|
101
102
|
[widthNavigationContainerDuration]: `${shouldAnimate ? 250 : 0}ms`
|
|
102
103
|
}),
|
|
103
104
|
children: [logo ? /* @__PURE__ */ jsx(Header, { logo }) : null, /* @__PURE__ */ jsxs("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { ANIMATION_EASING, init_constants } from "./constants.js";
|
|
5
5
|
import en_default, { init_en } from "./locales/en.js";
|
|
6
6
|
import { init_variables_css, widthNavigationContainerDuration } from "./variables.css.js";
|
|
@@ -96,7 +96,7 @@ var init_ItemExpanded = __esmMin(() => {
|
|
|
96
96
|
noExpand,
|
|
97
97
|
subLabel,
|
|
98
98
|
type
|
|
99
|
-
}), animation
|
|
99
|
+
}), animation === "collapse" ? null : /* @__PURE__ */ jsxs(Stack, {
|
|
100
100
|
alignItems: "center",
|
|
101
101
|
direction: "row",
|
|
102
102
|
gap: href ? 1 : void 0,
|
|
@@ -125,7 +125,7 @@ var init_ItemExpanded = __esmMin(() => {
|
|
|
125
125
|
sentiment: "neutral"
|
|
126
126
|
}) : null
|
|
127
127
|
]
|
|
128
|
-
})
|
|
128
|
+
})]
|
|
129
129
|
}), children && expanded ? /* @__PURE__ */ jsx(ItemChildren, {
|
|
130
130
|
internalExpanded,
|
|
131
131
|
noExpand,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { init_animationsVanillaExtract_css_ts_vanilla } from "../../utils/animations/animationsVanillaExtract.css.ts.vanilla.js";
|
|
3
3
|
import { init_items_css_ts_vanilla } from "./components/items.css.ts.vanilla.js";
|
|
4
|
-
import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
|
|
5
4
|
import { init_styles_css_ts_vanilla } from "./components/styles.css.ts.vanilla.js";
|
|
6
5
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$1 } from "./styles.css.ts.vanilla.js";
|
|
7
6
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
@@ -11,7 +10,6 @@ var navigationStyle;
|
|
|
11
10
|
var init_styles_css = __esmMin(() => {
|
|
12
11
|
init_animationsVanillaExtract_css_ts_vanilla();
|
|
13
12
|
init_items_css_ts_vanilla();
|
|
14
|
-
init_variables_css_ts_vanilla();
|
|
15
13
|
init_styles_css_ts_vanilla();
|
|
16
14
|
init_styles_css_ts_vanilla$1();
|
|
17
15
|
navigationStyle = {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
|
|
2
3
|
|
|
3
4
|
//#region src/compositions/Navigation/variables.css.ts
|
|
4
5
|
var widthNavigationContainer, widthNavigationContainerExpanded, widthNavigationContainerDuration;
|
|
5
6
|
var init_variables_css = __esmMin(() => {
|
|
7
|
+
init_variables_css_ts_vanilla();
|
|
6
8
|
widthNavigationContainer = "var(--uv_10912fi0)";
|
|
7
9
|
widthNavigationContainerExpanded = "var(--uv_10912fi1)";
|
|
8
10
|
widthNavigationContainerDuration = "var(--uv_10912fi2)";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
3
3
|
import { init_constants, multiplier } from "./constants.js";
|
|
4
4
|
import { OrderSummaryContext, init_Provider } from "./Provider.js";
|
|
5
5
|
import { useContext } from "react";
|
|
@@ -168,13 +168,13 @@ var init_Plans = __esmMin(() => {
|
|
|
168
168
|
sentiment: "success",
|
|
169
169
|
size: "medium"
|
|
170
170
|
}) : null,
|
|
171
|
-
typeof plan.data[featureKey]
|
|
171
|
+
typeof plan.data[featureKey] === "boolean" ? null : /* @__PURE__ */ jsx(Text, {
|
|
172
172
|
as: "span",
|
|
173
173
|
disabled: computedDisabled,
|
|
174
174
|
sentiment: "neutral",
|
|
175
175
|
variant: "body",
|
|
176
176
|
children: plan.data[featureKey]
|
|
177
|
-
})
|
|
177
|
+
})
|
|
178
178
|
]
|
|
179
179
|
}, plan.value);
|
|
180
180
|
})] }, feature.key);
|