@ultraviolet/plus 3.4.5 → 3.5.1

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.
Files changed (222) hide show
  1. package/dist/.vite/license.md +3 -0
  2. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +15 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +28 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +18 -0
  5. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +15 -0
  6. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +17 -0
  7. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +12 -0
  8. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +14 -0
  9. package/dist/_virtual/_rolldown/runtime.js +9 -0
  10. package/dist/components/CodeEditor/CodeEditor.d.ts +1 -1
  11. package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  12. package/dist/components/CodeEditor/CodeEditor.js +111 -137
  13. package/dist/components/CodeEditor/styles.css.js +18 -15
  14. package/dist/components/ContentCard/Skeleton.d.ts.map +1 -1
  15. package/dist/components/ContentCard/Skeleton.js +31 -27
  16. package/dist/components/ContentCard/index.js +107 -140
  17. package/dist/components/ContentCard/styles.css.d.ts +1 -1
  18. package/dist/components/ContentCard/styles.css.js +23 -19
  19. package/dist/components/ContentCardGroup/Card.js +55 -69
  20. package/dist/components/ContentCardGroup/SkeletonCard.js +28 -14
  21. package/dist/components/ContentCardGroup/index.d.ts +7 -7
  22. package/dist/components/ContentCardGroup/index.js +20 -25
  23. package/dist/components/ContentCardGroup/styles.css.js +6 -11
  24. package/dist/components/Conversation/index.d.ts +29 -23
  25. package/dist/components/Conversation/index.d.ts.map +1 -1
  26. package/dist/components/Conversation/index.js +46 -48
  27. package/dist/components/Conversation/styles.css.js +19 -13
  28. package/dist/components/CustomerSatisfaction/assets/1-5.js +5 -0
  29. package/dist/components/CustomerSatisfaction/assets/1-5NB.js +5 -0
  30. package/dist/components/CustomerSatisfaction/assets/2-5.js +5 -0
  31. package/dist/components/CustomerSatisfaction/assets/2-5NB.js +5 -0
  32. package/dist/components/CustomerSatisfaction/assets/3-5.js +5 -0
  33. package/dist/components/CustomerSatisfaction/assets/3-5NB.js +5 -0
  34. package/dist/components/CustomerSatisfaction/assets/4-5.js +5 -0
  35. package/dist/components/CustomerSatisfaction/assets/4-5NB.js +5 -0
  36. package/dist/components/CustomerSatisfaction/assets/5-5.js +5 -0
  37. package/dist/components/CustomerSatisfaction/assets/5-5NB.js +5 -0
  38. package/dist/components/CustomerSatisfaction/index.d.ts +1 -1
  39. package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
  40. package/dist/components/CustomerSatisfaction/index.js +85 -100
  41. package/dist/components/CustomerSatisfaction/styles.css.js +18 -6
  42. package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
  43. package/dist/components/EstimateCost/Components/CustomUnitInput.js +39 -52
  44. package/dist/components/EstimateCost/Components/Item.d.ts.map +1 -1
  45. package/dist/components/EstimateCost/Components/Item.js +223 -323
  46. package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +1 -1
  47. package/dist/components/EstimateCost/Components/LineThrough.js +16 -16
  48. package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +1 -1
  49. package/dist/components/EstimateCost/Components/NumberInput.js +33 -37
  50. package/dist/components/EstimateCost/Components/Region.d.ts.map +1 -1
  51. package/dist/components/EstimateCost/Components/Region.js +34 -57
  52. package/dist/components/EstimateCost/Components/Regular.d.ts.map +1 -1
  53. package/dist/components/EstimateCost/Components/Regular.js +21 -26
  54. package/dist/components/EstimateCost/Components/Strong.d.ts.map +1 -1
  55. package/dist/components/EstimateCost/Components/Strong.js +14 -19
  56. package/dist/components/EstimateCost/Components/Unit.d.ts.map +1 -1
  57. package/dist/components/EstimateCost/Components/Unit.js +47 -40
  58. package/dist/components/EstimateCost/Components/Zone.d.ts.map +1 -1
  59. package/dist/components/EstimateCost/Components/Zone.js +33 -55
  60. package/dist/components/EstimateCost/Components/components.css.js +122 -86
  61. package/dist/components/EstimateCost/EstimateCost.d.ts +138 -121
  62. package/dist/components/EstimateCost/EstimateCost.d.ts.map +1 -1
  63. package/dist/components/EstimateCost/EstimateCost.js +79 -124
  64. package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +1 -1
  65. package/dist/components/EstimateCost/EstimateCostContent.js +284 -394
  66. package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
  67. package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
  68. package/dist/components/EstimateCost/EstimateCostProvider.js +30 -37
  69. package/dist/components/EstimateCost/OverlayComponent.d.ts.map +1 -1
  70. package/dist/components/EstimateCost/OverlayComponent.js +95 -93
  71. package/dist/components/EstimateCost/OverlayContext.d.ts.map +1 -1
  72. package/dist/components/EstimateCost/OverlayContext.js +12 -10
  73. package/dist/components/EstimateCost/constants.js +19 -21
  74. package/dist/components/EstimateCost/helper.d.ts +2 -2
  75. package/dist/components/EstimateCost/helper.d.ts.map +1 -1
  76. package/dist/components/EstimateCost/helper.js +9 -14
  77. package/dist/components/EstimateCost/locales/en.js +24 -23
  78. package/dist/components/EstimateCost/styles.css.d.ts +2 -2
  79. package/dist/components/EstimateCost/styles.css.js +50 -36
  80. package/dist/components/EstimateCost/types.d.ts +1 -1
  81. package/dist/components/EstimateCost/types.d.ts.map +1 -1
  82. package/dist/components/FAQ/index.d.ts.map +1 -1
  83. package/dist/components/FAQ/index.js +37 -31
  84. package/dist/components/FAQ/styles.css.js +6 -4
  85. package/dist/components/InfoTable/InfoTable.d.ts +10 -13
  86. package/dist/components/InfoTable/InfoTable.d.ts.map +1 -1
  87. package/dist/components/InfoTable/InfoTable.js +24 -15
  88. package/dist/components/InfoTable/components/Cell.d.ts.map +1 -1
  89. package/dist/components/InfoTable/components/Cell.js +37 -45
  90. package/dist/components/InfoTable/components/Row.d.ts.map +1 -1
  91. package/dist/components/InfoTable/components/Row.js +19 -27
  92. package/dist/components/InfoTable/context.d.ts +1 -1
  93. package/dist/components/InfoTable/context.d.ts.map +1 -1
  94. package/dist/components/InfoTable/context.js +5 -3
  95. package/dist/components/InfoTable/styles.css.js +6 -10
  96. package/dist/components/Navigation/Footer.d.ts.map +1 -1
  97. package/dist/components/Navigation/Footer.js +59 -75
  98. package/dist/components/Navigation/Header.d.ts.map +1 -1
  99. package/dist/components/Navigation/Header.js +20 -17
  100. package/dist/components/Navigation/Navigation.d.ts +46 -43
  101. package/dist/components/Navigation/Navigation.d.ts.map +1 -1
  102. package/dist/components/Navigation/Navigation.js +23 -27
  103. package/dist/components/Navigation/NavigationContent.d.ts +1 -1
  104. package/dist/components/Navigation/NavigationContent.d.ts.map +1 -1
  105. package/dist/components/Navigation/NavigationContent.js +100 -138
  106. package/dist/components/Navigation/NavigationProvider.d.ts.map +1 -1
  107. package/dist/components/Navigation/NavigationProvider.js +116 -165
  108. package/dist/components/Navigation/components/Group.d.ts.map +1 -1
  109. package/dist/components/Navigation/components/Group.js +36 -43
  110. package/dist/components/Navigation/components/Item.d.ts +1 -1
  111. package/dist/components/Navigation/components/Item.d.ts.map +1 -1
  112. package/dist/components/Navigation/components/Item.js +440 -607
  113. package/dist/components/Navigation/components/ItemProvider.d.ts.map +1 -1
  114. package/dist/components/Navigation/components/ItemProvider.js +13 -8
  115. package/dist/components/Navigation/components/PinnedItems.d.ts.map +1 -1
  116. package/dist/components/Navigation/components/PinnedItems.js +101 -132
  117. package/dist/components/Navigation/components/Separator.js +10 -7
  118. package/dist/components/Navigation/components/ShowHide.d.ts +1 -1
  119. package/dist/components/Navigation/components/ShowHide.d.ts.map +1 -1
  120. package/dist/components/Navigation/components/ShowHide.js +51 -75
  121. package/dist/components/Navigation/components/items.css.js +72 -30
  122. package/dist/components/Navigation/components/styles.css.js +23 -13
  123. package/dist/components/Navigation/locales/en.js +12 -11
  124. package/dist/components/Navigation/styles.css.js +28 -14
  125. package/dist/components/Navigation/variables.css.js +6 -4
  126. package/dist/components/OfferList/OfferList.d.ts +5 -51
  127. package/dist/components/OfferList/OfferList.d.ts.map +1 -1
  128. package/dist/components/OfferList/OfferList.js +11 -78
  129. package/dist/components/OrderSummary/index.d.ts +5 -2
  130. package/dist/components/OrderSummary/index.d.ts.map +1 -1
  131. package/dist/components/OrderSummary/index.js +11 -204
  132. package/dist/components/Plans/index.d.ts +5 -21
  133. package/dist/components/Plans/index.d.ts.map +1 -1
  134. package/dist/components/Plans/index.js +11 -214
  135. package/dist/components/SteppedListCard/index.d.ts +5 -1
  136. package/dist/components/SteppedListCard/index.d.ts.map +1 -1
  137. package/dist/components/SteppedListCard/index.js +11 -0
  138. package/dist/index.js +5 -21
  139. package/dist/plus.css +2 -1
  140. package/package.json +9 -8
  141. package/LICENSE +0 -189
  142. package/dist/components/CustomerSatisfaction/assets/1-5.svg.js +0 -4
  143. package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.js +0 -4
  144. package/dist/components/CustomerSatisfaction/assets/2-5.svg.js +0 -4
  145. package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.js +0 -4
  146. package/dist/components/CustomerSatisfaction/assets/3-5.svg.js +0 -4
  147. package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.js +0 -4
  148. package/dist/components/CustomerSatisfaction/assets/4-5.svg.js +0 -4
  149. package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.js +0 -4
  150. package/dist/components/CustomerSatisfaction/assets/5-5.svg.js +0 -4
  151. package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.js +0 -4
  152. package/dist/components/Navigation/constants.js +0 -10
  153. package/dist/components/OfferList/OfferListProvider.d.ts +0 -30
  154. package/dist/components/OfferList/OfferListProvider.d.ts.map +0 -1
  155. package/dist/components/OfferList/OfferListProvider.js +0 -48
  156. package/dist/components/OfferList/components/Banner.d.ts +0 -13
  157. package/dist/components/OfferList/components/Banner.d.ts.map +0 -1
  158. package/dist/components/OfferList/components/Banner.js +0 -43
  159. package/dist/components/OfferList/components/Cell.d.ts +0 -4
  160. package/dist/components/OfferList/components/Cell.d.ts.map +0 -1
  161. package/dist/components/OfferList/components/Cell.js +0 -35
  162. package/dist/components/OfferList/components/OfferListRowProvider.d.ts +0 -9
  163. package/dist/components/OfferList/components/OfferListRowProvider.d.ts.map +0 -1
  164. package/dist/components/OfferList/components/OfferListRowProvider.js +0 -10
  165. package/dist/components/OfferList/components/Row.d.ts +0 -18
  166. package/dist/components/OfferList/components/Row.d.ts.map +0 -1
  167. package/dist/components/OfferList/components/Row.js +0 -258
  168. package/dist/components/OfferList/styles.css.d.ts +0 -44
  169. package/dist/components/OfferList/styles.css.d.ts.map +0 -1
  170. package/dist/components/OfferList/styles.css.js +0 -40
  171. package/dist/components/OrderSummary/NonScrollableContent.d.ts +0 -20
  172. package/dist/components/OrderSummary/NonScrollableContent.d.ts.map +0 -1
  173. package/dist/components/OrderSummary/NonScrollableContent.js +0 -136
  174. package/dist/components/OrderSummary/Provider.d.ts +0 -15
  175. package/dist/components/OrderSummary/Provider.d.ts.map +0 -1
  176. package/dist/components/OrderSummary/Provider.js +0 -15
  177. package/dist/components/OrderSummary/ScrollableContent.d.ts +0 -2
  178. package/dist/components/OrderSummary/ScrollableContent.d.ts.map +0 -1
  179. package/dist/components/OrderSummary/ScrollableContent.js +0 -314
  180. package/dist/components/OrderSummary/constants.d.ts +0 -3
  181. package/dist/components/OrderSummary/constants.d.ts.map +0 -1
  182. package/dist/components/OrderSummary/constants.js +0 -18
  183. package/dist/components/OrderSummary/helpers.d.ts +0 -28
  184. package/dist/components/OrderSummary/helpers.d.ts.map +0 -1
  185. package/dist/components/OrderSummary/helpers.js +0 -156
  186. package/dist/components/OrderSummary/locales/en.d.ts +0 -11
  187. package/dist/components/OrderSummary/locales/en.d.ts.map +0 -1
  188. package/dist/components/OrderSummary/locales/en.js +0 -12
  189. package/dist/components/OrderSummary/styles.css.d.ts +0 -21
  190. package/dist/components/OrderSummary/styles.css.d.ts.map +0 -1
  191. package/dist/components/OrderSummary/styles.css.js +0 -26
  192. package/dist/components/OrderSummary/types.d.ts +0 -125
  193. package/dist/components/OrderSummary/types.d.ts.map +0 -1
  194. package/dist/components/Plans/FeatureHint.d.ts +0 -7
  195. package/dist/components/Plans/FeatureHint.d.ts.map +0 -1
  196. package/dist/components/Plans/FeatureHint.js +0 -42
  197. package/dist/components/Plans/PlanHeader.d.ts +0 -14
  198. package/dist/components/Plans/PlanHeader.d.ts.map +0 -1
  199. package/dist/components/Plans/PlanHeader.js +0 -96
  200. package/dist/components/Plans/locales/en.d.ts +0 -7
  201. package/dist/components/Plans/locales/en.d.ts.map +0 -1
  202. package/dist/components/Plans/locales/en.js +0 -8
  203. package/dist/components/Plans/styles.css.d.ts +0 -67
  204. package/dist/components/Plans/styles.css.d.ts.map +0 -1
  205. package/dist/components/Plans/styles.css.js +0 -26
  206. package/dist/components/Plans/types.d.ts +0 -38
  207. package/dist/components/Plans/types.d.ts.map +0 -1
  208. package/dist/components/SteppedListCard/Step.d.ts +0 -23
  209. package/dist/components/SteppedListCard/Step.d.ts.map +0 -1
  210. package/dist/components/SteppedListCard/Step.js +0 -61
  211. package/dist/components/SteppedListCard/SteppedListCard.d.ts +0 -69
  212. package/dist/components/SteppedListCard/SteppedListCard.d.ts.map +0 -1
  213. package/dist/components/SteppedListCard/SteppedListCard.js +0 -105
  214. package/dist/components/SteppedListCard/SteppedListContent.d.ts +0 -12
  215. package/dist/components/SteppedListCard/SteppedListContent.d.ts.map +0 -1
  216. package/dist/components/SteppedListCard/SteppedListContent.js +0 -53
  217. package/dist/components/SteppedListCard/helper.d.ts +0 -27
  218. package/dist/components/SteppedListCard/helper.d.ts.map +0 -1
  219. package/dist/components/SteppedListCard/helper.js +0 -41
  220. package/dist/components/SteppedListCard/styles.css.d.ts +0 -9
  221. package/dist/components/SteppedListCard/styles.css.d.ts.map +0 -1
  222. package/dist/components/SteppedListCard/styles.css.js +0 -19
