@ultraviolet/ui 3.0.0-beta.27 → 3.0.0-beta.29

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 (323) hide show
  1. package/README.md +47 -18
  2. package/dist/components/ActionBar/index.js +19 -7
  3. package/dist/components/Alert/index.d.ts +2 -1
  4. package/dist/components/Alert/index.js +98 -20
  5. package/dist/components/Alert/styles.css.d.ts +10 -1
  6. package/dist/components/Alert/styles.css.js +7 -5
  7. package/dist/components/Avatar/index.d.ts +1 -1
  8. package/dist/components/Avatar/index.js +46 -36
  9. package/dist/components/Avatar/styles.css.js +0 -1
  10. package/dist/components/Avatar/variables.css.js +1 -0
  11. package/dist/components/Badge/index.d.ts +1 -1
  12. package/dist/components/Badge/index.js +19 -8
  13. package/dist/components/Banner/index.d.ts +1 -1
  14. package/dist/components/Banner/index.js +87 -28
  15. package/dist/components/BarChart/Tooltip.d.ts +1 -1
  16. package/dist/components/BarChart/Tooltip.js +23 -10
  17. package/dist/components/BarChart/index.d.ts +1 -1
  18. package/dist/components/BarChart/index.js +51 -31
  19. package/dist/components/BarStack/index.d.ts +1 -1
  20. package/dist/components/BarStack/index.js +64 -19
  21. package/dist/components/Breadcrumbs/components/Item.d.ts +1 -1
  22. package/dist/components/Breadcrumbs/components/Item.js +48 -12
  23. package/dist/components/Breadcrumbs/index.js +11 -2
  24. package/dist/components/Bullet/index.d.ts +1 -1
  25. package/dist/components/Bullet/index.js +10 -7
  26. package/dist/components/Button/index.js +122 -72
  27. package/dist/components/Card/index.js +80 -20
  28. package/dist/components/Carousel/index.d.ts +3 -3
  29. package/dist/components/Carousel/index.js +72 -26
  30. package/dist/components/Checkbox/index.js +139 -43
  31. package/dist/components/CheckboxGroup/index.d.ts +3 -3
  32. package/dist/components/CheckboxGroup/index.js +77 -24
  33. package/dist/components/Chip/ChipIcon.d.ts +1 -1
  34. package/dist/components/Chip/ChipIcon.js +46 -12
  35. package/dist/components/Chip/index.d.ts +3 -3
  36. package/dist/components/Chip/index.js +36 -11
  37. package/dist/components/CopyButton/index.d.ts +1 -1
  38. package/dist/components/CopyButton/index.js +23 -8
  39. package/dist/components/DateInput/components/CalendarContent.d.ts +1 -1
  40. package/dist/components/DateInput/components/CalendarContent.js +61 -26
  41. package/dist/components/DateInput/components/CalendarDaily.d.ts +1 -1
  42. package/dist/components/DateInput/components/CalendarDaily.js +105 -62
  43. package/dist/components/DateInput/components/CalendarMonthly.d.ts +1 -1
  44. package/dist/components/DateInput/components/CalendarMonthly.js +62 -39
  45. package/dist/components/DateInput/components/Popup.d.ts +1 -1
  46. package/dist/components/DateInput/components/Popup.js +29 -6
  47. package/dist/components/DateInput/helpers.js +9 -2
  48. package/dist/components/DateInput/helpersLocale.js +3 -9
  49. package/dist/components/DateInput/index.d.ts +1 -1
  50. package/dist/components/DateInput/index.js +193 -62
  51. package/dist/components/Dialog/Context.js +3 -1
  52. package/dist/components/Dialog/components/Button.d.ts +1 -1
  53. package/dist/components/Dialog/components/Button.js +12 -2
  54. package/dist/components/Dialog/components/Buttons.d.ts +1 -1
  55. package/dist/components/Dialog/components/Buttons.js +1 -1
  56. package/dist/components/Dialog/components/CancelButton.d.ts +1 -1
  57. package/dist/components/Dialog/components/CancelButton.js +12 -2
  58. package/dist/components/Dialog/components/Stack.d.ts +1 -1
  59. package/dist/components/Dialog/components/Stack.js +2 -5
  60. package/dist/components/Dialog/components/Text.d.ts +1 -1
  61. package/dist/components/Dialog/components/Text.js +2 -5
  62. package/dist/components/Dialog/index.d.ts +7 -7
  63. package/dist/components/Dialog/index.js +43 -12
  64. package/dist/components/Drawer/index.d.ts +4 -4
  65. package/dist/components/Drawer/index.js +53 -15
  66. package/dist/components/EmptyState/index.d.ts +1 -1
  67. package/dist/components/EmptyState/index.js +63 -21
  68. package/dist/components/Expandable/index.d.ts +2 -2
  69. package/dist/components/Expandable/index.js +52 -15
  70. package/dist/components/ExpandableCard/components/Title.d.ts +1 -1
  71. package/dist/components/ExpandableCard/components/Title.js +12 -2
  72. package/dist/components/ExpandableCard/index.d.ts +1 -1
  73. package/dist/components/ExpandableCard/index.js +197 -96
  74. package/dist/components/GlobalAlert/GlobalAlertLink.d.ts +1 -1
  75. package/dist/components/GlobalAlert/GlobalAlertLink.js +21 -5
  76. package/dist/components/GlobalAlert/index.d.ts +2 -2
  77. package/dist/components/GlobalAlert/index.js +51 -11
  78. package/dist/components/InfiniteScroll/index.d.ts +1 -1
  79. package/dist/components/InfiniteScroll/index.js +40 -33
  80. package/dist/components/Key/index.d.ts +1 -1
  81. package/dist/components/Key/index.js +29 -8
  82. package/dist/components/Label/index.d.ts +1 -1
  83. package/dist/components/Label/index.js +67 -6
  84. package/dist/components/LineChart/CustomLegend.d.ts +1 -1
  85. package/dist/components/LineChart/CustomLegend.js +69 -45
  86. package/dist/components/LineChart/Tooltip.d.ts +1 -1
  87. package/dist/components/LineChart/Tooltip.js +31 -9
  88. package/dist/components/LineChart/helpers.js +13 -12
  89. package/dist/components/LineChart/index.d.ts +1 -1
  90. package/dist/components/LineChart/index.js +56 -40
  91. package/dist/components/Link/index.js +74 -57
  92. package/dist/components/List/Cell.js +24 -22
  93. package/dist/components/List/ColumnProvider.d.ts +1 -1
  94. package/dist/components/List/ColumnProvider.js +12 -6
  95. package/dist/components/List/HeaderCell.d.ts +1 -1
  96. package/dist/components/List/HeaderCell.js +36 -19
  97. package/dist/components/List/HeaderRow.d.ts +1 -1
  98. package/dist/components/List/HeaderRow.js +14 -12
  99. package/dist/components/List/ListContext.d.ts +1 -1
  100. package/dist/components/List/ListContext.js +128 -78
  101. package/dist/components/List/Row.js +166 -90
  102. package/dist/components/List/SelectBar.d.ts +1 -1
  103. package/dist/components/List/SelectBar.js +20 -10
  104. package/dist/components/List/SkeletonRows.d.ts +1 -1
  105. package/dist/components/List/SkeletonRows.js +26 -16
  106. package/dist/components/List/index.d.ts +1 -1
  107. package/dist/components/List/index.js +60 -22
  108. package/dist/components/Loader/index.d.ts +1 -1
  109. package/dist/components/Loader/index.js +47 -23
  110. package/dist/components/Menu/MenuContent.d.ts +1 -1
  111. package/dist/components/Menu/MenuContent.js +216 -162
  112. package/dist/components/Menu/MenuProvider.d.ts +1 -1
  113. package/dist/components/Menu/MenuProvider.js +26 -13
  114. package/dist/components/Menu/components/Group.d.ts +1 -1
  115. package/dist/components/Menu/components/Group.js +11 -2
  116. package/dist/components/Menu/components/Item.js +144 -82
  117. package/dist/components/Menu/helpers.js +3 -1
  118. package/dist/components/Menu/index.d.ts +2 -2
  119. package/dist/components/Menu/index.js +5 -11
  120. package/dist/components/Menu/types.d.ts +2 -2
  121. package/dist/components/Meter/index.d.ts +1 -1
  122. package/dist/components/Meter/index.js +43 -12
  123. package/dist/components/Modal/ModalContent.d.ts +1 -1
  124. package/dist/components/Modal/ModalContent.js +41 -11
  125. package/dist/components/Modal/ModalProvider.d.ts +1 -1
  126. package/dist/components/Modal/ModalProvider.js +14 -11
  127. package/dist/components/Modal/components/Dialog.js +91 -47
  128. package/dist/components/Modal/index.d.ts +1 -1
  129. package/dist/components/Modal/index.js +60 -3
  130. package/dist/components/Notice/index.d.ts +1 -1
  131. package/dist/components/Notice/index.js +24 -5
  132. package/dist/components/Notification/Notification.js +12 -2
  133. package/dist/components/Notification/NotificationContainer.d.ts +1 -1
  134. package/dist/components/Notification/NotificationContainer.js +18 -2
  135. package/dist/components/NumberInput/index.d.ts +1 -1
  136. package/dist/components/NumberInput/index.js +239 -130
  137. package/dist/components/Pagination/PaginationButtons.d.ts +1 -1
  138. package/dist/components/Pagination/PaginationButtons.js +75 -10
  139. package/dist/components/Pagination/PerPage.d.ts +1 -1
  140. package/dist/components/Pagination/PerPage.js +32 -17
  141. package/dist/components/Pagination/getPageNumbers.js +12 -13
  142. package/dist/components/Pagination/index.d.ts +1 -1
  143. package/dist/components/Pagination/index.js +26 -3
  144. package/dist/components/PasswordCheck/index.d.ts +1 -1
  145. package/dist/components/PasswordCheck/index.js +27 -5
  146. package/dist/components/PieChart/Legends.d.ts +1 -1
  147. package/dist/components/PieChart/Legends.js +52 -20
  148. package/dist/components/PieChart/Tooltip.d.ts +1 -1
  149. package/dist/components/PieChart/Tooltip.js +2 -4
  150. package/dist/components/PieChart/index.d.ts +1 -1
  151. package/dist/components/PieChart/index.js +80 -40
  152. package/dist/components/Popover/index.js +104 -46
  153. package/dist/components/Popup/helpers.d.ts +5 -1
  154. package/dist/components/Popup/helpers.js +49 -35
  155. package/dist/components/Popup/index.d.ts +2 -1
  156. package/dist/components/Popup/index.js +373 -255
  157. package/dist/components/Popup/styles.css.js +0 -1
  158. package/dist/components/Popup/variables.css.js +1 -0
  159. package/dist/components/ProgressBar/index.d.ts +1 -1
  160. package/dist/components/ProgressBar/index.js +74 -20
  161. package/dist/components/Radio/index.js +83 -51
  162. package/dist/components/RadioGroup/index.d.ts +2 -2
  163. package/dist/components/RadioGroup/index.js +74 -20
  164. package/dist/components/Row/index.d.ts +1 -1
  165. package/dist/components/Row/index.js +38 -27
  166. package/dist/components/Row/styles.css.d.ts +11 -0
  167. package/dist/components/Row/styles.css.js +2 -2
  168. package/dist/components/SearchInput/KeyGroup.d.ts +1 -1
  169. package/dist/components/SearchInput/KeyGroup.js +2 -6
  170. package/dist/components/SearchInput/index.js +232 -164
  171. package/dist/components/SelectInput/SelectInputProvider.d.ts +1 -1
  172. package/dist/components/SelectInput/SelectInputProvider.js +91 -55
  173. package/dist/components/SelectInput/components/Dropdown.d.ts +1 -1
  174. package/dist/components/SelectInput/components/Dropdown.js +442 -101
  175. package/dist/components/SelectInput/components/DropdownOption.d.ts +1 -1
  176. package/dist/components/SelectInput/components/DropdownOption.js +176 -27
  177. package/dist/components/SelectInput/components/SearchBarDropdown.d.ts +1 -1
  178. package/dist/components/SelectInput/components/SearchBarDropdown.js +40 -14
  179. package/dist/components/SelectInput/components/SelectBar.d.ts +1 -1
  180. package/dist/components/SelectInput/components/SelectBar.js +252 -97
  181. package/dist/components/SelectInput/index.d.ts +1 -1
  182. package/dist/components/SelectInput/index.js +102 -10
  183. package/dist/components/SelectableCard/index.js +200 -114
  184. package/dist/components/SelectableCardGroup/index.d.ts +2 -2
  185. package/dist/components/SelectableCardGroup/index.js +67 -25
  186. package/dist/components/SelectableCardOptionGroup/Provider.js +3 -1
  187. package/dist/components/SelectableCardOptionGroup/components/Image.d.ts +1 -1
  188. package/dist/components/SelectableCardOptionGroup/components/Image.js +12 -8
  189. package/dist/components/SelectableCardOptionGroup/components/Option.d.ts +1 -1
  190. package/dist/components/SelectableCardOptionGroup/components/Option.js +96 -19
  191. package/dist/components/SelectableCardOptionGroup/index.d.ts +2 -2
  192. package/dist/components/SelectableCardOptionGroup/index.js +53 -17
  193. package/dist/components/Separator/index.d.ts +1 -1
  194. package/dist/components/Separator/index.js +43 -26
  195. package/dist/components/Skeleton/Block.d.ts +1 -1
  196. package/dist/components/Skeleton/Block.js +2 -6
  197. package/dist/components/Skeleton/Blocks.d.ts +1 -1
  198. package/dist/components/Skeleton/Blocks.js +14 -9
  199. package/dist/components/Skeleton/BoxWithIcon.d.ts +1 -1
  200. package/dist/components/Skeleton/BoxWithIcon.js +14 -9
  201. package/dist/components/Skeleton/Donut.d.ts +1 -1
  202. package/dist/components/Skeleton/Donut.js +10 -2
  203. package/dist/components/Skeleton/IconSkeleton.d.ts +1 -1
  204. package/dist/components/Skeleton/IconSkeleton.js +1 -1
  205. package/dist/components/Skeleton/Line.d.ts +1 -1
  206. package/dist/components/Skeleton/Line.js +10 -4
  207. package/dist/components/Skeleton/List.d.ts +1 -1
  208. package/dist/components/Skeleton/List.js +3 -9
  209. package/dist/components/Skeleton/Slider.d.ts +1 -1
  210. package/dist/components/Skeleton/Slider.js +11 -8
  211. package/dist/components/Skeleton/Square.d.ts +1 -1
  212. package/dist/components/Skeleton/Square.js +1 -1
  213. package/dist/components/Skeleton/index.d.ts +9 -9
  214. package/dist/components/Skeleton/index.js +16 -5
  215. package/dist/components/Slider/components/DoubleSlider.d.ts +1 -1
  216. package/dist/components/Slider/components/DoubleSlider.js +191 -88
  217. package/dist/components/Slider/components/Options.d.ts +1 -1
  218. package/dist/components/Slider/components/Options.js +44 -28
  219. package/dist/components/Slider/components/SingleSlider.d.ts +1 -1
  220. package/dist/components/Slider/components/SingleSlider.js +133 -53
  221. package/dist/components/Slider/index.d.ts +1 -1
  222. package/dist/components/Slider/index.js +82 -12
  223. package/dist/components/Snippet/index.d.ts +1 -1
  224. package/dist/components/Snippet/index.js +103 -19
  225. package/dist/components/Stack/index.d.ts +1 -1
  226. package/dist/components/Stack/index.js +20 -24
  227. package/dist/components/Stack/styles.css.js +2 -2
  228. package/dist/components/Status/index.d.ts +1 -1
  229. package/dist/components/Status/index.js +13 -11
  230. package/dist/components/StepList/index.d.ts +2 -2
  231. package/dist/components/StepList/index.js +31 -10
  232. package/dist/components/Stepper/Step.d.ts +1 -1
  233. package/dist/components/Stepper/Step.js +65 -30
  234. package/dist/components/Stepper/StepperProvider.d.ts +1 -1
  235. package/dist/components/Stepper/StepperProvider.js +13 -10
  236. package/dist/components/Stepper/index.d.ts +2 -2
  237. package/dist/components/Stepper/index.js +46 -26
  238. package/dist/components/SwitchButton/FocusOverlay.d.ts +1 -1
  239. package/dist/components/SwitchButton/FocusOverlay.js +11 -5
  240. package/dist/components/SwitchButton/Option.d.ts +1 -1
  241. package/dist/components/SwitchButton/Option.js +20 -2
  242. package/dist/components/SwitchButton/index.d.ts +2 -2
  243. package/dist/components/SwitchButton/index.js +95 -48
  244. package/dist/components/Table/Body.d.ts +1 -1
  245. package/dist/components/Table/Body.js +2 -4
  246. package/dist/components/Table/Cell.d.ts +1 -1
  247. package/dist/components/Table/Cell.js +20 -17
  248. package/dist/components/Table/Header.d.ts +1 -1
  249. package/dist/components/Table/Header.js +2 -4
  250. package/dist/components/Table/HeaderCell.d.ts +1 -1
  251. package/dist/components/Table/HeaderCell.js +46 -22
  252. package/dist/components/Table/HeaderRow.d.ts +1 -1
  253. package/dist/components/Table/HeaderRow.js +21 -12
  254. package/dist/components/Table/Row.d.ts +1 -1
  255. package/dist/components/Table/Row.js +70 -14
  256. package/dist/components/Table/SelectBar.d.ts +1 -1
  257. package/dist/components/Table/SelectBar.js +20 -10
  258. package/dist/components/Table/SkeletonRows.d.ts +1 -1
  259. package/dist/components/Table/SkeletonRows.js +17 -16
  260. package/dist/components/Table/TableContext.d.ts +1 -1
  261. package/dist/components/Table/TableContext.js +22 -13
  262. package/dist/components/Table/index.d.ts +6 -6
  263. package/dist/components/Table/index.js +64 -23
  264. package/dist/components/Tabs/Tab.js +79 -41
  265. package/dist/components/Tabs/TabMenu.js +39 -23
  266. package/dist/components/Tabs/TabMenuItem.d.ts +1 -1
  267. package/dist/components/Tabs/TabMenuItem.js +20 -11
  268. package/dist/components/Tabs/TabsContext.js +3 -1
  269. package/dist/components/Tabs/index.d.ts +3 -3
  270. package/dist/components/Tabs/index.js +34 -14
  271. package/dist/components/Tag/index.d.ts +1 -1
  272. package/dist/components/Tag/index.js +45 -12
  273. package/dist/components/TagInput/index.d.ts +1 -1
  274. package/dist/components/TagInput/index.js +131 -52
  275. package/dist/components/TagInput/styles.css.d.ts +3 -0
  276. package/dist/components/TagList/index.d.ts +1 -1
  277. package/dist/components/TagList/index.js +132 -59
  278. package/dist/components/Text/index.d.ts +1 -1
  279. package/dist/components/Text/index.js +21 -17
  280. package/dist/components/TextArea/index.js +178 -103
  281. package/dist/components/TextInput/index.d.ts +1 -1
  282. package/dist/components/TextInput/index.js +286 -106
  283. package/dist/components/TimeInput/constants.js +1 -5
  284. package/dist/components/TimeInput/index.d.ts +1 -1
  285. package/dist/components/TimeInput/index.js +207 -118
  286. package/dist/components/Toaster/Toaster.js +1 -1
  287. package/dist/components/Toaster/ToasterContainer.d.ts +1 -1
  288. package/dist/components/Toaster/ToasterContainer.js +21 -2
  289. package/dist/components/Toaster/components/Button.d.ts +1 -1
  290. package/dist/components/Toaster/components/CloseButton.d.ts +1 -1
  291. package/dist/components/Toaster/components/CloseButton.js +12 -2
  292. package/dist/components/Toaster/components/Content.d.ts +1 -1
  293. package/dist/components/Toaster/components/Content.js +2 -4
  294. package/dist/components/Toaster/components/Link.d.ts +1 -1
  295. package/dist/components/Toaster/index.d.ts +2 -2
  296. package/dist/components/Toggle/index.js +101 -40
  297. package/dist/components/ToggleGroup/index.d.ts +3 -3
  298. package/dist/components/ToggleGroup/index.js +61 -22
  299. package/dist/components/Tooltip/index.d.ts +1 -1
  300. package/dist/components/Tooltip/index.js +42 -19
  301. package/dist/components/TreeMapChart/Tooltip.d.ts +1 -1
  302. package/dist/components/TreeMapChart/Tooltip.js +1 -1
  303. package/dist/components/TreeMapChart/index.d.ts +1 -1
  304. package/dist/components/TreeMapChart/index.js +33 -27
  305. package/dist/components/UnitInput/index.d.ts +1 -1
  306. package/dist/components/UnitInput/index.js +110 -29
  307. package/dist/components/VerificationCode/index.d.ts +1 -1
  308. package/dist/components/VerificationCode/index.js +80 -21
  309. package/dist/helpers/legend.js +4 -4
  310. package/dist/helpers/treeMap.d.ts +2 -1
  311. package/dist/index.d.ts +1 -1
  312. package/dist/index.js +2 -4
  313. package/dist/theme/ThemeProvider.d.ts +1 -1
  314. package/dist/theme/ThemeProvider.js +4 -2
  315. package/dist/theme/index.js +1 -8
  316. package/dist/ui.css +1 -1
  317. package/dist/utils/ids.js +1 -3
  318. package/dist/utils/index.d.ts +1 -1
  319. package/dist/utils/responsive/index.d.ts +0 -1
  320. package/dist/utils/responsive/style.css.d.ts +3 -0
  321. package/package.json +5 -10
  322. package/dist/utils/responsive/Breakpoint.d.ts +0 -9
  323. package/dist/utils/responsive/Breakpoint.js +0 -14
