@ultraviolet/ui 3.12.3 → 3.13.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.
Files changed (510) hide show
  1. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/defineProperty.js +1 -1
  2. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectSpread2.js +1 -1
  3. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectWithoutProperties.js +1 -1
  4. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
  5. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/toPrimitive.js +1 -1
  6. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/toPropertyKey.js +1 -1
  7. package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/typeof.js +1 -1
  8. package/dist/components/ActionBar/index.js +1 -1
  9. package/dist/components/Avatar/constants.d.ts +15 -15
  10. package/dist/components/Avatar/index.js +1 -1
  11. package/dist/components/Avatar/styles.css.js +0 -2
  12. package/dist/components/BarChart/index.js +1 -1
  13. package/dist/components/Breadcrumbs/components/Item.js +1 -1
  14. package/dist/components/Button/index.d.ts.map +1 -1
  15. package/dist/components/Carousel/Item.d.ts +9 -0
  16. package/dist/components/Carousel/Item.d.ts.map +1 -0
  17. package/dist/components/Carousel/Item.js +22 -0
  18. package/dist/components/Carousel/index.d.ts +6 -8
  19. package/dist/components/Carousel/index.d.ts.map +1 -1
  20. package/dist/components/Carousel/index.js +4 -11
  21. package/dist/components/Checkbox/index.d.ts.map +1 -1
  22. package/dist/components/Checkbox/index.js +13 -12
  23. package/dist/components/Checkbox/styles.css.js +0 -4
  24. package/dist/components/CheckboxGroup/Context.d.ts +9 -0
  25. package/dist/components/CheckboxGroup/Context.d.ts.map +1 -0
  26. package/dist/components/CheckboxGroup/Context.js +13 -0
  27. package/dist/components/CheckboxGroup/SingleCheckbox.d.ts +8 -0
  28. package/dist/components/CheckboxGroup/SingleCheckbox.d.ts.map +1 -0
  29. package/dist/components/CheckboxGroup/SingleCheckbox.js +46 -0
  30. package/dist/components/CheckboxGroup/index.d.ts +25 -9
  31. package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
  32. package/dist/components/CheckboxGroup/index.js +7 -32
  33. package/dist/components/CopyButton/index.d.ts.map +1 -1
  34. package/dist/components/CopyButton/index.js +4 -3
  35. package/dist/components/DateInput/components/CalendarDaily.d.ts.map +1 -1
  36. package/dist/components/DateInput/components/CalendarDaily.js +5 -4
  37. package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
  38. package/dist/components/DateInput/components/CalendarMonthly.js +5 -4
  39. package/dist/components/DateInput/helpers.d.ts +5 -1
  40. package/dist/components/DateInput/helpers.d.ts.map +1 -1
  41. package/dist/components/DateInput/helpers.js +18 -9
  42. package/dist/components/DateInput/index.d.ts.map +1 -1
  43. package/dist/components/DateInput/index.js +2 -2
  44. package/dist/components/DateInput/styles.css.d.ts.map +1 -1
  45. package/dist/components/Expandable/AnimatedExpandable.d.ts +3 -0
  46. package/dist/components/Expandable/AnimatedExpandable.d.ts.map +1 -0
  47. package/dist/components/Expandable/AnimatedExpandable.js +95 -0
  48. package/dist/components/Expandable/NonAnimatedExpandable.d.ts +3 -0
  49. package/dist/components/Expandable/NonAnimatedExpandable.d.ts.map +1 -0
  50. package/dist/components/Expandable/NonAnimatedExpandable.js +22 -0
  51. package/dist/components/Expandable/constant.d.ts +2 -0
  52. package/dist/components/Expandable/constant.d.ts.map +1 -0
  53. package/dist/components/Expandable/constant.js +8 -0
  54. package/dist/components/Expandable/index.d.ts +1 -24
  55. package/dist/components/Expandable/index.d.ts.map +1 -1
  56. package/dist/components/Expandable/index.js +8 -94
  57. package/dist/components/Expandable/types.d.ts +23 -0
  58. package/dist/components/Expandable/types.d.ts.map +1 -0
  59. package/dist/components/ExpandableCard/index.d.ts.map +1 -1
  60. package/dist/components/FileInput/DropzoneContent.d.ts +9 -0
  61. package/dist/components/FileInput/DropzoneContent.d.ts.map +1 -0
  62. package/dist/components/FileInput/DropzoneContent.js +30 -0
  63. package/dist/components/FileInput/components/Button.js +2 -2
  64. package/dist/components/FileInput/components/List.d.ts.map +1 -1
  65. package/dist/components/FileInput/components/List.js +11 -9
  66. package/dist/components/FileInput/helpers.d.ts.map +1 -1
  67. package/dist/components/FileInput/index.d.ts.map +1 -1
  68. package/dist/components/FileInput/index.js +40 -66
  69. package/dist/components/InfiniteScroll/index.js +1 -1
  70. package/dist/components/Label/LabelContent.d.ts +3 -0
  71. package/dist/components/Label/LabelContent.d.ts.map +1 -0
  72. package/dist/components/Label/LabelContent.js +61 -0
  73. package/dist/components/Label/index.d.ts +1 -19
  74. package/dist/components/Label/index.d.ts.map +1 -1
  75. package/dist/components/Label/index.js +3 -47
  76. package/dist/components/Label/type.d.ts +19 -0
  77. package/dist/components/Label/type.d.ts.map +1 -0
  78. package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
  79. package/dist/components/LineChart/CustomLegend.js +4 -9
  80. package/dist/components/LineChart/LegendCell.d.ts +10 -0
  81. package/dist/components/LineChart/LegendCell.d.ts.map +1 -0
  82. package/dist/components/LineChart/LegendCell.js +23 -0
  83. package/dist/components/LineChart/index.js +1 -1
  84. package/dist/components/List/Cell.js +1 -1
  85. package/dist/components/List/ExpandButtonCell.d.ts +9 -0
  86. package/dist/components/List/ExpandButtonCell.d.ts.map +1 -0
  87. package/dist/components/List/ExpandButtonCell.js +44 -0
  88. package/dist/components/List/HeaderCell.d.ts.map +1 -1
  89. package/dist/components/List/HeaderCell.js +4 -8
  90. package/dist/components/List/ListContext.js +3 -3
  91. package/dist/components/List/Row.d.ts.map +1 -1
  92. package/dist/components/List/Row.js +21 -50
  93. package/dist/components/List/SelectRowCell.d.ts +8 -0
  94. package/dist/components/List/SelectRowCell.d.ts.map +1 -0
  95. package/dist/components/List/SelectRowCell.js +49 -0
  96. package/dist/components/List/SortIcon.d.ts +4 -0
  97. package/dist/components/List/SortIcon.d.ts.map +1 -0
  98. package/dist/components/List/SortIcon.js +19 -0
  99. package/dist/components/List/TableContainer.d.ts +5 -0
  100. package/dist/components/List/TableContainer.d.ts.map +1 -0
  101. package/dist/components/List/TableContainer.js +31 -0
  102. package/dist/components/List/index.d.ts.map +1 -1
  103. package/dist/components/List/index.js +4 -16
  104. package/dist/components/Loader/index.js +1 -1
  105. package/dist/components/Menu/MenuContent.d.ts.map +1 -1
  106. package/dist/components/Menu/MenuContent.js +28 -22
  107. package/dist/components/Menu/components/Item.d.ts.map +1 -1
  108. package/dist/components/Menu/components/Item.js +8 -6
  109. package/dist/components/Menu/index.js +2 -2
  110. package/dist/components/Modal/ModalContent.d.ts.map +1 -1
  111. package/dist/components/Modal/ModalContent.js +4 -4
  112. package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
  113. package/dist/components/Modal/components/Dialog.js +14 -12
  114. package/dist/components/Notification/Notification.js +1 -1
  115. package/dist/components/NumberInput/components/Controls.d.ts +12 -0
  116. package/dist/components/NumberInput/components/Controls.d.ts.map +1 -0
  117. package/dist/components/NumberInput/components/Controls.js +78 -0
  118. package/dist/components/NumberInput/components/Unit.d.ts +8 -0
  119. package/dist/components/NumberInput/components/Unit.d.ts.map +1 -0
  120. package/dist/components/NumberInput/components/Unit.js +28 -0
  121. package/dist/components/NumberInput/index.d.ts.map +1 -1
  122. package/dist/components/NumberInput/index.js +33 -86
  123. package/dist/components/Pagination/PaginationButton.d.ts +11 -0
  124. package/dist/components/Pagination/PaginationButton.d.ts.map +1 -0
  125. package/dist/components/Pagination/PaginationButton.js +39 -0
  126. package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
  127. package/dist/components/Pagination/PaginationButtons.js +4 -25
  128. package/dist/components/PieChart/index.d.ts.map +1 -1
  129. package/dist/components/PieChart/index.js +1 -1
  130. package/dist/components/Popover/ContentWrapper.d.ts +3 -0
  131. package/dist/components/Popover/ContentWrapper.d.ts.map +1 -0
  132. package/dist/components/Popover/ContentWrapper.js +49 -0
  133. package/dist/components/Popover/index.d.ts +6 -12
  134. package/dist/components/Popover/index.d.ts.map +1 -1
  135. package/dist/components/Popover/index.js +4 -37
  136. package/dist/components/Popover/types.d.ts +26 -0
  137. package/dist/components/Popover/types.d.ts.map +1 -0
  138. package/dist/components/Popup/helpers.d.ts.map +1 -1
  139. package/dist/components/Popup/helpers.js +124 -123
  140. package/dist/components/Popup/index.d.ts.map +1 -1
  141. package/dist/components/Popup/index.js +3 -2
  142. package/dist/components/Popup/styles.css.d.ts.map +1 -1
  143. package/dist/components/Popup/styles.css.js +3 -3
  144. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  145. package/dist/components/ProgressBar/index.js +63 -60
  146. package/dist/components/ProgressBar/styles.css.js +0 -2
  147. package/dist/components/Radio/MarkedIcon.d.ts +2 -0
  148. package/dist/components/Radio/MarkedIcon.d.ts.map +1 -0
  149. package/dist/components/Radio/MarkedIcon.js +33 -0
  150. package/dist/components/Radio/index.d.ts.map +1 -1
  151. package/dist/components/Radio/index.js +3 -21
  152. package/dist/components/Radio/styles.css.js +3 -3
  153. package/dist/components/RadioGroup/Context.d.ts +9 -0
  154. package/dist/components/RadioGroup/Context.d.ts.map +1 -0
  155. package/dist/components/RadioGroup/Context.js +12 -0
  156. package/dist/components/RadioGroup/SingleRadio.d.ts +6 -0
  157. package/dist/components/RadioGroup/SingleRadio.d.ts.map +1 -0
  158. package/dist/components/RadioGroup/SingleRadio.js +40 -0
  159. package/dist/components/RadioGroup/index.d.ts +2 -4
  160. package/dist/components/RadioGroup/index.d.ts.map +1 -1
  161. package/dist/components/RadioGroup/index.js +6 -28
  162. package/dist/components/Row/index.js +1 -1
  163. package/dist/components/Row/styles.css.js +2 -2
  164. package/dist/components/SearchInput/index.d.ts.map +1 -1
  165. package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
  166. package/dist/components/SelectInput/SelectInputProvider.js +8 -63
  167. package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +12 -0
  168. package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -0
  169. package/dist/components/SelectInput/components/Dropdown/AddOption.js +48 -0
  170. package/dist/components/SelectInput/components/Dropdown/Content.d.ts +20 -0
  171. package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -0
  172. package/dist/components/SelectInput/components/Dropdown/Content.js +217 -0
  173. package/dist/components/SelectInput/components/{Dropdown.d.ts → Dropdown/Dropdown.d.ts} +1 -17
  174. package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts.map +1 -0
  175. package/dist/components/SelectInput/components/Dropdown/Dropdown.js +218 -0
  176. package/dist/components/SelectInput/components/Dropdown/Group.d.ts +5 -0
  177. package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -0
  178. package/dist/components/SelectInput/components/Dropdown/Group.js +79 -0
  179. package/dist/components/SelectInput/components/Dropdown/Item.d.ts +13 -0
  180. package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -0
  181. package/dist/components/SelectInput/components/Dropdown/Item.js +87 -0
  182. package/dist/components/SelectInput/components/{DropdownOption.d.ts → Dropdown/Option.d.ts} +2 -2
  183. package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -0
  184. package/dist/components/SelectInput/components/Dropdown/Option.js +139 -0
  185. package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts +10 -0
  186. package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -0
  187. package/dist/components/SelectInput/components/{SearchBarDropdown.js → Dropdown/SearchBar.js} +20 -24
  188. package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +4 -0
  189. package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -0
  190. package/dist/components/SelectInput/components/Dropdown/SelectAll.js +84 -0
  191. package/dist/components/SelectInput/components/{dropdown.css.d.ts → Dropdown/dropdown.css.d.ts} +4 -2
  192. package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -0
  193. package/dist/components/SelectInput/components/{dropdown.css.js → Dropdown/dropdown.css.js} +15 -13
  194. package/dist/components/SelectInput/components/Dropdown/dropdown.css.ts.vanilla.js +8 -0
  195. package/dist/components/SelectInput/components/Dropdown/index.d.ts +2 -0
  196. package/dist/components/SelectInput/components/Dropdown/index.d.ts.map +1 -0
  197. package/dist/components/SelectInput/components/Dropdown/index.js +11 -0
  198. package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -0
  199. package/dist/components/SelectInput/components/{SelectBar.js → SelectBar/SelectBar.js} +24 -125
  200. package/dist/components/SelectInput/components/SelectBar/Values.d.ts +20 -0
  201. package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -0
  202. package/dist/components/SelectInput/components/SelectBar/Values.js +93 -0
  203. package/dist/components/SelectInput/components/SelectBar/index.d.ts +2 -0
  204. package/dist/components/SelectInput/components/SelectBar/index.d.ts.map +1 -0
  205. package/dist/components/SelectInput/components/SelectBar/index.js +11 -0
  206. package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -0
  207. package/dist/components/SelectInput/components/{selectBar.css.js → SelectBar/selectBar.css.js} +19 -19
  208. package/dist/components/SelectInput/components/SelectBar/selectBar.css.ts.vanilla.js +8 -0
  209. package/dist/components/SelectInput/components/helpers.d.ts +30 -0
  210. package/dist/components/SelectInput/components/helpers.d.ts.map +1 -0
  211. package/dist/components/SelectInput/components/helpers.js +77 -0
  212. package/dist/components/SelectInput/components/index.d.ts +3 -0
  213. package/dist/components/SelectInput/components/index.d.ts.map +1 -0
  214. package/dist/components/SelectInput/components/index.js +15 -0
  215. package/dist/components/SelectInput/index.d.ts.map +1 -1
  216. package/dist/components/SelectInput/index.js +4 -4
  217. package/dist/components/SelectInput/reducerFonctions.d.ts +28 -0
  218. package/dist/components/SelectInput/reducerFonctions.d.ts.map +1 -0
  219. package/dist/components/SelectInput/reducerFonctions.js +76 -0
  220. package/dist/components/SelectInput/styles.css.d.ts +4 -2
  221. package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
  222. package/dist/components/SelectInput/styles.css.js +52 -50
  223. package/dist/components/SelectableCard/MultiStateInput.js +1 -1
  224. package/dist/components/SelectableCard/SelectableCard.js +5 -4
  225. package/dist/components/SelectableCardGroup/Context.d.ts +11 -0
  226. package/dist/components/SelectableCardGroup/Context.d.ts.map +1 -0
  227. package/dist/components/SelectableCardGroup/Context.js +13 -0
  228. package/dist/components/SelectableCardGroup/SingleCard.d.ts +5 -0
  229. package/dist/components/SelectableCardGroup/SingleCard.d.ts.map +1 -0
  230. package/dist/components/SelectableCardGroup/SingleCard.js +42 -0
  231. package/dist/components/SelectableCardGroup/index.d.ts +2 -4
  232. package/dist/components/SelectableCardGroup/index.d.ts.map +1 -1
  233. package/dist/components/SelectableCardGroup/index.js +6 -30
  234. package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
  235. package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
  236. package/dist/components/Skeleton/List.d.ts.map +1 -1
  237. package/dist/components/Skeleton/List.js +8 -9
  238. package/dist/components/Skeleton/Slider.d.ts.map +1 -1
  239. package/dist/components/Skeleton/index.js +1 -2
  240. package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
  241. package/dist/components/Slider/components/SingleSlider.js +1 -1
  242. package/dist/components/Snippet/CodeContent.d.ts +14 -0
  243. package/dist/components/Snippet/CodeContent.d.ts.map +1 -0
  244. package/dist/components/Snippet/CodeContent.js +36 -0
  245. package/dist/components/Snippet/index.d.ts +1 -1
  246. package/dist/components/Snippet/index.d.ts.map +1 -1
  247. package/dist/components/Snippet/index.js +6 -22
  248. package/dist/components/Stack/index.js +2 -2
  249. package/dist/components/Stack/styles.css.js +2 -2
  250. package/dist/components/StepList/Item.d.ts +17 -0
  251. package/dist/components/StepList/Item.d.ts.map +1 -0
  252. package/dist/components/StepList/Item.js +32 -0
  253. package/dist/components/StepList/index.d.ts +12 -15
  254. package/dist/components/StepList/index.d.ts.map +1 -1
  255. package/dist/components/StepList/index.js +4 -19
  256. package/dist/components/Stepper/Bullet.d.ts +7 -0
  257. package/dist/components/Stepper/Bullet.d.ts.map +1 -0
  258. package/dist/components/Stepper/Bullet.js +42 -0
  259. package/dist/components/Stepper/Step.d.ts.map +1 -1
  260. package/dist/components/Stepper/Step.js +8 -24
  261. package/dist/components/Stepper/index.js +1 -1
  262. package/dist/components/Table/Cell.js +1 -1
  263. package/dist/components/Table/HeaderCell.d.ts.map +1 -1
  264. package/dist/components/Table/HeaderCell.js +6 -12
  265. package/dist/components/Table/SortIcon.d.ts +4 -0
  266. package/dist/components/Table/SortIcon.d.ts.map +1 -0
  267. package/dist/components/Table/SortIcon.js +19 -0
  268. package/dist/components/Table/TableContainer.d.ts +5 -0
  269. package/dist/components/Table/TableContainer.d.ts.map +1 -0
  270. package/dist/components/Table/TableContainer.js +31 -0
  271. package/dist/components/Table/TableContext.d.ts.map +1 -1
  272. package/dist/components/Table/TableContext.js +2 -2
  273. package/dist/components/Table/index.d.ts +6 -6
  274. package/dist/components/Table/index.d.ts.map +1 -1
  275. package/dist/components/Table/index.js +6 -22
  276. package/dist/components/Table/styles.css.js +0 -2
  277. package/dist/components/Tabs/Tab.js +2 -2
  278. package/dist/components/Tabs/TabMenu.js +2 -2
  279. package/dist/components/Tabs/TabMenuItem.js +2 -2
  280. package/dist/components/Tabs/index.js +2 -2
  281. package/dist/components/Tag/TagInner.d.ts +5 -0
  282. package/dist/components/Tag/TagInner.d.ts.map +1 -0
  283. package/dist/components/Tag/TagInner.js +48 -0
  284. package/dist/components/Tag/index.d.ts +1 -31
  285. package/dist/components/Tag/index.d.ts.map +1 -1
  286. package/dist/components/Tag/index.js +7 -40
  287. package/dist/components/Tag/type.d.ts +31 -0
  288. package/dist/components/Tag/type.d.ts.map +1 -0
  289. package/dist/components/TagInput/index.js +1 -1
  290. package/dist/components/TagList/constant.d.ts +2 -0
  291. package/dist/components/TagList/constant.d.ts.map +1 -1
  292. package/dist/components/TagList/constant.js +3 -2
  293. package/dist/components/TagList/index.d.ts +1 -1
  294. package/dist/components/TagList/index.d.ts.map +1 -1
  295. package/dist/components/TagList/index.js +33 -27
  296. package/dist/components/TagList/styles.css.d.ts.map +1 -1
  297. package/dist/components/Text/index.js +1 -1
  298. package/dist/components/Text/style.css.js +0 -2
  299. package/dist/components/TextArea/Icon.d.ts +5 -0
  300. package/dist/components/TextArea/Icon.d.ts.map +1 -0
  301. package/dist/components/TextArea/Icon.js +19 -0
  302. package/dist/components/TextArea/Notice.d.ts +11 -0
  303. package/dist/components/TextArea/Notice.d.ts.map +1 -0
  304. package/dist/components/TextArea/Notice.js +41 -0
  305. package/dist/components/TextArea/constant.d.ts +2 -0
  306. package/dist/components/TextArea/constant.d.ts.map +1 -0
  307. package/dist/components/TextArea/constant.js +11 -0
  308. package/dist/components/TextArea/index.d.ts.map +1 -1
  309. package/dist/components/TextArea/index.js +29 -48
  310. package/dist/components/TextInput/BottomText.d.ts +3 -0
  311. package/dist/components/TextInput/BottomText.d.ts.map +1 -0
  312. package/dist/components/TextInput/BottomText.js +29 -0
  313. package/dist/components/TextInput/PrefixSuffix.d.ts +7 -0
  314. package/dist/components/TextInput/PrefixSuffix.d.ts.map +1 -0
  315. package/dist/components/TextInput/PrefixSuffix.js +30 -0
  316. package/dist/components/TextInput/RightIcon.d.ts +10 -0
  317. package/dist/components/TextInput/RightIcon.d.ts.map +1 -0
  318. package/dist/components/TextInput/RightIcon.js +62 -0
  319. package/dist/components/TextInput/ShowHidePassword.d.ts +7 -0
  320. package/dist/components/TextInput/ShowHidePassword.d.ts.map +1 -0
  321. package/dist/components/TextInput/ShowHidePassword.js +36 -0
  322. package/dist/components/TextInput/index.d.ts +5 -6
  323. package/dist/components/TextInput/index.d.ts.map +1 -1
  324. package/dist/components/TextInput/index.js +46 -106
  325. package/dist/components/TextInput/type.d.ts +25 -0
  326. package/dist/components/TextInput/type.d.ts.map +1 -0
  327. package/dist/components/TimeInput/RightIcon.d.ts +9 -0
  328. package/dist/components/TimeInput/RightIcon.d.ts.map +1 -0
  329. package/dist/components/TimeInput/RightIcon.js +36 -0
  330. package/dist/components/TimeInput/index.d.ts.map +1 -1
  331. package/dist/components/TimeInput/index.js +17 -29
  332. package/dist/components/Toaster/Toaster.js +1 -1
  333. package/dist/components/ToggleGroup/Context.d.ts +9 -0
  334. package/dist/components/ToggleGroup/Context.d.ts.map +1 -0
  335. package/dist/components/ToggleGroup/Context.js +13 -0
  336. package/dist/components/ToggleGroup/SingleToggle.d.ts +11 -0
  337. package/dist/components/ToggleGroup/SingleToggle.d.ts.map +1 -0
  338. package/dist/components/ToggleGroup/SingleToggle.js +37 -0
  339. package/dist/components/ToggleGroup/index.d.ts +2 -9
  340. package/dist/components/ToggleGroup/index.d.ts.map +1 -1
  341. package/dist/components/ToggleGroup/index.js +6 -25
  342. package/dist/components/TreeMapChart/index.js +1 -1
  343. package/dist/components/VerificationCode/index.js +2 -3
  344. package/dist/components/compositions/CodeEditor/components/CopyButton.d.ts +5 -0
  345. package/dist/components/compositions/CodeEditor/components/CopyButton.d.ts.map +1 -0
  346. package/dist/components/compositions/CodeEditor/components/CopyButton.js +24 -0
  347. package/dist/components/compositions/CodeEditor/components/Expandable.d.ts +8 -0
  348. package/dist/components/compositions/CodeEditor/components/Expandable.d.ts.map +1 -0
  349. package/dist/components/compositions/CodeEditor/components/Expandable.js +37 -0
  350. package/dist/components/compositions/CodeEditor/index.d.ts +4 -38
  351. package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -1
  352. package/dist/components/compositions/CodeEditor/index.js +6 -33
  353. package/dist/components/compositions/CodeEditor/styles.css.js +2 -0
  354. package/dist/components/compositions/CodeEditor/type.d.ts +38 -0
  355. package/dist/components/compositions/CodeEditor/type.d.ts.map +1 -0
  356. package/dist/components/compositions/ContentCard/Content.d.ts +0 -10
  357. package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -1
  358. package/dist/components/compositions/ContentCard/Content.js +2 -30
  359. package/dist/components/compositions/ContentCard/ImageContent.d.ts +7 -0
  360. package/dist/components/compositions/ContentCard/ImageContent.d.ts.map +1 -0
  361. package/dist/components/compositions/ContentCard/ImageContent.js +23 -0
  362. package/dist/components/compositions/ContentCard/LinkContent.d.ts +5 -0
  363. package/dist/components/compositions/ContentCard/LinkContent.d.ts.map +1 -0
  364. package/dist/components/compositions/ContentCard/LinkContent.js +30 -0
  365. package/dist/components/compositions/ContentCard/index.d.ts.map +1 -1
  366. package/dist/components/compositions/ContentCard/index.js +5 -1
  367. package/dist/components/compositions/ContentCardGroup/index.d.ts.map +1 -1
  368. package/dist/components/compositions/Conversation/components/Date.d.ts +6 -0
  369. package/dist/components/compositions/Conversation/components/Date.d.ts.map +1 -0
  370. package/dist/components/compositions/Conversation/components/Date.js +23 -0
  371. package/dist/components/compositions/Conversation/components/Message.d.ts +11 -0
  372. package/dist/components/compositions/Conversation/components/Message.d.ts.map +1 -0
  373. package/dist/components/compositions/Conversation/components/Message.js +28 -0
  374. package/dist/components/compositions/Conversation/components/MessageInfos.d.ts +7 -0
  375. package/dist/components/compositions/Conversation/components/MessageInfos.d.ts.map +1 -0
  376. package/dist/components/compositions/Conversation/components/MessageInfos.js +18 -0
  377. package/dist/components/compositions/Conversation/components/MessageTag.d.ts +6 -0
  378. package/dist/components/compositions/Conversation/components/MessageTag.d.ts.map +1 -0
  379. package/dist/components/compositions/Conversation/components/MessageTag.js +20 -0
  380. package/dist/components/compositions/Conversation/index.d.ts +7 -22
  381. package/dist/components/compositions/Conversation/index.d.ts.map +1 -1
  382. package/dist/components/compositions/Conversation/index.js +10 -41
  383. package/dist/components/compositions/EstimateCost/Components/Children.d.ts +3 -0
  384. package/dist/components/compositions/EstimateCost/Components/Children.d.ts.map +1 -0
  385. package/dist/components/compositions/EstimateCost/Components/Children.js +52 -0
  386. package/dist/components/compositions/EstimateCost/Components/{ContentComponents.d.ts → Description.d.ts} +2 -8
  387. package/dist/components/compositions/EstimateCost/Components/Description.d.ts.map +1 -0
  388. package/dist/components/compositions/EstimateCost/Components/Description.js +19 -0
  389. package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -1
  390. package/dist/components/compositions/EstimateCost/Components/Item.js +1 -1
  391. package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +1 -1
  392. package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -1
  393. package/dist/components/compositions/EstimateCost/Components/LineThrough.js +2 -2
  394. package/dist/components/compositions/EstimateCost/Components/Title.d.ts +5 -0
  395. package/dist/components/compositions/EstimateCost/Components/Title.d.ts.map +1 -0
  396. package/dist/components/compositions/EstimateCost/Components/Title.js +23 -0
  397. package/dist/components/compositions/EstimateCost/Components/Total.d.ts +3 -0
  398. package/dist/components/compositions/EstimateCost/Components/Total.d.ts.map +1 -0
  399. package/dist/components/compositions/EstimateCost/Components/{ContentComponents.js → Total.js} +6 -54
  400. package/dist/components/compositions/EstimateCost/Components/Unit.js +1 -1
  401. package/dist/components/compositions/EstimateCost/Components/components.css.js +2 -3
  402. package/dist/components/compositions/EstimateCost/Ellipsis.d.ts +7 -0
  403. package/dist/components/compositions/EstimateCost/Ellipsis.d.ts.map +1 -0
  404. package/dist/components/compositions/EstimateCost/Ellipsis.js +37 -0
  405. package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -1
  406. package/dist/components/compositions/EstimateCost/EstimateCostContent.js +8 -4
  407. package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +1 -1
  408. package/dist/components/compositions/EstimateCost/Image.d.ts +2 -0
  409. package/dist/components/compositions/EstimateCost/Image.d.ts.map +1 -0
  410. package/dist/components/compositions/EstimateCost/Image.js +21 -0
  411. package/dist/components/compositions/EstimateCost/index.d.ts +10 -11
  412. package/dist/components/compositions/EstimateCost/index.d.ts.map +1 -1
  413. package/dist/components/compositions/EstimateCost/index.js +5 -35
  414. package/dist/components/compositions/EstimateCost/types.d.ts +1 -1
  415. package/dist/components/compositions/EstimateCost/types.d.ts.map +1 -1
  416. package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +1 -1
  417. package/dist/components/compositions/InfoTable/components/Cell.js +2 -1
  418. package/dist/components/compositions/InfoTable/components/Row.js +1 -1
  419. package/dist/components/compositions/InfoTable/styles.css.d.ts +1 -0
  420. package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -1
  421. package/dist/components/compositions/InfoTable/styles.css.js +2 -3
  422. package/dist/components/compositions/Navigation/NavigationProvider.js +1 -1
  423. package/dist/components/compositions/Navigation/components/Group.js +1 -1
  424. package/dist/components/compositions/Navigation/components/Item/Badge.d.ts +5 -0
  425. package/dist/components/compositions/Navigation/components/Item/Badge.d.ts.map +1 -0
  426. package/dist/components/compositions/Navigation/components/Item/Badge.js +23 -0
  427. package/dist/components/compositions/Navigation/components/Item/Children.d.ts +5 -0
  428. package/dist/components/compositions/Navigation/components/Item/Children.d.ts.map +1 -0
  429. package/dist/components/compositions/Navigation/components/Item/Children.js +39 -0
  430. package/dist/components/compositions/Navigation/components/Item/Content.d.ts +3 -0
  431. package/dist/components/compositions/Navigation/components/Item/Content.d.ts.map +1 -0
  432. package/dist/components/compositions/Navigation/components/Item/Content.js +80 -0
  433. package/dist/components/compositions/Navigation/components/{Item.d.ts → Item/Item.d.ts} +2 -2
  434. package/dist/components/compositions/Navigation/components/Item/Item.d.ts.map +1 -0
  435. package/dist/components/compositions/Navigation/components/{Item.js → Item/Item.js} +35 -8
  436. package/dist/components/compositions/Navigation/components/{ItemExpanded.d.ts → Item/ItemExpanded.d.ts} +1 -1
  437. package/dist/components/compositions/Navigation/components/Item/ItemExpanded.d.ts.map +1 -0
  438. package/dist/components/compositions/Navigation/components/{ItemExpanded.js → Item/ItemExpanded.js} +16 -92
  439. package/dist/components/compositions/Navigation/components/Item/ItemProvider.d.ts.map +1 -0
  440. package/dist/components/compositions/Navigation/components/{ItemProvider.js → Item/ItemProvider.js} +2 -2
  441. package/dist/components/compositions/Navigation/components/{ItemFragments.d.ts → Item/PinnedButton.d.ts} +2 -5
  442. package/dist/components/compositions/Navigation/components/Item/PinnedButton.d.ts.map +1 -0
  443. package/dist/components/compositions/Navigation/components/{ItemFragments.js → Item/PinnedButton.js} +9 -19
  444. package/dist/components/compositions/Navigation/components/Menu/Menu.d.ts +3 -0
  445. package/dist/components/compositions/Navigation/components/Menu/Menu.d.ts.map +1 -0
  446. package/dist/components/compositions/Navigation/components/Menu/Menu.js +73 -0
  447. package/dist/components/compositions/Navigation/components/{ItemMenu.d.ts → Menu/MenuItem.d.ts} +2 -3
  448. package/dist/components/compositions/Navigation/components/Menu/MenuItem.d.ts.map +1 -0
  449. package/dist/components/compositions/Navigation/components/{ItemMenu.js → Menu/MenuItem.js} +16 -65
  450. package/dist/components/compositions/Navigation/components/Menu/NestedMenu.d.ts +3 -0
  451. package/dist/components/compositions/Navigation/components/Menu/NestedMenu.d.ts.map +1 -0
  452. package/dist/components/compositions/Navigation/components/Menu/NestedMenu.js +51 -0
  453. package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -1
  454. package/dist/components/compositions/Navigation/components/PinnedItems.js +2 -2
  455. package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +1 -1
  456. package/dist/components/compositions/Navigation/index.js +1 -1
  457. package/dist/components/compositions/OfferList/components/Row.d.ts +1 -1
  458. package/dist/components/compositions/OfferList/components/Row.d.ts.map +1 -1
  459. package/dist/components/compositions/OfferList/components/Row.js +13 -47
  460. package/dist/components/compositions/OfferList/components/SelectableCell.d.ts +21 -0
  461. package/dist/components/compositions/OfferList/components/SelectableCell.d.ts.map +1 -0
  462. package/dist/components/compositions/OfferList/components/SelectableCell.js +71 -0
  463. package/dist/components/compositions/OfferList/index.d.ts.map +1 -1
  464. package/dist/components/compositions/OptionSelector/styles.css.js +178 -2
  465. package/dist/components/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -1
  466. package/dist/components/compositions/OrderSummary/ScrollableContent.js +6 -221
  467. package/dist/components/compositions/OrderSummary/components/Category.d.ts +5 -0
  468. package/dist/components/compositions/OrderSummary/components/Category.d.ts.map +1 -0
  469. package/dist/components/compositions/OrderSummary/components/Category.js +125 -0
  470. package/dist/components/compositions/OrderSummary/components/SubCategory.d.ts +5 -0
  471. package/dist/components/compositions/OrderSummary/components/SubCategory.d.ts.map +1 -0
  472. package/dist/components/compositions/OrderSummary/components/SubCategory.js +104 -0
  473. package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.d.ts +5 -0
  474. package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -0
  475. package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.js +50 -0
  476. package/dist/components/compositions/OrderSummary/helpers.js +1 -1
  477. package/dist/components/compositions/OrderSummary/index.d.ts +4 -0
  478. package/dist/components/compositions/OrderSummary/index.d.ts.map +1 -1
  479. package/dist/components/compositions/Plans/index.d.ts +3 -0
  480. package/dist/components/compositions/Plans/index.d.ts.map +1 -1
  481. package/dist/components/index.js +5 -4
  482. package/dist/components/styles.js +20 -20
  483. package/dist/helpers/legend.d.ts +15 -15
  484. package/dist/helpers/nivoTheme.d.ts +15 -15
  485. package/dist/helpers/treeMap.d.ts +15 -15
  486. package/dist/index.js +9 -8
  487. package/dist/theme/ThemeProvider.d.ts +15 -15
  488. package/dist/theme/index.d.ts +42 -42
  489. package/dist/ui.css +1 -1
  490. package/package.json +12 -6
  491. package/dist/components/SelectInput/components/Dropdown.d.ts.map +0 -1
  492. package/dist/components/SelectInput/components/Dropdown.js +0 -741
  493. package/dist/components/SelectInput/components/DropdownOption.d.ts.map +0 -1
  494. package/dist/components/SelectInput/components/DropdownOption.js +0 -163
  495. package/dist/components/SelectInput/components/SearchBarDropdown.d.ts +0 -10
  496. package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +0 -1
  497. package/dist/components/SelectInput/components/SelectBar.d.ts.map +0 -1
  498. package/dist/components/SelectInput/components/dropdown.css.d.ts.map +0 -1
  499. package/dist/components/SelectInput/components/dropdown.css.ts.vanilla.js +0 -8
  500. package/dist/components/SelectInput/components/selectBar.css.d.ts.map +0 -1
  501. package/dist/components/SelectInput/components/selectBar.css.ts.vanilla.js +0 -8
  502. package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +0 -1
  503. package/dist/components/compositions/Navigation/components/Item.d.ts.map +0 -1
  504. package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +0 -1
  505. package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +0 -1
  506. package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +0 -1
  507. package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +0 -1
  508. /package/dist/components/SelectInput/components/{SelectBar.d.ts → SelectBar/SelectBar.d.ts} +0 -0
  509. /package/dist/components/SelectInput/components/{selectBar.css.d.ts → SelectBar/selectBar.css.d.ts} +0 -0
  510. /package/dist/components/compositions/Navigation/components/{ItemProvider.d.ts → Item/ItemProvider.d.ts} +0 -0