@@ -1,125 +1,161 @@
1
- /* empty css */
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
2
11
  /* empty css */
3
- /* empty css */
4
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
+ /* empty css */
18
+ /* empty css */
19
+ /* empty css */
20
+ /* empty css */
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
5
24
  /* empty css */
6
- /* empty css */
25
+ /* empty css */
26
+ /* empty css */
7
27
  /* empty css */
8
- /* empty css */
9
28
  /* empty css */
10
- /* empty css */
11
29
  /* empty css */
12
- /* empty css */
13
- /* empty css */
14
- /* empty css */
15
- /* empty css */
16
- /* empty css */
17
30
  /* empty css */
31
+ /* empty css */
32
+ /* empty css */
18
33
  /* empty css */
19
- /* empty css */
20
- /* empty css */
34
+ /* empty css */
35
+ /* empty css */
21
36
  /* empty css */
22
- /* empty css */
23
- /* empty css */
24
- /* empty css */
25
- /* empty css */
37
+ /* empty css */
38
+ /* empty css */
39
+ /* empty css */
26
40
  /* empty css */
27
- /* empty css */
28
- /* empty css */
29
- /* empty css */
41
+ /* empty css */
42
+ /* empty css */
43
+ /* empty css */
30
44
  /* empty css */
31
45
  /* empty css */