@@ -21,5 +21,5 @@ type ProgressBarProps = {
21
21
  /**
22
22
  * Progress bar component to display progress of a task. Can be used to display progress of a form or a loading state.
23
23
  */
24
- export declare const ProgressBar: ({ progress, value, sentiment, className, "data-testid": dataTestId, showProgress, prefix, suffix, max, label, labelDescription, direction, "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel, style, }: ProgressBarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
24
+ export declare const ProgressBar: ({ progress, value, sentiment, className, "data-testid": dataTestId, showProgress, prefix, suffix, max, label, labelDescription, direction, "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel, style, }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
25
25
  export {};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jsxs, jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { assignInlineVars } from "@vanilla-extract/dynamic";
4
4
  import { Label } from "../Label/index.js";
5
5
  import { Stack } from "../Stack/index.js";
@@ -22,25 +22,79 @@ const ProgressBar = ({
22
22
  "aria-labelledby": ariaLabelledBy,
23
23
  "aria-label": ariaLabel,
24
24
  style
25
- }) => /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction, gap: direction === "column" ? 1 : 2, children: [
26
- direction === "column" && (label || showProgress) ? /* @__PURE__ */ jsxs(Stack, { direction: "row", justifyContent: !label && showProgress ? "right" : "space-between", width: "100%", children: [
27
- /* @__PURE__ */ jsx(Label, { labelDescription, size: "medium", children: label }),
28
- showProgress ? /* @__PURE__ */ jsxs(Text, { as: "label", placement: "right", sentiment: "neutral", variant: "bodySmall", children: [
29
- prefix,
30
- suffix === "%" ? 100 * value / max : value,
31
- suffix
32
- ] }) : null
33
- ] }) : null,
34
- direction === "row" && label ? /* @__PURE__ */ jsx(Label, { labelDescription, size: "medium", children: label }) : null,
35
- /* @__PURE__ */ jsx("div", { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-valuemax": max, "aria-valuemin": 0, "aria-valuenow": value, className: `${className ? `${className} ` : ""}${progressContainer}`, "data-testid": dataTestId, role: "progressbar", style, children: progress ? /* @__PURE__ */ jsx("div", { className: progressBar }) : /* @__PURE__ */ jsx("div", { className: filledBarSentiments[sentiment], style: assignInlineVars({
36
- [percentageValue]: `${100 * Math.max(0, Math.min(max, value)) / max}%`
37
- }) }) }),
38
- showProgress && direction === "row" ? /* @__PURE__ */ jsx(Stack, { direction: "row", gap: 1, width: "fit-content", children: /* @__PURE__ */ jsxs(Text, { as: "label", className: customText, sentiment: "neutral", variant: "bodySmall", children: [
39
- prefix,
40
- suffix === "%" ? 100 * value / max : value,
41
- suffix
42
- ] }) }) : null
43
- ] });
25
+ }) => /* @__PURE__ */ jsxs(
26
+ Stack,
27
+ {
28
+ alignItems: "center",
29
+ direction,
30
+ gap: direction === "column" ? 1 : 2,
31
+ children: [
32
+ direction === "column" && (label || showProgress) ? /* @__PURE__ */ jsxs(
33
+ Stack,
34
+ {
35
+ direction: "row",
36
+ justifyContent: !label && showProgress ? "right" : "space-between",
37
+ width: "100%",
38
+ children: [
39
+ /* @__PURE__ */ jsx(Label, { labelDescription, size: "medium", children: label }),
40
+ showProgress ? /* @__PURE__ */ jsxs(
41
+ Text,
42
+ {
43
+ as: "label",
44
+ placement: "right",
45
+ sentiment: "neutral",
46
+ variant: "bodySmall",
47
+ children: [
48
+ prefix,
49
+ suffix === "%" ? 100 * value / max : value,
50
+ suffix
51
+ ]
52
+ }
53
+ ) : null
54
+ ]
55
+ }
56
+ ) : null,
57
+ direction === "row" && label ? /* @__PURE__ */ jsx(Label, { labelDescription, size: "medium", children: label }) : null,
58
+ /* @__PURE__ */ jsx(
59
+ "div",
60
+ {
61
+ "aria-label": ariaLabel,
62
+ "aria-labelledby": ariaLabelledBy,
63
+ "aria-valuemax": max,
64
+ "aria-valuemin": 0,
65
+ "aria-valuenow": value,
66
+ className: `${className ? `${className} ` : ""}${progressContainer}`,
67
+ "data-testid": dataTestId,
68
+ role: "progressbar",
69
+ style,
70
+ children: progress ? /* @__PURE__ */ jsx("div", { className: progressBar }) : /* @__PURE__ */ jsx(
71
+ "div",
72
+ {
73
+ className: filledBarSentiments[sentiment],
74
+ style: assignInlineVars({
75
+ [percentageValue]: `${100 * Math.max(0, Math.min(max, value)) / max}%`
76
+ })
77
+ }
78
+ )
79
+ }
80
+ ),
81
+ showProgress && direction === "row" ? /* @__PURE__ */ jsx(Stack, { direction: "row", gap: 1, width: "fit-content", children: /* @__PURE__ */ jsxs(
82
+ Text,
83
+ {
84
+ as: "label",
85
+ className: customText,
86
+ sentiment: "neutral",
87
+ variant: "bodySmall",
88
+ children: [
89
+ prefix,
90
+ suffix === "%" ? 100 * value / max : value,
91
+ suffix
92
+ ]
93
+ }
94
+ ) }) : null
95
+ ]
96
+ }
97
+ );
44
98
  export {
45
99
  ProgressBar
46
100
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jsx, jsxs, Fragment } from "@emotion/react/jsx-runtime";
2
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { forwardRef, useId } from "react";
4
4
  import { Stack } from "../Stack/index.js";
