@ultraviolet/ui 3.10.1 → 3.11.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 (367) hide show
  1. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/asyncToGenerator.js +1 -1
  2. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/defineProperty.js +1 -1
  3. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectSpread2.js +1 -1
  4. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutProperties.js +1 -1
  5. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
  6. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPrimitive.js +1 -1
  7. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPropertyKey.js +1 -1
  8. package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/typeof.js +1 -1
  9. package/dist/components/ActionBar/index.js +2 -2
  10. package/dist/components/Alert/index.js +2 -2
  11. package/dist/components/Avatar/index.js +3 -3
  12. package/dist/components/Badge/index.js +1 -1
  13. package/dist/components/Banner/index.js +2 -2
  14. package/dist/components/BarChart/Tooltip.js +1 -1
  15. package/dist/components/BarChart/index.js +2 -2
  16. package/dist/components/BarStack/index.js +1 -1
  17. package/dist/components/Breadcrumbs/components/Item.js +1 -1
  18. package/dist/components/Bullet/index.js +1 -1
  19. package/dist/components/Button/index.js +2 -2
  20. package/dist/components/Card/index.js +1 -1
  21. package/dist/components/Carousel/index.js +2 -2
  22. package/dist/components/Checkbox/CheckboxIconContainer.d.ts +4 -0
  23. package/dist/components/Checkbox/CheckboxIconContainer.d.ts.map +1 -0
  24. package/dist/components/Checkbox/CheckboxIconContainer.js +38 -0
  25. package/dist/components/Checkbox/index.d.ts +1 -0
  26. package/dist/components/Checkbox/index.d.ts.map +1 -1
  27. package/dist/components/Checkbox/index.js +9 -37
  28. package/dist/components/Checkbox/styles.css.d.ts +3 -3
  29. package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
  30. package/dist/components/Checkbox/styles.css.js +17 -10
  31. package/dist/components/CheckboxGroup/index.d.ts +2 -2
  32. package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
  33. package/dist/components/CheckboxGroup/index.js +4 -3
  34. package/dist/components/Chip/index.js +1 -1
  35. package/dist/components/CopyButton/index.js +1 -1
  36. package/dist/components/DateInput/components/CalendarContent.js +1 -1
  37. package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
  38. package/dist/components/DateInput/index.js +1 -1
  39. package/dist/components/Dialog/index.js +1 -1
  40. package/dist/components/Drawer/index.js +1 -1
  41. package/dist/components/EmptyState/index.js +1 -1
  42. package/dist/components/Expandable/index.js +2 -2
  43. package/dist/components/ExpandableCard/index.js +2 -2
  44. package/dist/components/FileInput/components/Button.js +2 -2
  45. package/dist/components/GlobalAlert/GlobalAlertLink.js +1 -1
  46. package/dist/components/GlobalAlert/index.js +1 -1
  47. package/dist/components/InfiniteScroll/index.js +1 -1
  48. package/dist/components/Key/index.js +1 -1
  49. package/dist/components/Label/index.js +1 -1
  50. package/dist/components/LineChart/CustomLegend.js +2 -2
  51. package/dist/components/LineChart/index.js +2 -2
  52. package/dist/components/Link/index.js +4 -4
  53. package/dist/components/List/Cell.js +2 -2
  54. package/dist/components/List/HeaderCell.js +3 -3
  55. package/dist/components/List/HeaderRow.js +1 -1
  56. package/dist/components/List/ListContext.js +3 -3
  57. package/dist/components/List/Row.js +5 -5
  58. package/dist/components/List/SelectBar.js +1 -1
  59. package/dist/components/List/SkeletonRows.js +2 -2
  60. package/dist/components/List/index.js +1 -1
  61. package/dist/components/List/styles.css.js +1 -0
  62. package/dist/components/Loader/index.js +2 -2
  63. package/dist/components/Menu/MenuContent.js +1 -1
  64. package/dist/components/Menu/components/Item.d.ts +1 -0
  65. package/dist/components/Menu/components/Item.d.ts.map +1 -1
  66. package/dist/components/Menu/components/Item.js +28 -8
  67. package/dist/components/Menu/index.d.ts +1 -0
  68. package/dist/components/Menu/index.d.ts.map +1 -1
  69. package/dist/components/Menu/index.js +2 -2
  70. package/dist/components/Modal/components/Dialog.js +2 -2
  71. package/dist/components/Notice/index.js +1 -1
  72. package/dist/components/Notification/Notification.js +1 -1
  73. package/dist/components/Notification/NotificationContainer.js +1 -1
  74. package/dist/components/NumberInput/index.js +1 -1
  75. package/dist/components/Pagination/PaginationButtons.js +1 -1
  76. package/dist/components/PasswordCheck/index.js +1 -1
  77. package/dist/components/PieChart/index.js +2 -2
  78. package/dist/components/Popover/index.js +1 -1
  79. package/dist/components/Popup/index.js +2 -2
  80. package/dist/components/ProgressBar/index.js +1 -1
  81. package/dist/components/ProgressBar/styles.css.js +1 -0
  82. package/dist/components/ProgressBar/variables.css.js +0 -2
  83. package/dist/components/Radio/index.js +1 -1
  84. package/dist/components/Radio/styles.css.js +1 -0
  85. package/dist/components/RadioGroup/index.js +2 -2
  86. package/dist/components/Row/index.js +3 -3
  87. package/dist/components/SearchInput/index.js +1 -1
  88. package/dist/components/SelectInput/components/Dropdown.js +4 -4
  89. package/dist/components/SelectInput/components/SearchBarDropdown.js +3 -3
  90. package/dist/components/SelectInput/components/SelectBar.js +3 -3
  91. package/dist/components/SelectInput/index.js +1 -1
  92. package/dist/components/SelectableCard/IllustrationContainer.d.ts +1 -1
  93. package/dist/components/SelectableCard/IllustrationContainer.js +2 -2
  94. package/dist/components/SelectableCard/MultiStateInput.js +1 -1
  95. package/dist/components/SelectableCard/SelectableCard.js +2 -2
  96. package/dist/components/SelectableCardGroup/index.js +1 -1
  97. package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +1 -1
  98. package/dist/components/SelectableCardOptionGroup/components/Image.js +1 -1
  99. package/dist/components/SelectableCardOptionGroup/components/Option.js +2 -2
  100. package/dist/components/Separator/index.js +1 -1
  101. package/dist/components/Skeleton/index.js +1 -1
  102. package/dist/components/Slider/components/DoubleSlider.js +2 -2
  103. package/dist/components/Slider/components/SingleSlider.js +3 -3
  104. package/dist/components/Snippet/index.js +2 -2
  105. package/dist/components/Stack/index.js +3 -3
  106. package/dist/components/Status/index.js +1 -1
  107. package/dist/components/StepList/index.js +1 -1
  108. package/dist/components/Stepper/Step.js +1 -1
  109. package/dist/components/Stepper/index.js +2 -2
  110. package/dist/components/SwitchButton/Option.js +1 -1
  111. package/dist/components/SwitchButton/index.js +1 -1
  112. package/dist/components/Table/Cell.js +2 -2
  113. package/dist/components/Table/HeaderCell.js +2 -2
  114. package/dist/components/Table/HeaderRow.js +1 -1
  115. package/dist/components/Table/Row.js +5 -5
  116. package/dist/components/Table/TableContext.js +2 -2
  117. package/dist/components/Table/index.js +1 -1
  118. package/dist/components/Tabs/Tab.js +3 -3
  119. package/dist/components/Tabs/TabMenu.js +3 -3
  120. package/dist/components/Tabs/TabMenuItem.js +2 -2
  121. package/dist/components/Tabs/index.d.ts +1 -0
  122. package/dist/components/Tabs/index.js +3 -3
  123. package/dist/components/Tag/index.js +1 -1
  124. package/dist/components/TagInput/index.js +2 -2
  125. package/dist/components/TagList/index.js +2 -2
  126. package/dist/components/Text/index.js +3 -3
  127. package/dist/components/TextArea/index.js +2 -2
  128. package/dist/components/TextInput/index.js +1 -1
  129. package/dist/components/TimeInput/index.js +1 -1
  130. package/dist/components/Toaster/Toaster.js +1 -1
  131. package/dist/components/Toaster/ToasterContainer.js +1 -1
  132. package/dist/components/Toggle/index.js +1 -1
  133. package/dist/components/ToggleGroup/index.js +1 -1
  134. package/dist/components/Tooltip/index.js +1 -1
  135. package/dist/components/TreeMapChart/index.js +3 -3
  136. package/dist/components/UnitInput/index.js +2 -2
  137. package/dist/components/VerificationCode/index.js +1 -1
  138. package/dist/components/compositions/CodeEditor/index.d.ts +40 -0
  139. package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -0
  140. package/dist/components/compositions/CodeEditor/index.js +129 -0
  141. package/dist/components/compositions/CodeEditor/styles.css.d.ts +19 -0
  142. package/dist/components/compositions/CodeEditor/styles.css.d.ts.map +1 -0
  143. package/dist/components/compositions/CodeEditor/styles.css.js +30 -0
  144. package/dist/components/compositions/ContentCard/Content.d.ts +13 -0
  145. package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -0
  146. package/dist/components/compositions/ContentCard/Content.js +65 -0
  147. package/dist/components/compositions/ContentCard/Skeleton.d.ts +6 -0
  148. package/dist/components/compositions/ContentCard/Skeleton.d.ts.map +1 -0
  149. package/dist/components/compositions/ContentCard/Skeleton.js +33 -0
  150. package/dist/components/compositions/ContentCard/index.d.ts +8 -0
  151. package/dist/components/compositions/ContentCard/index.d.ts.map +1 -0
  152. package/dist/components/compositions/ContentCard/index.js +80 -0
  153. package/dist/components/compositions/ContentCard/styles.css.d.ts +24 -0
  154. package/dist/components/compositions/ContentCard/styles.css.d.ts.map +1 -0
  155. package/dist/components/compositions/ContentCard/styles.css.js +36 -0
  156. package/dist/components/compositions/ContentCard/type.d.ts +30 -0
  157. package/dist/components/compositions/ContentCard/type.d.ts.map +1 -0
  158. package/dist/components/compositions/ContentCardGroup/Card.d.ts +15 -0
  159. package/dist/components/compositions/ContentCardGroup/Card.d.ts.map +1 -0
  160. package/dist/components/compositions/ContentCardGroup/Card.js +58 -0
  161. package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts +2 -0
  162. package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -0
  163. package/dist/components/compositions/ContentCardGroup/SkeletonCard.js +30 -0
  164. package/dist/components/compositions/ContentCardGroup/index.d.ts +21 -0
  165. package/dist/components/compositions/ContentCardGroup/index.d.ts.map +1 -0
  166. package/dist/components/compositions/ContentCardGroup/index.js +21 -0
  167. package/dist/components/compositions/ContentCardGroup/styles.css.d.ts +8 -0
  168. package/dist/components/compositions/ContentCardGroup/styles.css.d.ts.map +1 -0
  169. package/dist/components/compositions/ContentCardGroup/styles.css.js +13 -0
  170. package/dist/components/compositions/Conversation/index.d.ts +50 -0
  171. package/dist/components/compositions/Conversation/index.d.ts.map +1 -0
  172. package/dist/components/compositions/Conversation/index.js +53 -0
  173. package/dist/components/compositions/Conversation/styles.css.d.ts +8 -0
  174. package/dist/components/compositions/Conversation/styles.css.d.ts.map +1 -0
  175. package/dist/components/compositions/Conversation/styles.css.js +22 -0
  176. package/dist/components/compositions/CustomerSatisfaction/assets/1-5.js +5 -0
  177. package/dist/components/compositions/CustomerSatisfaction/assets/1-5NB.js +5 -0
  178. package/dist/components/compositions/CustomerSatisfaction/assets/2-5.js +5 -0
  179. package/dist/components/compositions/CustomerSatisfaction/assets/2-5NB.js +5 -0
  180. package/dist/components/compositions/CustomerSatisfaction/assets/3-5.js +5 -0
  181. package/dist/components/compositions/CustomerSatisfaction/assets/3-5NB.js +5 -0
  182. package/dist/components/compositions/CustomerSatisfaction/assets/4-5.js +5 -0
  183. package/dist/components/compositions/CustomerSatisfaction/assets/4-5NB.js +5 -0
  184. package/dist/components/compositions/CustomerSatisfaction/assets/5-5.js +5 -0
  185. package/dist/components/compositions/CustomerSatisfaction/assets/5-5NB.js +5 -0
  186. package/dist/components/compositions/CustomerSatisfaction/index.d.ts +33 -0
  187. package/dist/components/compositions/CustomerSatisfaction/index.d.ts.map +1 -0
  188. package/dist/components/compositions/CustomerSatisfaction/index.js +89 -0
  189. package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts +19 -0
  190. package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts.map +1 -0
  191. package/dist/components/compositions/CustomerSatisfaction/styles.css.js +20 -0
  192. package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts +16 -0
  193. package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -0
  194. package/dist/components/compositions/EstimateCost/CompactEstimateCost.js +38 -0
  195. package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts +12 -0
  196. package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +1 -0
  197. package/dist/components/compositions/EstimateCost/Components/ContentComponents.js +114 -0
  198. package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts +10 -0
  199. package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -0
  200. package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.js +41 -0
  201. package/dist/components/compositions/EstimateCost/Components/Item.d.ts +118 -0
  202. package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -0
  203. package/dist/components/compositions/EstimateCost/Components/Item.js +168 -0
  204. package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts +3 -0
  205. package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -0
  206. package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +75 -0
  207. package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts +3 -0
  208. package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -0
  209. package/dist/components/compositions/EstimateCost/Components/ItemPrice.js +54 -0
  210. package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts +7 -0
  211. package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -0
  212. package/dist/components/compositions/EstimateCost/Components/LineThrough.js +18 -0
  213. package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts +11 -0
  214. package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -0
  215. package/dist/components/compositions/EstimateCost/Components/NumberInput.js +35 -0
  216. package/dist/components/compositions/EstimateCost/Components/Region.d.ts +23 -0
  217. package/dist/components/compositions/EstimateCost/Components/Region.d.ts.map +1 -0
  218. package/dist/components/compositions/EstimateCost/Components/Region.js +38 -0
  219. package/dist/components/compositions/EstimateCost/Components/Regular.d.ts +11 -0
  220. package/dist/components/compositions/EstimateCost/Components/Regular.d.ts.map +1 -0
  221. package/dist/components/compositions/EstimateCost/Components/Regular.js +23 -0
  222. package/dist/components/compositions/EstimateCost/Components/Strong.d.ts +10 -0
  223. package/dist/components/compositions/EstimateCost/Components/Strong.d.ts.map +1 -0
  224. package/dist/components/compositions/EstimateCost/Components/Strong.js +16 -0
  225. package/dist/components/compositions/EstimateCost/Components/Unit.d.ts +11 -0
  226. package/dist/components/compositions/EstimateCost/Components/Unit.d.ts.map +1 -0
  227. package/dist/components/compositions/EstimateCost/Components/Unit.js +50 -0
  228. package/dist/components/compositions/EstimateCost/Components/Zone.d.ts +23 -0
  229. package/dist/components/compositions/EstimateCost/Components/Zone.d.ts.map +1 -0
  230. package/dist/components/compositions/EstimateCost/Components/Zone.js +37 -0
  231. package/dist/components/compositions/EstimateCost/Components/components.css.d.ts +78 -0
  232. package/dist/components/compositions/EstimateCost/Components/components.css.d.ts.map +1 -0
  233. package/dist/components/compositions/EstimateCost/Components/components.css.js +71 -0
  234. package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts +3 -0
  235. package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -0
  236. package/dist/components/compositions/EstimateCost/EstimateCostContent.js +198 -0
  237. package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts +26 -0
  238. package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -0
  239. package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +33 -0
  240. package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts +27 -0
  241. package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -0
  242. package/dist/components/compositions/EstimateCost/OverlayComponent.js +100 -0
  243. package/dist/components/compositions/EstimateCost/OverlayContext.d.ts +13 -0
  244. package/dist/components/compositions/EstimateCost/OverlayContext.d.ts.map +1 -0
  245. package/dist/components/compositions/EstimateCost/OverlayContext.js +15 -0
  246. package/dist/components/compositions/EstimateCost/constants.d.ts +8 -0
  247. package/dist/components/compositions/EstimateCost/constants.d.ts.map +1 -0
  248. package/dist/components/compositions/EstimateCost/constants.js +26 -0
  249. package/dist/components/compositions/EstimateCost/helper.d.ts +10 -0
  250. package/dist/components/compositions/EstimateCost/helper.d.ts.map +1 -0
  251. package/dist/components/compositions/EstimateCost/helper.js +11 -0
  252. package/dist/components/compositions/EstimateCost/index.d.ts +177 -0
  253. package/dist/components/compositions/EstimateCost/index.d.ts.map +1 -0
  254. package/dist/components/compositions/EstimateCost/index.js +97 -0
  255. package/dist/components/compositions/EstimateCost/locales/en.d.ts +23 -0
  256. package/dist/components/compositions/EstimateCost/locales/en.d.ts.map +1 -0
  257. package/dist/components/compositions/EstimateCost/locales/en.js +25 -0
  258. package/dist/components/compositions/EstimateCost/styles.css.d.ts +86 -0
  259. package/dist/components/compositions/EstimateCost/styles.css.d.ts.map +1 -0
  260. package/dist/components/compositions/EstimateCost/styles.css.js +72 -0
  261. package/dist/components/compositions/EstimateCost/types.d.ts +226 -0
  262. package/dist/components/compositions/EstimateCost/types.d.ts.map +1 -0
  263. package/dist/components/compositions/FAQ/index.d.ts +14 -0
  264. package/dist/components/compositions/FAQ/index.d.ts.map +1 -0
  265. package/dist/components/compositions/FAQ/index.js +43 -0
  266. package/dist/components/compositions/FAQ/styles.css.d.ts +2 -0
  267. package/dist/components/compositions/FAQ/styles.css.d.ts.map +1 -0
  268. package/dist/components/compositions/FAQ/styles.css.js +7 -0
  269. package/dist/components/compositions/InfoTable/Context.d.ts +4 -0
  270. package/dist/components/compositions/InfoTable/Context.d.ts.map +1 -0
  271. package/dist/components/compositions/InfoTable/Context.js +7 -0
  272. package/dist/components/compositions/InfoTable/components/Cell.d.ts +10 -0
  273. package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +1 -0
  274. package/dist/components/compositions/InfoTable/components/Cell.js +39 -0
  275. package/dist/components/compositions/InfoTable/components/Row.d.ts +9 -0
  276. package/dist/components/compositions/InfoTable/components/Row.d.ts.map +1 -0
  277. package/dist/components/compositions/InfoTable/components/Row.js +23 -0
  278. package/dist/components/compositions/InfoTable/index.d.ts +25 -0
  279. package/dist/components/compositions/InfoTable/index.d.ts.map +1 -0
  280. package/dist/components/compositions/InfoTable/index.js +28 -0
  281. package/dist/components/compositions/InfoTable/styles.css.d.ts +8 -0
  282. package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -0
  283. package/dist/components/compositions/InfoTable/styles.css.js +13 -0
  284. package/dist/components/compositions/Navigation/Footer.d.ts +9 -0
  285. package/dist/components/compositions/Navigation/Footer.d.ts.map +1 -0
  286. package/dist/components/compositions/Navigation/Footer.js +65 -0
  287. package/dist/components/compositions/Navigation/Header.d.ts +7 -0
  288. package/dist/components/compositions/Navigation/Header.d.ts.map +1 -0
  289. package/dist/components/compositions/Navigation/Header.js +24 -0
  290. package/dist/components/compositions/Navigation/NavigationContent.d.ts +3 -0
  291. package/dist/components/compositions/Navigation/NavigationContent.d.ts.map +1 -0
  292. package/dist/components/compositions/Navigation/NavigationContent.js +104 -0
  293. package/dist/components/compositions/Navigation/NavigationProvider.d.ts +94 -0
  294. package/dist/components/compositions/Navigation/NavigationProvider.d.ts.map +1 -0
  295. package/dist/components/compositions/Navigation/NavigationProvider.js +121 -0
  296. package/dist/components/compositions/Navigation/animations.css.d.ts +7 -0
  297. package/dist/components/compositions/Navigation/animations.css.d.ts.map +1 -0
  298. package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts +65 -0
  299. package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts.map +1 -0
  300. package/dist/components/compositions/Navigation/components/Group.d.ts +10 -0
  301. package/dist/components/compositions/Navigation/components/Group.d.ts.map +1 -0
  302. package/dist/components/compositions/Navigation/components/Group.js +40 -0
  303. package/dist/components/compositions/Navigation/components/Item.d.ts +88 -0
  304. package/dist/components/compositions/Navigation/components/Item.d.ts.map +1 -0
  305. package/dist/components/compositions/Navigation/components/Item.js +200 -0
  306. package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts +3 -0
  307. package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +1 -0
  308. package/dist/components/compositions/Navigation/components/ItemExpanded.js +214 -0
  309. package/dist/components/compositions/Navigation/components/ItemFragments.d.ts +6 -0
  310. package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +1 -0
  311. package/dist/components/compositions/Navigation/components/ItemFragments.js +63 -0
  312. package/dist/components/compositions/Navigation/components/ItemMenu.d.ts +4 -0
  313. package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +1 -0
  314. package/dist/components/compositions/Navigation/components/ItemMenu.js +135 -0
  315. package/dist/components/compositions/Navigation/components/ItemProvider.d.ts +8 -0
  316. package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +1 -0
  317. package/dist/components/compositions/Navigation/components/ItemProvider.js +17 -0
  318. package/dist/components/compositions/Navigation/components/PinnedItems.d.ts +24 -0
  319. package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -0
  320. package/dist/components/compositions/Navigation/components/PinnedItems.js +105 -0
  321. package/dist/components/compositions/Navigation/components/Separator.d.ts +2 -0
  322. package/dist/components/compositions/Navigation/components/Separator.d.ts.map +1 -0
  323. package/dist/components/compositions/Navigation/components/Separator.js +11 -0
  324. package/dist/components/compositions/Navigation/components/ShowHide.d.ts +16 -0
  325. package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +1 -0
  326. package/dist/components/compositions/Navigation/components/ShowHide.js +54 -0
  327. package/dist/components/compositions/Navigation/components/items.css.d.ts +98 -0
  328. package/dist/components/compositions/Navigation/components/items.css.d.ts.map +1 -0
  329. package/dist/components/compositions/Navigation/components/items.css.js +124 -0
  330. package/dist/components/compositions/Navigation/components/styles.css.d.ts +25 -0
  331. package/dist/components/compositions/Navigation/components/styles.css.d.ts.map +1 -0
  332. package/dist/components/compositions/Navigation/components/styles.css.js +29 -0
  333. package/dist/components/compositions/Navigation/constants.d.ts +10 -0
  334. package/dist/components/compositions/Navigation/constants.d.ts.map +1 -0
  335. package/dist/components/compositions/Navigation/index.d.ts +65 -0
  336. package/dist/components/compositions/Navigation/index.d.ts.map +1 -0
  337. package/dist/components/compositions/Navigation/index.js +35 -0
  338. package/dist/components/compositions/Navigation/locales/en.d.ts +11 -0
  339. package/dist/components/compositions/Navigation/locales/en.d.ts.map +1 -0
  340. package/dist/components/compositions/Navigation/locales/en.js +13 -0
  341. package/dist/components/compositions/Navigation/styles.css.d.ts +34 -0
  342. package/dist/components/compositions/Navigation/styles.css.d.ts.map +1 -0
  343. package/dist/components/compositions/Navigation/styles.css.js +37 -0
  344. package/dist/components/compositions/Navigation/types.d.ts +43 -0
  345. package/dist/components/compositions/Navigation/types.d.ts.map +1 -0
  346. package/dist/components/compositions/Navigation/variables.css.d.ts +2 -0
  347. package/dist/components/compositions/Navigation/variables.css.d.ts.map +1 -0
  348. package/dist/components/compositions/Navigation/variables.css.js +5 -0
  349. package/dist/components/compositions/OfferList/components/Cell.js +1 -1
  350. package/dist/components/compositions/OfferList/components/Row.js +4 -4
  351. package/dist/components/compositions/OfferList/index.js +1 -1
  352. package/dist/components/compositions/OptionSelector/components/Selector.js +1 -1
  353. package/dist/components/compositions/OptionSelector/index.js +1 -1
  354. package/dist/components/compositions/OrderSummary/ScrollableContent.js +1 -1
  355. package/dist/components/compositions/OrderSummary/helpers.js +1 -1
  356. package/dist/components/compositions/OrderSummary/index.js +1 -1
  357. package/dist/components/compositions/OrderSummary/types.d.ts +1 -1
  358. package/dist/components/compositions/OrderSummary/types.d.ts.map +1 -1
  359. package/dist/components/compositions/Plans/PlanHeader.js +1 -1
  360. package/dist/components/compositions/SteppedListCard/styles.css.js +0 -1
  361. package/dist/components/compositions/index.d.ts +9 -0
  362. package/dist/components/compositions/index.d.ts.map +1 -1
  363. package/dist/components/compositions/index.js +12 -1
  364. package/dist/index.js +17 -17
  365. package/dist/theme/ThemeProvider.js +1 -1
  366. package/dist/ui.css +1 -1
  367. package/package.json +10 -6
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
4
- import { _objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
+ import { _objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectWithoutProperties.js";
5
5
  import { tabsContainer, tabsMenu, tabsMenuContainer } from "./styles.css.js";
6
6
  import { TabsContext } from "./TabsContext.js";
7
7
  import { Tab } from "./Tab.js";
8
8
  import { TabMenu } from "./TabMenu.js";
9
9
  import { TabMenuItem } from "./TabMenuItem.js";
10
- import { cn } from "@ultraviolet/utils";
11
10
  import { Children, cloneElement, isValidElement, useEffect, useMemo, useRef, useState } from "react";
12
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { cn } from "@ultraviolet/utils";
13
13
 
14
14
  //#region src/components/Tabs/index.tsx
15
15
  const _excluded = [
@@ -5,9 +5,9 @@ import { Text } from "../Text/index.js";
5
5
  import { Loader } from "../Loader/index.js";
6
6
  import { Button } from "../Button/index.js";
7
7
  import { closeButtonTag, containerTag, textTag } from "./styles.css.js";
8
- import { cn } from "@ultraviolet/utils";
9
8
  import { useMemo } from "react";
10
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
+ import { cn } from "@ultraviolet/utils";
11
11
  import { CloseIcon } from "@ultraviolet/icons/CloseIcon";
12
12
  import { CopyContentIcon } from "@ultraviolet/icons/CopyContentIcon";
13
13
  import useClipboard from "react-use-clipboard";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { Stack } from "../Stack/index.js";
5
5
  import { Tooltip } from "../Tooltip/index.js";
6
6
  import { Text } from "../Text/index.js";
@@ -8,9 +8,9 @@ import { Button } from "../Button/index.js";
8
8
  import { Label } from "../Label/index.js";
9
9
  import { Tag } from "../Tag/index.js";
10
10
  import { tagInput, tagInputContainer, tagInputDataContainer, tagInputStateContainer } from "./styles.css.js";
11
- import { cn, getUUID } from "@ultraviolet/utils";
12
11
  import { useEffect, useId, useMemo, useRef, useState } from "react";
13
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
+ import { cn, getUUID } from "@ultraviolet/utils";
14
14
  import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
15
15
  import { CloseIcon } from "@ultraviolet/icons/CloseIcon";
16
16
  import { CheckCircleOutlineIcon } from "@ultraviolet/icons/CheckCircleOutlineIcon";
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { Tag } from "../Tag/index.js";
5
5
  import { Popover } from "../Popover/index.js";
6
6
  import { TAGS_GAP } from "./constant.js";
7
7
  import { ellipsisChild, ellipsisContainer, popoverTriggerWidthVar, tagContainer, tagListContainer, tagsWrapper } from "./styles.css.js";
8
- import { cn } from "@ultraviolet/utils";
9
8
  import { useEffect, useMemo, useRef, useState } from "react";
10
9
  import { assignInlineVars } from "@vanilla-extract/dynamic";
11
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
+ import { cn } from "@ultraviolet/utils";
12
12
 
13
13
  //#region src/components/TagList/index.tsx
14
14
  const DEFAULT_POPOVER_MAX_HEIGHT = "16rem";
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
4
- import { Tooltip } from "../Tooltip/index.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
5
4
  import recursivelyGetChildrenString from "../../helpers/recursivelyGetChildrenString.js";
6
5
  import { useIsOverflowing } from "../../hooks/useIsOverflowing.js";
6
+ import { Tooltip } from "../Tooltip/index.js";
7
7
  import { text } from "./style.css.js";
8
8
  import { textVars } from "./variables.css.js";
9
- import { cn } from "@ultraviolet/utils";
10
9
  import { useRef } from "react";
11
10
  import { assignInlineVars } from "@vanilla-extract/dynamic";
12
11
  import { jsx } from "react/jsx-runtime";
12
+ import { cn } from "@ultraviolet/utils";
13
13
 
14
14
  //#region src/components/Text/index.tsx
15
15
  /**
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { Stack } from "../Stack/index.js";
5
5
  import { Tooltip } from "../Tooltip/index.js";
6
6
  import { Text } from "../Text/index.js";
@@ -10,9 +10,9 @@ import { Row } from "../Row/index.js";
10
10
  import { SIZE_HEIGHT } from "../Button/constants.js";
11
11
  import { paddingRightVar, textArea, textAreaClearableContainer, textareaWrapper } from "./styles.css.js";
12
12
  import { forwardRef, useEffect, useId, useImperativeHandle, useMemo, useRef } from "react";
13
+ import { useTheme } from "@ultraviolet/themes";
13
14
  import { assignInlineVars } from "@vanilla-extract/dynamic";
14
15
  import { jsx, jsxs } from "react/jsx-runtime";
15
- import { useTheme } from "@ultraviolet/themes";
16
16
  import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
17
17
  import { CheckCircleIcon } from "@ultraviolet/icons/CheckCircleIcon";
18
18
  import { CloseIcon } from "@ultraviolet/icons/CloseIcon";
@@ -7,9 +7,9 @@ import { Loader } from "../Loader/index.js";
7
7
  import { Button } from "../Button/index.js";
8
8
  import { Label } from "../Label/index.js";
9
9
  import { basicPrefix, basicSuffix, ctaSuffix, inputClass, inputWrapper, inputWrapperSizes, stateStack } from "./styles.css.js";
10
- import { cn } from "@ultraviolet/utils";
11
10
  import { forwardRef, useCallback, useId, useImperativeHandle, useMemo, useRef, useState } from "react";
12
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { cn } from "@ultraviolet/utils";
13
13
  import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
14
14
  import { AutoFixIcon } from "@ultraviolet/icons/AutoFixIcon";
15
15
  import { CheckCircleIcon } from "@ultraviolet/icons/CheckCircleIcon";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { Stack } from "../Stack/index.js";
5
5
  import { Text } from "../Text/index.js";
6
6
  import { Button } from "../Button/index.js";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { CloseButton } from "./components/CloseButton.js";
5
5
  import { Content } from "./components/Content.js";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -2,8 +2,8 @@
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
3
  import { toaster } from "./styles.css.js";
4
4
  import { AUTOCLOSE_DELAY } from "./constants.js";
5
- import { cn } from "@ultraviolet/utils";
6
5
  import { jsx } from "react/jsx-runtime";
6
+ import { cn } from "@ultraviolet/utils";
7
7
  import { Slide, ToastContainer } from "react-toastify";
8
8
 
9
9
  //#region src/components/Toaster/ToasterContainer.tsx
@@ -5,9 +5,9 @@ import { Tooltip } from "../Tooltip/index.js";
5
5
  import { Text } from "../Text/index.js";
6
6
  import { Row } from "../Row/index.js";
7
7
  import { checkbox, label, toggle } from "./styles.css.js";
8
- import { cn } from "@ultraviolet/utils";
9
8
  import { forwardRef, useId } from "react";
10
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
+ import { cn } from "@ultraviolet/utils";
11
11
 
12
12
  //#region src/components/Toggle/index.tsx
13
13
  const Toggle = forwardRef(({ checked, disabled = false, id, name, onChange, onFocus, onBlur, onKeyDown, size = "large", tooltip, labelPosition = "right", label: label$1, helper, tabIndex, required, className, "data-testid": dataTestId, value, error, "aria-label": ariaLabel, style }, ref) => {
@@ -5,9 +5,9 @@ import { Text } from "../Text/index.js";
5
5
  import { Label } from "../Label/index.js";
6
6
  import { Toggle } from "../Toggle/index.js";
7
7
  import { fieldset } from "./styles.css.js";
8
- import { cn } from "@ultraviolet/utils";
9
8
  import { createContext, useContext, useMemo } from "react";
10
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
+ import { cn } from "@ultraviolet/utils";
11
11
 
12
12
  //#region src/components/ToggleGroup/index.tsx
13
13
  const ToggleGroupContext = createContext(void 0);
@@ -2,9 +2,9 @@
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
3
  import { Popup } from "../Popup/index.js";
4
4
  import { tooltip } from "./styles.css.js";
5
- import { cn } from "@ultraviolet/utils";
6
5
  import { forwardRef } from "react";
7
6
  import { jsx } from "react/jsx-runtime";
7
+ import { cn } from "@ultraviolet/utils";
8
8
 
9
9
  //#region src/components/Tooltip/index.tsx
10
10
  /**
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  import { __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
3
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
4
4
  import { getDataColors } from "../../helpers/treeMap.js";
5
5
  import { treeMapContainer } from "./styles.css.js";
6
6
  import { Tooltip } from "./Tooltip.js";
7
- import { cn } from "@ultraviolet/utils";
8
7
  import { useCallback, useMemo } from "react";
9
- import { jsx } from "react/jsx-runtime";
10
8
  import { useTheme } from "@ultraviolet/themes";
9
+ import { jsx } from "react/jsx-runtime";
10
+ import { cn } from "@ultraviolet/utils";
11
11
  import { ResponsiveTreeMapHtml } from "@nivo/treemap";
12
12
 
13
13
  //#region src/components/TreeMapChart/index.tsx
@@ -3,13 +3,13 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
3
3
  import { Stack } from "../Stack/index.js";
4
4
  import { Text } from "../Text/index.js";
5
5
  import { Label } from "../Label/index.js";
6
- import { SelectInput } from "../SelectInput/index.js";
7
6
  import { Row } from "../Row/index.js";
7
+ import { SelectInput } from "../SelectInput/index.js";
8
8
  import { unitInputNumber, unitInputNumberWrapper, unitInputSize, unitInputState, unitInputUnit, unitInputUnitWidth, widthSelectInput } from "./styles.css.js";
9
- import { cn } from "@ultraviolet/utils";
10
9
  import { useEffect, useId, useMemo, useState } from "react";
11
10
  import { assignInlineVars } from "@vanilla-extract/dynamic";
12
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { cn } from "@ultraviolet/utils";
13
13
  import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
14
14
  import { CheckCircleIcon } from "@ultraviolet/icons/CheckCircleIcon";
15
15
 
@@ -3,9 +3,9 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
3
3
  import { Text } from "../Text/index.js";
4
4
  import { Label } from "../Label/index.js";
5
5
  import { filedSetClass, inputClass, inputSizes } from "./styles.css.js";
6
- import { cn } from "@ultraviolet/utils";
7
6
  import { createRef, useId, useMemo, useState } from "react";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { cn } from "@ultraviolet/utils";
9
9
 
10
10
  //#region src/components/VerificationCode/index.tsx
11
11
  const DEFAULT_ON_FUNCTION = () => {};
@@ -0,0 +1,40 @@
1
+ import { langs } from '@uiw/codemirror-extensions-langs';
2
+ import CodeMirror from '@uiw/react-codemirror';
3
+ import type { ComponentProps, CSSProperties, ReactNode } from 'react';
4
+ type CodeEditorProps = {
5
+ value: string;
6
+ onChange: ComponentProps<typeof CodeMirror>['onChange'];
7
+ extensions: keyof typeof langs;
8
+ onBlur?: () => void;
9
+ height?: string;
10
+ readOnly?: boolean;
11
+ autoCompletion?: boolean;
12
+ disabled?: boolean;
13
+ helper?: ReactNode;
14
+ /**
15
+ * When set to true, a copy button is displayed in the top right corner of the editor.
16
+ * If a string is provided, it is used as the button's label. Otherwise, no label is displayed.
17
+ */
18
+ copyButton?: boolean | string;
19
+ label?: string;
20
+ /**
21
+ * Defines a max height and adds an expand button to see the full content of the component
22
+ */
23
+ expandableHeight?: number;
24
+ /** Text for the "show" button when maxLines is defined */
25
+ showText?: string;
26
+ /** Text for the "hide" button when maxLines is defined */
27
+ hideText?: string;
28
+ id?: string;
29
+ labelDescription?: ReactNode;
30
+ 'aria-label'?: string;
31
+ 'data-testid'?: string;
32
+ className?: string;
33
+ error?: string;
34
+ lineNumbers?: boolean;
35
+ style?: CSSProperties;
36
+ required?: boolean;
37
+ };
38
+ export declare const CodeEditor: ({ value, onChange, extensions, onBlur, height, readOnly, autoCompletion, disabled, label, copyButton, id, helper, labelDescription, expandableHeight, hideText, showText, 'aria-label': ariaLabel, 'data-testid': dataTestId, className, error, lineNumbers, style, required, }: CodeEditorProps) => import("react/jsx-runtime").JSX.Element;
39
+ export {};
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CodeEditor/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAA;AAExD,OAAO,UAAU,MAAM,uBAAuB,CAAA;AAI9C,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EAEb,SAAS,EAEV,MAAM,OAAO,CAAA;AAmBd,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,UAAU,CAAC,CAAA;IACvD,UAAU,EAAE,MAAM,OAAO,KAAK,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAsDD,eAAO,MAAM,UAAU,+UAkHtB,CAAA"}
@@ -0,0 +1,129 @@
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
3
+ import { Stack } from "../../Stack/index.js";
4
+ import { Text } from "../../Text/index.js";
5
+ import { Expandable } from "../../Expandable/index.js";
6
+ import { Label } from "../../Label/index.js";
7
+ import { CopyButton } from "../../CopyButton/index.js";
8
+ import { animatedArrowIcon, centeredText, codeEditor, codeEditorWrapper, copyButton, disabledStack, maxHeightVar, showMoreButton, showMoreContainer } from "./styles.css.js";
9
+ import { useState } from "react";
10
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
11
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
12
+ import { cn } from "@ultraviolet/utils";
13
+ import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
14
+ import { langs } from "@uiw/codemirror-extensions-langs";
15
+ import { material } from "@uiw/codemirror-theme-material";
16
+ import CodeMirror from "@uiw/react-codemirror";
17
+
18
+ //#region src/components/compositions/CodeEditor/index.tsx
19
+ const CodeEditorCopyButton = ({ copyButton: copyButton$1, value }) => /* @__PURE__ */ jsx(CopyButton, {
20
+ bordered: true,
21
+ className: copyButton,
22
+ sentiment: "neutral",
23
+ size: "small",
24
+ value,
25
+ children: typeof copyButton$1 === "string" ? copyButton$1 : void 0
26
+ });
27
+ const CodeEditorExpandable = ({ expanded, setExpanded, hideText, showText }) => /* @__PURE__ */ jsx("div", {
28
+ className: showMoreContainer({ expanded }),
29
+ children: /* @__PURE__ */ jsx("button", {
30
+ "aria-expanded": expanded,
31
+ className: showMoreButton,
32
+ onClick: () => setExpanded((prevState) => !prevState),
33
+ type: "button",
34
+ children: /* @__PURE__ */ jsxs(Text, {
35
+ as: "span",
36
+ className: centeredText,
37
+ sentiment: "neutral",
38
+ variant: "bodySmallStrong",
39
+ children: [
40
+ expanded ? hideText : showText,
41
+ "\xA0",
42
+ /* @__PURE__ */ jsx(ArrowDownIcon, { className: animatedArrowIcon[expanded ? "true" : "false"] })
43
+ ]
44
+ })
45
+ })
46
+ });
47
+ const CodeEditor = ({ value, onChange, extensions, onBlur, height, readOnly, autoCompletion, disabled = false, label, copyButton, id, helper, labelDescription, expandableHeight, hideText = "Hide", showText = "Show", "aria-label": ariaLabel, "data-testid": dataTestId, className, error, lineNumbers = true, style, required }) => {
48
+ var _langs$extensions;
49
+ var _langs$extensions2;
50
+ const [expanded, setExpanded] = useState(false);
51
+ const expandableEnabled = expandableHeight !== void 0;
52
+ const isEditable = !(disabled && readOnly) && (!expandableEnabled || expanded);
53
+ const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(CodeMirror, {
54
+ "aria-disabled": disabled,
55
+ "aria-label": ariaLabel,
56
+ basicSetup: {
57
+ autocompletion: autoCompletion,
58
+ highlightActiveLine: false,
59
+ highlightActiveLineGutter: false,
60
+ lineNumbers
61
+ },
62
+ className,
63
+ "data-testid": dataTestId,
64
+ editable: isEditable,
65
+ extensions: [(_langs$extensions = (_langs$extensions2 = langs[extensions]) === null || _langs$extensions2 === void 0 ? void 0 : _langs$extensions2.call(langs)) !== null && _langs$extensions !== void 0 ? _langs$extensions : langs["sh"]],
66
+ height: expandableEnabled ? void 0 : height,
67
+ id,
68
+ onBlur,
69
+ onChange,
70
+ onUpdate: () => {
71
+ if (disabled) {
72
+ var _document$getSelectio;
73
+ (_document$getSelectio = document.getSelection()) === null || _document$getSelectio === void 0 || _document$getSelectio.empty();
74
+ }
75
+ },
76
+ readOnly: readOnly || disabled,
77
+ theme: material,
78
+ value,
79
+ width: "100%"
80
+ }), copyButton && !disabled ? /* @__PURE__ */ jsx(CodeEditorCopyButton, {
81
+ copyButton,
82
+ value
83
+ }) : null] });
84
+ return /* @__PURE__ */ jsxs(Stack, {
85
+ className: cn(disabled ? disabledStack : ""),
86
+ gap: .5,
87
+ style,
88
+ children: [
89
+ label ? /* @__PURE__ */ jsx(Label, {
90
+ labelDescription,
91
+ required,
92
+ children: label
93
+ }) : null,
94
+ /* @__PURE__ */ jsxs("div", {
95
+ className: codeEditorWrapper,
96
+ children: [/* @__PURE__ */ jsx("div", {
97
+ className: cn(codeEditor[disabled ? "disabled" : "default"]),
98
+ style: assignInlineVars({ [maxHeightVar]: !expanded && expandableHeight ? `${expandableHeight}px` : "none" }),
99
+ children: expandableEnabled ? /* @__PURE__ */ jsx(Expandable, {
100
+ minHeight: expandableHeight,
101
+ opened: expanded,
102
+ children: content
103
+ }) : content
104
+ }), expandableEnabled ? /* @__PURE__ */ jsx(CodeEditorExpandable, {
105
+ expanded,
106
+ hideText,
107
+ setExpanded,
108
+ showText
109
+ }) : null]
110
+ }),
111
+ error && typeof error !== "boolean" ? /* @__PURE__ */ jsx(Text, {
112
+ as: "span",
113
+ sentiment: "danger",
114
+ variant: "caption",
115
+ children: error
116
+ }) : null,
117
+ !error && helper ? /* @__PURE__ */ jsx(Text, {
118
+ as: "span",
119
+ prominence: "weak",
120
+ sentiment: "neutral",
121
+ variant: "caption",
122
+ children: helper
123
+ }) : null
124
+ ]
125
+ });
126
+ };
127
+
128
+ //#endregion
129
+ export { CodeEditor };
@@ -0,0 +1,19 @@
1
+ export declare const maxHeightVar: `var(--${string})`;
2
+ export declare const disabledStack: string;
3
+ export declare const copyButton: string;
4
+ export declare const codeEditor: Record<"default" | "disabled", string>;
5
+ export declare const showMoreContainer: import("@vanilla-extract/recipes").RuntimeFn<{
6
+ expanded: {
7
+ true: {
8
+ boxShadow: "none";
9
+ };
10
+ false: {
11
+ boxShadow: `0px -22px 19px -6px ${string}`;
12
+ };
13
+ };
14
+ }>;
15
+ export declare const showMoreButton: string;
16
+ export declare const centeredText: string;
17
+ export declare const animatedArrowIcon: Record<"false" | "true", string>;
18
+ export declare const codeEditorWrapper: string;
19
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CodeEditor/styles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY,oBAAc,CAAA;AACvC,eAAO,MAAM,aAAa,QAAmC,CAAA;AAE7D,eAAO,MAAM,UAAU,QAYrB,CAAA;AAYF,eAAO,MAAM,UAAU,wCAGrB,CAAA;AA8EF,eAAO,MAAM,iBAAiB;;;;;;;;;EAY5B,CAAA;AAEF,eAAO,MAAM,cAAc,QAOzB,CAAA;AAEF,eAAO,MAAM,YAAY,QAKvB,CAAA;AAEF,eAAO,MAAM,iBAAiB,kCAW5B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAU5B,CAAA"}
@@ -0,0 +1,30 @@
1
+ /* empty css */
2
+ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
3
+
4
+ //#region src/components/compositions/CodeEditor/styles.css.ts
5
+ var maxHeightVar = "var(--uv_q4eszs0)";
6
+ var disabledStack = "uv_q4eszs1";
7
+ var copyButton = "uv_q4eszs2";
8
+ var codeEditor = {
9
+ "default": "uv_q4eszs4 uv_q4eszs3",
10
+ disabled: "uv_q4eszs5 uv_q4eszs3"
11
+ };
12
+ var showMoreContainer = createRuntimeFn({
13
+ defaultClassName: "uv_q4eszs7 uv_q4eszs6",
14
+ variantClassNames: { expanded: {
15
+ true: "uv_q4eszs8",
16
+ false: "uv_q4eszs9"
17
+ } },
18
+ defaultVariants: {},
19
+ compoundVariants: []
20
+ });
21
+ var showMoreButton = "uv_q4eszsa";
22
+ var centeredText = "uv_q4eszsb";
23
+ var animatedArrowIcon = {
24
+ false: "uv_q4eszsc",
25
+ true: "uv_q4eszsd"
26
+ };
27
+ var codeEditorWrapper = "uv_q4eszse";
28
+
29
+ //#endregion
30
+ export { animatedArrowIcon, centeredText, codeEditor, codeEditorWrapper, copyButton, disabledStack, maxHeightVar, showMoreButton, showMoreContainer };
@@ -0,0 +1,13 @@
1
+ import type { ContentCardProps } from './type';
2
+ export declare const LinkContent: ({ direction, disabled, }: {
3
+ direction: "column" | "row";
4
+ disabled?: boolean | undefined;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CardContent: ({ title, subtitle, disabled, headingTag, description, children, }: ContentCardProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ImageContent: ({ disabled, image, direction, subContainerHeight, }: {
8
+ disabled?: boolean | undefined;
9
+ image?: string | undefined;
10
+ direction: "column" | "row";
11
+ subContainerHeight: string;
12
+ }) => import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=Content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/ContentCard/Content.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAE9C,eAAO,MAAM,WAAW;;;6CAkBvB,CAAA;AAED,eAAO,MAAM,WAAW,kIA4CvB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;6CAsBxB,CAAA"}
@@ -0,0 +1,65 @@
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
3
+ import { Stack } from "../../Stack/index.js";
4
+ import { Text } from "../../Text/index.js";
5
+ import { iconContainer, iconStack, imageClass, subContainerHeightVar } from "./styles.css.js";
6
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { cn } from "@ultraviolet/utils";
9
+ import { OpenInNewIcon } from "@ultraviolet/icons/OpenInNewIcon";
10
+
11
+ //#region src/components/compositions/ContentCard/Content.tsx
12
+ const LinkContent = ({ direction, disabled }) => /* @__PURE__ */ jsx(Stack, {
13
+ alignItems: direction === "column" ? "flex-end" : "center",
14
+ className: cn(iconStack[direction]),
15
+ direction,
16
+ flex: 1,
17
+ justifyContent: direction === "column" ? "center" : "flex-end",
18
+ children: /* @__PURE__ */ jsx("div", {
19
+ className: iconContainer,
20
+ children: /* @__PURE__ */ jsx(OpenInNewIcon, {
21
+ disabled,
22
+ sentiment: "neutral"
23
+ })
24
+ })
25
+ });
26
+ const CardContent = ({ title, subtitle, disabled, headingTag = "h3", description, children }) => /* @__PURE__ */ jsxs(Stack, {
27
+ flex: "1 1 auto",
28
+ gap: 2,
29
+ justifyContent: "space-between",
30
+ children: [/* @__PURE__ */ jsxs(Stack, {
31
+ gap: .5,
32
+ children: [/* @__PURE__ */ jsxs(Stack, { children: [subtitle ? /* @__PURE__ */ jsx(Text, {
33
+ as: "small",
34
+ disabled,
35
+ prominence: "weak",
36
+ sentiment: "neutral",
37
+ variant: "caption",
38
+ children: subtitle
39
+ }) : null, /* @__PURE__ */ jsx(Text, {
40
+ as: headingTag,
41
+ disabled,
42
+ sentiment: "neutral",
43
+ variant: "bodyStrong",
44
+ children: title
45
+ })] }), description ? /* @__PURE__ */ jsx(Text, {
46
+ as: "p",
47
+ disabled,
48
+ sentiment: "neutral",
49
+ variant: "bodySmall",
50
+ children: description
51
+ }) : null]
52
+ }), children ? /* @__PURE__ */ jsx(Stack, { children }) : null]
53
+ });
54
+ const ImageContent = ({ disabled, image, direction, subContainerHeight }) => /* @__PURE__ */ jsx("img", {
55
+ alt: "",
56
+ className: imageClass[direction],
57
+ "data-disabled": disabled,
58
+ height: direction === "column" ? 120 : void 0,
59
+ src: image,
60
+ style: assignInlineVars({ [subContainerHeightVar]: subContainerHeight }),
61
+ width: direction === "row" ? 220 : void 0
62
+ });
63
+
64
+ //#endregion
65
+ export { CardContent, ImageContent, LinkContent };
@@ -0,0 +1,6 @@
1
+ type SkeletonProps = {
2
+ direction: 'row' | 'column';
3
+ };
4
+ export declare const Skeleton: ({ direction }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/ContentCard/Skeleton.tsx"],"names":[],"mappings":"AAYA,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,QAAQ,2EAkBpB,CAAA"}
@@ -0,0 +1,33 @@
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
3
+ import { Stack } from "../../Stack/index.js";
4
+ import { paddedStack, skeletonHeightVar, skeletonImage, skeletonWidthVar } from "./styles.css.js";
5
+ import { Skeleton as Skeleton$1 } from "../../Skeleton/index.js";
6
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+
9
+ //#region src/components/compositions/ContentCard/Skeleton.tsx
10
+ const Skeleton = ({ direction }) => /* @__PURE__ */ jsxs(Stack, {
11
+ direction,
12
+ children: [/* @__PURE__ */ jsx(Skeleton$1, {
13
+ className: skeletonImage[direction],
14
+ style: assignInlineVars({
15
+ [skeletonHeightVar]: direction === "column" ? "120px" : "unset",
16
+ [skeletonWidthVar]: direction === "row" ? "220px" : "100%"
17
+ }),
18
+ variant: "square"
19
+ }), /* @__PURE__ */ jsxs(Stack, {
20
+ className: paddedStack,
21
+ gap: 2,
22
+ children: [
23
+ /* @__PURE__ */ jsx(Skeleton$1, { variant: "line" }),
24
+ /* @__PURE__ */ jsx(Skeleton$1, { variant: "line" }),
25
+ /* @__PURE__ */ jsx(Skeleton$1, { variant: "line" }),
26
+ /* @__PURE__ */ jsx(Skeleton$1, { variant: "line" }),
27
+ /* @__PURE__ */ jsx(Skeleton$1, { variant: "line" })
28
+ ]
29
+ })]
30
+ });
31
+
32
+ //#endregion
33
+ export { Skeleton };
@@ -0,0 +1,8 @@
1
+ import type { ContentCardProps } from './type';
2
+ /**
3
+ * ContentCard is a component that displays a title, subtitle, description, image and icon in a card.
4
+ * It can take different directions to display the image and the content. You can also add more content
5
+ * by passing children.
6
+ */
7
+ export declare const ContentCard: import("react").ForwardRefExoticComponent<ContentCardProps & import("react").RefAttributes<HTMLAnchorElement & HTMLButtonElement & HTMLDivElement>>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/ContentCard/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,WAAW,qJAsGvB,CAAA"}