32
- /* empty css */
33
- /* empty css */
34
- /* empty css */
35
- /* empty css */
46
+ /* empty css */
47
+ /* empty css */
36
48
  /* empty css */
49
+ /* empty css */
50
+ /* empty css */
51
+ /* empty css */
37
52
  /* empty css */
38
- /* empty css */
39
53
  /* empty css */
40
54
  /* empty css */
41
- /* empty css */
42
- /* empty css */
43
- /* empty css */
44
- /* empty css */
45
- /* empty css */
46
- /* empty css */
47
- /* empty css */
55
+ /* empty css */
48
56
  /* empty css */
49
- /* empty css */
57
+ /* empty css */
58
+ /* empty css */
59
+ /* empty css */
60
+ /* empty css */
61
+ /* empty css */
62
+ /* empty css */
50
63
  /* empty css */
64
+ /* empty css */
65
+ /* empty css */
51
66
  /* empty css */
52
- /* empty css */
53
- /* empty css */
67
+ /* empty css */
68
+ /* empty css */
54
69
  /* empty css */
55
- /* empty css */
56
- /* empty css */
70
+ /* empty css */
57
71
  /* empty css */
58
- /* empty css */
59
- /* empty css */
60
- /* empty css */
61
- /* empty css */
62
72
  /* empty css */