5
5
  import { Text } from "../Text/index.js";
@@ -10,60 +10,92 @@ const RadioMarkedIcon = () => /* @__PURE__ */ jsxs("g", { children: [
10
10
  /* @__PURE__ */ jsx("circle", { className: innerCircleRing, cx: "12", cy: "12", r: "8" }),
11
11
  /* @__PURE__ */ jsx("circle", { className: radioMark, cx: "12", cy: "12", r: "5" })
12
12
  ] });
13
- const Radio = forwardRef(({
14
- checked = false,
15
- onChange,
16
- onFocus,
17
- onBlur,
18
- disabled = false,
19
- error,
20
- name,
21
- value,
22
- label,
23
- helper,
24
- className,
25
- autoFocus,
26
- onKeyDown,
27
- tooltip,
28
- "aria-label": ariaLabel,
29
- "data-testid": dataTestId,
30
- tabIndex,
31
- id,
32
- style
33
- }, forwadedRef) => {
34
- const generatedId = useId();
35
- const localId = id || generatedId;
36
- return /* @__PURE__ */ jsx(Tooltip, { text: tooltip, children: /* @__PURE__ */ jsxs(Stack, { className: radioStack, gap: 0.5, children: [
37
- /* @__PURE__ */ jsxs("div", { "aria-disabled": disabled, className: `${className ? `${className} ` : ""}${container}`, "data-checked": checked, "data-error": error, "data-testid": dataTestId, children: [
38
- /* @__PURE__ */ jsx(
39
- "input",
13
+ const Radio = forwardRef(
14
+ ({
15
+ checked = false,
16
+ onChange,
17
+ onFocus,
18
+ onBlur,
19
+ disabled = false,
20
+ error,
21
+ name,
22
+ value,
23
+ label,
24
+ helper,
25
+ className,
26
+ autoFocus,
27
+ onKeyDown,
28
+ tooltip,
29
+ "aria-label": ariaLabel,
30
+ "data-testid": dataTestId,
31
+ tabIndex,
32
+ id,
33
+ style
34
+ }, forwadedRef) => {
35
+ const generatedId = useId();
36
+ const localId = id || generatedId;
37
+ return /* @__PURE__ */ jsx(Tooltip, { text: tooltip, children: /* @__PURE__ */ jsxs(Stack, { className: radioStack, gap: 0.5, children: [
38
+ /* @__PURE__ */ jsxs(
39
+ "div",
40
40
  {
41
41
  "aria-disabled": disabled,
42
- "aria-invalid": !!error,
43
- "aria-label": ariaLabel,
44
- autoFocus,
45
- checked,
46
- className: radio,
47
- disabled,
48
- id: localId,
49
- name,
50
- onBlur,
51
- onChange,
52
- onFocus,
53
- onKeyDown,
54
- ref: forwadedRef,
55
- style,
56
- tabIndex,
57
- type: "radio",
58
- value
42
+ className: `${className ? `${className} ` : ""}${container}`,
43
+ "data-checked": checked,
44
+ "data-error": error,
45
+ "data-testid": dataTestId,
46
+ children: [
47
+ /* @__PURE__ */ jsx(
48
+ "input",
49
+ {
50
+ "aria-disabled": disabled,
51
+ "aria-invalid": !!error,
52
+ "aria-label": ariaLabel,
53
+ autoFocus,
54
+ checked,
55
+ className: radio,
56
+ disabled,
57
+ id: localId,
58
+ name,
59
+ onBlur,
60
+ onChange,
61
+ onFocus,
62
+ onKeyDown,
63
+ ref: forwadedRef,
64
+ style,
65
+ tabIndex,
66
+ type: "radio",
67
+ value
68
+ }
69
+ ),
70
+ /* @__PURE__ */ jsx("svg", { className: ring, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx(RadioMarkedIcon, {}) }),
71
+ label ? /* @__PURE__ */ jsx(Fragment, { children: typeof label === "string" ? /* @__PURE__ */ jsx(
72
+ Text,
73
+ {
74
+ as: "label",
75
+ className: textLabel,
76
+ htmlFor: localId,
77
+ prominence: "default",
78
+ variant: "body",
79
+ children: label
80
+ }
81
+ ) : /* @__PURE__ */ jsx("label", { className: labelStyle, htmlFor: localId, children: label }) }) : null
82
+ ]
59
83
  }
60
84
  ),
61
- /* @__PURE__ */ jsx("svg", { className: ring, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx(RadioMarkedIcon, {}) }),
62
- label ? /* @__PURE__ */ jsx(Fragment, { children: typeof label === "string" ? /* @__PURE__ */ jsx(Text, { as: "label", className: textLabel, htmlFor: localId, prominence: "default", variant: "body", children: label }) : /* @__PURE__ */ jsx("label", { className: labelStyle, htmlFor: localId, children: label }) }) : null
63
- ] }),
64
- helper ? /* @__PURE__ */ jsx(Text, { as: "span", className: margedText, prominence: "weak", sentiment: "neutral", variant: "caption", children: helper }) : null
65
- ] }) });
66
- });
85
+ helper ? /* @__PURE__ */ jsx(
86
+ Text,
87
+ {
88
+ as: "span",
89
+ className: margedText,
90
+ prominence: "weak",
91
+ sentiment: "neutral",
92
+ variant: "caption",
93
+ children: helper
94
+ }
95
+ ) : null
96
+ ] }) });
97
+ }
98
+ );
67
99
  export {
68
100
  Radio
69
101
  };
@@ -16,7 +16,7 @@ type RadioGroupProps = {
16
16
  * RadioGroup is a component that allows users to select one option from a list of options using radio.
17
17
  */
18
18
  export declare const RadioGroup: {
19
- ({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, }: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
20
- Radio: ({ onFocus, onBlur, disabled, error, value, label, helper, className, autoFocus, onKeyDown, tooltip, "data-testid": dataTestId, style, }: RadioGroupRadioProps) => import("@emotion/react/jsx-runtime").JSX.Element;
19
+ ({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
20
+ Radio: ({ onFocus, onBlur, disabled, error, value, label, helper, className, autoFocus, onKeyDown, tooltip, "data-testid": dataTestId, style, }: RadioGroupRadioProps) => import("react/jsx-runtime").JSX.Element;
21
21
  };
22
22
  export {};
@@ -1,12 +1,14 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "@emotion/react/jsx-runtime";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useMemo, createContext, useContext } from "react";
4
4
  import { Label } from "../Label/index.js";
5
5
  import { Radio } from "../Radio/index.js";
6
6
  import { Stack } from "../Stack/index.js";
7
7
  import { Text } from "../Text/index.js";
8
8
  import { fieldset } from "./styles.css.js";
9
- const RadioGroupContext = createContext(void 0);
9
+ const RadioGroupContext = createContext(
10
+ void 0
11
+ );
10
12
  const RadioGroupRadio = ({
11
13
  onFocus,
12
14
  onBlur,
@@ -26,13 +28,28 @@ const RadioGroupRadio = ({
26
28
  if (!context) {
27
29
  throw new Error("RadioGroup.Radio can only be used inside a RadioGroup");
28
30
  }
29
- const {
30
- groupName,
31
- onChange,
32
- groupValue,
33
- error: errorContext
34
- } = context;
35
- return /* @__PURE__ */ jsx(Radio, { autoFocus, checked: groupValue === value, className, "data-testid": dataTestId, disabled, error: error || errorContext, helper, label, name: groupName, onBlur, onChange, onFocus, onKeyDown, style, tooltip, value });
31
+ const { groupName, onChange, groupValue, error: errorContext } = context;
32
+ return /* @__PURE__ */ jsx(
33
+ Radio,
34
+ {
35
+ autoFocus,
36
+ checked: groupValue === value,
37
+ className,
38
+ "data-testid": dataTestId,
39
+ disabled,
40
+ error: error || errorContext,
41
+ helper,
42
+ label,
43
+ name: groupName,
44
+ onBlur,
45
+ onChange,
46
+ onFocus,
47
+ onKeyDown,
48
+ style,
49
+ tooltip,
50
+ value
51
+ }
52
+ );
36
53
  };
37
54
  const RadioGroup = ({
38
55
  legend,
@@ -48,22 +65,59 @@ const RadioGroup = ({
48
65
  description,
49
66
  required = false
50
67
  }) => {
51
- const contextValue = useMemo(() => ({
52
- error: !!error,
53
- groupName: name,
54
- groupValue: value,
55
- onChange,
56
- required
57
- }), [name, value, onChange, required, error]);
68
+ const contextValue = useMemo(
69
+ () => ({
70
+ error: !!error,
71
+ groupName: name,
72
+ groupValue: value,
73
+ onChange,
74
+ required
75
+ }),
76
+ [name, value, onChange, required, error]
77
+ );
58
78
  return /* @__PURE__ */ jsx(RadioGroupContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(Stack, { gap: 1, children: [
59
79
  /* @__PURE__ */ jsx("fieldset", { className: `${className ? `${className} ` : ""}${fieldset}`, children: /* @__PURE__ */ jsxs(Stack, { gap: 1.5, children: [
60
80
  legend || description ? /* @__PURE__ */ jsxs(Stack, { gap: 0.5, children: [
61
- legend ? /* @__PURE__ */ jsx(Label, { as: "legend", labelDescription: legendDescription, required, children: legend }) : null,
62
- description ? /* @__PURE__ */ jsx(Text, { as: typeof description === "string" ? "p" : "div", prominence: "weak", sentiment: "neutral", variant: "bodySmall", children: description }) : null
81
+ legend ? /* @__PURE__ */ jsx(
82
+ Label,
83
+ {
84
+ as: "legend",
85
+ labelDescription: legendDescription,
86
+ required,
87
+ children: legend
88
+ }
89
+ ) : null,
90
+ description ? /* @__PURE__ */ jsx(
91
+ Text,
92
+ {
93
+ as: typeof description === "string" ? "p" : "div",
94
+ prominence: "weak",
95
+ sentiment: "neutral",
96
+ variant: "bodySmall",
97
+ children: description
98
+ }
99
+ ) : null
63
100
  ] }) : null,
64
- /* @__PURE__ */ jsx(Stack, { alignItems: "start", direction, gap: direction === "column" ? 1 : 2, children })
101
+ /* @__PURE__ */ jsx(
102
+ Stack,
103
+ {
104
+ alignItems: "start",
105
+ direction,
106
+ gap: direction === "column" ? 1 : 2,
107
+ children
108
+ }
109
+ )
65
110
  ] }) }),
66
- helper ? /* @__PURE__ */ jsx(Text, { as: "span", prominence: "weak", sentiment: "neutral", variant: "caption", children: helper }) : null,
111
+ helper ? /* @__PURE__ */ jsx(
112
+ Text,
113
+ {
114
+ as: "span",
115
+ prominence: "weak",
116
+ sentiment: "neutral",
117
+ variant: "caption",
118
+ children: helper
119
+ }
120
+ ) : null,
67
121
  error ? /* @__PURE__ */ jsx(Text, { as: "span", sentiment: "danger", variant: "caption", children: error }) : null
68
122
  ] }) });
69
123
  };
@@ -17,5 +17,5 @@ type RowProps = {
17
17
  /**
18
18
  * Row component is a wrapper for grid layout.
19
19
  */
20
- export declare const Row: ({ className, "data-testid": dataTestId, children, templateColumns, alignItems, justifyContent, gap, padding, style, }: RowProps) => import("@emotion/react/jsx-runtime").JSX.Element;
20
+ export declare const Row: ({ className, "data-testid": dataTestId, children, templateColumns, alignItems, justifyContent, gap, padding, style, }: RowProps) => import("react/jsx-runtime").JSX.Element;
21
21
  export {};
@@ -1,13 +1,16 @@
1
1
  "use client";
2
- import { jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsx } from "react/jsx-runtime";
3
3
  import { consoleLightTheme } from "@ultraviolet/themes";
4
4
  import { assignInlineVars } from "@vanilla-extract/dynamic";
5
5
  import { row, sprinkles } from "./styles.css.js";
6
6
  import { paddings, templateColumn } from "./variables.css.js";
7
- const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => ({
8
- ...acc,
9
- [key]: consoleLightTheme.space[object[key]]
10
- }), {}) : {};
7
+ const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce(
8
+ (acc, key) => ({
9
+ ...acc,
10
+ [key]: consoleLightTheme.space[object[key]]
11
+ }),
12
+ {}
13
+ ) : {};
11
14
  const Row = ({
12
15
  className,
13
16
  "data-testid": dataTestId,
@@ -18,29 +21,37 @@ const Row = ({
18
21
  gap,
19
22
  padding,
20
23
  style
21
- }) => /* @__PURE__ */ jsx("div", { className: `${className ? `${className} ` : ""}${row} ${sprinkles({
22
- alignItems: typeof alignItems === "object" ? alignItems : {
23
- xxsmall: alignItems
24
- },
25
- gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : {
26
- xxsmall: gap ? consoleLightTheme.space[gap] : void 0
27
- },
28
- justifyContent: typeof justifyContent === "object" ? justifyContent : {
29
- xxsmall: justifyContent
24
+ }) => /* @__PURE__ */ jsx(
25
+ "div",
26
+ {
27
+ className: `${className ? `${className} ` : ""}${row} ${sprinkles({
28
+ alignItems: typeof alignItems === "object" ? alignItems : { xxsmall: alignItems },
29
+ gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : { xxsmall: gap ? consoleLightTheme.space[gap] : void 0 },
30
+ justifyContent: typeof justifyContent === "object" ? justifyContent : { xxsmall: justifyContent }
31
+ })}`,
32
+ "data-testid": dataTestId,
33
+ style: {
34
+ ...assignInlineVars({
35
+ ...Object.keys(templateColumn).reduce(
36
+ (acc, column) => ({
37
+ ...acc,
38
+ [templateColumn[column]]: typeof templateColumns === "object" ? templateColumns[column] || "" : templateColumns
39
+ }),
40
+ {}
41
+ ),
42
+ ...Object.keys(paddings).reduce(
43
+ (acc, localPadding) => ({
44
+ ...acc,
45
+ [paddings[localPadding]]: typeof padding === "object" ? padding[localPadding] || "" : padding
46
+ }),
47
+ {}
48
+ )
49
+ }),
50
+ ...style
51
+ },
52
+ children
30
53
  }
31
- })}`, "data-testid": dataTestId, style: {
32
- ...assignInlineVars({
33
- ...Object.keys(templateColumn).reduce((acc, column) => ({
34
- ...acc,
35
- [templateColumn[column]]: typeof templateColumns === "object" ? templateColumns[column] || "" : templateColumns
36
- }), {}),
37
- ...Object.keys(paddings).reduce((acc, localPadding) => ({
38
- ...acc,
39
- [paddings[localPadding]]: typeof padding === "object" ? padding[localPadding] || "" : padding
40
- }), {})
41
- }),
42
- ...style
43
- }, children });
54
+ );
44
55
  export {
45
56
  Row
46
57
  };
@@ -223,6 +223,17 @@ export declare const responsiveProperties: {
223
223
  xxsmall: string;
224
224
  };
225
225
  };
226
+ "anchor-center": {
227
+ defaultClass: string;
228
+ conditions: {
229
+ large: string;
230
+ medium: string;
231
+ small: string;
232
+ xlarge: string;
233
+ xsmall: string;
234
+ xxsmall: string;
235
+ };
236
+ };
226
237
  };
227
238
  };
228
239
  justifyContent: {
@@ -2,13 +2,13 @@
2
2
  /* empty css */
3
3
  import { createSprinkles } from "@vanilla-extract/sprinkles/createRuntimeSprinkles";
4
4
  var row = "uv_x6hyh50";
5
- var responsiveProperties = function() {
5
+ var responsiveProperties = (function() {
6
6
  var x = { conditions: { defaultCondition: "xxsmall", conditionNames: ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], responsiveArray: ["xxsmall", "xsmall", "small", "medium", "large"] }, styles: { gap: { values: { "0rem": { conditions: { xxsmall: "uv_x6hyh51", xsmall: "uv_x6hyh52", small: "uv_x6hyh53", medium: "uv_x6hyh54", large: "uv_x6hyh55", xlarge: "uv_x6hyh56" }, defaultClass: "uv_x6hyh51" }, "0.5rem": { conditions: { xxsmall: "uv_x6hyh57", xsmall: "uv_x6hyh58", small: "uv_x6hyh59", medium: "uv_x6hyh5a", large: "uv_x6hyh5b", xlarge: "uv_x6hyh5c" }, defaultClass: "uv_x6hyh57" }, "1rem": { conditions: { xxsmall: "uv_x6hyh5d", xsmall: "uv_x6hyh5e", small: "uv_x6hyh5f", medium: "uv_x6hyh5g", large: "uv_x6hyh5h", xlarge: "uv_x6hyh5i" }, defaultClass: "uv_x6hyh5d" }, "1.5rem": { conditions: { xxsmall: "uv_x6hyh5j", xsmall: "uv_x6hyh5k", small: "uv_x6hyh5l", medium: "uv_x6hyh5m", large: "uv_x6hyh5n", xlarge: "uv_x6hyh5o" }, defaultClass: "uv_x6hyh5j" }, "2rem": { conditions: { xxsmall: "uv_x6hyh5p", xsmall: "uv_x6hyh5q", small: "uv_x6hyh5r", medium: "uv_x6hyh5s", large: "uv_x6hyh5t", xlarge: "uv_x6hyh5u" }, defaultClass: "uv_x6hyh5p" }, "2.5rem": { conditions: { xxsmall: "uv_x6hyh5v", xsmall: "uv_x6hyh5w", small: "uv_x6hyh5x", medium: "uv_x6hyh5y", large: "uv_x6hyh5z", xlarge: "uv_x6hyh510" }, defaultClass: "uv_x6hyh5v" }, "3rem": { conditions: { xxsmall: "uv_x6hyh511", xsmall: "uv_x6hyh512", small: "uv_x6hyh513", medium: "uv_x6hyh514", large: "uv_x6hyh515", xlarge: "uv_x6hyh516" }, defaultClass: "uv_x6hyh511" }, "3.5rem": { conditions: { xxsmall: "uv_x6hyh517", xsmall: "uv_x6hyh518", small: "uv_x6hyh519", medium: "uv_x6hyh51a", large: "uv_x6hyh51b", xlarge: "uv_x6hyh51c" }, defaultClass: "uv_x6hyh517" }, "4rem": { conditions: { xxsmall: "uv_x6hyh51d", xsmall: "uv_x6hyh51e", small: "uv_x6hyh51f", medium: "uv_x6hyh51g", large: "uv_x6hyh51h", xlarge: "uv_x6hyh51i" }, defaultClass: "uv_x6hyh51d" }, "4.5rem": { conditions: { xxsmall: "uv_x6hyh51j", xsmall: "uv_x6hyh51k", small: "uv_x6hyh51l", medium: "uv_x6hyh51m", large: "uv_x6hyh51n", xlarge: "uv_x6hyh51o" }, defaultClass: "uv_x6hyh51j" }, "5rem": { conditions: { xxsmall: "uv_x6hyh51p", xsmall: "uv_x6hyh51q", small: "uv_x6hyh51r", medium: "uv_x6hyh51s", large: "uv_x6hyh51t", xlarge: "uv_x6hyh51u" }, defaultClass: "uv_x6hyh51p" }, "0.25rem": { conditions: { xxsmall: "uv_x6hyh51v", xsmall: "uv_x6hyh51w", small: "uv_x6hyh51x", medium: "uv_x6hyh51y", large: "uv_x6hyh51z", xlarge: "uv_x6hyh520" }, defaultClass: "uv_x6hyh51v" }, "0.125rem": { conditions: { xxsmall: "uv_x6hyh521", xsmall: "uv_x6hyh522", small: "uv_x6hyh523", medium: "uv_x6hyh524", large: "uv_x6hyh525", xlarge: "uv_x6hyh526" }, defaultClass: "uv_x6hyh521" }, "0.75rem": { conditions: { xxsmall: "uv_x6hyh527", xsmall: "uv_x6hyh528", small: "uv_x6hyh529", medium: "uv_x6hyh52a", large: "uv_x6hyh52b", xlarge: "uv_x6hyh52c" }, defaultClass: "uv_x6hyh527" } }, responsiveArray: void 0 }, alignItems: { values: { normal: { conditions: { xxsmall: "uv_x6hyh52d", xsmall: "uv_x6hyh52e", small: "uv_x6hyh52f", medium: "uv_x6hyh52g", large: "uv_x6hyh52h", xlarge: "uv_x6hyh52i" }, defaultClass: "uv_x6hyh52d" }, stretch: { conditions: { xxsmall: "uv_x6hyh52j", xsmall: "uv_x6hyh52k", small: "uv_x6hyh52l", medium: "uv_x6hyh52m", large: "uv_x6hyh52n", xlarge: "uv_x6hyh52o" }, defaultClass: "uv_x6hyh52j" }, center: { conditions: { xxsmall: "uv_x6hyh52p", xsmall: "uv_x6hyh52q", small: "uv_x6hyh52r", medium: "uv_x6hyh52s", large: "uv_x6hyh52t", xlarge: "uv_x6hyh52u" }, defaultClass: "uv_x6hyh52p" }, start: { conditions: { xxsmall: "uv_x6hyh52v", xsmall: "uv_x6hyh52w", small: "uv_x6hyh52x", medium: "uv_x6hyh52y", large: "uv_x6hyh52z", xlarge: "uv_x6hyh530" }, defaultClass: "uv_x6hyh52v" }, end: { conditions: { xxsmall: "uv_x6hyh531", xsmall: "uv_x6hyh532", small: "uv_x6hyh533", medium: "uv_x6hyh534", large: "uv_x6hyh535", xlarge: "uv_x6hyh536" }, defaultClass: "uv_x6hyh531" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh537", xsmall: "uv_x6hyh538", small: "uv_x6hyh539", medium: "uv_x6hyh53a", large: "uv_x6hyh53b", xlarge: "uv_x6hyh53c" }, defaultClass: "uv_x6hyh537" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh53d", xsmall: "uv_x6hyh53e", small: "uv_x6hyh53f", medium: "uv_x6hyh53g", large: "uv_x6hyh53h", xlarge: "uv_x6hyh53i" }, defaultClass: "uv_x6hyh53d" }, "self-start": { conditions: { xxsmall: "uv_x6hyh53j", xsmall: "uv_x6hyh53k", small: "uv_x6hyh53l", medium: "uv_x6hyh53m", large: "uv_x6hyh53n", xlarge: "uv_x6hyh53o" }, defaultClass: "uv_x6hyh53j" }, "self-end": { conditions: { xxsmall: "uv_x6hyh53p", xsmall: "uv_x6hyh53q", small: "uv_x6hyh53r", medium: "uv_x6hyh53s", large: "uv_x6hyh53t", xlarge: "uv_x6hyh53u" }, defaultClass: "uv_x6hyh53p" }, baseline: { conditions: { xxsmall: "uv_x6hyh53v", xsmall: "uv_x6hyh53w", small: "uv_x6hyh53x", medium: "uv_x6hyh53y", large: "uv_x6hyh53z", xlarge: "uv_x6hyh540" }, defaultClass: "uv_x6hyh53v" }, "first baseline": { conditions: { xxsmall: "uv_x6hyh541", xsmall: "uv_x6hyh542", small: "uv_x6hyh543", medium: "uv_x6hyh544", large: "uv_x6hyh545", xlarge: "uv_x6hyh546" }, defaultClass: "uv_x6hyh541" }, "last baseline": { conditions: { xxsmall: "uv_x6hyh547", xsmall: "uv_x6hyh548", small: "uv_x6hyh549", medium: "uv_x6hyh54a", large: "uv_x6hyh54b", xlarge: "uv_x6hyh54c" }, defaultClass: "uv_x6hyh547" }, "safe center": { conditions: { xxsmall: "uv_x6hyh54d", xsmall: "uv_x6hyh54e", small: "uv_x6hyh54f", medium: "uv_x6hyh54g", large: "uv_x6hyh54h", xlarge: "uv_x6hyh54i" }, defaultClass: "uv_x6hyh54d" }, "unsafe center": { conditions: { xxsmall: "uv_x6hyh54j", xsmall: "uv_x6hyh54k", small: "uv_x6hyh54l", medium: "uv_x6hyh54m", large: "uv_x6hyh54n", xlarge: "uv_x6hyh54o" }, defaultClass: "uv_x6hyh54j" } }, responsiveArray: void 0 }, justifyContent: { values: { normal: { conditions: { xxsmall: "uv_x6hyh54p", xsmall: "uv_x6hyh54q", small: "uv_x6hyh54r", medium: "uv_x6hyh54s", large: "uv_x6hyh54t", xlarge: "uv_x6hyh54u" }, defaultClass: "uv_x6hyh54p" }, center: { conditions: { xxsmall: "uv_x6hyh54v", xsmall: "uv_x6hyh54w", small: "uv_x6hyh54x", medium: "uv_x6hyh54y", large: "uv_x6hyh54z", xlarge: "uv_x6hyh550" }, defaultClass: "uv_x6hyh54v" }, start: { conditions: { xxsmall: "uv_x6hyh551", xsmall: "uv_x6hyh552", small: "uv_x6hyh553", medium: "uv_x6hyh554", large: "uv_x6hyh555", xlarge: "uv_x6hyh556" }, defaultClass: "uv_x6hyh551" }, end: { conditions: { xxsmall: "uv_x6hyh557", xsmall: "uv_x6hyh558", small: "uv_x6hyh559", medium: "uv_x6hyh55a", large: "uv_x6hyh55b", xlarge: "uv_x6hyh55c" }, defaultClass: "uv_x6hyh557" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh55d", xsmall: "uv_x6hyh55e", small: "uv_x6hyh55f", medium: "uv_x6hyh55g", large: "uv_x6hyh55h", xlarge: "uv_x6hyh55i" }, defaultClass: "uv_x6hyh55d" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh55j", xsmall: "uv_x6hyh55k", small: "uv_x6hyh55l", medium: "uv_x6hyh55m", large: "uv_x6hyh55n", xlarge: "uv_x6hyh55o" }, defaultClass: "uv_x6hyh55j" }, left: { conditions: { xxsmall: "uv_x6hyh55p", xsmall: "uv_x6hyh55q", small: "uv_x6hyh55r", medium: "uv_x6hyh55s", large: "uv_x6hyh55t", xlarge: "uv_x6hyh55u" }, defaultClass: "uv_x6hyh55p" }, right: { conditions: { xxsmall: "uv_x6hyh55v", xsmall: "uv_x6hyh55w", small: "uv_x6hyh55x", medium: "uv_x6hyh55y", large: "uv_x6hyh55z", xlarge: "uv_x6hyh560" }, defaultClass: "uv_x6hyh55v" }, "space-between": { conditions: { xxsmall: "uv_x6hyh561", xsmall: "uv_x6hyh562", small: "uv_x6hyh563", medium: "uv_x6hyh564", large: "uv_x6hyh565", xlarge: "uv_x6hyh566" }, defaultClass: "uv_x6hyh561" }, "space-around": { conditions: { xxsmall: "uv_x6hyh567", xsmall: "uv_x6hyh568", small: "uv_x6hyh569", medium: "uv_x6hyh56a", large: "uv_x6hyh56b", xlarge: "uv_x6hyh56c" }, defaultClass: "uv_x6hyh567" }, "space-evenly": { conditions: { xxsmall: "uv_x6hyh56d", xsmall: "uv_x6hyh56e", small: "uv_x6hyh56f", medium: "uv_x6hyh56g", large: "uv_x6hyh56h", xlarge: "uv_x6hyh56i" }, defaultClass: "uv_x6hyh56d" }, stretch: { conditions: { xxsmall: "uv_x6hyh56j", xsmall: "uv_x6hyh56k", small: "uv_x6hyh56l", medium: "uv_x6hyh56m", large: "uv_x6hyh56n", xlarge: "uv_x6hyh56o" }, defaultClass: "uv_x6hyh56j" } }, responsiveArray: void 0 } } };
7
7
  x.styles.gap.responsiveArray = x.conditions.responsiveArray;
8
8
  x.styles.alignItems.responsiveArray = x.conditions.responsiveArray;
9
9
  x.styles.justifyContent.responsiveArray = x.conditions.responsiveArray;
10
10
  return x;
11
- }();
11
+ })();
12
12
  var sprinkles = createSprinkles(responsiveProperties);
13
13
  export {
14
14
  responsiveProperties,
@@ -5,5 +5,5 @@ type KeyGroupProps = {
5
5
  disabled: ComponentProps<typeof Key>['disabled'];
6
6
  onClick?: () => void;
7
7
  };
8
- export declare const KeyGroup: ({ keys, disabled, onClick }: KeyGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const KeyGroup: ({ keys, disabled, onClick }: KeyGroupProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,13 +1,9 @@
1
1
  "use client";
2
- import { jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsx } from "react/jsx-runtime";
3
3
  import { Key } from "../Key/index.js";
4
4
  import { Stack } from "../Stack/index.js";
5
5
  import { clickableStack } from "./styles.css.js";
6
- const KeyGroup = ({
7
- keys,
8
- disabled,
9
- onClick
10
- }) => /* @__PURE__ */ jsx(Stack, { className: clickableStack, direction: "row", gap: 0.5, onClick, children: keys.map((key) => /* @__PURE__ */ jsx(Key, { "data-testid": `key-${key}`, disabled, children: key }, key)) });
6
+ const KeyGroup = ({ keys, disabled, onClick }) => /* @__PURE__ */ jsx(Stack, { className: clickableStack, direction: "row", gap: 0.5, onClick, children: keys.map((key) => /* @__PURE__ */ jsx(Key, { "data-testid": `key-${key}`, disabled, children: key }, key)) });
11
7
  export {
12
8
  KeyGroup
13
9
  };