@ultraviolet/ui 3.20.2 → 3.20.3
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.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/asyncToGenerator.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/defineProperty.js +3 -3
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/extends.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/objectDestructuringEmpty.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/objectSpread2.js +3 -3
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/objectWithoutProperties.js +3 -3
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/objectWithoutPropertiesLoose.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/toPrimitive.js +3 -3
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/toPropertyKey.js +4 -4
- package/dist/_virtual/{_@oxc-project_runtime@0.133.0 → _@oxc-project_runtime@0.138.0}/helpers/esm/typeof.js +2 -2
- package/dist/_virtual/_rolldown/runtime.js +8 -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/CheckboxGroup/index.js +1 -1
- package/dist/components/DateInput/helpers.js +5 -3
- package/dist/components/DateInput/helpersLocale.js +2 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- 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/components/List.js +2 -1
- package/dist/components/FileInput/helpers.js +3 -2
- package/dist/components/FileInput/index.js +4 -3
- package/dist/components/InfiniteScroll/index.js +1 -1
- 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.js +2 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +3 -2
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/index.js +5 -2
- package/dist/components/NumberInput/components/Controls.d.ts +1 -1
- package/dist/components/NumberInput/components/Controls.d.ts.map +1 -1
- package/dist/components/NumberInput/components/Controls.js +6 -10
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +31 -9
- package/dist/components/PieChart/index.js +1 -1
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Row/styles.css.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Group.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +5 -3
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts +1 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.d.ts +1 -0
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.js +10 -9
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCard/index.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
- package/dist/components/SelectableCardOptionGroup/index.js +4 -2
- package/dist/components/Skeleton/index.js +2 -1
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stack/styles.css.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SwitchButton/index.js +2 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.js +1 -1
- 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/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 +1 -1
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/components/Button.js +2 -2
- package/dist/components/Toaster/components/Link.js +3 -3
- package/dist/components/Toaster/index.js +3 -1
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/VerificationCode/index.js +4 -2
- package/dist/components/index.js +1 -1
- package/dist/components/styles.js +1 -1
- 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/EstimateCost/styles.css.js +0 -2
- package/dist/compositions/Filters/filterTypes/FilterSlider.js +1 -1
- package/dist/compositions/Filters/parts/AbstractFilter.js +1 -1
- package/dist/compositions/Filters/parts/reducer.js +9 -3
- package/dist/compositions/Filters/parts/useFilters.js +1 -1
- package/dist/compositions/InfoTable/components/Row.js +1 -1
- package/dist/compositions/Navigation/NavigationProvider.js +2 -2
- package/dist/compositions/Navigation/styles.css.js +0 -2
- package/dist/compositions/OptionSelector/styles.css.js +0 -14
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/NonScrollableContent.js +5 -0
- package/dist/compositions/OrderSummary/components/Category.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/Category.js +8 -0
- package/dist/compositions/OrderSummary/components/SubCategory.js +4 -0
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.js +5 -0
- package/dist/compositions/OrderSummary/helpers.js +2 -2
- package/dist/compositions/OrderSummary/styles.css.d.ts +1 -0
- package/dist/compositions/OrderSummary/styles.css.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/styles.css.js +2 -1
- package/dist/compositions/Plans/PlanHeader.d.ts +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts.map +1 -1
- package/dist/compositions/Plans/PlanHeader.js +2 -4
- package/dist/compositions/Plans/index.js +2 -1
- package/dist/compositions/RichTextInput/editorCore.js +1 -1
- package/dist/compositions/RichTextInput/index.js +1 -1
- package/dist/compositions/index.js +1 -1
- package/dist/compositions/styles.js +1 -1
- package/dist/helpers/treeMap.js +1 -1
- package/dist/index.js +1 -1
- package/dist/theme/index.js +2 -1
- package/dist/ui.css +1 -1
- package/dist/utils/index.js +5 -1
- package/dist/utils/normalize.d.ts.map +1 -1
- package/dist/utils/normalize.js +0 -1
- package/dist/utils/responsive/index.js +11 -0
- package/dist/utils/responsive/utilities.js +1 -1
- package/package.json +10 -10
- package/dist/components/Avatar/variables.css.ts.vanilla.js +0 -8
- package/dist/components/List/variables.css.ts.vanilla.js +0 -8
- package/dist/components/Popup/variables.css.ts.vanilla.js +0 -8
- package/dist/components/ProgressBar/variables.css.ts.vanilla.js +0 -8
- package/dist/components/SelectableCard/variables.css.ts.vanilla.js +0 -8
- package/dist/components/Table/variables.css.ts.vanilla.js +0 -8
- package/dist/components/Text/variables.css.ts.vanilla.js +0 -8
- package/dist/compositions/Navigation/variables.css.ts.vanilla.js +0 -8
- package/dist/themes/dist/vanilla/themes.css.js.vanilla.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import
|
|
2
|
+
import _objectSpread2, { init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getKeysWithDifferentValues, init_helpers, isSameValues } from "./helpers.js";
|
|
4
4
|
import { filtersReducer, init_reducer } from "./reducer.js";
|
|
5
5
|
import { useEffect, useMemo, useReducer } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { Row, init_Row as init_Row$1 } from "../../../components/Row/index.js";
|
|
5
5
|
import { InfoTableContext, init_Context } from "../Context.js";
|
|
6
6
|
import { infoTableStyle, init_styles_css, rowWidth } from "../styles.css.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/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";
|
|
@@ -150,4 +150,4 @@ var init_NavigationProvider = __esmMin(() => {
|
|
|
150
150
|
|
|
151
151
|
//#endregion
|
|
152
152
|
init_NavigationProvider();
|
|
153
|
-
export { NavigationProvider, init_NavigationProvider, useNavigation };
|
|
153
|
+
export { NavigationContext, NavigationProvider, init_NavigationProvider, useNavigation };
|
|
@@ -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 = {
|
|
@@ -81,13 +81,6 @@ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$71 } from "../
|
|
|
81
81
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$72 } from "../../components/ToggleGroup/styles.css.ts.vanilla.js";
|
|
82
82
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$73 } from "../../components/TreeMapChart/styles.css.ts.vanilla.js";
|
|
83
83
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$74 } from "../../components/VerificationCode/styles.css.ts.vanilla.js";
|
|
84
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$2 } from "../../components/Avatar/variables.css.ts.vanilla.js";
|
|
85
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$3 } from "../../components/List/variables.css.ts.vanilla.js";
|
|
86
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$4 } from "../../components/SelectableCard/variables.css.ts.vanilla.js";
|
|
87
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$5 } from "../../components/Text/variables.css.ts.vanilla.js";
|
|
88
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$6 } from "../../components/Popup/variables.css.ts.vanilla.js";
|
|
89
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$7 } from "../../components/ProgressBar/variables.css.ts.vanilla.js";
|
|
90
|
-
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$8 } from "../../components/Table/variables.css.ts.vanilla.js";
|
|
91
84
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$75 } from "./styles.css.ts.vanilla.js";
|
|
92
85
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
93
86
|
|
|
@@ -97,7 +90,6 @@ var init_styles_css = __esmMin(() => {
|
|
|
97
90
|
init_animationsVanillaExtract_css_ts_vanilla();
|
|
98
91
|
init_styles_css_ts_vanilla$40();
|
|
99
92
|
init_styles_css_ts_vanilla$18();
|
|
100
|
-
init_variables_css_ts_vanilla$2();
|
|
101
93
|
init_styles_css_ts_vanilla$41();
|
|
102
94
|
init_styles_css_ts_vanilla$12();
|
|
103
95
|
init_styles_css_ts_vanilla$43();
|
|
@@ -110,9 +102,7 @@ var init_styles_css = __esmMin(() => {
|
|
|
110
102
|
init_styles_css_ts_vanilla$30();
|
|
111
103
|
init_styles_css_ts_vanilla$48();
|
|
112
104
|
init_styles_css_ts_vanilla$23();
|
|
113
|
-
init_variables_css_ts_vanilla$3();
|
|
114
105
|
init_styles_css_ts_vanilla$24();
|
|
115
|
-
init_variables_css_ts_vanilla$4();
|
|
116
106
|
init_styles_css_ts_vanilla$25();
|
|
117
107
|
init_styles_css_ts_vanilla$26();
|
|
118
108
|
init_styles_css_ts_vanilla$49();
|
|
@@ -142,11 +132,8 @@ var init_styles_css = __esmMin(() => {
|
|
|
142
132
|
init_styles_css_ts_vanilla$29();
|
|
143
133
|
init_styles_css_ts_vanilla$1();
|
|
144
134
|
init_styles_css_ts_vanilla$2();
|
|
145
|
-
init_variables_css_ts_vanilla$5();
|
|
146
135
|
init_style_css_ts_vanilla();
|
|
147
|
-
init_variables_css_ts_vanilla$6();
|
|
148
136
|
init_styles_css_ts_vanilla$3();
|
|
149
|
-
init_variables_css_ts_vanilla$7();
|
|
150
137
|
init_styles_css_ts_vanilla$61();
|
|
151
138
|
init_styles_css_ts_vanilla$20();
|
|
152
139
|
init_styles_css_ts_vanilla$33();
|
|
@@ -170,7 +157,6 @@ var init_styles_css = __esmMin(() => {
|
|
|
170
157
|
init_styles_css_ts_vanilla$64();
|
|
171
158
|
init_styles_css_ts_vanilla$65();
|
|
172
159
|
init_styles_css_ts_vanilla$66();
|
|
173
|
-
init_variables_css_ts_vanilla$8();
|
|
174
160
|
init_styles_css_ts_vanilla$67();
|
|
175
161
|
init_styles_css_ts_vanilla$68();
|
|
176
162
|
init_styles_css_ts_vanilla$69();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/OrderSummary/NonScrollableContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGxD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1C,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;IACd,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,uBAAuB,EAAE,OAAO,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,oBAAoB,mOAe9B,yBAAyB,
|
|
1
|
+
{"version":3,"file":"NonScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/OrderSummary/NonScrollableContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGxD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1C,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;IACd,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,uBAAuB,EAAE,OAAO,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,oBAAoB,mOAe9B,yBAAyB,gCAkG3B,CAAA"}
|
|
@@ -39,6 +39,7 @@ var init_NonScrollableContent = __esmMin(() => {
|
|
|
39
39
|
sentiment: "neutral",
|
|
40
40
|
variant: "bodyStrong",
|
|
41
41
|
className: calculatorIcon ? orderSummaryStyle.compactTotalPrice : void 0,
|
|
42
|
+
placement: "right",
|
|
42
43
|
children: [
|
|
43
44
|
calculatorIcon ? /* @__PURE__ */ jsx(CalculatorIcon, {
|
|
44
45
|
sentiment: "primary",
|
|
@@ -58,6 +59,7 @@ var init_NonScrollableContent = __esmMin(() => {
|
|
|
58
59
|
sentiment: "neutral",
|
|
59
60
|
variant: "bodyStrong",
|
|
60
61
|
className: calculatorIcon ? orderSummaryStyle.compactTotalPrice : void 0,
|
|
62
|
+
placement: "right",
|
|
61
63
|
children: [
|
|
62
64
|
calculatorIcon ? /* @__PURE__ */ jsx(CalculatorIcon, {
|
|
63
65
|
sentiment: "primary",
|
|
@@ -78,6 +80,7 @@ var init_NonScrollableContent = __esmMin(() => {
|
|
|
78
80
|
prominence: "strong",
|
|
79
81
|
sentiment: "neutral",
|
|
80
82
|
variant: "headingSmallStrong",
|
|
83
|
+
placement: "right",
|
|
81
84
|
children: [
|
|
82
85
|
/* @__PURE__ */ jsx(DisplayPrice, {
|
|
83
86
|
beforeOrAfter: "after",
|
|
@@ -97,6 +100,7 @@ var init_NonScrollableContent = __esmMin(() => {
|
|
|
97
100
|
sentiment: "neutral",
|
|
98
101
|
strikeThrough: true,
|
|
99
102
|
variant: "bodySmallStrong",
|
|
103
|
+
placement: "right",
|
|
100
104
|
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
101
105
|
beforeOrAfter: "before",
|
|
102
106
|
divisor,
|
|
@@ -109,6 +113,7 @@ var init_NonScrollableContent = __esmMin(() => {
|
|
|
109
113
|
prominence: "strong",
|
|
110
114
|
sentiment: "neutral",
|
|
111
115
|
variant: "headingSmallStrong",
|
|
116
|
+
placement: "right",
|
|
112
117
|
children: [
|
|
113
118
|
/* @__PURE__ */ jsx(DisplayPrice, {
|
|
114
119
|
beforeOrAfter: "after",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../src/compositions/OrderSummary/components/Category.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,YAAY,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../src/compositions/OrderSummary/components/Category.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,YAAY,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,uCA2FjE,CAAA"}
|
|
@@ -32,16 +32,19 @@ var init_Category = __esmMin(() => {
|
|
|
32
32
|
alignItems: "center",
|
|
33
33
|
direction: "row",
|
|
34
34
|
justifyContent: "space-between",
|
|
35
|
+
gap: 2,
|
|
35
36
|
children: [
|
|
36
37
|
category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, {
|
|
37
38
|
alignItems: "center",
|
|
38
39
|
direction: "row",
|
|
39
40
|
gap: 1,
|
|
41
|
+
wrap: "wrap",
|
|
40
42
|
children: [/* @__PURE__ */ jsx(Text, {
|
|
41
43
|
as: "span",
|
|
42
44
|
prominence: "strong",
|
|
43
45
|
sentiment: "neutral",
|
|
44
46
|
variant: "bodyStrong",
|
|
47
|
+
oneLine: true,
|
|
45
48
|
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
46
49
|
className: orderSummaryStyle.anchor,
|
|
47
50
|
href: category.anchor,
|
|
@@ -55,6 +58,7 @@ var init_Category = __esmMin(() => {
|
|
|
55
58
|
italic: true,
|
|
56
59
|
sentiment: "primary",
|
|
57
60
|
variant: "bodySmall",
|
|
61
|
+
oneLine: true,
|
|
58
62
|
children: category.additionalInfo
|
|
59
63
|
})]
|
|
60
64
|
}) : /* @__PURE__ */ jsx(Text, {
|
|
@@ -62,6 +66,7 @@ var init_Category = __esmMin(() => {
|
|
|
62
66
|
prominence: "strong",
|
|
63
67
|
sentiment: "neutral",
|
|
64
68
|
variant: "bodyStrong",
|
|
69
|
+
oneLine: true,
|
|
65
70
|
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
66
71
|
className: orderSummaryStyle.anchor,
|
|
67
72
|
href: category.anchor,
|
|
@@ -85,6 +90,7 @@ var init_Category = __esmMin(() => {
|
|
|
85
90
|
prominence: "strong",
|
|
86
91
|
sentiment: "neutral",
|
|
87
92
|
variant: "bodyStrong",
|
|
93
|
+
className: orderSummaryStyle.categoryPrice,
|
|
88
94
|
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
89
95
|
beforeOrAfter: "after",
|
|
90
96
|
price: categoryPrice
|
|
@@ -100,6 +106,7 @@ var init_Category = __esmMin(() => {
|
|
|
100
106
|
sentiment: "neutral",
|
|
101
107
|
strikeThrough: true,
|
|
102
108
|
variant: "bodySmallStrong",
|
|
109
|
+
className: orderSummaryStyle.categoryPrice,
|
|
103
110
|
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
104
111
|
beforeOrAfter: "before",
|
|
105
112
|
price: categoryPrice
|
|
@@ -109,6 +116,7 @@ var init_Category = __esmMin(() => {
|
|
|
109
116
|
prominence: "strong",
|
|
110
117
|
sentiment: "neutral",
|
|
111
118
|
variant: "bodyStrong",
|
|
119
|
+
className: orderSummaryStyle.categoryPrice,
|
|
112
120
|
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
113
121
|
beforeOrAfter: "after",
|
|
114
122
|
price: categoryPrice
|
|
@@ -22,11 +22,13 @@ var init_SubCategory = __esmMin(() => {
|
|
|
22
22
|
alignItems: "center",
|
|
23
23
|
direction: "row",
|
|
24
24
|
justifyContent: "space-between",
|
|
25
|
+
gap: 2,
|
|
25
26
|
children: [
|
|
26
27
|
subCategory.additionalInfo || subCategory.icon ? /* @__PURE__ */ jsxs(Stack, {
|
|
27
28
|
alignItems: "center",
|
|
28
29
|
direction: "row",
|
|
29
30
|
gap: 1,
|
|
31
|
+
wrap: "wrap",
|
|
30
32
|
children: [
|
|
31
33
|
subCategory.icon,
|
|
32
34
|
/* @__PURE__ */ jsx(Text, {
|
|
@@ -34,6 +36,7 @@ var init_SubCategory = __esmMin(() => {
|
|
|
34
36
|
prominence: "strong",
|
|
35
37
|
sentiment: "neutral",
|
|
36
38
|
variant: "bodySmallStrong",
|
|
39
|
+
oneLine: true,
|
|
37
40
|
children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
38
41
|
className: orderSummaryStyle.anchor,
|
|
39
42
|
href: subCategory.anchor,
|
|
@@ -56,6 +59,7 @@ var init_SubCategory = __esmMin(() => {
|
|
|
56
59
|
prominence: "strong",
|
|
57
60
|
sentiment: "neutral",
|
|
58
61
|
variant: "bodySmallStrong",
|
|
62
|
+
oneLine: true,
|
|
59
63
|
children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
60
64
|
className: orderSummaryStyle.anchor,
|
|
61
65
|
href: subCategory.anchor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubCategoryPrice.d.ts","sourceRoot":"","sources":["../../../../src/compositions/OrderSummary/components/SubCategoryPrice.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"SubCategoryPrice.d.ts","sourceRoot":"","sources":["../../../../src/compositions/OrderSummary/components/SubCategoryPrice.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,gBAAgB,oBAAqB;IAAE,WAAW,EAAE,eAAe,CAAA;CAAE,gCA6EjF,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { Stack, init_Stack } from "../../../components/Stack/index.js";
|
|
|
3
3
|
import { Text, init_Text } from "../../../components/Text/index.js";
|
|
4
4
|
import { OrderSummaryContext, init_Provider } from "../Provider.js";
|
|
5
5
|
import { calculateSubCategoryPrice, formatNumber, init_helpers } from "../helpers.js";
|
|
6
|
+
import { init_styles_css, orderSummaryStyle } from "../styles.css.js";
|
|
6
7
|
import { useContext } from "react";
|
|
7
8
|
import { Fragment as Fragment$1, jsxs } from "react/jsx-runtime";
|
|
8
9
|
|
|
@@ -13,6 +14,7 @@ var init_SubCategoryPrice = __esmMin(() => {
|
|
|
13
14
|
init_Text();
|
|
14
15
|
init_helpers();
|
|
15
16
|
init_Provider();
|
|
17
|
+
init_styles_css();
|
|
16
18
|
SubCategoryPrice = ({ subCategory }) => {
|
|
17
19
|
const { currency, localeFormat, hideTimeUnit, timePeriodAmount, timePeriodUnit, fractionDigits } = useContext(OrderSummaryContext);
|
|
18
20
|
const subCategoryPrice = calculateSubCategoryPrice(subCategory, hideTimeUnit, timePeriodAmount, timePeriodUnit);
|
|
@@ -22,6 +24,7 @@ var init_SubCategoryPrice = __esmMin(() => {
|
|
|
22
24
|
prominence: "strong",
|
|
23
25
|
sentiment: "neutral",
|
|
24
26
|
variant: "bodySmallStrong",
|
|
27
|
+
className: orderSummaryStyle.categoryPrice,
|
|
25
28
|
children: [subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("discounted", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.discounted[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.discounted[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
26
29
|
}) : null, subCategory.price !== void 0 && !subCategory.hidePrice && (subCategoryPrice.default[0] !== subCategoryPrice.discounted[0] || subCategoryPrice.default[1] !== subCategoryPrice.discounted[1]) ? /* @__PURE__ */ jsxs(Stack, {
|
|
27
30
|
alignItems: "center",
|
|
@@ -33,12 +36,14 @@ var init_SubCategoryPrice = __esmMin(() => {
|
|
|
33
36
|
sentiment: "neutral",
|
|
34
37
|
strikeThrough: true,
|
|
35
38
|
variant: "bodySmallStrong",
|
|
39
|
+
className: orderSummaryStyle.categoryPrice,
|
|
36
40
|
children: [subCategoryPrice.default[0] === subCategoryPrice.default[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("default", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.default[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.default[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
37
41
|
}), /* @__PURE__ */ jsxs(Text, {
|
|
38
42
|
as: "span",
|
|
39
43
|
prominence: "strong",
|
|
40
44
|
sentiment: "neutral",
|
|
41
45
|
variant: "bodySmallStrong",
|
|
46
|
+
className: orderSummaryStyle.categoryPrice,
|
|
42
47
|
children: [subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("discounted", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.discounted[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.discounted[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
43
48
|
})]
|
|
44
49
|
}) : null] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import
|
|
2
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/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";
|
|
@@ -152,4 +152,4 @@ var init_helpers = __esmMin(() => {
|
|
|
152
152
|
|
|
153
153
|
//#endregion
|
|
154
154
|
init_helpers();
|
|
155
|
-
export { DisplayPrice, calculateSubCategoryPrice, computeCategoriesPrice, computeTotalPrice, formatNumber, init_helpers };
|
|
155
|
+
export { DisplayPrice, calculateCategoryPrice, calculatePrice, calculateSubCategoryPrice, computeCategoriesPrice, computeTotalPrice, formatNumber, init_helpers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/compositions/OrderSummary/styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/compositions/OrderSummary/styles.css.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB;;;YA9BxB,MAAM;gBACJ,SAAS;;YAEX,KAAK;gBACH,SAAS;;;;;;YAhGX,OAAO;gBACL,eAAe;;YAEjB,MAAM;gBACJ,eAAe;;;;;;;;;;;;;gBAgCf,OAAO;;;;;;;;;;;;CAoGd,CAAA"}
|
|
@@ -7,7 +7,7 @@ type PlanHeaderProps = {
|
|
|
7
7
|
currentPlanValue?: string;
|
|
8
8
|
plan: PlanType<string>;
|
|
9
9
|
disabled: boolean;
|
|
10
|
-
locales
|
|
10
|
+
locales: Record<keyof typeof PlansLocales, string>;
|
|
11
11
|
};
|
|
12
12
|
export declare const PlanHeader: ({ fieldName, setFocusedPlan, onChange, currentPlanValue, plan, disabled, locales, }: PlanHeaderProps) => import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanHeader.d.ts","sourceRoot":"","sources":["../../../src/compositions/Plans/PlanHeader.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGvC,KAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,
|
|
1
|
+
{"version":3,"file":"PlanHeader.d.ts","sourceRoot":"","sources":["../../../src/compositions/Plans/PlanHeader.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGvC,KAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,OAAO,YAAY,EAAE,MAAM,CAAC,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,UAAU,wFAQpB,eAAe,gCAiEjB,CAAA"}
|
|
@@ -4,7 +4,6 @@ import { Text, init_Text } from "../../components/Text/index.js";
|
|
|
4
4
|
import { Badge, init_Badge } from "../../components/Badge/index.js";
|
|
5
5
|
import { Separator, init_Separator } from "../../components/Separator/index.js";
|
|
6
6
|
import { init_styles_css, plansStyle } from "./styles.css.js";
|
|
7
|
-
import locales, { init_en } from "./locales/en.js";
|
|
8
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
|
|
10
9
|
//#region src/compositions/Plans/PlanHeader.tsx
|
|
@@ -14,9 +13,8 @@ var init_PlanHeader = __esmMin(() => {
|
|
|
14
13
|
init_Separator();
|
|
15
14
|
init_Stack();
|
|
16
15
|
init_Text();
|
|
17
|
-
init_en();
|
|
18
16
|
init_styles_css();
|
|
19
|
-
PlanHeader = ({ fieldName, setFocusedPlan, onChange, currentPlanValue, plan, disabled, locales
|
|
17
|
+
PlanHeader = ({ fieldName, setFocusedPlan, onChange, currentPlanValue, plan, disabled, locales }) => {
|
|
20
18
|
var _plan$sentiment;
|
|
21
19
|
var _plan$sentiment2;
|
|
22
20
|
var _plan$sentiment3;
|
|
@@ -98,7 +96,7 @@ var init_PlanHeader = __esmMin(() => {
|
|
|
98
96
|
disabled,
|
|
99
97
|
sentiment: (_plan$sentiment3 = plan.sentiment) !== null && _plan$sentiment3 !== void 0 ? _plan$sentiment3 : "primary",
|
|
100
98
|
variant: "bodySmallStrong",
|
|
101
|
-
children: locales
|
|
99
|
+
children: locales["plans.currentPlan"]
|
|
102
100
|
})
|
|
103
101
|
}) : null,
|
|
104
102
|
plan.header.separator ? /* @__PURE__ */ jsx(Separator, { className: plansStyle.fullSizeSeparator }) : null
|
|
@@ -61,4 +61,4 @@ var init_editorCore = __esmMin(() => {
|
|
|
61
61
|
|
|
62
62
|
//#endregion
|
|
63
63
|
init_editorCore();
|
|
64
|
-
export { createEditorState, docFromHtml, editorDocToHtml, editorSchema, init_editorCore };
|
|
64
|
+
export { createEditorState, createPlugins, docFromHtml, editorDocToHtml, editorSchema, init_editorCore, listItemNode };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../../components/Stack/index.js";
|
|
5
5
|
import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.js";
|
|
6
6
|
import { Description, init_Description } from "../../components/Description/index.js";
|
|
@@ -44,4 +44,4 @@ var init_compositions = __esmMin(() => {
|
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
46
46
|
init_compositions();
|
|
47
|
-
export { init_compositions };
|
|
47
|
+
export { CodeEditor, ContentCard, ContentCardGroup, Conversation, CustomerSatisfaction, EstimateCost, FAQ, Filters, FiltersDrawer, FiltersMainRow, FiltersProvider, InfoTable, Navigation, NavigationProvider, OfferList, OptionSelector, OrderSummary, Plans, RichTextInput, SteppedListCard, en_default as estimateCostDefaultLocales, init_compositions, useFiltersContext, useNavigation };
|
|
@@ -34,4 +34,4 @@ var init_styles = __esmMin(() => {
|
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
36
|
init_styles();
|
|
37
|
-
export { init_styles };
|
|
37
|
+
export { codeEditorStyle, contentCardGroupStyle, contentCardStyle, conversationStyle, customerSatisfactionStyle, estimateCostStyle, faqStyle, infoTableStyle, init_styles, navigationStyle, offerListStyle, optionSelectorStyle, orderSummaryStyle, plansStyle, steppedListCardStyle };
|
package/dist/helpers/treeMap.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -158,7 +158,7 @@ import { VerificationCode, init_VerificationCode } from "./components/Verificati
|
|
|
158
158
|
import { init_components } from "./components/index.js";
|
|
159
159
|
import { init_animations } from "./utils/animations/animations.js";
|
|
160
160
|
import { init_styles } from "./components/styles.js";
|
|
161
|
-
import theme_default, { consoleDarkTheme, extendTheme, init_theme, useTheme } from "./theme/index.js";
|
|
161
|
+
import theme_default, { darkTheme as consoleDarkTheme, extendTheme, init_theme, useTheme } from "./theme/index.js";
|
|
162
162
|
import { bounce as bounce$1, fadeIn as fadeIn$1, fadeOut as fadeOut$1, flash as flash$1, init_animations as init_animations$1, ping as ping$1, pulse as pulse$1, quickScaleDown as quickScaleDown$1, scaleBack as scaleBack$1, scaleDown as scaleDown$1, scaleForward as scaleForward$1, scaleUp as scaleUp$1, sketchIn as sketchIn$1, sketchOut as sketchOut$1, slideDownLarge as slideDownLarge$1, slideFromBottom as slideFromBottom$1, slideFromLeft as slideFromLeft$1, slideFromRight as slideFromRight$1, slideFromTop as slideFromTop$1, slideToBottom as slideToBottom$1, slideToLeft as slideToLeft$1, slideToRight as slideToRight$1, slideToTop as slideToTop$1, slideUpLarge as slideUpLarge$1, unfoldIn as unfoldIn$1, unfoldOut as unfoldOut$1, zoomIn as zoomIn$1, zoomOut as zoomOut$1 } from "./utils/animations/animations2.js";
|
|
163
163
|
import { bounce, fadeIn, fadeOut, flash, init_animationsVanillaExtract_css, ping, pulse, quickScaleDown, scaleBack, scaleDown, scaleForward, scaleUp, sketchIn, sketchOut, slideDownLarge, slideFromBottom, slideFromLeft, slideFromRight, slideFromTop, slideToBottom, slideToLeft, slideToRight, slideToTop, slideUpLarge, unfoldIn, unfoldOut, zoomIn, zoomOut } from "./utils/animations/animationsVanillaExtract.css.js";
|
|
164
164
|
import normalize, { init_normalize } from "./utils/normalize.js";
|
package/dist/theme/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import deepmerge from "deepmerge";
|
|
|
6
6
|
//#region src/theme/index.ts
|
|
7
7
|
var colors, shadows, typography, space, radii, breakpoints, extendTheme, SENTIMENTS, SENTIMENTS_WITHOUT_NEUTRAL, theme_default;
|
|
8
8
|
var init_theme = __esmMin(() => {
|
|
9
|
+
init_ThemeProvider();
|
|
9
10
|
({colors, shadows, typography, space, radii, breakpoints} = consoleLightTheme);
|
|
10
11
|
extendTheme = (extendedTheme) => deepmerge(consoleLightTheme, extendedTheme);
|
|
11
12
|
SENTIMENTS = [
|
|
@@ -23,4 +24,4 @@ var init_theme = __esmMin(() => {
|
|
|
23
24
|
|
|
24
25
|
//#endregion
|
|
25
26
|
init_theme();
|
|
26
|
-
export {
|
|
27
|
+
export { SENTIMENTS, ThemeProvider, consoleDarkTheme as darkTheme, theme_default as default, extendTheme, init_theme, breakpoints as screens, useTheme$1 as useTheme };
|