73
+ /* empty css */
74
+ /* empty css */
75
+ /* empty css */
76
+ /* empty css */
77
+ /* empty css */
78
+ /* empty css */
63
79
  /* empty css */
64
- /* empty css */
65
- /* empty css */
66
- /* empty css */
80
+ /* empty css */
81
+ /* empty css */
82
+ /* empty css */
83
+ /* empty css */
84
+ /* empty css */
85
+ /* empty css */
67
86
  /* empty css */
68
- /* empty css */
69
- /* empty css */
70
- /* empty css */
71
- /* empty css */
72
- /* empty css */
73
- /* empty css */
74
- /* empty css */
87
+ /* empty css */
75
88
  /* empty css */
76
- /* empty css */
77
89
  /* empty css */
78
- /* empty css */
79
90
  /* empty css */
80
- /* empty css */
81
- /* empty css */
82
- /* empty css */
83
- /* empty css */
84
91
  /* empty css */
85
- /* empty css */
86
- /* empty css */
87
- /* empty css */
88
- /* empty css */
89
- /* empty css */
90
- /* empty css */
91
- /* empty css */
92
- /* empty css */
92
+ /* empty css */
93
93
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
94
+
95
+ //#region src/components/EstimateCost/Components/components.css.ts
94
96
  var maxWidthTextVar = "var(--uv_plus_1ko5kn20)";
95
97
  var maxWidthText = "uv_plus_1ko5kn21";
96
98
  var estimateCostTr = "uv_plus_1ko5kn23";
97
99
  var styledDiv = "uv_plus_1ko5kn24";
98
100
  var estimateCostLeftSide = "uv_plus_1ko5kn25";