@@ -1,13 +1,189 @@
1
1
  import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
2
- import { init_dropdown_css_ts_vanilla } from "../../SelectInput/components/dropdown.css.ts.vanilla.js";
3
- import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
2
+ import { init_variables_css_ts_vanilla } from "../../Stack/variables.css.ts.vanilla.js";
3
+ import { init_styles_css_ts_vanilla } from "../../Stack/styles.css.ts.vanilla.js";
4
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$1 } from "../../TagList/styles.css.ts.vanilla.js";
5
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$2 } from "../../Popup/styles.css.ts.vanilla.js";
6
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$3 } from "../../Tooltip/styles.css.ts.vanilla.js";
7
+ import { init_style_css_ts_vanilla } from "../../Text/style.css.ts.vanilla.js";
8
+ import { init_animationsVanillaExtract_css_ts_vanilla } from "../../../utils/animations/animationsVanillaExtract.css.ts.vanilla.js";
9
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$4 } from "../../Loader/styles.css.ts.vanilla.js";
10
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$5 } from "../../Button/styles.css.ts.vanilla.js";
11
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$6 } from "../../Menu/styles.css.ts.vanilla.js";
12
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$7 } from "../../Label/styles.css.ts.vanilla.js";
13
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$8 } from "../../SearchInput/styles.css.ts.vanilla.js";
14
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$9 } from "../../TextInput/styles.css.ts.vanilla.js";
15
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$10 } from "../../Key/styles.css.ts.vanilla.js";
16
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$11 } from "../../Badge/styles.css.ts.vanilla.js";
17
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$12 } from "../../Expandable/styles.css.ts.vanilla.js";
18
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$13 } from "../../Drawer/styles.css.ts.vanilla.js";
19
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$14 } from "../../Separator/styles.css.ts.vanilla.js";
20
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$1 } from "../../Row/variables.css.ts.vanilla.js";
21
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$15 } from "../../Row/styles.css.ts.vanilla.js";
22
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$16 } from "../../NumberInput/styles.css.ts.vanilla.js";
23
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$17 } from "../../Alert/styles.css.ts.vanilla.js";
24
+ import { init_dropdown_css_ts_vanilla } from "../../SelectInput/components/Dropdown/dropdown.css.ts.vanilla.js";
25
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$18 } from "../../SelectableCardOptionGroup/styles.css.ts.vanilla.js";
26
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$19 } from "../../UnitInput/styles.css.ts.vanilla.js";
27
+ import { init_selectBar_css_ts_vanilla } from "../../SelectInput/components/SelectBar/selectBar.css.ts.vanilla.js";
28
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$20 } from "../../SelectInput/styles.css.ts.vanilla.js";
29
+ import { init_stylesVariants_css_ts_vanilla } from "../../Skeleton/stylesVariants.css.ts.vanilla.js";
30
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$21 } from "../../Skeleton/styles.css.ts.vanilla.js";
31
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$22 } from "../../CheckboxGroup/styles.css.ts.vanilla.js";
32
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$23 } from "../../List/styles.css.ts.vanilla.js";
33
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$24 } from "../../SelectableCard/styles.css.ts.vanilla.js";
34
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$25 } from "../../Checkbox/styles.css.ts.vanilla.js";
35
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$26 } from "../../Tag/styles.css.ts.vanilla.js";
36
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$27 } from "../../Bullet/styles.css.ts.vanilla.js";
37
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$28 } from "../../Card/styles.css.ts.vanilla.js";
38
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$29 } from "../../ActionBar/styles.css.ts.vanilla.js";
39
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$30 } from "../../SwitchButton/styles.css.ts.vanilla.js";
40
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$31 } from "../../Radio/styles.css.ts.vanilla.js";
41
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$2 } from "../../Avatar/variables.css.ts.vanilla.js";
42
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$32 } from "../../Avatar/styles.css.ts.vanilla.js";
43
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$33 } from "../../Banner/styles.css.ts.vanilla.js";
44
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$34 } from "../../BarChart/styles.css.ts.vanilla.js";
45
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$35 } from "../../BarStack/styles.css.ts.vanilla.js";
46
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$36 } from "../../Breadcrumbs/components/styles.css.ts.vanilla.js";
47
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$37 } from "../../Breadcrumbs/styles.css.ts.vanilla.js";
48
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$38 } from "../../Carousel/styles.css.ts.vanilla.js";
49
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$3 } from "../../List/variables.css.ts.vanilla.js";
50
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$4 } from "../../SelectableCard/variables.css.ts.vanilla.js";
51
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$39 } from "../../Chip/styles.css.ts.vanilla.js";
52
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$40 } from "../../DateInput/components/styles.css.ts.vanilla.js";
53
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$41 } from "../../DateInput/styles.css.ts.vanilla.js";
54
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$42 } from "../../Dialog/styles.css.ts.vanilla.js";
55
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$43 } from "../../EmptyState/styles.css.ts.vanilla.js";
56
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$44 } from "../../ExpandableCard/styles.css.ts.vanilla.js";
57
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$45 } from "../../FileInput/styles.css.ts.vanilla.js";
58
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$46 } from "../../GlobalAlert/styles.css.ts.vanilla.js";
59
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$47 } from "../../LineChart/styles.css.ts.vanilla.js";
60
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$48 } from "../../Link/styles.css.ts.vanilla.js";
61
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$49 } from "../../Meter/styles.css.ts.vanilla.js";
62
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$50 } from "../../Modal/styles.css.ts.vanilla.js";
63
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$51 } from "../../Notice/styles.css.ts.vanilla.js";
64
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$52 } from "../../Notification/styles.css.ts.vanilla.js";
65
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$53 } from "../../Pagination/styles.css.ts.vanilla.js";
66
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$54 } from "../../PasswordCheck/styles.css.ts.vanilla.js";
67
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$55 } from "../../PieChart/styles.css.ts.vanilla.js";
68
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$56 } from "../../Popover/styles.css.ts.vanilla.js";
69
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$5 } from "../../Popup/variables.css.ts.vanilla.js";
70
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$6 } from "../../ProgressBar/variables.css.ts.vanilla.js";
71
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$57 } from "../../ProgressBar/styles.css.ts.vanilla.js";
72
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$58 } from "../../RadioGroup/styles.css.ts.vanilla.js";
73
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$59 } from "../../SelectableCardGroup/styles.css.ts.vanilla.js";
74
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$60 } from "../../Slider/styles.css.ts.vanilla.js";
75
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$61 } from "../../Snippet/styles.css.ts.vanilla.js";
76
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$62 } from "../../Status/styles.css.ts.vanilla.js";
77
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$63 } from "../../StepList/styles.css.ts.vanilla.js";
78
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$64 } from "../../Stepper/styles.css.ts.vanilla.js";
79
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$7 } from "../../Table/variables.css.ts.vanilla.js";
80
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$65 } from "../../Table/styles.css.ts.vanilla.js";
81
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$66 } from "../../Tabs/styles.css.ts.vanilla.js";
82
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$67 } from "../../TagInput/styles.css.ts.vanilla.js";
83
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$8 } from "../../Text/variables.css.ts.vanilla.js";
84
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$68 } from "../../TextArea/styles.css.ts.vanilla.js";
85
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$69 } from "../../TimeInput/styles.css.ts.vanilla.js";
86
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$70 } from "../../Toaster/styles.css.ts.vanilla.js";
87
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$71 } from "../../Toggle/styles.css.ts.vanilla.js";
88
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$72 } from "../../ToggleGroup/styles.css.ts.vanilla.js";
89
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$73 } from "../../TreeMapChart/styles.css.ts.vanilla.js";
90
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$74 } from "../../VerificationCode/styles.css.ts.vanilla.js";
91
+ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$75 } from "./styles.css.ts.vanilla.js";
4
92
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
5
93
 
6
94
  //#region src/components/compositions/OptionSelector/styles.css.ts
7
95
  var optionSelectorStyle;
8
96
  var init_styles_css = __esmMin(() => {
97
+ init_animationsVanillaExtract_css_ts_vanilla();
98
+ init_styles_css_ts_vanilla$29();
99
+ init_styles_css_ts_vanilla$17();
100
+ init_variables_css_ts_vanilla$2();
101
+ init_styles_css_ts_vanilla$32();
102
+ init_styles_css_ts_vanilla$11();
103
+ init_styles_css_ts_vanilla$33();
104
+ init_styles_css_ts_vanilla$34();
105
+ init_styles_css_ts_vanilla$35();
106
+ init_styles_css_ts_vanilla$36();
107
+ init_styles_css_ts_vanilla$37();
108
+ init_styles_css_ts_vanilla$27();
109
+ init_styles_css_ts_vanilla$5();
110
+ init_styles_css_ts_vanilla$28();
111
+ init_styles_css_ts_vanilla$38();
112
+ init_styles_css_ts_vanilla$22();
113
+ init_variables_css_ts_vanilla$3();
114
+ init_styles_css_ts_vanilla$23();
115
+ init_variables_css_ts_vanilla$4();
116
+ init_styles_css_ts_vanilla$24();
117
+ init_styles_css_ts_vanilla$25();
118
+ init_styles_css_ts_vanilla$39();
119
+ init_styles_css_ts_vanilla$40();
120
+ init_styles_css_ts_vanilla$41();
121
+ init_styles_css_ts_vanilla$42();
122
+ init_styles_css_ts_vanilla$13();
123
+ init_styles_css_ts_vanilla$43();
124
+ init_styles_css_ts_vanilla$12();
125
+ init_styles_css_ts_vanilla$44();
126
+ init_styles_css_ts_vanilla$45();
127
+ init_styles_css_ts_vanilla$46();
128
+ init_styles_css_ts_vanilla$10();
129
+ init_styles_css_ts_vanilla$7();
130
+ init_styles_css_ts_vanilla$47();
131
+ init_styles_css_ts_vanilla$48();
132
+ init_styles_css_ts_vanilla$4();
133
+ init_styles_css_ts_vanilla$6();
134
+ init_styles_css_ts_vanilla$49();
135
+ init_styles_css_ts_vanilla$50();
136
+ init_styles_css_ts_vanilla$51();
137
+ init_styles_css_ts_vanilla$52();
138
+ init_styles_css_ts_vanilla$16();
139
+ init_styles_css_ts_vanilla$53();
140
+ init_styles_css_ts_vanilla$54();
141
+ init_styles_css_ts_vanilla$55();
142
+ init_styles_css_ts_vanilla$56();
143
+ init_styles_css_ts_vanilla$1();
144
+ init_variables_css_ts_vanilla$5();
145
+ init_styles_css_ts_vanilla$2();
146
+ init_variables_css_ts_vanilla$6();
147
+ init_styles_css_ts_vanilla$57();
148
+ init_styles_css_ts_vanilla$18();
149
+ init_styles_css_ts_vanilla$30();
150
+ init_styles_css_ts_vanilla$31();
151
+ init_styles_css_ts_vanilla$58();
152
+ init_variables_css_ts_vanilla$1();
153
+ init_styles_css_ts_vanilla$15();
154
+ init_styles_css_ts_vanilla$8();
155
+ init_styles_css_ts_vanilla$59();
9
156
  init_dropdown_css_ts_vanilla();
157
+ init_styles_css_ts_vanilla$19();
158
+ init_selectBar_css_ts_vanilla();
159
+ init_styles_css_ts_vanilla$20();
160
+ init_styles_css_ts_vanilla$14();
161
+ init_stylesVariants_css_ts_vanilla();
162
+ init_styles_css_ts_vanilla$21();
163
+ init_styles_css_ts_vanilla$60();
164
+ init_styles_css_ts_vanilla$61();
165
+ init_variables_css_ts_vanilla();
10
166
  init_styles_css_ts_vanilla();
167
+ init_styles_css_ts_vanilla$62();
168
+ init_styles_css_ts_vanilla$63();
169
+ init_styles_css_ts_vanilla$64();
170
+ init_variables_css_ts_vanilla$7();
171
+ init_styles_css_ts_vanilla$65();
172
+ init_styles_css_ts_vanilla$66();
173
+ init_styles_css_ts_vanilla$26();
174
+ init_styles_css_ts_vanilla$67();
175
+ init_variables_css_ts_vanilla$8();
176
+ init_style_css_ts_vanilla();
177
+ init_styles_css_ts_vanilla$68();
178
+ init_styles_css_ts_vanilla$9();
179
+ init_styles_css_ts_vanilla$69();
180
+ init_styles_css_ts_vanilla$70();
181
+ init_styles_css_ts_vanilla$71();
182
+ init_styles_css_ts_vanilla$72();
183
+ init_styles_css_ts_vanilla$3();
184
+ init_styles_css_ts_vanilla$73();
185
+ init_styles_css_ts_vanilla$74();
186
+ init_styles_css_ts_vanilla$75();
11
187
  optionSelectorStyle = {
12
188
  arrow: {
13
189
  horizontal: "uv_12opk3la",
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"AAkUA,eAAO,MAAM,iBAAiB,+CAqC7B,CAAA"}
1
+ {"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,iBAAiB,+CAqC7B,CAAA"}
@@ -1,235 +1,20 @@
1
1
  import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
2
2
  import { Stack, init_Stack } from "../../Stack/index.js";
3
- import { Text, init_Text } from "../../Text/index.js";
4
- import { NumberInput, init_NumberInput } from "../../NumberInput/index.js";
5
3
  import { OrderSummaryContext, init_Provider } from "./Provider.js";
6
- import { DisplayPrice, calculateSubCategoryPrice, formatNumber, init_helpers } from "./helpers.js";
7
4
  import { init_styles_css, orderSummaryStyle } from "./styles.css.js";
5
+ import { CategoryName, init_Category } from "./components/Category.js";
6
+ import { SubCategory, init_SubCategory } from "./components/SubCategory.js";
8
7
  import { useContext } from "react";
9
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
- import { AttachIcon } from "@ultraviolet/icons/AttachIcon";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
11
9
 
12
10
  //#region src/components/compositions/OrderSummary/ScrollableContent.tsx
13
- var SubCategoryPrice, CategoryName, SubCategory, ScrollableContent;
11
+ var ScrollableContent;
14
12
  var init_ScrollableContent = __esmMin(() => {
15
- init_NumberInput();
16
13
  init_Stack();
17
- init_Text();
18
- init_helpers();
14
+ init_Category();
15
+ init_SubCategory();
19
16
  init_Provider();
20
17
  init_styles_css();
21
- SubCategoryPrice = ({ subCategory }) => {
22
- const { currency, localeFormat, hideTimeUnit, timePeriodAmount, timePeriodUnit, fractionDigits } = useContext(OrderSummaryContext);
23
- const subCategoryPrice = calculateSubCategoryPrice(subCategory, hideTimeUnit, timePeriodAmount, timePeriodUnit);
24
- const getCorrectPrice = (variant, index) => subCategory.priceUnit ? subCategory.price : subCategoryPrice[variant][index];
25
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [subCategory.price !== void 0 && !subCategory.hidePrice && subCategoryPrice.default[0] === subCategoryPrice.discounted[0] && subCategoryPrice.default[1] === subCategoryPrice.discounted[1] ? /* @__PURE__ */ jsxs(Text, {
26
- as: "span",
27
- prominence: "strong",
28
- sentiment: "neutral",
29
- variant: "bodySmallStrong",
30
- 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}` : ""]
31
- }) : null, subCategory.price !== void 0 && !subCategory.hidePrice && (subCategoryPrice.default[0] !== subCategoryPrice.discounted[0] || subCategoryPrice.default[1] !== subCategoryPrice.discounted[1]) ? /* @__PURE__ */ jsxs(Stack, {
32
- alignItems: "center",
33
- direction: "row",
34
- gap: 1,
35
- children: [/* @__PURE__ */ jsxs(Text, {
36
- as: "span",
37
- prominence: "weak",
38
- sentiment: "neutral",
39
- strikeThrough: true,
40
- variant: "bodySmallStrong",
41
- 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}` : ""]
42
- }), /* @__PURE__ */ jsxs(Text, {
43
- as: "span",
44
- prominence: "strong",
45
- sentiment: "neutral",
46
- variant: "bodySmallStrong",
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}` : ""]
48
- })]
49
- }) : null] });
50
- };
51
- CategoryName = ({ category }) => {
52
- var _categoriesPrice$cate;
53
- const { categoriesPrice } = useContext(OrderSummaryContext);
54
- const categoryPrice = (_categoriesPrice$cate = categoriesPrice[category.category]) !== null && _categoriesPrice$cate !== void 0 ? _categoriesPrice$cate : {
55
- maxPrice: 0,
56
- maxPriceWithDiscount: 0,
57
- timeUnit: "hours",
58
- totalPrice: 0,
59
- totalPriceWithDiscount: 0
60
- };
61
- return category.category ? /* @__PURE__ */ jsxs(Stack, {
62
- alignItems: "center",
63
- direction: "row",
64
- justifyContent: "space-between",
65
- children: [
66
- category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, {
67
- alignItems: "center",
68
- direction: "row",
69
- gap: 1,
70
- children: [/* @__PURE__ */ jsx(Text, {
71
- as: "span",
72
- prominence: "strong",
73
- sentiment: "neutral",
74
- variant: "bodyStrong",
75
- children: category.anchor ? /* @__PURE__ */ jsxs("a", {
76
- className: orderSummaryStyle.anchor,
77
- href: category.anchor,
78
- children: [/* @__PURE__ */ jsx(AttachIcon, {
79
- className: orderSummaryStyle.anchorIcon({ size: "medium" }),
80
- sentiment: "info"
81
- }), category.category]
82
- }) : category.category
83
- }), /* @__PURE__ */ jsx(Text, {
84
- as: "span",
85
- italic: true,
86
- sentiment: "primary",
87
- variant: "bodySmall",
88
- children: category.additionalInfo
89
- })]
90
- }) : /* @__PURE__ */ jsx(Text, {
91
- as: "span",
92
- prominence: "strong",
93
- sentiment: "neutral",
94
- variant: "bodyStrong",
95
- children: category.anchor ? /* @__PURE__ */ jsxs("a", {
96
- className: orderSummaryStyle.anchor,
97
- href: category.anchor,
98
- children: [/* @__PURE__ */ jsx(AttachIcon, {
99
- className: orderSummaryStyle.anchorIcon({ size: "medium" }),
100
- sentiment: "info"
101
- }), category.category]
102
- }) : category.category
103
- }),
104
- category.customContent,
105
- category.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
106
- className: orderSummaryStyle.numberInput,
107
- controls: category.numberInputControls,
108
- onChange: category.onChangeInput,
109
- size: "small",
110
- unit: category.numberInputUnit,
111
- value: category.numberInputValue
112
- }) : null,
113
- !(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(Text, {
114
- as: "span",
115
- prominence: "strong",
116
- sentiment: "neutral",
117
- variant: "bodyStrong",
118
- children: /* @__PURE__ */ jsx(DisplayPrice, {
119
- beforeOrAfter: "after",
120
- price: categoryPrice
121
- })
122
- }) : null,
123
- !(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, {
124
- alignItems: "center",
125
- direction: "row",
126
- gap: 1,
127
- children: [/* @__PURE__ */ jsx(Text, {
128
- as: "span",
129
- prominence: "weak",
130
- sentiment: "neutral",
131
- strikeThrough: true,
132
- variant: "bodySmallStrong",
133
- children: /* @__PURE__ */ jsx(DisplayPrice, {
134
- beforeOrAfter: "before",
135
- price: categoryPrice
136
- })
137
- }), /* @__PURE__ */ jsx(Text, {
138
- as: "span",
139
- prominence: "strong",
140
- sentiment: "neutral",
141
- variant: "bodyStrong",
142
- children: /* @__PURE__ */ jsx(DisplayPrice, {
143
- beforeOrAfter: "after",
144
- price: categoryPrice
145
- })
146
- })]
147
- }) : null
148
- ]
149
- }) : null;
150
- };
151
- SubCategory = ({ subCategory }) => {
152
- var _subCategory$details;
153
- return /* @__PURE__ */ jsxs(Stack, {
154
- direction: "column",
155
- gap: 1,
156
- children: [/* @__PURE__ */ jsxs(Stack, {
157
- alignItems: "center",
158
- direction: "row",
159
- justifyContent: "space-between",
160
- children: [
161
- subCategory.additionalInfo || subCategory.icon ? /* @__PURE__ */ jsxs(Stack, {
162
- alignItems: "center",
163
- direction: "row",
164
- gap: 1,
165
- children: [
166
- subCategory.icon,
167
- /* @__PURE__ */ jsx(Text, {
168
- as: "span",
169
- prominence: "strong",
170
- sentiment: "neutral",
171
- variant: "bodySmallStrong",
172
- children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
173
- className: orderSummaryStyle.anchor,
174
- href: subCategory.anchor,
175
- children: [/* @__PURE__ */ jsx(AttachIcon, {
176
- className: orderSummaryStyle.anchorIcon({ size: "small" }),
177
- sentiment: "info"
178
- }), subCategory.title]
179
- }) : subCategory.title
180
- }),
181
- /* @__PURE__ */ jsx(Text, {
182
- as: "span",
183
- italic: true,
184
- sentiment: "primary",
185
- variant: "bodySmall",
186
- children: subCategory.additionalInfo
187
- })
188
- ]
189
- }) : /* @__PURE__ */ jsx(Text, {
190
- as: "span",
191
- prominence: "strong",
192
- sentiment: "neutral",
193
- variant: "bodySmallStrong",
194
- children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
195
- className: orderSummaryStyle.anchor,
196
- href: subCategory.anchor,
197
- children: [/* @__PURE__ */ jsx(AttachIcon, {
198
- className: orderSummaryStyle.anchorIcon({ size: "small" }),
199
- sentiment: "info"
200
- }), subCategory.title]
201
- }) : subCategory.title
202
- }),
203
- subCategory.customContent ? /* @__PURE__ */ jsx(Text, {
204
- as: "span",
205
- prominence: "strong",
206
- sentiment: "neutral",
207
- variant: "bodySmallStrong",
208
- children: subCategory.customContent
209
- }) : null,
210
- subCategory.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
211
- className: orderSummaryStyle.numberInput,
212
- controls: subCategory.numberInputControls,
213
- onChange: subCategory.onChangeInput,
214
- size: "small",
215
- unit: subCategory.numberInputUnit,
216
- value: subCategory.numberInputValue
217
- }) : null,
218
- /* @__PURE__ */ jsx(SubCategoryPrice, { subCategory })
219
- ]
220
- }), /* @__PURE__ */ jsx(Stack, {
221
- className: orderSummaryStyle.details,
222
- direction: "column",
223
- gap: .5,
224
- children: (_subCategory$details = subCategory.details) === null || _subCategory$details === void 0 ? void 0 : _subCategory$details.map((detail, index) => detail ? /* @__PURE__ */ jsx(Text, {
225
- as: "span",
226
- sentiment: "neutral",
227
- variant: "bodySmall",
228
- children: detail
229
- }, `${subCategory.title}-${index}`) : null)
230
- })]
231
- });
232
- };
233
18
  ScrollableContent = () => {
234
19
  const { items } = useContext(OrderSummaryContext);
235
20
  return /* @__PURE__ */ jsx(Stack, {
@@ -0,0 +1,5 @@
1
+ import type { ItemsType } from '../types';
2
+ export declare const CategoryName: ({ category }: {
3
+ category: ItemsType;
4
+ }) => import("react/jsx-runtime").JSX.Element | null;
5
+ //# sourceMappingURL=Category.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/OrderSummary/components/Category.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,YAAY;;oDAwGxB,CAAA"}
@@ -0,0 +1,125 @@
1
+ import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
2
+ import { Stack, init_Stack } from "../../../Stack/index.js";
3
+ import { Text, init_Text } from "../../../Text/index.js";
4
+ import { NumberInput, init_NumberInput } from "../../../NumberInput/index.js";
5
+ import { OrderSummaryContext, init_Provider } from "../Provider.js";
6
+ import { DisplayPrice, init_helpers } from "../helpers.js";
7
+ import { init_styles_css, orderSummaryStyle } from "../styles.css.js";
8
+ import { useContext } from "react";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ import { AttachIcon } from "@ultraviolet/icons/AttachIcon";
11
+
12
+ //#region src/components/compositions/OrderSummary/components/Category.tsx
13
+ var CategoryName;
14
+ var init_Category = __esmMin(() => {
15
+ init_NumberInput();
16
+ init_Stack();
17
+ init_Text();
18
+ init_helpers();
19
+ init_Provider();
20
+ init_styles_css();
21
+ CategoryName = ({ category }) => {
22
+ var _categoriesPrice$cate;
23
+ const { categoriesPrice } = useContext(OrderSummaryContext);
24
+ const categoryPrice = (_categoriesPrice$cate = categoriesPrice[category.category]) !== null && _categoriesPrice$cate !== void 0 ? _categoriesPrice$cate : {
25
+ maxPrice: 0,
26
+ maxPriceWithDiscount: 0,
27
+ timeUnit: "hours",
28
+ totalPrice: 0,
29
+ totalPriceWithDiscount: 0
30
+ };
31
+ return category.category ? /* @__PURE__ */ jsxs(Stack, {
32
+ alignItems: "center",
33
+ direction: "row",
34
+ justifyContent: "space-between",
35
+ children: [
36
+ category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, {
37
+ alignItems: "center",
38
+ direction: "row",
39
+ gap: 1,
40
+ children: [/* @__PURE__ */ jsx(Text, {
41
+ as: "span",
42
+ prominence: "strong",
43
+ sentiment: "neutral",
44
+ variant: "bodyStrong",
45
+ children: category.anchor ? /* @__PURE__ */ jsxs("a", {
46
+ className: orderSummaryStyle.anchor,
47
+ href: category.anchor,
48
+ children: [/* @__PURE__ */ jsx(AttachIcon, {
49
+ className: orderSummaryStyle.anchorIcon({ size: "medium" }),
50
+ sentiment: "info"
51
+ }), category.category]
52
+ }) : category.category
53
+ }), /* @__PURE__ */ jsx(Text, {
54
+ as: "span",
55
+ italic: true,
56
+ sentiment: "primary",
57
+ variant: "bodySmall",
58
+ children: category.additionalInfo
59
+ })]
60
+ }) : /* @__PURE__ */ jsx(Text, {
61
+ as: "span",
62
+ prominence: "strong",
63
+ sentiment: "neutral",
64
+ variant: "bodyStrong",
65
+ children: category.anchor ? /* @__PURE__ */ jsxs("a", {
66
+ className: orderSummaryStyle.anchor,
67
+ href: category.anchor,
68
+ children: [/* @__PURE__ */ jsx(AttachIcon, {
69
+ className: orderSummaryStyle.anchorIcon({ size: "medium" }),
70
+ sentiment: "info"
71
+ }), category.category]
72
+ }) : category.category
73
+ }),
74
+ category.customContent,
75
+ category.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
76
+ className: orderSummaryStyle.numberInput,
77
+ controls: category.numberInputControls,
78
+ onChange: category.onChangeInput,
79
+ size: "small",
80
+ unit: category.numberInputUnit,
81
+ value: category.numberInputValue
82
+ }) : null,
83
+ !(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(Text, {
84
+ as: "span",
85
+ prominence: "strong",
86
+ sentiment: "neutral",
87
+ variant: "bodyStrong",
88
+ children: /* @__PURE__ */ jsx(DisplayPrice, {
89
+ beforeOrAfter: "after",
90
+ price: categoryPrice
91
+ })
92
+ }) : null,
93
+ !(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, {
94
+ alignItems: "center",
95
+ direction: "row",
96
+ gap: 1,
97
+ children: [/* @__PURE__ */ jsx(Text, {
98
+ as: "span",
99
+ prominence: "weak",
100
+ sentiment: "neutral",
101
+ strikeThrough: true,
102
+ variant: "bodySmallStrong",
103
+ children: /* @__PURE__ */ jsx(DisplayPrice, {
104
+ beforeOrAfter: "before",
105
+ price: categoryPrice
106
+ })
107
+ }), /* @__PURE__ */ jsx(Text, {
108
+ as: "span",
109
+ prominence: "strong",
110
+ sentiment: "neutral",
111
+ variant: "bodyStrong",
112
+ children: /* @__PURE__ */ jsx(DisplayPrice, {
113
+ beforeOrAfter: "after",
114
+ price: categoryPrice
115
+ })
116
+ })]
117
+ }) : null
118
+ ]
119
+ }) : null;
120
+ };
121
+ });
122
+
123
+ //#endregion
124
+ init_Category();
125
+ export { CategoryName, init_Category };
@@ -0,0 +1,5 @@
1
+ import type { SubCategoryType } from '../types';
2
+ export declare const SubCategory: ({ subCategory, }: {
3
+ subCategory: SubCategoryType;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=SubCategory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubCategory.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/OrderSummary/components/SubCategory.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,eAAO,MAAM,WAAW;;6CA0FvB,CAAA"}