99
- var estimateCostItemResourceName = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn26", variantClassNames: { animated: { true: "uv_plus_1ko5kn27" } }, defaultVariants: { animated: false }, compoundVariants: [] });
100
- var estimateCostResourceName = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn28", variantClassNames: { isAnimated: { true: "uv_plus_1ko5kn29" }, isOverlay: { false: "uv_plus_1ko5kn2a", true: "uv_plus_1ko5kn2b" } }, defaultVariants: { isAnimated: false, isOverlay: false }, compoundVariants: [] });
101
+ var estimateCostItemResourceName = createRuntimeFn({
102
+ defaultClassName: "uv_plus_1ko5kn26",
103
+ variantClassNames: { animated: { true: "uv_plus_1ko5kn27" } },
104
+ defaultVariants: { animated: false },
105
+ compoundVariants: []
106
+ });
107
+ var estimateCostResourceName = createRuntimeFn({
108
+ defaultClassName: "uv_plus_1ko5kn28",
109
+ variantClassNames: {
110
+ isAnimated: { true: "uv_plus_1ko5kn29" },
111
+ isOverlay: {
112
+ false: "uv_plus_1ko5kn2a",
113
+ true: "uv_plus_1ko5kn2b"
114
+ }
115
+ },
116
+ defaultVariants: {
117
+ isAnimated: false,
118
+ isOverlay: false
119
+ },
120
+ compoundVariants: []
121
+ });
101
122
  var estimateCostBadgeItem = "uv_plus_1ko5kn2c";
102
123
  var estimateCostTextItem = "uv_plus_1ko5kn2d";
103
124
  var estimateCostMaxWidthText = "uv_plus_1ko5kn2e";
104
125
  var estimateCostTooltip = "uv_plus_1ko5kn2f";
105
126
  var estimateCostLineThrough = "uv_plus_1ko5kn2g";
106
- var estimateCostRegular = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2h", variantClassNames: { isOverlay: { false: "uv_plus_1ko5kn2i", true: "uv_plus_1ko5kn2j" }, variant: { big: "uv_plus_1ko5kn2k", capitalized: "uv_plus_1ko5kn2l", normal: "uv_plus_1ko5kn2m", small: "uv_plus_1ko5kn2n" } }, defaultVariants: { isOverlay: false, variant: "normal" }, compoundVariants: [] });
107
- var estimateCostStrong = createRuntimeFn({ defaultClassName: "uv_plus_1ko5kn2o", variantClassNames: { variant: { big: "uv_plus_1ko5kn2p", capitalized: "uv_plus_1ko5kn2q", normal: "uv_plus_1ko5kn2r", small: "uv_plus_1ko5kn2s" } }, defaultVariants: { variant: "normal" }, compoundVariants: [] });
127
+ var estimateCostRegular = createRuntimeFn({
128
+ defaultClassName: "uv_plus_1ko5kn2h",
129
+ variantClassNames: {
130
+ isOverlay: {
131
+ false: "uv_plus_1ko5kn2i",
132
+ true: "uv_plus_1ko5kn2j"
133
+ },
134
+ variant: {
135
+ big: "uv_plus_1ko5kn2k",
136
+ capitalized: "uv_plus_1ko5kn2l",
137
+ normal: "uv_plus_1ko5kn2m",
138
+ small: "uv_plus_1ko5kn2n"
139
+ }
140
+ },
141
+ defaultVariants: {
142
+ isOverlay: false,
143
+ variant: "normal"
144
+ },
145
+ compoundVariants: []
146
+ });
147
+ var estimateCostStrong = createRuntimeFn({
148
+ defaultClassName: "uv_plus_1ko5kn2o",
149
+ variantClassNames: { variant: {
150
+ big: "uv_plus_1ko5kn2p",
151
+ capitalized: "uv_plus_1ko5kn2q",
152
+ normal: "uv_plus_1ko5kn2r",
153
+ small: "uv_plus_1ko5kn2s"
154
+ } },
155
+ defaultVariants: { variant: "normal" },
156
+ compoundVariants: []
157
+ });
108
158
  var estimateCostNumberInput = "uv_plus_1ko5kn2t";
109
- export {
110
- estimateCostBadgeItem,
111
- estimateCostItemResourceName,
112
- estimateCostLeftSide,
113
- estimateCostLineThrough,
114
- estimateCostMaxWidthText,
115
- estimateCostNumberInput,
116
- estimateCostRegular,
117
- estimateCostResourceName,
118
- estimateCostStrong,
119
- estimateCostTextItem,
120
- estimateCostTooltip,
121
- estimateCostTr,
122
- maxWidthText,
123
- maxWidthTextVar,
124
- styledDiv
125
- };
159
+
160
+ //#endregion
161
+ export { estimateCostBadgeItem, estimateCostItemResourceName, estimateCostLeftSide, estimateCostLineThrough, estimateCostMaxWidthText, estimateCostNumberInput, estimateCostRegular, estimateCostResourceName, estimateCostStrong, estimateCostTextItem, estimateCostTooltip, estimateCostTr, maxWidthText, maxWidthTextVar, styledDiv };
@@ -1,159 +1,176 @@
1
- import { Text } from '@ultraviolet/ui';
2
- import type { ComponentProps, ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
3
2
  import type { EstimateCostProps } from './types';
4
- declare const EstimateCost: {
5
- ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, compact, numberLocales, currency, style, onTotalPriceChange, }: EstimateCostProps): import("react/jsx-runtime").JSX.Element;
6
- LineThrough: ({ isActive, className, ...props }: import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
7
- isActive?: boolean;
3
+ declare function EstimateCost({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, compact, numberLocales, currency, style, onTotalPriceChange }: EstimateCostProps): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace EstimateCost {
5
+ var LineThrough: ({ isActive, className, ...props }: import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
6
+ isActive?: boolean | undefined;
8
7
  }) => import("react/jsx-runtime").JSX.Element;
9
- Item: import("react").MemoExoticComponent<({ discount, priceText, discountText, label, tooltipInfo, subLabel, price: basePrice, monthlyPrice, unit: baseUnit, amount: currentAmount, onAmountChange, amountFree, maxAmount, longFractionDigits, noIteration, noIterationText, noBorder, noPrice, isDefined, children, isFirstElement, isLastElement, isPrimaryBackground, productsCallback, iteration: receivedIteration, shouldBeHidden, hideFromOverlay, textNotDefined, animated, tabulation, labelTextVariant, labelTextProminence, notice, strikeThrough, style, }: {
10
- amount?: number;
11
- amountFree?: number;
12
- animated?: boolean;
8
+ }
9
+ declare namespace EstimateCost {
10
+ var Item: import("react").MemoExoticComponent<({ discount, priceText, discountText, label, tooltipInfo, subLabel, price: basePrice, monthlyPrice, unit: baseUnit, amount: currentAmount, onAmountChange, amountFree, maxAmount, longFractionDigits, noIteration, noIterationText, noBorder, noPrice, isDefined, children, isFirstElement, isLastElement, isPrimaryBackground, productsCallback, iteration: receivedIteration, shouldBeHidden, hideFromOverlay, textNotDefined, animated, tabulation, labelTextVariant, labelTextProminence, notice, strikeThrough, style, }: {
11
+ amount?: number | undefined;
12
+ amountFree?: number | undefined;
13
+ animated?: boolean | undefined;
13
14
  children?: ReactNode;
14
- discount?: number;
15
- discountText?: string;
16
- hideFromOverlay?: boolean;
17
- isDefined?: boolean;
18
- isFirstElement?: boolean;
19
- isLastElement?: boolean;
20
- isPrimaryBackground?: boolean;
21
- iteration?: import("./types").Iteration;
15
+ discount?: number | undefined;
16
+ discountText?: string | undefined;
17
+ hideFromOverlay?: boolean | undefined;
18
+ isDefined?: boolean | undefined;
19
+ isFirstElement?: boolean | undefined;
20
+ isLastElement?: boolean | undefined;
21
+ isPrimaryBackground?: boolean | undefined;
22
+ iteration?: import("./types").Iteration | undefined;
22
23
  label?: ReactNode;
23
- labelTextVariant?: ComponentProps<typeof Text>["variant"];
24
- labelTextProminence?: ComponentProps<typeof Text>["prominence"];
25
- longFractionDigits?: boolean;
26
- maxAmount?: number;
27
- monthlyPrice?: number;
28
- noBorder?: boolean;
29
- noIteration?: boolean;
30
- noIterationText?: string;
31
- noPrice?: boolean;
32
- notice?: string;
33
- onAmountChange?: (amount: number) => void;
34
- price?: number;
24
+ labelTextVariant?: "body" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "caption" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "code" | "codeSmall" | "codeSmallStrong" | "codeSmallStronger" | "codeStrong" | "codeStronger" | "heading" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
25
+ labelTextProminence?: "default" | "strong" | "stronger" | "weak" | undefined;
26
+ longFractionDigits?: boolean | undefined;
27
+ maxAmount?: number | undefined;
28
+ monthlyPrice?: number | undefined;
29
+ noBorder?: boolean | undefined;
30
+ noIteration?: boolean | undefined;
31
+ noIterationText?: string | undefined;
32
+ noPrice?: boolean | undefined;
33
+ notice?: string | undefined;
34
+ onAmountChange?: ((amount: number) => void) | undefined;
35
+ price?: number | undefined;
35
36
  priceText?: ReactNode;
36
37
  productsCallback?: {
37
38
  add: (product: import("./types").EstimateProduct) => void;
38
39
  remove: (product: import("./types").BareEstimateProduct) => void;
39
- };
40
- shouldBeHidden?: boolean;
41
- subLabel?: string;
42
- tabulation?: number;
43
- textNotDefined?: string;
44
- tooltipInfo?: string;
45
- unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & NonNullable<unknown>);
46
- strikeThrough?: boolean;
47
- style?: import("react").CSSProperties;
40
+ } | undefined;
41
+ shouldBeHidden?: boolean | undefined;
42
+ subLabel?: string | undefined;
43
+ tabulation?: number | undefined;
44
+ textNotDefined?: string | undefined;
45
+ tooltipInfo?: string | undefined;
46
+ unit?: "days" | "gb" | "hours" | "mb" | "minutes" | "months" | "seconds" | "tb" | "years" | (string & {}) | undefined;
47
+ strikeThrough?: boolean | undefined;
48
+ style?: import("react").CSSProperties | undefined;
48
49
  }) => import("react/jsx-runtime").JSX.Element>;
49
- NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
50
- amount?: number;
51
- itemCallback?: (amount?: number | null, isVariant?: boolean) => void;
52
- getAmountValue?: (amount?: number | null) => void;
53
- minValue?: number;
54
- maxValue?: number;
55
- controls?: boolean;
50
+ }
51
+ declare namespace EstimateCost {
52
+ var NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
53
+ amount?: number | undefined;
54
+ itemCallback?: ((amount?: number | null | undefined, isVariant?: boolean | undefined) => void) | undefined;
55
+ getAmountValue?: ((amount?: number | null | undefined) => void) | undefined;
56
+ minValue?: number | undefined;
57
+ maxValue?: number | undefined;
58
+ controls?: boolean | undefined;
56
59
  }) => import("react/jsx-runtime").JSX.Element;
57
- Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: {
58
- amount?: number;
59
- itemCallback?: (amount?: number, isVariant?: boolean) => void;
60
- getAmountValue?: (amount?: number) => void;
61
- unit?: string;
62
- style?: import("react").CSSProperties;
60
+ }
61
+ declare namespace EstimateCost {
62
+ var Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: {
63
+ amount?: number | undefined;
64
+ itemCallback?: ((amount?: number | undefined, isVariant?: boolean | undefined) => void) | undefined;
65
+ getAmountValue?: ((amount?: number | undefined) => void) | undefined;
66
+ unit?: string | undefined;
67
+ style?: import("react").CSSProperties | undefined;
63
68
  }) => import("react/jsx-runtime").JSX.Element;
64
- Strong: import("react").MemoExoticComponent<({ variant, children, style }: {
65
- variant?: "normal" | "small" | "big" | "capitalized";
69
+ }
70
+ declare namespace EstimateCost {
71
+ var Strong: import("react").MemoExoticComponent<({ variant, children, style }: {
72
+ variant?: "big" | "capitalized" | "normal" | "small" | undefined;
66
73
  children?: ReactNode;
67
- isDisabledOnOverlay?: boolean;
68
- style?: import("react").CSSProperties;
74
+ isDisabledOnOverlay?: boolean | undefined;
75
+ style?: import("react").CSSProperties | undefined;
69
76
  }) => import("react/jsx-runtime").JSX.Element>;
70
- Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, style, }: {
71
- variant?: "normal" | "small" | "big" | "capitalized";
72
- isDisabledOnOverlay?: boolean;
77
+ }
78
+ declare namespace EstimateCost {
79
+ var Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, style, }: {
80
+ variant?: "big" | "capitalized" | "normal" | "small" | undefined;
81
+ isDisabledOnOverlay?: boolean | undefined;
73
82
  children?: ReactNode;
74
- style?: import("react").CSSProperties;
75
- className?: string;
83
+ style?: import("react").CSSProperties | undefined;
84
+ className?: string | undefined;
76
85
  }) => import("react/jsx-runtime").JSX.Element | null>;
77
- Image: (props: ComponentProps<"img">) => import("react/jsx-runtime").JSX.Element;
78
- Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style, }: {
79
- shouldBeHidden?: boolean;
86
+ }
87
+ declare namespace EstimateCost {
88
+ var Image: (props: import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => import("react/jsx-runtime").JSX.Element;
89
+ }
90
+ declare namespace EstimateCost {
91
+ var Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style, }: {
92
+ shouldBeHidden?: boolean | undefined;
80
93
  priceText?: ReactNode;
81
- animated?: boolean;
82
- isFirstElement?: boolean;
83
- isLastElement?: boolean;
94
+ animated?: boolean | undefined;
95
+ isFirstElement?: boolean | undefined;
96
+ isLastElement?: boolean | undefined;
84
97
  productsCallback?: {
85
98
  add: (product: import("./types").EstimateProduct) => void;
86
99
  remove: (product: import("./types").BareEstimateProduct) => void;
87
- };
88
- iteration?: import("./types").Iteration;
89
- discount?: number;
100
+ } | undefined;
101
+ iteration?: import("./types").Iteration | undefined;
102
+ discount?: number | undefined;
90
103
  label: string;
91
104
  image: string;
92
- noBorder?: boolean;
93
- noPrice?: boolean;
105
+ noBorder?: boolean | undefined;
106
+ noPrice?: boolean | undefined;
94
107
  } & Pick<{
95
- amount?: number;
96
- amountFree?: number;
97
- animated?: boolean;
108
+ amount?: number | undefined;
109
+ amountFree?: number | undefined;
110
+ animated?: boolean | undefined;
98
111
  children?: ReactNode;
99
- discount?: number;
100
- discountText?: string;
101
- hideFromOverlay?: boolean;
102
- isDefined?: boolean;
103
- isFirstElement?: boolean;
104
- isLastElement?: boolean;
105
- isPrimaryBackground?: boolean;
106
- iteration?: import("./types").Iteration;
112
+ discount?: number | undefined;
113
+ discountText?: string | undefined;
114
+ hideFromOverlay?: boolean | undefined;
115
+ isDefined?: boolean | undefined;
116
+ isFirstElement?: boolean | undefined;
117
+ isLastElement?: boolean | undefined;
118
+ isPrimaryBackground?: boolean | undefined;
119
+ iteration?: import("./types").Iteration | undefined;
107
120
  label?: ReactNode;
108
- labelTextVariant?: ComponentProps<typeof Text>["variant"];
109
- labelTextProminence?: ComponentProps<typeof Text>["prominence"];
110
- longFractionDigits?: boolean;
111
- maxAmount?: number;
112
- monthlyPrice?: number;
113
- noBorder?: boolean;
114
- noIteration?: boolean;
115
- noIterationText?: string;
116
- noPrice?: boolean;
117
- notice?: string;
118
- onAmountChange?: (amount: number) => void;
119
- price?: number;
121
+ labelTextVariant?: "body" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "caption" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "code" | "codeSmall" | "codeSmallStrong" | "codeSmallStronger" | "codeStrong" | "codeStronger" | "heading" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
122
+ labelTextProminence?: "default" | "strong" | "stronger" | "weak" | undefined;
123
+ longFractionDigits?: boolean | undefined;
124
+ maxAmount?: number | undefined;
125
+ monthlyPrice?: number | undefined;
126
+ noBorder?: boolean | undefined;
127
+ noIteration?: boolean | undefined;
128
+ noIterationText?: string | undefined;
129
+ noPrice?: boolean | undefined;
130
+ notice?: string | undefined;
131
+ onAmountChange?: ((amount: number) => void) | undefined;
132
+ price?: number | undefined;
120
133
  priceText?: ReactNode;
121
134
  productsCallback?: {
122
135
  add: (product: import("./types").EstimateProduct) => void;
123
136
  remove: (product: import("./types").BareEstimateProduct) => void;
124
- };
125
- shouldBeHidden?: boolean;
126
- subLabel?: string;
127
- tabulation?: number;
128
- textNotDefined?: string;
129
- tooltipInfo?: string;
130
- unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & NonNullable<unknown>);
131
- strikeThrough?: boolean;
132
- style?: import("react").CSSProperties;
133
- }, "style" | "hideFromOverlay">) => import("react/jsx-runtime").JSX.Element>;
134
- Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: {
135
- shouldBeHidden?: boolean;
136
- priceText?: string;
137
- animated?: boolean;
138
- isFirstElement?: boolean;
139
- isLastElement?: boolean;
137
+ } | undefined;
138
+ shouldBeHidden?: boolean | undefined;
139
+ subLabel?: string | undefined;
140
+ tabulation?: number | undefined;
141
+ textNotDefined?: string | undefined;
142
+ tooltipInfo?: string | undefined;
143
+ unit?: "days" | "gb" | "hours" | "mb" | "minutes" | "months" | "seconds" | "tb" | "years" | (string & {}) | undefined;
144
+ strikeThrough?: boolean | undefined;
145
+ style?: import("react").CSSProperties | undefined;
146
+ }, "hideFromOverlay" | "style">) => import("react/jsx-runtime").JSX.Element>;
147
+ }
148
+ declare namespace EstimateCost {
149
+ var Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: {
150
+ shouldBeHidden?: boolean | undefined;
151
+ priceText?: string | undefined;
152
+ animated?: boolean | undefined;
153
+ isFirstElement?: boolean | undefined;
154
+ isLastElement?: boolean | undefined;
140
155
  productsCallback?: {
141
156
  add: (product: import("./types").EstimateProduct) => void;
142
157
  remove: (product: import("./types").BareEstimateProduct) => void;
143
- };
144
- iteration?: import("./types").Iteration;
145
- discount?: number;
158
+ } | undefined;
159
+ iteration?: import("./types").Iteration | undefined;
160
+ discount?: number | undefined;
146
161
  label: string;
147
162
  image: string;
148
- noBorder?: boolean;
149
- noPrice?: boolean;
150
- style?: import("react").CSSProperties;
163
+ noBorder?: boolean | undefined;
164
+ noPrice?: boolean | undefined;
165
+ style?: import("react").CSSProperties | undefined;
151
166
  }) => import("react/jsx-runtime").JSX.Element>;
152
- Ellipsis: ({ children, maxWidth, "data-testid": dataTestId, }: {
167
+ }
168
+ declare namespace EstimateCost {
169
+ var Ellipsis: ({ children, maxWidth, 'data-testid': dataTestId, }: {
153
170
  children: ReactNode;
154
- maxWidth?: number;
155
- "data-testid"?: string;
171
+ maxWidth?: number | undefined;
172
+ 'data-testid'?: string | undefined;
156
173
  }) => import("react/jsx-runtime").JSX.Element;
157
- };
174
+ }
158
175
  export { EstimateCost };
159
176
  //# sourceMappingURL=EstimateCost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EstimateCost.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCost.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAGtC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBtD,OAAO,KAAK,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAA;AAgBvD,QAAA,MAAM,YAAY;sZA8Bf,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA3DC,CAAA,0BACd,CAAA;gCAA6C,CAAC;;;;;;;8BAAzB,CAAC,mBAAmB,CAAC;gCACV,CAAC;;;;;;;;;;;;;;;;;mBAelB,cAAc,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAsGxC;QACD,QAAQ,EAAE,SAAS,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB;CA3BA,CAAA;AAsDD,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"EstimateCost.d.ts","sourceRoot":"","sources":["../../../src/components/EstimateCost/EstimateCost.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAkB,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBtD,OAAO,KAAK,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAA;8BAgBjC,EACpB,WAAW,EACX,KAAK,EACL,UAAU,EACV,YAAwB,EACxB,eAAyB,EACzB,SAA6B,EAC7B,WAAmB,EACnB,kBAA0B,EAC1B,mBAA2B,EAC3B,YAAoB,EACpB,SAAiB,EACjB,QAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,MAAc,EACd,cAAc,EACd,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,WAAqB,EACrB,QAAe,EACf,OAA6B,EAC7B,OAAO,EACP,aAAuB,EACvB,QAAgB,EAChB,KAAK,EACL,kBAAkB,EACnB,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FpB,OAAO,EAAE,YAAY,EAAE,CAAA"}